!function(e){function n(n){for(var l,i,a=n[0],u=n[1],s=n[2],c=0,p=[];c=n&&Me(t)}function Ce(e,n,t){e<=n&&Me(t)}function xe(e,n){null==e&&Me(n)}function Oe(e,n){void 0===n&&(n="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),he(e)||Me(n)}function Me(e){throw new Error("ASSERTION ERROR: "+e)}function ke(e){_e(e instanceof Node,!0,"The provided value must be an instance of a DOM Node")}function Ae(e){_e(e,!0,"previousOrParentTNode should be a parent")}function Pe(e){xe(e.parent,"previousOrParentTNode should have a parent")}function Se(e,n){we(n,e?e.length:0,"index expected to be a valid data index")}var Re="__ngContext__",Ie=function(e,n,t){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=t},Ee=Ie.prototype;function Ne(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":"object"==typeof e&&"function"==typeof e.type?e.type.name||e.type:""+e}function Te(e,n){return ngDevMode&&Se(e,n+18),e[n+18]}function De(e){for(;Array.isArray(e);)e=e[5];return e}function Ve(e,n){return De(n[e+18])}function Fe(e,n){return De(n[e.index])}function Le(e,n){return ngDevMode&&Ce(e,-1,"wrong index for TNode"),ngDevMode&&we(e,n[0].data.length,"wrong index for TNode"),n[0].data[e+18]}function qe(e,n){var t=n[e];return t.length>=18?t:t[5]}function Be(e){return 0!=(4&e.flags)}function je(e){return 1==(1&e.flags)}function $e(e){return null!==e.template}function Ue(e){return Array.isArray(e)&&8===e.length}function Ge(e){return 0!=(128&e[1])}function ze(e){ngDevMode&&xe(e,"component");for(var n=Array.isArray(e)?e:Ye(e);n&&!(128&n[1]);)n=n[2];return n}function We(e){var n=ze(e);return ngDevMode&&xe(n[9],"RootView has no context. Perhaps it is disconnected?"),n[9]}function He(e){return ngDevMode&&xe(e,"Target expected"),e[Re]}function Ye(e){var n=He(e);return n?Array.isArray(n)?n:n.lView:null}function Ke(e){return-1!==e}function Je(e){return 32767&e}function Qe(e){return e>>16}function Ze(e,n){for(var t=Qe(e),l=n;t>0;)l=l[17],t--;return l}var Xe=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U);function en(e,n){for(var t=0;t"}function Cn(e,n,t,l){ngDevMode&&_e(l.firstTemplatePass,!0,"Should only be called on first template pass"),n&&(l.initHooks||(l.initHooks=[])).push(e,n),t&&((l.initHooks||(l.initHooks=[])).push(e,t),(l.checkHooks||(l.checkHooks=[])).push(e,t))}function xn(e,n){if(e.firstTemplatePass)for(var t=n.directiveStart,l=n.directiveEnd;t0;)ngDevMode&&xe(n[17],"Declaration view should be defined if nesting level is greater than 0."),n=n[17],e--;return n}(e,Wn))[9]}function ot(e){var n=Nn[0];zn(Nn)?Nn[1]&=-2:(Pn(Nn,n.viewHooks,n.viewCheckHooks,Hn),Nn[1]&=-11,Nn[1]|=32,Nn[7]=n.bindingStartIndex),tt(e,null)}var rt=!0;function it(e){var n=rt;return rt=e,n}var at=0;function ut(e,n){var t=dt(e,n);if(-1!==t)return t;var l=n[0];l.firstTemplatePass&&(e.injectorIndex=n.length,st(l.data,e),st(n,null),st(l.blueprint,null),ngDevMode&&_e(0===e.flags||1===e.flags,!0,"expected tNode.flags to not be initialized"));var o=ct(e,n),r=Je(o),i=Ze(o,n),a=e.injectorIndex;if(Ke(o))for(var u=i[0].data,s=0;s<8;s++)n[a+s]=i[r+s]|u[r+s];return n[a+8]=o,a}function st(e,n){e.push(0,0,0,0,0,0,0,0,n)}function dt(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==n[e.injectorIndex+8]?-1:e.injectorIndex}function ct(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var t=n[6],l=1;t&&-1===t.injectorIndex;)t=(n=n[17])?n[6]:null,l++;return t?t.injectorIndex|l<<16:-1}function pt(e,n,t){!function(e,n,t){ngDevMode&&_e(n.firstTemplatePass,!0,"expected firstTemplatePass to be true");var l="string"!=typeof t?t[b]:t.charCodeAt(0)||0;null==l&&(l=t[b]=at++);var o=255&l,r=1<>16,d=o?a+s:e.directiveEnd,c=l?a:a+s;c=u&&p.type===t)return c}if(o){var f=i[u];if(f&&$e(f)&&f.type===t)return u}return null}function bt(e,n,t,l){var o,r=n[t];if(null!=(o=r)&&"object"==typeof o&&Object.getPrototypeOf(o)==Ee){var i=r;if(i.resolving)throw new Error("Circular dep for "+Ne(e[t]));var a=it(i.canSeeViewProviders);i.resolving=!0;var u=void 0;i.injectImpl&&(u=gn(i.injectImpl));var s=Bn(),d=Ln();$n(l,n);try{r=n[t]=i.factory(null,e,n,l)}finally{i.injectImpl&&gn(u),it(a),i.resolving=!1,$n(s,d)}}return r}function _t(e,n,t){var l=64&e,o=32&e;return!!((128&e?l?o?t[n+7]:t[n+6]:o?t[n+5]:t[n+4]:l?o?t[n+3]:t[n+2]:o?t[n+1]:t[n])&1<=0){var g;At(g=De(l[f]),u=Mt(l,f,g)),t=u;break}}}}return t||null}function Mt(e,n,t){return{lView:e,nodeIndex:n,native:t,component:void 0,directives:void 0,localRefs:void 0}}function kt(e){var n,t=He(e);if(Array.isArray(t)){var l=Rt(t,e);(o=Mt(t,l,(n=qe(l,t))[5])).component=e,At(e,o),At(o.native,o)}else{var o;n=qe((o=t).nodeIndex,o.lView)}return n}function At(e,n){e[Re]=n}function Pt(e,n){for(var t=e[0].firstChild;t;){if(Fe(t,e)===n)return t.index;t=St(t)}return-1}function St(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Rt(e,n){var t=e[0].components;if(t)for(var l=0;l=0)&&null})}}return o.sort(Gt),o}function Gt(e,n){return e.name==n.name?0:e.name-1?n[2][t]:null}return n[2][e.parent.index]}function gl(e,n){var t=fl(e,n);return t?t[7]:null}var hl=[];function ml(e,n,t,l,o){for(var r=e[0].node,i=-1,a=e,u=r.child;u;){var s=null;if(3===u.type){vl(n,t,l,Fe(u,a),o);var d=a[u.index];Ue(d)&&vl(n,t,l,d[6],o)}else if(0===u.type){var c=a[u.index];vl(n,t,l,c[6],o),l&&(c[7]=l),c[1].length&&(s=(a=c[1][0])[0].node,o=c[6])}else if(1===u.type){var p=nn(a),f=p[6].projection[u.projection];hl[++i]=u,hl[++i]=a,f&&(s=(a=p[2])[0].data[f.index])}else s=u.child;if(null===s)for(null===u.next&&2&u.flags&&(a=hl[i--],u=hl[i--]),s=u.next;!s;){if(null===(u=u.parent||a[0].node)||u===r)return null;0===u.type&&(o=(a=a[2])[u.index][6]),s=2===u.type&&a[3]?(a=a[3])[0].node:u.next}u=s}}function vl(e,n,t,l,o){0===e?sl(n)?n.insertBefore(t,l,o):t.insertBefore(l,o,!0):1===e?sl(n)?n.removeChild(t,l):t.removeChild(l):2===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,n.destroyNode(l))}function bl(e,n){return sl(n)?n.createText(Ne(e)):n.createTextNode(Ne(e))}function _l(e,n,t){var l=gl(e[0].node,e);ngDevMode&&_n(e[0].node,2),l&&ml(e,n?0:1,e[12],l,t)}function yl(e,n,t,l,o){var r=n[1];l>0&&(r[l-1][3]=e),l-1&&(e[15]=o,e[2]=t),e[4]&&e[4].insertView(l),e[1]|=16}function wl(e,n,t){var l=e[1],o=l[n];return n>0&&(l[n-1][3]=o[3]),l.splice(n,1),t||_l(o,!1),o[4]&&o[4].removeView(),o[15]=-1,o[2]=null,o[1]&=-17,o}function Cl(e,n,t){var l=e[1][t];wl(e,t,!!n.detached),Ol(l)}function xl(e){var n=e[0].childIndex;return-1===n?null:e[n]}function Ol(e){var n=e[12];sl(n)&&n.destroyNode&&ml(e,2,n,null),function(e){if(-1===e[0].childIndex)return kl(e);for(var n=xl(e);n;){var t=null;if(n.length>=18?n[0].childIndex>-1&&(t=xl(n)):n[1].length&&(t=n[1][0]),null==t){for(;n&&!n[3]&&n!==e;)kl(n),n=Ml(n,e);kl(n||e),t=n&&n[3]}n=t}}(e),e[1]|=64}function Ml(e,n){var t;return e.length>=18&&(t=e[6])&&2===t.type?fl(t,e):e[2]===n?null:e[2]}function kl(e){if(e.length>=18){var n=e;!function(e){var n,t=e[0];null!=t&&null!=(n=t.destroyHooks)&&Sn(e,n)}(n),(o=(l=n)[0]&&l[0].pipeDestroyHooks)&&Sn(l,o),function(e){var n=e[0].cleanup;if(null!=n){for(var t=e[8],l=0;l=0?t[i]():t[-i].unsubscribe(),l+=2}else"number"==typeof n[l]?(0,t[n[l]])():n[l].call(t[n[l+1]]);e[8]=null}}(n);var t=n[6];t&&3===t.type&&sl(n[12])&&(ngDevMode&&ngDevMode.rendererDestroy++,n[12].destroy())}var l,o}function Al(e,n){if(Pl(e,n)){if(Ge(n))return Rl(n[12],Fe(e,n));var t=n[6],l=e.parent;return null!=l&&4===l.type&&(e=El(l)),null==e.parent&&2===t.type?gl(t,n):cl(e,n)}return null}function Pl(e,n){var t,l=e,o=e.parent;return e.parent&&(4===e.parent.type?o=(l=El(e)).parent:5===e.parent.type&&(o=(l=pl(l)).parent)),null===o&&(o=n[6]),o&&2===o.type?null!=(t=fl(o,n))&&null!=t[7]:null==l.parent||!(3!==l.parent.type||1&l.parent.flags)}function Sl(e,n,t,l){sl(e)?e.insertBefore(n,t,l):n.insertBefore(t,l,!0)}function Rl(e,n){return sl(e)?e.parentNode(n):n.parentNode}function Il(e,n,t){if(void 0===e&&(e=null),null!==e&&Pl(n,t)){var l=t[12],o=cl(n,t),r=n.parent||t[6];if(2===r.type){var i=fl(r,t),a=i[1],u=a.indexOf(t);Sl(l,i[7],e,Nl(u,a,i[6]))}else 4===r.type?Sl(l,Al(n,t),e,o):5===r.type?Sl(l,o,e,Fe(n.parent,t)):sl(l)?l.appendChild(o,e):o.appendChild(e);return!0}return!1}function El(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function Nl(e,n,t){if(e+1-1&&g>d?m="":(ngDevMode&&ye(s[g],0,"We do not match directives on namespaced attributes"),m=s[g+1]),8&u&&(r=(l=m).length,a=(i=l.indexOf(o=h))+o.length,-1===i||i>0&&" "!==l[i-1]||a=9?n+0:n;t?e[l]|=1:e[l]&=-2}function ao(e,n){return 1==(1&e[n>=9?n+0:n])}function uo(e,n){return 2==(2&e[n>=9?n+0:n])}function so(e,n){return 4==(4&e[n>=9?n+0:n])}function co(e,n,t){return 63&e|n<<6|t<<20}function po(e,n){var t=fo(n);return(2&n?e[3]:e[2])[t]}function fo(e){return e>>6&16383}function go(e){var n=e>>20&16383;return n>=9?n:-1}function ho(e){return go(e[0])}function mo(e,n,t){e[n+1]=t}function vo(e,n,t){e[n+2]=t}function bo(e,n,t){var l=e[8];if(n){if(!l||0===t)return!0}else if(!l)return!1;return l[t]!==n}function _o(e,n,t){var l=e[8]||Jl(e);return t>0?l[t]=n:(l.splice(t=l[0],0,n,null),l[0]+=2),t}function yo(e,n,t,l){var o=function(e,n){return t<<16|e}(l);e[n+3]=o}function wo(e,n){return e[n+3]>>16&65535}function Co(e,n){var t=wo(e,n);if(t){var l=e[8];if(l)return l[t]}return null}function xo(e,n,t){e[0===n?n:n+0]=t}function Oo(e,n){return e[0===n?n:n+0]}function Mo(e,n){return e[n+2]}function ko(e,n){return e[n+1]}function Ao(e){return 16&e[0]}function Po(e,n){io(e,0,n)}function So(e,n){n?e[0]|=8:e[0]&=-9}function Ro(e,n,t){for(var l=(t||0)+1;l=0&&xo(e,s,co(d=Oo(e,s),fo(d),t));var d,c=go(u);c>=0&&xo(e,c,co(d=Oo(e,c),fo(d),n)),vo(e,n,Mo(e,t)),mo(e,n,ko(e,t)),xo(e,n,Oo(e,t)),yo(e,n,wo(e,t),0),vo(e,t,l),mo(e,t,o),xo(e,t,r),yo(e,t,i,0)}function Eo(e,n,t,l,o,r,i,a){var u=n0){var r=fo(Oo(e,o));xo(e,o,co((ao(e,o)?1:0)|(uo(e,o)?2:0)|(so(e,o)?4:0),r,l))}}}(e)}function No(e,n){return n?!!e:null!==e}function To(e,n,t,l){var o,r=l&&l(n)?4:0;return t?(r|=2,o=Bo(e[3],n)):o=Bo(e[2],n),co(r,o=o>0?o+1:0,0)}function Do(e,n,t){return!(2&e)&&n&&t&&4&e?n.toString()!==t.toString():n!==t}var Vo=function(){function e(e,n,t){this._element=n,this._type=t,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,n){this._values[e]!==n&&(this._values[e]=n,this._dirty=!0)},e.prototype.buildPlayer=function(e,n){if(this._dirty){var t=this._factory.fn(this._element,this._type,this._values,n,e||null);return this._values={},this._dirty=!1,t}},e}();function Fo(e,n){return 65535&e[n+3]}function Lo(e,n){var t=qo(e[1],n);return ngDevMode&&ye(t,-1,"The provided directive "+n+" has not been allocated to the element's style/class bindings"),t>0?t/4:0}function qo(e,n){for(var t=0;to)for(var i=0===n,a=t.data,u=o;u=0)return-1;l=i/4,o[i+1]=r,o[i+3]=t||null}return l}(e,n,o);if(-1!==i){var a=e[4],u=a[1],s=a[0],d=4*s,c=9+d,p=c+4*u,f=p+d,g=a.length;a.push(l?l.length:0,t?t.length:0);var h=0,m=[];if(l&&l.length)for(var v=0;v=p,I=S>=(R?f:c),E=Oo(e,S),N=fo(E),T=go(E);xo(e,S,co(E,N,T+=R?I?4*m.length:0:4*P+4*(I?m.length:0)))}for(var D=0;D<4*m.length;D++)e.splice(f,0,null),e.splice(c,0,null),c++,p++,f+=2;for(var V=0;V<4*_.length;V++)e.splice(p,0,null),e.push(null),p++,f++;for(var F=e[3],L=e[2],q=0;q=m.length,j=B?q-m.length:q,$=B?_[j]:m[j],U=void 0,G=void 0;B?(U=f+4*(u+j),G=c+4*(u+j)):(U=p+4*(s+j),G=9+4*(s+j));var z=B?F:L,W=Bo(z,$);-1===W?(W=z.length+1,z.push($,!B&&null)):W+=1;var H=To(e,$,B,o||null);xo(e,G,co(H,W,U)),mo(e,G,$),vo(e,G,null),yo(e,G,0,i),xo(e,U,co(H,W,G)),mo(e,U,$),vo(e,U,null),yo(e,U,0,i)}a[1]=u+_.length,a[0]=s+m.length,xo(e,0,co(0,0,p)|(r?16:0))}}}(o.stylingTemplate,l||null,e,n,t,Zl(o))}function Mr(e,n){var t=Bn();t.stylingTemplate||(t.stylingTemplate=Xl(n)),function(e,n,t){var l=e[1];if(-1==qo(l,t)){l.push(t,-1,!1,null);for(var o=null,r=null,i=-1,a=0;a0&&ei(We(t),2)}function Ar(e,n,t,l,o){var r=null;null!==t&&(r=l?Ne(t)+l:t),lo(Wl(e+18,Ln()),n,r,!1,o)}function Pr(e,n,t,l){var o=t instanceof Ul?t:!!t;lo(Wl(e+18,Ln()),n,o,!0,l)}function Sr(e,n,t,l){if(null!=l)return function(e,n,t,l){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var o=Ln(),r=Le(e,o),i=Wl(e+18,o);if(Zl(r)&&n!==el){var a=Uo(i);Cr(o,r.inputs.class,(a.length?a+" ":"")+n)}else!function(e,n,t,l){t=t||null;var o=Lo(e,null),r=e[5],i=n instanceof Ul?new Vo(n,r,1):null,a=t instanceof Ul?new Vo(t,r,2):null,u=i?n.value:n,s=a?t.value:t,d=Ao(e)||u===el||u===e[6],c=s===el||s===e[7];if(!d||!c){e[6]=u,e[7]=s;var p=re,f=!1,g=!1,h=i?1:0;bo(e,i,1)&&(_o(e,i,1),g=!0);var m=a?3:0;bo(e,a,3)&&(_o(e,a,3),g=!0),d||("string"==typeof u?(p=u.split(/\s+/),f=!0):p=u?Object.keys(u):re);for(var v=u||oe,b=s?Object.keys(s):re,_=s||oe,y=b.length,w=!1,C=ho(e),x=0,O=b.length+p.length;C=y)&&!c||V&&!d){var M=V?x-y:x,k=V?p[M]:b[M],A=V?!!f||v[k]:_[k],P=V?h:m;if((F=ko(e,C))===k){var S=Mo(e,C),R=Oo(e,C);if(yo(e,C,P,o),Do(R,S,A)){vo(e,C,A),g=g||!!P;var I=po(e,R);(null!=S||Do(R,I,A))&&(io(e,C,!0),w=!0)}}else{var E=Ro(e,k,C);if(E>0){var N=Mo(e,E),T=Oo(e,E);Io(e,C,E),Do(T,N,A)&&(I=po(e,T),vo(e,C,A),(null!=N||Do(T,I,A))&&(io(e,C,!0),g=g||!!P,w=!0))}else{g=g||!!P,Eo(e,C,V,k,To(e,k,V,jo(e,o)),A,o,P),w=!0}}}C+=4,x++}for(;C=y)&&!c||V&&!d){M=V?x-y:x;var F=V?p[M]:b[M],L=(S=V?!!f||v[F]:_[F],R=1|To(e,F,V,D),P=V?h:m,e.length);e.push(R,F,S,0),yo(e,L,P,o),w=!0}x++}w&&(Po(e,!0),$o(e,o,!0)),g&&So(e,!0)}}(i,n,t)}function Rr(e,n){var t=Ln();ngDevMode&&_e(t[7],t[0].bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateTextNode++;var l=bl(n,t[12]),o=Ho(e,3,l,null,null);Gn(!1),Il(l,o,t)}function Ir(e,n){if(n!==el){var t=Ln();ngDevMode&&Se(t,e+18);var l=Ve(e,t);ngDevMode&&xe(l,"native element should exist"),ngDevMode&&ngDevMode.rendererSetText++;var o=t[12];sl(o)?o.setValue(l,Ne(n)):l.textContent=Ne(n)}}function Er(e,n,t){ngDevMode&&_e(e.firstTemplatePass,!0,"Expando block should only be generated on first template pass.");var l=-(n.index-18),o=e.data.length-(65535&n.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(l,o,t)}function Nr(e,n,t,l){var o=Bn();Tr(e,o,n,t),ngDevMode&&xe(o,"previousOrParentTNode"),o&&o.attrs&&function(e,n,l,r){var i=o.initialInputs;(void 0===i||e>=i.length)&&(i=function(e,n,t){var l=t.initialInputs||(t.initialInputs=[]);l[e]=null;for(var o=t.attrs,r=0;r=r.length||null==r[e])&&(r[e]=cr(e,null,n,t,o.directiveRegistry,o.pipeRegistry,null)),r[e]}(e,n,t,r),null,4),i[4]&&(a[4]=i[4].createView()),Yo(e,a),tt(a,a[0].node)),i&&(zn(a)&&yl(a,i,l,i[0],-1),i[0]++),zn(a)?3:2}function Hr(){var e=Ln(),n=e[6];zn(e)&&(zo(e),e[1]&=-2),zo(e),ot(e[2]),jn(n),Gn(!1)}function Yr(e){var n=Ln();ngDevMode&&Se(n,e);var t=qe(e,n);ngDevMode&&_n(n[0].data[e],3),16==(16&t[1])&&12&t[1]&&(function(e){for(var n=e[0],t=e.length;t=2&&l[o-2]===n.hostBindings?l[o-1]=l[o-1]+t:l.push(n.hostBindings,t)}(t,Tn,e),function(e,n,t){ngDevMode&&_e(Qn(),!0,"Should only be called in first template pass.");for(var l=0;l=l.data.length&&(l.data[o]=null),t[o]=n}function _i(e){return Te(Wn,e)}function yi(e){var n=Ln();return ngDevMode&&xe(n[16],"Content QueryList array should be defined if reading a query."),ngDevMode&&Se(n[16],e),n[16][e]}function wi(e){return Te(Ln(),e)}function Ci(e,n){return void 0===n&&(n=cn.Default),e=Z(e),gt(Bn(),Ln(),e,n)}function xi(e){return ft(Bn(),e)}function Oi(e,n){var t=Ln(),l=t[0],o=(t[16]||(t[16]=[])).push(e);if(Qn()){var r=l.contentQueries||(l.contentQueries=[]);n!==(l.contentQueries.length?l.contentQueries[l.contentQueries.length-2]:-1)&&r.push(n,o-1)}}var Mi=Go;function ki(e){return e?(void 0===e.inputs&&(e.inputs=xr(e,0)),e.inputs):null}function Ai(){return Ln()}function Pi(e){return e[8]||(e[8]=[])}function Si(e){return e[0].cleanup||(e[0].cleanup=[])}function Ri(e,n){var t=Ot(e);if(t){var l=t.native,o=t.lView,r=function(e,n){if(!(n=n||Ot(l)))return ngDevMode&&Ql(),null;var t=Wl(n.nodeIndex,n.lView);return Kl(t)||Jl(t)}(0,t),i=Dt(o);Yl(r,i,l,n,0,e),ei(i,2)}else ngDevMode&&Ql()}function Ii(e){var n=Ot(e);if(!n)return ngDevMode&&Ql(),[];var t=Wl(n.nodeIndex,n.lView),l=t?Kl(t):null;return l?function(e){for(var n=[],t=e[0],l=2;l ");else if("object"==typeof n){var o=[];for(var r in n)if(n.hasOwnProperty(r)){var i=n[r];o.push(r+":"+("string"==typeof i?JSON.stringify(i):K(i)))}l="{"+o.join(", ")+"}"}return"StaticInjectorError"+(t?"("+t+")":"")+"["+l+"]: "+e.replace(ua,"\n ")}function pa(e,n){return new Error(ca(e,n))}var fa=new x("The presence of this token marks an injector as being the root injector."),ga={},ha={},ma=[],va=void 0;function ba(){return void 0===va&&(va=new Zi),va}function _a(e,n,t){return void 0===n&&(n=null),void 0===t&&(t=null),n=n||ba(),new ya(e,t,n)}var ya=function(){function e(e,n,t){var l=this;this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Oa([e],(function(e){return l.processInjectorType(e,[],o)})),n&&Oa(n,(function(t){return l.processProvider(t,e,n)})),this.records.set(Qi,xa(void 0,this)),this.isRootInjector=this.records.has(fa),this.injectorDefTypes.forEach((function(e){return l.get(e)}))}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,n,t){void 0===n&&(n=Ji),void 0===t&&(t=cn.Default),this.assertNotDestroyed();var l,o=fn(this);try{if(!(t&cn.SkipSelf)){var r=this.records.get(e);if(void 0===r){var i=("function"==typeof(l=e)||"object"==typeof l&&l instanceof x)&&w(e);i&&this.injectableDefInScope(i)&&(r=xa(wa(e),ga),this.records.set(e,r))}if(void 0!==r)return this.hydrate(e,r)}return(t&cn.Self?ba():this.parent).get(e,n)}finally{fn(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,n,t){var l=this;if(e=Z(e)){var o=C(e),r=null==o&&e.ngModule||void 0,i=void 0===r?e:r;if(ngDevMode&&-1!==n.indexOf(i)){var a=K(i);throw new Error("Circular dependency in DI detected for type "+a+". Dependency path: "+n.map((function(e){return K(e)})).join(" > ")+" > "+a+".")}var u=-1!==t.indexOf(i),s=void 0!==r&&e.providers||ma;if(void 0!==r&&(o=C(r)),null!=o){if(this.injectorDefTypes.add(i),this.records.set(i,xa(o.factory,ga)),null!=o.imports&&!u){ngDevMode&&n.push(i),t.push(i);try{Oa(o.imports,(function(e){return l.processInjectorType(e,n,t)}))}finally{ngDevMode&&n.pop()}}var d=o.providers;if(null!=d&&!u){var c=e;Oa(d,(function(e){return l.processProvider(e,c,d)}))}var p=e.ngModule;Oa(s,(function(e){return l.processProvider(e,p,s)}))}}},e.prototype.processProvider=function(e,n,t){var l=ka(e=Z(e))?e:Z(e&&e.provide),o=function(e,n,t){var l=Ca(e,n,t);return Ma(e)?xa(void 0,e.useValue):xa(l,ga)}(e,n,t);if(ka(e)||!0!==e.multi){var r=this.records.get(l);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+K(l))}else{var i=this.records.get(l);if(i){if(void 0===i.multi)throw new Error("Mixed multi-provider for "+l+".")}else(i=xa(void 0,ga,!0)).factory=function(){return bn(i.multi)},this.records.set(l,i);l=e,i.multi.push(e)}this.records.set(l,o)},e.prototype.hydrate=function(e,n){if(n.value===ha)throw new Error("Cannot instantiate cyclic dependency! "+K(e));var t;return n.value===ga&&(n.value=ha,n.value=n.factory()),"object"==typeof n.value&&n.value&&"object"==typeof(t=n.value)&&null!=t&&t.ngOnDestroy&&"function"==typeof t.ngOnDestroy&&this.onDestroy.add(n.value),n.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function wa(e){var n=w(e);if(null===n){var t=C(e);if(null!==t)return t.factory;if(e instanceof x)throw new Error("Token "+K(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var l=e.length;if(l>0){var o=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+K(e)+": ("+o.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return n.factory}function Ca(e,n,t){var o,r=void 0;if(ka(e))return wa(Z(e));if(Ma(e))r=function(){return Z(e.useValue)};else if((o=e)&&o.useExisting)r=function(){return mn(Z(e.useExisting))};else if(e&&e.useFactory)r=function(){return e.useFactory.apply(e,Object(l.i)(bn(e.deps||[])))};else{var i=Z(e&&(e.useClass||e.provide));if(!i){var a="";throw n&&t&&(a=" - only instances of Provider and Type are allowed, got: ["+t.map((function(n){return n==e?"?"+e+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+K(n)+"'"+a)}if(!e.deps)return wa(i);r=function(){return new(i.bind.apply(i,Object(l.i)([void 0],bn(e.deps))))}}return r}function xa(e,n,t){return void 0===t&&(t=!1),{factory:e,value:n,multi:t?[]:void 0}}function Oa(e,n){e.forEach((function(e){return Array.isArray(e)?Oa(e,n):n(e)}))}function Ma(e){return e&&"object"==typeof e&&ia in e}function ka(e){return"function"==typeof e}function Aa(e,n,t,l,o){if(e=Z(e),Array.isArray(e))for(var r=0;r>16;if(ka(e)||!e.multi){var f=new Ie(u,o,Ci),g=Sa(a,n,o?d:d+p,c);-1==g?(pt(ut(s,i),i,a),n.push(a),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=65536),t.push(f),i.push(f)):(t[g]=f,i[g]=f)}else{var h=Sa(a,n,d+p,c),m=Sa(a,n,d,d+p),v=m>=0&&t[m];o&&!v||!o&&!(h>=0&&t[h])?(pt(ut(s,i),i,a),f=function(e,n,t,l,o){var r=new Ie(e,t,Ci);return r.multi=[],r.index=n,r.componentProviders=0,Pa(r,o,l&&!t),r}(o?Ia:Ra,t.length,o,l,u),!o&&v&&(t[m].providerFactory=f),n.push(a),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=65536),t.push(f),i.push(f)):Pa(t[o?m:h],u,!o&&l),!o&&l&&v&&t[m].componentProviders++}}}function Pa(e,n,t){e.multi.push(n),t&&e.componentProviders++}function Sa(e,n,t,l){for(var o=t;o-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Ol(this._lView)},e.prototype.onDestroy=function(e){var n,t;t=e,Pi(n=this._lView).push(t),n[0].firstTemplatePass&&Si(n).push(n[8].length-1,null)},e.prototype.markForCheck=function(){Xr(this._lView)},e.prototype.detach=function(){this._lView[1]&=-17},e.prototype.reattach=function(){this._lView[1]|=16},e.prototype.detectChanges=function(){li(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){Kn(!0);try{ti(e)}finally{Kn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._lView[2][this._componentIndex]},e}(),Ya=function(e){function n(n){var t=e.call(this,n,null,-1)||this;return t._view=n,t}return Object(l.d)(n,e),n.prototype.detectChanges=function(){oi(this._view)},n.prototype.checkNoChanges=function(){!function(e){Kn(!0);try{oi(e)}finally{Kn(!1)}}(this._view)},Object.defineProperty(n.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),n}(Ha);function Ka(e,n,t){return Fa||(Fa=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n}(e)),new Fa(Fe(n,t))}function Ja(e,n,t,o){if(La||(La=function(e){function n(n,t,l,o,r,i){var a=e.call(this)||this;return a._declarationParentView=n,a.elementRef=t,a._tView=l,a._renderer=o,a._queries=r,a._injectorIndex=i,a}return Object(l.d)(n,e),n.prototype.createEmbeddedView=function(e,n,t,l,o){var r=function(e,n,t,l,o,r){var i=Un(),a=Bn();Gn(!0),jn(null);var u=Wo(t,e,n,4);return u[17]=t,o&&(u[4]=o.createView()),Yo(-1,u),e.firstTemplatePass&&(e.node.injectorIndex=r),Gn(i),jn(a),u}(this._tView,e,this._declarationParentView,0,this._queries,this._injectorIndex);n&&yl(r,n,l,o,t.index),Jo(r,this._tView,e);var i=new Ha(r,e,-1);return i._tViewNode=r[6],i},n}(e)),0===t.type){var r=o[t.index];return ngDevMode&&xe(t.tViews,"TView must be allocated"),new La(o,Ka(n,t,o),t.tViews,Ln()[12],r[4],t.injectorIndex)}return null}function Qa(e,n,t){if(je(e)){var l=e.directiveStart,o=qe(e.index,n);return new Ha(o,t,l)}if(3===e.type){var r=nn(n);return new Ha(r,r[9],-1)}return null}var Za=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return eu(e)},e}(),Xa=function(e){return Ka(e,Bn(),Ln())},eu=Hi,nu=function(e,n,t,l,o,r){this.id=e,this.templateUrl=n,this.slotCount=t,this.encapsulation=l,this.styles=o,this.animations=r},tu=function(){},lu=function(){},ou=function(){},ru=function(){},iu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),au=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return su()},e}(),uu=function(){return function(e){var n=Ln()[12];if(sl(n))return n;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},su=Hi,du=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),cu=function(){},pu=function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},fu=new pu("7.2.4"),gu=function(e){function n(n){var t=e.call(this)||this;return t.ngModule=n,t}return Object(l.d)(n,e),n.prototype.resolveComponentFactory=function(e){ngDevMode&&Oe(e);var n=he(e);return new _u(n,this.ngModule)},n}($a);function hu(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}var mu=new x("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Li(mn(vu))}}),vu=new x("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Xe}}),bu={},_u=function(e){function n(n,t){var l=e.call(this)||this;return l.componentDef=n,l.ngModule=t,l.componentType=n.type,l.selector=n.selectors[0][0],l.ngContentSelectors=[],l}return Object(l.d)(n,e),Object.defineProperty(n.prototype,"inputs",{get:function(){return hu(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outputs",{get:function(){return hu(this.componentDef.outputs)},enumerable:!0,configurable:!0}),n.prototype.create=function(e,n,t,l){var o=void 0===t,r=(l=l||this.ngModule)?function(e,n){return{get:function(t,l){var o=e.get(t,bu);return o!==bu||l===bu?o:n.get(t,l)}}}(e,l.injector):e,i=r.get(ru,dl),a=r.get(cu,null),u=o?ur(this.selector,i.createRenderer(null,this.componentDef)):fr(i,t),s=this.componentDef.onPush?136:132,d=o?Li():r.get(mu),c=i.createRenderer(u,this.componentDef);t&&u&&(ngDevMode&&ngDevMode.rendererSetAttribute++,sl(c)?c.setAttribute(u,"ng-version",fu.full):u.setAttribute("ng-version",fu.full));var p,f,g=Wo(null,cr(-1,null,1,0,null,null,null),d,s,i,c,a,r),h=tt(g,null);try{i.begin&&i.begin();var m=Vi(u,this.componentDef,g,i,c);if(f=Le(0,g),n)for(var v=0,b=g[0],_=f.projection=[],y=0;y',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(e){return null}var n=new XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+e,!1),n.send(void 0);var t=n.response.body;return t.removeChild(t.firstChild),t},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var n=this.inertDocument.createElement("template");return"content"in n?(n.innerHTML=e,n):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var n=e.attributes,t=n.length-1;0"),!0},e.prototype.endElement=function(e){var n=e.nodeName.toLowerCase();Fu.hasOwnProperty(n)&&!Nu.hasOwnProperty(n)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(Gu(e))},e.prototype.checkClobberedElement=function(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return n},e}(),$u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Uu=/([^\#-~ |!])/g;function Gu(e){return e.replace(/&/g,"&").replace($u,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Uu,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function zu(e,n){var t=null;try{Eu=Eu||new Mu(e);var l=n?String(n):"";t=Eu.getInertBodyElement(l);var o=5,r=l;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,l=r,r=t.innerHTML,t=Eu.getInertBodyElement(l)}while(l!==r);var i=(new ju).sanitizeChildren(Wu(t)||t);return xu(),i}finally{if(t)for(var a=Wu(t)||t;a.firstChild;)a.removeChild(a.firstChild)}}function Wu(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Hu={marker:"element"},Yu={marker:"comment"},Ku=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Ju=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Qu=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Zu=/\ufffd(\d+):?\d*\ufffd/gi,Xu=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,es=/\[(\ufffd.+?\ufffd?)\]/g,ns=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,ts=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function ls(e){if(!e)return[];var n,t=0,l=[],o=[],r=/[{}]/g;for(r.lastIndex=0;n=r.exec(e);){var i=n.index;if("}"==n[0]){if(l.pop(),0==l.length){var a=e.substring(t,i);Ku.test(a)?o.push(os(a)):a&&o.push(a),t=i+1}}else{if(0==l.length){var u=e.substring(t,i);o.push(u),t=i+1}l.push("{")}}var s=e.substring(t);return""!=s&&o.push(s),o}function os(e){for(var n=[],t=[],l=1,o=0,r=ls(e=e.replace(Ku,(function(e,n,t){return l="select"===t?0:1,o=parseInt(n.substr(1),10),""}))),i=0;i0&&i!==a&&d.push(i.index<<3|0);for(var c=[],p=[],f=function(e,n){if("number"!=typeof n)return rs(e);var t=e.indexOf(":"+n+"�")+2+n.toString().length,l=e.search(new RegExp("�\\/\\*\\d+:"+n+"�"));return rs(e.substring(t,l))}(t,l).split(Qu),g=0;g>>17,p=void 0;p=c===e?l[6]:Le(c,l),ngDevMode&&xe(r,"You need to create or select a node before you can insert it into the DOM"),i=fs(r,p,i),p.next=null;break;case 0:var f=s>>>3;a.push(f),i=r,(r=Le(f,l))&&(jn(r),3===r.type&&Gn(!0));break;case 5:i=r=Le(s>>>3,l),jn(r),Gn(!1);break;case 4:mr(s>>>3,n[++u],n[++u]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case Yu:var g=n[++u];ngDevMode&&_e(typeof g,"string",'Expected "'+g+'" to be a comment node value');var h=o.createComment(g);ngDevMode&&ngDevMode.rendererCreateComment++,i=r,r=Ho(t++,5,h,null,null),At(h,l),r.activeCaseIndex=null,Gn(!1);break;case Hu:var m=n[++u];ngDevMode&&_e(typeof m,"string",'Expected "'+m+'" to be an element node tag name');var v=o.createElement(m);ngDevMode&&ngDevMode.rendererCreateElement++,i=r,r=Ho(t++,3,v,m,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return Gn(!1),a}function vs(e,n){var t=Le(e,n);Tl(t,Ve(e,n)||null,n),t.detached=!0,ngDevMode&&ngDevMode.rendererRemoveNode++;var l=wi(e);if(Ue(l)){var o=l;0!==t.type&&Tl(t,o[6]||null,n),o[7]=null}}function bs(e,n,t){ps(e,n,t),hs()}function _s(e,n){var t=Ln()[0];ngDevMode&&xe(t,"tView should be defined"),ngDevMode&&_e(t.firstTemplatePass,!0,"You should only call i18nEnd on first template pass"),t.firstTemplatePass&&null===t.data[e+18]&&function(e,n,t){for(var l=Bn().index-18,o=[],r=0;r>>2;switch(3&f){case 1:mr(g,n[++p],c,n[++p]);break;case 0:Ir(g,c);break;case 2:var h=n[++p],m=t[h],v=Le(g,r);if(null!==v.activeCaseIndex)for(var b=m.remove[v.activeCaseIndex],_=0;_>>3,r);break;case 6:var w=Le(b[_+1]>>>3,r).activeCaseIndex;null!==w&&en(t[y>>>3].remove[w],b)}}var C=Ms(m,c);v.activeCaseIndex=-1!==C?C:null,ms(-1,m.create[C],m.expandoStartIndex,r),a=!0;break;case 3:m=t[h=n[++p]],v=Le(g,r),e(m.update[v.activeCaseIndex],t,l,o,r,a)}}}u+=d}}(o,r,n[7]-ws-1,ys,n),ys=0,ws=0}}var Os=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});function Ms(e,n){var t=e.cases.indexOf(n);if(-1===t)switch(e.type){case 1:var l=function(e,t){switch(function(e,n){"string"==typeof n&&(n=parseInt(n,10));var t=n,l=t.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(t)),r=l.length,i=parseInt(l,10),a=parseInt(t.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch("en-US".split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===t?Os.One:Os.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return t===Math.floor(t)&&t>=0&&t<=1?Os.One:Os.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===t?Os.One:Os.Other;case"ar":return 0===t?Os.Zero:1===t?Os.One:2===t?Os.Two:t%100===Math.floor(t%100)&&t%100>=3&&t%100<=10?Os.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=99?Os.Many:Os.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===r?Os.One:Os.Other;case"be":return t%10==1&&t%100!=11?Os.One:t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?Os.Few:t%10==0||t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?Os.Many:Os.Other;case"br":return t%10==1&&t%100!=11&&t%100!=71&&t%100!=91?Os.One:t%10==2&&t%100!=12&&t%100!=72&&t%100!=92?Os.Two:t%10===Math.floor(t%10)&&(t%10>=3&&t%10<=4||t%10==9)&&!(t%100>=10&&t%100<=19||t%100>=70&&t%100<=79||t%100>=90&&t%100<=99)?Os.Few:0!==t&&t%1e6==0?Os.Many:Os.Other;case"bs":case"hr":case"sr":return 0===r&&o%10==1&&o%100!=11||i%10==1&&i%100!=11?Os.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Os.Few:Os.Other;case"cs":case"sk":return 1===o&&0===r?Os.One:o===Math.floor(o)&&o>=2&&o<=4&&0===r?Os.Few:0!==r?Os.Many:Os.Other;case"cy":return 0===t?Os.Zero:1===t?Os.One:2===t?Os.Two:3===t?Os.Few:6===t?Os.Many:Os.Other;case"da":return 1===t||0!==a&&(0===o||1===o)?Os.One:Os.Other;case"dsb":case"hsb":return 0===r&&o%100==1||i%100==1?Os.One:0===r&&o%100==2||i%100==2?Os.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?Os.Few:Os.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Os.One:Os.Other;case"fil":return 0===r&&(1===o||2===o||3===o)||0===r&&o%10!=4&&o%10!=6&&o%10!=9||0!==r&&i%10!=4&&i%10!=6&&i%10!=9?Os.One:Os.Other;case"ga":return 1===t?Os.One:2===t?Os.Two:t===Math.floor(t)&&t>=3&&t<=6?Os.Few:t===Math.floor(t)&&t>=7&&t<=10?Os.Many:Os.Other;case"gd":return 1===t||11===t?Os.One:2===t||12===t?Os.Two:t===Math.floor(t)&&(t>=3&&t<=10||t>=13&&t<=19)?Os.Few:Os.Other;case"gv":return 0===r&&o%10==1?Os.One:0===r&&o%10==2?Os.Two:0!==r||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==r?Os.Many:Os.Other:Os.Few;case"he":return 1===o&&0===r?Os.One:2===o&&0===r?Os.Two:0!==r||t>=0&&t<=10||t%10!=0?Os.Other:Os.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?Os.One:Os.Other;case"ksh":return 0===t?Os.Zero:1===t?Os.One:Os.Other;case"kw":case"naq":case"se":case"smn":return 1===t?Os.One:2===t?Os.Two:Os.Other;case"lag":return 0===t?Os.Zero:0!==o&&1!==o||0===t?Os.Other:Os.One;case"lt":return t%10!=1||t%100>=11&&t%100<=19?t%10===Math.floor(t%10)&&t%10>=2&&t%10<=9&&!(t%100>=11&&t%100<=19)?Os.Few:0!==i?Os.Many:Os.Other:Os.One;case"lv":case"prg":return t%10==0||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19||2===r&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?Os.Zero:t%10==1&&t%100!=11||2===r&&i%10==1&&i%100!=11||2!==r&&i%10==1?Os.One:Os.Other;case"mk":return 0===r&&o%10==1||i%10==1?Os.One:Os.Other;case"mt":return 1===t?Os.One:0===t||t%100===Math.floor(t%100)&&t%100>=2&&t%100<=10?Os.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19?Os.Many:Os.Other;case"pl":return 1===o&&0===r?Os.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Os.Few:0===r&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Os.Many:Os.Other;case"pt":return t===Math.floor(t)&&t>=0&&t<=2&&2!==t?Os.One:Os.Other;case"ro":return 1===o&&0===r?Os.One:0!==r||0===t||1!==t&&t%100===Math.floor(t%100)&&t%100>=1&&t%100<=19?Os.Few:Os.Other;case"ru":case"uk":return 0===r&&o%10==1&&o%100!=11?Os.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Os.Few:0===r&&o%10==0||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Os.Many:Os.Other;case"shi":return 0===o||1===t?Os.One:t===Math.floor(t)&&t>=2&&t<=10?Os.Few:Os.Other;case"si":return 0===t||1===t||0===o&&1===i?Os.One:Os.Other;case"sl":return 0===r&&o%100==1?Os.One:0===r&&o%100==2?Os.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==r?Os.Few:Os.Other;case"tzm":return t===Math.floor(t)&&t>=0&&t<=1||t===Math.floor(t)&&t>=11&&t<=99?Os.One:Os.Other;default:return Os.Other}}(0,n)){case Os.Zero:return"zero";case Os.One:return"one";case Os.Two:return"two";case Os.Few:return"few";case Os.Many:return"many";default:return"other"}}();-1===(t=e.cases.indexOf(l))&&"other"!==l&&(t=e.cases.indexOf("other"));break;case 0:t=e.cases.indexOf("other")}return t}function ks(e,n,t,o){for(var r=[],i=[],a=[],u=[],s=[],d=0;d=0;t--){var l=n[t];if(e===l.name)return l}throw new Error("The pipe '"+e+"' could not be found!")}(n,l.pipeRegistry),l.data[o]=t,t.onDestroy&&(l.pipeDestroyHooks||(l.pipeDestroyHooks=[])).push(o,t.onDestroy)):t=l.data[o];var r=t.factory(null);return bi(e,r),r}function Gs(e,n,t){var l=wi(e);return Js(Ks(e)?Ts(n,l.transform,t,l):l.transform(t))}function zs(e,n,t,l){var o=wi(e);return Js(Ks(e)?Ds(n,o.transform,t,l,o):o.transform(t,l))}function Ws(e,n,t,l,o){var r=wi(e);return Js(Ks(e)?Vs(n,r.transform,t,l,o,r):r.transform(t,l,o))}function Hs(e,n,t,l,o,r){var i=wi(e);return Js(Ks(e)?Fs(n,i.transform,t,l,o,r,i):i.transform(t,l,o,r))}function Ys(e,n,t){var l=wi(e);return Js(Ks(e)?$s(n,l.transform,t,l):l.transform.apply(l,t))}function Ks(e){return Ln()[0].data[e+18].pure}function Js(e){return Kt.isWrapped(e)&&(e=Kt.unwrap(e),Ln()[et()]=el),e}var Qs=function(e){function n(n){void 0===n&&(n=!1);var t=e.call(this)||this;return t.__isAsync=n,t}return Object(l.d)(n,e),n.prototype.emit=function(n){e.prototype.next.call(this,n)},n.prototype.subscribe=function(n,t,l){var r,i=function(e){return null},a=function(){return null};n&&"object"==typeof n?(r=this.__isAsync?function(e){setTimeout((function(){return n.next(e)}))}:function(e){n.next(e)},n.error&&(i=this.__isAsync?function(e){setTimeout((function(){return n.error(e)}))}:function(e){n.error(e)}),n.complete&&(a=this.__isAsync?function(){setTimeout((function(){return n.complete()}))}:function(){n.complete()})):(r=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)},t&&(i=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),l&&(a=this.__isAsync?function(){setTimeout((function(){return l()}))}:function(){l()}));var u=e.prototype.subscribe.call(this,r,i,a);return n instanceof o.a&&n.add(u),u},n}(r.a),Zs=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ed(e,Za)},e}(),Xs=function(e,n){return Ja(e,n,Bn(),Ln())},ed=Hi,nd=function(){function e(e,n,t){this.parent=e,this.shallow=n,this.deep=t}return e.prototype.track=function(e,n,t,l){t?this.deep=pd(this.deep,e,n,null!=l?l:null):this.shallow=pd(this.shallow,e,n,null!=l?l:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var n=td(this.shallow),t=td(this.deep);return n||t?new e(this,n,t):null},e.prototype.createView=function(){var n=ld(this.shallow),t=ld(this.deep);return n||t?new e(this,n,t):null},e.prototype.insertView=function(e){od(e,this.shallow),od(e,this.deep)},e.prototype.addNode=function(e){return dd(this.deep,e),Be(e)?(dd(this.shallow,e),e.parent&&Be(e.parent)&&dd(this.parent.shallow,e),this.parent):(function(e){return null===e.parent||Be(e.parent)}(e)&&dd(this.shallow,e),this)},e.prototype.removeView=function(){rd(this.shallow),rd(this.deep)},e}();function td(e){for(var n=null;e;){var t=[];e.values.push(t),n={next:n,list:e.list,predicate:e.predicate,values:t,containerValues:null},e=e.next}return n}function ld(e){for(var n=null;e;)n={next:n,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return n}function od(e,n){for(;n;)ngDevMode&&xe(n.containerValues,"View queries need to have a pointer to container values."),n.containerValues.splice(e,0,n.values),n=n.next}function rd(e){for(;e;){ngDevMode&&xe(e.containerValues,"View queries need to have a pointer to container values.");var n=e.containerValues,t=n.indexOf(e.values),l=n.splice(t,1);ngDevMode&&_e(l.length,1,"removed.length"),l[0].length&&e.list.setDirty(),e=e.next}}function id(e,n){var t=e.localNames;if(t)for(var l=0;l-1?bt(n[0].data,n,l,e):function(e,n){return 3===e.type||4===e.type?Ka(Za,e,n):0===e.type?Ja(Zs,Za,e,n):null}(e,n)}function dd(e,n){for(var t=Ln();e;){var l=e.predicate,o=l.type;if(o){var r=null;o===Zs?r=ud(o,n,t,l.read):null!==(u=vt(n,t,o,!1,!1))&&(r=sd(n,t,l.read,u)),null!==r&&cd(e,r)}else for(var i=l.selector,a=0;a0?(e=l.concat(e.slice(t+1)),t=0):t++:(n.push(l),t++)}return n}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function gd(e,n,t,l){ngDevMode&&Ae(Un());var o,r,i,a=new fd;return(o=nd,r=Ln(),i=r[4],In&&In!==r[6]&&!Be(In)&&(i&&(i=r[4]=i.clone()),In.flags|=4),i||(r[4]=new o(null,null,null))).track(a,n,t,l),function(e,n,t){var l=Pi(e);l.push(n),e[0].firstTemplatePass&&Si(e).push(t,l.length-1)}(Ln(),a,a.destroy),null!=e&&bi(e,a),a}function hd(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}function md(e,n){return Ja(Zs,Za,e,n)}var vd="__SANITIZER_TRUSTED_BRAND__";function bd(e,n){return e instanceof String&&e[vd]===n}function _d(e){return Od(e,"Html")}function yd(e){return Od(e,"Style")}function wd(e){return Od(e,"Script")}function Cd(e){return Od(e,"Url")}function xd(e){return Od(e,"ResourceUrl")}function Od(e,n){var t=new String(e);return t[vd]=n,t}var Md=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),kd=/^url\(([^)]+)\)$/;function Ad(e){if(!(e=String(e).trim()))return"";var n=e.match(kd);return n&&Pu(n[1])===n[1]||e.match(Md)&&function(e){for(var n=!0,t=!0,l=0;l=0;e--){var n=lc[e],t=n.moduleType,l=n.ngModule;l.declarations&&l.declarations.every(rc)&&(lc.splice(e,1),hc(t,l))}}finally{oc=!1}}}(),void 0!==e.ngSelectorScope){var a=vc(e.ngSelectorScope);mc(t,a)}}return t},configurable:!!ngDevMode})}function Cc(e,n){var t=null;Object.defineProperty(e,p,{get:function(){if(null===t){var l=xc(e,n);t=tn().compileDirective(Dd,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",l)}return t},configurable:!!ngDevMode})}function xc(e,n){var t=Xd().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:n.selector,deps:ec(e),host:n.host||oe,propMetadata:t,inputs:n.inputs||re,outputs:n.outputs||re,queries:Oc(e,t,Mc),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!function(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}(e),exportAs:n.exportAs||null,providers:n.providers||null}}function Oc(e,n,t){var l=[],o=function(o){n.hasOwnProperty(o)&&n[o].forEach((function(n){if(t(n)){if(!n.selector)throw new Error("Can't construct a query for the property \""+o+'" of "'+Ne(e)+"\" since the query selector wasn't defined.");l.push(function(e,n){return{propertyName:o,predicate:(t=n.selector,"string"==typeof t?t.split(",").map((function(e){return e.trim()})):Z(t)),descendants:n.descendants,first:n.first,read:n.read?n.read:null};var t}(0,n))}}))};for(var r in n)o(r);return l}function Mc(e){var n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function kc(e){var n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function Ac(e,n){var t=null;Object.defineProperty(e,h,{get:function(){return null===t&&(t=tn().compilePipe(Dd,"ng://"+Ne(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:ec(e),pipeName:n.name,pure:void 0===n.pure||n.pure})),t},configurable:!!ngDevMode})}var Pc=A("Directive",(function(e){return void 0===e&&(e={}),e}),void 0,void 0,(function(e,n){return Bc(e,n)})),Sc=A("Component",(function(e){return void 0===e&&(e={}),Object(l.a)({changeDetection:L.Default},e)}),Pc,void 0,(function(e,n){return qc(e,n)})),Rc=A("Pipe",(function(e){return Object(l.a)({pure:!0},e)}),void 0,void 0,(function(e,n){return jc(e,n)})),Ic=function(e){return function(n,t){for(var l=[],o=2;o1?" ("+function(e){for(var n=[],t=0;t-1)return n.push(e[t]),n;n.push(e[t])}return n}(e.slice().reverse()).map((function(e){return K(e.token)})).join(" -> ")+")":""}function pp(e,n,t,l){var o=[n],r=t(o),i=l?function(e,n){var t=r+" caused by: "+(n instanceof Error?n.message:n),l=Error(t);return l[rp]=n,l}(0,l):Error(r);return i.addKey=fp,i.keys=o,i.injectors=[e],i.constructResolvingMessage=t,i[rp]=l,i}function fp(e,n){this.injectors.push(e),this.keys.push(n),this.message=this.constructResolvingMessage(this.keys)}function gp(e,n){for(var t=[],l=0,o=n.length;l=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw pp(this,e.key,(function(e){return"Cannot instantiate cyclic dependency!"+cp(e)}));return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var n=new Array(e.resolvedFactories.length),t=0;t0&&(o=setTimeout((function(){l._callbacks=l._callbacks.filter((function(e){return e.timeoutId!==o})),e(l._didWork,l.getPendingTasks())}),n)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:t})},e.prototype.whenStable=function(e,n,t){if(t&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,n,t),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,n,t){return[]},e}(),Of=function(){function e(){this._applications=new Map,Af.addToWindow(this)}return e.prototype.registerApplication=function(e,n){this._applications.set(e,n)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,n){return void 0===n&&(n=!0),Af.findTestabilityInTree(this,e,n)},Object(l.c)([Object(l.f)("design:paramtypes",[])],e)}();function Mf(e){Af=e}var kf,Af=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,n,t){return null},e}());function Pf(e,n,t){var l;return ngDevMode&&(void 0===l&&(l="Type passed in is not NgModuleType, it does not have 'ngModuleDef' property."),be(t)||Me(l)),Promise.resolve(new Is(t))}var Sf=new x("AllowMultipleToken"),Rf=function(e,n){this.name=e,this.token=n};function If(e){if(kf&&!kf.destroyed&&!kf.injector.get(Sf,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");kf=e.get(Vf);var n=e.get(Lp,null);return n&&n.forEach((function(e){return e()})),kf}function Ef(e,n,t){void 0===t&&(t=[]);var l="Platform: "+n,o=new x(l);return function(n){void 0===n&&(n=[]);var r=Df();if(!r||r.injector.get(Sf,!1))if(e)e(t.concat(n).concat({provide:o,useValue:!0}));else{var i=t.concat(n).concat({provide:o,useValue:!0});If(Xi.create({providers:i,name:l}))}return Nf(o)}}function Nf(e){var n=Df();if(!n)throw new Error("No platform exists!");if(!n.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return n}function Tf(){kf&&!kf.destroyed&&kf.destroy()}function Df(){return kf&&!kf.destroyed?kf:null}var Vf=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,n){var t,l=this,o="noop"===(t=n?n.ngZone:void 0)?new Cf:("zone.js"===t?void 0:t)||new mf({enableLongStackTrace:xu()}),r=[{provide:mf,useValue:o}];return o.run((function(){var n=Xi.create({providers:r,parent:l.injector,name:e.moduleType.name}),t=e.create(n),i=t.injector.get(dp,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return t.onDestroy((function(){return qf(l._modules,t)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,n,o){try{var r=((i=t.injector.get(Np)).runInitializers(),i.donePromise.then((function(){return l._moduleDoBootstrap(t),t})));return Rp(r)?r.catch((function(t){throw n.runOutsideAngular((function(){return e.handleError(t)})),t})):r}catch(t){throw n.runOutsideAngular((function(){return e.handleError(t)})),t}var i}(i,o)}))},e.prototype.bootstrapModule=function(e,n){var t=this;void 0===n&&(n=[]);var l=Ff({},n);return function(e,n,t){return e.get(lf).createCompiler([n]).compileModuleAsync(t)}(this.injector,l,e).then((function(e){return t.bootstrapModuleFactory(e,l)}))},e.prototype._moduleDoBootstrap=function(e){var n=e.injector.get(Lf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return n.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+K(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(n)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Ff(e,n){return Array.isArray(n)?n.reduce(Ff,e):Object(l.a)({},e,n)}var Lf=function(){function e(e,n,t,l,o,r){var s=this;this._zone=e,this._console=n,this._injector=t,this._exceptionHandler=l,this._componentFactoryResolver=o,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=xu(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var d=new i.a((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),c=new i.a((function(e){var n;s._zone.runOutsideAngular((function(){n=s._zone.onStable.subscribe((function(){mf.assertNotInAngularZone(),H((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var t=s._zone.onUnstable.subscribe((function(){mf.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){n.unsubscribe(),t.unsubscribe()}}));this.isStable=Object(a.a)(d,c.pipe(Object(u.a)()))}var n;return n=e,e.prototype.bootstrap=function(e,n){var t,l=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");t=e instanceof Da?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(t.componentType);var o=t instanceof Ga?null:this._injector.get(za),r=t.create(Xi.NULL,[],n||t.selector,o);r.onDestroy((function(){l._unloadComponent(r)}));var i=r.injector.get(xf,null);return i&&r.injector.get(Of).registerApplication(r.location.nativeElement,i),this._loadComponent(r),xu()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=n._tickScope();try{this._runningTick=!0,this._views.forEach((function(e){return e.detectChanges()})),this._enforceNoNewChanges&&this._views.forEach((function(e){return e.checkNoChanges()}))}catch(n){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(n)}))}finally{this._runningTick=!1,ff(t)}},e.prototype.attachView=function(e){var n=e;this._views.push(n),n.attachToAppRef(this)},e.prototype.detachView=function(e){var n=e;qf(this._views,n),n.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Bp,[]).concat(this._bootstrapListeners).forEach((function(n){return n(e)}))},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),qf(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(e){return e.destroy()}))},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=pf("ApplicationRef#tick()"),e}();function qf(e,n){var t=e.indexOf(n);t>-1&&e.splice(t,1)}var Bf=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Qs,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,n){return this._results.reduce(e,n)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[W()]=function(){return this._results[W()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(n){return n.reduce((function(n,t){var l=Array.isArray(t)?e(t):t;return n.concat(l)}),[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),jf=function(){},$f={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Uf=function(){function e(e,n){this._compiler=e,this._config=n||$f}return e.prototype.load=function(e){return this._compiler instanceof nf?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var n=this,o=Object(l.h)(e.split("#"),2),r=o[0],i=o[1];return void 0===i&&(i="default"),t(533)(r).then((function(e){return e[i]})).then((function(e){return Gf(e,r,i)})).then((function(e){return n._compiler.compileModuleAsync(e)}))},e.prototype.loadFactory=function(e){var n=Object(l.h)(e.split("#"),2),o=n[0],r=n[1],i="NgFactory";return void 0===r&&(r="default",i=""),t(533)(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then((function(e){return e[r+i]})).then((function(e){return Gf(e,o,r)}))},e}();function Gf(e,n,t){if(!e)throw new Error("Cannot find '"+t+"' in '"+n+"'");return e}var zf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Hf(e,Za)},e}(),Wf=function(e,n){return function(e,n,t,o){var r;qa||(qa=function(e){function t(n,t,l){var o=e.call(this)||this;return o._lContainer=n,o._hostTNode=t,o._hostView=l,o._viewRefs=[],o}return Object(l.d)(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return Ka(n,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new wt(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){var e=ct(this._hostTNode,this._hostView),n=Ze(e,this._hostView),t=function(e,n,t){if(t.parent&&-1!==t.parent.injectorIndex){for(var l=t.parent.injectorIndex,o=t.parent;null!=o.parent&&l==o.injectorIndex;)o=o.parent;return o}for(var r=Qe(e),i=n,a=n[6];r>1;)a=(i=i[17])[6],r--;return a}(e,this._hostView,this._hostTNode);return Ke(e)&&null!=t?new wt(t,n):new wt(null,this._hostView)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(;this._lContainer[1].length;)this.remove(0)},t.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(t.prototype,"length",{get:function(){return this._lContainer[1].length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(e,n,t){var l=this._adjustIndex(t),o=e.createEmbeddedView(n||{},this._lContainer,this._hostTNode,this._hostView,l);return o.attachToViewContainerRef(this),this._viewRefs.splice(l,0,o),o},t.prototype.createComponent=function(e,n,t,l,o){var r=t||this.parentInjector;!o&&null==e.ngModule&&r&&(o=r.get(za,null));var i=e.create(r,l,void 0,o);return this.insert(i.hostView,n),i},t.prototype.insert=function(e,n){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t=e._lView,l=this._adjustIndex(n);return yl(t,this._lContainer,this._hostView,l,this._hostTNode.index),_l(t,!0,Nl(l,this._lContainer[1],this._lContainer[6])),e.attachToViewContainerRef(this),this._viewRefs.splice(l,0,e),e},t.prototype.move=function(e,n){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t=this.indexOf(e);return this.detach(t),this.insert(e,this._adjustIndex(n)),e},t.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},t.prototype.remove=function(e){var n=this._adjustIndex(e,-1);Cl(this._lContainer,this._hostTNode,n),this._viewRefs.splice(n,1)},t.prototype.detach=function(e){var n=this._adjustIndex(e,-1),t=wl(this._lContainer,n,!!this._hostTNode.detached);return null!=this._viewRefs.splice(n,1)[0]?new Ha(t,t[9],t[15]):null},t.prototype._adjustIndex=function(e,n){return void 0===n&&(n=0),null==e?this._lContainer[1].length+n:(ngDevMode&&(Ce(e,-1,"index must be positive"),we(e,this._lContainer[1].length+1+n,"index")),e)},t}(e)),ngDevMode&&yn(t,0,3,4);var i=o[t.index];if(Ue(i))(r=i)[0]=-1;else{var a=o[12].createComment(ngDevMode?"container":"");if(ngDevMode&&ngDevMode.rendererCreateComment++,Ge(o)){var u=o[12],s=Fe(t,o);Sl(u,Rl(u,s),a,function(e,n){return sl(e)?e.nextSibling(n):n.nextSibling}(u,s))}else Il(a,t,o);o[t.index]=r=Br(i,t,o,a,!0),Zr(o,t.index,r)}return new qa(r,t,o)}(e,n,Bn(),Ln())},Hf=Hi,Yf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Jf()},e}(),Kf=function(){return Qa(Bn(),Ln(),null)},Jf=function(){for(var e=[],n=0;n-1}(l)||"root"===o.providedIn&&l._def.isRoot))){var d=e._providers.length;return e._def.providersByKey[n.tokenKey]={flags:5120,value:a.factory,deps:[],index:d,token:n.token},e._providers[d]=jh,e._providers[d]=Yh(e,e._def.providersByKey[n.tokenKey])}return 4&n.flags?t:e._parent.get(n.token,t)}finally{fn(r)}}function Yh(e,n){var t;switch(201347067&n.flags){case 512:t=function(e,n,t){var o=t.length;switch(o){case 0:return new n;case 1:return new n(Hh(e,t[0]));case 2:return new n(Hh(e,t[0]),Hh(e,t[1]));case 3:return new n(Hh(e,t[0]),Hh(e,t[1]),Hh(e,t[2]));default:for(var r=new Array(o),i=0;i=t.length)&&(n=t.length-1),n<0)return null;var l=t[n];return l.viewContainerParent=null,Xh(t,n),Wg.dirtyParentQueries(l),Qh(l),l}function Jh(e,n,t){var l=n?ph(n,n.def.lastRenderRootNode):e.renderElement;Ch(t,2,t.renderer.parentNode(l),t.renderer.nextSibling(l),void 0)}function Qh(e){Ch(e,3,null,null,void 0)}function Zh(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Xh(e,n){n>=e.length-1?e.pop():e.splice(n,1)}var em=new Object;function nm(e,n,t,l,o,r){return new lm(e,n,t,l,o,r)}function tm(e){return e.viewDefFactory}var lm=function(e){function n(n,t,l,o,r,i){var a=e.call(this)||this;return a.selector=n,a.componentType=t,a._inputs=o,a._outputs=r,a.ngContentSelectors=i,a.viewDefFactory=l,a}return Object(l.d)(n,e),Object.defineProperty(n.prototype,"inputs",{get:function(){var e=[],n=this._inputs;for(var t in n)e.push({propName:t,templateName:n[t]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outputs",{get:function(){var e=[];for(var n in this._outputs)e.push({propName:n,templateName:this._outputs[n]});return e},enumerable:!0,configurable:!0}),n.prototype.create=function(e,n,t,l){if(!l)throw new Error("ngModule should be provided");var o=wh(this.viewDefFactory),r=o.nodes[0].element.componentProvider.nodeIndex,i=Wg.createRootView(e,n||[],t,o,l,em),a=$g(i,r).instance;return t&&i.renderer.setAttribute(jg(i,0).renderElement,"ng-version",fu.full),new om(i,new um(i),a)},n}(Da),om=function(e){function n(n,t,l){var o=e.call(this)||this;return o._view=n,o._viewRef=t,o._component=l,o._elDef=o._view.def.nodes[0],o.hostView=t,o.changeDetectorRef=t,o.instance=l,o}return Object(l.d)(n,e),Object.defineProperty(n.prototype,"location",{get:function(){return new Za(jg(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new pm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this._viewRef.destroy()},n.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},n}(Ta);function rm(e,n,t){return new im(e,n,t)}var im=function(){function e(e,n,t){this._view=e,this._elDef=n,this._data=t,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Za(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new pm(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,n=this._elDef.parent;!n&&e;)n=ch(e),e=e.parent;return e?new pm(e,n):new pm(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var n=Kh(this._data,e);Wg.destroyView(n)}},e.prototype.get=function(e){var n=this._embeddedViews[e];if(n){var t=new um(n);return t.attachToViewContainerRef(this),t}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,n,t){var l=e.createEmbeddedView(n||{});return this.insert(l,t),l},e.prototype.createComponent=function(e,n,t,l,o){var r=t||this.parentInjector;o||e instanceof Ga||(o=r.get(za));var i=e.create(r,l,void 0,o);return this.insert(i.hostView,n),i},e.prototype.insert=function(e,n){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t,l,o,r,i=e;return o=i._view,r=(t=this._data).viewContainer._embeddedViews,null!==(l=n)&&void 0!==l||(l=r.length),o.viewContainerParent=this._view,Zh(r,l,o),function(e,n){var t=dh(n);if(t&&t!==e&&!(16&n.state)){n.state|=16;var l=t.template._projectedViews;l||(l=t.template._projectedViews=[]),l.push(n),function(e,t){if(!(4&t.flags)){n.parent.def.nodeFlags|=4,t.flags|=4;for(var l=t.parent;l;)l.childFlags|=4,l=l.parent}}(0,n.parentNodeDef)}}(t,o),Wg.dirtyParentQueries(o),Jh(t,l>0?r[l-1]:null,o),i.attachToViewContainerRef(this),e},e.prototype.move=function(e,n){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t,l,o,r,i,a=this._embeddedViews.indexOf(e._view);return o=n,i=(r=(t=this._data).viewContainer._embeddedViews)[l=a],Xh(r,l),null==o&&(o=r.length),Zh(r,o,i),Wg.dirtyParentQueries(i),Qh(i),Jh(t,o>0?r[o-1]:null,i),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var n=Kh(this._data,e);n&&Wg.destroyView(n)},e.prototype.detach=function(e){var n=Kh(this._data,e);return n?new um(n):null},e}();function am(e){return new um(e)}var um=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Ch(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){ah(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Wg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Wg.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Wg.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Qh(this._view),Wg.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function sm(e,n){return new dm(e,n)}var dm=function(e){function n(n,t){var l=e.call(this)||this;return l._parentView=n,l._def=t,l}return Object(l.d)(n,e),n.prototype.createEmbeddedView=function(e){return new um(Wg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(n.prototype,"elementRef",{get:function(){return new Za(jg(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),n}(Zs);function cm(e,n){return new pm(e,n)}var pm=function(){function e(e,n){this.view=e,this.elDef=n}return e.prototype.get=function(e,n){return void 0===n&&(n=Xi.THROW_IF_NOT_FOUND),Wg.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Zg(e)},n)},e}();function fm(e,n){var t=e.def.nodes[n];if(1&t.flags){var l=jg(e,t.nodeIndex);return t.element.template?l.template:l.renderElement}if(2&t.flags)return Bg(e,t.nodeIndex).renderText;if(20240&t.flags)return $g(e,t.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+n)}function gm(e){return new hm(e.renderer)}var hm=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,n){var t=Object(l.h)(Ph(n),2),o=this.delegate.createElement(t[1],t[0]);return e&&this.delegate.appendChild(e,o),o},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var n=this.delegate.createComment("");return e&&this.delegate.appendChild(e,n),n},e.prototype.createText=function(e,n){var t=this.delegate.createText(n);return e&&this.delegate.appendChild(e,t),t},e.prototype.projectNodes=function(e,n){for(var t=0;t0,n.provider.value,n.provider.deps);if(n.outputs.length)for(var l=0;l0,o=n.provider;switch(201347067&n.flags){case 512:return Dm(e,n.parent,t,o.value,o.deps);case 1024:return function(e,n,t,o,r){var i=r.length;switch(i){case 0:return o();case 1:return o(Fm(e,n,t,r[0]));case 2:return o(Fm(e,n,t,r[0]),Fm(e,n,t,r[1]));case 3:return o(Fm(e,n,t,r[0]),Fm(e,n,t,r[1]),Fm(e,n,t,r[2]));default:for(var a=Array(i),u=0;u0)s=h,ov(h)||(d=h);else for(;s&&g===s.nodeIndex+s.childCount;){var b=s.parent;b&&(b.childFlags|=s.childFlags,b.childMatchedQueries|=s.childMatchedQueries),d=(s=b)&&ov(s)?s.renderParent:s}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:u,flags:e,nodes:n,updateDirectives:t||Jg,updateRenderer:l||Jg,handleEvent:function(e,t,l,o){return n[t].element.handleEvent(e,l,o)},bindingCount:o,outputCount:r,lastRenderRootNode:f}}function ov(e){return 0!=(1&e.flags)&&null===e.element.name}function rv(e,n,t){var l=n.element&&n.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+n.nodeIndex+"!")}if(20224&n.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+n.nodeIndex+"!");if(n.query){if(67108864&n.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+n.nodeIndex+"!");if(134217728&n.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+n.nodeIndex+"!")}if(n.childCount){var o=e?e.nodeIndex+e.childCount:t-1;if(n.nodeIndex<=o&&n.nodeIndex+n.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+n.nodeIndex+"!")}}function iv(e,n,t,l){var o=sv(e.root,e.renderer,e,n,t);return dv(o,e.component,l),cv(o),o}function av(e,n,t){var l=sv(e,e.renderer,null,null,n);return dv(l,t,t),cv(l),l}function uv(e,n,t,l){var o,r=n.element.componentRendererType;return o=r?e.root.rendererFactory.createRenderer(l,r):e.root.renderer,sv(e.root,o,e,n.element.componentProvider,t)}function sv(e,n,t,l,o){var r=new Array(o.nodes.length),i=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:t,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:r,state:13,root:e,renderer:n,oldValues:new Array(o.bindingCount),disposables:i,initIndex:-1}}function dv(e,n,t){e.component=n,e.context=t}function cv(e){var n;gh(e)&&(n=jg(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var t=e.def,l=e.nodes,o=0;o0&&Bh(e,n,0,t)&&(f=!0),p>1&&Bh(e,n,1,l)&&(f=!0),p>2&&Bh(e,n,2,o)&&(f=!0),p>3&&Bh(e,n,3,r)&&(f=!0),p>4&&Bh(e,n,4,i)&&(f=!0),p>5&&Bh(e,n,5,a)&&(f=!0),p>6&&Bh(e,n,6,u)&&(f=!0),p>7&&Bh(e,n,7,s)&&(f=!0),p>8&&Bh(e,n,8,d)&&(f=!0),p>9&&Bh(e,n,9,c)&&(f=!0),f}(e,n,t,l,o,r,i,a,u,s,d,c);case 2:return function(e,n,t,l,o,r,i,a,u,s,d,c){var p=!1,f=n.bindings,g=f.length;if(g>0&&rh(e,n,0,t)&&(p=!0),g>1&&rh(e,n,1,l)&&(p=!0),g>2&&rh(e,n,2,o)&&(p=!0),g>3&&rh(e,n,3,r)&&(p=!0),g>4&&rh(e,n,4,i)&&(p=!0),g>5&&rh(e,n,5,a)&&(p=!0),g>6&&rh(e,n,6,u)&&(p=!0),g>7&&rh(e,n,7,s)&&(p=!0),g>8&&rh(e,n,8,d)&&(p=!0),g>9&&rh(e,n,9,c)&&(p=!0),p){var h=n.text.prefix;g>0&&(h+=tv(t,f[0])),g>1&&(h+=tv(l,f[1])),g>2&&(h+=tv(o,f[2])),g>3&&(h+=tv(r,f[3])),g>4&&(h+=tv(i,f[4])),g>5&&(h+=tv(a,f[5])),g>6&&(h+=tv(u,f[6])),g>7&&(h+=tv(s,f[7])),g>8&&(h+=tv(d,f[8])),g>9&&(h+=tv(c,f[9]));var m=Bg(e,n.nodeIndex).renderText;e.renderer.setValue(m,h)}return p}(e,n,t,l,o,r,i,a,u,s,d,c);case 16384:return function(e,n,t,l,o,r,i,a,u,s,d,c){var p=$g(e,n.nodeIndex),f=p.instance,g=!1,h=void 0,m=n.bindings.length;return m>0&&oh(e,n,0,t)&&(g=!0,h=qm(e,p,n,0,t,h)),m>1&&oh(e,n,1,l)&&(g=!0,h=qm(e,p,n,1,l,h)),m>2&&oh(e,n,2,o)&&(g=!0,h=qm(e,p,n,2,o,h)),m>3&&oh(e,n,3,r)&&(g=!0,h=qm(e,p,n,3,r,h)),m>4&&oh(e,n,4,i)&&(g=!0,h=qm(e,p,n,4,i,h)),m>5&&oh(e,n,5,a)&&(g=!0,h=qm(e,p,n,5,a,h)),m>6&&oh(e,n,6,u)&&(g=!0,h=qm(e,p,n,6,u,h)),m>7&&oh(e,n,7,s)&&(g=!0,h=qm(e,p,n,7,s,h)),m>8&&oh(e,n,8,d)&&(g=!0,h=qm(e,p,n,8,d,h)),m>9&&oh(e,n,9,c)&&(g=!0,h=qm(e,p,n,9,c,h)),h&&f.ngOnChanges(h),65536&n.flags&&qg(e,256,n.nodeIndex)&&f.ngOnInit(),262144&n.flags&&f.ngDoCheck(),g}(e,n,t,l,o,r,i,a,u,s,d,c);case 32:case 64:case 128:return function(e,n,t,l,o,r,i,a,u,s,d,c){var p=n.bindings,f=!1,g=p.length;if(g>0&&rh(e,n,0,t)&&(f=!0),g>1&&rh(e,n,1,l)&&(f=!0),g>2&&rh(e,n,2,o)&&(f=!0),g>3&&rh(e,n,3,r)&&(f=!0),g>4&&rh(e,n,4,i)&&(f=!0),g>5&&rh(e,n,5,a)&&(f=!0),g>6&&rh(e,n,6,u)&&(f=!0),g>7&&rh(e,n,7,s)&&(f=!0),g>8&&rh(e,n,8,d)&&(f=!0),g>9&&rh(e,n,9,c)&&(f=!0),f){var h=Ug(e,n.nodeIndex),m=void 0;switch(201347067&n.flags){case 32:m=new Array(p.length),g>0&&(m[0]=t),g>1&&(m[1]=l),g>2&&(m[2]=o),g>3&&(m[3]=r),g>4&&(m[4]=i),g>5&&(m[5]=a),g>6&&(m[6]=u),g>7&&(m[7]=s),g>8&&(m[8]=d),g>9&&(m[9]=c);break;case 64:m={},g>0&&(m[p[0].name]=t),g>1&&(m[p[1].name]=l),g>2&&(m[p[2].name]=o),g>3&&(m[p[3].name]=r),g>4&&(m[p[4].name]=i),g>5&&(m[p[5].name]=a),g>6&&(m[p[6].name]=u),g>7&&(m[p[7].name]=s),g>8&&(m[p[8].name]=d),g>9&&(m[p[9].name]=c);break;case 128:var v=t;switch(g){case 1:m=v.transform(t);break;case 2:m=v.transform(l);break;case 3:m=v.transform(l,o);break;case 4:m=v.transform(l,o,r);break;case 5:m=v.transform(l,o,r,i);break;case 6:m=v.transform(l,o,r,i,a);break;case 7:m=v.transform(l,o,r,i,a,u);break;case 8:m=v.transform(l,o,r,i,a,u,s);break;case 9:m=v.transform(l,o,r,i,a,u,s,d);break;case 10:m=v.transform(l,o,r,i,a,u,s,d,c)}}h.value=m}return f}(e,n,t,l,o,r,i,a,u,s,d,c);default:throw"unreachable"}}(e,n,o,r,i,a,u,s,d,c,p,f):function(e,n,t){switch(201347067&n.flags){case 1:return function(e,n,t){for(var l=!1,o=0;o0&&ih(e,n,0,t),p>1&&ih(e,n,1,l),p>2&&ih(e,n,2,o),p>3&&ih(e,n,3,r),p>4&&ih(e,n,4,i),p>5&&ih(e,n,5,a),p>6&&ih(e,n,6,u),p>7&&ih(e,n,7,s),p>8&&ih(e,n,8,d),p>9&&ih(e,n,9,c)}(e,n,l,o,r,i,a,u,s,d,c,p):function(e,n,t){for(var l=0;l0){var r=new Set(e.modules);Tv.forEach((function(n,l){if(r.has(w(l).providedIn)){var o={token:l,flags:n.flags|(t?4096:0),deps:bh(n.deps),value:n.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Zg(l)]=o}}))}}(e=e.factory((function(){return Jg}))),e):e}(l))}var Nv=new Map,Tv=new Map,Dv=new Map;function Vv(e){var n;Nv.set(e.token,e),"function"==typeof e.token&&(n=w(e.token))&&"function"==typeof n.providedIn&&Tv.set(e.token,e)}function Fv(e,n){var t=wh(wh(tm(n)).nodes[0].element.componentView);Dv.set(e,t)}function Lv(){Nv.clear(),Tv.clear(),Dv.clear()}function qv(e){if(0===Nv.size)return e;var n=function(e){for(var n=[],t=null,l=0;le?{max:{max:e,actual:n.value}}:null}},e.required=function(e){return c(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return c(e.value)||g.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(n){if(c(n.value))return null;var t=n.value?n.value.length:0;return te?{maxlength:{requiredLength:e,actualLength:t}}:null}},e.pattern=function(n){return n?("string"==typeof n?(l="","^"!==n.charAt(0)&&(l+="^"),l+=n,"$"!==n.charAt(n.length-1)&&(l+="$"),t=new RegExp(l)):(l=n.toString(),t=n),function(e){if(c(e.value))return null;var n=e.value;return t.test(n)?null:{pattern:{requiredPattern:l,actualValue:n}}}):e.nullValidator;var t,l},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var n=e.filter(m);return 0==n.length?null:function(e){return b(function(e,t){return n.map((function(n){return n(e)}))}(e))}},e.composeAsync=function(e){if(!e)return null;var n=e.filter(m);return 0==n.length?null:function(e){var t=function(e,t){return n.map((function(n){return n(e)}))}(e).map(v);return Object(r.a)(t).pipe(Object(a.a)(b))}},e}();function m(e){return null!=e}function v(e){var n=Object(o["ɵisPromise"])(e)?Object(i.a)(e):e;if(!Object(o["ɵisObservable"])(n))throw new Error("Expected validator to return Promise or Observable.");return n}function b(e){var n=e.reduce((function(e,n){return null!=n?Object(l.a)({},e,n):e}),{});return 0===Object.keys(n).length?null:n}var _=new o.InjectionToken("NgValueAccessor"),y={provide:_,useExisting:Object(o.forwardRef)((function(){return w})),multi:!0},w=function(){function e(e,n){this._renderer=e,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),C={provide:_,useExisting:Object(o.forwardRef)((function(){return O})),multi:!0},x=new o.InjectionToken("CompositionEventMode"),O=function(){function e(e,n,t){var l;this._renderer=e,this._elementRef=n,this._compositionMode=t,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(l=Object(u["ɵgetDOM"])()?Object(u["ɵgetDOM"])().getUserAgent():"",!/android (\d+)/.test(l.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function M(e){return e.validate?function(n){return e.validate(n)}:e}function k(e){return e.validate?function(n){return e.validate(n)}:e}var A={provide:_,useExisting:Object(o.forwardRef)((function(){return P})),multi:!0},P=function(){function e(e,n){this._renderer=e,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(n){e(""==n?null:parseFloat(n))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function S(){throw new Error("unimplemented")}var R=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n._parent=null,n.name=null,n.valueAccessor=null,n._rawValidators=[],n._rawAsyncValidators=[],n}return Object(l.d)(n,e),Object.defineProperty(n.prototype,"validator",{get:function(){return S()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return S()},enumerable:!0,configurable:!0}),n}(s),I={provide:_,useExisting:Object(o.forwardRef)((function(){return N})),multi:!0},E=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,n){this._accessors.push([e,n])},e.prototype.remove=function(e){for(var n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===e)return void this._accessors.splice(n,1)},e.prototype.select=function(e){var n=this;this._accessors.forEach((function(t){n._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)}))},e.prototype._isSameGroup=function(e,n){return!!e[0].control&&e[0]._parent===n._control._parent&&e[1].name===n.name},e}(),N=function(){function e(e,n,t,l){this._renderer=e,this._elementRef=n,this._registry=t,this._injector=l,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(R),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var n=this;this._fn=e,this.onChange=function(){e(n.value),n._registry.select(n)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},e}(),T={provide:_,useExisting:Object(o.forwardRef)((function(){return D})),multi:!0},D=function(){function e(e,n){this._renderer=e,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(n){e(""==n?null:parseFloat(n))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),V='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',F='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',L='\n
\n
\n \n
\n
',q=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+V)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+F+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+L)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+V)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+F)},e.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},e.disabledAttrWarning=function(){},e.ngModelWarning=function(e){},e}(),B={provide:_,useExisting:Object(o.forwardRef)((function(){return $})),multi:!0};function j(e,n){return null==e?""+n:(n&&"object"==typeof n&&(n="Object"),(e+": "+n).slice(0,50))}var $=function(){function e(e,n){this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=o["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var n=this._getOptionId(e);null==n&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var t=j(n,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},e.prototype.registerOnChange=function(e){var n=this;this.onChange=function(t){n.value=n._getOptionValue(t),e(n.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var n,t;try{for(var o=Object(l.j)(Array.from(this._optionMap.keys())),r=o.next();!r.done;r=o.next()){var i=r.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(e){n={error:e}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(n)throw n.error}}return null},e.prototype._getOptionValue=function(e){var n=function(e){return e.split(":")[0]}(e);return this._optionMap.has(n)?this._optionMap.get(n):e},e}(),U=function(){function e(e,n,t){this._element=e,this._renderer=n,this._select=t,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(j(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e}(),G={provide:_,useExisting:Object(o.forwardRef)((function(){return W})),multi:!0};function z(e,n){return null==e?""+n:("string"==typeof n&&(n="'"+n+"'"),n&&"object"==typeof n&&(n="Object"),(e+": "+n).slice(0,50))}var W=function(){function e(e,n){this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=o["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var n,t=this;if(this.value=e,Array.isArray(e)){var l=e.map((function(e){return t._getOptionId(e)}));n=function(e,n){e._setSelected(l.indexOf(n.toString())>-1)}}else n=function(e,n){e._setSelected(!1)};this._optionMap.forEach(n)},e.prototype.registerOnChange=function(e){var n=this;this.onChange=function(t){var l=[];if(t.hasOwnProperty("selectedOptions"))for(var o=t.selectedOptions,r=0;r1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(n+" "+t)}function ee(e){return null!=e?h.compose(e.map(M)):null}function ne(e){return null!=e?h.composeAsync(e.map(k)):null}function te(e,n){if(!e.hasOwnProperty("model"))return!1;var t=e.model;return!!t.isFirstChange()||!Object(o["ɵlooseIdentical"])(n,t.currentValue)}var le=[w,D,P,$,W,N];function oe(e,n){e._syncPendingControls(),n.forEach((function(e){var n=e.control;"submit"===n.updateOn&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)}))}function re(e,n){if(!n)return null;Array.isArray(n)||X(e,"Value accessor was not provided as an array for form control with");var t=void 0,l=void 0,o=void 0;return n.forEach((function(n){var r;n.constructor===O?t=n:(r=n,le.some((function(e){return r.constructor===e}))?(l&&X(e,"More than one built-in value accessor matches form control with"),l=n):(o&&X(e,"More than one custom value accessor matches form control with"),o=n))})),o||l||t||(X(e,"No valid value accessor for form control with"),null)}function ie(e,n){var t=e.indexOf(n);t>-1&&e.splice(t,1)}function ae(e,n,t,l){Object(o.isDevMode)()&&"never"!==l&&((null!==l&&"once"!==l||n._ngModelWarningSentOnce)&&("always"!==l||t._ngModelWarningSent)||(q.ngModelWarning(e),n._ngModelWarningSentOnce=!0,t._ngModelWarningSent=!0))}var ue=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(n.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return Y(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return ee(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return ne(this._asyncValidators)},enumerable:!0,configurable:!0}),n.prototype._checkParentType=function(){},n}(d),se=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),de={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},ce=function(e){function n(n){return e.call(this,n)||this}return Object(l.d)(n,e),n}(se),pe=function(e){function n(n){return e.call(this,n)||this}return Object(l.d)(n,e),n}(se);function fe(e){var n=he(e)?e.validators:e;return Array.isArray(n)?ee(n):n||null}function ge(e,n){var t=he(n)?n.asyncValidators:e;return Array.isArray(t)?ne(t):t||null}function he(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var me=function(){function e(e,n){this.validator=e,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=fe(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=ge(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild((function(n){n.disable(Object(l.a)({},e,{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach((function(e){return e(!0)}))},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild((function(n){n.enable(Object(l.a)({},e,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach((function(e){return e(!1)}))},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild((function(n){return n._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var n=this;if(this.asyncValidator){this.status="PENDING";var t=v(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe((function(t){return n.setErrors(t,{emitEvent:e})}))}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,n){void 0===n&&(n={}),this.errors=e,this._updateControlsErrors(!1!==n.emitEvent)},e.prototype.get=function(e){return function(e,n,t){return null==n?null:(n instanceof Array||(n=n.split(".")),n instanceof Array&&0===n.length?null:n.reduce((function(e,n){return e instanceof be?e.controls.hasOwnProperty(n)?e.controls[n]:null:e instanceof _e&&e.at(n)||null}),e))}(this,e)},e.prototype.getError=function(e,n){var t=n?this.get(n):this;return t&&t.errors?t.errors[e]:null},e.prototype.hasError=function(e,n){return!!this.getError(e,n)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new o.EventEmitter,this.statusChanges=new o.EventEmitter},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls((function(n){return n.status===e}))},e.prototype._anyControlsDirty=function(){return this._anyControls((function(e){return e.dirty}))},e.prototype._anyControlsTouched=function(){return this._anyControls((function(e){return e.touched}))},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){he(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),ve=function(e){function n(n,t,l){void 0===n&&(n=null);var o=e.call(this,fe(t),ge(l,t))||this;return o._onChange=[],o._applyFormState(n),o._setUpdateStrategy(t),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(l.d)(n,e),n.prototype.setValue=function(e,n){var t=this;void 0===n&&(n={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)},n.prototype.patchValue=function(e,n){void 0===n&&(n={}),this.setValue(e,n)},n.prototype.reset=function(e,n){void 0===e&&(e=null),void 0===n&&(n={}),this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1},n.prototype._updateValue=function(){},n.prototype._anyControls=function(e){return!1},n.prototype._allControlsDisabled=function(){return this.disabled},n.prototype.registerOnChange=function(e){this._onChange.push(e)},n.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},n.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},n.prototype._forEachChild=function(e){},n.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},n.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},n}(me),be=function(e){function n(n,t,l){var o=e.call(this,fe(t),ge(l,t))||this;return o.controls=n,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(l.d)(n,e),n.prototype.registerControl=function(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)},n.prototype.addControl=function(e,n){this.registerControl(e,n),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.setControl=function(e,n){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},n.prototype.setValue=function(e,n){var t=this;void 0===n&&(n={}),this._checkAllValuesPresent(e),Object.keys(e).forEach((function(l){t._throwIfControlMissing(l),t.controls[l].setValue(e[l],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)},n.prototype.patchValue=function(e,n){var t=this;void 0===n&&(n={}),Object.keys(e).forEach((function(l){t.controls[l]&&t.controls[l].patchValue(e[l],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)},n.prototype.reset=function(e,n){void 0===e&&(e={}),void 0===n&&(n={}),this._forEachChild((function(t,l){t.reset(e[l],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n),this._updatePristine(n),this._updateTouched(n)},n.prototype.getRawValue=function(){return this._reduceChildren({},(function(e,n,t){return e[t]=n instanceof ve?n.value:n.getRawValue(),e}))},n.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,(function(e,n){return!!n._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e},n.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},n.prototype._forEachChild=function(e){var n=this;Object.keys(this.controls).forEach((function(t){return e(n.controls[t],t)}))},n.prototype._setUpControls=function(){var e=this;this._forEachChild((function(n){n.setParent(e),n._registerOnCollectionChange(e._onCollectionChange)}))},n.prototype._updateValue=function(){this.value=this._reduceValue()},n.prototype._anyControls=function(e){var n=this,t=!1;return this._forEachChild((function(l,o){t=t||n.contains(o)&&e(l)})),t},n.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},(function(n,t,l){return(t.enabled||e.disabled)&&(n[l]=t.value),n}))},n.prototype._reduceChildren=function(e,n){var t=e;return this._forEachChild((function(e,l){t=n(t,e,l)})),t},n.prototype._allControlsDisabled=function(){var e,n;try{for(var t=Object(l.j)(Object.keys(this.controls)),o=t.next();!o.done;o=t.next())if(this.controls[o.value].enabled)return!1}catch(n){e={error:n}}finally{try{o&&!o.done&&(n=t.return)&&n.call(t)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},n.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(n,t){if(void 0===e[t])throw new Error("Must supply a value for form control with name: '"+t+"'.")}))},n}(me),_e=function(e){function n(n,t,l){var o=e.call(this,fe(t),ge(l,t))||this;return o.controls=n,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(l.d)(n,e),n.prototype.at=function(e){return this.controls[e]},n.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},n.prototype.insert=function(e,n){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity()},n.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()},n.prototype.setControl=function(e,n){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),n&&(this.controls.splice(e,0,n),this._registerControl(n)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(n.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),n.prototype.setValue=function(e,n){var t=this;void 0===n&&(n={}),this._checkAllValuesPresent(e),e.forEach((function(e,l){t._throwIfControlMissing(l),t.at(l).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)},n.prototype.patchValue=function(e,n){var t=this;void 0===n&&(n={}),e.forEach((function(e,l){t.at(l)&&t.at(l).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)},n.prototype.reset=function(e,n){void 0===e&&(e=[]),void 0===n&&(n={}),this._forEachChild((function(t,l){t.reset(e[l],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n),this._updatePristine(n),this._updateTouched(n)},n.prototype.getRawValue=function(){return this.controls.map((function(e){return e instanceof ve?e.value:e.getRawValue()}))},n.prototype._syncPendingControls=function(){var e=this.controls.reduce((function(e,n){return!!n._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},n.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},n.prototype._forEachChild=function(e){this.controls.forEach((function(n,t){e(n,t)}))},n.prototype._updateValue=function(){var e=this;this.value=this.controls.filter((function(n){return n.enabled||e.disabled})).map((function(e){return e.value}))},n.prototype._anyControls=function(e){return this.controls.some((function(n){return n.enabled&&e(n)}))},n.prototype._setUpControls=function(){var e=this;this._forEachChild((function(n){return e._registerControl(n)}))},n.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(n,t){if(void 0===e[t])throw new Error("Must supply a value for form control at index: "+t+".")}))},n.prototype._allControlsDisabled=function(){var e,n;try{for(var t=Object(l.j)(this.controls),o=t.next();!o.done;o=t.next())if(o.value.enabled)return!1}catch(n){e={error:n}}finally{try{o&&!o.done&&(n=t.return)&&n.call(t)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},n.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},n}(me),ye={provide:d,useExisting:Object(o.forwardRef)((function(){return Ce}))},we=Promise.resolve(null),Ce=function(e){function n(n,t){var l=e.call(this)||this;return l.submitted=!1,l._directives=[],l.ngSubmit=new o.EventEmitter,l.form=new be({},ee(n),ne(t)),l}return Object(l.d)(n,e),n.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),n.prototype.addControl=function(e){var n=this;we.then((function(){var t=n._findContainer(e.path);e.control=t.registerControl(e.name,e.control),K(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(e)}))},n.prototype.getControl=function(e){return this.form.get(e.path)},n.prototype.removeControl=function(e){var n=this;we.then((function(){var t=n._findContainer(e.path);t&&t.removeControl(e.name),ie(n._directives,e)}))},n.prototype.addFormGroup=function(e){var n=this;we.then((function(){var t=n._findContainer(e.path),l=new be({});Q(l,e),t.registerControl(e.name,l),l.updateValueAndValidity({emitEvent:!1})}))},n.prototype.removeFormGroup=function(e){var n=this;we.then((function(){var t=n._findContainer(e.path);t&&t.removeControl(e.name)}))},n.prototype.getFormGroup=function(e){return this.form.get(e.path)},n.prototype.updateModel=function(e,n){var t=this;we.then((function(){t.form.get(e.path).setValue(n)}))},n.prototype.setValue=function(e){this.control.setValue(e)},n.prototype.onSubmit=function(e){return this.submitted=!0,oe(this.form,this._directives),this.ngSubmit.emit(e),!1},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},n.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},n}(d),xe=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+V+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+F+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+L)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+F+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+L)},e.ngFormWarning=function(){},e}(),Oe=new o.InjectionToken("NgFormSelectorWarning"),Me=function(){function e(e){(e&&"once"!==e||n._ngFormWarning)&&"always"!==e||(xe.ngFormWarning(),n._ngFormWarning=!0)}var n;return n=e,e._ngFormWarning=!1,e}(),ke={provide:d,useExisting:Object(o.forwardRef)((function(){return Ae}))},Ae=function(e){function n(n,t,l){var o=e.call(this)||this;return o._parent=n,o._validators=t,o._asyncValidators=l,o}var t;return Object(l.d)(n,e),t=n,n.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof Ce||xe.modelGroupParentException()},n}(ue),Pe={provide:R,useExisting:Object(o.forwardRef)((function(){return Re}))},Se=Promise.resolve(null),Re=function(e){function n(n,t,l,r){var i=e.call(this)||this;return i.control=new ve,i._registered=!1,i.update=new o.EventEmitter,i._parent=n,i._rawValidators=t||[],i._rawAsyncValidators=l||[],i.valueAccessor=re(i,r),i}return Object(l.d)(n,e),n.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),te(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(n.prototype,"path",{get:function(){return this._parent?Y(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return ee(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return ne(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},n.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},n.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},n.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},n.prototype._setUpStandalone=function(){K(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},n.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},n.prototype._checkParentType=function(){!(this._parent instanceof Ae)&&this._parent instanceof ue?xe.formGroupNameException():this._parent instanceof Ae||this._parent instanceof Ce||xe.modelParentException()},n.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||xe.missingNameException()},n.prototype._updateValue=function(e){var n=this;Se.then((function(){n.control.setValue(e,{emitViewToModelChange:!1})}))},n.prototype._updateDisabled=function(e){var n=this,t=e.isDisabled.currentValue,l=""===t||t&&"false"!==t;Se.then((function(){l&&!n.control.disabled?n.control.disable():!l&&n.control.disabled&&n.control.enable()}))},n}(R),Ie=new o.InjectionToken("NgModelWithFormControlWarning"),Ee={provide:R,useExisting:Object(o.forwardRef)((function(){return Ne}))},Ne=function(e){function n(n,t,l,r){var i=e.call(this)||this;return i._ngModelWarningConfig=r,i.update=new o.EventEmitter,i._ngModelWarningSent=!1,i._rawValidators=n||[],i._rawAsyncValidators=t||[],i.valueAccessor=re(i,l),i}var t;return Object(l.d)(n,e),t=n,Object.defineProperty(n.prototype,"isDisabled",{set:function(e){q.disabledAttrWarning()},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),te(e,this.viewModel)&&(ae("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return ee(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return ne(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),n.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},n.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},n._ngModelWarningSentOnce=!1,n}(R),Te={provide:d,useExisting:Object(o.forwardRef)((function(){return De}))},De=function(e){function n(n,t){var l=e.call(this)||this;return l._validators=n,l._asyncValidators=t,l.submitted=!1,l.directives=[],l.form=null,l.ngSubmit=new o.EventEmitter,l}return Object(l.d)(n,e),n.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(n.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),n.prototype.addControl=function(e){var n=this.form.get(e.path);return K(n,e),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n},n.prototype.getControl=function(e){return this.form.get(e.path)},n.prototype.removeControl=function(e){ie(this.directives,e)},n.prototype.addFormGroup=function(e){var n=this.form.get(e.path);Q(n,e),n.updateValueAndValidity({emitEvent:!1})},n.prototype.removeFormGroup=function(e){},n.prototype.getFormGroup=function(e){return this.form.get(e.path)},n.prototype.addFormArray=function(e){var n=this.form.get(e.path);Q(n,e),n.updateValueAndValidity({emitEvent:!1})},n.prototype.removeFormArray=function(e){},n.prototype.getFormArray=function(e){return this.form.get(e.path)},n.prototype.updateModel=function(e,n){this.form.get(e.path).setValue(n)},n.prototype.onSubmit=function(e){return this.submitted=!0,oe(this.form,this.directives),this.ngSubmit.emit(e),!1},n.prototype.onReset=function(){this.resetForm()},n.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},n.prototype._updateDomValue=function(){var e=this;this.directives.forEach((function(n){var t=e.form.get(n.path);n.control!==t&&(function(e,n){n.valueAccessor.registerOnChange((function(){return Z(n)})),n.valueAccessor.registerOnTouched((function(){return Z(n)})),n._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),n._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(n.control,n),t&&K(t,n),n.control=t)})),this.form._updateTreeValidity({emitEvent:!1})},n.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},n.prototype._updateValidators=function(){var e=ee(this._validators);this.form.validator=h.compose([this.form.validator,e]);var n=ne(this._asyncValidators);this.form.asyncValidator=h.composeAsync([this.form.asyncValidator,n])},n.prototype._checkFormPresent=function(){this.form||q.missingFormException()},n}(d),Ve={provide:d,useExisting:Object(o.forwardRef)((function(){return Fe}))},Fe=function(e){function n(n,t,l){var o=e.call(this)||this;return o._parent=n,o._validators=t,o._asyncValidators=l,o}return Object(l.d)(n,e),n.prototype._checkParentType=function(){Be(this._parent)&&q.groupParentException()},n}(ue),Le={provide:d,useExisting:Object(o.forwardRef)((function(){return qe}))},qe=function(e){function n(n,t,l){var o=e.call(this)||this;return o._parent=n,o._validators=t,o._asyncValidators=l,o}return Object(l.d)(n,e),n.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(n.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return Y(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return ee(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return ne(this._asyncValidators)},enumerable:!0,configurable:!0}),n.prototype._checkParentType=function(){Be(this._parent)&&q.arrayParentException()},n}(d);function Be(e){return!(e instanceof Fe||e instanceof De||e instanceof qe)}var je={provide:R,useExisting:Object(o.forwardRef)((function(){return $e}))},$e=function(e){function n(n,t,l,r,i){var a=e.call(this)||this;return a._ngModelWarningConfig=i,a._added=!1,a.update=new o.EventEmitter,a._ngModelWarningSent=!1,a._parent=n,a._rawValidators=t||[],a._rawAsyncValidators=l||[],a.valueAccessor=re(a,r),a}var t;return Object(l.d)(n,e),t=n,Object.defineProperty(n.prototype,"isDisabled",{set:function(e){q.disabledAttrWarning()},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),te(e,this.viewModel)&&(ae("formControlName",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},n.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},n.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(n.prototype,"path",{get:function(){return Y(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"validator",{get:function(){return ee(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"asyncValidator",{get:function(){return ne(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),n.prototype._checkParentType=function(){!(this._parent instanceof Fe)&&this._parent instanceof ue?q.ngModelGroupException():this._parent instanceof Fe||this._parent instanceof De||this._parent instanceof qe||q.controlParentException()},n.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},n._ngModelWarningSentOnce=!1,n}(R),Ue={provide:p,useExisting:Object(o.forwardRef)((function(){return ze})),multi:!0},Ge={provide:p,useExisting:Object(o.forwardRef)((function(){return We})),multi:!0},ze=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?h.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e}(),We=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.validate=function(e){return this.required?h.requiredTrue(e):null},n}(ze),He={provide:p,useExisting:Object(o.forwardRef)((function(){return Ye})),multi:!0},Ye=function(){function e(){}return Object.defineProperty(e.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this._enabled?h.email(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e}(),Ke={provide:p,useExisting:Object(o.forwardRef)((function(){return Je})),multi:!0},Je=function(){function e(){}return e.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=h.minLength(parseInt(this.minlength,10))},e}(),Qe={provide:p,useExisting:Object(o.forwardRef)((function(){return Ze})),multi:!0},Ze=function(){function e(){}return e.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=h.maxLength(parseInt(this.maxlength,10))},e}(),Xe={provide:p,useExisting:Object(o.forwardRef)((function(){return en})),multi:!0},en=function(){function e(){}return e.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=h.pattern(this.pattern)},e}(),nn=function(){function e(){}return e.prototype.group=function(e,n){void 0===n&&(n=null);var t=this._reduceControls(e),l=null,o=null,r=void 0;return null!=n&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(n)?(l=null!=n.validators?n.validators:null,o=null!=n.asyncValidators?n.asyncValidators:null,r=null!=n.updateOn?n.updateOn:void 0):(l=null!=n.validator?n.validator:null,o=null!=n.asyncValidator?n.asyncValidator:null)),new be(t,{asyncValidators:o,updateOn:r,validators:l})},e.prototype.control=function(e,n,t){return new ve(e,n,t)},e.prototype.array=function(e,n,t){var l=this,o=e.map((function(e){return l._createControl(e)}));return new _e(o,n,t)},e.prototype._reduceControls=function(e){var n=this,t={};return Object.keys(e).forEach((function(l){t[l]=n._createControl(e[l])})),t},e.prototype._createControl=function(e){return e instanceof ve||e instanceof be||e instanceof _e?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)},e}(),tn=new o.Version("7.2.4"),ln=function(){},on=[ln,U,H,O,P,D,w,$,W,N,ce,pe,ze,Je,Ze,en,We,Ye],rn=[Re,Ae,Ce,Me],an=[Ne,De,$e,Fe,qe],un=function(){},sn=function(){function e(){}var n;return n=e,e.withConfig=function(e){return{ngModule:n,providers:[{provide:Oe,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),dn=function(){function e(){}var n;return n=e,e.withConfig=function(e){return{ngModule:n,providers:[{provide:Ie,useValue:e.warnOnNgModelWithFormControl}]}},e}()},function(e,n,t){"use strict";t.r(n),t.d(n,"ɵangular_packages_common_common_e",(function(){return Be})),t.d(n,"ɵangular_packages_common_common_d",(function(){return z})),t.d(n,"ɵangular_packages_common_common_a",(function(){return be})),t.d(n,"ɵangular_packages_common_common_b",(function(){return Ce})),t.d(n,"ɵangular_packages_common_common_g",(function(){return dn})),t.d(n,"ɵangular_packages_common_common_f",(function(){return En})),t.d(n,"ɵregisterLocaleData",(function(){return m})),t.d(n,"registerLocaleData",(function(){return m})),t.d(n,"formatDate",(function(){return ee})),t.d(n,"formatCurrency",(function(){return fe})),t.d(n,"formatNumber",(function(){return he})),t.d(n,"formatPercent",(function(){return ge})),t.d(n,"NgLocaleLocalization",(function(){return we})),t.d(n,"NgLocalization",(function(){return _e})),t.d(n,"Plural",(function(){return _})),t.d(n,"NumberFormatStyle",(function(){return b})),t.d(n,"FormStyle",(function(){return y})),t.d(n,"TranslationWidth",(function(){return w})),t.d(n,"FormatWidth",(function(){return C})),t.d(n,"NumberSymbol",(function(){return x})),t.d(n,"WeekDay",(function(){return O})),t.d(n,"getNumberOfCurrencyDigits",(function(){return H})),t.d(n,"getCurrencySymbol",(function(){return W})),t.d(n,"getLocaleDayPeriods",(function(){return k})),t.d(n,"getLocaleDayNames",(function(){return A})),t.d(n,"getLocaleMonthNames",(function(){return P})),t.d(n,"getLocaleId",(function(){return M})),t.d(n,"getLocaleEraNames",(function(){return S})),t.d(n,"getLocaleWeekEndRange",(function(){return I})),t.d(n,"getLocaleFirstDayOfWeek",(function(){return R})),t.d(n,"getLocaleDateFormat",(function(){return E})),t.d(n,"getLocaleDateTimeFormat",(function(){return T})),t.d(n,"getLocaleExtraDayPeriodRules",(function(){return j})),t.d(n,"getLocaleExtraDayPeriods",(function(){return $})),t.d(n,"getLocalePluralCase",(function(){return q})),t.d(n,"getLocaleTimeFormat",(function(){return N})),t.d(n,"getLocaleNumberSymbol",(function(){return D})),t.d(n,"getLocaleNumberFormat",(function(){return V})),t.d(n,"getLocaleCurrencyName",(function(){return L})),t.d(n,"getLocaleCurrencySymbol",(function(){return F})),t.d(n,"ɵparseCookieValue",(function(){return xe})),t.d(n,"CommonModule",(function(){return Nn})),t.d(n,"DeprecatedI18NPipesModule",(function(){return Tn})),t.d(n,"NgClass",(function(){return Oe})),t.d(n,"NgForOf",(function(){return Ae})),t.d(n,"NgForOfContext",(function(){return ke})),t.d(n,"NgIf",(function(){return Se})),t.d(n,"NgIfContext",(function(){return Re})),t.d(n,"NgPlural",(function(){return Ve})),t.d(n,"NgPluralCase",(function(){return Fe})),t.d(n,"NgStyle",(function(){return Le})),t.d(n,"NgSwitch",(function(){return Ne})),t.d(n,"NgSwitchCase",(function(){return Te})),t.d(n,"NgSwitchDefault",(function(){return De})),t.d(n,"NgTemplateOutlet",(function(){return qe})),t.d(n,"NgComponentOutlet",(function(){return Me})),t.d(n,"DOCUMENT",(function(){return Dn})),t.d(n,"AsyncPipe",(function(){return gn})),t.d(n,"DatePipe",(function(){return _n})),t.d(n,"I18nPluralPipe",(function(){return wn})),t.d(n,"I18nSelectPipe",(function(){return Cn})),t.d(n,"JsonPipe",(function(){return xn})),t.d(n,"LowerCasePipe",(function(){return hn})),t.d(n,"CurrencyPipe",(function(){return Pn})),t.d(n,"DecimalPipe",(function(){return kn})),t.d(n,"PercentPipe",(function(){return An})),t.d(n,"SlicePipe",(function(){return In})),t.d(n,"UpperCasePipe",(function(){return bn})),t.d(n,"TitleCasePipe",(function(){return vn})),t.d(n,"KeyValuePipe",(function(){return On})),t.d(n,"DeprecatedDatePipe",(function(){return ln})),t.d(n,"DeprecatedCurrencyPipe",(function(){return sn})),t.d(n,"DeprecatedDecimalPipe",(function(){return an})),t.d(n,"DeprecatedPercentPipe",(function(){return un})),t.d(n,"ɵPLATFORM_BROWSER_ID",(function(){return Vn})),t.d(n,"ɵPLATFORM_SERVER_ID",(function(){return Fn})),t.d(n,"ɵPLATFORM_WORKER_APP_ID",(function(){return Ln})),t.d(n,"ɵPLATFORM_WORKER_UI_ID",(function(){return qn})),t.d(n,"isPlatformBrowser",(function(){return Bn})),t.d(n,"isPlatformServer",(function(){return jn})),t.d(n,"isPlatformWorkerApp",(function(){return $n})),t.d(n,"isPlatformWorkerUi",(function(){return Un})),t.d(n,"VERSION",(function(){return Gn})),t.d(n,"ViewportScroller",(function(){return zn})),t.d(n,"ɵNullViewportScroller",(function(){return Hn})),t.d(n,"PlatformLocation",(function(){return r})),t.d(n,"LOCATION_INITIALIZED",(function(){return i})),t.d(n,"LocationStrategy",(function(){return a})),t.d(n,"APP_BASE_HREF",(function(){return u})),t.d(n,"HashLocationStrategy",(function(){return c})),t.d(n,"PathLocationStrategy",(function(){return p})),t.d(n,"Location",(function(){return s}));var l=t(0),o=t(3),r=function(){},i=new l.InjectionToken("Location Initialized"),a=function(){},u=new l.InjectionToken("appBaseHref"),s=function(){function e(e){var t=this;this._subject=new l.EventEmitter,this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._baseHref=n.stripTrailingSlash(d(o)),this._platformStrategy.onPopState((function(e){t._subject.emit({url:t.path(!0),pop:!0,state:e.state,type:e.type})}))}var n;return n=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+n.normalizeQueryParams(t))},e.prototype.normalize=function(e){return n.stripTrailingSlash(function(e,n){return e&&n.startsWith(e)?n.substring(e.length):n}(this._baseHref,d(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,n,t){void 0===n&&(n=""),void 0===t&&(t=null),this._platformStrategy.pushState(t,"",e,n)},e.prototype.replaceState=function(e,n,t){void 0===n&&(n=""),void 0===t&&(t=null),this._platformStrategy.replaceState(t,"",e,n)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,n,t){return this._subject.subscribe({next:e,error:n,complete:t})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,n){if(0==e.length)return n;if(0==n.length)return e;var t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n},e.stripTrailingSlash=function(e){var n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)},e}();function d(e){return e.replace(/\/index.html$/,"")}var c=function(e){function n(n,t){var l=e.call(this)||this;return l._platformLocation=n,l._baseHref="",null!=t&&(l._baseHref=t),l}return Object(o.d)(n,e),n.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.path=function(e){void 0===e&&(e=!1);var n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n},n.prototype.prepareExternalUrl=function(e){var n=s.joinWithSlash(this._baseHref,e);return n.length>0?"#"+n:n},n.prototype.pushState=function(e,n,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,n,o)},n.prototype.replaceState=function(e,n,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,o)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(a),p=function(e){function n(n,t){var l=e.call(this)||this;if(l._platformLocation=n,null==t&&(t=l._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return l._baseHref=t,l}return Object(o.d)(n,e),n.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(e){return s.joinWithSlash(this._baseHref,e)},n.prototype.path=function(e){void 0===e&&(e=!1);var n=this._platformLocation.pathname+s.normalizeQueryParams(this._platformLocation.search),t=this._platformLocation.hash;return t&&e?""+n+t:n},n.prototype.pushState=function(e,n,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));this._platformLocation.pushState(e,n,o)},n.prototype.replaceState=function(e,n,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));this._platformLocation.replaceState(e,n,o)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},n}(a),f=void 0,g=["en",[["a","p"],["AM","PM"],f],[["AM","PM"],f,f],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],f,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],f,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",f,"{1} 'at' {0}",f],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",{},function(e){var n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===t?1:5}],h={};function m(e,n,t){"string"!=typeof n&&(t=n,n=e[0]),n=n.toLowerCase().replace(/_/g,"-"),h[n]=e,t&&(h[n][19]=t)}var v={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",0],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",0],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},b=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),_=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),y=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),w=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),C=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),x=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({}),O=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}({});function M(e){return z(e)[0]}function k(e,n,t){var l=z(e);return U(U([l[1],l[2]],n),t)}function A(e,n,t){var l=z(e);return U(U([l[3],l[4]],n),t)}function P(e,n,t){var l=z(e);return U(U([l[5],l[6]],n),t)}function S(e,n){return U(z(e)[7],n)}function R(e){return z(e)[8]}function I(e){return z(e)[9]}function E(e,n){return U(z(e)[10],n)}function N(e,n){return U(z(e)[11],n)}function T(e,n){return U(z(e)[12],n)}function D(e,n){var t=z(e),l=t[13][n];if(void 0===l){if(n===x.CurrencyDecimal)return t[13][x.Decimal];if(n===x.CurrencyGroup)return t[13][x.Group]}return l}function V(e,n){return z(e)[14][n]}function F(e){return z(e)[15]||null}function L(e){return z(e)[16]||null}function q(e){return z(e)[18]}function B(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function j(e){var n=z(e);return B(n),(n[19][2]||[]).map((function(e){return"string"==typeof e?G(e):[G(e[0]),G(e[1])]}))}function $(e,n,t){var l=z(e);return B(l),U(U([l[19][0],l[19][1]],n)||[],t)||[]}function U(e,n){for(var t=n;t>-1;t--)if(void 0!==e[t])return e[t];throw new Error("Locale data API: locale data undefined")}function G(e){var n=Object(o.h)(e.split(":"),2);return{hours:+n[0],minutes:+n[1]}}function z(e){var n=e.toLowerCase().replace(/_/g,"-"),t=h[n];if(t)return t;var l=n.split("-")[0];if(t=h[l])return t;if("en"===l)return g;throw new Error('Missing locale data for the locale "'+e+'".')}function W(e,n,t){void 0===t&&(t="en");var l=function(e){return z(e)[17]}(t)[e]||v[e]||[],o=l[1];return"narrow"===n&&"string"==typeof o?o:l[0]||e}function H(e){var n,t=v[e];return t&&(n=t[2]),"number"==typeof n?n:2}var Y=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,K={},J=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Q=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Z=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),X=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function ee(e,n,t,l){var r=function(e){if(de(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var n,t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var l=Object(o.h)(e.split("-").map((function(e){return+e})),3);return new Date(l[0],l[1]-1,l[2])}if(n=e.match(Y))return se(n)}var r=new Date(e);if(!de(r))throw new Error('Unable to convert "'+e+'" into a date');return r}(e);n=function e(n,t){var l=M(n);if(K[l]=K[l]||{},K[l][t])return K[l][t];var o="";switch(t){case"shortDate":o=E(n,C.Short);break;case"mediumDate":o=E(n,C.Medium);break;case"longDate":o=E(n,C.Long);break;case"fullDate":o=E(n,C.Full);break;case"shortTime":o=N(n,C.Short);break;case"mediumTime":o=N(n,C.Medium);break;case"longTime":o=N(n,C.Long);break;case"fullTime":o=N(n,C.Full);break;case"short":var r=e(n,"shortTime"),i=e(n,"shortDate");o=ne(T(n,C.Short),[r,i]);break;case"medium":var a=e(n,"mediumTime"),u=e(n,"mediumDate");o=ne(T(n,C.Medium),[a,u]);break;case"long":var s=e(n,"longTime"),d=e(n,"longDate");o=ne(T(n,C.Long),[s,d]);break;case"full":var c=e(n,"fullTime"),p=e(n,"fullDate");o=ne(T(n,C.Full),[c,p])}return o&&(K[l][t]=o),o}(t,n)||n;for(var i,a=[];n;){if(!(i=J.exec(n))){a.push(n);break}var u=(a=a.concat(i.slice(1))).pop();if(!u)break;n=u}var s=r.getTimezoneOffset();l&&(s=ue(l,s),r=function(e,n,t){var l=e.getTimezoneOffset();return function(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,-1*(ue(n,l)-l))}(r,l));var d="";return a.forEach((function(e){var n=function(e){if(ae[e])return ae[e];var n;switch(e){case"G":case"GG":case"GGG":n=oe(X.Eras,w.Abbreviated);break;case"GGGG":n=oe(X.Eras,w.Wide);break;case"GGGGG":n=oe(X.Eras,w.Narrow);break;case"y":n=le(Z.FullYear,1,0,!1,!0);break;case"yy":n=le(Z.FullYear,2,0,!0,!0);break;case"yyy":n=le(Z.FullYear,3,0,!1,!0);break;case"yyyy":n=le(Z.FullYear,4,0,!1,!0);break;case"M":case"L":n=le(Z.Month,1,1);break;case"MM":case"LL":n=le(Z.Month,2,1);break;case"MMM":n=oe(X.Months,w.Abbreviated);break;case"MMMM":n=oe(X.Months,w.Wide);break;case"MMMMM":n=oe(X.Months,w.Narrow);break;case"LLL":n=oe(X.Months,w.Abbreviated,y.Standalone);break;case"LLLL":n=oe(X.Months,w.Wide,y.Standalone);break;case"LLLLL":n=oe(X.Months,w.Narrow,y.Standalone);break;case"w":n=ie(1);break;case"ww":n=ie(2);break;case"W":n=ie(1,!0);break;case"d":n=le(Z.Date,1);break;case"dd":n=le(Z.Date,2);break;case"E":case"EE":case"EEE":n=oe(X.Days,w.Abbreviated);break;case"EEEE":n=oe(X.Days,w.Wide);break;case"EEEEE":n=oe(X.Days,w.Narrow);break;case"EEEEEE":n=oe(X.Days,w.Short);break;case"a":case"aa":case"aaa":n=oe(X.DayPeriods,w.Abbreviated);break;case"aaaa":n=oe(X.DayPeriods,w.Wide);break;case"aaaaa":n=oe(X.DayPeriods,w.Narrow);break;case"b":case"bb":case"bbb":n=oe(X.DayPeriods,w.Abbreviated,y.Standalone,!0);break;case"bbbb":n=oe(X.DayPeriods,w.Wide,y.Standalone,!0);break;case"bbbbb":n=oe(X.DayPeriods,w.Narrow,y.Standalone,!0);break;case"B":case"BB":case"BBB":n=oe(X.DayPeriods,w.Abbreviated,y.Format,!0);break;case"BBBB":n=oe(X.DayPeriods,w.Wide,y.Format,!0);break;case"BBBBB":n=oe(X.DayPeriods,w.Narrow,y.Format,!0);break;case"h":n=le(Z.Hours,1,-12);break;case"hh":n=le(Z.Hours,2,-12);break;case"H":n=le(Z.Hours,1);break;case"HH":n=le(Z.Hours,2);break;case"m":n=le(Z.Minutes,1);break;case"mm":n=le(Z.Minutes,2);break;case"s":n=le(Z.Seconds,1);break;case"ss":n=le(Z.Seconds,2);break;case"S":n=le(Z.FractionalSeconds,1);break;case"SS":n=le(Z.FractionalSeconds,2);break;case"SSS":n=le(Z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=re(Q.Short);break;case"ZZZZZ":n=re(Q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=re(Q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=re(Q.Long);break;default:return null}return ae[e]=n,n}(e);d+=n?n(r,t,s):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),d}function ne(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,(function(e,t){return null!=n&&t in n?n[t]:e}))),e}function te(e,n,t,l,o){void 0===t&&(t="-");var r="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,r=t));for(var i=String(e);i.length0||u>-t)&&(u+=t),e===Z.Hours)0===u&&-12===t&&(u=12);else if(e===Z.FractionalSeconds)return a=n,te(u,3).substr(0,a);var s=D(i,x.MinusSign);return te(u,n,s,l,o)}}function oe(e,n,t,l){return void 0===t&&(t=y.Format),void 0===l&&(l=!1),function(o,r){return function(e,n,t,l,o,r){switch(t){case X.Months:return P(n,o,l)[e.getMonth()];case X.Days:return A(n,o,l)[e.getDay()];case X.DayPeriods:var i=e.getHours(),a=e.getMinutes();if(r){var u,s=j(n),d=$(n,o,l);if(s.forEach((function(e,n){if(Array.isArray(e)){var t=e[0],l=e[1],o=l.hours;i>=t.hours&&a>=t.minutes&&(i0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Q.Short:return(o>=0?"+":"")+te(i,2,r)+te(Math.abs(o%60),2,r);case Q.ShortGMT:return"GMT"+(o>=0?"+":"")+te(i,1,r);case Q.Long:return"GMT"+(o>=0?"+":"")+te(i,2,r)+":"+te(Math.abs(o%60),2,r);case Q.Extended:return 0===l?"Z":(o>=0?"+":"")+te(i,2,r)+":"+te(Math.abs(o%60),2,r);default:throw new Error('Unknown zone width "'+e+'"')}}}function ie(e,n){return void 0===n&&(n=!1),function(t,l){var o,r,i,a;if(n){var u=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+u)/7)}else{var d=(i=t.getFullYear(),a=new Date(i,0,1).getDay(),new Date(i,0,1+(a<=4?4:11)-a)),c=(r=t,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))).getTime()-d.getTime();o=1+Math.round(c/6048e5)}return te(o,e,D(l,x.MinusSign))}}var ae={};function ue(e,n){e=e.replace(/:/g,"");var t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function se(e){var n=new Date(0),t=0,l=0,o=e[8]?n.setUTCFullYear:n.setFullYear,r=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),l=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));var i=Number(e[4]||0)-t,a=Number(e[5]||0)-l,u=Number(e[6]||0),s=Math.round(1e3*parseFloat("0."+(e[7]||0)));return r.call(n,i,a,u,s),n}function de(e){return e instanceof Date&&!isNaN(e.valueOf())}var ce=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function pe(e,n,t,l,o,r,i){void 0===i&&(i=!1);var a="",u=!1;if(isFinite(e)){var s=function(n){var t,l,o,r,i,a=Math.abs(e)+"",u=0;for((l=a.indexOf("."))>-1&&(a=a.replace(".","")),(o=a.search(/e/i))>0?(l<0&&(l=o),l+=+a.slice(o+1),a=a.substring(0,o)):l<0&&(l=a.length),o=0;"0"===a.charAt(o);o++);if(o===(i=a.length))t=[0],l=1;else{for(i--;"0"===a.charAt(i);)i--;for(l-=o,t=[],r=0;o<=i;o++,r++)t[r]=Number(a.charAt(o))}return l>22&&(t=t.splice(0,21),u=l-1,l=1),{digits:t,exponent:u,integerLen:l}}();i&&(s=function(e){if(0===e.digits[0])return e;var n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(s));var d=n.minInt,c=n.minFrac,p=n.maxFrac;if(r){var f=r.match(ce);if(null===f)throw new Error(r+" is not a valid digit info");var g=f[1],h=f[3],m=f[5];null!=g&&(d=ve(g)),null!=h&&(c=ve(h)),null!=m?p=ve(m):null!=h&&c>p&&(p=c)}!function(e,n,t){if(n>t)throw new Error("The minimum number of digits after fraction ("+n+") is higher than the maximum ("+t+").");var l=e.digits,o=l.length-e.integerLen,r=Math.min(Math.max(n,o),t),i=r+e.integerLen,a=l[i];if(i>0){l.splice(Math.max(e.integerLen,i));for(var u=i;u=5)if(i-1<0){for(var d=0;d>i;d--)l.unshift(0),e.integerLen++;l.unshift(1),e.integerLen++}else l[i-1]++;for(;o=p?l.pop():c=!1),n>=10?1:0}),0);f&&(l.unshift(f),e.integerLen++)}(s,c,p);var v=s.digits,b=s.integerLen,_=s.exponent,y=[];for(u=v.every((function(e){return!e}));b0?y=v.splice(b,v.length):(y=v,v=[0]);var w=[];for(v.length>=n.lgSize&&w.unshift(v.splice(-n.lgSize,v.length).join(""));v.length>n.gSize;)w.unshift(v.splice(-n.gSize,v.length).join(""));v.length&&w.unshift(v.join("")),a=w.join(D(t,l)),y.length&&(a+=D(t,o)+y.join("")),_&&(a+=D(t,x.Exponential)+"+"+_)}else a=D(t,x.Infinity);return e<0&&!u?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf}function fe(e,n,t,l,o){var r=me(V(n,b.Currency),D(n,x.MinusSign));return r.minFrac=H(l),r.maxFrac=r.minFrac,pe(e,r,n,x.CurrencyGroup,x.CurrencyDecimal,o).replace("¤",t).replace("¤","")}function ge(e,n,t){return pe(e,me(V(n,b.Percent),D(n,x.MinusSign)),n,x.Group,x.Decimal,t,!0).replace(new RegExp("%","g"),D(n,x.PercentSign))}function he(e,n,t){return pe(e,me(V(n,b.Decimal),D(n,x.MinusSign)),n,x.Group,x.Decimal,t)}function me(e,n){void 0===n&&(n="-");var t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=e.split(";"),o=l[0],r=l[1],i=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],a=i[0],u=i[1]||"";t.posPre=a.substr(0,a.indexOf("#"));for(var s=0;s-1)return o;if(o=t.getPluralCategory(e,l),n.indexOf(o)>-1)return o;if(n.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var we=function(e){function n(n,t){var l=e.call(this)||this;return l.locale=n,l.deprecatedPluralFn=t,l}return Object(o.d)(n,e),n.prototype.getPluralCategory=function(e,n){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(n||this.locale,e):q(n||this.locale)(e)){case _.Zero:return"zero";case _.One:return"one";case _.Two:return"two";case _.Few:return"few";case _.Many:return"many";default:return"other"}},n}(_e);function Ce(e,n){"string"==typeof n&&(n=parseInt(n,10));var t=n,l=t.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(t)),r=l.length,i=parseInt(l,10),a=parseInt(t.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===t?_.One:_.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return t===Math.floor(t)&&t>=0&&t<=1?_.One:_.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===t?_.One:_.Other;case"ar":return 0===t?_.Zero:1===t?_.One:2===t?_.Two:t%100===Math.floor(t%100)&&t%100>=3&&t%100<=10?_.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=99?_.Many:_.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===r?_.One:_.Other;case"be":return t%10==1&&t%100!=11?_.One:t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?_.Few:t%10==0||t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?_.Many:_.Other;case"br":return t%10==1&&t%100!=11&&t%100!=71&&t%100!=91?_.One:t%10==2&&t%100!=12&&t%100!=72&&t%100!=92?_.Two:t%10===Math.floor(t%10)&&(t%10>=3&&t%10<=4||t%10==9)&&!(t%100>=10&&t%100<=19||t%100>=70&&t%100<=79||t%100>=90&&t%100<=99)?_.Few:0!==t&&t%1e6==0?_.Many:_.Other;case"bs":case"hr":case"sr":return 0===r&&o%10==1&&o%100!=11||i%10==1&&i%100!=11?_.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?_.Few:_.Other;case"cs":case"sk":return 1===o&&0===r?_.One:o===Math.floor(o)&&o>=2&&o<=4&&0===r?_.Few:0!==r?_.Many:_.Other;case"cy":return 0===t?_.Zero:1===t?_.One:2===t?_.Two:3===t?_.Few:6===t?_.Many:_.Other;case"da":return 1===t||0!==a&&(0===o||1===o)?_.One:_.Other;case"dsb":case"hsb":return 0===r&&o%100==1||i%100==1?_.One:0===r&&o%100==2||i%100==2?_.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?_.Few:_.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?_.One:_.Other;case"fil":return 0===r&&(1===o||2===o||3===o)||0===r&&o%10!=4&&o%10!=6&&o%10!=9||0!==r&&i%10!=4&&i%10!=6&&i%10!=9?_.One:_.Other;case"ga":return 1===t?_.One:2===t?_.Two:t===Math.floor(t)&&t>=3&&t<=6?_.Few:t===Math.floor(t)&&t>=7&&t<=10?_.Many:_.Other;case"gd":return 1===t||11===t?_.One:2===t||12===t?_.Two:t===Math.floor(t)&&(t>=3&&t<=10||t>=13&&t<=19)?_.Few:_.Other;case"gv":return 0===r&&o%10==1?_.One:0===r&&o%10==2?_.Two:0!==r||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==r?_.Many:_.Other:_.Few;case"he":return 1===o&&0===r?_.One:2===o&&0===r?_.Two:0!==r||t>=0&&t<=10||t%10!=0?_.Other:_.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?_.One:_.Other;case"ksh":return 0===t?_.Zero:1===t?_.One:_.Other;case"kw":case"naq":case"se":case"smn":return 1===t?_.One:2===t?_.Two:_.Other;case"lag":return 0===t?_.Zero:0!==o&&1!==o||0===t?_.Other:_.One;case"lt":return t%10!=1||t%100>=11&&t%100<=19?t%10===Math.floor(t%10)&&t%10>=2&&t%10<=9&&!(t%100>=11&&t%100<=19)?_.Few:0!==i?_.Many:_.Other:_.One;case"lv":case"prg":return t%10==0||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19||2===r&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?_.Zero:t%10==1&&t%100!=11||2===r&&i%10==1&&i%100!=11||2!==r&&i%10==1?_.One:_.Other;case"mk":return 0===r&&o%10==1||i%10==1?_.One:_.Other;case"mt":return 1===t?_.One:0===t||t%100===Math.floor(t%100)&&t%100>=2&&t%100<=10?_.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19?_.Many:_.Other;case"pl":return 1===o&&0===r?_.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?_.Few:0===r&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?_.Many:_.Other;case"pt":return t===Math.floor(t)&&t>=0&&t<=2&&2!==t?_.One:_.Other;case"ro":return 1===o&&0===r?_.One:0!==r||0===t||1!==t&&t%100===Math.floor(t%100)&&t%100>=1&&t%100<=19?_.Few:_.Other;case"ru":case"uk":return 0===r&&o%10==1&&o%100!=11?_.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?_.Few:0===r&&o%10==0||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?_.Many:_.Other;case"shi":return 0===o||1===t?_.One:t===Math.floor(t)&&t>=2&&t<=10?_.Few:_.Other;case"si":return 0===t||1===t||0===o&&1===i?_.One:_.Other;case"sl":return 0===r&&o%100==1?_.One:0===r&&o%100==2?_.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==r?_.Few:_.Other;case"tzm":return t===Math.floor(t)&&t>=0&&t<=1||t===Math.floor(t)&&t>=11&&t<=99?_.One:_.Other;default:return _.Other}}function xe(e,n){var t,l;n=encodeURIComponent(n);try{for(var r=Object(o.j)(e.split(";")),i=r.next();!i.done;i=r.next()){var a=i.value,u=a.indexOf("="),s=Object(o.h)(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),d=s[1];if(s[0].trim()===n)return decodeURIComponent(d)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return null}var Oe=function(){function e(e,n,t,l){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=t,this._renderer=l,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(l["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}},e.prototype._applyKeyValueChanges=function(e){var n=this;e.forEachAddedItem((function(e){return n._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return n._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&n._toggleClass(e.key,!1)}))},e.prototype._applyIterableChanges=function(e){var n=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(l["ɵstringify"])(e.item));n._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return n._toggleClass(e.item,!1)}))},e.prototype._applyClasses=function(e){var n=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return n._toggleClass(e,!0)})):Object.keys(e).forEach((function(t){return n._toggleClass(t,!!e[t])})))},e.prototype._removeClasses=function(e){var n=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return n._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return n._toggleClass(e,!1)})))},e.prototype._toggleClass=function(e,n){var t=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){n?t._renderer.addClass(t._ngEl.nativeElement,e):t._renderer.removeClass(t._ngEl.nativeElement,e)}))},e}(),Me=function(){function e(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return e.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var t=n.get(l.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;var o=(this._moduleRef?this._moduleRef.componentFactoryResolver:n.get(l.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,n,this.ngComponentOutletContent)}},e.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},e}(),ke=function(){function e(e,n,t,l){this.$implicit=e,this.ngForOf=n,this.index=t,this.count=l}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Ae=function(){function e(e,n,t){this._viewContainer=e,this._template=n,this._differs=t,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(l.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console,this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((n=e).name||typeof n)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var n;if(this._differ){var t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}},e.prototype._applyChanges=function(e){var n=this,t=[];e.forEachOperation((function(e,l,o){if(null==e.previousIndex){var r=n._viewContainer.createEmbeddedView(n._template,new ke(null,n._ngForOf,-1,-1),o),i=new Pe(e,r);t.push(i)}else null==o?n._viewContainer.remove(l):(r=n._viewContainer.get(l),n._viewContainer.move(r,o),i=new Pe(e,r),t.push(i))}));for(var l=0;l1?"short":"narrow":"long",t}function Xe(e){return e.reduce((function(e,n){return Object(o.a)({},e,n)}),{})}function en(e){return function(n,t){return Ye(n,t,e)}}var nn=new Map,tn=function(){function e(){}return e.format=function(e,n,t){return function(e,n,t){var l=Ge[e];if(l)return l(n,t);var o=e,r=nn.get(o);if(!r){r=[];var i=void 0;Ue.exec(e);for(var a=e;a;)(i=Ue.exec(a))?a=(r=r.concat(i.slice(1))).pop():(r.push(a),a=null);nn.set(o,r)}return r.reduce((function(e,l){var o=ze[l];return e+(o?o(n,t):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(l))}),"")}(t,e,n)},e}(),ln=function(){function e(e){this._locale=e}var n;return n=e,e.prototype.transform=function(e,t){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;var l;if("string"==typeof e&&(e=e.trim()),on(e))l=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=Object(o.h)(e.split("-").map((function(e){return parseInt(e,10)})),3);l=new Date(r[0],r[1]-1,r[2])}else l=new Date(e);else l=new Date(parseFloat(e));if(!on(l)){var i=void 0;if("string"!=typeof e||!(i=e.match(Y)))throw je(n,e);l=se(i)}return tn.format(l,this._locale,n._ALIASES[t]||t)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e}();function on(e){return e instanceof Date&&!isNaN(e.valueOf())}function rn(e,n,t,l,o,r,i){if(void 0===r&&(r=null),void 0===i&&(i=!1),null==t)return null;if("number"!=typeof(t="string"!=typeof t||isNaN(+t-parseFloat(t))?t:+t))throw je(e,t);var a,u,s;if(l!==b.Currency&&(a=1,u=0,s=3),o){var d=o.match(ce);if(null===d)throw new Error(o+" is not a valid digit info for number pipes");null!=d[1]&&(a=ve(d[1])),null!=d[3]&&(u=ve(d[3])),null!=d[5]&&(s=ve(d[5]))}return $e.format(t,n,l,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:s,currency:r,currencyAsSymbol:i})}var an=function(){function e(e){this._locale=e}var n;return n=e,e.prototype.transform=function(e,t){return rn(n,this._locale,e,b.Decimal,t)},e}(),un=function(){function e(e){this._locale=e}var n;return n=e,e.prototype.transform=function(e,t){return rn(n,this._locale,e,b.Percent,t)},e}(),sn=function(){function e(e){this._locale=e}var n;return n=e,e.prototype.transform=function(e,t,l,o){return void 0===t&&(t="USD"),void 0===l&&(l=!1),rn(n,this._locale,e,b.Currency,o,t,l)},e}(),dn=[an,un,sn,ln],cn=function(){function e(){}return e.prototype.createSubscription=function(e,n){return e.subscribe({next:n,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),pn=new(function(){function e(){}return e.prototype.createSubscription=function(e,n){return e.then(n,(function(e){throw e}))},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),fn=new cn,gn=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var n;return n=e,e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var n=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(t){return n._updateLatestValue(e,t)}))},e.prototype._selectStrategy=function(e){if(Object(l["ɵisPromise"])(e))return pn;if(Object(l["ɵisObservable"])(e))return fn;throw je(n,e)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,n){e===this._obj&&(this._latestValue=n,this._ref.markForCheck())},e}(),hn=function(){function e(){}var n;return n=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw je(n,e);return e.toLowerCase()},e}(),mn=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,vn=function(){function e(){}var n;return n=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw je(n,e);return e.replace(mn,(function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()}))},e}(),bn=function(){function e(){}var n;return n=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw je(n,e);return e.toUpperCase()},e}(),_n=function(){function e(e){this.locale=e}var n;return n=e,e.prototype.transform=function(e,t,l,o){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;try{return ee(e,t,o||this.locale,l)}catch(e){throw je(n,e.message)}},e}(),yn=/#/g,wn=function(){function e(e){this._localization=e}var n;return n=e,e.prototype.transform=function(e,t,l){if(null==e)return"";if("object"!=typeof t||null===t)throw je(n,t);return t[ye(e,Object.keys(t),this._localization,l)].replace(yn,e.toString())},e}(),Cn=function(){function e(){}var n;return n=e,e.prototype.transform=function(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw je(n,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""},e}(),xn=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},e}(),On=function(){function e(e){this.differs=e,this.keyValues=[]}return e.prototype.transform=function(e,n){var t=this;if(void 0===n&&(n=Mn),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var l=this.differ.diff(e);return l&&(this.keyValues=[],l.forEachItem((function(e){t.keyValues.push({key:e.key,value:e.currentValue})})),this.keyValues.sort(n)),this.keyValues},e}();function Mn(e,n){var t=e.key,l=n.key;if(t===l)return 0;if(void 0===t)return 1;if(void 0===l)return-1;if(null===t)return 1;if(null===l)return-1;if("string"==typeof t&&"string"==typeof l)return te.length)return null;if("full"===t.pathMatch&&(n.hasChildren()||l.length0?e[e.length-1]:null}function ce(e,n){for(var t in e)e.hasOwnProperty(t)&&n(e[t],t)}function pe(e){return Object(r["ɵisObservable"])(e)?e:Object(r["ɵisPromise"])(e)?Object(a.a)(Promise.resolve(e)):Object(i.a)(e)}function fe(e,n,t){return t?function(e,n){return ue(e,n)}(e.queryParams,n.queryParams)&&function e(n,t){if(!ve(n.segments,t.segments))return!1;if(n.numberOfChildren!==t.numberOfChildren)return!1;for(var l in t.children){if(!n.children[l])return!1;if(!e(n.children[l],t.children[l]))return!1}return!0}(e.root,n.root):function(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every((function(t){return n[t]===e[t]}))}(e.queryParams,n.queryParams)&&function e(n,t){return function n(t,l,o){if(t.segments.length>o.length)return!!ve(i=t.segments.slice(0,o.length),o)&&!l.hasChildren();if(t.segments.length===o.length){if(!ve(t.segments,o))return!1;for(var r in l.children){if(!t.children[r])return!1;if(!e(t.children[r],l.children[r]))return!1}return!0}var i=o.slice(0,t.segments.length),a=o.slice(t.segments.length);return!!ve(t.segments,i)&&!!t.children[Q]&&n(t.children[Q],l,a)}(n,t,t.segments)}(e.root,n.root)}var ge=function(){function e(e,n,t){this.root=e,this.queryParams=n,this.fragment=t}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=X(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return we.serialize(this)},e}(),he=function(){function e(e,n){var t=this;this.segments=e,this.children=n,this.parent=null,ce(n,(function(e,n){return e.parent=t}))}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ce(this)},e}(),me=function(){function e(e,n){this.path=e,this.parameters=n}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=X(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Pe(this)},e}();function ve(e,n){return e.length===n.length&&e.every((function(e,t){return e.path===n[t].path}))}function be(e,n){var t=[];return ce(e.children,(function(e,l){l===Q&&(t=t.concat(n(e,l)))})),ce(e.children,(function(e,l){l!==Q&&(t=t.concat(n(e,l)))})),t}var _e=function(){},ye=function(){function e(){}return e.prototype.parse=function(e){var n=new Ne(e);return new ge(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())},e.prototype.serialize=function(e){var n,t;return"/"+function e(n,t){if(!n.hasChildren())return Ce(n);if(t){var l=n.children[Q]?e(n.children[Q],!1):"",o=[];return ce(n.children,(function(n,t){t!==Q&&o.push(t+":"+e(n,!1))})),o.length>0?l+"("+o.join("//")+")":l}var r=be(n,(function(t,l){return l===Q?[e(n.children[Q],!1)]:[l+":"+e(t,!1)]}));return Ce(n)+"/("+r.join("//")+")"}(e.root,!0)+(n=e.queryParams,(t=Object.keys(n).map((function(e){var t=n[e];return Array.isArray(t)?t.map((function(n){return Oe(e)+"="+Oe(n)})).join("&"):Oe(e)+"="+Oe(t)}))).length?"?"+t.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),we=new ye;function Ce(e){return e.segments.map((function(e){return Pe(e)})).join("/")}function xe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Oe(e){return xe(e).replace(/%3B/gi,";")}function Me(e){return xe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ke(e){return decodeURIComponent(e)}function Ae(e){return ke(e.replace(/\+/g,"%20"))}function Pe(e){return""+Me(e.path)+(n=e.parameters,Object.keys(n).map((function(e){return";"+Me(e)+"="+Me(n[e])})).join(""));var n}var Se=/^[^\/()?;=#]+/;function Re(e){var n=e.match(Se);return n?n[0]:""}var Ie=/^[^=?&#]+/,Ee=/^[^?&#]+/,Ne=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new he([],{}):new he([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(t[Q]=new he(e,n)),t},e.prototype.parseSegment=function(){var e=Re(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new me(ke(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var n=Re(this.remaining);if(n){this.capture(n);var t="";if(this.consumeOptional("=")){var l=Re(this.remaining);l&&this.capture(t=l)}e[ke(n)]=ke(t)}},e.prototype.parseQueryParam=function(e){var n,t=(n=this.remaining.match(Ie))?n[0]:"";if(t){this.capture(t);var l="";if(this.consumeOptional("=")){var o=function(e){var n=e.match(Ee);return n?n[0]:""}(this.remaining);o&&this.capture(l=o)}var r=Ae(t),i=Ae(l);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(e[r]=a=[a]),a.push(i)}else e[r]=i}},e.prototype.parseParens=function(e){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var t=Re(this.remaining),l=this.remaining[t.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;t.indexOf(":")>-1?(o=t.substr(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Q);var r=this.parseChildren();n[o]=1===Object.keys(r).length?r[Q]:new he([],r),this.consumeOptional("//")}return n},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Te=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null},e.prototype.children=function(e){var n=De(e,this._root);return n?n.children.map((function(e){return e.value})):[]},e.prototype.firstChild=function(e){var n=De(e,this._root);return n&&n.children.length>0?n.children[0].value:null},e.prototype.siblings=function(e){var n=Ve(e,this._root);return n.length<2?[]:n[n.length-2].children.map((function(e){return e.value})).filter((function(n){return n!==e}))},e.prototype.pathFromRoot=function(e){return Ve(e,this._root).map((function(e){return e.value}))},e}();function De(e,n){var t,o;if(e===n.value)return n;try{for(var r=Object(l.j)(n.children),i=r.next();!i.done;i=r.next()){var a=De(e,i.value);if(a)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}return null}function Ve(e,n){var t,o;if(e===n.value)return[n];try{for(var r=Object(l.j)(n.children),i=r.next();!i.done;i=r.next()){var a=Ve(e,i.value);if(a.length)return a.unshift(n),a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}return[]}var Fe=function(){function e(e,n){this.value=e,this.children=n}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Le(e){var n={};return e&&e.children.forEach((function(e){return n[e.value.outlet]=e})),n}var qe=function(e){function n(n,t){var l=e.call(this,n)||this;return l.snapshot=t,ze(l,n),l}return Object(l.d)(n,e),n.prototype.toString=function(){return this.snapshot.toString()},n}(Te);function Be(e,n){var t=function(e,n){var t=new Ue([],{},{},"",{},Q,n,null,e.root,-1,{});return new Ge("",new Fe(t,[]))}(e,n),l=new u.a([new me("",{})]),o=new u.a({}),r=new u.a({}),i=new u.a({}),a=new u.a(""),s=new je(l,o,i,a,r,Q,n,t.root);return s.snapshot=t.root,new qe(new Fe(s,[]),t)}var je=function(){function e(e,n,t,l,o,r,i,a){this.url=e,this.params=n,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=r,this.component=i,this._futureSnapshot=a}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(h.a)((function(e){return X(e)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(h.a)((function(e){return X(e)})))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function $e(e,n){void 0===n&&(n="emptyOnly");var t=e.pathFromRoot,o=0;if("always"!==n)for(o=t.length-1;o>=1;){var r=t[o],i=t[o-1];if(r.routeConfig&&""===r.routeConfig.path)o--;else{if(i.component)break;o--}}return function(e){return e.reduce((function(e,n){return{params:Object(l.a)({},e.params,n.params),data:Object(l.a)({},e.data,n.data),resolve:Object(l.a)({},e.resolve,n._resolvedData)}}),{params:{},data:{},resolve:{}})}(t.slice(o))}var Ue=function(){function e(e,n,t,l,o,r,i,a,u,s,d){this.url=e,this.params=n,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=r,this.component=i,this.routeConfig=a,this._urlSegment=u,this._lastPathIndex=s,this._resolve=d}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=X(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=X(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map((function(e){return e.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Ge=function(e){function n(n,t){var l=e.call(this,t)||this;return l.url=n,ze(l,t),l}return Object(l.d)(n,e),n.prototype.toString=function(){return We(this._root)},n}(Te);function ze(e,n){n.value._routerState=e,n.children.forEach((function(n){return ze(e,n)}))}function We(e){var n=e.children.length>0?" { "+e.children.map(We).join(", ")+" } ":"";return""+e.value+n}function He(e){if(e.snapshot){var n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,ue(n.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),n.fragment!==t.fragment&&e.fragment.next(t.fragment),ue(n.params,t.params)||e.params.next(t.params),function(e,n){if(e.length!==n.length)return!1;for(var t=0;t0&&Ke(t[0]))throw new Error("Root segment cannot have matrix parameters");var l=t.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(l&&l!==de(t))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),Ze=function(e,n,t){this.segmentGroup=e,this.processChildren=n,this.index=t};function Xe(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Q]:""+e}function en(e,n,t){if(e||(e=new he([],{})),0===e.segments.length&&e.hasChildren())return nn(e,n,t);var l=function(e,n,t){for(var l=0,o=n,r={match:!1,pathIndex:0,commandIndex:0};o=t.length)return r;var i=e.segments[o],a=Xe(t[l]),u=l0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!rn(a,u,i))return r;l+=2}else{if(!rn(a,{},i))return r;l++}o++}return{match:!0,pathIndex:o,commandIndex:l}}(e,n,t),o=t.slice(l.commandIndex);if(l.match&&l.pathIndex0?new he([],((l={})[Q]=e,l)):e;return new ge(o,n,t)},e.prototype.expandSegmentGroup=function(e,n,t,l){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(e,n,t).pipe(Object(h.a)((function(e){return new he([],e)}))):this.expandSegment(e,t,n,t.segments,l,!0)},e.prototype.expandChildren=function(e,n,t){var l=this;return function(t,o){if(0===Object.keys(t).length)return Object(i.a)({});var r=[],a=[],u={};return ce(t,(function(t,o){var i,s,d=(i=o,s=t,l.expandSegmentGroup(e,n,s,i)).pipe(Object(h.a)((function(e){return u[o]=e})));o===Q?r.push(d):a.push(d)})),i.a.apply(null,r.concat(a)).pipe(Object(m.a)(),Object(v.a)(),Object(h.a)((function(){return u})))}(t.children)},e.prototype.expandSegment=function(e,n,t,o,r,a){var u=this;return i.a.apply(void 0,Object(l.i)(t)).pipe(Object(h.a)((function(l){return u.expandSegmentAgainstRoute(e,n,t,l,o,r,a).pipe(Object(b.a)((function(e){if(e instanceof cn)return Object(i.a)(null);throw e})))})),Object(m.a)(),Object(_.a)((function(e){return!!e})),Object(b.a)((function(e,t){if(e instanceof d.a||"EmptyError"===e.name){if(u.noLeftoversInUrl(n,o,r))return Object(i.a)(new he([],{}));throw new cn(n)}throw e})))},e.prototype.noLeftoversInUrl=function(e,n,t){return 0===n.length&&!e.children[t]},e.prototype.expandSegmentAgainstRoute=function(e,n,t,l,o,r,i){return yn(l)!==r?fn(n):void 0===l.redirectTo?this.matchSegmentAgainstRoute(e,n,l,o):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,n,t,l,o,r):fn(n)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,n,t,l,o,r){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,l,r):this.expandRegularSegmentAgainstRouteUsingRedirect(e,n,t,l,o,r)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,n,t,l){var o=this,r=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?gn(r):this.lineralizeSegments(t,r).pipe(Object(y.a)((function(t){var r=new he(t,{});return o.expandSegment(e,r,n,t,l,!1)})))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,n,t,l,o,r){var i=this,a=vn(n,l,o),u=a.consumedSegments,s=a.lastChild,d=a.positionalParamSegments;if(!a.matched)return fn(n);var c=this.applyRedirectCommands(u,l.redirectTo,d);return l.redirectTo.startsWith("/")?gn(c):this.lineralizeSegments(l,c).pipe(Object(y.a)((function(l){return i.expandSegment(e,n,t,l.concat(o.slice(s)),r,!1)})))},e.prototype.matchSegmentAgainstRoute=function(e,n,t,o){var r=this;if("**"===t.path)return t.loadChildren?this.configLoader.load(e.injector,t).pipe(Object(h.a)((function(e){return t._loadedConfig=e,new he(o,{})}))):Object(i.a)(new he(o,{}));var a=vn(n,t,o),u=a.consumedSegments,s=a.lastChild;if(!a.matched)return fn(n);var d=o.slice(s);return this.getChildConfig(e,t,o).pipe(Object(y.a)((function(e){var t=e.module,o=e.routes,a=function(e,n,t,o){return t.length>0&&function(e,n,t){return o.some((function(t){return _n(e,n,t)&&yn(t)!==Q}))}(e,t)?{segmentGroup:bn(new he(n,function(e,n){var t,o,r={};r[Q]=n;try{for(var i=Object(l.j)(e),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&yn(u)!==Q&&(r[yn(u)]=new he([],{}))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}return r}(o,new he(t,e.children)))),slicedSegments:[]}:0===t.length&&function(e,n,t){return o.some((function(t){return _n(e,n,t)}))}(e,t)?{segmentGroup:bn(new he(e.segments,function(e,n,t,o){var r,i,a={};try{for(var u=Object(l.j)(t),s=u.next();!s.done;s=u.next()){var d=s.value;_n(e,n,d)&&!o[yn(d)]&&(a[yn(d)]=new he([],{}))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return Object(l.a)({},o,a)}(e,t,o,e.children))),slicedSegments:t}:{segmentGroup:e,slicedSegments:t}}(n,u,d,o),s=a.segmentGroup,c=a.slicedSegments;return 0===c.length&&s.hasChildren()?r.expandChildren(t,o,s).pipe(Object(h.a)((function(e){return new he(u,e)}))):0===o.length&&0===c.length?Object(i.a)(new he(u,{})):r.expandSegment(t,s,o,c,Q,!0).pipe(Object(h.a)((function(e){return new he(u.concat(e.segments),e.children)})))})))},e.prototype.getChildConfig=function(e,n,t){var l=this;return n.children?Object(i.a)(new le(n.children,e)):n.loadChildren?void 0!==n._loadedConfig?Object(i.a)(n._loadedConfig):function(e,n,t){var l=n.canLoad;return l&&0!==l.length?Object(a.a)(l).pipe(Object(h.a)((function(l){var o,r=e.get(l);if(function(e){return e&&sn(e.canLoad)}(r))o=r.canLoad(n,t);else{if(!sn(r))throw new Error("Invalid CanLoad guard");o=r(n,t)}return pe(o)}))).pipe(Object(m.a)(),Object(w.a)((function(e){return!0===e}))):Object(i.a)(!0)}(e.injector,n,t).pipe(Object(y.a)((function(t){return t?l.configLoader.load(e.injector,n).pipe(Object(h.a)((function(e){return n._loadedConfig=e,e}))):function(e){return new s.a((function(n){return n.error(ne("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))}))}(n)}))):Object(i.a)(new le([],e))},e.prototype.lineralizeSegments=function(e,n){for(var t=[],l=n.root;;){if(t=t.concat(l.segments),0===l.numberOfChildren)return Object(i.a)(t);if(l.numberOfChildren>1||!l.children[Q])return hn(e.redirectTo);l=l.children[Q]}},e.prototype.applyRedirectCommands=function(e,n,t){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),e,t)},e.prototype.applyRedirectCreatreUrlTree=function(e,n,t,l){var o=this.createSegmentGroup(e,n.root,t,l);return new ge(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)},e.prototype.createQueryParams=function(e,n){var t={};return ce(e,(function(e,l){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);t[l]=n[o]}else t[l]=e})),t},e.prototype.createSegmentGroup=function(e,n,t,l){var o=this,r=this.createSegments(e,n.segments,t,l),i={};return ce(n.children,(function(n,r){i[r]=o.createSegmentGroup(e,n,t,l)})),new he(r,i)},e.prototype.createSegments=function(e,n,t,l){var o=this;return n.map((function(n){return n.path.startsWith(":")?o.findPosParam(e,n,l):o.findOrReturn(n,t)}))},e.prototype.findPosParam=function(e,n,t){var l=t[n.path.substring(1)];if(!l)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+n.path+"'.");return l},e.prototype.findOrReturn=function(e,n){var t,o,r=0;try{for(var i=Object(l.j)(n),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===e.path)return n.splice(r),u;r++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(t)throw t.error}}return e},e}();function vn(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var l=(n.matcher||te)(t,e,n);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function bn(e){if(1===e.numberOfChildren&&e.children[Q]){var n=e.children[Q];return new he(e.segments.concat(n.segments),n.children)}return e}function _n(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0!==t.redirectTo}function yn(e){return e.outlet||Q}var wn=function(e){this.path=e,this.route=this.path[this.path.length-1]},Cn=function(e,n){this.component=e,this.route=n};function xn(e,n,t){var l=function(e){if(!e)return null;for(var n=e.parent;n;n=n.parent){var t=n.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(n);return(l?l.module.injector:t).get(e)}function On(e,n,t){var l=Le(e),o=e.value;ce(l,(function(e,l){On(e,o.component?n?n.children.getContext(l):null:n,t)})),t.canDeactivateChecks.push(new Cn(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}var Mn=Symbol("INITIAL_VALUE");function kn(){return Object(C.a)((function(e){return c.b.apply(void 0,Object(l.i)(e.map((function(e){return e.pipe(Object(x.a)(1),Object(O.a)(Mn))})))).pipe(Object(M.a)((function(e,n){var t=!1;return n.reduce((function(e,l,o){if(e!==Mn)return e;if(l===Mn&&(t=!0),!t){if(!1===l)return l;if(o===n.length-1||dn(l))return l}return e}),e)}),Mn),Object(k.a)((function(e){return e!==Mn})),Object(h.a)((function(e){return dn(e)?e:!0===e})),Object(x.a)(1))}))}var An=function(){},Pn=function(){function e(e,n,t,l,o,r){this.rootComponentType=e,this.config=n,this.urlTree=t,this.url=l,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=r}return e.prototype.recognize=function(){try{var e=In(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,e,Q),t=new Ue([],Object.freeze({}),Object.freeze(Object(l.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},Q,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Fe(t,n),r=new Ge(this.url,o);return this.inheritParamsAndData(r._root),Object(i.a)(r)}catch(e){return new s.a((function(n){return n.error(e)}))}},e.prototype.inheritParamsAndData=function(e){var n=this,t=e.value,l=$e(t,this.paramsInheritanceStrategy);t.params=Object.freeze(l.params),t.data=Object.freeze(l.data),e.children.forEach((function(e){return n.inheritParamsAndData(e)}))},e.prototype.processSegmentGroup=function(e,n,t){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,n):this.processSegment(e,n,n.segments,t)},e.prototype.processChildren=function(e,n){var t,l=this,o=be(n,(function(n,t){return l.processSegmentGroup(e,n,t)}));return t={},o.forEach((function(e){var n=t[e.value.outlet];if(n){var l=n.url.map((function(e){return e.toString()})).join("/"),o=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+l+"' and '"+o+"'.")}t[e.value.outlet]=e.value})),o.sort((function(e,n){return e.value.outlet===Q?-1:n.value.outlet===Q?1:e.value.outlet.localeCompare(n.value.outlet)})),o},e.prototype.processSegment=function(e,n,t,o){var r,i;try{for(var a=Object(l.j)(e),u=a.next();!u.done;u=a.next()){var s=u.value;try{return this.processSegmentAgainstRoute(s,n,t,o)}catch(e){if(!(e instanceof An))throw e}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}if(this.noLeftoversInUrl(n,t,o))return[];throw new An},e.prototype.noLeftoversInUrl=function(e,n,t){return 0===n.length&&!e.children[t]},e.prototype.processSegmentAgainstRoute=function(e,n,t,o){if(e.redirectTo)throw new An;if((e.outlet||Q)!==o)throw new An;var r,i=[],a=[];if("**"===e.path){var u=t.length>0?de(t).parameters:{};r=new Ue(t,u,Object.freeze(Object(l.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Tn(e),o,e.component,e,Sn(n),Rn(n)+t.length,Dn(e))}else{var s=function(e,n,t){if(""===n.path){if("full"===n.pathMatch&&(e.hasChildren()||t.length>0))throw new An;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(n.matcher||te)(t,e,n);if(!o)throw new An;var r={};ce(o.posParams,(function(e,n){r[n]=e.path}));var i=o.consumed.length>0?Object(l.a)({},r,o.consumed[o.consumed.length-1].parameters):r;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:i}}(n,e,t);i=s.consumedSegments,a=t.slice(s.lastChild),r=new Ue(i,s.parameters,Object.freeze(Object(l.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Tn(e),o,e.component,e,Sn(n),Rn(n)+i.length,Dn(e))}var d=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=In(n,i,a,d,this.relativeLinkResolution),p=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&p.hasChildren()){var g=this.processChildren(d,p);return[new Fe(r,g)]}if(0===d.length&&0===f.length)return[new Fe(r,[])];var h=this.processSegment(d,p,f,Q);return[new Fe(r,h)]},e}();function Sn(e){for(var n=e;n._sourceSegment;)n=n._sourceSegment;return n}function Rn(e){for(var n=e,t=n._segmentIndexShift?n._segmentIndexShift:0;n._sourceSegment;)t+=(n=n._sourceSegment)._segmentIndexShift?n._segmentIndexShift:0;return t-1}function In(e,n,t,o,r){if(t.length>0&&function(e,n,t){return o.some((function(t){return En(e,n,t)&&Nn(t)!==Q}))}(e,t)){var i=new he(n,function(e,n,t,o){var r,i,a={};a[Q]=o,o._sourceSegment=e,o._segmentIndexShift=n.length;try{for(var u=Object(l.j)(t),s=u.next();!s.done;s=u.next()){var d=s.value;if(""===d.path&&Nn(d)!==Q){var c=new he([],{});c._sourceSegment=e,c._segmentIndexShift=n.length,a[Nn(d)]=c}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return a}(e,n,o,new he(t,e.children)));return i._sourceSegment=e,i._segmentIndexShift=n.length,{segmentGroup:i,slicedSegments:[]}}if(0===t.length&&function(e,n,t){return o.some((function(t){return En(e,n,t)}))}(e,t)){var a=new he(e.segments,function(e,n,t,o,r,i){var a,u,s={};try{for(var d=Object(l.j)(o),c=d.next();!c.done;c=d.next()){var p=c.value;if(En(e,t,p)&&!r[Nn(p)]){var f=new he([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===i?e.segments.length:n.length,s[Nn(p)]=f}}}catch(e){a={error:e}}finally{try{c&&!c.done&&(u=d.return)&&u.call(d)}finally{if(a)throw a.error}}return Object(l.a)({},r,s)}(e,n,t,o,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=n.length,{segmentGroup:a,slicedSegments:t}}var u=new he(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=n.length,{segmentGroup:u,slicedSegments:t}}function En(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0===t.redirectTo}function Nn(e){return e.outlet||Q}function Tn(e){return e.data||{}}function Dn(e){return e.resolve||{}}function Vn(e,n,t,l){var o=xn(e,n,l);return pe(o.resolve?o.resolve(n,t):o(n,t))}function Fn(e){return function(n){return n.pipe(Object(C.a)((function(n){var t=e(n);return t?Object(a.a)(t).pipe(Object(h.a)((function(){return n}))):Object(a.a)([n])})))}}var Ln=function(){},qn=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,n){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,n){return e.routeConfig===n.routeConfig},e}(),Bn=new r.InjectionToken("ROUTES"),jn=function(){function e(e,n,t,l){this.loader=e,this.compiler=n,this.onLoadStartListener=t,this.onLoadEndListener=l}return e.prototype.load=function(e,n){var t=this;return this.onLoadStartListener&&this.onLoadStartListener(n),this.loadModuleFactory(n.loadChildren).pipe(Object(h.a)((function(l){t.onLoadEndListener&&t.onLoadEndListener(n);var o=l.create(e);return new le(se(o.injector.get(Bn)).map(ae),o)})))},e.prototype.loadModuleFactory=function(e){var n=this;return"string"==typeof e?Object(a.a)(this.loader.load(e)):pe(e()).pipe(Object(y.a)((function(e){return e instanceof r.NgModuleFactory?Object(i.a)(e):Object(a.a)(n.compiler.compileModuleAsync(e))})))},e}(),$n=function(){},Un=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,n){return e},e}();function Gn(e){throw e}function zn(e,n,t){return n.parse("/")}function Wn(e,n){return Object(i.a)(null)}var Hn=function(){function e(e,n,t,l,o,i,a,s){var d=this;this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=t,this.location=l,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=Gn,this.malformedUriErrorHandler=zn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Wn,afterPreactivation:Wn},this.urlHandlingStrategy=new Un,this.routeReuseStrategy=new qn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(r.NgModuleRef),this.console=o.get(r["ɵConsole"]);var c=o.get(r.NgZone);this.isNgZoneEnabled=c instanceof r.NgZone,this.resetConfig(s),this.currentUrlTree=new ge(new he([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new jn(i,a,(function(e){return d.triggerEvent(new U(e))}),(function(e){return d.triggerEvent(new G(e))})),this.routerState=Be(this.currentUrlTree,this.rootComponentType),this.transitions=new u.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var n=this,t=this.events;return e.pipe(Object(k.a)((function(e){return 0!==e.id})),Object(h.a)((function(e){return Object(l.a)({},e,{extractedUrl:n.urlHandlingStrategy.extract(e.rawUrl)})})),Object(S.a)((function(e){n.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:n.lastSuccessfulNavigation?Object(l.a)({},n.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(C.a)((function(e){var o,r,s,d=!1,c=!1;return Object(i.a)(e).pipe(Object(C.a)((function(e){var o,r,a,u,s=!n.navigated||e.extractedUrl.toString()!==n.browserUrlTree.toString();if(("reload"===n.onSameUrlNavigation||s)&&n.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(i.a)(e).pipe(Object(C.a)((function(e){var l=n.transitions.getValue();return t.next(new T(e.id,n.serializeUrl(e.extractedUrl),e.source,e.restoredState)),l!==n.transitions.getValue()?g.a:[e]})),Object(C.a)((function(e){return Promise.resolve(e)})),(o=n.ngModule.injector,r=n.configLoader,a=n.urlSerializer,u=n.config,function(e){return e.pipe(Object(C.a)((function(e){return function(n,t,l,o,r){return new mn(n,t,l,e.extractedUrl,r).apply()}(o,r,a,0,u).pipe(Object(h.a)((function(n){return Object(l.a)({},e,{urlAfterRedirects:n})})))})))}),Object(S.a)((function(e){n.currentNavigation=Object(l.a)({},n.currentNavigation,{finalUrl:e.urlAfterRedirects})})),function(e,t,o,r,i){return function(o){return o.pipe(Object(y.a)((function(o){return function(e,n,t,l,o,r){return void 0===o&&(o="emptyOnly"),void 0===r&&(r="legacy"),new Pn(e,n,t,l,o,r).recognize()}(e,t,o.urlAfterRedirects,(a=o.urlAfterRedirects,n.serializeUrl(a)),r,i).pipe(Object(h.a)((function(e){return Object(l.a)({},o,{targetSnapshot:e})})));var a})))}}(n.rootComponentType,n.config,0,n.paramsInheritanceStrategy,n.relativeLinkResolution),Object(S.a)((function(e){"eager"===n.urlUpdateStrategy&&(e.extras.skipLocationChange||n.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id),n.browserUrlTree=e.urlAfterRedirects)})),Object(S.a)((function(e){var l=new L(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(l)})));if(s&&n.rawUrlTree&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){var d=e.extractedUrl,c=e.source,p=e.restoredState,f=e.extras,m=new T(e.id,n.serializeUrl(d),c,p);t.next(m);var v=Be(d,n.rootComponentType).snapshot;return Object(i.a)(Object(l.a)({},e,{targetSnapshot:v,urlAfterRedirects:d,extras:Object(l.a)({},f,{skipLocationChange:!1,replaceUrl:!1})}))}return n.rawUrlTree=e.rawUrl,e.resolve(null),g.a})),Fn((function(e){var t=e.extras;return n.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!t.skipLocationChange,replaceUrl:!!t.replaceUrl})})),Object(S.a)((function(e){var t=new q(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.triggerEvent(t)})),Object(h.a)((function(e){return Object(l.a)({},e,{guards:(t=e.targetSnapshot,o=e.currentSnapshot,r=n.rootContexts,i=t._root,function e(n,t,l,o,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var i=Le(t);return n.children.forEach((function(n){!function(n,t,l,o,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var i=n.value,a=t?t.value:null,u=l?l.getContext(n.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var s=function(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!ve(e.url,n.url);case"pathParamsOrQueryParamsChange":return!ve(e.url,n.url)||!ue(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ye(e,n)||!ue(e.queryParams,n.queryParams);case"paramsChange":default:return!Ye(e,n)}}(a,i,i.routeConfig.runGuardsAndResolvers);s?r.canActivateChecks.push(new wn(o)):(i.data=a.data,i._resolvedData=a._resolvedData),e(n,t,i.component?u?u.children:null:l,o,r),s&&r.canDeactivateChecks.push(new Cn(u&&u.outlet&&u.outlet.component||null,a))}else a&&On(t,u,r),r.canActivateChecks.push(new wn(o)),e(n,null,i.component?u?u.children:null:l,o,r)}(n,i[n.value.outlet],l,o.concat([n.value]),r),delete i[n.value.outlet]})),ce(i,(function(e,n){return On(e,l.getContext(n),r)})),r}(i,o?o._root:null,r,[i.value]))});var t,o,r,i})),function(e,n){return function(t){return t.pipe(Object(y.a)((function(t){var o=t.targetSnapshot,r=t.currentSnapshot,u=t.guards,s=u.canActivateChecks,d=u.canDeactivateChecks;return 0===d.length&&0===s.length?Object(i.a)(Object(l.a)({},t,{guardsResult:!0})):function(e,n,t,l){return Object(a.a)(e).pipe(Object(y.a)((function(e){return function(e,n,t,l,o){var r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(i.a)(!0);var a=r.map((function(r){var i,a=xn(r,n,o);if(function(e){return e&&sn(e.canDeactivate)}(a))i=pe(a.canDeactivate(e,n,t,l));else{if(!sn(a))throw new Error("Invalid CanDeactivate guard");i=pe(a(e,n,t,l))}return i.pipe(Object(_.a)())}));return Object(i.a)(a).pipe(kn())}(e.component,e.route,t,n,l)})),Object(_.a)((function(e){return!0!==e}),!0))}(d,o,r,e).pipe(Object(y.a)((function(t){return t&&"boolean"==typeof t?function(e,n,t,l){return Object(a.a)(n).pipe(Object(A.a)((function(n){return Object(a.a)([function(e,n){return null!==e&&n&&n(new z(e)),Object(i.a)(!0)}(n.route.parent,l),function(e,n){return null!==e&&n&&n(new H(e)),Object(i.a)(!0)}(n.route,l),function(e,n,t){var l=n[n.length-1],o=n.slice(0,n.length-1).reverse().map((function(e){return function(e){var n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(e)})).filter((function(e){return null!==e})).map((function(n){return Object(p.a)((function(){var o=n.guards.map((function(o){var r,i=xn(o,n.node,t);if(function(e){return e&&sn(e.canActivateChild)}(i))r=pe(i.canActivateChild(l,e));else{if(!sn(i))throw new Error("Invalid CanActivateChild guard");r=pe(i(l,e))}return r.pipe(Object(_.a)())}));return Object(i.a)(o).pipe(kn())}))}));return Object(i.a)(o).pipe(kn())}(e,n.path,t),function(e,n,t){var l=n.routeConfig?n.routeConfig.canActivate:null;if(!l||0===l.length)return Object(i.a)(!0);var o=l.map((function(l){return Object(p.a)((function(){var o,r=xn(l,n,t);if(function(e){return e&&sn(e.canActivate)}(r))o=pe(r.canActivate(n,e));else{if(!sn(r))throw new Error("Invalid CanActivate guard");o=pe(r(n,e))}return o.pipe(Object(_.a)())}))}));return Object(i.a)(o).pipe(kn())}(e,n.route,t)]).pipe(Object(m.a)(),Object(_.a)((function(e){return!0!==e}),!0))})),Object(_.a)((function(e){return!0!==e}),!0))}(o,s,e,n):Object(i.a)(t)})),Object(h.a)((function(e){return Object(l.a)({},t,{guardsResult:e})})))})))}}(n.ngModule.injector,(function(e){return n.triggerEvent(e)})),Object(S.a)((function(e){if(dn(e.guardsResult)){var t=ne('Redirecting to "'+n.serializeUrl(e.guardsResult)+'"');throw t.url=e.guardsResult,t}})),Object(S.a)((function(e){var t=new B(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);n.triggerEvent(t)})),Object(k.a)((function(e){if(!e.guardsResult){n.resetUrlToCurrentUrlTree();var l=new V(e.id,n.serializeUrl(e.extractedUrl),"");return t.next(l),e.resolve(!1),!1}return!0})),Fn((function(e){if(e.guards.canActivateChecks.length)return Object(i.a)(e).pipe(Object(S.a)((function(e){var t=new j(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.triggerEvent(t)})),(t=n.paramsInheritanceStrategy,o=n.ngModule.injector,function(e){return e.pipe(Object(y.a)((function(e){var n=e.targetSnapshot,r=e.guards.canActivateChecks;return r.length?Object(a.a)(r).pipe(Object(A.a)((function(e){return function(e,t,o,r){return function(e,n,t,l){var o=Object.keys(e);if(0===o.length)return Object(i.a)({});if(1===o.length){var r=o[0];return Vn(e[r],n,t,l).pipe(Object(h.a)((function(e){var n;return(n={})[r]=e,n})))}var u={};return Object(a.a)(o).pipe(Object(y.a)((function(o){return Vn(e[o],n,t,l).pipe(Object(h.a)((function(e){return u[o]=e,e})))}))).pipe(Object(v.a)(),Object(h.a)((function(){return u})))}(e._resolve,e,n,r).pipe(Object(h.a)((function(n){return e._resolvedData=n,e.data=Object(l.a)({},e.data,$e(e,o).resolve),null})))}(e.route,0,t,o)})),Object(P.a)((function(e,n){return e})),Object(h.a)((function(n){return e}))):Object(i.a)(e)})))}),Object(S.a)((function(e){var t=new $(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.triggerEvent(t)})));var t,o})),Fn((function(e){var t=e.extras;return n.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!t.skipLocationChange,replaceUrl:!!t.replaceUrl})})),Object(h.a)((function(e){var t,o,r,i=(r=function e(n,t,o){if(o&&n.shouldReuseRoute(t.value,o.value.snapshot)){(d=o.value)._futureSnapshot=t.value;var r=function(n,t,o){return t.children.map((function(t){var r,i;try{for(var a=Object(l.j)(o.children),u=a.next();!u.done;u=a.next()){var s=u.value;if(n.shouldReuseRoute(s.value.snapshot,t.value))return e(n,t,s)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return e(n,t)}))}(n,t,o);return new Fe(d,r)}var i=n.retrieve(t.value);if(i){var a=i.route;return function e(n,t){if(n.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(n.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=n.value;for(var l=0;la;){if(u-=a,!(i=i.parent))throw new Error("Invalid number of '../'");a=i.segments.length}return new Ze(i,!1,a-u)}()}(i,0,e),u=a.processChildren?nn(a.segmentGroup,a.index,i.commands):en(a.segmentGroup,a.index,i.commands);return Je(a.segmentGroup,u,n,o,r)}(d,this.currentUrlTree,e,p,c)},e.prototype.navigateByUrl=function(e,n){void 0===n&&(n={skipLocationChange:!1}),Object(r.isDevMode)()&&this.isNgZoneEnabled&&!r.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var t=dn(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(t,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,n)},e.prototype.navigate=function(e,n){return void 0===n&&(n={skipLocationChange:!1}),function(e){for(var n=0;n=0;e--){var n=this.selectedItems[e];if(!n.disabled)return n}return null},enumerable:!0,configurable:!0}),e.prototype.setItems=function(e){var n=this;this._items=e.map((function(e,t){return n.mapItem(e,t)})),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=Object(o.i)(this._items)},e.prototype.select=function(e){if(!e.selected&&!this.maxItemsSelected){var n=this._ngSelect.multiple;n||this.clearSelected(),this._selectionModel.select(e,n,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&n&&this._hideSelected(e)}},e.prototype.unselect=function(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&v(e.index)&&this._ngSelect.multiple&&this._showSelected(e))},e.prototype.findItem=function(e){var n,t=this;return n=this._ngSelect.compareWith?function(n){return t._ngSelect.compareWith(n.value,e)}:this._ngSelect.bindValue?function(n){return!n.children&&t.resolveNested(n.value,t._ngSelect.bindValue)===e}:function(n){return n.value===e||!n.children&&n.label&&n.label===t.resolveNested(e,t._ngSelect.bindLabel)},this._items.find((function(e){return n(e)}))},e.prototype.addItem=function(e){var n=this.mapItem(e,this._items.length);return this._items.push(n),this._filteredItems.push(n),n},e.prototype.clearSelected=function(e){void 0===e&&(e=!1),this._selectionModel.clear(e),this._items.forEach((function(n){n.selected=e&&n.selected&&n.disabled,n.marked=!1})),this._ngSelect.hideSelected&&this.resetFilteredItems()},e.prototype.findByLabel=function(e){return e=w(e).toLocaleLowerCase(),this.filteredItems.find((function(n){return w(n.label).toLocaleLowerCase().substr(0,e.length)===e}))},e.prototype.filter=function(e){var n,t;if(e){this._filteredItems=[],e=this._ngSelect.searchFn?e:w(e).toLocaleLowerCase();var l=this._ngSelect.searchFn||this._defaultSearchFn,r=this._ngSelect.hideSelected,i=function(n){var t,i,u,s=[];try{for(var d=Object(o.j)(a._groups.get(n)),c=d.next();!c.done;c=d.next()){var p=c.value;r&&(p.parent&&p.parent.selected||p.selected)||l(e,a._ngSelect.searchFn?p.value:p)&&s.push(p)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(t)throw t.error}}if(s.length>0){var f=Object(o.h)(s.slice(-1),1)[0];if(f.parent){var g=a._items.find((function(e){return e===f.parent}));a._filteredItems.push(g)}(u=a._filteredItems).push.apply(u,Object(o.i)(s))}},a=this;try{for(var u=Object(o.j)(Array.from(this._groups.keys())),s=u.next();!s.done;s=u.next())i(s.value)}catch(e){n={error:e}}finally{try{s&&!s.done&&(t=u.return)&&t.call(u)}finally{if(n)throw n.error}}}else this.resetFilteredItems()},e.prototype.resetFilteredItems=function(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter((function(e){return!e.selected})):this._items)},e.prototype.unmarkItem=function(){this._markedIndex=-1},e.prototype.markNextItem=function(){this._stepToItem(1)},e.prototype.markPreviousItem=function(){this._stepToItem(-1)},e.prototype.markItem=function(e){this._markedIndex=this._filteredItems.indexOf(e)},e.prototype.markSelectedOrDefault=function(e){if(0!==this._filteredItems.length){var n=this._ngSelect.hideSelected?-1:this._filteredItems.indexOf(this.lastSelectedItem);this._markedIndex=this.lastSelectedItem&&n>-1?n:this._ngSelect.excludeGroupsFromDefaultSelection?e?this.filteredItems.findIndex((function(e){return!e.disabled&&!e.children})):-1:e?this.filteredItems.findIndex((function(e){return!e.disabled})):-1}},e.prototype.resolveNested=function(e,n){if(!b(e))return e;if(-1===n.indexOf("."))return e[n];for(var t=n.split("."),l=e,o=0,r=t.length;o-1},e.prototype._getNextItemIndex=function(e){return e>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1},e.prototype._stepToItem=function(e){0===this._filteredItems.length||this._filteredItems.every((function(e){return e.disabled}))||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))},e.prototype._groupBy=function(e,n){var t,l,r,i,a=this,u=new Map;if(0===e.length)return u;if(Array.isArray(e[0].value[n])){try{for(var s=Object(o.j)(e),d=s.next();!d.done;d=s.next()){var c=((m=d.value).value[n]||[]).map((function(e,n){return a.mapItem(e,n)}));u.set(m,c)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(l=s.return)&&l.call(s)}finally{if(t)throw t.error}}return u}var p=_(this._ngSelect.groupBy),f=function(e){var t=p?n(e.value):e.value[n];return v(t)?t:void 0};try{for(var g=Object(o.j)(e),h=g.next();!h.done;h=g.next()){var m,b=f(m=h.value),y=u.get(b);y?y.push(m):u.set(b,[m])}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=g.return)&&i.call(g)}finally{if(r)throw r.error}}return u},e.prototype._flatten=function(e){var n,t,l=_(this._ngSelect.groupBy),r=[],i=e.get(void 0)||[];r.push.apply(r,Object(o.i)(i));var a=i.length,u=function(n){if(!v(n))return"continue";var t=b(n),i={label:t?"":n,children:void 0,parent:null,index:a++,disabled:!s._ngSelect.selectableGroup,htmlId:C()},u=l?s._ngSelect.bindLabel:s._ngSelect.groupBy,d=s._ngSelect.groupValue||function(){var e;return t?n.value:((e={})[u]=n,e)},c=e.get(n).map((function(e){return e.parent=i,e.children=void 0,e.index=a++,e}));i.children=c,i.value=d(n,c.map((function(e){return e.value}))),r.push(i),r.push.apply(r,Object(o.i)(c))},s=this;try{for(var d=Object(o.j)(Array.from(e.keys())),c=d.next();!c.done;c=d.next())u(c.value)}catch(e){n={error:e}}finally{try{c&&!c.done&&(t=d.return)&&t.call(d)}finally{if(n)throw n.error}}return r},e}(),O=function(){var e={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};return e[e.Tab]="Tab",e[e.Enter]="Enter",e[e.Esc]="Esc",e[e.Space]="Space",e[e.ArrowUp]="ArrowUp",e[e.ArrowDown]="ArrowDown",e[e.Backspace]="Backspace",e}(),M=function(){function e(){}return e.prototype.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)},e.prototype.setTimeout=function(e,n){return window.setTimeout(e,n)},e.ngInjectableDef=Object(l.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),k=function(){function e(){}return e.prototype.calculateItems=function(e,n,t){var l=e.childHeight*e.itemsLength;n.scrollTop>l&&(n.scrollTop=l);var o=Math.max(0,n.scrollTop)/l*e.itemsLength,r=Math.min(e.itemsLength,Math.ceil(o)+(e.itemsPerCol+1)),i=Math.max(0,r-e.itemsPerCol-1),a=Math.min(i,Math.floor(o)),u=e.childHeight*Math.ceil(a)-e.childHeight*Math.min(a,t);return u=isNaN(u)?0:u,a=isNaN(a)?-1:a,r=isNaN(r)?-1:r,a-=t,r+=t,{topPadding:u,scrollHeight:l,start:a=Math.max(0,a),end:r=Math.min(e.itemsLength,r)}},e.prototype.calculateDimensions=function(e,n,t,l){var o=t.getBoundingClientRect(),r=l.children[n]?l.children[n].getBoundingClientRect():{width:o.width,height:o.height,top:0},i=Math.max(1,Math.floor(o.height/r.height));return{itemsLength:e,viewWidth:o.width,viewHeight:o.height,childWidth:r.width,childHeight:r.height,itemsPerCol:i}},e.ngInjectableDef=Object(l.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),A=function(){function e(e,n,t,o,r,i){this._renderer=e,this._zone=n,this._virtualScrollService=t,this._window=o,this._document=i,this.items=[],this.position="auto",this.bufferAmount=4,this.virtualScroll=!1,this.filterValue=null,this.update=new l.EventEmitter,this.scroll=new l.EventEmitter,this.scrollToEnd=new l.EventEmitter,this.outsideClick=new l.EventEmitter,this._destroy$=new c.a,this._startupLoop=!0,this._isScrolledToMarked=!1,this._scrollToEndFired=!1,this._disposeScrollListener=function(){},this._disposeDocumentResizeListener=function(){},this._dropdown=r.nativeElement}return e.prototype.handleMousedown=function(e){"INPUT"!==e.target.tagName&&(e.preventDefault(),e.stopPropagation())},e.prototype.ngOnInit=function(){var e=this;this._select=this._dropdown.parentElement,this._handleScroll(),this._document&&Object(p.a)(Object(f.a)(this._document,"touchstart",{capture:!0}),Object(f.a)(this._document,"mousedown",{capture:!0})).pipe(Object(r.a)(this._destroy$)).subscribe((function(n){return e._handleOutsideClick(n)}))},e.prototype.ngOnChanges=function(e){e.items&&(this._isScrolledToMarked=!1,this._handleItemsChange(e.items))},e.prototype.ngOnDestroy=function(){this._disposeDocumentResizeListener(),this._disposeScrollListener(),this._destroy$.next(),this._destroy$.complete(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)},e.prototype.ngAfterContentInit=function(){var e=this;this._whenContentReady().then((function(){e.appendTo&&(e._appendDropdown(),e._handleDocumentResize()),e.updateDropdownPosition()}))},e.prototype.refresh=function(){var e=this;return new Promise((function(n){e._zone.runOutsideAngular((function(){e._window.requestAnimationFrame((function(){e._updateItems().then(n)}))}))}))},e.prototype.scrollInto=function(e){if(e){var n=this.items.indexOf(e);if(!(n<0||n>=this.items.length)){var t=this._calculateDimensions(this.virtualScroll?0:n),l=this.scrollElementRef.nativeElement,o=Math.floor(t.viewHeight/t.childHeight)-1;if(this.virtualScroll)l.scrollTop=n*t.childHeight-t.childHeight*Math.min(n,o);else{var r=Array.from(this.contentElementRef.nativeElement.children).slice(0,n).reduce((function(e,n){return e+n.clientHeight}),0);l.scrollTop=r-t.childHeight*Math.min(n,o)}}}},e.prototype.scrollIntoTag=function(){var e=this.scrollElementRef.nativeElement,n=this._calculateDimensions();e.scrollTop=n.childHeight*(n.itemsLength+1)},e.prototype.updateDropdownPosition=function(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,"ng-select-top"),this._renderer.removeClass(this._dropdown,"ng-select-bottom"),this._renderer.addClass(this._select,"ng-select-top"),this._renderer.removeClass(this._select,"ng-select-bottom")):(this._renderer.addClass(this._dropdown,"ng-select-bottom"),this._renderer.removeClass(this._dropdown,"ng-select-top"),this._renderer.addClass(this._select,"ng-select-bottom"),this._renderer.removeClass(this._select,"ng-select-top")),this.appendTo&&this._updateAppendedDropdownPosition(),this._dropdown.style.opacity="1"},e.prototype._handleOutsideClick=function(e){if(!this._select.contains(e.target)&&!this._dropdown.contains(e.target)){var n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this.outsideClick.emit()}},e.prototype._handleScroll=function(){var e=this;this._disposeScrollListener=this._renderer.listen(this.scrollElementRef.nativeElement,"scroll",(function(){e.refresh(),e._fireScrollToEnd()}))},e.prototype._handleItemsChange=function(e){var n=this;this._scrollToEndFired=!1,this._previousStart=void 0,this._previousEnd=void 0,(void 0!==e&&void 0===e.previousValue||void 0!==e.previousValue&&0===e.previousValue.length)&&(this._startupLoop=!0),this.items=e.currentValue||[],this.refresh().then((function(){n.appendTo&&"top"===n._currentPosition&&n._updateAppendedDropdownPosition()}))},e.prototype._updateItems=function(){var e=this;if(l.NgZone.assertNotInAngularZone(),!this.virtualScroll)return this._zone.run((function(){e.update.emit(e.items.slice()),e._scrollToMarked()})),Promise.resolve();var n=function(t){var l=e._calculateDimensions(),o=e._virtualScrollService.calculateItems(l,e.scrollElementRef.nativeElement,e.bufferAmount||0);e.paddingElementRef.nativeElement.style.height=o.scrollHeight+"px",e.contentElementRef.nativeElement.style.transform="translateY("+o.topPadding+"px)",o.start!==e._previousStart||o.end!==e._previousEnd?(e._zone.run((function(){e.update.emit(e.items.slice(o.start,o.end)),e.scroll.emit({start:o.start,end:o.end})})),e._previousStart=o.start,e._previousEnd=o.end,!0===e._startupLoop&&n(t)):!0===e._startupLoop&&(e._startupLoop=!1,e._scrollToMarked(),t())};return new Promise((function(e){return n(e)}))},e.prototype._fireScrollToEnd=function(){this._scrollToEndFired||this.scrollElementRef.nativeElement.scrollTop+this._dropdown.clientHeight>=(this.virtualScroll?this.paddingElementRef.nativeElement:this.contentElementRef.nativeElement).clientHeight&&(this.scrollToEnd.emit(),this._scrollToEndFired=!0)},e.prototype._calculateDimensions=function(e){return void 0===e&&(e=0),this._virtualScrollService.calculateDimensions(this.items.length,e,this.scrollElementRef.nativeElement,this.contentElementRef.nativeElement)},e.prototype._handleDocumentResize=function(){var e=this;this.appendTo&&(this._disposeDocumentResizeListener=this._renderer.listen("window","resize",(function(){e._updateAppendedDropdownPosition()})))},e.prototype._scrollToMarked=function(){!this._isScrolledToMarked&&this.markedItem&&(this._isScrolledToMarked=!0,this.scrollInto(this.markedItem))},e.prototype._calculateCurrentPosition=function(e){if("auto"!==this.position)return this.position;var n=this._select.getBoundingClientRect(),t=document.documentElement.scrollTop||document.body.scrollTop;return n.top+window.pageYOffset+n.height+e.getBoundingClientRect().height>t+document.documentElement.clientHeight?"top":"bottom"},e.prototype._appendDropdown=function(){var e=document.querySelector(this.appendTo);if(!e)throw new Error("appendTo selector "+this.appendTo+" did not found any parent element");e.appendChild(this._dropdown)},e.prototype._updateAppendedDropdownPosition=function(){var e=document.querySelector(this.appendTo)||document.body;this._dropdown.style.display="none";var n=this._select.getBoundingClientRect(),t=e.getBoundingClientRect();this._dropdown.style.display="";var l=n.left-t.left;this._dropdown.style.top=n.top-t.top+("bottom"===this._currentPosition?n.height:-this._dropdown.clientHeight)+"px",this._dropdown.style.bottom="auto",this._dropdown.style.left=l+"px",this._dropdown.style.width=n.width+"px",this._dropdown.style.minWidth=n.width+"px"},e.prototype._whenContentReady=function(){var e=this;if(0===this.items.length)return Promise.resolve();var n=function(t){e._dropdown.querySelector(".ng-option")?t():e._zone.runOutsideAngular((function(){setTimeout((function(){return n(t)}),5)}))};return new Promise((function(e){return n(e)}))},e}(),P=function(){function e(e){this.elementRef=e,this.stateChange$=new c.a,this._disabled=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=this._isDisabled(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})},e.prototype._isDisabled=function(e){return null!=e&&""+e!="false"},e}(),S=function(){function e(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0}return e.ngInjectableDef=Object(l.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),R=new l.InjectionToken("ng-select-selection-model"),I=function(){function e(e,n,t,o,r,i,a,u){var s=this;this.classes=e,this.tabIndex=n,this.autoFocus=t,this._cd=a,this._console=u,this.clearable=!0,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.excludeGroupsFromDefaultSelection=!1,this.clearOnBackspace=!0,this.labelForId=null,this.autoCorrect="off",this.autoCapitalize="off",this.multiple=!1,this.addTag=!1,this.searchable=!0,this.isOpen=!1,this.blurEvent=new l.EventEmitter,this.focusEvent=new l.EventEmitter,this.changeEvent=new l.EventEmitter,this.openEvent=new l.EventEmitter,this.closeEvent=new l.EventEmitter,this.searchEvent=new l.EventEmitter,this.clearEvent=new l.EventEmitter,this.addEvent=new l.EventEmitter,this.removeEvent=new l.EventEmitter,this.scroll=new l.EventEmitter,this.scrollToEnd=new l.EventEmitter,this.disabled=!1,this.viewPortItems=[],this.filterValue=null,this.dropdownId=C(),this._items=[],this._defaultLabel="label",this._primitive=!0,this._pressedKeys=[],this._destroy$=new c.a,this._keyPress$=new c.a,this._onChange=function(e){},this._onTouched=function(){},this.clearItem=function(e){var n=s.selectedItems.find((function(n){return n.value===e}));s.unselect(n)},this._mergeGlobalConfig(o),this.itemsList=new x(this,r()),this.element=i.nativeElement}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(e){this._itemsAreUsed=!0,this._items=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if(!_(e))throw Error("`compareWith` must be a function.");this._compareWith=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearSearchOnAdd",{get:function(){return v(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect},set:function(e){this._clearSearchOnAdd=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filtered",{get:function(){return!!this.filterValue&&this.searchable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedItems",{get:function(){return this.itemsList.selectedItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedValues",{get:function(){return this.selectedItems.map((function(e){return e.value}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasValue",{get:function(){return this.selectedItems.length>0},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._handleKeyPresses()},e.prototype.ngOnChanges=function(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=v(e.isOpen.currentValue))},e.prototype.ngAfterViewInit=function(){this._itemsAreUsed||this._setItemsFromNgOptions(),v(this.autoFocus)&&this.focus()},e.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete()},e.prototype.handleKeyDown=function(e){if(O[e.which])switch(e.which){case O.ArrowDown:this._handleArrowDown(e);break;case O.ArrowUp:this._handleArrowUp(e);break;case O.Space:this._handleSpace(e);break;case O.Enter:this._handleEnter(e);break;case O.Tab:this._handleTab(e);break;case O.Esc:this.close(),e.preventDefault(),e.stopPropagation();break;case O.Backspace:this._handleBackspace()}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())},e.prototype.handleMousedown=function(e){var n=e.target;"INPUT"!==n.tagName&&e.preventDefault(),e.stopPropagation(),n.classList.contains("ng-clear-wrapper")?this.handleClearClick():n.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():n.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())},e.prototype.handleArrowClick=function(){this.isOpen?this.close():this.open()},e.prototype.handleClearClick=function(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this._isTypeahead&&this.typeahead.next(null),this.clearEvent.emit()},e.prototype.clearModel=function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())},e.prototype.writeValue=function(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e,this._cd.markForCheck()},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e.prototype.open=function(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.filterValue||this.focus(),this.detectChanges())},e.prototype.close=function(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._clearSearch(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())},e.prototype.toggleItem=function(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e))},e.prototype.select=function(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&this._clearSearch(),this.multiple&&this.addEvent.emit(e.value),this._updateNgModel()),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()},e.prototype.focus=function(){this.filterInput.nativeElement.focus()},e.prototype.unselect=function(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))},e.prototype.selectTag=function(){var e,n,t=this,l=function(e){return t._isTypeahead||!t.isOpen?t.itemsList.mapItem(e,null):t.itemsList.addItem(e)};(n=_(this.addTag)?this.addTag(this.filterValue):this._primitive?this.filterValue:((e={})[this.bindLabel]=this.filterValue,e))instanceof Promise?n.then((function(e){return t.select(l(e))})).catch((function(){})):n&&this.select(l(n))},e.prototype.showClear=function(){return this.clearable&&(this.hasValue||this.filterValue)&&!this.disabled},Object.defineProperty(e.prototype,"showAddTag",{get:function(){if(!this.filterValue)return!1;var e=this.filterValue.toLowerCase();return this.addTag&&!this.itemsList.filteredItems.some((function(n){return n.label.toLowerCase()===e}))&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some((function(n){return n.label.toLowerCase()===e})))&&!this.loading},enumerable:!0,configurable:!0}),e.prototype.showNoItemsFound=function(){var e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this.filterValue&&!this.loading)&&!this.showAddTag},e.prototype.showTypeToSearch=function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this.filterValue&&!this.loading},e.prototype.filter=function(e){this.filterValue=e,this.open(),this._isTypeahead?this.typeahead.next(this.filterValue):(this.itemsList.filter(this.filterValue),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit(e)},e.prototype.onInputFocus=function(e){this.focused||(this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)},e.prototype.onInputBlur=function(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),this.isOpen||this.disabled||this._onTouched(),this.focused=!1},e.prototype.onItemHover=function(e){e.disabled||this.itemsList.markItem(e)},e.prototype.detectChanges=function(){this._cd.destroyed||this._cd.detectChanges()},e.prototype.updateDropdownPosition=function(){this.dropdownPanel&&this.dropdownPanel.updateDropdownPosition()},e.prototype._setItems=function(e){var n=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=v(n)?!b(n):this._primitive,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&v(this.filterValue)&&!this._isTypeahead&&this.itemsList.filter(this.filterValue),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)},e.prototype._setItemsFromNgOptions=function(){var e=this;this.ngOptions.changes.pipe(Object(i.a)(this.ngOptions),Object(r.a)(this._destroy$)).subscribe((function(n){var t;e.bindLabel=e._defaultLabel,function(n){e.items=n.map((function(e){return{$ngOptionValue:e.value,$ngOptionLabel:e.elementRef.nativeElement.innerHTML,disabled:e.disabled}})),e.itemsList.setItems(e.items),e.hasValue&&e.itemsList.mapSelectedItems(),e.detectChanges()}(n),t=Object(p.a)(e.ngOptions.changes,e._destroy$),p.a.apply(void 0,Object(o.i)(e.ngOptions.map((function(e){return e.stateChange$})))).pipe(Object(r.a)(t)).subscribe((function(n){e.itemsList.findItem(n.value).disabled=n.disabled,e._cd.markForCheck()}))}))},e.prototype._isValidWriteValue=function(e){var n=this;if(!v(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;var t=function(e){return!(!v(n.compareWith)&&b(e)&&n.bindValue&&(n._console.warn("Binding object("+JSON.stringify(e)+") with bindValue is not allowed."),1))};return this.multiple?Array.isArray(e)?e.every((function(e){return t(e)})):(this._console.warn("Multiple select ngModel should be array."),!1):t(e)},e.prototype._handleWriteValue=function(e){var n=this;if(this._isValidWriteValue(e)){var t=function(e){var t,l=n.itemsList.findItem(e);if(l)n.itemsList.select(l);else{var o=b(e);o||!o&&!n.bindValue?n.itemsList.select(n.itemsList.mapItem(e,null)):n.bindValue&&((t={})[n.bindLabel]=null,t[n.bindValue]=e,n.itemsList.select(n.itemsList.mapItem(l=t,null)))}};this.multiple?e.forEach((function(e){return t(e)})):t(e)}},e.prototype._handleKeyPresses=function(){var e=this;this.searchable||this._keyPress$.pipe(Object(r.a)(this._destroy$),Object(a.a)((function(n){return e._pressedKeys.push(n)})),Object(u.a)(200),Object(s.a)((function(){return e._pressedKeys.length>0})),Object(d.a)((function(){return e._pressedKeys.join("")}))).subscribe((function(n){var t=e.itemsList.findByLabel(n);t&&(e.isOpen?(e.itemsList.markItem(t),e._cd.markForCheck()):e.select(t)),e._pressedKeys=[]}))},e.prototype._updateNgModel=function(){var e,n,t=[];try{for(var l=Object(o.j)(this.selectedItems),r=l.next();!r.done;r=l.next()){var i,a=r.value;this.bindValue?(i=a.children?a.value[this.groupBy]:this.itemsList.resolveNested(a.value,this.bindValue),t.push(i)):t.push(a.value)}}catch(n){e={error:n}}finally{try{r&&!r.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}var u=this.selectedItems.map((function(e){return e.value}));this.multiple?(this._onChange(t),this.changeEvent.emit(u)):(this._onChange(v(t[0])?t[0]:null),this.changeEvent.emit(u[0])),this._cd.markForCheck()},e.prototype._clearSearch=function(){this.filterValue&&(this.filterValue=null,this.itemsList.resetFilteredItems())},e.prototype._scrollToMarked=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollInto(this.itemsList.markedItem)},e.prototype._scrollToTag=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollIntoTag()},e.prototype._handleTab=function(e){this.isOpen&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())},e.prototype._handleEnter=function(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault(),e.stopPropagation()},e.prototype._handleSpace=function(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())},e.prototype._handleArrowDown=function(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()},e.prototype._handleArrowUp=function(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())},e.prototype._nextItemIsTag=function(e){var n=this.itemsList.markedIndex+e;return this.addTag&&this.filterValue&&this.itemsList.markedItem&&(n<0||n===this.itemsList.filteredItems.length)},e.prototype._handleBackspace=function(){!this.filterValue&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())},Object.defineProperty(e.prototype,"_isTypeahead",{get:function(){return this.typeahead&&this.typeahead.observers.length>0},enumerable:!0,configurable:!0}),e.prototype._mergeGlobalConfig=function(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=v(this.virtualScroll)?this.virtualScroll:!!v(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=v(this.openOnEnter)?this.openOnEnter:e.openOnEnter},e}();function E(){return new N}var N=function(){function e(){this._selected=[]}return Object.defineProperty(e.prototype,"value",{get:function(){return this._selected},enumerable:!0,configurable:!0}),e.prototype.select=function(e,n,t){if(e.selected=!0,!t&&e.children||this._selected.push(e),n)if(e.parent){var l=e.parent.children.length,r=e.parent.children.filter((function(e){return e.selected})).length;e.parent.selected=l===r}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),t||(this._selected=Object(o.i)(this._selected,e.children)))},e.prototype.unselect=function(e,n){var t;if(this._selected=this._selected.filter((function(n){return n!==e})),e.selected=!1,n)if(e.parent&&e.parent.selected){var l=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),(t=this._selected).push.apply(t,Object(o.i)(l.filter((function(n){return n!==e})))),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))},e.prototype.clear=function(e){this._selected=e?this._selected.filter((function(e){return e.disabled})):[]},e.prototype._setChildrenSelectedState=function(e,n){e.forEach((function(e){return e.selected=n}))},e.prototype._removeChildren=function(e){this._selected=this._selected.filter((function(n){return n.parent!==e}))},e.prototype._removeParent=function(e){this._selected=this._selected.filter((function(n){return n!==e}))},e}(),T=function(){}},function(e,n,t){"use strict";t.r(n),t.d(n,"ɵangular_packages_platform_browser_platform_browser_c",(function(){return Oe})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_b",(function(){return xe})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_a",(function(){return Ce})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_k",(function(){return c})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_d",(function(){return ke})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_i",(function(){return x})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_h",(function(){return C})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_e",(function(){return Pe})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_f",(function(){return Le})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_j",(function(){return P})),t.d(n,"ɵangular_packages_platform_browser_platform_browser_g",(function(){return E})),t.d(n,"BrowserModule",(function(){return Me})),t.d(n,"platformBrowser",(function(){return ye})),t.d(n,"Meta",(function(){return Ae})),t.d(n,"Title",(function(){return Se})),t.d(n,"disableDebugTools",(function(){return Te})),t.d(n,"enableDebugTools",(function(){return Ne})),t.d(n,"BrowserTransferStateModule",(function(){return qe})),t.d(n,"TransferState",(function(){return Fe})),t.d(n,"makeStateKey",(function(){return Ve})),t.d(n,"By",(function(){return Be})),t.d(n,"DOCUMENT",(function(){return b})),t.d(n,"EVENT_MANAGER_PLUGINS",(function(){return R})),t.d(n,"EventManager",(function(){return I})),t.d(n,"HAMMER_GESTURE_CONFIG",(function(){return le})),t.d(n,"HAMMER_LOADER",(function(){return oe})),t.d(n,"HammerGestureConfig",(function(){return re})),t.d(n,"DomSanitizer",(function(){return de})),t.d(n,"VERSION",(function(){return je})),t.d(n,"ɵBROWSER_SANITIZATION_PROVIDERS",(function(){return _e})),t.d(n,"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return be})),t.d(n,"ɵinitDomAdapter",(function(){return we})),t.d(n,"ɵBrowserDomAdapter",(function(){return m})),t.d(n,"ɵBrowserPlatformLocation",(function(){return y})),t.d(n,"ɵTRANSITION_ID",(function(){return w})),t.d(n,"ɵBrowserGetTestability",(function(){return O})),t.d(n,"ɵescapeHtml",(function(){return De})),t.d(n,"ɵELEMENT_PROBE_PROVIDERS",(function(){return S})),t.d(n,"ɵDomAdapter",(function(){return d})),t.d(n,"ɵgetDOM",(function(){return a})),t.d(n,"ɵsetRootDomAdapter",(function(){return u})),t.d(n,"ɵDomRendererFactory2",(function(){return j})),t.d(n,"ɵNAMESPACE_URIS",(function(){return D})),t.d(n,"ɵflattenStyles",(function(){return q})),t.d(n,"ɵshimContentAttribute",(function(){return F})),t.d(n,"ɵshimHostAttribute",(function(){return L})),t.d(n,"ɵDomEventsPlugin",(function(){return ne})),t.d(n,"ɵHammerGesturesPlugin",(function(){return ie})),t.d(n,"ɵKeyEventsPlugin",(function(){return se})),t.d(n,"ɵDomSharedStylesHost",(function(){return T})),t.d(n,"ɵSharedStylesHost",(function(){return N})),t.d(n,"ɵDomSanitizerImpl",(function(){return ce}));var l=t(3),o=t(2),r=t(0),i=null;function a(){return i}function u(e){i||(i=e)}var s,d=function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}(),c=function(e){function n(){var n=e.call(this)||this;n._animationPrefix=null,n._transitionEnd=null;try{var t=n.createElement("div",document);if(null!=n.getStyle(t,"animationName"))n._animationPrefix="";else for(var l=["Webkit","Moz","O","ms"],o=0;o0},n.prototype.tagName=function(e){return e.tagName},n.prototype.attributeMap=function(e){for(var n=new Map,t=e.attributes,l=0;l0;a||(a=e[i]=[]);var s=X(n)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var d=!1,c=0;c-1},n}(E),ae=["alt","control","meta","shift"],ue={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},se=function(e){function n(n){return e.call(this,n)||this}var t;return Object(l.d)(n,e),t=n,n.prototype.supports=function(e){return null!=t.parseEventName(e)},n.prototype.addEventListener=function(e,n,l){var o=t.parseEventName(n),r=t.eventCallback(o.fullKey,l,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return a().onAndCancel(e,o.domEventName,r)}))},n.parseEventName=function(e){var n=e.toLowerCase().split("."),l=n.shift();if(0===n.length||"keydown"!==l&&"keyup"!==l)return null;var o=t._normalizeKey(n.pop()),r="";if(ae.forEach((function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r+=e+".")})),r+=o,0!=n.length||0===o.length)return null;var i={};return i.domEventName=l,i.fullKey=r,i},n.getEventFullKey=function(e){var n="",t=a().getEventKey(e);return" "===(t=t.toLowerCase())?t="space":"."===t&&(t="dot"),ae.forEach((function(l){l!=t&&(0,ue[l])(e)&&(n+=l+".")})),n+=t},n.eventCallback=function(e,n,l){return function(o){t.getEventFullKey(o)===e&&l.runGuarded((function(){return n(o)}))}},n._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},n}(E),de=function(){},ce=function(e){function n(n){var t=e.call(this)||this;return t._doc=n,t}return Object(l.d)(n,e),n.prototype.sanitize=function(e,n){if(null==n)return null;switch(e){case r.SecurityContext.NONE:return n;case r.SecurityContext.HTML:return n instanceof fe?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"HTML"),Object(r["ɵ_sanitizeHtml"])(this._doc,String(n)));case r.SecurityContext.STYLE:return n instanceof ge?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"Style"),Object(r["ɵ_sanitizeStyle"])(n));case r.SecurityContext.SCRIPT:if(n instanceof he)return n.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(n,"Script"),new Error("unsafe value used in a script context");case r.SecurityContext.URL:return n instanceof ve||n instanceof me?n.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(n,"URL"),Object(r["ɵ_sanitizeUrl"])(String(n)));case r.SecurityContext.RESOURCE_URL:if(n instanceof ve)return n.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(n,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},n.prototype.checkNotSafeValue=function(e,n){if(e instanceof pe)throw new Error("Required a safe "+n+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},n.prototype.bypassSecurityTrustHtml=function(e){return new fe(e)},n.prototype.bypassSecurityTrustStyle=function(e){return new ge(e)},n.prototype.bypassSecurityTrustScript=function(e){return new he(e)},n.prototype.bypassSecurityTrustUrl=function(e){return new me(e)},n.prototype.bypassSecurityTrustResourceUrl=function(e){return new ve(e)},n}(de),pe=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),fe=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.getTypeName=function(){return"HTML"},n}(pe),ge=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.getTypeName=function(){return"Style"},n}(pe),he=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.getTypeName=function(){return"Script"},n}(pe),me=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.getTypeName=function(){return"URL"},n}(pe),ve=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.getTypeName=function(){return"ResourceURL"},n}(pe),be=[{provide:r.PLATFORM_ID,useValue:o["ɵPLATFORM_BROWSER_ID"]},{provide:r.PLATFORM_INITIALIZER,useValue:we,multi:!0},{provide:o.PlatformLocation,useClass:y,deps:[b]},{provide:b,useFactory:xe,deps:[]}],_e=[{provide:r.Sanitizer,useExisting:de},{provide:de,useClass:ce,deps:[b]}],ye=Object(r.createPlatformFactory)(r.platformCore,"browser",be);function we(){m.makeCurrent(),O.init()}function Ce(){return new r.ErrorHandler}function xe(){return document}var Oe=[_e,{provide:r["ɵAPP_ROOT"],useValue:!0},{provide:r.ErrorHandler,useFactory:Ce,deps:[]},{provide:R,useClass:ne,multi:!0,deps:[b,r.NgZone,r.PLATFORM_ID]},{provide:R,useClass:se,multi:!0,deps:[b]},{provide:R,useClass:ie,multi:!0,deps:[b,le,r["ɵConsole"],[new r.Optional,oe]]},{provide:le,useClass:re,deps:[]},{provide:j,useClass:j,deps:[I,T]},{provide:r.RendererFactory2,useExisting:j},{provide:N,useExisting:T},{provide:T,useClass:T,deps:[b]},{provide:r.Testability,useClass:r.Testability,deps:[r.NgZone]},{provide:I,useClass:I,deps:[R,r.NgZone]},S],Me=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var n;return n=e,e.withServerTransition=function(e){return{ngModule:n,providers:[{provide:r.APP_ID,useValue:e.appId},{provide:w,useExisting:r.APP_ID},x]}},e}();function ke(){return new Ae(Object(r.inject)(b))}var Ae=function(){function e(e){this._doc=e,this._dom=a()}return e.prototype.addTag=function(e,n){return void 0===n&&(n=!1),e?this._getOrCreateElement(e,n):null},e.prototype.addTags=function(e,n){var t=this;return void 0===n&&(n=!1),e?e.reduce((function(e,l){return l&&e.push(t._getOrCreateElement(l,n)),e}),[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var n=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return n?[].slice.call(n):[]},e.prototype.updateTag=function(e,n){if(!e)return null;n=n||this._parseSelector(e);var t=this.getTag(n);return t?this._setMetaElementAttributes(e,t):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,n){if(void 0===n&&(n=!1),!n){var t=this._parseSelector(e),l=this.getTag(t);if(l&&this._containsAttributes(e,l))return l}var o=this._dom.createElement("meta");this._setMetaElementAttributes(e,o);var r=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(r,o),o},e.prototype._setMetaElementAttributes=function(e,n){var t=this;return Object.keys(e).forEach((function(l){return t._dom.setAttribute(n,l,e[l])})),n},e.prototype._parseSelector=function(e){var n=e.name?"name":"property";return n+'="'+e[n]+'"'},e.prototype._containsAttributes=function(e,n){var t=this;return Object.keys(e).every((function(l){return t._dom.getAttribute(n,l)===e[l]}))},e.ngInjectableDef=Object(r.defineInjectable)({factory:ke,token:e,providedIn:"root"}),e}();function Pe(){return new Se(Object(r.inject)(b))}var Se=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return a().getTitle(this._doc)},e.prototype.setTitle=function(e){a().setTitle(this._doc,e)},e.ngInjectableDef=Object(r.defineInjectable)({factory:Pe,token:e,providedIn:"root"}),e}(),Re="undefined"!=typeof window&&window||{},Ie=function(){function e(e){this.appRef=e.injector.get(r.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var n=e&&e.record,t=null!=Re.console.profile;n&&t&&Re.console.profile("Change Detection");for(var l=a().performanceNow(),o=0;o<5||a().performanceNow()-l<500;)this.appRef.tick(),o++;var r=a().performanceNow();n&&t&&Re.console.profileEnd("Change Detection");var i=(r-l)/o;return Re.console.log("ran "+o+" change detection cycles"),Re.console.log(i.toFixed(2)+" ms per check"),new function(e,n){this.msPerTick=e,this.numTicks=n}(i,o)},e}(),Ee="profiler";function Ne(e){return M(Ee,new Ie(e)),e}function Te(){M(Ee,null)}function De(e){var n={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(function(e){return n[e]}))}function Ve(e){return e}var Fe=function(){function e(){this.store={},this.onSerializeCallbacks={}}var n;return n=e,e.init=function(e){var t=new n;return t.store=e,t},e.prototype.get=function(e,n){return void 0!==this.store[e]?this.store[e]:n},e.prototype.set=function(e,n){this.store[e]=n},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,n){this.onSerializeCallbacks[e]=n},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){}return JSON.stringify(this.store)},e}();function Le(e,n){var t,l=e.getElementById(n+"-state"),o={};if(l&&l.textContent)try{o=JSON.parse((t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},l.textContent.replace(/&[^;]+;/g,(function(e){return t[e]}))))}catch(e){}return Fe.init(o)}var qe=function(){},Be=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(n){return null!=n.nativeElement&&a().elementMatches(n.nativeElement,e)}},e.directive=function(e){return function(n){return-1!==n.providerTokens.indexOf(e)}},e}(),je=new r.Version("7.2.4")},function(e,n,t){"use strict";var l=t(0),o=t(1),r=t(4),i=t(2);t(31),t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return h}));var a=l["ɵcrt"]({encapsulation:0,styles:[['[_nghost-%COMP%]{height:100%;width:100%}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%]{height:100%;width:100%;min-width:120px;min-height:35px;-webkit-box-shadow:inset 0 0 3px 0 #584d34;box-shadow:inset 0 0 3px 0 #584d34;background-color:#fff;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .select-wrapper-container[_ngcontent-%COMP%]{position:relative;display:inline}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .select-wrapper-container[_ngcontent-%COMP%]:after{content:"";width:0;height:0;position:absolute;pointer-events:none;border-left:5px solid transparent;border-right:5px solid transparent;top:50%;right:9px;border-top:8px solid #000;opacity:.5;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}[_nghost-%COMP%] .select-wrapper-template.left-side[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}[_nghost-%COMP%] .select-wrapper-template.right-side[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}[_nghost-%COMP%] .select-wrapper-template.top-side[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .select-wrapper-template.bottom-side[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}[_nghost-%COMP%] .select-wrapper-template.bottom-side[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], [_nghost-%COMP%] .select-wrapper-template.top-side[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%);padding:6px 0}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:1px}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .ng-content-wrapper[_ngcontent-%COMP%]{padding:5px 5px 10px 10px;width:100%}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .ng-content-wrapper.disabled[_ngcontent-%COMP%]{background-color:#ebebe5}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%]{width:auto;border:none;font-size:1.3rem;background-color:#f2f1ed;-webkit-box-shadow:none;box-shadow:none;position:relative;font-family:LatoWeb;color:#584d34}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect.select[_ngcontent-%COMP%]{padding-left:11px}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect.select[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 15px;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}[_nghost-%COMP%] .ticks-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:100%;background-color:#f2f1ed;font-family:LatoWeb;font-size:1rem;padding:3px 5px;border-radius:0 0 2px 2px}']],data:{}});function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,o.NgSelectOption,[l.ElementRef,l.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),l["ɵdid"](2,147456,null,0,o["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),l["ɵted"](-1,null,["Please select"]))],(function(e,n){e(n,1,0,null),e(n,2,0,null)}),null)}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,o.NgSelectOption,[l.ElementRef,l.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),l["ɵdid"](2,147456,null,0,o["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),l["ɵted"](3,null,["",""]))],(function(e,n){e(n,1,0,n.context.$implicit),e(n,2,0,n.context.$implicit)}),(function(e,n){e(n,3,0,n.context.$implicit.label)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,11,"div",[["class","select-wrapper-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,10,"select",[["class","contentselect select"],["title",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"click"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,2).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,2).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(r.selectedDropdown=t)&&o),"ngModelChange"===n&&(o=!1!==r.change(t)&&o),"click"===n&&(o=!1!==r.onClick(t)&&o),o}),null,null)),l["ɵdid"](2,16384,null,0,o.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵprd"](1024,null,o.NG_VALUE_ACCESSOR,(function(e){return[e]}),[o.SelectControlValueAccessor]),l["ɵdid"](4,671744,null,0,o.NgModel,[[8,null],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,o.NgControl,null,[o.NgModel]),l["ɵdid"](6,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),l["ɵdid"](7,16384,null,0,r.a,[l.ElementRef,o.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](9,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](11,278528,null,0,i.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,4,0,t.selectedDropdown),e(n,9,0,t.showPlaceholder&&!t.selectedDropdown),e(n,11,0,t.dropdownOptions)}),(function(e,n){e(n,1,0,l["ɵnov"](n,6).ngClassUntouched,l["ɵnov"](n,6).ngClassTouched,l["ɵnov"](n,6).ngClassPristine,l["ɵnov"](n,6).ngClassDirty,l["ɵnov"](n,6).ngClassValid,l["ɵnov"](n,6).ngClassInvalid,l["ɵnov"](n,6).ngClassPending)}))}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","contentselect"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""]))],null,(function(e,n){e(n,2,0,n.component.selectedDropdown.label)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","ng-content-wrapper"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,i.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{disabled:0}),l["ɵncd"](null,0)],(function(e,n){e(n,1,0,"ng-content-wrapper",e(n,2,0,n.component.isDisabled))}),null)}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","tick"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","ticks-wrapper"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](2,278528,null,0,i.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.ticks)}),null)}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](2,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](4,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](6,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](8,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.dropdownOptions.length>1),e(n,4,0,1===t.dropdownOptions.length),e(n,6,0,!!t.selectedDropdown&&!t.selectedDropdown.hideContent),e(n,8,0,t.ticks.length>0)}),(function(e,n){e(n,0,0,l["ɵinlineInterpolate"](1,"select-wrapper-template ",n.component.side,"-side"))}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){this.currentJourney="brokers"}},function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var l=t(3),o=t(168),r=t(234),i=t(46),a=t(213),u=t(112),s=t(171),d=function(e){function n(t,l,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=r.a;break;case 1:if(!t){i.destination=r.a;break}if("object"==typeof t){t instanceof n?(i.syncErrorThrowable=t.syncErrorThrowable,i.destination=t,t.add(i)):(i.syncErrorThrowable=!0,i.destination=new c(i,t));break}default:i.syncErrorThrowable=!0,i.destination=new c(i,t,l,o)}return i}return l.d(n,e),n.prototype[a.a]=function(){return this},n.create=function(e,t,l){var o=new n(e,t,l);return o.syncErrorThrowable=!1,o},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n.prototype._unsubscribeAndRecycle=function(){var e=this._parent,n=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this._parentSubscription=null,this},n}(i.a),c=function(e){function n(n,t,l,i){var a,u=e.call(this)||this;u._parentSubscriber=n;var s=u;return Object(o.a)(t)?a=t:t&&(a=t.next,l=t.error,i=t.complete,t!==r.a&&(s=Object.create(t),Object(o.a)(s.unsubscribe)&&u.add(s.unsubscribe.bind(s)),s.unsubscribe=u.unsubscribe.bind(u))),u._context=s,u._next=a,u._error=l,u._complete=i,u}return l.d(n,e),n.prototype.next=function(e){if(!this.isStopped&&this._next){var n=this._parentSubscriber;u.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},n.prototype.error=function(e){if(!this.isStopped){var n=this._parentSubscriber,t=u.a.useDeprecatedSynchronousErrorHandling;if(this._error)t&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)t?(n.syncErrorValue=e,n.syncErrorThrown=!0):Object(s.a)(e),this.unsubscribe();else{if(this.unsubscribe(),t)throw e;Object(s.a)(e)}}},n.prototype.complete=function(){var e=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var t=function(){return e._complete.call(e._context)};u.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}},n.prototype.__tryOrUnsub=function(e,n){try{e.call(this._context,n)}catch(e){if(this.unsubscribe(),u.a.useDeprecatedSynchronousErrorHandling)throw e;Object(s.a)(e)}},n.prototype.__tryOrSetError=function(e,n,t){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,t)}catch(n){return u.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(Object(s.a)(n),!0)}return!1},n.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},n}(d)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){}return Object.defineProperty(e.prototype,"nativeWindow",{get:function(){return window},enumerable:!0,configurable:!0}),e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(81),o=t(97),r=t(82),i=t(226);function a(){for(var e=[],n=0;n=0?this.getImgObservable(e):this.httpService.getBlob("/api"+e).pipe(Object(i.a)((function(e){return t.getSecurityTrustStyle(e.error?n:'url("'+t.windowRef.nativeWindow.URL.createObjectURL(e)+'")')}))):this.getImgObservable(n)},e.prototype.getPropertyImageUrl=function(e){var n=this.defaultImgUrl.house;if(e instanceof Array&&e.length>0){var t=e.filter((function(e){return!!e})).find((function(e){return"string"==typeof e||("streetview"===e.type||""===e.type)&&!!e.image}));t&&(n="string"==typeof t?t:t.image)}return n},e.prototype.getSecurityTrustStyle=function(e){return this.sanitizer.bypassSecurityTrustStyle(e)},e.prototype.getImgObservable=function(e){return Object(r.a)(this.getSecurityTrustStyle(e))},e}())},function(e,n,t){"use strict";t(200);var l=t(0),o=t(102),r=t(62),i=t(6),a=t(1),u=(t(145),t(4),function(){function e(n,l,a){var u=this;this.renderer=n,this.scrollService=l,this.elRef=a,this.isActive=!1,this.topOffset=0,this.models=[],this.currentPercent=0,this.actionEmitter=new o.a(null),this.actionObs=this.actionEmitter.asObservable().pipe(Object(r.a)((function(e){return!!e}))),this.componentCount=0,this.globalListeners=e.getGlobalListenerOfActions([i.l,i.t]),this.globalListeners.subscribe((function(e){switch(e.name){case i.l:u.sendForm();break;case i.t:if(e.payload===u.name){var n=u.models.find((function(e){return e.ngModel.invalid}));if(n)var t=setTimeout((function(){u.topOffset=u.lookingForScrollElRef(n.elRef)-100,u.elRef.nativeElement.scrollTop=u.topOffset,clearTimeout(t)}),50)}}}));var s=t(239),d=s.find((function(e){return"826"===e.num_code}));if(this.nationalities=s.slice(),d){d.en_short_name="United Kingdom";var c=this.nationalities.findIndex((function(e){return"826"===e.num_code}));this.nationalities.splice(c,1),this.nationalities.unshift(d)}}return Object.defineProperty(e.prototype,"loan",{set:function(e){e&&this.initModel(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"form",{set:function(e){var n=this;e instanceof a.NgForm&&setTimeout((function(){Object.keys(e.controls).forEach((function(t){return e.controls[t].valueChanges.subscribe((function(e){var t=setTimeout((function(){n.calculatePercent(),clearTimeout(t)}),10)}))}))}),10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"setModels",{set:function(e){this.models=e.toArray().map((function(e){return{elRef:e.el.nativeElement,ngModel:e.ngModel}}))},enumerable:!0,configurable:!0}),e.fireGlobalAction=function(n){e.GlobalActionEmitter.emit(n)},e.prototype.fireAction=function(e){this.actionEmitter.next(e)},e.prototype.getListenerOfActions=function(e){return this.actionObs.pipe(Object(r.a)((function(n){return e.some((function(e){return e===n.name}))})))},e.prototype.sendForm=function(){if(this.button){var e=new MouseEvent("click",{bubbles:!1});this.renderer.invokeElementMethod(this.button.nativeElement,"dispatchEvent",[e])}},e.prototype.setRadioValue=function(e,n,t){e&&e instanceof MouseEvent&&(e.stopPropagation(),e.preventDefault());var l=n.control;l.setValue(t),l.markAsTouched()},e.prototype.calculatePercent=function(){var e=this.getForm(),n=Object.keys(e.controls);if(n.length>0){var t=n.reduce((function(n,t){return n+e.controls[t].valid}),0);this.currentPercent=Math.round(t/n.length*100)}else this.currentPercent=0;this.fireAction({name:i.i,payload:this.currentPercent})},e.prototype.getForm=function(){throw new Error("Method not implemented.")},e.prototype.initModel=function(e){},e.getGlobalListenerOfActions=function(n){return e.GlobalActionEmitter.asObservable().pipe(Object(r.a)((function(e){return n.some((function(n){return n===e.name}))})))},e.prototype.lookingForScrollElRef=function(e){return e.attributes.getNamedItem("el-scroll")?e.offsetTop:e.parentElement?this.lookingForScrollElRef(e.parentElement):0},e.GlobalActionEmitter=new l.EventEmitter,e}());t.d(n,"a",(function(){return u}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(0),o=t(5),r=t(62),i=function(){function e(e){var n=this;this.$onChangeStatusPreloader=new l.EventEmitter,this._trigger=!0,e.events.pipe(Object(r.a)((function(e){return e instanceof o.d||e instanceof o.e}))).subscribe((function(e){e instanceof o.e&&(n._trigger=!0),e instanceof o.d&&(n._trigger=!1)}))}return e.prototype.setStatus=function(e,n){void 0===n&&(n=!1),this._currStatus!==e&&(this._trigger||!this._trigger&&!e||n)&&(this._currStatus=e,this.$onChangeStatusPreloader.emit({visible:e,imgUrl:""}))},e}()},function(e,n,t){"use strict";t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return r})),t.d(n,"e",(function(){return a})),t.d(n,"f",(function(){return c})),t.d(n,"g",(function(){return u})),t.d(n,"h",(function(){return d})),t.d(n,"i",(function(){return s})),t.d(n,"j",(function(){return p})),t.d(n,"k",(function(){return i})),t.d(n,"d",(function(){return g})),t.d(n,"m",(function(){return m})),t.d(n,"l",(function(){return h}));var l=function(){},o=function(){},r="*";function i(e,n){return{type:7,name:e,definitions:n,options:{}}}function a(e,n){return void 0===n&&(n=null),{type:4,styles:n,timings:e}}function u(e,n){return void 0===n&&(n=null),{type:2,steps:e,options:n}}function s(e){return{type:6,styles:e,offset:null}}function d(e,n,t){return{type:0,name:e,styles:n,options:t}}function c(e){return{type:5,steps:e}}function p(e,n,t){return void 0===t&&(t=null),{type:1,expr:e,animation:n,options:t}}function f(e){Promise.resolve(null).then(e)}var g=function(){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+n}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;f((function(){return e._onFinish()}))},e.prototype._onStart=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach((function(e){return e()})),n.length=0},e}(),h=function(){function e(e){var n=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var t=0,l=0,o=0,r=this.players.length;0==r?f((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++t==r&&n._onFinish()})),e.onDestroy((function(){++l==r&&n._onDestroy()})),e.onStart((function(){++o==r&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,n){return Math.max(e,n.totalTime)}),0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach((function(e){return e.init()}))},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))},e.prototype.pause=function(){this.players.forEach((function(e){return e.pause()}))},e.prototype.restart=function(){this.players.forEach((function(e){return e.restart()}))},e.prototype.finish=function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var n=e*this.totalTime;this.players.forEach((function(e){var t=e.totalTime?Math.min(1,n/e.totalTime):1;e.setPosition(t)}))},e.prototype.getPosition=function(){var e=0;return this.players.forEach((function(n){var t=n.getPosition();e=Math.min(t,e)})),e},e.prototype.beforeDestroy=function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))},e.prototype.triggerCallback=function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach((function(e){return e()})),n.length=0},e}(),m="!"},function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var l=t(43),o=t(215),r=t(18),i=t(173),a=t(87),u=t(62),s=(t(17),t(26)),d=(t(44),t(22),t(11),function(){return(d=Object.assign||function(e){for(var n,t=1,l=arguments.length;t-1||e.indexOf("https://flow.brydg.com")>-1?""+e:""+this.baseUrl+e},e.prototype.errorHandler=function(e){if(400===e.status)return Object(o.a)(e.error);var n={};n.error={status:e.status,url:e.url,origin:e};var t=e.url.indexOf("/broker/")>0||e.url.indexOf("/lenders/")>=0||e.url.indexOf("/partner/activate")>0;return 404===e.status&&t&&(n.error.mode="reset"),Object(r.a)(n)},e.prototype.errorFilter=function(e){var n=!!e&&!!e.error;if(n&&401===e.error.status)return e=null,!1;if(n&&"reset"===e.error.mode)return e=null,!0;if(n&&(403===e.error.status||404===e.error.status)){var t={status:"warning",message:"You don't have permissions to see this loan",originalError:""};switch(e.error.status){case 404:t.message="Loan has not been found";break;case 403:t.message="You don't have permissions to see this loan"}return this.notificationService.sendNotification(t),this.globalPreloaderService.setStatus(!1),!1}return!0},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var l=t(3),o=t(30),r=t(104),i=t(29),a=t(9),u=t(67);function s(e,n){return"function"==typeof n?function(t){return t.pipe(s((function(t,l){return Object(u.a)(e(t,l)).pipe(Object(a.a)((function(e,o){return n(t,e,l,o)})))})))}:function(n){return n.lift(new d(e))}}var d=function(){function e(e){this.project=e}return e.prototype.call=function(e,n){return n.subscribe(new c(e,this.project))},e}(),c=function(e){function n(n,t){var l=e.call(this,n)||this;return l.project=t,l.index=0,l}return l.d(n,e),n.prototype._next=function(e){var n,t=this.index++;try{n=this.project(e,t)}catch(e){return void this.destination.error(e)}this._innerSub(n,e,t)},n.prototype._innerSub=function(e,n,t){var l=this.innerSubscription;l&&l.unsubscribe();var o=new r.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(i.a)(this,e,n,t,o)},n.prototype._complete=function(){var n=this.innerSubscription;n&&!n.closed||e.prototype._complete.call(this),this.unsubscribe()},n.prototype._unsubscribe=function(){this.innerSubscription=null},n.prototype.notifyComplete=function(n){this.destination.remove(n),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},n.prototype.notifyNext=function(e,n,t,l,o){this.destination.next(n)},n}(o.a)},function(e,n,t){"use strict";t.r(n),t.d(n,"ɵangular_packages_common_http_http_a",(function(){return R})),t.d(n,"ɵangular_packages_common_http_http_b",(function(){return E})),t.d(n,"ɵangular_packages_common_http_http_c",(function(){return z})),t.d(n,"ɵangular_packages_common_http_http_d",(function(){return F})),t.d(n,"ɵangular_packages_common_http_http_g",(function(){return $})),t.d(n,"ɵangular_packages_common_http_http_h",(function(){return U})),t.d(n,"ɵangular_packages_common_http_http_e",(function(){return q})),t.d(n,"ɵangular_packages_common_http_http_f",(function(){return B})),t.d(n,"HttpBackend",(function(){return p})),t.d(n,"HttpHandler",(function(){return c})),t.d(n,"HttpClient",(function(){return A})),t.d(n,"HttpHeaders",(function(){return f})),t.d(n,"HTTP_INTERCEPTORS",(function(){return S})),t.d(n,"JsonpClientBackend",(function(){return N})),t.d(n,"JsonpInterceptor",(function(){return T})),t.d(n,"HttpClientJsonpModule",(function(){return Y})),t.d(n,"HttpClientModule",(function(){return H})),t.d(n,"HttpClientXsrfModule",(function(){return W})),t.d(n,"ɵHttpInterceptingHandler",(function(){return G})),t.d(n,"HttpParams",(function(){return m})),t.d(n,"HttpUrlEncodingCodec",(function(){return g})),t.d(n,"HttpRequest",(function(){return y})),t.d(n,"HttpErrorResponse",(function(){return M})),t.d(n,"HttpEventType",(function(){return w})),t.d(n,"HttpHeaderResponse",(function(){return x})),t.d(n,"HttpResponse",(function(){return O})),t.d(n,"HttpResponseBase",(function(){return C})),t.d(n,"HttpXhrBackend",(function(){return L})),t.d(n,"XhrFactory",(function(){return V})),t.d(n,"HttpXsrfTokenExtractor",(function(){return j}));var l=t(3),o=t(0),r=t(18),i=t(28),a=t(191),u=t(62),s=t(9),d=t(2),c=function(){},p=function(){},f=function(){function e(e){var n=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var l=e.slice(0,t),o=l.toLowerCase(),r=e.slice(t+1).trim();n.maybeSetNormalizedName(l,o),n.headers.has(o)?n.headers.get(o).push(r):n.headers.set(o,[r])}}))}:function(){n.headers=new Map,Object.keys(e).forEach((function(t){var l=e[t],o=t.toLowerCase();"string"==typeof l&&(l=[l]),l.length>0&&(n.headers.set(o,l),n.maybeSetNormalizedName(t,o))}))}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,n){return this.clone({name:e,value:n,op:"a"})},e.prototype.set=function(e,n){return this.clone({name:e,value:n,op:"s"})},e.prototype.delete=function(e,n){return this.clone({name:e,value:n,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)},e.prototype.init=function(){var n=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return n.applyUpdate(e)})),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var n=this;e.init(),Array.from(e.headers.keys()).forEach((function(t){n.headers.set(t,e.headers.get(t)),n.normalizedNames.set(t,e.normalizedNames.get(t))}))},e.prototype.clone=function(n){var t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t},e.prototype.applyUpdate=function(e){var n=e.name.toLowerCase();switch(e.op){case"a":case"s":var t=e.value;if("string"==typeof t&&(t=[t]),0===t.length)return;this.maybeSetNormalizedName(e.name,n);var o=("a"===e.op?this.headers.get(n):void 0)||[];o.push.apply(o,Object(l.i)(t)),this.headers.set(n,o);break;case"d":var r=e.value;if(r){var i=this.headers.get(n);if(!i)return;0===(i=i.filter((function(e){return-1===r.indexOf(e)}))).length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,i)}else this.headers.delete(n),this.normalizedNames.delete(n)}},e.prototype.forEach=function(e){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(t){return e(n.normalizedNames.get(t),n.headers.get(t))}))},e}(),g=function(){function e(){}return e.prototype.encodeKey=function(e){return h(e)},e.prototype.encodeValue=function(e){return h(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function h(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function e(e){void 0===e&&(e={});var n,t,o,r=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new g,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(n=e.fromString,t=this.encoder,o=new Map,n.length>0&&n.split("&").forEach((function(e){var n=e.indexOf("="),r=Object(l.h)(-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],2),i=r[0],a=r[1],u=o.get(i)||[];u.push(a),o.set(i,u)})),o)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((function(n){var t=e.fromObject[n];r.map.set(n,Array.isArray(t)?t:[t])}))):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var n=this.map.get(e);return n?n[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,n){return this.clone({param:e,value:n,op:"a"})},e.prototype.set=function(e,n){return this.clone({param:e,value:n,op:"s"})},e.prototype.delete=function(e,n){return this.clone({param:e,value:n,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map((function(n){var t=e.encoder.encodeKey(n);return e.map.get(n).map((function(n){return t+"="+e.encoder.encodeValue(n)})).join("&")})).join("&")},e.prototype.clone=function(n){var t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([n]),t},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(n){return e.map.set(n,e.cloneFrom.map.get(n))})),this.updates.forEach((function(n){switch(n.op){case"a":case"s":var t=("a"===n.op?e.map.get(n.param):void 0)||[];t.push(n.value),e.map.set(n.param,t);break;case"d":if(void 0===n.value){e.map.delete(n.param);break}var l=e.map.get(n.param)||[],o=l.indexOf(n.value);-1!==o&&l.splice(o,1),l.length>0?e.map.set(n.param,l):e.map.delete(n.param)}})),this.cloneFrom=null)},e}();function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function b(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _(e){return"undefined"!=typeof FormData&&e instanceof FormData}var y=function(){function e(e,n,t,l){var o;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==t?t:null,o=l):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new f),this.params){var r=this.params.toString();if(0===r.length)this.urlWithParams=n;else{var i=n.indexOf("?");this.urlWithParams=n+(-1===i?"?":i=200&&this.status<300},x=function(e){function n(n){void 0===n&&(n={});var t=e.call(this,n)||this;return t.type=w.ResponseHeader,t}return Object(l.d)(n,e),n.prototype.clone=function(e){return void 0===e&&(e={}),new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},n}(C),O=function(e){function n(n){void 0===n&&(n={});var t=e.call(this,n)||this;return t.type=w.Response,t.body=void 0!==n.body?n.body:null,t}return Object(l.d)(n,e),n.prototype.clone=function(e){return void 0===e&&(e={}),new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},n}(C),M=function(e){function n(n){var t=e.call(this,n,0,"Unknown Error")||this;return t.name="HttpErrorResponse",t.ok=!1,t.message=t.status>=200&&t.status<300?"Http failure during parsing for "+(n.url||"(unknown url)"):"Http failure response for "+(n.url||"(unknown url)")+": "+n.status+" "+n.statusText,t.error=n.error||null,t}return Object(l.d)(n,e),n}(C);function k(e,n){return{body:n,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var A=function(){function e(e){this.handler=e}return e.prototype.request=function(e,n,t){var l,o=this;if(void 0===t&&(t={}),e instanceof y)l=e;else{var i;i=t.headers instanceof f?t.headers:new f(t.headers);var d=void 0;t.params&&(d=t.params instanceof m?t.params:new m({fromObject:t.params})),l=new y(e,n,void 0!==t.body?t.body:null,{headers:i,params:d,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials})}var c=Object(r.a)(l).pipe(Object(a.a)((function(e){return o.handler.handle(e)})));if(e instanceof y||"events"===t.observe)return c;var p=c.pipe(Object(u.a)((function(e){return e instanceof O})));switch(t.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return p.pipe(Object(s.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return p.pipe(Object(s.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return p.pipe(Object(s.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return p.pipe(Object(s.a)((function(e){return e.body})))}case"response":return p;default:throw new Error("Unreachable: unhandled observe type "+t.observe+"}")}},e.prototype.delete=function(e,n){return void 0===n&&(n={}),this.request("DELETE",e,n)},e.prototype.get=function(e,n){return void 0===n&&(n={}),this.request("GET",e,n)},e.prototype.head=function(e,n){return void 0===n&&(n={}),this.request("HEAD",e,n)},e.prototype.jsonp=function(e,n){return this.request("JSONP",e,{params:(new m).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,n){return void 0===n&&(n={}),this.request("OPTIONS",e,n)},e.prototype.patch=function(e,n,t){return void 0===t&&(t={}),this.request("PATCH",e,k(t,n))},e.prototype.post=function(e,n,t){return void 0===t&&(t={}),this.request("POST",e,k(t,n))},e.prototype.put=function(e,n,t){return void 0===t&&(t={}),this.request("PUT",e,k(t,n))},e}(),P=function(){function e(e,n){this.next=e,this.interceptor=n}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),S=new o.InjectionToken("HTTP_INTERCEPTORS"),R=function(){function e(){}return e.prototype.intercept=function(e,n){return n.handle(e)},e}(),I=0,E=function(){},N=function(){function e(e,n){this.callbackMap=e,this.document=n}return e.prototype.nextCallback=function(){return"ng_jsonp_callback_"+I++},e.prototype.handle=function(e){var n=this;if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");return new i.a((function(t){var l=n.nextCallback(),o=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+l+"$1"),r=n.document.createElement("script");r.src=o;var i=null,a=!1,u=!1;n.callbackMap[l]=function(e){delete n.callbackMap[l],u||(i=e,a=!0)};var s=function(){r.parentNode&&r.parentNode.removeChild(r),delete n.callbackMap[l]},d=function(e){u||(s(),a?(t.next(new O({body:i,status:200,statusText:"OK",url:o})),t.complete()):t.error(new M({url:o,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},c=function(e){u||(s(),t.error(new M({error:e,status:0,statusText:"JSONP Error",url:o})))};return r.addEventListener("load",d),r.addEventListener("error",c),n.document.body.appendChild(r),t.next({type:w.Sent}),function(){u=!0,r.removeEventListener("load",d),r.removeEventListener("error",c),s()}}))},e}(),T=function(){function e(e){this.jsonp=e}return e.prototype.intercept=function(e,n){return"JSONP"===e.method?this.jsonp.handle(e):n.handle(e)},e}(),D=/^\)\]\}',?\n/,V=function(){},F=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),L=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var n=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.a((function(t){var l=n.xhrFactory.build();if(l.open(e.method,e.urlWithParams),e.withCredentials&&(l.withCredentials=!0),e.headers.forEach((function(e,n){return l.setRequestHeader(e,n.join(","))})),e.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&l.setRequestHeader("Content-Type",o)}if(e.responseType){var r=e.responseType.toLowerCase();l.responseType="json"!==r?r:"text"}var i=e.serializeBody(),a=null,u=function(){if(null!==a)return a;var n=1223===l.status?204:l.status,t=l.statusText||"OK",o=new f(l.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(l)||e.url;return a=new x({headers:o,status:n,statusText:t,url:r})},s=function(){var n=u(),o=n.headers,r=n.status,i=n.statusText,a=n.url,s=null;204!==r&&(s=void 0===l.response?l.responseText:l.response),0===r&&(r=s?200:0);var d=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof s){var c=s;s=s.replace(D,"");try{s=""!==s?JSON.parse(s):null}catch(e){s=c,d&&(d=!1,s={error:e,text:s})}}d?(t.next(new O({body:s,headers:o,status:r,statusText:i,url:a||void 0})),t.complete()):t.error(new M({error:s,headers:o,status:r,statusText:i,url:a||void 0}))},d=function(e){var n=u().url,o=new M({error:e,status:l.status||0,statusText:l.statusText||"Unknown Error",url:n||void 0});t.error(o)},c=!1,p=function(n){c||(t.next(u()),c=!0);var o={type:w.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(o.total=n.total),"text"===e.responseType&&l.responseText&&(o.partialText=l.responseText),t.next(o)},g=function(e){var n={type:w.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return l.addEventListener("load",s),l.addEventListener("error",d),e.reportProgress&&(l.addEventListener("progress",p),null!==i&&l.upload&&l.upload.addEventListener("progress",g)),l.send(i),t.next({type:w.Sent}),function(){l.removeEventListener("error",d),l.removeEventListener("load",s),e.reportProgress&&(l.removeEventListener("progress",p),null!==i&&l.upload&&l.upload.removeEventListener("progress",g)),l.abort()}}))},e}(),q=new o.InjectionToken("XSRF_COOKIE_NAME"),B=new o.InjectionToken("XSRF_HEADER_NAME"),j=function(){},$=function(){function e(e,n,t){this.doc=e,this.platform=n,this.cookieName=t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(d["ɵparseCookieValue"])(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),U=function(){function e(e,n){this.tokenService=e,this.headerName=n}return e.prototype.intercept=function(e,n){var t=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n.handle(e);var l=this.tokenService.getToken();return null===l||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,l)})),n.handle(e)},e}(),G=function(){function e(e,n){this.backend=e,this.injector=n,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var n=this.injector.get(S,[]);this.chain=n.reduceRight((function(e,n){return new P(e,n)}),this.backend)}return this.chain.handle(e)},e}();function z(){return"object"==typeof window?window:{}}var W=function(){function e(){}var n;return n=e,e.disable=function(){return{ngModule:n,providers:[{provide:U,useClass:R}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:n,providers:[e.cookieName?{provide:q,useValue:e.cookieName}:[],e.headerName?{provide:B,useValue:e.headerName}:[]]}},e}(),H=function(){},Y=function(){}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(18),o=(t(19),function(){function e(e){this.userService=e}return e.prototype.resolve=function(e){var n=this.userService.restore();return n?Object(l.a)(n):this.userService.getUser()},e}())},function(e,n,t){"use strict";var l=t(16),o=t(213),r=t(234),i=t(147),a=t(235),u=t(112);t.d(n,"a",(function(){return s}));var s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(n){var t=new e;return t.source=this,t.operator=n,t},e.prototype.subscribe=function(e,n,t){var i=this.operator,a=function(e,n,t){if(e){if(e instanceof l.a)return e;if(e[o.a])return e[o.a]()}return e||n||t?new l.a(e,n,t):new l.a(r.a)}(e,n,t);if(i?i.call(a,this.source):a.add(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(n){u.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=n),function(e){for(;e;){var n=e.destination;if(e.closed||e.isStopped)return!1;e=n&&n instanceof l.a?n:null}return!0}(e)&&e.error(n)}},e.prototype.forEach=function(e,n){var t=this;return new(n=d(n))((function(n,l){var o;o=t.subscribe((function(n){try{e(n)}catch(e){l(e),o&&o.unsubscribe()}}),l,n)}))},e.prototype._subscribe=function(e){var n=this.source;return n&&n.subscribe(e)},e.prototype[i.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],n=0;nthis.range[1])?{range:{maxValue:(this.range[1]/(l?12:1)).toFixed(l?2:0),minValue:(this.range[0]/(l?12:1)).toFixed(l?2:0)}}:null},e}(),o=function(){function e(){}return e.range=function(e,n,t){return void 0===t&&(t="notInRange"),function(l){var o,r=l.value;return null===r||""===r||"string"!=typeof r?null:(r=r.replace(/,/g,""),parseInt(r)>=e&&parseInt(r)<=n?null:((o={})[t]={maxValue:n,minValue:e},o))}},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(0),o=(t(17),t(144),t(19),t(102)),r=function(){function e(e,n,t,r){this.winRef=e,this.router=n,this.sideBarRepository=t,this.userService=r,this.disabled=!1,this.state=!0,this.currStatesLeft=[],this.currStatesRight=[],this.$stateChanged=new l.EventEmitter,this.$offersChanged=new l.EventEmitter,this.$stateChanged_v2=new o.a(null)}return Object.defineProperty(e.prototype,"isRightBarOpened",{get:function(){return this.currStatesRight.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLeftBarOpened",{get:function(){return this.currStatesLeft.length>0},enumerable:!0,configurable:!0}),e.prototype.open=function(){this.toggle(!0)},e.prototype.close=function(){this.toggle(!1)},e.prototype.toggleOnlyOnLow=function(e){this.winRef.nativeWindow.innerWidth<753&&!this.router.isActive("/",!0)&&this.toggle(e)},e.prototype.toggle=function(e){this.router.isActive("/",!0)||(this.state=null==e?!this.state:e,this.$stateChanged.emit(this.state))},e.prototype.onStateChanged=function(){return this.$stateChanged_v2.asObservable()},e.prototype.onOffersCountChanged=function(){return this.$offersChanged.asObservable()},e.prototype.fireOffersCountChanged=function(e){return this.$offersChanged.emit(e)},e.prototype.swipeRight=function(){this.disabled||(this.userService.isAuthenticated()?this.currStatesRight.length>0?this.currStatesRight.splice(-1,1):this.currStatesLeft.length<2&&this.currStatesLeft.push(0===this.currStatesLeft.length?"active":"active-board"):this.currStatesRight.length>0?this.currStatesRight=[]:this.currStatesLeft.length<2&&this.currStatesLeft.push("active","active-board"),this.$stateChanged_v2.next({left:this.currStatesLeft,right:this.currStatesRight}))},e.prototype.swipeLeft=function(){this.disabled||(this.userService.isAuthenticated()?this.currStatesLeft.length>0?this.currStatesLeft.splice(-1,1):0===this.currStatesRight.length&&this.currStatesRight.push("rightActive"):this.currStatesLeft.length>0?this.currStatesLeft=[]:0===this.currStatesRight.length&&this.currStatesRight.push("rightActive"),this.$stateChanged_v2.next({left:this.currStatesLeft,right:this.currStatesRight}))},e.prototype.closeAll=function(){this.currStatesLeft=[],this.currStatesRight=[],this.$stateChanged_v2.next({left:this.currStatesLeft,right:this.currStatesRight})},e.prototype.openLeftMenu=function(){this.currStatesLeft=["active"],this.currStatesRight=[],this.$stateChanged_v2.next({left:this.currStatesLeft,right:this.currStatesRight})},e.prototype.closeLeftMenu=function(){this.currStatesLeft=[],this.currStatesRight=[],this.$stateChanged_v2.next({left:this.currStatesLeft,right:this.currStatesRight})},e.prototype.getDataFromServer=function(){return this.sideBarRepository.get()},e}()},function(e,n,t){"use strict";var l=t(28),o=t(65),r=t(149);function i(e){var n=e.subscriber,t=e.counter,l=e.period;n.next(t),this.schedule({subscriber:n,counter:t+1,period:l},l)}var a=t(18),u=t(9),s=t(63),d=t(62),c=(t(126),function(e,n,t,l){void 0===l&&(l=!1),this.Id=e,this.Avatar=n,this.Name=t,this.IsBot=l}),p=t(47),f=t(86),g=t(0),h=function(){};t(192),t(24),t(15),t(11),t(20),t.d(n,"a",(function(){return v}));var m=function(){return(m=Object.assign||function(e){for(var n,t=1,l=arguments.length;t0){var e=m.messageStorage[m.messageStorage.length-1];e.isOwn&&m.messageStorage.push({conversationId:e.conversationId,id:m.jTailorId,avatar:"/assets/img/3.png",name:"J Taylor",url:"login",hasChart:!1,content:"

Hi! I'm a bot. I've checked your message: \""+e.content+'".
Thank you. I will answer soon.

',date:new Date,isOwn:!1,userId:_,messageType:p.a.Text,isPinned:!1,recipients:"You"})}})),this.privateConversationSettingsModel=new h}return e.prototype.setUsers=function(e){this.privateConversationSettingsModel.AvailableUsers=e},e.prototype.addUser=function(e){this.privateConversationSettingsModel.AvailableUsers.push(e)},e.prototype.getAvailableUsers=function(){return this.privateConversationSettingsModel.AvailableUsers},e.prototype.sendMessage=function(e){return e.isOwn=!0,this.pingService.resetConversationState(e.conversationId,e.id),this.addMessageToStorage(e),Object(a.a)(e)},e.prototype.sendMessage_=function(e){return e.isOwn=!0,this.pingService.resetConversationState(e.conversationId,e.id),this.addMessageToStorage_(e)},e.prototype.getLastMessage=function(e){var n=this.messageStorage.filter((function(n){return n.conversationId===e})),t=null;return n.length>0&&(t=n[n.length-1].id),Object(a.a)({ConversationId:e,LastMessageId:t})},e.prototype.getLastMessage_=function(e,n,t){return this.msgRepository.getLastMessageId(e,n,t).pipe(Object(u.a)((function(e){return{LastMessageId:e}})))},e.prototype.getConversationModel=function(e){var n=this,t=this.messageStorage.filter((function(n){return n.conversationId===e})),l={ConversationId:e,Messages:t,Users:t.map((function(e){return{Id:e.userId,Avatar:e.avatar,Name:e.name,IsBot:e.messageType!==p.a.Private||e.userId===n.botId}})).filter((function(e,n,t){return e&&t.findIndex((function(n){return e.Id===n.Id}))===n}))};return Object(a.a)(l)},e.prototype.getConversationModel_=function(e,n,t){return this.msgRepository.get(e,n,t).pipe(Object(u.a)((function(e){return{Messages:e}})))},e.prototype.getDefaultConversationModel_=function(e,n,t){return this.msgRepository.getDefault(e,n,t).pipe(Object(u.a)((function(e){return{Messages:e}})))},e.prototype.addMessageToStorage_=function(e){return this.msgRepository.save(e)},e.prototype.addMessageToStorage=function(e){this.messageStorage.push(e)},e.prototype.createGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=16*Math.random()|0;return("x"==e?n:3&n|8).toString(16)}))},e.prototype.sendBotMsgToWelcomLenderConversation=function(){return this.addMessageToStorage_({conversationId:this.welcomeLenderConversationId,conversationType:f.a.WelcomeLenderConversation,id:this.createGuid(),avatar:this.peterUser.Avatar,name:this.peterUser.Name,url:"login",hasChart:!1,content:"Your deal is almost ready.

One final step to have it published you need to register on the plaform.",date:new Date,isOwn:!1,userId:this.pJonesId,messageType:p.a.Text,isPinned:!1,recipients:"You"})},e.prototype.initConversation=function(e){switch(e){case f.a.WelcomeLenderConversation:return this.welcomeLenderConversationId||(this.welcomeLenderConversationId=this.createGuid(),this.addMessageToStorage({conversationId:this.welcomeLenderConversationId,id:this.createGuid(),avatar:this.peterUser.Avatar,name:this.peterUser.Name,url:"login",hasChart:!1,content:"Your deal is almost ready.

One final step to have it published you need to register on the plaform.",date:new Date,isOwn:!1,userId:this.pJonesId,messageType:p.a.Text,isPinned:!1,recipients:"You"})),this.welcomeLenderConversationId;case f.a.LoanApplicationForm:return this.loanApplicationFormId||(this.loanApplicationFormId=this.createGuid(),this.addMessageToStorage({conversationId:this.loanApplicationFormId,id:this.createGuid(),avatar:"/assets/img/bot.png",name:"@AIWHO",url:"login",hasChart:!1,content:"You can invite other people to joiintly discuss the form. And chat with them here",date:new Date,isOwn:!1,userId:this.botId,messageType:p.a.Text,isPinned:!1,recipients:"You"})),this.loanApplicationFormId;case f.a.LoanRequestConversation:return this.loanRequestConversationId||(this.loanRequestConversationId=this.createGuid(),this.addMessageToStorage({conversationId:this.loanRequestConversationId,id:this.createGuid(),avatar:"/assets/img/bot.png",name:"@AIWHO",url:"login",hasChart:!1,content:"Here we can discuss the document at hand while working",date:new Date,isOwn:!1,userId:this.botId,messageType:p.a.Text,isPinned:!1,recipients:"You"}),this.addMessageToStorage({conversationId:this.loanRequestConversationId,id:this.createGuid(),avatar:"/assets/img/1.png",name:"Peter Jones",url:"login",hasChart:!1,content:"Here we can discuss the document at hand while working on it.",date:new Date,isOwn:!1,userId:this.pJonesId,messageType:p.a.Text,isPinned:!1,recipients:"You"})),this.loanRequestConversationId;case f.a.ProjectConversation:return this.projectConversationId||(this.projectConversationId=this.createGuid(),this.addMessageToStorage({conversationId:this.projectConversationId,id:this.createGuid(),avatar:"/assets/img/bot.png",name:"@AIWHO",url:"login",hasChart:!1,content:"On the left you see the main delflow where we place all deals in our platform",date:new Date,isOwn:!1,userId:this.botId,messageType:p.a.Private,isPinned:!0,recipients:null}),this.addMessageToStorage({conversationId:this.projectConversationId,id:this.createGuid(),avatar:"/assets/img/bot.png",name:"",url:"",hasChart:!1,content:"Offer in Principle Accepted",date:new Date,isOwn:!1,userId:this.botId,messageType:p.a.System,isPinned:!1,recipients:"You"}),this.addMessageToStorage({conversationId:this.projectConversationId,id:this.createGuid(),avatar:this.marilynUser.Avatar,name:this.marilynUser.Name,url:"login",hasChart:!1,content:"Hi! here a private message for you.",date:new Date,isOwn:!1,userId:this.marilynUser.Id,messageType:p.a.Private,isPinned:!1,recipients:"You"})),this.projectConversationId;case f.a.PrivateConversation:return this.privateConversationId||(this.privateConversationId=this.createGuid(),this.addMessageToStorage({conversationId:this.privateConversationId,id:this.createGuid(),avatar:"/assets/img/bot.png",name:"@AIWHO",url:"login",hasChart:!1,content:"On the left you see the main delflow where we place all deals in our platform",date:new Date,isOwn:!1,userId:this.botId,messageType:p.a.Private,isPinned:!0,recipients:null}),this.addMessageToStorage({conversationId:this.privateConversationId,id:this.createGuid(),avatar:"/assets/img/bot.png",name:"",url:"",hasChart:!1,content:"Offer in Principle Accepted",date:new Date,isOwn:!1,userId:this.botId,messageType:p.a.System,isPinned:!1,recipients:"You"}),this.addMessageToStorage({conversationId:this.privateConversationId,id:this.createGuid(),avatar:"/assets/img/2.png",name:"Marilyn Monroe",url:"login",hasChart:!1,content:"Hi! here a private message for you.",date:new Date,isOwn:!1,userId:this.createGuid(),messageType:p.a.Private,isPinned:!1,recipients:"You"})),this.privateConversationId}},e.prototype.openPrivateConversation=function(e,n){this.privateConversationSettingsModel.ActiveUsers=this.privateConversationSettingsModel.AvailableUsers.filter((function(e){return n.indexOf(e.Id)>=0})),this.$privateConversationChanged.emit({isOpen:!0,conversationId:e})},e.prototype.closePrivateConversation=function(){this.$privateConversationChanged.emit({isOpen:!1})},e.prototype.getCurrentUserConversations=function(){},e.prototype.getMessagesByConversation=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversation/"+e+"/messages/").toPromise()},e.prototype.getMessagesOfDealTimeline=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/loan/"+e+"/")},e.prototype.getMessagesOfDealTimelineAsPromise=function(e){return this.getMessagesOfDealTimeline(e).toPromise()},e.prototype.getMainConversationId=function(){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/main/")},e.prototype.postMessageToConversation=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/conversation/"+e.conversation+"/messages/",e).toPromise()},e.prototype.getConvId=function(e,n){var t=this;return new Promise((function(l,o){var r=JSON.parse(localStorage.getItem("conversations")||"[]"),i=r.find((function(n){return n.subject==e}));i?l(i.id):t.createConversationWithSubject(e,n).then((function(e){r.push(e),localStorage.setItem("conversations",JSON.stringify(r)),l(e.id)}))}))},e.prototype.createConversationWithSubject=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/conversations/",{subject:e,type:n}).toPromise()},e.prototype.createConversationWithSubjectObsrevable=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/conversations/",{subject:e,type:n})},e.prototype.addParticipantByConvId=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/conversation/"+e+"/participants/",{conversation:e,user_acc:n}).toPromise()},e.prototype.updateMsgById=function(e,n){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/message/"+e+"/",{is_pinned:n.is_pinned,is_flagged:n.is_flagged,is_process:n.is_process}).toPromise()},e.prototype.deleteParticipantByConvId=function(e,n){return this.httpService.delete("/api/"+this.journeyService.currentJourney+"/conversation/"+e+"/participants/"+n).toPromise()},e.prototype.getParticipantsByConvId=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversation/"+e+"/participants/").toPromise()},e.prototype.getNewTimeLineMessages=function(){var e=0;return this._totalTimelineMessages>=0&&(e=this._totalTimelineMessages),this.prepareTimeLineMessages(this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/main/messages/?get-new="+e))},e.prototype.checkNewTimeLineMessages=function(){var e=0;return this._totalTimelineMessages>=0&&(e=this._totalTimelineMessages),this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/main/messages/?check-new="+e)},e.prototype.getTimeLineMessages=function(e,n){return void 0===e&&(e=0),void 0===n&&(n=null),"leeplenders"===this.journeyService.currentJourney?Object(a.a)([]):"bdp"===this.journeyService.currentJourney?n&&"bdp"===n.role?this.prepareTimeLineMessages(this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/main/messages/?count="+e)):Object(a.a)([{id:4,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"You should accept Terms and Conditions at the bottom of the profile page.",date:new Date,showTypings:!1,hidePinn:!0,needAnimate:!1}]):"flowaffiliate"===this.journeyService.currentJourney?n&&"flow affiliate"===n.role?this.prepareTimeLineMessages(this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/main/messages/?count="+e)):Object(a.a)([{id:4,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"You should accept Terms and Conditions at the bottom of the profile page.",date:new Date,showTypings:!1,hidePinn:!0,needAnimate:!1}]):e===this._totalTimelineMessages?Object(a.a)([]):n&&n.broker&&n.broker.terms_accepted?this.prepareTimeLineMessages(this.httpService.get("/api/"+this.journeyService.currentJourney+"/conversations/main/messages/?count="+e)):Object(a.a)([{id:4,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"You should accept Terms and Conditions at the bottom of the profile page.",date:new Date,showTypings:!1,hidePinn:!0,needAnimate:!1}])},e.prototype.sendMessageToWelcomeConversation=function(e,n){return localStorage.getItem("Token")?this.httpService.post("/api/"+this.journeyService.currentJourney+"/conversation/"+e+"/messages/",n):this.httpService.post("/api/"+this.journeyService.currentJourney+"/welcome/"+e+"/messages/",n)},e.prototype.setChatLineId=function(e){this.chatLineId=e},e.prototype.sendMessageToChatLine=function(e,n){var t=this;return void 0===n&&(n=!0),this.chatLineId?(e.conversation=this.chatLineId,this.httpService.post("/api/"+this.journeyService.currentJourney+"/welcome/"+this.chatLineId+"/messages/",e).pipe(Object(s.a)((function(l){var o=m({},e,l);n&&t.$onAddedMessageIntoChatLine.emit(o)})))):Object(a.a)(null)},e.prototype.registerMessageInterval=function(e){this.massageIntervals.push(e)},e.prototype.clearAllConversation=function(){this.massageIntervals.forEach((function(e){return clearInterval(e)})),this.massageIntervals=[],this.$onAllConversationCleared.emit()},e.prototype.hastActiveConversationCount=function(){return this.massageIntervals.length>0},e.prototype.getAvatarUrl=function(e){var n=this.supportService.defaultImgUrl.avatar,t=e.author;if(t&&t.picture)n=t.isStaticPicture?"url('"+e.author.picture+"')":e.author.picture;else if(+e.type===p.a.System)return"url(/assets/img/bot.png)";return n},e.prototype.prepareTimeLineMessages=function(e){var n=this;return e.pipe(Object(d.a)((function(e){return!!e&&e.messages instanceof Array})),Object(s.a)((function(e){n._totalTimelineMessages=e.total_messages,e.messages.forEach((function(e){if("5"===e.type)try{var t=JSON.parse(e.content);t.data.avatar=n.getAvatarUrl(e),e.component=t.component,e.data=t.data,e.messageText=t.messageText}catch(n){e.error="Error of the content parse"}}))})),Object(u.a)((function(e){return e.messages})))},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(e){return e[e.draft=2]="draft",e[e.enquiry=4]="enquiry",e[e.offer_in_principle=8]="offer_in_principle",e[e.valuation=16]="valuation",e[e.formal_offer=32]="formal_offer",e[e.legal_review=64]="legal_review",e[e.drawdown=128]="drawdown",e[e.servicing=256]="servicing",e[e.arrears=512]="arrears",e[e.preaccepted=1024]="preaccepted",e}({})},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return g}));var l=t(0),o=t(102),r=t(109),i=t(18),a=t(25),u=t(9),s=t(63),d=t(87),c=t(62),p=(t(24),t(53),t(180),t(181),t(22),t(35)),f=(t(72),t(110),t(241),t(20),t(15),function(){return(f=Object.assign||function(e){for(var n,t=1,l=arguments.length;t0&&(e.property=e.secured_by_properties[0],e.address=e.secured_by_properties[0].address,e.secured_by_properties[0].address=e.address.id),e.borrowers&&e.borrowers.length>0){this.globalPreloaderService.setStatus(!0);var l=Math.min.apply(Math,e.borrowers.map((function(e){return e.id})));e.borrowers=e.borrowers.sort((function(e,n){return e.id-n.id}));var o=e.borrowers.map((function(e){return Object(i.a)(e.nested_borrower)}));Object(r.a)(o).pipe(Object(a.a)((function(n){var o=n.find((function(e){return e.id===l}));return o?(e.borrowerList=n.sort((function(e,n){return e.id-n.id})),o.income&&o.income.business_address?t.addressService.getAddress(o.income.business_address).pipe(Object(u.a)((function(e){return o.income.b_address=e,o}))):Object(i.a)(o)):Object(i.a)(n[0])})),Object(a.a)((function(n){var l=e.borrowerList.map((function(e){return e.id?t.addressService.getBorrowerAddresses(e.id):Object(i.a)([{is_primary:!0,address:e.current_address}])}));return Object(r.a)(l).pipe(Object(a.a)((function(t){return t.forEach((function(n,t){if(e.borrowerList[t].fullAddresses=n,e.borrowerList[t].isPrimary=!1,n&&n.length>0&&(e.borrowerList[t].current_address2=n[0].address,n.length>1)){var l=n.findIndex((function(e){return e.is_primary}));l>-1&&(e.borrowerList[t].current_address=n[l].address)}})),Object(i.a)(n)})))})),Object(a.a)((function(e){return 0===e.corporate_borrower.length?Object(i.a)(e):t.borrowerService.getCorpBorrower(e.corporate_borrower[0]).pipe(Object(a.a)((function(n){return e.corporation=n,0===n.addresses.length?Object(i.a)(e):t.addressService.getAddress(n.addresses[0]).pipe(Object(u.a)((function(n){return e.corporation.address=n,e})))})))}))).subscribe((function(n){e.borrower=n,e.borrower.isPrimary=!0,e.borrower.income&&(e.borrower.income.basic_annual_income=t.roundDecimal(e.borrower.income.basic_annual_income),e.borrower.income.guaranteed_annual_bonus=t.roundDecimal(e.borrower.income.guaranteed_annual_bonus),e.borrower.income.mortgage_balance=t.roundDecimal(e.borrower.income.mortgage_balance),e.borrower.income.mortgage_payment_monthly=t.roundDecimal(e.borrower.income.mortgage_payment_monthly),e.borrower.income.other_annual_income=t.roundDecimal(e.borrower.income.other_annual_income),e.borrower.income.total_income=t.roundDecimal(e.borrower.income.total_income)),t.$borrowerUpdate.next(e)}),(function(e){}))}e.loan_request_estimated_value=this.roundDecimal(e.loan_request_estimated_value),e.loan_request_loan_amount=this.roundDecimal(e.loan_request_loan_amount),e.loan_to_value_percentage=this.roundDecimal(e.loan_to_value_percentage),e.property_purchase_price=this.roundDecimal(e.property_purchase_price),e.property_sale_price=this.roundDecimal(e.property_sale_price),e.property_deposit=this.roundDecimal(e.property_deposit),e.annual_income_gross=this.roundDecimal(e.annual_income_gross),e.guaranteed_overtime_bonus=this.roundDecimal(e.guaranteed_overtime_bonus),e.other_income=this.roundDecimal(e.other_income),e.total_income=this.roundDecimal(e.total_income),this.$borrowerUpdate.next(e)},n.prototype.prepareBrokerLoan=function(e,n){var t=this;if(void 0===n&&(n=!0),e.LTV=Math.round(e.loan_request_loan_amount/e.loan_request_estimated_value*100),e.loan_to_value_percentage=e.loan_to_value_percentage?e.loan_to_value_percentage:e.LTV,e.secured_by_properties&&e.secured_by_properties.length>0&&(e.property=e.secured_by_properties[0],e.address=e.secured_by_properties[0].address,e.secured_by_properties[0].address=e.address.id),e.borrowers&&e.borrowers.length>0){var l=Math.min.apply(Math,e.borrowers.map((function(e){return e.id})));e.borrowers=e.borrowers.sort((function(e,n){return e.id-n.id}));var o=e.borrowers.map((function(e){return Object(i.a)(e.nested_borrower)}));Object(r.a)(o).pipe(Object(a.a)((function(n){var o=n.find((function(e){return e.id===l}));return o?(e.borrowerList=n.sort((function(e,n){return e.id-n.id})),o.income&&o.income.business_address?t.addressService.getBrokerAddress(o.income.business_address).pipe(Object(u.a)((function(e){return o.income.b_address=e,o}))):Object(i.a)(o)):(e.borrowerList=n,Object(i.a)(n[0]))})),Object(a.a)((function(n){var l=e.borrowerList.map((function(e){return e.current_address={address_line:"",city:"",country:"",id:null,landline_phone:"",paon:"",post_code:"",saon:"",street_name:"",time_at_address_months:null,time_at_address_years:null,town:""},e.id?t.addressService.getBrokerBorrowerAddresses(e.id):Object(i.a)([{is_primary:!0,address:e.current_address}])}));return Object(r.a)(l).pipe(Object(a.a)((function(t){return t.forEach((function(n,t){if(e.borrowerList[t].fullAddresses=n,e.borrowerList[t].isPrimary=!1,n&&n.length>0&&(e.borrowerList[t].current_address=n[0].address,n.length>1)){var l=n.findIndex((function(e){return e.is_primary}));l>-1&&(e.borrowerList[t].current_address=n[l].address)}})),Object(i.a)(n)})))})),Object(a.a)((function(e){return 0===e.corporate_borrower.length?Object(i.a)(e):t.borrowerService.getBrokerCorpBorrower(e.corporate_borrower[0]).pipe(Object(a.a)((function(n){return e.corporation=n,0===n.addresses.length?Object(i.a)(e):t.addressService.getBrokerAddress(n.addresses[0]).pipe(Object(u.a)((function(n){return e.corporation.address=n,e})))})))}))).subscribe((function(n){e.borrower=n,e.borrower.isPrimary=!0,e.borrower.income&&(e.borrower.income.basic_annual_income=t.roundDecimal(e.borrower.income.basic_annual_income),e.borrower.income.guaranteed_annual_bonus=t.roundDecimal(e.borrower.income.guaranteed_annual_bonus),e.borrower.income.mortgage_balance=t.roundDecimal(e.borrower.income.mortgage_balance),e.borrower.income.mortgage_payment_monthly=t.roundDecimal(e.borrower.income.mortgage_payment_monthly),e.borrower.income.other_annual_income=t.roundDecimal(e.borrower.income.other_annual_income),e.borrower.income.total_income=t.roundDecimal(e.borrower.income.total_income)),t.$borrowerUpdate.next(e)}),(function(e){}))}e.loan_request_estimated_value=this.roundDecimal(e.loan_request_estimated_value),e.loan_request_loan_amount=this.roundDecimal(e.loan_request_loan_amount),e.loan_to_value_percentage=this.roundDecimal(e.loan_to_value_percentage),e.property_purchase_price=this.roundDecimal(e.property_purchase_price),e.property_sale_price=this.roundDecimal(e.property_sale_price),e.property_deposit=this.roundDecimal(e.property_deposit),e.annual_income_gross=this.roundDecimal(e.annual_income_gross),e.guaranteed_overtime_bonus=this.roundDecimal(e.guaranteed_overtime_bonus),e.other_income=this.roundDecimal(e.other_income),e.total_income=this.roundDecimal(e.total_income),this.$borrowerUpdate.next(e)},n.prototype.createNewLoanWithBroker=function(n,t,l,o,r,s,d,c,g,h){var m=this;return this.supportService.deformateNumbers(n,d),Object(i.a)({}).pipe(Object(a.a)((function(i){var a={alias:"Borrower",borrower_type:n.borrower_type||null,created_by_user_id:21,email:t},d=m.addressService.prepareAddress(n.property_loan_location,c),h=m.propertyService.preparePropertyWithoutID(n);h.size_in_sqft=m.supportService.deCurrencyFormater(h.size_in_sqft),h.size_in_sqft=""===h.size_in_sqft?null:h.size_in_sqft,h.google_image_found=!!g&&g.result_count>0;var v=null;h.google_image_found&&((v=m.propertyService.preparePropertyImageModelWithoutID(g)).type="streetview");var b=f({},n);return b.is_completed=!1,b.loan_is_active=!1,b.stage=p.a[p.a.draft],b.enquiry_date=e.utc().format("YYYY-MM-DD"),b.loan_request_drawdown_date=n.loan_request_drawdown_date,m.saveLoanObservableWithBrokerWithoutID({borrower:a,address:d,property:h,image:v,loan:b},t,l,o,r,s).pipe(Object(u.a)((function(e){return i.newLoan=e,i})))})))},n.prototype.createNewLoan=function(n,t,l,o,r){var s=this;this.supportService.deformateNumbers(n,t);var d=Object(i.a)({});return d=d.pipe(Object(a.a)((function(e){var t={borrower:null,newProperty:null,newLoan:null},r=s.addressService.prepareAddress(n.property_loan_location,l);return s.addressService.saveAddress(r).pipe(Object(a.a)((function(e){var l=s.propertyService.prepareProperty(n,null,e.id);return l.size_in_sqft=s.supportService.deCurrencyFormater(l.size_in_sqft),l.size_in_sqft=""===l.size_in_sqft?null:l.size_in_sqft,l.google_image_found=!!o&&o.result_count>0,s.propertyService.saveProperty(l).pipe(Object(u.a)((function(n){return t.newProperty=n,t.newProperty.address_obj=e,t})))})))})),Object(a.a)((function(e){if(!e.newProperty.google_image_found)return Object(i.a)(e);var n=s.propertyService.preparePropertyImageModel(e.newProperty.id,o);return n.type="streetview",s.propertyService.savePropertyImage(n).pipe(Object(u.a)((function(n){return n&&(e.newProperty.property_images_from_google=[n]),e})))}))),r&&o.result_count&&o.result_count>0&&(d=d.pipe(Object(a.a)((function(e){if(!e.newProperty.google_image_found)return Object(i.a)(e);var n=s.propertyService.preparePropertyImageModel(e.newProperty.id,r);return n.searched_address=o.searched_address,n.result_count=o.result_count,n.type="google_map",s.propertyService.savePropertyImage(n).pipe(Object(u.a)((function(n){return e.newProperty.property_images_from_google.push(n),e})))})))),d.pipe(Object(a.a)((function(t){var l=f({},n);return l.secured_by_properties=[t.newProperty.id],l.borrowers=[],l.is_completed=!1,l.loan_is_active=!1,l.stage=p.a[p.a.draft],l.brokers=[],l.enquiry_date=e.utc().format("YYYY-MM-DD"),l.loan_request_drawdown_date=n.loan_request_drawdown_date,s.saveLoanObservable(l).pipe(Object(u.a)((function(e){return t.newLoan=e,t})))})))},n.prototype.createNewLoanVariant=function(n,t,l,o,r,s){var d=this;this.supportService.deformateNumbers(n,l);var c=Object(i.a)({});return c=c.pipe(Object(a.a)((function(e){return d.borrowerService.saveBaseBorrower({alias:"Borrower",borrower_type:n.borrower_type||null,created_by_user_id:21}).pipe(Object(u.a)((function(e){return{borrower:e,newProperty:null,newLoan:null}})))})),Object(a.a)((function(e){var t=d.addressService.prepareAddress(n.property_loan_location,o);return d.addressService.saveAddress(t).pipe(Object(a.a)((function(t){var l=d.propertyService.prepareProperty(n,e.borrower.id,t.id);return l.size_in_sqft=d.supportService.deCurrencyFormater(l.size_in_sqft),l.size_in_sqft=""===l.size_in_sqft?null:l.size_in_sqft,l.google_image_found=!!r&&r.result_count>0,d.propertyService.saveProperty(l).pipe(Object(u.a)((function(n){return e.newProperty=n,e.newProperty.address_obj=t,e})))})))})),Object(a.a)((function(e){if(!e.newProperty.google_image_found)return Object(i.a)(e);var n=d.propertyService.preparePropertyImageModel(e.newProperty.id,r);return n.type="streetview",d.propertyService.savePropertyImage(n).pipe(Object(u.a)((function(n){return n&&(e.newProperty.property_images_from_google=[n]),e})))}))),s&&r.result_count&&r.result_count>0&&(c=c.pipe(Object(a.a)((function(e){if(!e.newProperty.google_image_found)return Object(i.a)(e);var n=d.propertyService.preparePropertyImageModel(e.newProperty.id,s);return n.searched_address=r.searched_address,n.result_count=r.result_count,n.type="google_map",d.propertyService.savePropertyImage(n).pipe(Object(u.a)((function(n){return e.newProperty.property_images_from_google.push(n),e})))})))),c.pipe(Object(a.a)((function(t){var l=f({},n);return l.secured_by_properties=[t.newProperty.id],l.borrowers=[t.borrower.id],l.is_completed=!1,l.loan_is_active=!1,l.stage=p.a[p.a.draft],l.brokers=[],l.enquiry_date=e.utc().format("YYYY-MM-DD"),l.loan_request_drawdown_date=n.loan_request_drawdown_date,d.saveLoanObservable(l).pipe(Object(u.a)((function(e){return t.newLoan=e,t})))})))},n.prototype.createNewBrokerLoan=function(n,t,l,o,r,s){var d=this;this.supportService.deformateNumbers(n,t);var c=Object(i.a)({});return c=c.pipe(Object(a.a)((function(e){return d.borrowerService.registerBorrower({email:s.email}).pipe(Object(u.a)((function(e){return{borrower:e,newProperty:null,newLoan:null}})))})),Object(a.a)((function(e){var t=d.addressService.prepareAddress(n.property_loan_location,l);return d.addressService.saveBrokerAddress(t).pipe(Object(a.a)((function(t){var l=d.propertyService.prepareProperty(n,e.borrower.id,t.id);return l.size_in_sqft=d.supportService.deCurrencyFormater(l.size_in_sqft),l.size_in_sqft=""===l.size_in_sqft?null:l.size_in_sqft,l.google_image_found=!!o&&o.result_count>0,d.propertyService.saveBrokerProperty(l).pipe(Object(u.a)((function(n){return e.newProperty=n,e.newProperty.address_obj=t,e})))})))})),Object(a.a)((function(e){if(!e.newProperty.google_image_found)return Object(i.a)(e);var n=d.propertyService.preparePropertyImageModel(e.newProperty.id,o);return n.type="streetview",d.propertyService.saveBrokerPropertyImage(n).pipe(Object(u.a)((function(n){return n&&(e.newProperty.property_images_from_google=[n]),e})))}))),r&&o.result_count&&o.result_count>0&&(c=c.pipe(Object(a.a)((function(e){if(!e.newProperty.google_image_found)return Object(i.a)(e);var n=d.propertyService.preparePropertyImageModel(e.newProperty.id,r);return n.searched_address=o.searched_address,n.result_count=o.result_count,n.type="google_map",d.propertyService.saveBrokerPropertyImage(n).pipe(Object(u.a)((function(n){return e.newProperty.property_images_from_google.push(n),e})))})))),(c=c.pipe(Object(a.a)((function(e){return d.borrowerService.registerBroker({email:n.broker_email}).pipe(Object(u.a)((function(n){return e.brokers=[n],e})))})))).pipe(Object(a.a)((function(t){var l=f({},n);return l.secured_by_properties=[t.newProperty.id],l.borrowers=[t.borrower.id],l.is_completed=!1,l.loan_is_active=!1,l.stage=p.a[p.a.draft],l.brokers=t.brokers,l.enquiry_date=e.utc().format("YYYY-MM-DD"),l.loan_request_drawdown_date=n.loan_request_drawdown_date,d.saveBrokerLoanObservable(l).pipe(Object(u.a)((function(e){return t.newLoan=e,t})))})))},n.prototype.createNewLoanForAnonymous=function(n,t,l,o){this.supportService.deformateNumbers(n,t);var r={user:{broker_name:n.broker_name,email:n.email,terms_accepted:n.terms,broker_phone:n.broker_phone},borrower:{alias:"Borrower",borrower_type:n.borrower_type},property_address:this.addressService.prepareAddress(n.property_loan_location,"uk"),property:f({},this.propertyService.prepareProperty(n,null,null),{google_image_found:!!l&&l.result_count>0}),google_street_view:f({},this.propertyService.preparePropertyImageModel(null,l),{type:"streetview"}),google_map_view:f({},this.propertyService.preparePropertyImageModel(null,o),{searched_address:l.searched_address,result_count:l.result_count,type:"google_map"}),loan:{borrowers:[],brokers:[],secured_by_properties:[],stage:p.a[p.a.draft],loan_request_loan_amount:n.loan_request_loan_amount,loan_request_estimated_value:n.loan_request_estimated_value,loan_request_duration:n.loan_request_duration,loan_request_drawdown_date:n.loan_request_drawdown_date,loan_request_exit_strategy:n.loan_request_exit_strategy,loan_purpose_selected:n.loan_purpose_selected,loan_repayment_method:n.loan_repayment_method,broker_arrangement_fee:n.broker_arrangement_fee,enquiry_date:e.utc().format("YYYY-MM-DD"),is_completed:!1,loan_is_active:!1}};return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loans/anonymous/",r)},n.prototype.saveTempLoan=function(e,n){var t=this;void 0===n&&(n=!0);var l=localStorage.getItem("tempLoanForm"),o=l?JSON.parse(l):[];return e.pipe(Object(a.a)((function(e){if(0===o.length||!e.broker)return Object(i.a)(e);var l=o.map((function(e){return t.createNewLoan(e.val,e.numberFields,e.currentCountry,e.selectedPosition)}));return n?Object(r.a)(l).pipe(Object(u.a)((function(n){return localStorage.removeItem("tempLoanForm"),e})),Object(d.a)((function(n){return localStorage.removeItem("tempLoanForm"),e}))):(Object(r.a)(l).subscribe((function(e){localStorage.removeItem("tempLoanForm")}),(function(e){localStorage.removeItem("tempLoanForm")})),Object(i.a)(e))})))},n.prototype.updateAddressPropertyWithImage=function(e,n,t,l){var o=this;return this.saveAddressObservable(e).pipe(Object(a.a)((function(e){if(0===l.result_count)return t?o.propertyService.deletePropertyImage(t).pipe(Object(u.a)((function(n){return{newAddress:e,updatedImg:n}}))):Object(i.a)({newAddress:e,updatedImg:null});var r=o.propertyService.preparePropertyImageModel(n,l);return r.type="streetview",(t?o.propertyService.updatePropertyImage(t,r):o.propertyService.savePropertyImage(r)).pipe(Object(u.a)((function(n){return{newAddress:e,updatedImg:n}})))})))},n.prototype.updateBrokerAddressPropertyWithImage=function(e,n,t,l){var o=this;return this.saveBrokerAddressObservable(e).pipe(Object(a.a)((function(e){if(0===l.result_count)return t?o.propertyService.deletePropertyImage(t).pipe(Object(u.a)((function(n){return{newAddress:e,updatedImg:n}}))):Object(i.a)({newAddress:e,updatedImg:null});var r=o.propertyService.preparePropertyImageModel(n,l);return r.type="streetview",(t?o.propertyService.updateBrokerPropertyImage(t,r):o.propertyService.saveBrokerPropertyImage(r)).pipe(Object(u.a)((function(n){return{newAddress:e,updatedImg:n}})))})))},n.prototype.getLoansListForLenders=function(e,n,t,l){void 0===n&&(n=""),void 0===t&&(t=0),void 0===l&&(l=!1);var o=e?"/api/lenders/loans":"/api/lenders/loans/initial",r="";switch(n){case"to-be-submitted":r="stage=draft&";break;case"in-progress":r="stage=offer_in_principle&stage=valuation&stage=formal_offer&stage=legal_review&";break;case"to-be-accepted":r="stage=enquiry&";break;case"active":r="stage=drawdown&stage=servicing&stage=arrears&"}l&&(r+="short&"),r&&(o=o+"?"+r);var i=this.httpService.get(o);return t&&(i=this.httpService.get(o+"first="+t)),this.loans=[],i.pipe(Object(c.a)((function(e){return!e.error})),Object(u.a)((function(n){return n.loans.forEach((function(n){n.address=n.secured_by_properties[0].address,n.property=n.secured_by_properties[0];var t=parseFloat(n.loan_request_loan_amount)/parseFloat(n.loan_request_estimated_value);n.LTV=(isNaN(t)?0:100*t).toFixed(1),n.address.post_code=n.address.post_code.replace(/\s/g,"").slice(0,-3),e&&(n.loan_offers=n.offers)})),n})))},n.prototype.getLoansListForLeepLenders=function(e,n,t,l){void 0===n&&(n=""),void 0===t&&(t=0),void 0===l&&(l=!1);var o=e?"/api/leeplenders/loans":"/api/leeplenders/loans/initial",r="";switch(n){case"to-be-submitted":r="stage=draft&";break;case"in-progress":r="stage=offer_in_principle&stage=valuation&stage=formal_offer&stage=legal_review&";break;case"to-be-accepted":r="stage=enquiry&";break;case"active":r="stage=drawdown&stage=servicing&stage=arrears&"}l&&(r+="short&"),r&&(o=o+"?"+r);var i=this.httpService.get(o);return t&&(i=this.httpService.get(o+"first="+t)),this.loans=[],i.pipe(Object(c.a)((function(e){return!e.error})),Object(u.a)((function(n){return n.loans.forEach((function(n){n.address=n.secured_by_properties[0].address,n.property=n.secured_by_properties[0];var t=parseFloat(n.loan_request_loan_amount)/parseFloat(n.loan_request_estimated_value);n.LTV=(isNaN(t)?0:100*t).toFixed(1),n.address.post_code=n.address.post_code.replace(/\s/g,"").slice(0,-3),e&&(n.loan_offers=n.offers)})),n})))},n.prototype.selectLoan=function(e,n){void 0===n&&(n=!0),this.selectedLoan=e,this.$selectedLoanChange.emit(e)},n.prototype.registerLender=function(e,n){return this.registerLenderObservable(e,n).toPromise()},n.prototype.registerLenderObservable=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/lender-register/",n)},n.prototype.registerActivateLoanObservable=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/activate/",{})},n.prototype.registerAcceptLoanObservable=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/approve/",{})},n.prototype.revokeLenderObservable=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/lender-revoke/",n)},n.prototype.registerBorrower=function(e,n){return this.registerBorrowerObservable(e,n).toPromise()},n.prototype.registerBorrowerObservable=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/borrower-register/",n)},n.prototype.revokeBorrowerObservable=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/borrower-revoke/",n)},n.prototype.registerLoanAsPdfObservable=function(e){return this.httpService.get("/api/brokers/loan/"+e.id+"/pdf/",{responseType:"blob"})},n.prototype.getLoanLenderUsers=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/loan-lender-users/").toPromise()},n.prototype.getLoanUsers=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/loan-users/").toPromise()},n.prototype.saveBorrower=function(e){return this.saveBorrowerObservable(e).toPromise()},n.prototype.saveBorrowerObservable=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/borrowers/",e)},n.prototype.updateBorrower=function(e){return this.updateBorrowerObservable(e).toPromise()},n.prototype.updateBrokerBorrowerObservable=function(e){return this.httpService.put("/api/brokers/borrowers/"+e.id+"/individual/",e)},n.prototype.updateBorrowerObservable=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/borrowers/"+e.id+"/individual/",e)},n.prototype.updateCorpBorrower=function(e){return this.updateCorpBorrowerObservable(e).toPromise()},n.prototype.updateCorpBorrowerObservable=function(e){return this.borrowerService.updateCorpBorrower(e)},n.prototype.saveProperty=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/properties/",e).toPromise()},n.prototype.updateBrokerProperty=function(e){return this.httpService.put("/api/brokers/property/"+e.id+"/",e).toPromise()},n.prototype.updateProperty=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/property/"+e.id+"/",e).toPromise()},n.prototype.saveAddress=function(e){return this.saveAddressObservable(e).toPromise()},n.prototype.saveBrokerAddress=function(e){return this.saveBrokerAddressObservable(e).toPromise()},n.prototype.saveAddressObservable=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/addresses/",e)},n.prototype.saveBrokerAddressObservable=function(e){return this.httpService.post("/api/brokers/addresses/",e)},n.prototype.updateBrokerAddress=function(e){return this.updateBrokerAddressObservable(e).toPromise()},n.prototype.updateBrokerAddressObservable=function(e){return this.httpService.put("/api/brokers/address/"+e.id+"/",e)},n.prototype.updateAddress=function(e){return this.updateAddressObservable(e).toPromise()},n.prototype.updateAddressObservable=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/address/"+e.id+"/",e)},n.prototype.saveBorrowerAddress=function(e,n){return this.saveBorrowerAddressObservable(e,n).toPromise()},n.prototype.saveBorrowerAddressObservable=function(e,n){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/borrower/"+e+"/addresses/",n)},n.prototype.updateBorrowerAddress=function(e,n){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/borrower/"+e+"/addresses/",n).toPromise()},n.prototype.saveLoan=function(e){return this.saveLoanObservable(e).toPromise()},n.prototype.saveLoanObservableWithBroker=function(e,n,t,l,o,r){return this.httpService.post("/api/brokers/anonym/loans/"+n+"?broker_id="+(t||"")+"&introducer_email="+(l||"")+"&bdp_id="+(o||"")+"&flow_affiliate_id="+(r||""),e)},n.prototype.saveLoanObservableWithBrokerWithoutID=function(e,n,t,l,o,r){return this.httpService.post("/api/brokers/anonym/loans/?borrower_emails="+n+"&introducer_username="+t+"&broker_username="+(l||"")+"&bdp_username="+(o||"")+"&flow_affiliate_username="+(r||""),e)},n.prototype.saveLoanObservable=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loans/",e)},n.prototype.saveBrokerLoanObservable=function(e){return this.httpService.post("/api/brokers/borrowerloans/",e)},n.prototype.updateLoanObservable=function(e,n){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/loan/"+e+"/",n)},n.prototype.updateBrokerLoanObservable=function(e,n){return this.httpService.put("/api/brokers/loan/"+e+"/",n)},n.prototype.updateLoan=function(e,n){return this.updateLoanObservable(e,n).toPromise()},n.prototype.updateBrokerLoan=function(e,n){return this.updateBrokerLoanObservable(e,n).toPromise()},n.prototype.saveIncome=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/income/",e).toPromise()},n.prototype.saveBrokerIncome=function(e){return this.httpService.post("/api/brokers/income/",e).toPromise()},n.prototype.updateBrokerIncome=function(e){return this.httpService.put("/api/brokers/income/"+e.id+"/",e).toPromise()},n.prototype.updateIncome=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/income/"+e.id+"/",e).toPromise()},n.prototype.getFirstAddressForLoan=function(e){var n=this;return new Promise((function(t,l){if(e.borrowers&&e.borrowers.length>0){var o=Math.min.apply(Math,e.borrowers.map((function(e){return e.id})));n.httpService.get("/api/"+n.journeyService.currentJourney+"/properties/borrower/"+o+"/").toPromise().then((function(l){l&&l.length>0?(e.property=e.secured_by_properties[0],n.httpService.get("/api/"+n.journeyService.currentJourney+"/address/"+l[0].address+"/").toPromise().then((function(e){t(e)}),(function(e){t({})}))):t({})}),(function(e){t({})}))}}))},n.prototype.filterLoansByStatus=function(e,n,t){return e.filter((function(e){if(!e.stage)return!1;var l=+p.a[e.stage],o=!t||t(e);switch(n){case"to-be-submitted":return o&&(p.a.draft&l)===l;case"in-progress":return o&&((p.a.offer_in_principle|p.a.valuation|p.a.formal_offer|p.a.legal_review)&l)===l;case"to-be-accepted":return o&&(p.a.enquiry&l)===l;case"active":return o&&((p.a.drawdown|p.a.servicing|p.a.arrears)&l)===l;default:return!1}}))},n.prototype.postAddress=function(e,n,t,l){var o=this;this.errors={};var r=this.prepareAddress(e,n);this.saveAddress(r).then((function(r){o.postBorrower(e,r,n,t,l)}),(function(e){o.errors=f({},o.errors,e),l(o.errors,null)}))},n.prototype.prepareAddress=function(e,n){var t={address_line:e.fullAddresses.address_line,paon:"",saon:"",street_name:"",town:"",city:"",country:"",post_code:""};if(e.fullAddresses){var l=e.fullAddresses;t.address_line=""+l.address_line,t.post_code=l.postalCode,t.town=l.town,t.street_name=l.route,t.city=l.city,t.country=l.country}else{var o=t.address_line.split?t.address_line.split(", "):t.address_line.text.split(", ");t.post_code=o[0]||"",t.paon=o[1]||"",t.street_name=o[2]||"",t.city=o[3]||""}switch(n){case"uk":t.country="United Kingdom";break;case"us":t.country="United States"}return t},n.prototype.saveBorrowerWithAddress=function(e,n){var t=this;return this.addressService.saveAddress(n).pipe(Object(a.a)((function(n){return t.borrowerService.saveBorrower(e).pipe(Object(a.a)((function(e){return t.addressService.saveBorrowerAddress(e.id,{is_primary:!0,address:n.id,borrower:e.id}).pipe(Object(u.a)((function(t){return e.address=n,e})))})))})))},n.prototype.saveBrokerBorrowerWithAddress=function(e,n){var t=this;return this.addressService.saveBrokerAddress(n).pipe(Object(a.a)((function(n){return t.borrowerService.saveBorrower(e).pipe(Object(a.a)((function(e){return t.addressService.saveBorrowerAddress(e.id,{is_primary:!0,address:n.id,borrower:e.id}).pipe(Object(u.a)((function(t){return e.address=n,e})))})))})))},n.prototype.saveCorpBorrowerWithAddress=function(e,n){var t=this;return this.addressService.saveAddress(n).pipe(Object(a.a)((function(n){return t.borrowerService.saveCorpBorrower(e).pipe(Object(a.a)((function(e){return t.addressService.saveBorrowerAddress(e.id,{is_primary:!0,address:n.id,borrower:e.id}).pipe(Object(u.a)((function(t){return e.address=n,e})))})))})))},n.prototype.saveBrokerCorpBorrowerWithAddress=function(e,n){var t=this;return this.addressService.saveAddress(n).pipe(Object(a.a)((function(n){return t.borrowerService.saveBrokerCorpBorrower(e).pipe(Object(a.a)((function(e){return t.addressService.saveBrokerBorrowerAddress(e.id,{is_primary:!0,address:n.id,borrower:e.id}).pipe(Object(u.a)((function(t){return e.address=n,e})))})))})))},n.prototype.roundDecimal=function(e){if("string"!=typeof e)return e;var n=+e;return isNaN(n)?e:n-Math.floor(n)!=0?n.toFixed(2):n.toString()},n.prototype.postBorrower=function(e,n,t,l,o){var r=this,i={borrower_type:"individual",is_uk_resident:"yes",alias:"Borrower",first_name:e.borrower_first_name,last_name:e.borrower_last_name,birth_date:e.borrower_birth_date,gender:e.borrower_gender,email:e.borrower_email,net_worth:null,picture:null,description:""};i.is_uk_resident="uk"==t?"yes":"no",this.saveBorrower(i).then((function(t){r.postProperty(e,t,n,l,o)}),(function(e){r.errors=f({},r.errors,e),o(r.errors,null)}))},n.prototype.postProperty=function(e,n,t,l,o){var r=this;this.saveProperty({owners:[n.id],type:e.property_type,address:t.id,security_for_loan:null,owner_estimate:e.loan_request_estimated_value,number_of_bedrooms:e.property_number_of_bedrooms,number_of_bathrooms:e.property_number_of_bathrooms,size_in_sqft:e.property_size,description:e.use_of_funds,ownership:e.property_ownership}).then((function(t){r.postPropertyImage(t,l),r.postLoan(e,t,n.id,o)}),(function(e){r.errors=f({},r.errors,e),o(r.errors,null)}))},n.prototype.postPropertyImage=function(e,n){this.httpService.post("/api/"+this.journeyService.currentJourney+"/property/image/",{latitude:n.lat.toFixed(7),longitude:n.lng.toFixed(7),for_property:e.id,width:300,height:300}).subscribe()},n.prototype.postLoan=function(e,n,t,l){var o=this,r=f({},e);r.secured_by_properties=[n.id],r.borrowers=[t],r.brokers=[],r.is_completed=!1,r.loan_is_active=!1,this.loanRepository.save(r).subscribe((function(e){o.lastSavedLoan=e,l&&l(null,e)}),(function(e){o.errors=f({},o.errors,e),l(o.errors,null)}))},n}()}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"k",(function(){return V})),t.d(n,"l",(function(){return F})),t.d(n,"c",(function(){return i})),t.d(n,"i",(function(){return O})),t.d(n,"a",(function(){return k})),t.d(n,"f",(function(){return M})),t.d(n,"b",(function(){return f})),t.d(n,"g",(function(){return p})),t.d(n,"d",(function(){return D})),t.d(n,"e",(function(){return L})),t.d(n,"j",(function(){return g})),t.d(n,"h",(function(){return b}));var l=t(3),o=(t(0),t(28)),r=t(13),i=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),a=function(e){return e[e.Get=0]="Get",e[e.Post=1]="Post",e[e.Put=2]="Put",e[e.Delete=3]="Delete",e[e.Options=4]="Options",e[e.Head=5]="Head",e[e.Patch=6]="Patch",e}({}),u=function(e){return e[e.Basic=0]="Basic",e[e.Cors=1]="Cors",e[e.Default=2]="Default",e[e.Error=3]="Error",e[e.Opaque=4]="Opaque",e}({}),s=function(e){return e[e.NONE=0]="NONE",e[e.JSON=1]="JSON",e[e.FORM=2]="FORM",e[e.FORM_DATA=3]="FORM_DATA",e[e.TEXT=4]="TEXT",e[e.BLOB=5]="BLOB",e[e.ARRAY_BUFFER=6]="ARRAY_BUFFER",e}({}),d=function(e){return e[e.Text=0]="Text",e[e.Json=1]="Json",e[e.ArrayBuffer=2]="ArrayBuffer",e[e.Blob=3]="Blob",e}({}),c=function(){function e(n){var t=this;this._headers=new Map,this._normalizedNames=new Map,n&&(n instanceof e?n.forEach((function(e,n){e.forEach((function(e){return t.append(n,e)}))})):Object.keys(n).forEach((function(e){var l=Array.isArray(n[e])?n[e]:[n[e]];t.delete(e),l.forEach((function(n){return t.append(e,n)}))})))}return e.fromResponseHeaderString=function(n){var t=new e;return n.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>0){var l=e.slice(0,n),o=e.slice(n+1).trim();t.set(l,o)}})),t},e.prototype.append=function(e,n){var t=this.getAll(e);null===t?this.set(e,n):t.push(n)},e.prototype.delete=function(e){var n=e.toLowerCase();this._normalizedNames.delete(n),this._headers.delete(n)},e.prototype.forEach=function(e){var n=this;this._headers.forEach((function(t,l){return e(t,n._normalizedNames.get(l),n._headers)}))},e.prototype.get=function(e){var n=this.getAll(e);return null===n?null:n.length>0?n[0]:null},e.prototype.has=function(e){return this._headers.has(e.toLowerCase())},e.prototype.keys=function(){return Array.from(this._normalizedNames.values())},e.prototype.set=function(e,n){Array.isArray(n)?n.length&&this._headers.set(e.toLowerCase(),[n.join(",")]):this._headers.set(e.toLowerCase(),[n]),this.mayBeSetNormalizedName(e)},e.prototype.values=function(){return Array.from(this._headers.values())},e.prototype.toJSON=function(){var e=this,n={};return this._headers.forEach((function(t,o){var r=[];t.forEach((function(e){return r.push.apply(r,Object(l.i)(e.split(",")))})),n[e._normalizedNames.get(o)]=r})),n},e.prototype.getAll=function(e){return this.has(e)&&this._headers.get(e.toLowerCase())||null},e.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},e.prototype.mayBeSetNormalizedName=function(e){var n=e.toLowerCase();this._normalizedNames.has(n)||this._normalizedNames.set(n,e)},e}(),p=function(){function e(e){void 0===e&&(e={});var n=e.body,t=e.status,l=e.headers,o=e.statusText,r=e.type,i=e.url;this.body=null!=n?n:null,this.status=null!=t?t:null,this.headers=null!=l?l:null,this.statusText=null!=o?o:null,this.type=null!=r?r:null,this.url=null!=i?i:null}return e.prototype.merge=function(n){return new e({body:n&&null!=n.body?n.body:this.body,status:n&&null!=n.status?n.status:this.status,headers:n&&null!=n.headers?n.headers:this.headers,statusText:n&&null!=n.statusText?n.statusText:this.statusText,type:n&&null!=n.type?n.type:this.type,url:n&&null!=n.url?n.url:this.url})},e}(),f=function(e){function n(){return e.call(this,{status:200,statusText:"Ok",type:u.Default,headers:new c})||this}return Object(l.d)(n,e),n}(p),g=function(){};function h(e){if("string"!=typeof e)return e;switch(e.toUpperCase()){case"GET":return a.Get;case"POST":return a.Post;case"PUT":return a.Put;case"DELETE":return a.Delete;case"OPTIONS":return a.Options;case"HEAD":return a.Head;case"PATCH":return a.Patch}throw new Error('Invalid request method. The method "'+e+'" is not supported.')}var m=function(){function e(){}return e.prototype.encodeKey=function(e){return v(e)},e.prototype.encodeValue=function(e){return v(e)},e}();function v(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var b=function(){function e(e,n){void 0===e&&(e=""),void 0===n&&(n=new m),this.rawParams=e,this.queryEncoder=n,this.paramsMap=function(e){void 0===e&&(e="");var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var t=e.indexOf("="),o=Object(l.h)(-1==t?[e,""]:[e.slice(0,t),e.slice(t+1)],2),r=o[0],i=o[1],a=n.get(r)||[];a.push(i),n.set(r,a)})),n}(e)}return e.prototype.clone=function(){var n=new e("",this.queryEncoder);return n.appendAll(this),n},e.prototype.has=function(e){return this.paramsMap.has(e)},e.prototype.get=function(e){var n=this.paramsMap.get(e);return Array.isArray(n)?n[0]:null},e.prototype.getAll=function(e){return this.paramsMap.get(e)||[]},e.prototype.set=function(e,n){if(null!=n){var t=this.paramsMap.get(e)||[];t.length=0,t.push(n),this.paramsMap.set(e,t)}else this.delete(e)},e.prototype.setAll=function(e){var n=this;e.paramsMap.forEach((function(e,t){var l=n.paramsMap.get(t)||[];l.length=0,l.push(e[0]),n.paramsMap.set(t,l)}))},e.prototype.append=function(e,n){if(null!=n){var t=this.paramsMap.get(e)||[];t.push(n),this.paramsMap.set(e,t)}},e.prototype.appendAll=function(e){var n=this;e.paramsMap.forEach((function(e,t){for(var l=n.paramsMap.get(t)||[],o=0;o=200&&t.status<=299,t.statusText=n.statusText,t.headers=n.headers,t.type=n.type,t.url=n.url,t}return Object(l.d)(n,e),n.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},n}(_),w=/^\)\]\}',?\n/,C=function(){function e(e,n,t){var l=this;this.request=e,this.response=new o.a((function(o){var r=n.build();r.open(a[e.method].toUpperCase(),e.url),null!=e.withCredentials&&(r.withCredentials=e.withCredentials);var i=function(){var n=1223===r.status?204:r.status,l=null;204!==n&&"string"==typeof(l=void 0===r.response?r.responseText:r.response)&&(l=l.replace(w,"")),0===n&&(n=l?200:0);var i,a=c.fromResponseHeaderString(r.getAllResponseHeaders()),u=("responseURL"in(i=r)?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null)||e.url,s=new p({body:l,status:n,headers:a,statusText:r.statusText||"OK",url:u});null!=t&&(s=t.merge(s));var d=new y(s);if(d.ok=function(e){return e>=200&&e<300}(n),d.ok)return o.next(d),void o.complete();o.error(d)},s=function(e){var n=new p({body:e,type:u.Error,status:r.status,statusText:r.statusText});null!=t&&(n=t.merge(n)),o.error(new y(n))};if(l.setDetectedContentType(e,r),null==e.headers&&(e.headers=new c),e.headers.has("Accept")||e.headers.append("Accept","application/json, text/plain, */*"),e.headers.forEach((function(e,n){return r.setRequestHeader(n,e.join(","))})),null!=e.responseType&&null!=r.responseType)switch(e.responseType){case d.ArrayBuffer:r.responseType="arraybuffer";break;case d.Json:r.responseType="json";break;case d.Text:r.responseType="text";break;case d.Blob:r.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return r.addEventListener("load",i),r.addEventListener("error",s),r.send(l.request.getBody()),function(){r.removeEventListener("load",i),r.removeEventListener("error",s),r.abort()}}))}return e.prototype.setDetectedContentType=function(e,n){if(null==e.headers||null==e.headers.get("Content-Type"))switch(e.contentType){case s.NONE:break;case s.JSON:n.setRequestHeader("content-type","application/json");break;case s.FORM:n.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case s.TEXT:n.setRequestHeader("content-type","text/plain");break;case s.BLOB:var t=e.blob();t.type&&n.setRequestHeader("content-type",t.type)}},e}(),x=function(){function e(e,n){void 0===e&&(e="XSRF-TOKEN"),void 0===n&&(n="X-XSRF-TOKEN"),this._cookieName=e,this._headerName=n}return e.prototype.configureRequest=function(e){var n=Object(r["ɵgetDOM"])().getCookie(this._cookieName);n&&e.headers.set(this._headerName,n)},e}(),O=function(){function e(e,n,t){this._browserXHR=e,this._baseResponseOptions=n,this._xsrfStrategy=t}return e.prototype.createConnection=function(e){return this._xsrfStrategy.configureRequest(e),new C(e,this._browserXHR,this._baseResponseOptions)},e}(),M=function(){function e(e){void 0===e&&(e={});var n=e.method,t=e.headers,l=e.body,o=e.url,r=e.search,i=e.params,a=e.withCredentials,u=e.responseType;this.method=null!=n?h(n):null,this.headers=null!=t?t:null,this.body=null!=l?l:null,this.url=null!=o?o:null,this.params=this._mergeSearchParams(i||r),this.withCredentials=null!=a?a:null,this.responseType=null!=u?u:null}return Object.defineProperty(e.prototype,"search",{get:function(){return this.params},set:function(e){this.params=e},enumerable:!0,configurable:!0}),e.prototype.merge=function(n){return new e({method:n&&null!=n.method?n.method:this.method,headers:n&&null!=n.headers?n.headers:new c(this.headers),body:n&&null!=n.body?n.body:this.body,url:n&&null!=n.url?n.url:this.url,params:n&&this._mergeSearchParams(n.params||n.search),withCredentials:n&&null!=n.withCredentials?n.withCredentials:this.withCredentials,responseType:n&&null!=n.responseType?n.responseType:this.responseType})},e.prototype._mergeSearchParams=function(e){return e?e instanceof b?e.clone():"string"==typeof e?new b(e):this._parseParams(e):this.params},e.prototype._parseParams=function(e){var n=this;void 0===e&&(e={});var t=new b;return Object.keys(e).forEach((function(l){var o=e[l];Array.isArray(o)?o.forEach((function(e){return n._appendParam(l,e,t)})):n._appendParam(l,o,t)})),t},e.prototype._appendParam=function(e,n,t){"string"!=typeof n&&(n=JSON.stringify(n)),t.append(e,n)},e}(),k=function(e){function n(){return e.call(this,{method:a.Get,headers:new c})||this}return Object(l.d)(n,e),n}(M),A=function(e){function n(n){var t=e.call(this)||this,l=n.url;t.url=n.url;var o,r=n.params||n.search;if(r&&(o="object"!=typeof r||r instanceof b?r.toString():function(e){var n=new b;return Object.keys(e).forEach((function(t){var l=e[t];l&&Array.isArray(l)?l.forEach((function(e){return n.append(t,e.toString())})):n.append(t,l.toString())})),n}(r).toString()).length>0){var i="?";-1!=t.url.indexOf("?")&&(i="&"==t.url[t.url.length-1]?"":"&"),t.url=l+i+o}return t._body=n.body,t.method=h(n.method),t.headers=new c(n.headers),t.contentType=t.detectContentType(),t.withCredentials=n.withCredentials,t.responseType=n.responseType,t}return Object(l.d)(n,e),n.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return s.JSON;case"application/x-www-form-urlencoded":return s.FORM;case"multipart/form-data":return s.FORM_DATA;case"text/plain":case"text/html":return s.TEXT;case"application/octet-stream":return this._body instanceof E?s.ARRAY_BUFFER:s.BLOB;default:return this.detectContentTypeFromBody()}},n.prototype.detectContentTypeFromBody=function(){return null==this._body?s.NONE:this._body instanceof b?s.FORM:this._body instanceof R?s.FORM_DATA:this._body instanceof I?s.BLOB:this._body instanceof E?s.ARRAY_BUFFER:this._body&&"object"==typeof this._body?s.JSON:s.TEXT},n.prototype.getBody=function(){switch(this.contentType){case s.JSON:case s.FORM:return this.text();case s.FORM_DATA:return this._body;case s.TEXT:return this.text();case s.BLOB:return this.blob();case s.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},n}(_),P=function(){},S="object"==typeof window?window:P,R=S.FormData||P,I=S.Blob||P,E=S.ArrayBuffer||P;function N(e,n){return e.createConnection(n).response}function T(e,n,t,l){return e.merge(new M(n?{method:n.method||t,url:n.url||l,search:n.search,params:n.params,headers:n.headers,body:n.body,withCredentials:n.withCredentials,responseType:n.responseType}:{method:t,url:l}))}var D=function(){function e(e,n){this._backend=e,this._defaultOptions=n}return e.prototype.request=function(e,n){var t;if("string"==typeof e)t=N(this._backend,new A(T(this._defaultOptions,n,a.Get,e)));else{if(!(e instanceof A))throw new Error("First argument must be a url string or Request instance.");t=N(this._backend,e)}return t},e.prototype.get=function(e,n){return this.request(new A(T(this._defaultOptions,n,a.Get,e)))},e.prototype.post=function(e,n,t){return this.request(new A(T(this._defaultOptions.merge(new M({body:n})),t,a.Post,e)))},e.prototype.put=function(e,n,t){return this.request(new A(T(this._defaultOptions.merge(new M({body:n})),t,a.Put,e)))},e.prototype.delete=function(e,n){return this.request(new A(T(this._defaultOptions,n,a.Delete,e)))},e.prototype.patch=function(e,n,t){return this.request(new A(T(this._defaultOptions.merge(new M({body:n})),t,a.Patch,e)))},e.prototype.head=function(e,n){return this.request(new A(T(this._defaultOptions,n,a.Head,e)))},e.prototype.options=function(e,n){return this.request(new A(T(this._defaultOptions,n,a.Options,e)))},e}();function V(){return new x}function F(e,n){return new D(e,n)}var L=function(){}},function(e,n,t){"use strict";t.d(n,"d",(function(){return l})),t.d(n,"e",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return a})),t(36),t(22);var l=function(){function e(e,n){this.loanService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.loanService.getAll()},e}(),o=function(){function e(e,n){this.loanService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.loanService.prepareLoanObsevable(this.loanService.getAllWithStatus(e.params.loanStatus),!1)},e}(),r=function(){function e(e,n){this.loanService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.loanService.getById(e.params.loanId)},e}(),i=function(){function e(e,n){this.loanService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.loanService.getBrokerLoanById(e.params.loanId)},e}(),a=function(){function e(e,n){this.loanService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.loanService.getOIPById(e.params.loanId)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t(24),t(36);var l=t(26),o=t(109),r=t(9),i=t(87),a=(t(11),t(15),function(){function e(e,n,t,l){this.httpService=e,this.loanService=n,this.configService=t,this.journeyService=l}return e.prototype.saveImage=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/image/",e)},e.prototype.saveImageWithProgress=function(e){return this.uploadFileWithProgress("/api/"+this.journeyService.currentJourney+"/image/",e)},e.prototype.getImage=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/image/"+e+"/")},e.prototype.uploadPropertyDocs=function(e,n){var t=new l.HttpHeaders;return t=(t=t.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+n.name),this.uploadFileWithProgress("https://flow.brydg.com/api/"+this.journeyService.currentJourney+"/loan/"+e+"/property/document/upload/",n,t)},e.prototype.uploadPropertyImage=function(e,n){var t=new l.HttpHeaders;return t=(t=t.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+n.name),this.uploadFileWithProgress("https://flow.brydg.com/api/"+this.journeyService.currentJourney+"/loan/"+e+"/property/image/upload/",n,t)},e.prototype.deletePropertyDocs=function(e,n){return this.deleteFile("/api/"+this.journeyService.currentJourney+"/loan/"+e+"/document/"+n+"/")},e.prototype.deleteBrokerPropertyDocs=function(e,n){return this.deleteFile("/api/brokers/loan/"+e+"/document/"+n+"/")},e.prototype.deletePropertyImage=function(e,n){return this.deleteFile("/api/"+this.journeyService.currentJourney+"/loan/"+e+"/document/"+n+"/")},e.prototype.uploadBrokerPortfolioDocs=function(e,n,t){var o=new l.HttpHeaders;return o=(o=o.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+t.name),this.uploadFile("https://flow.brydg.com/api/brokers/loan/"+e+"/borrower/"+n+"/portfolio/upload/",t,o)},e.prototype.uploadBrokerPDFId=function(e,n,t){var o=new l.HttpHeaders;return o=(o=o.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+t.name),this.uploadFileWithProgress("https://flow.brydg.com/api/brokers/loan/"+e+"/borrower/"+n+"/ID/upload/",t,o)},e.prototype.uploadPortfolioDocs=function(e,n,t){var o=new l.HttpHeaders;return o=(o=o.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+t.name),this.uploadFile("https://flow.brydg.com/api/"+this.journeyService.currentJourney+"/loan/"+e+"/borrower/"+n+"/portfolio/upload/",t,o)},e.prototype.uploadPDFId=function(e,n,t){var o=new l.HttpHeaders;return o=(o=o.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+t.name),this.uploadFileWithProgress("https://flow.brydg.com/api/"+this.journeyService.currentJourney+"/loan/"+e+"/borrower/"+n+"/ID/upload/",t,o)},e.prototype.uploadChatAttachmens=function(e,n){var t=this,l=[];return n.forEach((function(n){l.push(t.uploadChatAttachmen(e,n))})),Object(o.a)(l)},e.prototype.uploadChatAttachmen=function(e,n){var t=new l.HttpHeaders;return t=(t=t.set("Content-Type","application/octet-stream")).set("Content-Disposition","attachment; filename="+n.name),this.uploadFile("https://flow.brydg.com/api/"+this.journeyService.currentJourney+"/message/"+e+"/attachment/",n,t)},e.prototype.downloadOfferPDF=function(e){return this.downloadFile("/api/media/offers/"+e,!0)},e.prototype.downloadFile=function(e,n){return void 0===n&&(n=!1),this.httpService.getBlob(""+this.configService.api+e,n)},e.prototype.downloadFiles=function(e){var n=this,t=[];return e.forEach((function(e){t.push(n.downloadFile(e))})),Object(o.a)(t)},e.prototype.changeOrder=function(e,n){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/loan/"+e+"/property/document/change-order/",n)},e.prototype.uploadFile=function(e,n,t){return void 0===n&&(n=null),void 0===t&&(t=new l.HttpHeaders),this.httpService.post(e,n,{headers:t}).pipe(Object(r.a)((function(e){return e})),Object(i.a)((function(e){return"Error received from the API"})))},e.prototype.uploadFileWithProgress=function(e,n,t){return void 0===n&&(n=null),void 0===t&&(t=new l.HttpHeaders),this.httpService.post(e,n,{headers:t,reportProgress:!0,observe:"events"}).pipe(Object(r.a)((function(e){return e})),Object(i.a)((function(e){return"Error received from the API"})))},e.prototype.deleteFile=function(e,n){return void 0===n&&(n=new l.HttpHeaders),this.httpService.delete(e,{headers:n}).pipe(Object(r.a)((function(e){return e})),Object(i.a)((function(e){return"Error received from the API"})))},e}())},function(e,n,t){"use strict";t.r(n);var l=t(3),o=t(71),r=t(42),i=t(30),a=t(29);function u(e){return function(n){return n.lift(new s(e))}}var s=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,n){return n.subscribe(new d(e,this.durationSelector))},e}(),d=function(e){function n(n,t){var l=e.call(this,n)||this;return l.durationSelector=t,l.hasValue=!1,l}return l.d(n,e),n.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var n=Object(o.a)(this.durationSelector)(e);if(n===r.a)this.destination.error(r.a.e);else{var t=Object(a.a)(this,n);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}}},n.prototype.clearThrottle=function(){var e=this.value,n=this.hasValue,t=this.throttled;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},n.prototype.notifyNext=function(e,n,t,l){this.clearThrottle()},n.prototype.notifyComplete=function(){this.clearThrottle()},n}(i.a),c=t(65),p=t(237);function f(e,n){return void 0===n&&(n=c.a),u((function(){return Object(p.a)(e,n)}))}function g(e){return function(n){return n.lift(new h(e))}}var h=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,n){return n.subscribe(new m(e,this.closingNotifier))},e}(),m=function(e){function n(n,t){var l=e.call(this,n)||this;return l.buffer=[],l.add(Object(a.a)(l,t)),l}return l.d(n,e),n.prototype._next=function(e){this.buffer.push(e)},n.prototype.notifyNext=function(e,n,t,l,o){var r=this.buffer;this.buffer=[],this.destination.next(r)},n}(i.a),v=t(16);function b(e,n){return void 0===n&&(n=null),function(t){return t.lift(new _(e,n))}}var _=function(){function e(e,n){this.bufferSize=e,this.startBufferEvery=n,this.subscriberClass=n&&e!==n?w:y}return e.prototype.call=function(e,n){return n.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),y=function(e){function n(n,t){var l=e.call(this,n)||this;return l.bufferSize=t,l.buffer=[],l}return l.d(n,e),n.prototype._next=function(e){var n=this.buffer;n.push(e),n.length==this.bufferSize&&(this.destination.next(n),this.buffer=[])},n.prototype._complete=function(){var n=this.buffer;n.length>0&&this.destination.next(n),e.prototype._complete.call(this)},n}(v.a),w=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.bufferSize=t,o.startBufferEvery=l,o.buffers=[],o.count=0,o}return l.d(n,e),n.prototype._next=function(e){var n=this.bufferSize,t=this.startBufferEvery,l=this.buffers,o=this.count;this.count++,o%t==0&&l.push([]);for(var r=l.length;r--;){var i=l[r];i.push(e),i.length===n&&(l.splice(r,1),this.destination.next(i))}},n.prototype._complete=function(){for(var n=this.buffers,t=this.destination;n.length>0;){var l=n.shift();l.length>0&&t.next(l)}e.prototype._complete.call(this)},n}(v.a),C=t(81);function x(e){var n=arguments.length,t=c.a;Object(C.a)(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],n--);var l=null;n>=2&&(l=arguments[1]);var o=Number.POSITIVE_INFINITY;return n>=3&&(o=arguments[2]),function(n){return n.lift(new O(e,l,o,t))}}var O=function(){function e(e,n,t,l){this.bufferTimeSpan=e,this.bufferCreationInterval=n,this.maxBufferSize=t,this.scheduler=l}return e.prototype.call=function(e,n){return n.subscribe(new M(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),M=function(e){function n(n,t,l,o,r){var i=e.call(this,n)||this;i.bufferTimeSpan=t,i.bufferCreationInterval=l,i.maxBufferSize=o,i.scheduler=r,i.contexts=[];var a=i.openContext();if(i.timespanOnly=null==l||l<0,i.timespanOnly)i.add(a.closeAction=r.schedule(k,t,{subscriber:i,context:a,bufferTimeSpan:t}));else{var u={bufferTimeSpan:t,bufferCreationInterval:l,subscriber:i,scheduler:r};i.add(a.closeAction=r.schedule(P,t,{subscriber:i,context:a})),i.add(r.schedule(A,l,u))}return i}return l.d(n,e),n.prototype._next=function(e){for(var n,t=this.contexts,l=t.length,o=0;o0;){var l=n.shift();t.next(l.buffer)}e.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.contexts=null},n.prototype.onBufferFull=function(e){this.closeContext(e);var n=e.closeAction;if(n.unsubscribe(),this.remove(n),!this.closed&&this.timespanOnly){e=this.openContext();var t=this.bufferTimeSpan;this.add(e.closeAction=this.scheduler.schedule(k,t,{subscriber:this,context:e,bufferTimeSpan:t}))}},n.prototype.openContext=function(){var e=new function(){this.buffer=[]};return this.contexts.push(e),e},n.prototype.closeContext=function(e){this.destination.next(e.buffer);var n=this.contexts;(n?n.indexOf(e):-1)>=0&&n.splice(n.indexOf(e),1)},n}(v.a);function k(e){var n=e.subscriber,t=e.context;t&&n.closeContext(t),n.closed||(e.context=n.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function A(e){var n=e.bufferCreationInterval,t=e.bufferTimeSpan,l=e.subscriber,o=e.scheduler,r=l.openContext();l.closed||(l.add(r.closeAction=o.schedule(P,t,{subscriber:l,context:r})),this.schedule(e,n))}function P(e){e.subscriber.closeContext(e.context)}var S=t(46);function R(e,n){return function(t){return t.lift(new I(e,n))}}var I=function(){function e(e,n){this.openings=e,this.closingSelector=n}return e.prototype.call=function(e,n){return n.subscribe(new E(e,this.openings,this.closingSelector))},e}(),E=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.openings=t,o.closingSelector=l,o.contexts=[],o.add(Object(a.a)(o,t)),o}return l.d(n,e),n.prototype._next=function(e){for(var n=this.contexts,t=n.length,l=0;l0;){var l=t.shift();l.subscription.unsubscribe(),l.buffer=null,l.subscription=null}this.contexts=null,e.prototype._error.call(this,n)},n.prototype._complete=function(){for(var n=this.contexts;n.length>0;){var t=n.shift();this.destination.next(t.buffer),t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,e.prototype._complete.call(this)},n.prototype.notifyNext=function(e,n,t,l,o){e?this.closeBuffer(e):this.openBuffer(n)},n.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},n.prototype.openBuffer=function(e){try{var n=this.closingSelector.call(this,e);n&&this.trySubscribe(n)}catch(e){this._error(e)}},n.prototype.closeBuffer=function(e){var n=this.contexts;if(n&&e){var t=e.subscription;this.destination.next(e.buffer),n.splice(n.indexOf(e),1),this.remove(t),t.unsubscribe()}},n.prototype.trySubscribe=function(e){var n=this.contexts,t=new S.a,l={buffer:[],subscription:t};n.push(l);var o=Object(a.a)(this,e,l);!o||o.closed?this.closeBuffer(l):(o.context=l,this.add(o),t.add(o))},n}(i.a);function N(e){return function(n){return n.lift(new T(e))}}var T=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,n){return n.subscribe(new D(e,this.closingSelector))},e}(),D=function(e){function n(n,t){var l=e.call(this,n)||this;return l.closingSelector=t,l.subscribing=!1,l.openBuffer(),l}return l.d(n,e),n.prototype._next=function(e){this.buffer.push(e)},n.prototype._complete=function(){var n=this.buffer;n&&this.destination.next(n),e.prototype._complete.call(this)},n.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},n.prototype.notifyNext=function(e,n,t,l,o){this.openBuffer()},n.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},n.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var n=Object(o.a)(this.closingSelector)();n===r.a?this.error(r.a.e):(e=new S.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(a.a)(this,n)),this.subscribing=!1)},n}(i.a),V=t(87),F=t(253);function L(e){return function(n){return n.lift(new F.a(e))}}var q=t(80),B=t(67);function j(){for(var e=[],n=0;n0&&t[0].time-l.now()<=0;)t.shift().notification.observe(o);if(t.length>0){var r=Math.max(0,t[0].time-l.now());this.schedule(e,r)}else this.unsubscribe(),n.active=!1},n.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},n.prototype.scheduleNotification=function(e){if(!0!==this.errored){var n=this.scheduler,t=new se(n.now()+this.delay,e);this.queue.push(t),!1===this.active&&this._schedule(n)}},n.prototype._next=function(e){this.scheduleNotification(re.createNext(e))},n.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},n.prototype._complete=function(){this.scheduleNotification(re.createComplete()),this.unsubscribe()},n}(v.a),se=function(e,n){this.time=e,this.notification=n},de=t(28);function ce(e,n){return n?function(t){return new ge(t,n).lift(new pe(e))}:function(n){return n.lift(new pe(e))}}var pe=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,n){return n.subscribe(new fe(e,this.delayDurationSelector))},e}(),fe=function(e){function n(n,t){var l=e.call(this,n)||this;return l.delayDurationSelector=t,l.completed=!1,l.delayNotifierSubscriptions=[],l.index=0,l}return l.d(n,e),n.prototype.notifyNext=function(e,n,t,l,o){this.destination.next(e),this.removeSubscription(o),this.tryComplete()},n.prototype.notifyError=function(e,n){this._error(e)},n.prototype.notifyComplete=function(e){var n=this.removeSubscription(e);n&&this.destination.next(n),this.tryComplete()},n.prototype._next=function(e){var n=this.index++;try{var t=this.delayDurationSelector(e,n);t&&this.tryDelay(t,e)}catch(e){this.destination.error(e)}},n.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},n.prototype.removeSubscription=function(e){e.unsubscribe();var n=this.delayNotifierSubscriptions.indexOf(e);return-1!==n&&this.delayNotifierSubscriptions.splice(n,1),e.outerValue},n.prototype.tryDelay=function(e,n){var t=Object(a.a)(this,e,n);t&&!t.closed&&(this.destination.add(t),this.delayNotifierSubscriptions.push(t))},n.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},n}(i.a),ge=function(e){function n(n,t){var l=e.call(this)||this;return l.source=n,l.subscriptionDelay=t,l}return l.d(n,e),n.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new he(e,this.source))},n}(de.a),he=function(e){function n(n,t){var l=e.call(this)||this;return l.parent=n,l.source=t,l.sourceSubscribed=!1,l}return l.d(n,e),n.prototype._next=function(e){this.subscribeToSource()},n.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},n.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},n.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},n}(v.a);function me(){return function(e){return e.lift(new ve)}}var ve=function(){function e(){}return e.prototype.call=function(e,n){return n.subscribe(new be(e))},e}(),be=function(e){function n(n){return e.call(this,n)||this}return l.d(n,e),n.prototype._next=function(e){e.observe(this.destination)},n}(v.a);function _e(e,n){return function(t){return t.lift(new ye(e,n))}}var ye=function(){function e(e,n){this.keySelector=e,this.flushes=n}return e.prototype.call=function(e,n){return n.subscribe(new we(e,this.keySelector,this.flushes))},e}(),we=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.keySelector=t,o.values=new Set,l&&o.add(Object(a.a)(o,l)),o}return l.d(n,e),n.prototype.notifyNext=function(e,n,t,l,o){this.values.clear()},n.prototype.notifyError=function(e,n){this._error(e)},n.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},n.prototype._useKeySelector=function(e){var n,t=this.destination;try{n=this.keySelector(e)}catch(e){return void t.error(e)}this._finalizeNext(n,e)},n.prototype._finalizeNext=function(e,n){var t=this.values;t.has(e)||(t.add(e),this.destination.next(n))},n}(i.a);function Ce(e,n){return function(t){return t.lift(new xe(e,n))}}var xe=function(){function e(e,n){this.compare=e,this.keySelector=n}return e.prototype.call=function(e,n){return n.subscribe(new Oe(e,this.compare,this.keySelector))},e}(),Oe=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.keySelector=l,o.hasKey=!1,"function"==typeof t&&(o.compare=t),o}return l.d(n,e),n.prototype.compare=function(e,n){return e===n},n.prototype._next=function(e){var n=e;if(this.keySelector&&(n=Object(o.a)(this.keySelector)(e))===r.a)return this.destination.error(r.a.e);var t=!1;if(this.hasKey){if((t=Object(o.a)(this.compare)(this.key,n))===r.a)return this.destination.error(r.a.e)}else this.hasKey=!0;!1===Boolean(t)&&(this.key=n,this.destination.next(e))},n}(v.a);function Me(e,n){return Ce((function(t,l){return n?n(t[e],l[e]):t[e]===l[e]}))}var ke=t(169),Ae=t(62),Pe=t(184),Se=t(186);function Re(e,n){if(e<0)throw new ke.a;var t=arguments.length>=2;return function(l){return l.pipe(Object(Ae.a)((function(n,t){return t===e})),Object(Se.a)(1),t?Object(ee.a)(n):Object(Pe.a)((function(){return new ke.a})))}}var Ie=t(97),Ee=t(226);function Ne(){for(var e=[],n=0;n0?Object($.a)(n,Object(Ie.a)(e,t)):Object($.a)(n,Object(te.b)(t)):Object($.a)(n,Object(Ee.a)(e[0]))}}var Te=t(350);function De(){return function(e){return e.lift(new Ve)}}var Ve=function(){function e(){}return e.prototype.call=function(e,n){return n.subscribe(new Fe(e))},e}(),Fe=function(e){function n(n){var t=e.call(this,n)||this;return t.hasCompleted=!1,t.hasSubscription=!1,t}return l.d(n,e),n.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(a.a)(this,e)))},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},n.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(i.a),Le=t(104),qe=t(9);function Be(e,n){return n?function(t){return t.pipe(Be((function(t,l){return Object(B.a)(e(t,l)).pipe(Object(qe.a)((function(e,o){return n(t,e,l,o)})))})))}:function(n){return n.lift(new je(e))}}var je=function(){function e(e){this.project=e}return e.prototype.call=function(e,n){return n.subscribe(new $e(e,this.project))},e}(),$e=function(e){function n(n,t){var l=e.call(this,n)||this;return l.project=t,l.hasSubscription=!1,l.hasCompleted=!1,l.index=0,l}return l.d(n,e),n.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},n.prototype.tryNext=function(e){var n,t=this.index++;try{n=this.project(e,t)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(n,e,t)},n.prototype._innerSub=function(e,n,t){var l=new Le.a(this,void 0,void 0);this.destination.add(l),Object(a.a)(this,e,n,t,l)},n.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},n.prototype.notifyNext=function(e,n,t,l,o){this.destination.next(n)},n.prototype.notifyError=function(e){this.destination.error(e)},n.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},n}(i.a);function Ue(e,n,t){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===t&&(t=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(l){return l.lift(new Ge(e,n,t))}}var Ge=function(){function e(e,n,t){this.project=e,this.concurrent=n,this.scheduler=t}return e.prototype.call=function(e,n){return n.subscribe(new ze(e,this.project,this.concurrent,this.scheduler))},e}(),ze=function(e){function n(n,t,l,o){var r=e.call(this,n)||this;return r.project=t,r.concurrent=l,r.scheduler=o,r.index=0,r.active=0,r.hasCompleted=!1,l0&&this._next(n.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},n}(i.a),We=t(351);function He(e,n){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(t){return t.lift(new Ye(e,t,!1,n))}}var Ye=function(){function e(e,n,t,l){this.predicate=e,this.source=n,this.yieldIndex=t,this.thisArg=l}return e.prototype.call=function(e,n){return n.subscribe(new Ke(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}(),Ke=function(e){function n(n,t,l,o,r){var i=e.call(this,n)||this;return i.predicate=t,i.source=l,i.yieldIndex=o,i.thisArg=r,i.index=0,i}return l.d(n,e),n.prototype.notifyComplete=function(e){var n=this.destination;n.next(e),n.complete(),this.unsubscribe()},n.prototype._next=function(e){var n=this.predicate,t=this.thisArg,l=this.index++;try{n.call(t||this,e,l,this.source)&&this.notifyComplete(this.yieldIndex?l:e)}catch(e){this.destination.error(e)}},n.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},n}(v.a);function Je(e,n){return function(t){return t.lift(new Ye(e,t,!0,n))}}var Qe=t(172),Ze=t(43);function Xe(e,n,t,l){return function(o){return o.lift(new en(e,n,t,l))}}var en=function(){function e(e,n,t,l){this.keySelector=e,this.elementSelector=n,this.durationSelector=t,this.subjectSelector=l}return e.prototype.call=function(e,n){return n.subscribe(new nn(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),nn=function(e){function n(n,t,l,o,r){var i=e.call(this,n)||this;return i.keySelector=t,i.elementSelector=l,i.durationSelector=o,i.subjectSelector=r,i.groups=null,i.attemptedToUnsubscribe=!1,i.count=0,i}return l.d(n,e),n.prototype._next=function(e){var n;try{n=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,n)},n.prototype._group=function(e,n){var t=this.groups;t||(t=this.groups=new Map);var l,o=t.get(n);if(this.elementSelector)try{l=this.elementSelector(e)}catch(e){this.error(e)}else l=e;if(!o){o=this.subjectSelector?this.subjectSelector():new Ze.a,t.set(n,o);var r=new ln(n,o,this);if(this.destination.next(r),this.durationSelector){var i=void 0;try{i=this.durationSelector(new ln(n,o))}catch(e){return void this.error(e)}this.add(i.subscribe(new tn(n,o,this)))}}o.closed||o.next(l)},n.prototype._error=function(e){var n=this.groups;n&&(n.forEach((function(n,t){n.error(e)})),n.clear()),this.destination.error(e)},n.prototype._complete=function(){var e=this.groups;e&&(e.forEach((function(e,n){e.complete()})),e.clear()),this.destination.complete()},n.prototype.removeGroup=function(e){this.groups.delete(e)},n.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},n}(v.a),tn=function(e){function n(n,t,l){var o=e.call(this,t)||this;return o.key=n,o.group=t,o.parent=l,o}return l.d(n,e),n.prototype._next=function(e){this.complete()},n.prototype._unsubscribe=function(){var e=this.parent,n=this.key;this.key=this.parent=null,e&&e.removeGroup(n)},n}(v.a),ln=function(e){function n(n,t,l){var o=e.call(this)||this;return o.key=n,o.groupSubject=t,o.refCountSubscription=l,o}return l.d(n,e),n.prototype._subscribe=function(e){var n=new S.a,t=this.refCountSubscription,l=this.groupSubject;return t&&!t.closed&&n.add(new on(t)),n.add(l.subscribe(e)),n},n}(de.a),on=function(e){function n(n){var t=e.call(this)||this;return t.parent=n,n.count++,t}return l.d(n,e),n.prototype.unsubscribe=function(){var n=this.parent;n.closed||this.closed||(e.prototype.unsubscribe.call(this),n.count-=1,0===n.count&&n.attemptedToUnsubscribe&&n.unsubscribe())},n}(S.a);function rn(){return function(e){return e.lift(new an)}}var an=function(){function e(){}return e.prototype.call=function(e,n){return n.subscribe(new un(e))},e}(),un=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return l.d(n,e),n.prototype._next=function(e){},n}(v.a);function sn(){return function(e){return e.lift(new dn)}}var dn=function(){function e(){}return e.prototype.call=function(e,n){return n.subscribe(new cn(e))},e}(),cn=function(e){function n(n){return e.call(this,n)||this}return l.d(n,e),n.prototype.notifyComplete=function(e){var n=this.destination;n.next(e),n.complete()},n.prototype._next=function(e){this.notifyComplete(!1)},n.prototype._complete=function(){this.notifyComplete(!0)},n}(v.a),pn=t(291);function fn(e){return function(n){return n.lift(new gn(e))}}var gn=function(){function e(e){this.value=e}return e.prototype.call=function(e,n){return n.subscribe(new hn(e,this.value))},e}(),hn=function(e){function n(n,t){var l=e.call(this,n)||this;return l.value=t,l}return l.d(n,e),n.prototype._next=function(e){this.destination.next(this.value)},n}(v.a);function mn(){return function(e){return e.lift(new vn)}}var vn=function(){function e(){}return e.prototype.call=function(e,n){return n.subscribe(new bn(e))},e}(),bn=function(e){function n(n){return e.call(this,n)||this}return l.d(n,e),n.prototype._next=function(e){this.destination.next(re.createNext(e))},n.prototype._error=function(e){var n=this.destination;n.next(re.createError(e)),n.complete()},n.prototype._complete=function(){var e=this.destination;e.next(re.createComplete()),e.complete()},n}(v.a),_n=t(166);function yn(e){var n="function"==typeof e?function(n,t){return e(n,t)>0?n:t}:function(e,n){return e>n?e:n};return Object(_n.a)(n)}var wn=t(236);function Cn(){for(var e=[],n=0;n0?this._next(n.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},n}(i.a);function Sn(e){var n="function"==typeof e?function(n,t){return e(n,t)<0?n:t}:function(e,n){return e0?e.prototype.schedule.call(this,n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,t){return t>0||this.closed?e.prototype.execute.call(this,n,t):this._execute(n,t)},n.prototype.requestAsyncId=function(n,t,l){return void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0?e.prototype.requestAsyncId.call(this,n,t,l):n.flush(this)},n}(Yn.a),Jn=t(233),Qn=new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return l.d(n,e),n}(Jn.a))(Kn),Zn=t(151),Xn=t(283),et=function(e){function n(n,t,l){void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===t&&(t=Number.POSITIVE_INFINITY);var o=e.call(this)||this;return o.scheduler=l,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=n<1?1:n,o._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return l.d(n,e),n.prototype.nextInfiniteTimeWindow=function(n){var t=this._events;t.push(n),t.length>this._bufferSize&&t.shift(),e.prototype.next.call(this,n)},n.prototype.nextTimeWindow=function(n){this._events.push(new nt(this._getNow(),n)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,n)},n.prototype._subscribe=function(e){var n,t=this._infiniteTimeWindow,l=t?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,r=l.length;if(this.closed)throw new Zn.a;if(this.isStopped||this.hasError?n=S.a.EMPTY:(this.observers.push(e),n=new Xn.a(this,e)),o&&e.add(e=new Nn(e,o)),t)for(var i=0;in&&(r=Math.max(r,o-n)),r>0&&l.splice(0,r),l},n}(Ze.a),nt=function(e,n){this.time=e,this.value=n};function tt(e,n,t,l){t&&"function"!=typeof t&&(l=t);var o="function"==typeof t?t:void 0,r=new et(e,n,l);return function(e){return Object(Rn.a)((function(){return r}),o)(e)}}var lt=function(){function e(){}return e.prototype.call=function(e,n){return n.subscribe(new ot(e))},e}(),ot=function(e){function n(n){var t=e.call(this,n)||this;return t.hasFirst=!1,t.observables=[],t.subscriptions=[],t}return l.d(n,e),n.prototype._next=function(e){this.observables.push(e)},n.prototype._complete=function(){var e=this.observables,n=e.length;if(0===n)this.destination.complete();else{for(var t=0;t-1&&(this.count=t-1),n.subscribe(this._unsubscribeAndRecycle())}},n}(v.a);function st(e){return function(n){return n.lift(new dt(e))}}var dt=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,n){return n.subscribe(new ct(e,this.notifier,n))},e}(),ct=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.notifier=t,o.source=l,o.sourceIsBeingSubscribedTo=!0,o}return l.d(n,e),n.prototype.notifyNext=function(e,n,t,l,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},n.prototype.notifyComplete=function(n){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},n.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},n.prototype._unsubscribe=function(){var e=this.notifications,n=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype._unsubscribeAndRecycle=function(){var n=this._unsubscribe;return this._unsubscribe=null,e.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=n,this},n.prototype.subscribeToRetries=function(){this.notifications=new Ze.a;var n=Object(o.a)(this.notifier)(this.notifications);if(n===r.a)return e.prototype.complete.call(this);this.retries=n,this.retriesSubscription=Object(a.a)(this,n)},n}(i.a);function pt(e){return void 0===e&&(e=-1),function(n){return n.lift(new ft(e,n))}}var ft=function(){function e(e,n){this.count=e,this.source=n}return e.prototype.call=function(e,n){return n.subscribe(new gt(e,this.count,this.source))},e}(),gt=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.count=t,o.source=l,o}return l.d(n,e),n.prototype.error=function(n){if(!this.isStopped){var t=this.source,l=this.count;if(0===l)return e.prototype.error.call(this,n);l>-1&&(this.count=l-1),t.subscribe(this._unsubscribeAndRecycle())}},n}(v.a);function ht(e){return function(n){return n.lift(new mt(e,n))}}var mt=function(){function e(e,n){this.notifier=e,this.source=n}return e.prototype.call=function(e,n){return n.subscribe(new vt(e,this.notifier,this.source))},e}(),vt=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.notifier=t,o.source=l,o}return l.d(n,e),n.prototype.error=function(n){if(!this.isStopped){var t=this.errors,l=this.retries,i=this.retriesSubscription;if(l)this.errors=null,this.retriesSubscription=null;else{if(t=new Ze.a,(l=Object(o.a)(this.notifier)(t))===r.a)return e.prototype.error.call(this,r.a.e);i=Object(a.a)(this,l)}this._unsubscribeAndRecycle(),this.errors=t,this.retries=l,this.retriesSubscription=i,t.next(n)}},n.prototype._unsubscribe=function(){var e=this.errors,n=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},n.prototype.notifyNext=function(e,n,t,l,o){var r=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=r,this.source.subscribe(this)},n}(i.a),bt=t(224);function _t(e){return function(n){return n.lift(new yt(e))}}var yt=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,n){var t=new wt(e),l=n.subscribe(t);return l.add(Object(a.a)(t,this.notifier)),l},e}(),wt=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.hasValue=!1,n}return l.d(n,e),n.prototype._next=function(e){this.value=e,this.hasValue=!0},n.prototype.notifyNext=function(e,n,t,l,o){this.emitValue()},n.prototype.notifyComplete=function(){this.emitValue()},n.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},n}(i.a);function Ct(e,n){return void 0===n&&(n=c.a),function(t){return t.lift(new xt(e,n))}}var xt=function(){function e(e,n){this.period=e,this.scheduler=n}return e.prototype.call=function(e,n){return n.subscribe(new Ot(e,this.period,this.scheduler))},e}(),Ot=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.period=t,o.scheduler=l,o.hasValue=!1,o.add(l.schedule(Mt,t,{subscriber:o,period:t})),o}return l.d(n,e),n.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},n.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},n}(v.a);function Mt(e){var n=e.period;e.subscriber.notifyNext(),this.schedule(e,n)}var kt=t(187);function At(e,n){return function(t){return t.lift(new Pt(e,n))}}var Pt=function(){function e(e,n){this.compareTo=e,this.comparor=n}return e.prototype.call=function(e,n){return n.subscribe(new St(e,this.compareTo,this.comparor))},e}(),St=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.compareTo=t,o.comparor=l,o._a=[],o._b=[],o._oneComplete=!1,o.destination.add(t.subscribe(new Rt(n,o))),o}return l.d(n,e),n.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},n.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},n.prototype.checkValues=function(){for(var e=this._a,n=this._b,t=this.comparor;e.length>0&&n.length>0;){var l=e.shift(),i=n.shift(),a=!1;t?(a=Object(o.a)(t)(l,i))===r.a&&this.destination.error(r.a.e):a=l===i,a||this.emit(!1)}},n.prototype.emit=function(e){var n=this.destination;n.next(e),n.complete()},n.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},n.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},n}(v.a),Rt=function(e){function n(n,t){var l=e.call(this,n)||this;return l.parent=t,l}return l.d(n,e),n.prototype._next=function(e){this.parent.nextB(e)},n.prototype._error=function(e){this.parent.error(e),this.unsubscribe()},n.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},n}(v.a),It=t(349);function Et(e,n,t){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),function(l){return l.lift(function(e,n,t){var l,o,r=0,i=!1,a=!1;return function(u){r++,l&&!i||(i=!1,l=new et(e,n,t),o=u.subscribe({next:function(e){l.next(e)},error:function(e){i=!0,l.error(e)},complete:function(){a=!0,l.complete()}}));var s=l.subscribe(this);return function(){r--,s.unsubscribe(),o&&0===r&&a&&o.unsubscribe()}}}(e,n,t))}}var Nt=t(170);function Tt(e){return function(n){return n.lift(new Dt(e,n))}}var Dt=function(){function e(e,n){this.predicate=e,this.source=n}return e.prototype.call=function(e,n){return n.subscribe(new Vt(e,this.predicate,this.source))},e}(),Vt=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.predicate=t,o.source=l,o.seenValue=!1,o.index=0,o}return l.d(n,e),n.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},n.prototype._next=function(e){var n=this.index++;this.predicate?this.tryNext(e,n):this.applySingleValue(e)},n.prototype.tryNext=function(e,n){try{this.predicate(e,n,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},n.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new Nt.a)},n}(v.a);function Ft(e){return function(n){return n.lift(new Lt(e))}}var Lt=function(){function e(e){this.total=e}return e.prototype.call=function(e,n){return n.subscribe(new qt(e,this.total))},e}(),qt=function(e){function n(n,t){var l=e.call(this,n)||this;return l.total=t,l.count=0,l}return l.d(n,e),n.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},n}(v.a);function Bt(e){return function(n){return n.lift(new jt(e))}}var jt=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new ke.a}return e.prototype.call=function(e,n){return n.subscribe(0===this._skipCount?new v.a(e):new $t(e,this._skipCount))},e}(),$t=function(e){function n(n,t){var l=e.call(this,n)||this;return l._skipCount=t,l._count=0,l._ring=new Array(t),l}return l.d(n,e),n.prototype._next=function(e){var n=this._skipCount,t=this._count++;if(t0?e.prototype.requestAsyncId.call(this,n,t,l):(n.actions.push(this),n.scheduled||(n.scheduled=(o=n.flush.bind(n,null),r=Jt++,Qt[r]=o,Promise.resolve().then((function(){return function(e){var n=Qt[e];n&&n()}(r)})),r)));var o,r},n.prototype.recycleAsyncId=function(n,t,l){if(void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,t,l);0===n.actions.length&&(delete Qt[t],n.scheduled=void 0)},n}(Yn.a),Xt=new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return l.d(n,e),n.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var n,t=this.actions,l=-1,o=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++l0?this.startWindowEvery:this.windowSize,t=this.destination,l=this.windowSize,o=this.windows,r=o.length,i=0;i=0&&a%n==0&&!this.closed&&o.shift().complete(),++this.count%n==0&&!this.closed){var u=new Ze.a;o.push(u),t.next(u)}},n.prototype._error=function(e){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().error(e);this.destination.error(e)},n.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},n.prototype._unsubscribe=function(){this.count=0,this.windows=null},n}(v.a);function ql(e){var n=c.a,t=null,l=Number.POSITIVE_INFINITY;return Object(C.a)(arguments[3])&&(n=arguments[3]),Object(C.a)(arguments[2])?n=arguments[2]:Object(el.a)(arguments[2])&&(l=arguments[2]),Object(C.a)(arguments[1])?n=arguments[1]:Object(el.a)(arguments[1])&&(t=arguments[1]),function(o){return o.lift(new Bl(e,t,l,n))}}var Bl=function(){function e(e,n,t,l){this.windowTimeSpan=e,this.windowCreationInterval=n,this.maxWindowSize=t,this.scheduler=l}return e.prototype.call=function(e,n){return n.subscribe(new $l(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),jl=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n._numberOfNextedValues=0,n}return l.d(n,e),n.prototype.next=function(n){this._numberOfNextedValues++,e.prototype.next.call(this,n)},Object.defineProperty(n.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),n}(Ze.a),$l=function(e){function n(n,t,l,o,r){var i=e.call(this,n)||this;i.destination=n,i.windowTimeSpan=t,i.windowCreationInterval=l,i.maxWindowSize=o,i.scheduler=r,i.windows=[];var a=i.openWindow();if(null!==l&&l>=0){var u={windowTimeSpan:t,windowCreationInterval:l,subscriber:i,scheduler:r};i.add(r.schedule(zl,t,{subscriber:i,window:a,context:null})),i.add(r.schedule(Gl,l,u))}else i.add(r.schedule(Ul,t,{subscriber:i,window:a,windowTimeSpan:t}));return i}return l.d(n,e),n.prototype._next=function(e){for(var n=this.windows,t=n.length,l=0;l=this.maxWindowSize&&this.closeWindow(o))}},n.prototype._error=function(e){for(var n=this.windows;n.length>0;)n.shift().error(e);this.destination.error(e)},n.prototype._complete=function(){for(var e=this.windows;e.length>0;){var n=e.shift();n.closed||n.complete()}this.destination.complete()},n.prototype.openWindow=function(){var e=new jl;return this.windows.push(e),this.destination.next(e),e},n.prototype.closeWindow=function(e){e.complete();var n=this.windows;n.splice(n.indexOf(e),1)},n}(v.a);function Ul(e){var n=e.subscriber,t=e.windowTimeSpan,l=e.window;l&&n.closeWindow(l),e.window=n.openWindow(),this.schedule(e,t)}function Gl(e){var n=e.windowTimeSpan,t=e.subscriber,l=e.scheduler,o=e.windowCreationInterval,r=t.openWindow(),i={action:this,subscription:null};i.subscription=l.schedule(zl,n,{subscriber:t,window:r,context:i}),this.add(i.subscription),this.schedule(e,o)}function zl(e){var n=e.subscriber,t=e.window,l=e.context;l&&l.action&&l.subscription&&l.action.remove(l.subscription),n.closeWindow(t)}function Wl(e,n){return function(t){return t.lift(new Hl(e,n))}}var Hl=function(){function e(e,n){this.openings=e,this.closingSelector=n}return e.prototype.call=function(e,n){return n.subscribe(new Yl(e,this.openings,this.closingSelector))},e}(),Yl=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.openings=t,o.closingSelector=l,o.contexts=[],o.add(o.openSubscription=Object(a.a)(o,t,t)),o}return l.d(n,e),n.prototype._next=function(e){var n=this.contexts;if(n)for(var t=n.length,l=0;l0){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}},n.prototype.notifyComplete=function(){},n.prototype._next=function(e){if(0===this.toRespond.length){var n=[e].concat(this.values);this.project?this._tryProject(n):this.destination.next(n)}},n.prototype._tryProject=function(e){var n;try{n=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(n)},n}(i.a),no=t(123),to=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,n){return n.subscribe(new lo(e,this.resultSelector))},e}(),lo=function(e){function n(n,t,l){void 0===l&&(l=Object.create(null));var o=e.call(this,n)||this;return o.iterators=[],o.active=0,o.resultSelector="function"==typeof t?t:null,o.values=l,o}return l.d(n,e),n.prototype._next=function(e){var n=this.iterators;Object(q.a)(e)?n.push(new ro(e)):n.push("function"==typeof e[no.a]?new oo(e[no.a]()):new io(this.destination,this,e))},n.prototype._complete=function(){var e=this.iterators,n=e.length;if(this.unsubscribe(),0!==n){this.active=n;for(var t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),io=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.parent=t,o.observable=l,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return l.d(n,e),n.prototype[no.a]=function(){return this},n.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},n.prototype.hasValue=function(){return this.buffer.length>0},n.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},n.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},n.prototype.notifyNext=function(e,n,t,l,o){this.buffer.push(n),this.parent.checkIterators()},n.prototype.subscribe=function(e,n){return Object(a.a)(this,this.observable,this,n)},n}(i.a);function ao(){for(var e=[],n=0;n=0){var u=e.split(", "),s=u[0].indexOf(" "),d=u[0],c=u[1];s>0&&(d=u[0].slice(0,s),c=u[0].slice(s+1,u[0].length)),a.streetNumber=a.streetNumber||d,a.streetNumber||(a.streetNumber=null),a.route=a.route||c,a.town=a.town||(s>0?u[1]:u[2]),a.city=a.city||(u.length>=4?u[2]:null)}0===a.city.indexOf("Greater ")&&(a.city=a.city.replace("Greater ",""));var p=!!n.pcaResponse&&!n.pcaResponse.Error,f=p&&a.postalCode===n.pcaResponse.PostalCode;return p&&(a.city=n.pcaResponse.City,a.admin_area_name=n.pcaResponse.AdminAreaName,a.postalCode=n.pcaResponse.PostalCode),a.address_line=a.streetNumber+" "+a.route+", "+a.town+", "+a.postalCode,a.flat&&(a.address_line=a.flat+", "+a.address_line),a.address_line.indexOf("null")>=0?{error:{status:t.status,pca:n.pcaResponse,message:"Google address error"},searched_address:e,result_count:0}:(l[0].formatted_address&&f&&(a.address_line=l[0].formatted_address),a.searched_address=e,a.result_count=l.length,a)})))},e.prototype.generateLocationImage=function(e){return e?this.streetviewEndpoint+"?size=600x300&location="+e.latitude+","+e.longitude:"/assets/img/house.jpg"},e.prototype.getLocationForImage=function(e,n,t){var l=new(t=this.googleMaps||t).DirectionsService,r=new t.StreetViewService;return o.a.create((function(o){var i=new t.LatLng(e.lat,e.lng);l.route({origin:i,destination:e.addressLine,travelMode:t.DirectionsTravelMode.DRIVING},(function(l,i){i===t.DirectionsStatus.OK&&r.getPanoramaByLocation(l.routes[0].legs[0].start_location,50,(function(r,i){if(i==t.StreetViewStatus.OK){var a=u({},r.location);a.latLng={latitude:a.latLng.lat(),longitude:a.latLng.lng()},n&&n.setPano(r.location.pano);var s=new t.LatLng(e.lat,e.lng),d={heading:t.geometry.spherical.computeHeading(r.location.latLng,s),pitch:0,zoom:1};n&&n.setPov(d),n&&n.setVisible(!0);var c={propLocation:e,imgLocation:{lat:l.routes[0].legs[0].start_location.lat(),lng:l.routes[0].legs[0].start_location.lng(),heading:d.heading,pitch:d.pitch,zoom:d.zoom,pano_id:r.location.pano}};o.next(c),o.complete()}}))}))}))},e.prototype.parseGoogleAddress=function(e){var n={streetNumber:null,route:null,town:null,city:null,country:null,postalCode:null,address_line:null,location:null,flat:""};return e.forEach((function(e){e.types&&(e.types.includes("street_number")&&(n.streetNumber=e.short_name),e.types.includes("route")&&(n.route=e.long_name,n.short_route=e.short_name),e.types.includes("postal_town")&&(n.town=e.short_name),e.types.includes("administrative_area_level_2")&&e.types.includes("political")&&(n.city=e.short_name),e.types.includes("country")&&e.types.includes("political")&&(n.country=e.long_name),e.types.includes("postal_code")&&(n.postalCode=e.short_name),e.types.includes("subpremise")&&(n.flat=e.short_name))})),n},e}()},function(e,n,t){"use strict";var l=t(0),o=t(1),r=t(2),i=t(4);t(69),t(33),t(45),t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return d}));var a=l["ɵcrt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:2rem;position:relative}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] i.menu[_ngcontent-%COMP%]{padding:0 25px 0 0}@media (min-width:753px){[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] i.menu[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:LatoWebBold;font-size:2.2rem;text-align:left;color:#584d34;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;opacity:1;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] p.active[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%]{position:absolute;top:50%;right:0;width:100%;height:30px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media (max-width:450px){[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%]{width:90%}}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;font-size:12px;height:30px;padding:4px 8px;position:absolute;width:0;right:0;-webkit-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;width:100%}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%] input.active[_ngcontent-%COMP%]{opacity:1;width:100%}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%] .btn-search[_ngcontent-%COMP%]{text-align:center;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;color:#584d34;background:#f2f1ed;font-size:20px;padding:4px;position:absolute;right:1px;top:1px;z-index:1}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%] .btn-search[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .search-wrapper[_ngcontent-%COMP%] .btn-search[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .change-view[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .change-view[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .change-view[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:1.5px;-ms-flex-pack:distribute;justify-content:space-around}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .change-view[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{font-size:8px}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .change-view[_ngcontent-%COMP%] .rect-wrapper[_ngcontent-%COMP%]{width:15px}[_nghost-%COMP%] .widget-title-template[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .change-view[_ngcontent-%COMP%] .rect-wrapper[_ngcontent-%COMP%] .rect[_ngcontent-%COMP%]{width:100%;height:3px;background-color:#7b6f51;margin:3px 0}"]],data:{}});function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,10,"div",[["class","search-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"button",[["class","btn btn-search fa fa-search"],["type","submit"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.openSearchField(t)&&l),l}),null,null)),(e()(),l["ɵeld"](2,0,[[1,0],["input",1]],null,8,"input",[["name","search"],["placeholder","Enter address"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,3)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,3).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,3)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,3)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model=t)&&o),"ngModelChange"===n&&(o=!1!==r.searchStringChange(t)&&o),o}),null,null)),l["ɵdid"](3,16384,null,0,o.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,o.NG_VALUE_ACCESSOR,(function(e){return[e]}),[o.DefaultValueAccessor]),l["ɵdid"](5,671744,null,0,o.NgModel,[[8,null],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,o.NgControl,null,[o.NgModel]),l["ɵdid"](7,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),l["ɵdid"](8,278528,null,0,r.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](9,{active:0}),l["ɵdid"](10,16384,null,0,i.a,[l.ElementRef,o.NgModel],null,null)],(function(e,n){var t=n.component;e(n,5,0,"search",t.model),e(n,8,0,e(n,9,0,t.showSearchField))}),(function(e,n){e(n,2,0,l["ɵnov"](n,7).ngClassUntouched,l["ɵnov"](n,7).ngClassTouched,l["ɵnov"](n,7).ngClassPristine,l["ɵnov"](n,7).ngClassDirty,l["ɵnov"](n,7).ngClassValid,l["ɵnov"](n,7).ngClassInvalid,l["ɵnov"](n,7).ngClassPending)}))}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"div",[["class","action-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,7,"div",[["class","change-view"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onChangeView(t)&&l),l}),null,null)),(e()(),l["ɵeld"](2,0,null,null,2,"div",[["class","arrow-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,0,"i",[["class","fa fa-arrow-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,0,"i",[["class","fa fa-arrow-down"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,3,"div",[["class","rect-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,0,"div",[["class","rect"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,0,"div",[["class","rect"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,0,"div",[["class","rect"]],null,null,null,null,null))],null,null)}function d(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{input:0}),(e()(),l["ɵeld"](1,0,null,null,9,"div",[["class","widget-title-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"i",[["class","fa fa-bars menu"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.openMenu(t)&&l),l}),null,null)),(e()(),l["ɵeld"](3,0,null,null,2,"p",[],[[8,"innerHTML",1]],null,null,null,null)),l["ɵdid"](4,278528,null,0,r.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](5,{active:0}),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](7,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](9,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),l["ɵncd"](null,0)],(function(e,n){var t=n.component;e(n,4,0,e(n,5,0,t.showSearchField)),e(n,7,0,t.showSearch),e(n,9,0,t.showActionButton)}),(function(e,n){e(n,3,0,n.component.label)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(19);var l=function(){function e(e,n){this.router=e,this.userService=n}return e.prototype.canActivate=function(e,n){return!localStorage.getItem("Token")||(this.router.navigate(["/","brokers","onboarding"]),!1)},e}()},function(e,n,t){"use strict";t.d(n,"f",(function(){return s})),t.d(n,"e",(function(){return d})),t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return h})),t.d(n,"c",(function(){return m})),t.d(n,"d",(function(){return f}));var l=t(0),o=function(){var e={HEX:0,RGBA:1,HSLA:2};return e[e.HEX]="HEX",e[e.RGBA]="RGBA",e[e.HSLA]="HSLA",e}(),r=function(e,n,t,l){this.c=e,this.m=n,this.y=t,this.k=l},i=function(e,n,t,l){this.h=e,this.s=n,this.l=t,this.a=l},a=function(e,n,t,l){this.h=e,this.s=n,this.v=t,this.a=l},u=function(e,n,t,l){this.r=e,this.g=n,this.b=t,this.a=l},s=function(){function e(){this.newValue=new l.EventEmitter}return e.prototype.inputChange=function(e){var n=e.target.value;if(void 0===this.rg)this.newValue.emit(n);else{var t=parseFloat(n);this.newValue.emit({v:t,rg:this.rg})}},e}(),d=function(){function e(e){var n=this;this.elRef=e,this.dragEnd=new l.EventEmitter,this.dragStart=new l.EventEmitter,this.newValue=new l.EventEmitter,this.listenerMove=function(e){return n.move(e)},this.listenerStop=function(){return n.stop()}}return e.prototype.mouseDown=function(e){this.start(e)},e.prototype.touchStart=function(e){this.start(e)},e.prototype.move=function(e){e.preventDefault(),this.setCursor(e)},e.prototype.start=function(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()},e.prototype.stop=function(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()},e.prototype.getX=function(e){var n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageX?e.pageX:e.touches[0].pageX)-n.left-window.pageXOffset},e.prototype.getY=function(e){var n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageY?e.pageY:e.touches[0].pageY)-n.top-window.pageYOffset},e.prototype.setCursor=function(e){var n=this.elRef.nativeElement.offsetWidth,t=this.elRef.nativeElement.offsetHeight,l=Math.max(0,Math.min(this.getX(e),n)),o=Math.max(0,Math.min(this.getY(e),t));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:l/n,v:1-o/t,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:o/t,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:l/n,rgX:this.rgX})},e}(),c=function(e,n,t,l){this.h=e,this.s=n,this.v=t,this.a=l},p=function(e,n,t,l){this.h=e,this.s=n,this.v=t,this.a=l},f=function(){function e(){this.active=null}return e.prototype.setActive=function(e){this.active&&this.active!==e&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=e},e.prototype.hsva2hsla=function(e){var n=e.h,t=e.s,l=e.v,o=e.a;if(0===l)return new i(n,0,0,o);if(0===t&&1===l)return new i(n,1,1,o);var r=l*(2-t)/2;return new i(n,l*t/(1-Math.abs(2*r-1)),r,o)},e.prototype.hsla2hsva=function(e){var n=Math.min(e.h,1),t=Math.min(e.s,1),l=Math.min(e.l,1),o=Math.min(e.a,1);if(0===l)return new a(n,0,0,o);var r=l+t*(1-Math.abs(2*l-1))/2;return new a(n,2*(r-l)/r,r,o)},e.prototype.hsvaToRgba=function(e){var n,t,l,o=e.h,r=e.s,i=e.v,a=e.a,s=Math.floor(6*o),d=6*o-s,c=i*(1-r),p=i*(1-d*r),f=i*(1-(1-d)*r);switch(s%6){case 0:n=i,t=f,l=c;break;case 1:n=p,t=i,l=c;break;case 2:n=c,t=i,l=f;break;case 3:n=c,t=p,l=i;break;case 4:n=f,t=c,l=i;break;case 5:n=i,t=c,l=p;break;default:n=0,t=0,l=0}return new u(n,t,l,a)},e.prototype.rgbaToCmyk=function(e){var n=1-Math.max(e.r,e.g,e.b);return 1===n?new r(0,0,0,1):new r((1-e.r-n)/(1-n),(1-e.g-n)/(1-n),(1-e.b-n)/(1-n),n)},e.prototype.rgbaToHsva=function(e){var n,t,l=Math.min(e.r,1),o=Math.min(e.g,1),r=Math.min(e.b,1),i=Math.min(e.a,1),u=Math.max(l,o,r),s=Math.min(l,o,r),d=u,c=u-s;if(t=0===u?0:c/u,u===s)n=0;else{switch(u){case l:n=(o-r)/c+(o0&&parseInt(e.substring(n+5,e.indexOf(".",n)),10)}(),this.directiveInstance=e,this.directiveElementRef=n,this.cpDisableInput=d,this.cpAlphaChannel=u,this.cpOutputFormat=s,this.cpDialogDisplay=r,this.cpIgnoredElements=c,this.cpSaveClickOutside=p,this.useRootViewContainer=f,this.width=this.cpWidth=parseInt(l,10),this.height=this.cpHeight=parseInt(o,10),this.cpPosition=g,this.cpPositionOffset=parseInt(h,10),this.cpOKButton=C,this.cpOKButtonText=O,this.cpOKButtonClass=x,this.cpCancelButton=M,this.cpCancelButtonText=A,this.cpCancelButtonClass=k,this.fallbackColor=i||"#fff",this.setPresetConfig(v,b),this.cpMaxPresetColorsLength=_,this.cpPresetEmptyMessage=y,this.cpPresetEmptyMessageClass=w,this.cpAddColorButton=P,this.cpAddColorButtonText=R,this.cpAddColorButtonClass=S,this.cpRemoveColorButtonClass=I,m||(this.dialogArrowOffset=0),"inline"===r&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===s&&"always"!==u&&"forced"!==u&&(this.cpAlphaChannel="disabled")},e.prototype.setColorMode=function(e){switch(e.toString().toUpperCase()){case"1":case"C":case"COLOR":this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3;break;default:this.cpColorMode=1}},e.prototype.setInitialColor=function(e){this.initialColor=e},e.prototype.setPresetConfig=function(e,n){this.cpPresetLabel=e,this.cpPresetColors=n},e.prototype.setColorFromString=function(e,n,t){var l;void 0===n&&(n=!0),void 0===t&&(t=!0),("always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel)&&((l=this.service.stringToHsva(e,!0))||this.hsva)||(l=this.service.stringToHsva(e,!1)),l||this.hsva||(l=this.service.stringToHsva(this.fallbackColor,!1)),l&&(this.hsva=l,this.sliderH=this.hsva.h,this.updateColorPicker(n,t))},e.prototype.onResize=function(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()},e.prototype.onDragEnd=function(e){this.directiveInstance.sliderDragEnd({slider:e,color:this.outputColor})},e.prototype.onDragStart=function(e){this.directiveInstance.sliderDragStart({slider:e,color:this.outputColor})},e.prototype.onMouseDown=function(e){this.isIE10||"popup"!==this.cpDialogDisplay||e.target===this.directiveElementRef.nativeElement||this.isDescendant(this.elRef.nativeElement,e.target)||this.isDescendant(this.directiveElementRef.nativeElement,e.target)||0!==this.cpIgnoredElements.filter((function(n){return n===e.target})).length||(this.cpSaveClickOutside||(this.setColorFromString(this.initialColor,!1),this.directiveInstance.colorChanged(this.initialColor)),this.closeColorPicker())},e.prototype.onAcceptColor=function(e){e.stopPropagation(),"popup"===this.cpDialogDisplay&&this.closeColorPicker(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor)},e.prototype.onCancelColor=function(e){e.stopPropagation(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker()),this.directiveInstance.colorCanceled()},e.prototype.onFormatToggle=function(e){var n=this.dialogInputFields.length,t=((this.dialogInputFields.indexOf(this.format)+e)%n+n)%n;this.format=this.dialogInputFields[t]},e.prototype.onColorChange=function(e){this.hsva.s=e.s/e.rgX,this.hsva.v=e.v/e.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})},e.prototype.onHueChange=function(e){this.hsva.h=e.v/e.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})},e.prototype.onValueChange=function(e){this.hsva.v=e.v/e.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})},e.prototype.onAlphaChange=function(e){this.hsva.a=e.v/e.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})},e.prototype.onHexInput=function(e){if(null===e)this.updateColorPicker();else{e&&"#"!==e[0]&&(e="#"+e);var n=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(n=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);var t=n.test(e);t&&(e.length<5&&(e="#"+e.substring(1).split("").map((function(e){return e+e})).join("")),"forced"===this.cpAlphaChannel&&(e+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(e,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:t,value:e,color:this.outputColor})}},e.prototype.onRedInput=function(e){var n=this.service.hsvaToRgba(this.hsva),t=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;t&&(n.r=e.v/e.rg,this.hsva=this.service.rgbaToHsva(n),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:t,value:n.r,color:this.outputColor})},e.prototype.onBlueInput=function(e){var n=this.service.hsvaToRgba(this.hsva),t=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;t&&(n.b=e.v/e.rg,this.hsva=this.service.rgbaToHsva(n),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:t,value:n.b,color:this.outputColor})},e.prototype.onGreenInput=function(e){var n=this.service.hsvaToRgba(this.hsva),t=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;t&&(n.g=e.v/e.rg,this.hsva=this.service.rgbaToHsva(n),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:t,value:n.g,color:this.outputColor})},e.prototype.onHueInput=function(e){var n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(this.hsva.h=e.v/e.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:n,value:this.hsva.h,color:this.outputColor})},e.prototype.onValueInput=function(e){var n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(this.hsva.v=e.v/e.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:n,value:this.hsva.v,color:this.outputColor})},e.prototype.onAlphaInput=function(e){var n=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;n&&(this.hsva.a=e.v/e.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:n,value:this.hsva.a,color:this.outputColor})},e.prototype.onLightnessInput=function(e){var n=this.service.hsva2hsla(this.hsva),t=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;t&&(n.l=e.v/e.rg,this.hsva=this.service.hsla2hsva(n),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:t,value:n.l,color:this.outputColor})},e.prototype.onSaturationInput=function(e){var n=this.service.hsva2hsla(this.hsva),t=!isNaN(e.v)&&e.v>=0&&e.v<=e.rg;t&&(n.s=e.v/e.rg,this.hsva=this.service.hsla2hsva(n),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:t,value:n.s,color:this.outputColor})},e.prototype.onAddPresetColor=function(e,n){e.stopPropagation(),this.cpPresetColors.filter((function(e){return e===n})).length||(this.cpPresetColors=this.cpPresetColors.concat(n),this.directiveInstance.presetColorsChanged(this.cpPresetColors))},e.prototype.onRemovePresetColor=function(e,n){e.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter((function(e){return e!==n})),this.directiveInstance.presetColorsChanged(this.cpPresetColors)},e.prototype.openColorPicker=function(){var e=this;this.show||(this.show=!0,this.hidden=!0,setTimeout((function(){e.hidden=!1,e.setDialogPosition(),e.cdRef.detectChanges()}),0),this.directiveInstance.stateChanged(!0),this.isIE10||document.addEventListener("mousedown",this.listenerMouseDown),window.addEventListener("resize",this.listenerResize))},e.prototype.closeColorPicker=function(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||document.removeEventListener("mousedown",this.listenerMouseDown),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())},e.prototype.updateColorPicker=function(e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),this.sliderDimMax){2===this.cpColorMode&&(this.hsva.s=0);var t=this.outputColor,l=this.service.hsva2hsla(this.hsva),r=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),s=this.service.denormalizeRGBA(this.service.hsvaToRgba(new a(this.sliderH||this.hsva.h,1,1,1)));n&&(this.hslaText=new i(Math.round(360*l.h),Math.round(100*l.s),Math.round(100*l.l),Math.round(100*l.a)/100),this.rgbaText=new u(r.r,r.g,r.b,Math.round(100*r.a)/100),this.hexText=this.service.rgbaToHex(r,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.hsva.a<1&&(this.format=this.hsva.a<1?o.RGBA:o.HEX),this.hueSliderColor="rgb("+s.r+","+s.g+","+s.b+")",this.alphaSliderColor="rgb("+r.r+","+r.g+","+r.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.slider=new c((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),e&&t!==this.outputColor&&this.directiveInstance.colorChanged(this.outputColor)}},e.prototype.setDialogPosition=function(){if("inline"===this.cpDialogDisplay)this.position="relative";else{for(var e="static",n="",t=void 0,l=null,o=null,r=this.directiveElementRef.nativeElement.parentNode,i=this.dialogElement.nativeElement.offsetHeight;null!==r&&"HTML"!==r.tagName;){if("static"!==(e=(t=window.getComputedStyle(r)).getPropertyValue("position"))&&null===l&&(l=r),(n=t.getPropertyValue("transform"))&&"none"!==n&&null===o&&(o=r),"fixed"===e){l=o;break}r=r.parentNode}var a=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==e);if(this.useRootViewContainer||"fixed"===e&&(!l||l instanceof HTMLUnknownElement))this.top=a.top,this.left=a.left;else{null===l&&(l=r);var u=this.createDialogBox(l,"fixed"!==e);this.top=a.top-u.top,this.left=a.left-u.left}"fixed"===e&&(this.position="fixed"),"left"===this.cpPosition?(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):"top"===this.cpPosition?(this.arrowTop=i-1,this.top-=i+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset):"bottom"===this.cpPosition?(this.top+=a.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset):(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=a.width+this.dialogArrowSize-2)}},e.prototype.isDescendant=function(e,n){for(var t=n.parentNode;null!==t;){if(t===e)return!0;t=t.parentNode}return!1},e.prototype.createDialogBox=function(e,n){return{top:e.getBoundingClientRect().top+(n?window.pageYOffset:0),left:e.getBoundingClientRect().left+(n?window.pageXOffset:0),width:e.offsetWidth,height:e.offsetHeight}},e}(),h=function(){function e(e,n,t,o,r,i){this.injector=e,this.cfr=n,this.appRef=t,this.vcRef=o,this.elRef=r,this._service=i,this.dialogCreated=!1,this.ignoreChanges=!1,this.cpWidth="230px",this.cpHeight="auto",this.cpToggle=!1,this.cpDisabled=!1,this.cpIgnoredElements=[],this.cpFallbackColor="",this.cpColorMode="color",this.cpOutputFormat="auto",this.cpAlphaChannel="enabled",this.cpDisableInput=!1,this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpUseRootViewContainer=!1,this.cpPosition="right",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOKButton=!1,this.cpOKButtonText="OK",this.cpOKButtonClass="cp-ok-button-class",this.cpCancelButton=!1,this.cpCancelButtonText="Cancel",this.cpCancelButtonClass="cp-cancel-button-class",this.cpPresetLabel="Preset colors",this.cpMaxPresetColorsLength=6,this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpAddColorButton=!1,this.cpAddColorButtonText="Add color",this.cpAddColorButtonClass="cp-add-color-button-class",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpInputChange=new l.EventEmitter(!0),this.cpToggleChange=new l.EventEmitter(!0),this.cpSliderChange=new l.EventEmitter(!0),this.cpSliderDragEnd=new l.EventEmitter(!0),this.cpSliderDragStart=new l.EventEmitter(!0),this.colorPickerOpen=new l.EventEmitter(!0),this.colorPickerClose=new l.EventEmitter(!0),this.colorPickerCancel=new l.EventEmitter(!0),this.colorPickerSelect=new l.EventEmitter(!0),this.colorPickerChange=new l.EventEmitter(!1),this.cpPresetColorsChange=new l.EventEmitter(!0)}return e.prototype.handleClick=function(){this.inputFocus()},e.prototype.handleFocus=function(){this.inputFocus()},e.prototype.handleInput=function(e){this.inputChange(e)},e.prototype.ngOnDestroy=function(){void 0!==this.cmpRef&&this.cmpRef.destroy()},e.prototype.ngOnChanges=function(e){e.cpToggle&&!this.cpDisabled&&(e.cpToggle.currentValue?this.openDialog():e.cpToggle.currentValue||this.closeDialog()),e.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(e.colorPicker.currentValue),this.dialog.setColorFromString(e.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(e.cpPresetLabel||e.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)},e.prototype.openDialog=function(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{var e=this.vcRef;if(this.dialogCreated=!0,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){var n=this.injector.get(this.appRef.componentTypes[0]);e=n.vcRef||n.viewContainerRef||this.vcRef}var t=this.cfr.resolveComponentFactory(g),o=l.ReflectiveInjector.fromResolvedProviders([],e.parentInjector);this.cmpRef=e.createComponent(t,0,o,[]),this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass),this.dialog=this.cmpRef.instance,this.vcRef!==e&&this.cmpRef.changeDetectorRef.detectChanges()}},e.prototype.closeDialog=function(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()},e.prototype.stateChanged=function(e){this.cpToggleChange.emit(e),e?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)},e.prototype.colorChanged=function(e,n){void 0===n&&(n=!0),this.ignoreChanges=n,this.colorPickerChange.emit(e)},e.prototype.colorCanceled=function(){this.colorPickerCancel.emit()},e.prototype.colorSelected=function(e){this.colorPickerSelect.emit(e)},e.prototype.inputFocus=function(){var e=this.elRef.nativeElement,n=this.cpIgnoredElements.filter((function(n){return n===e}));this.cpDisabled||n.length||("undefined"!=typeof document&&e===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())},e.prototype.inputChange=function(e){this.dialog?this.dialog.setColorFromString(e.target.value,!0):(this.colorPicker=e.target.value,this.colorPickerChange.emit(this.colorPicker))},e.prototype.inputChanged=function(e){this.cpInputChange.emit(e)},e.prototype.sliderChanged=function(e){this.cpSliderChange.emit(e)},e.prototype.sliderDragEnd=function(e){this.cpSliderDragEnd.emit(e)},e.prototype.sliderDragStart=function(e){this.cpSliderDragStart.emit(e)},e.prototype.presetColorsChanged=function(e){this.cpPresetColorsChange.emit(e)},e}(),m=function(){}},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return i}));var l=t(121),o=t.n(l),r=(t(20),t(26)),i=function(){function n(e){this.supportService=e,this.commonDatePickerOptions={showTodayBtn:!1,dateFormat:"yyyy-mm-dd",showClearDateBtn:!1,editableDateField:!1,openSelectorOnInputClick:!0,selectionTxtFontSize:"15px",disableUntil:{year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()-1}},this.companyDatePickerOptions={showTodayBtn:!1,dateFormat:"yyyy-mm-dd",showClearDateBtn:!1,editableDateField:!1,openSelectorOnInputClick:!0,selectionTxtFontSize:"15px",disableSince:{year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()}}}return n.prototype.hasErrorForTemplDriveForm=function(e,n){return e.submitted&&!!n.errors||e.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.hasErrorSelectWrapper=function(e,n){return n.isTouched&&!e},n.prototype.getNumberMask=function(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=2),o()({prefix:"",thousandsSeparatorSymbol:",",suffix:"",integerLimit:e,allowDecimal:n,decimalLimit:t})},n.prototype.getNumberMaskWithoutSeparat=function(e){var n=[];return n.length=e,n.fill(/\d/,0),n},n.prototype.getFormatedDate=function(n){if(n){var t=e.utc(n);return{date:{year:t.year(),month:t.month()+1,day:t.date()}}}return null},n.prototype.deformateNumbers=function(e,n){var t=this;e.forEach((function(e){n[e]&&(n[e]=t.supportService.deCurrencyFormater(""+n[e]))}))},n.prototype.toNum=function(e){if(!e)return e;var n=+e;return isNaN(n)?null:n},n.prototype.getStrFileSize=function(e){for(var n=e/1024,t=1;n>1024;)n/=1024,t+=1;return n.toFixed(2)+(1===t?"kB":2===t?"MB":"GB")},n.prototype.uploadHandler=function(e,n,t){var l=e[n-1];if(t.error)return l.beingUploaded=!1,l.uploadedPercentage=null,void e.splice(n-1,1);switch(t.type){case r.HttpEventType.Sent:l.beingUploaded=!0;break;case r.HttpEventType.Response:l.beingUploaded=!1,l.uploadedPercentage=null,l.id=t.body.id,l.url=t.body.url;break;case r.HttpEventType.UploadProgress:var o=90-Math.round(76*t.loaded/t.total);Math.round(l.uploadedPercentage)!==o&&(l.uploadedPercentage=o)}},n}()}).call(this,t(7))},,,function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){this.locales={en:{dayLabels:{su:"Sun",mo:"Mon",tu:"Tue",we:"Wed",th:"Thu",fr:"Fri",sa:"Sat"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},dateFormat:"mm/dd/yyyy",todayBtnTxt:"Today",firstDayOfWeek:"mo",sunHighlight:!0},he:{dayLabels:{su:"רא",mo:"שנ",tu:"של",we:"רב",th:"חמ",fr:"שי",sa:"שב"},monthLabels:{1:"ינו",2:"פבר",3:"מרץ",4:"אפר",5:"מאי",6:"יונ",7:"יול",8:"אוג",9:"ספט",10:"אוק",11:"נוב",12:"דצמ"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"היום",firstDayOfWeek:"su",sunHighlight:!1},ja:{dayLabels:{su:"日",mo:"月",tu:"火",we:"水",th:"木",fr:"金",sa:"土"},monthLabels:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},dateFormat:"yyyy.mm.dd",todayBtnTxt:"今日",sunHighlight:!1},fr:{dayLabels:{su:"Dim",mo:"Lun",tu:"Mar",we:"Mer",th:"Jeu",fr:"Ven",sa:"Sam"},monthLabels:{1:"Jan",2:"Fév",3:"Mar",4:"Avr",5:"Mai",6:"Juin",7:"Juil",8:"Aoû",9:"Sep",10:"Oct",11:"Nov",12:"Déc"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"Aujourd'hui",firstDayOfWeek:"mo",sunHighlight:!0},"fr-ch":{dayLabels:{su:"Dim",mo:"Lun",tu:"Mar",we:"Mer",th:"Jeu",fr:"Ven",sa:"Sam"},monthLabels:{1:"Jan",2:"Fév",3:"Mar",4:"Avr",5:"Mai",6:"Juin",7:"Juil",8:"Aoû",9:"Sep",10:"Oct",11:"Nov",12:"Déc"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Aujourd'hui",firstDayOfWeek:"mo",sunHighlight:!0},fi:{dayLabels:{su:"Su",mo:"Ma",tu:"Ti",we:"Ke",th:"To",fr:"Pe",sa:"La"},monthLabels:{1:"Tam",2:"Hel",3:"Maa",4:"Huh",5:"Tou",6:"Kes",7:"Hei",8:"Elo",9:"Syy",10:"Lok",11:"Mar",12:"Jou"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Tänään",firstDayOfWeek:"mo",sunHighlight:!0},es:{dayLabels:{su:"Do",mo:"Lu",tu:"Ma",we:"Mi",th:"Ju",fr:"Vi",sa:"Sa"},monthLabels:{1:"Ene",2:"Feb",3:"Mar",4:"Abr",5:"May",6:"Jun",7:"Jul",8:"Ago",9:"Sep",10:"Oct",11:"Nov",12:"Dic"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Hoy",firstDayOfWeek:"mo",sunHighlight:!0},hu:{dayLabels:{su:"Vas",mo:"Hét",tu:"Kedd",we:"Sze",th:"Csü",fr:"Pén",sa:"Szo"},monthLabels:{1:"Jan",2:"Feb",3:"Már",4:"Ápr",5:"Máj",6:"Jún",7:"Júl",8:"Aug",9:"Szep",10:"Okt",11:"Nov",12:"Dec"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"Ma",firstDayOfWeek:"mo",sunHighlight:!0},sv:{dayLabels:{su:"Sön",mo:"Mån",tu:"Tis",we:"Ons",th:"Tor",fr:"Fre",sa:"Lör"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Maj",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Dec"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"Idag",firstDayOfWeek:"mo",sunHighlight:!1},nl:{dayLabels:{su:"Zon",mo:"Maa",tu:"Din",we:"Woe",th:"Don",fr:"Vri",sa:"Zat"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Mei",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Dec"},dateFormat:"dd-mm-yyyy",todayBtnTxt:"Vandaag",firstDayOfWeek:"mo",sunHighlight:!1},ru:{dayLabels:{su:"Вс",mo:"Пн",tu:"Вт",we:"Ср",th:"Чт",fr:"Пт",sa:"Сб"},monthLabels:{1:"Янв",2:"Фев",3:"Март",4:"Апр",5:"Май",6:"Июнь",7:"Июль",8:"Авг",9:"Сент",10:"Окт",11:"Ноя",12:"Дек"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Сегодня",firstDayOfWeek:"mo",sunHighlight:!0},uk:{dayLabels:{su:"Нд",mo:"Пн",tu:"Вт",we:"Ср",th:"Чт",fr:"Пт",sa:"Сб"},monthLabels:{1:"Січ",2:"Лют",3:"Бер",4:"Кві",5:"Тра",6:"Чер",7:"Лип",8:"Сер",9:"Вер",10:"Жов",11:"Лис",12:"Гру"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Сьогодні",firstDayOfWeek:"mo",sunHighlight:!0},no:{dayLabels:{su:"Søn",mo:"Man",tu:"Tir",we:"Ons",th:"Tor",fr:"Fre",sa:"Lør"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Mai",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Des"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"I dag",firstDayOfWeek:"mo",sunHighlight:!1},tr:{dayLabels:{su:"Paz",mo:"Pzt",tu:"Sal",we:"Çar",th:"Per",fr:"Cum",sa:"Cmt"},monthLabels:{1:"Oca",2:"Şub",3:"Mar",4:"Nis",5:"May",6:"Haz",7:"Tem",8:"Ağu",9:"Eyl",10:"Eki",11:"Kas",12:"Ara"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Bugün",firstDayOfWeek:"mo",sunHighlight:!1},"pt-br":{dayLabels:{su:"Dom",mo:"Seg",tu:"Ter",we:"Qua",th:"Qui",fr:"Sex",sa:"Sab"},monthLabels:{1:"Jan",2:"Fev",3:"Mar",4:"Abr",5:"Mai",6:"Jun",7:"Jul",8:"Ago",9:"Set",10:"Out",11:"Nov",12:"Dez"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"Hoje",firstDayOfWeek:"su",sunHighlight:!0},de:{dayLabels:{su:"So",mo:"Mo",tu:"Di",we:"Mi",th:"Do",fr:"Fr",sa:"Sa"},monthLabels:{1:"Jan",2:"Feb",3:"Mär",4:"Apr",5:"Mai",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Dez"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Heute",firstDayOfWeek:"mo",sunHighlight:!0},"de-ch":{dayLabels:{su:"So",mo:"Mo",tu:"Di",we:"Mi",th:"Do",fr:"Fr",sa:"Sa"},monthLabels:{1:"Jan",2:"Feb",3:"Mär",4:"Apr",5:"Mai",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Dez"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Heute",firstDayOfWeek:"mo",sunHighlight:!0},it:{dayLabels:{su:"Dom",mo:"Lun",tu:"Mar",we:"Mer",th:"Gio",fr:"Ven",sa:"Sab"},monthLabels:{1:"Gen",2:"Feb",3:"Mar",4:"Apr",5:"Mag",6:"Giu",7:"Lug",8:"Ago",9:"Set",10:"Ott",11:"Nov",12:"Dic"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"Oggi",firstDayOfWeek:"mo",sunHighlight:!0},"it-ch":{dayLabels:{su:"Dom",mo:"Lun",tu:"Mar",we:"Mer",th:"Gio",fr:"Ven",sa:"Sab"},monthLabels:{1:"Gen",2:"Feb",3:"Mar",4:"Apr",5:"Mag",6:"Giu",7:"Lug",8:"Ago",9:"Set",10:"Ott",11:"Nov",12:"Dic"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Oggi",firstDayOfWeek:"mo",sunHighlight:!0},pl:{dayLabels:{su:"Nie",mo:"Pon",tu:"Wto",we:"Śro",th:"Czw",fr:"Pią",sa:"Sob"},monthLabels:{1:"Sty",2:"Lut",3:"Mar",4:"Kwi",5:"Maj",6:"Cze",7:"Lip",8:"Sie",9:"Wrz",10:"Paź",11:"Lis",12:"Gru"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"Dzisiaj",firstDayOfWeek:"mo",sunHighlight:!0},my:{dayLabels:{su:"တနင်္ဂနွေ",mo:"တနင်္လာ",tu:"အင်္ဂါ",we:"ဗုဒ္ဓဟူး",th:"ကြသပတေး",fr:"သောကြာ",sa:"စနေ"},monthLabels:{1:"ဇန်နဝါရီ",2:"ဖေဖော်ဝါရီ",3:"မတ်",4:"ဧပြီ",5:"မေ",6:"ဇွန်",7:"ဇူလိုင်",8:"ဩဂုတ်",9:"စက်တင်ဘာ",10:"အောက်တိုဘာ",11:"နိုဝင်ဘာ",12:"ဒီဇင်ဘာ"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"ယနေ့",firstDayOfWeek:"mo",sunHighlight:!0},sk:{dayLabels:{su:"Ne",mo:"Po",tu:"Ut",we:"St",th:"Št",fr:"Pi",sa:"So"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Máj",6:"Jún",7:"Júl",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Dec"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Dnes",firstDayOfWeek:"mo",sunHighlight:!0},sl:{dayLabels:{su:"Ned",mo:"Pon",tu:"Tor",we:"Sre",th:"Čet",fr:"Pet",sa:"Sob"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Maj",6:"Jun",7:"Jul",8:"Avg",9:"Sep",10:"Okt",11:"Nov",12:"Dec"},dateFormat:"dd. mm. yyyy",todayBtnTxt:"Danes",firstDayOfWeek:"mo",sunHighlight:!0},"zh-cn":{dayLabels:{su:"日",mo:"一",tu:"二",we:"三",th:"四",fr:"五",sa:"六"},monthLabels:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"今天",firstDayOfWeek:"mo",sunHighlight:!0},ro:{dayLabels:{su:"du",mo:"lu",tu:"ma",we:"mi",th:"jo",fr:"vi",sa:"sa"},monthLabels:{1:"ian",2:"feb",3:"mart",4:"apr",5:"mai",6:"iun",7:"iul",8:"aug",9:"sept",10:"oct",11:"nov",12:"dec"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Astăzi",firstDayOfWeek:"mo",sunHighlight:!0},ca:{dayLabels:{su:"dg",mo:"dl",tu:"dt",we:"dc",th:"dj",fr:"dv",sa:"ds"},monthLabels:{1:"Gen",2:"Febr",3:"Març",4:"Abr",5:"Maig",6:"Juny",7:"Jul",8:"Ag",9:"Set",10:"Oct",11:"Nov",12:"Des"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Avui",firstDayOfWeek:"mo",sunHighlight:!0},id:{dayLabels:{su:"Min",mo:"Sen",tu:"Sel",we:"Rab",th:"Kam",fr:"Jum",sa:"Sab"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Mei",6:"Jun",7:"Jul",8:"Ags",9:"Sep",10:"Okt",11:"Nov",12:"Des"},dateFormat:"dd-mm-yyyy",todayBtnTxt:"Hari ini",firstDayOfWeek:"su",sunHighlight:!0},"en-au":{dayLabels:{su:"Sun",mo:"Mon",tu:"Tue",we:"Wed",th:"Thu",fr:"Fri",sa:"Sat"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"Today",firstDayOfWeek:"mo",sunHighlight:!0},"am-et":{dayLabels:{su:"እሑድ",mo:"ሰኞ",tu:"ማክሰኞ",we:"ረቡዕ",th:"ሐሙስ",fr:"ዓርብ",sa:"ቅዳሜ"},monthLabels:{1:"ጃንዩ",2:"ፌብሩ",3:"ማርች",4:"ኤፕረ",5:"ሜይ",6:"ጁን",7:"ጁላይ",8:"ኦገስ",9:"ሴፕቴ",10:"ኦክተ",11:"ኖቬም",12:"ዲሴም"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"ዛሬ",firstDayOfWeek:"mo",sunHighlight:!0},cs:{dayLabels:{su:"Ne",mo:"Po",tu:"Út",we:"St",th:"Čt",fr:"Pá",sa:"So"},monthLabels:{1:"Led",2:"Úno",3:"Bře",4:"Dub",5:"Kvě",6:"Čvn",7:"Čvc",8:"Srp",9:"Zář",10:"Říj",11:"Lis",12:"Pro"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Dnes",firstDayOfWeek:"mo",sunHighlight:!0},el:{dayLabels:{su:"Κυρ",mo:"Δευ",tu:"Τρι",we:"Τετ",th:"Πεμ",fr:"Παρ",sa:"Σαβ"},monthLabels:{1:"Ιαν",2:"Φεβ",3:"Μαρ",4:"Απρ",5:"Μαι",6:"Ιουν",7:"Ιουλ",8:"Αυγ",9:"Σεπ",10:"Οκτ",11:"Νοε",12:"Δεκ"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"Σήμερα",firstDayOfWeek:"mo",sunHighlight:!0},kk:{dayLabels:{su:"Жк",mo:"Дс",tu:"Сс",we:"Ср",th:"Бс",fr:"Жм",sa:"Сб"},monthLabels:{1:"Қаң",2:"Ақп",3:"Нау",4:"Сәу",5:"Мам",6:"Мау",7:"Шіл",8:"Там",9:"Қырк",10:"Қаз",11:"Қар",12:"Желт"},dateFormat:"dd-mmm-yyyy",todayBtnTxt:"Бүгін",firstDayOfWeek:"mo",sunHighlight:!0},th:{dayLabels:{su:"อา",mo:"จ",tu:"อ",we:"พ",th:"พฤ",fr:"ศ",sa:"ส"},monthLabels:{1:"ม.ค",2:"ก.พ.",3:"มี.ค.",4:"เม.ย.",5:"พ.ค.",6:"มิ.ย.",7:"ก.ค.",8:"ส.ค.",9:"ก.ย.",10:"ต.ค.",11:"พ.ย.",12:"ธ.ค."},dateFormat:"dd-mm-yyyy",todayBtnTxt:"วันนี้",firstDayOfWeek:"su",sunHighlight:!0},"ko-kr":{dayLabels:{su:"일",mo:"월",tu:"화",we:"수",th:"목",fr:"금",sa:"토"},monthLabels:{1:"1월",2:"2월",3:"3월",4:"4월",5:"5월",6:"6월",7:"7월",8:"8월",9:"9월",10:"10월",11:"11월",12:"12월"},dateFormat:"yyyy mm dd",todayBtnTxt:"오늘",firstDayOfWeek:"su",sunHighlight:!0},da:{dayLabels:{su:"Søn",mo:"Man",tu:"Tir",we:"Ons",th:"Tor",fr:"Fre",sa:"Lør"},monthLabels:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"Maj",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Okt",11:"Nov",12:"Dec"},dateFormat:"dd-mm-yyyy",todayBtnTxt:"I dag",firstDayOfWeek:"mo",sunHighlight:!0},lt:{dayLabels:{su:"Sk",mo:"Pr",tu:"An",we:"Tr",th:"Kt",fr:"Pn",sa:"Št"},monthLabels:{1:"Saus.",2:"Vas.",3:"Kov.",4:"Bal.",5:"Geg.",6:"Birž.",7:"Liep.",8:"Rugp.",9:"Rugs.",10:"Sapl.",11:"Lapkr.",12:"Gruod."},dateFormat:"yyyy-mm-dd",todayBtnTxt:"Šianien",firstDayOfWeek:"mo",sunHighlight:!0},vi:{dayLabels:{su:"CN",mo:"T2",tu:"T3",we:"T4",th:"T5",fr:"T6",sa:"T7"},monthLabels:{1:"THG 1",2:"THG 2",3:"THG 3",4:"THG 4",5:"THG 5",6:"THG 6",7:"THG 7",8:"THG 8",9:"THG 9",10:"THG 10",11:"THG 11",12:"THG 12"},dateFormat:"dd/mm/yyyy",todayBtnTxt:"Hôm nay",firstDayOfWeek:"mo",sunHighlight:!0},bn:{dayLabels:{su:"রবি",mo:"সোম",tu:"মঙ্গল",we:"বুধ",th:"বৃহঃ",fr:"শুক্র",sa:"শনি"},monthLabels:{1:"জানু",2:"ফেব্রু",3:"মার্চ",4:"এপ্রিল",5:"মে",6:"জুন",7:"জুলাই",8:"আগস্ট",9:"সেপ্টে",10:"অক্টো",11:"নভে",12:"ডিসে"},dateFormat:"dd-mm-yyyy",todayBtnTxt:"আজ",firstDayOfWeek:"su",sunHighlight:!0},bg:{dayLabels:{su:"нд",mo:"пн",tu:"вт",we:"ср",th:"чт",fr:"пт",sa:"сб"},monthLabels:{1:"яну.",2:"фев.",3:"март",4:"апр.",5:"май",6:"юни",7:"юли",8:"авг.",9:"сеп.",10:"окт.",11:"ное.",12:"дек."},dateFormat:"dd.mm.yyyy",todayBtnTxt:"днес",firstDayOfWeek:"mo",sunHighlight:!0},hr:{dayLabels:{su:"Ne",mo:"Po",tu:"Ul",we:"Sr",th:"Če",fr:"Pe",sa:"Su"},monthLabels:{1:"Sij",2:"Vel",3:"Ožu",4:"Tra",5:"Svi",6:"Lip",7:"Srp",8:"Kol",9:"Ruj",10:"Lis",11:"Stu",12:"Pro"},dateFormat:"dd.mm.yyyy.",todayBtnTxt:"danas",firstDayOfWeek:"su",sunHighlight:!0},ar:{dayLabels:{su:"الأحد",mo:"الاثنين",tu:"الثلاثاء",we:"الاربعاء",th:"الخميس",fr:"الجمعة",sa:"السبت"},monthLabels:{1:"يناير",2:"فبراير",3:"مارس",4:"ابريل",5:"مايو",6:"يونيو",7:"يوليو",8:"أغسطس",9:"سبتمبر",10:"أكتوبر",11:"نوفمبر",12:"ديسمبر"},dateFormat:"yyyy-mm-dd",todayBtnTxt:"اليوم",firstDayOfWeek:"sa",sunHighlight:!0},is:{dayLabels:{su:"sun",mo:"mán",tu:"þri",we:"mið",th:"fim",fr:"fös",sa:"lau"},monthLabels:{1:"jan",2:"feb",3:"mar",4:"apr",5:"maí",6:"jún",7:"júl",8:"ágú",9:"sep",10:"okt",11:"nóv",12:"des"},dateFormat:"dd.mm.yyyy",todayBtnTxt:"Í dag",firstDayOfWeek:"su",sunHighlight:!0}}}return e.prototype.getLocaleOptions=function(e){return e&&this.locales.hasOwnProperty(e)?this.locales[e]:this.locales.en},e.ctorParameters=[],e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){this.weekDays=["su","mo","tu","we","th","fr","sa"]}return e.prototype.isDateValid=function(e,n,t,l,o,r,i,a,u,s,d,c){var p={day:0,month:0,year:0},f=[31,28,31,30,31,30,31,31,30,31,30,31],g=-1!==n.indexOf("mmm"),h=this.getDateFormatDelimeters(n),m=this.getDateValue(e,n,h),v=this.getNumberByValue(m[0]),b=g?this.getMonthNumberByMonthName(m[1],d):this.getNumberByValue(m[1]),_=this.getNumberByValue(m[2]);if(-1!==b&&-1!==_&&-1!==v){if(vl||b<1||b>12)return p;var y={year:v,month:b,day:_};return this.isDisabledDay(y,t,l,o,r,i,a,u,s,c)?p:((v%400==0||v%100!=0&&v%4==0)&&(f[1]=29),_<1||_>f[b-1]?p:y)}return p},e.prototype.getDateValue=function(e,n,t){var l=t[0];t[0]!==t[1]&&(l=t[0]+t[1]);for(var o=new RegExp("["+l+"]"),r=e.split(o),i=n.split(o),a=[],u=0;u=10||2===e.format.length&&e.value.length>2)&&(n=-1),n},e.prototype.getDateFormatDelimeters=function(e){return e.match(/[^(dmy)]{1,}/g)},e.prototype.parseDefaultMonth=function(e){var n={monthTxt:"",monthNbr:0,year:0};if(""!==e){var t=e.split(e.match(/[^0-9]/)[0]);n.monthNbr=2===t[0].length?parseInt(t[0]):parseInt(t[1]),n.year=2===t[0].length?parseInt(t[1]):parseInt(t[0])}return n},e.prototype.formatDate=function(e,n,t){var l=n.replace("yyyy",String(e.year));return l=-1!==n.indexOf("mmm")?l.replace("mmm",t[e.month]):-1!==n.indexOf("mm")?l.replace("mm",this.preZero(e.month)):l.replace("m",String(e.month)),-1!==n.indexOf("dd")?l.replace("dd",this.preZero(e.day)):l.replace("d",String(e.day))},e.prototype.preZero=function(e){return e<10?"0"+e:String(e)},e.prototype.isDisabledDay=function(e,n,t,l,o,r,i,a,u,s){for(var d=0,c=s;dt&&1===e.month)return!0;var g=this.getTimeInMilliseconds(e);if(this.isInitializedDate(l)&&g<=this.getTimeInMilliseconds(l))return!0;if(this.isInitializedDate(o)&&g>=this.getTimeInMilliseconds(o))return!0;if(r&&(0===f||6===f))return!0;if(i.length>0)for(var h=0,m=i;h=this.getTimeInMilliseconds(w.begin)&&g<=this.getTimeInMilliseconds(w.end))return!0}return!1},e.prototype.isMarkedDate=function(e,n,t){for(var l=0,o=n;l=this.getTimeInMilliseconds(n)},e.prototype.isInitializedDate=function(e){return 0!==e.year&&0!==e.month&&0!==e.day},e.prototype.isSameDate=function(e,n){return e.year===n.year&&e.month===n.month&&e.day===n.day},e.prototype.getTimeInMilliseconds=function(e){return new Date(e.year,e.month-1,e.day,0,0,0,0).getTime()},e.prototype.getDayNumber=function(e){return new Date(e.year,e.month-1,e.day,0,0,0,0).getDay()},e.prototype.getWeekDays=function(){return this.weekDays},e.prototype.getWeekdayIndex=function(e){return this.weekDays.indexOf(e)},e.ctorParameters=[],e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(3),o=t(16);function r(e,n){return function(t){return t.lift(new i(e,n))}}var i=function(){function e(e,n){this.predicate=e,this.thisArg=n}return e.prototype.call=function(e,n){return n.subscribe(new a(e,this.predicate,this.thisArg))},e}(),a=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.predicate=t,o.thisArg=l,o.count=0,o}return l.d(n,e),n.prototype._next=function(e){var n;try{n=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}n&&this.destination.next(e)},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(3),o=t(16),r=t(136),i=t(168);function a(e,n,t){return function(l){return l.lift(new u(e,n,t))}}var u=function(){function e(e,n,t){this.nextOrObserver=e,this.error=n,this.complete=t}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.nextOrObserver,this.error,this.complete))},e}(),s=function(e){function n(n,t,l,o){var a=e.call(this,n)||this;return a._tapNext=r.a,a._tapError=r.a,a._tapComplete=r.a,a._tapError=l||r.a,a._tapComplete=o||r.a,Object(i.a)(t)?(a._context=a,a._tapNext=t):t&&(a._context=t,a._tapNext=t.next||r.a,a._tapError=t.error||r.a,a._tapComplete=t.complete||r.a),a}return l.d(n,e),n.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},n.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},n.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return I}));var l=t(0),o=t(12),r=t(2),i=(t(1),l["ɵcrt"]({encapsulation:2,styles:[".ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;cursor:default;display:flex;outline:0;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none;border:0;box-shadow:none;outline:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute;z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:.8s linear infinite load8;animation:.8s linear infinite load8}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}"],data:{}}));function a(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["aria-hidden","true"],["class","ng-value-icon left"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.unselect(e.parent.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["×"])),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","ng-value-label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,["",""]))],null,(function(e,n){e(n,3,0,n.parent.context.$implicit.label)}))}function u(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","ng-value"]],[[2,"ng-value-disabled",null]],null,null,null,null)),(e()(),l["ɵand"](0,[["defaultLabelTemplate",2]],null,0,null,a)),(e()(),l["ɵand"](16777216,null,null,2,null,u)),l["ɵdid"](3,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](4,{item:0,clear:1,label:2})],(function(e,n){var t=n.component;e(n,3,0,e(n,4,0,n.context.$implicit.value,t.clearItem,n.context.$implicit.label),t.labelTemplate||l["ɵnov"](n,1))}),(function(e,n){e(n,0,0,n.context.$implicit.disabled)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](2,278528,null,0,r.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,2,0,n.component.selectedItems)}),null)}function c(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function p(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,2,null,c)),l["ɵdid"](1,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](2,{items:0,clear:1}),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){var t=n.component;e(n,1,0,e(n,2,0,t.selectedValues,t.clearItem),t.multiLabelTemplate)}),null)}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[["class","ng-spinner-loader"]],null,null,null,null,null))],null,null)}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"span",[["class","ng-clear-wrapper"]],[[8,"title",0]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[["aria-hidden","true"],["class","ng-clear"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["×"]))],null,(function(e,n){e(n,0,0,l["ɵinlineInterpolate"](1,"",n.component.clearAllText,""))}))}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","ng-option-label"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.parent.context.$implicit.label)}))}function m(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","ng-option"]],[[1,"role",0],[2,"ng-option-disabled",null],[2,"ng-option-selected",null],[2,"ng-optgroup",null],[2,"ng-option",null],[2,"ng-option-child",null],[2,"ng-option-marked",null],[1,"aria-selected",0],[1,"id",0]],[[null,"click"],[null,"mouseover"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==o.toggleItem(e.context.$implicit)&&l),"mouseover"===n&&(l=!1!==o.onItemHover(e.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵand"](0,[["defaultOptionTemplate",2]],null,0,null,h)),(e()(),l["ɵand"](16777216,null,null,2,null,m)),l["ɵdid"](3,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](4,{item:0,item$:1,index:2,searchTerm:3})],(function(e,n){var t=n.component;e(n,3,0,e(n,4,0,n.context.$implicit.value,n.context.$implicit,n.context.$implicit.index,t.filterValue),n.context.$implicit.children?t.optgroupTemplate||l["ɵnov"](n,1):t.optionTemplate||l["ɵnov"](n,1))}),(function(e,n){e(n,0,0,n.context.$implicit.children?"group":"option",n.context.$implicit.disabled,n.context.$implicit.selected,n.context.$implicit.children,!n.context.$implicit.children,!!n.context.$implicit.parent,n.context.$implicit===n.component.itemsList.markedItem,n.context.$implicit.selected,null==n.context.$implicit?null:n.context.$implicit.htmlId)}))}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[["class","ng-tag-label"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵted"](3,null,['"','"']))],null,(function(e,n){var t=n.component;e(n,2,0,t.addTagText),e(n,3,0,t.filterValue)}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","ng-option"],["role","option"]],[[2,"ng-option-marked",null]],[[null,"mouseover"],[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"mouseover"===n&&(l=!1!==o.itemsList.unmarkItem()&&l),"click"===n&&(l=!1!==o.selectTag()&&l),l}),null,null)),(e()(),l["ɵand"](0,[["defaultTagTemplate",2]],null,0,null,b)),(e()(),l["ɵand"](16777216,null,null,2,null,_)),l["ɵdid"](3,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](4,{searchTerm:0})],(function(e,n){var t=n.component;e(n,3,0,e(n,4,0,t.filterValue),t.tagTemplate||l["ɵnov"](n,1))}),(function(e,n){e(n,0,0,!n.component.itemsList.markedItem)}))}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","ng-option ng-option-disabled"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.component.notFoundText)}))}function C(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),l["ɵand"](0,[["defaultNotFoundTemplate",2]],null,0,null,w)),(e()(),l["ɵand"](16777216,null,null,2,null,C)),l["ɵdid"](3,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](4,{searchTerm:0}),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){var t=n.component;e(n,3,0,e(n,4,0,t.filterValue),t.notFoundTemplate||l["ɵnov"](n,1))}),null)}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","ng-option ng-option-disabled"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.component.typeToSearchText)}))}function M(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),l["ɵand"](0,[["defaultTypeToSearchTemplate",2]],null,0,null,O)),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](3,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,3,0,n.component.typeToSearchTemplate||l["ɵnov"](n,1))}),null)}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","ng-option ng-option-disabled"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.component.loadingText)}))}function P(e){return l["ɵvid"](0,[(e()(),l["ɵand"](0,null,null,0))],null,null)}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),l["ɵand"](0,[["defaultLoadingTextTemplate",2]],null,0,null,A)),(e()(),l["ɵand"](16777216,null,null,2,null,P)),l["ɵdid"](3,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](4,{searchTerm:0}),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){var t=n.component;e(n,3,0,e(n,4,0,t.filterValue),t.loadingTextTemplate||l["ɵnov"](n,1))}),null)}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,13,"ng-dropdown-panel",[["class","ng-dropdown-panel"]],[[2,"ng-select-multiple",null],[8,"id",0]],[[null,"update"],[null,"scroll"],[null,"scrollToEnd"],[null,"outsideClick"],[null,"mousedown"]],(function(e,n,t){var o=!0,r=e.component;return"mousedown"===n&&(o=!1!==l["ɵnov"](e,2).handleMousedown(t)&&o),"update"===n&&(o=!1!==(r.viewPortItems=t)&&o),"scroll"===n&&(o=!1!==r.scroll.emit(t)&&o),"scrollToEnd"===n&&(o=!1!==r.scrollToEnd.emit(t)&&o),"outsideClick"===n&&(o=!1!==r.close()&&o),o}),D,E)),l["ɵdid"](1,278528,null,0,r.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵdid"](2,1818624,[[1,4]],0,o.h,[l.Renderer2,l.NgZone,o.i,o.j,l.ElementRef,[2,r.DOCUMENT]],{items:[0,"items"],markedItem:[1,"markedItem"],position:[2,"position"],appendTo:[3,"appendTo"],bufferAmount:[4,"bufferAmount"],virtualScroll:[5,"virtualScroll"],headerTemplate:[6,"headerTemplate"],footerTemplate:[7,"footerTemplate"],filterValue:[8,"filterValue"]},{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"}),(e()(),l["ɵeld"](3,0,null,0,4,null,null,null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](5,278528,null,0,r.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](7,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,0,1,null,x)),l["ɵdid"](9,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,0,1,null,k)),l["ɵdid"](11,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,0,1,null,S)),l["ɵdid"](13,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,1,0,"ng-dropdown-panel",t.appendTo?t.classes:null),e(n,2,0,t.itemsList.filteredItems,t.itemsList.markedItem,t.dropdownPosition,t.appendTo,t.bufferAmount,t.virtualScroll,t.headerTemplate,t.footerTemplate,t.filterValue),e(n,5,0,t.viewPortItems),e(n,7,0,t.showAddTag),e(n,9,0,t.showNoItemsFound()),e(n,11,0,t.showTypeToSearch()),e(n,13,0,t.loading&&0===t.itemsList.filteredItems.length)}),(function(e,n){var t=n.component;e(n,0,0,t.multiple,t.dropdownId)}))}function I(e){return l["ɵvid"](2,[l["ɵqud"](671088640,1,{dropdownPanel:0}),l["ɵqud"](402653184,2,{filterInput:0}),(e()(),l["ɵeld"](2,0,null,null,15,"div",[["class","ng-select-container"]],[[2,"ng-has-value",null]],[[null,"mousedown"]],(function(e,n,t){var l=!0;return"mousedown"===n&&(l=!1!==e.component.handleMousedown(t)&&l),l}),null,null)),(e()(),l["ɵeld"](3,0,null,null,8,"div",[["class","ng-value-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"div",[["class","ng-placeholder"]],null,null,null,null,null)),(e()(),l["ɵted"](5,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](7,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](9,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](10,0,null,null,1,"div",[["class","ng-input"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,[[2,0],["filterInput",1]],null,0,"input",[["role","combobox"],["type","text"]],[[1,"autocomplete",0],[1,"id",0],[1,"tabindex",0],[1,"autocorrect",0],[1,"autocapitalize",0],[8,"readOnly",0],[8,"disabled",0],[8,"value",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-activedescendant",0]],[[null,"input"],[null,"focus"],[null,"blur"],[null,"change"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==r.filter(l["ɵnov"](e,11).value)&&o),"focus"===n&&(o=!1!==r.onInputFocus(t)&&o),"blur"===n&&(o=!1!==r.onInputBlur(t)&&o),"change"===n&&(o=!1!==t.stopPropagation()&&o),o}),null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](13,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](15,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](16,0,null,null,1,"span",[["class","ng-arrow-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](17,0,null,null,0,"span",[["class","ng-arrow"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](19,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,7,0,!t.multiLabelTemplate&&t.selectedItems.length>0),e(n,9,0,t.multiLabelTemplate&&t.selectedValues.length>0),e(n,13,0,t.loading),e(n,15,0,t.showClear()),e(n,19,0,t.isOpen)}),(function(e,n){var t=n.component;e(n,2,0,t.hasValue),e(n,5,0,t.placeholder),e(n,11,1,[t.labelForId?"off":t.dropdownId,t.labelForId,t.tabIndex,t.autoCorrect,t.autoCapitalize,!t.searchable,t.disabled,t.filterValue?t.filterValue:"",t.isOpen,t.isOpen?t.dropdownId:null,t.isOpen?null==t.itemsList||null==t.itemsList.markedItem?null:t.itemsList.markedItem.htmlId:null])}))}var E=l["ɵcrt"]({encapsulation:2,styles:[],data:{}});function N(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","ng-dropdown-header"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,16777216,null,null,2,null,null,null,null,null,null,null)),l["ɵdid"](2,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](3,{searchTerm:0})],(function(e,n){var t=n.component;e(n,2,0,e(n,3,0,t.filterValue),t.headerTemplate)}),null)}function T(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","ng-dropdown-footer"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,16777216,null,null,2,null,null,null,null,null,null,null)),l["ɵdid"](2,540672,null,0,r.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),l["ɵpod"](3,{searchTerm:0})],(function(e,n){var t=n.component;e(n,2,0,e(n,3,0,t.filterValue),t.footerTemplate)}),null)}function D(e){return l["ɵvid"](2,[l["ɵqud"](402653184,1,{contentElementRef:0}),l["ɵqud"](402653184,2,{scrollElementRef:0}),l["ɵqud"](402653184,3,{paddingElementRef:0}),(e()(),l["ɵand"](16777216,null,null,1,null,N)),l["ɵdid"](4,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](5,0,[[2,0],["scroll",1]],null,3,"div",[["class","ng-dropdown-panel-items scroll-host"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,[[3,0],["padding",1]],null,0,"div",[],[[2,"total-padding",null]],null,null,null,null)),(e()(),l["ɵeld"](7,0,[[1,0],["content",1]],null,1,"div",[],[[2,"scrollable-content",null]],null,null,null,null)),l["ɵncd"](null,0),(e()(),l["ɵand"](16777216,null,null,1,null,T)),l["ɵdid"](10,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,4,0,t.headerTemplate),e(n,10,0,t.footerTemplate)}),(function(e,n){var t=n.component;e(n,6,0,t.virtualScroll),e(n,7,0,t.virtualScroll&&t.items.length>0)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(232),o=new(t(233).a)(l.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=function(){var e=this;this.messageAnimationState="",this.messageAnimationChangeEvent=new l.EventEmitter,this.getEmitter=function(){return e.messageAnimationChangeEvent},this.animate=function(n){e.messageAnimationState=n,e.messageAnimationChangeEvent.emit(e.messageAnimationState)}}},function(e,n,t){"use strict";var l=t(28),o=t(288),r=t(286),i=t(147),a=t(123),u=t(97),s=t(46),d=t(289),c=t(290),p=t(285),f=t(284);function g(e,n){if(!n)return e instanceof l.a?e:new l.a(Object(f.a)(e));if(null!=e){if(function(e){return e&&"function"==typeof e[i.a]}(e))return function(e,n){return new l.a(n?function(t){var l=new s.a;return l.add(n.schedule((function(){var o=e[i.a]();l.add(o.subscribe({next:function(e){l.add(n.schedule((function(){return t.next(e)})))},error:function(e){l.add(n.schedule((function(){return t.error(e)})))},complete:function(){l.add(n.schedule((function(){return t.complete()})))}}))}))),l}:Object(p.a)(e))}(e,n);if(Object(o.a)(e))return function(e,n){return new l.a(n?function(t){var l=new s.a;return l.add(n.schedule((function(){return e.then((function(e){l.add(n.schedule((function(){t.next(e),l.add(n.schedule((function(){return t.complete()})))})))}),(function(e){l.add(n.schedule((function(){return t.error(e)})))}))}))),l}:Object(d.a)(e))}(e,n);if(Object(r.a)(e))return Object(u.a)(e,n);if(function(e){return e&&"function"==typeof e[a.a]}(e)||"string"==typeof e)return function(e,n){if(!e)throw new Error("Iterable cannot be null");return new l.a(n?function(t){var l,o=new s.a;return o.add((function(){l&&"function"==typeof l.return&&l.return()})),o.add(n.schedule((function(){l=e[a.a](),o.add(n.schedule((function(){if(!t.closed){var e,n;try{var o=l.next();e=o.value,n=o.done}catch(e){return void t.error(e)}n?t.complete():(t.next(e),this.schedule())}})))}))),o}:Object(c.a)(e))}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}t.d(n,"a",(function(){return g}))},,function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=(t(33),t(45),function(){function e(e,n,t,o){var r=this;this.el=e,this.sideBarService=n,this.renderer=t,this.routerService=o,this.label="",this.showSearch=!1,this.showActionButton=!1,this.onClickMenu=new l.EventEmitter,this.onSearchStringChange=new l.EventEmitter,this.onChangeViewEvent=new l.EventEmitter,this.showSearchField=!1,this.subscriptions=[],this.subscriptions.push(o.$onRouteChanged.subscribe((function(e){r.showSearchField=!1,r.model=null})))}return e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e.prototype.openMenu=function(e){e.stopPropagation(),this.sideBarService.openLeftMenu(),this.onClickMenu.emit()},e.prototype.searchStringChange=function(e){this.onSearchStringChange.emit(e)},e.prototype.openSearchField=function(){this.renderer.invokeElementMethod(this.input.nativeElement,"focus"),this.showSearchField=!this.showSearchField,this.showSearchField||(this.model="",this.onSearchStringChange.emit(this.model))},e.prototype.onChangeView=function(e){e.stopPropagation(),this.onChangeViewEvent.emit()},e}())},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return i})),t(19),t(24),t(15);var l=t(25),o=t(9),r=(t(17),t(174),t(91),function(){return(r=Object.assign||function(e){for(var n,t=1,l=arguments.length;ta.max&&(this.opts.maxYear=a.max),void 0!==this.disabled&&(this.opts.componentDisabled=this.disabled)},e.prototype.getSelectorTopPosition=function(){if(this.opts.openSelectorTopOfInput)return this.elem.nativeElement.children[0].offsetHeight+"px"},e.prototype.resetMonthYearSelect=function(){this.selectMonth=!1,this.selectYear=!1},e.prototype.onSelectMonthClicked=function(e){if(e.stopPropagation(),this.selectMonth=!this.selectMonth,this.selectYear=!1,this.cdr.detectChanges(),this.selectMonth){var n=this.getToday();this.months.length=0;for(var t=1;t<=12;t+=3){for(var l=[],o=t;othis.opts.maxYear})}this.years.push(l)}this.prevYearsDisabled=this.years[0][0].year<=this.opts.minYear||this.utilService.isMonthDisabledByDisableUntil({year:this.years[0][0].year-1,month:this.visibleMonth.monthNbr,day:this.daysInMonth(this.visibleMonth.monthNbr,this.years[0][0].year-1)},this.opts.disableUntil),this.nextYearsDisabled=this.years[4][4].year>=this.opts.maxYear||this.utilService.isMonthDisabledByDisableSince({year:this.years[4][4].year+1,month:this.visibleMonth.monthNbr,day:1},this.opts.disableSince)},e.prototype.onUserDateInput=function(e){if(0===e.length)this.utilService.isInitializedDate(this.selectedDate)?this.clearDate():this.invalidInputFieldChanged(e);else{var n=this.utilService.isDateValid(e,this.opts.dateFormat,this.opts.minYear,this.opts.maxYear,this.opts.disableUntil,this.opts.disableSince,this.opts.disableWeekends,this.opts.disableWeekdays,this.opts.disableDays,this.opts.disableDateRanges,this.opts.monthLabels,this.opts.enableDays);this.utilService.isInitializedDate(n)?this.utilService.isSameDate(n,this.selectedDate)?this.updateDateValue(n):this.selectDate(n,i.CloseByDateSel):this.invalidInputFieldChanged(e)}},e.prototype.onFocusInput=function(e){this.inputFocusBlur.emit({reason:u.focus,value:e.target.value})},e.prototype.onBlurInput=function(e){this.selectionDayTxt=e.target.value,this.onTouchedCb(),this.inputFocusBlur.emit({reason:u.blur,value:e.target.value})},e.prototype.onCloseSelector=function(e){e.keyCode===s.esc&&this.showSelector&&!this.opts.inline&&(this.calendarToggle.emit(i.CloseByEsc),this.showSelector=!1)},e.prototype.invalidInputFieldChanged=function(e){this.invalidDate=e.length>0,this.inputFieldChanged.emit({value:e,dateFormat:this.opts.dateFormat,valid:!1}),this.onChangeCb(null),this.onTouchedCb()},e.prototype.isTodayDisabled=function(){this.disableTodayBtn=this.utilService.isDisabledDay(this.getToday(),this.opts.minYear,this.opts.maxYear,this.opts.disableUntil,this.opts.disableSince,this.opts.disableWeekends,this.opts.disableWeekdays,this.opts.disableDays,this.opts.disableDateRanges,this.opts.enableDays)},e.prototype.parseOptions=function(){this.locale&&this.setLocaleOptions(),this.setOptions();var e=this.utilService.getWeekDays();if(this.isTodayDisabled(),this.dayIdx=e.indexOf(this.opts.firstDayOfWeek),-1!==this.dayIdx)for(var n=this.dayIdx,t=0;t0}),this.invalidDate=!1},e.prototype.setDisabledState=function(e){this.opts.componentDisabled=e},e.prototype.registerOnChange=function(e){this.onChangeCb=e},e.prototype.registerOnTouched=function(e){this.onTouchedCb=e},e.prototype.ngOnChanges=function(e){var n=this;if(e.hasOwnProperty("selector")){var t=e.selector.currentValue;"object"==typeof t?t.open?(this.showSelector=!0,this.openSelector(i.Open)):(this.showSelector=!1,this.closeSelector(i.CloseByApi)):t>0&&this.openBtnClicked()}e.hasOwnProperty("placeholder")&&(this.placeholder=e.placeholder.currentValue),e.hasOwnProperty("locale")&&(this.locale=e.locale.currentValue),e.hasOwnProperty("disabled")&&(this.disabled=e.disabled.currentValue),e.hasOwnProperty("options")&&(this.options=e.options.currentValue),this.weekDays.length=0,this.parseOptions();var l=!1;if(e.hasOwnProperty("defaultMonth")){var o=e.defaultMonth.currentValue;"object"==typeof o&&(o=o.defMonth),this.selectedMonth=null!=o&&""!==o?this.parseSelectedMonth(o):{monthTxt:"",monthNbr:0,year:0},l=!0}if(e.hasOwnProperty("selDate")){var r=e.selDate;null!==r.currentValue&&void 0!==r.currentValue&&""!==r.currentValue&&0!==Object.keys(r.currentValue).length?(this.selectedDate=this.parseSelectedDate(r.currentValue),setTimeout((function(){n.onChangeCb(n.getDateModel(n.selectedDate))}))):r.isFirstChange()||this.clearDate()}0===this.visibleMonth.year&&0===this.visibleMonth.monthNbr||l?this.setVisibleMonth():(this.visibleMonth.monthTxt=this.opts.monthLabels[this.visibleMonth.monthNbr],this.generateCalendar(this.visibleMonth.monthNbr,this.visibleMonth.year,!1))},e.prototype.removeBtnClicked=function(){this.clearDate(),this.showSelector&&this.calendarToggle.emit(i.CloseByCalBtn),this.showSelector=!1},e.prototype.onDecreaseBtnClicked=function(){this.decreaseIncreaseDate(!0)},e.prototype.onIncreaseBtnClicked=function(){this.decreaseIncreaseDate(!1)},e.prototype.openBtnClicked=function(){this.showSelector=!this.showSelector,this.cdr.detectChanges(),this.showSelector?this.openSelector(i.Open):this.closeSelector(i.CloseByCalBtn)},e.prototype.openSelector=function(e){var n=this;this.globalListener=this.globalListener||this.renderer.listenGlobal("document","click",(function(e){n.showSelector&&e.target&&n.elem.nativeElement!==e.target&&!n.elem.nativeElement.contains(e.target)&&(n.showSelector=!1,n.calendarToggle.emit(i.CloseByOutClick)),(n.opts.monthSelector||n.opts.yearSelector)&&n.resetMonthYearSelect()})),this.setVisibleMonth(),this.calendarToggle.emit(e)},e.prototype.closeSelector=function(e){this.globalListener&&this.globalListener(),this.calendarToggle.emit(e)},e.prototype.setVisibleMonth=function(){var e=0,n=0;if(this.utilService.isInitializedDate(this.selectedDate))e=this.selectedDate.year,n=this.selectedDate.month;else if(0===this.selectedMonth.year&&0===this.selectedMonth.monthNbr){var t=this.getToday();e=t.year,n=t.month}else e=this.selectedMonth.year,n=this.selectedMonth.monthNbr;this.visibleMonth={monthTxt:this.opts.monthLabels[n],monthNbr:n,year:e},this.generateCalendar(n,e,!0)},e.prototype.onPrevMonth=function(){var e=this.getDate(this.visibleMonth.year,this.visibleMonth.monthNbr,1);e.setMonth(e.getMonth()-1);var n=e.getFullYear(),t=e.getMonth()+1;this.visibleMonth={monthTxt:this.monthText(t),monthNbr:t,year:n},this.generateCalendar(t,n,!0)},e.prototype.onNextMonth=function(){var e=this.getDate(this.visibleMonth.year,this.visibleMonth.monthNbr,1);e.setMonth(e.getMonth()+1);var n=e.getFullYear(),t=e.getMonth()+1;this.visibleMonth={monthTxt:this.monthText(t),monthNbr:t,year:n},this.generateCalendar(t,n,!0)},e.prototype.onPrevYear=function(){this.visibleMonth.year--,this.generateCalendar(this.visibleMonth.monthNbr,this.visibleMonth.year,!0)},e.prototype.onNextYear=function(){this.visibleMonth.year++,this.generateCalendar(this.visibleMonth.monthNbr,this.visibleMonth.year,!0)},e.prototype.onTodayClicked=function(){var e=this.getToday();this.selectDate(e,i.CloseByDateSel),(this.opts.inline&&e.year!==this.visibleMonth.year||e.month!==this.visibleMonth.monthNbr)&&(this.visibleMonth={monthTxt:this.opts.monthLabels[e.month],monthNbr:e.month,year:e.year},this.generateCalendar(e.month,e.year,!0))},e.prototype.onCellClicked=function(e){e.cmo===this.prevMonthId?(this.onPrevMonth(),this.opts.allowSelectionOnlyInCurrentMonth||this.selectDate(e.dateObj,i.CloseByDateSel)):e.cmo===this.currMonthId?this.opts.allowDeselectDate&&this.utilService.isSameDate(e.dateObj,this.selectedDate)?this.clearDate():this.selectDate(e.dateObj,i.CloseByDateSel):e.cmo===this.nextMonthId&&(this.onNextMonth(),this.opts.allowSelectionOnlyInCurrentMonth||this.selectDate(e.dateObj,i.CloseByDateSel)),this.resetMonthYearSelect()},e.prototype.onCellKeyDown=function(e,n){e.keyCode!==s.enter&&e.keyCode!==s.space||n.disabled||(e.preventDefault(),this.onCellClicked(n))},e.prototype.clearDate=function(){this.updateDateValue({year:0,month:0,day:0}),this.setFocusToInputBox()},e.prototype.decreaseIncreaseDate=function(e){var n=this.selectedDate;if(this.utilService.isInitializedDate(n)){var t=this.getDate(n.year,n.month,n.day);t.setDate(e?t.getDate()-1:t.getDate()+1),n={year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate()}}else n=this.getToday();this.selectDate(n,i.CloseByCalBtn)},e.prototype.selectDate=function(e,n){this.updateDateValue(e),this.showSelector&&this.calendarToggle.emit(n),this.showSelector=!1,this.setFocusToInputBox()},e.prototype.setFocusToInputBox=function(){var e=this;!this.opts.inline&&this.opts.showInputField&&setTimeout((function(){e.inputBoxEl.nativeElement.focus()}),100)},e.prototype.updateDateValue=function(e){var n=!this.utilService.isInitializedDate(e);this.selectedDate=e,this.emitDateChanged(e),this.opts.inline||(this.selectionDayTxt=n?"":this.utilService.formatDate(e,this.opts.dateFormat,this.opts.monthLabels),this.inputFieldChanged.emit({value:this.selectionDayTxt,dateFormat:this.opts.dateFormat,valid:!n}),this.invalidDate=!1)},e.prototype.emitDateChanged=function(e){if(this.utilService.isInitializedDate(e)){var n=this.getDateModel(e);this.dateChanged.emit(n),this.onChangeCb(n),this.onTouchedCb()}else this.dateChanged.emit({date:e,jsdate:null,formatted:"",epoc:0}),this.onChangeCb(null),this.onTouchedCb()},e.prototype.getDateModel=function(e){return{date:e,jsdate:this.getDate(e.year,e.month,e.day),formatted:this.utilService.formatDate(e,this.opts.dateFormat,this.opts.monthLabels),epoc:Math.round(this.getTimeInMilliseconds(e)/1e3)}},e.prototype.monthText=function(e){return this.opts.monthLabels[e]},e.prototype.monthStartIdx=function(e,n){var t=new Date;t.setDate(1),t.setMonth(n-1),t.setFullYear(e);var l=t.getDay()+this.sundayIdx();return l>=7?l-7:l},e.prototype.daysInMonth=function(e,n){return new Date(n,e,0).getDate()},e.prototype.daysInPrevMonth=function(e,n){var t=this.getDate(n,e,1);return t.setMonth(t.getMonth()-1),this.daysInMonth(t.getMonth()+1,t.getFullYear())},e.prototype.isCurrDay=function(e,n,t,l,o){return e===o.day&&n===o.month&&t===o.year&&l===this.currMonthId},e.prototype.getToday=function(){var e=new Date;return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()}},e.prototype.getTimeInMilliseconds=function(e){return this.getDate(e.year,e.month,e.day).getTime()},e.prototype.getWeekday=function(e){return this.utilService.getWeekDays()[this.utilService.getDayNumber(e)]},e.prototype.getDate=function(e,n,t){return new Date(e,n-1,t,0,0,0,0)},e.prototype.sundayIdx=function(){return this.dayIdx>0?7-this.dayIdx:0},e.prototype.generateCalendar=function(e,n,t){this.dates.length=0;for(var l=this.getToday(),o=this.monthStartIdx(n,e),r=this.daysInMonth(e,n),i=this.daysInPrevMonth(e,n),a=1,u=this.prevMonthId,s=1;s<7;s++){var d=[];if(1===s){for(var c=i-o+1;c<=i;c++)d.push({dateObj:f={year:1===e?n-1:n,month:1===e?12:e-1,day:c},cmo:u,currDay:this.isCurrDay(c,e,n,u,l),disabled:this.utilService.isDisabledDay(f,this.opts.minYear,this.opts.maxYear,this.opts.disableUntil,this.opts.disableSince,this.opts.disableWeekends,this.opts.disableWeekdays,this.opts.disableDays,this.opts.disableDateRanges,this.opts.enableDays),markedDate:this.utilService.isMarkedDate(f,this.opts.markDates,this.opts.markWeekends),highlight:this.utilService.isHighlightedDate(f,this.opts.sunHighlight,this.opts.satHighlight,this.opts.highlightDates)});u=this.currMonthId;var p=7-d.length;for(c=0;cr&&(a=1,u=this.nextMonthId),d.push({dateObj:f={year:u===this.nextMonthId&&12===e?n+1:n,month:u===this.currMonthId?e:u===this.nextMonthId&&e<12?e+1:1,day:a},cmo:u,currDay:this.isCurrDay(a,e,n,u,l),disabled:this.utilService.isDisabledDay(f,this.opts.minYear,this.opts.maxYear,this.opts.disableUntil,this.opts.disableSince,this.opts.disableWeekends,this.opts.disableWeekdays,this.opts.disableDays,this.opts.disableDateRanges,this.opts.enableDays),markedDate:this.utilService.isMarkedDate(f,this.opts.markDates,this.opts.markWeekends),highlight:this.utilService.isHighlightedDate(f,this.opts.sunHighlight,this.opts.satHighlight,this.opts.highlightDates)}),a++}var g=this.opts.showWeekNumbers&&"mo"===this.opts.firstDayOfWeek?this.utilService.getWeekNumber(d[0].dateObj):0;this.dates.push({week:d,weekNbr:g})}this.setHeaderBtnDisabledState(e,n),t&&this.calendarViewChanged.emit({year:n,month:e,first:{number:1,weekday:this.getWeekday({year:n,month:e,day:1})},last:{number:r,weekday:this.getWeekday({year:n,month:e,day:r})}})},e.prototype.parseSelectedDate=function(e){var n={day:0,month:0,year:0};if("string"==typeof e){var t=e,l=this.opts.dateFormat,o=this.utilService.getDateFormatDelimeters(l),r=this.utilService.getDateValue(t,l,o);n.year=this.utilService.getNumberByValue(r[0]),n.month=-1!==l.indexOf("mmm")?this.utilService.getMonthNumberByMonthName(r[1],this.opts.monthLabels):this.utilService.getNumberByValue(r[1]),n.day=this.utilService.getNumberByValue(r[2])}else"object"==typeof e&&(n=e);return this.selectionDayTxt=this.utilService.formatDate(n,this.opts.dateFormat,this.opts.monthLabels),n},e.prototype.jsDateToMyDate=function(e){return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()}},e.prototype.parseSelectedMonth=function(e){return this.utilService.parseDefaultMonth(e)},e.prototype.setHeaderBtnDisabledState=function(e,n){var t=!1,l=!1,o=!1,r=!1;this.opts.disableHeaderButtons&&(t=this.utilService.isMonthDisabledByDisableUntil({year:1===e?n-1:n,month:1===e?12:e-1,day:this.daysInMonth(1===e?12:e-1,1===e?n-1:n)},this.opts.disableUntil),l=this.utilService.isMonthDisabledByDisableUntil({year:n-1,month:e,day:this.daysInMonth(e,n-1)},this.opts.disableUntil),o=this.utilService.isMonthDisabledByDisableSince({year:12===e?n+1:n,month:12===e?1:e+1,day:1},this.opts.disableSince),r=this.utilService.isMonthDisabledByDisableSince({year:n+1,month:e,day:1},this.opts.disableSince)),this.prevMonthDisabled=1===e&&n===this.opts.minYear||t,this.prevYearDisabled=n-1this.opts.maxYear||r},e.prototype.ngOnDestroy=function(){this.globalListener&&this.globalListener()},e.ctorParameters=[{type:l.ElementRef},{type:l.Renderer},{type:l.ChangeDetectorRef},{type:o.a},{type:r.a}],e}()},function(e,n,t){"use strict";var l=t(0),o=t(2);t(92),t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return i}));var r=l["ɵcrt"]({encapsulation:0,styles:[['@-webkit-keyframes blink{30%{opacity:.9}}@keyframes blink{30%{opacity:.9}}.preloader-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;font-size:100%}.preloader-wrapper.is-relative[_ngcontent-%COMP%]{position:relative}.preloader-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s;opacity:0}.preloader-wrapper[_ngcontent-%COMP%] > div.active[_ngcontent-%COMP%]{opacity:1}.preloader-wrapper[_ngcontent-%COMP%] .spinner.active[_ngcontent-%COMP%]{height:100%;width:100%}.preloader-wrapper[_ngcontent-%COMP%] .spinner.active[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:after{background-color:#fff}.preloader-wrapper[_ngcontent-%COMP%] .preloader-content[_ngcontent-%COMP%]{height:100%;width:100%}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]{width:3px;height:45%;position:absolute;top:50%;left:50%;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:after{-webkit-transition:background-color .5s;-o-transition:background-color .5s;transition:background-color .5s;position:absolute;content:"";background-color:hsla(0,0%,100%,0);display:block;width:100%;height:50%;margin-top:10%;border-radius:30%;bottom:10%;opacity:.05}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:first-of-type{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:first-of-type:after{-webkit-animation:blink 1s .08333s infinite;animation:blink 1s .08333s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(2){-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(2):after{-webkit-animation:blink 1s .16667s infinite;animation:blink 1s .16667s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(3){-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(3):after{-webkit-animation:blink 1s .25s infinite;animation:blink 1s .25s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(4){-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(4):after{-webkit-animation:blink 1s .33333s infinite;animation:blink 1s .33333s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(5){-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(5):after{-webkit-animation:blink 1s .41667s infinite;animation:blink 1s .41667s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(6){-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(6):after{-webkit-animation:blink 1s .5s infinite;animation:blink 1s .5s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(7){-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(7):after{-webkit-animation:blink 1s .58333s infinite;animation:blink 1s .58333s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(8){-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(8):after{-webkit-animation:blink 1s .66667s infinite;animation:blink 1s .66667s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(9){-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(9):after{-webkit-animation:blink 1s .75s infinite;animation:blink 1s .75s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(10){-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(10):after{-webkit-animation:blink 1s .83333s infinite;animation:blink 1s .83333s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(11){-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(11):after{-webkit-animation:blink 1s .91667s infinite;animation:blink 1s .91667s infinite}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(12){-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.preloader-wrapper[_ngcontent-%COMP%] .preloader-line[_ngcontent-%COMP%]:nth-of-type(12):after{-webkit-animation:blink 1s 1s infinite;animation:blink 1s 1s infinite}']],data:{}});function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,21,"div",[["class","preloader-wrapper"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{"is-relative":0}),(e()(),l["ɵeld"](3,0,null,null,14,"div",[["class","spinner"]],null,null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](5,{active:0}),(e()(),l["ɵeld"](6,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](12,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](13,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](17,0,null,null,0,"div",[["class","preloader-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](18,0,null,null,3,"div",[["class","preloader-content"]],null,null,null,null,null)),l["ɵdid"](19,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](20,{active:0}),l["ɵncd"](null,0)],(function(e,n){var t=n.component;e(n,1,0,"preloader-wrapper",e(n,2,0,t.isRelative)),e(n,4,0,"spinner",e(n,5,0,t.isProcess)),e(n,19,0,"preloader-content",e(n,20,0,!t.isProcess))}),null)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var l=t(3),o=t(29),r=t(30),i=t(104),a=t(9),u=t(67);function s(e,n,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof n?function(l){return l.pipe(s((function(t,l){return Object(u.a)(e(t,l)).pipe(Object(a.a)((function(e,o){return n(t,e,l,o)})))}),t))}:("number"==typeof n&&(t=n),function(n){return n.lift(new d(e,t))})}var d=function(){function e(e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=n}return e.prototype.call=function(e,n){return n.subscribe(new c(e,this.project,this.concurrent))},e}(),c=function(e){function n(n,t,l){void 0===l&&(l=Number.POSITIVE_INFINITY);var o=e.call(this,n)||this;return o.project=t,o.concurrent=l,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return l.d(n,e),n.prototype._next=function(e){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(r.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(47),o=t(237),r=(t(11),t(66),function(){function e(e,n,t,l,o,r){this.router=e,this._sanitizer=n,this.configService=t,this.cdr=l,this.animationServ=o,this.ref=r,this.is_process=!1,this.avatarUrl="",this.borderState=""}return e.prototype.ngOnInit=function(){var e=this;if(this.onboardMessage&&this.onboardMessage.showTypings)var n=this.onboardMessage.duration||1800,t=Object(o.a)(n,6e4).subscribe((function(){e.onboardMessage.showTypings=!1,e.cdr.markForCheck(),t.unsubscribe()}));if(this.onboardMessage&&this.onboardMessage.isProcess){this.onboardMessage.isProcess=!1,this.is_process=!0;var l=Object(o.a)(1500,6e4).subscribe((function(){e.is_process=!1,e.cdr.markForCheck(),l.unsubscribe()}))}this.avatarUrl=this.getAvatarUrl(),this.onboardMessage.animateBorder&&this.animationServ.getEmitter().subscribe((function(n){e.borderState=n,e.ref.markForCheck()}))},e.prototype.ngOnDestroy=function(){this.cdr.detach()},e.prototype.navigateToPage=function(){this.onboardMessage.url&&this.router.navigate([this.onboardMessage.url])},e.prototype.getUsername=function(){if(+this.onboardMessage.type===l.a.JSON)return"@AIWHO";var e=this.onboardMessage.author&&this.onboardMessage.author.user?this.onboardMessage.author.user:null;if(!e&&+this.onboardMessage.type===l.a.System)return"@AIWHO";if(e){var n=e.username?"@"+this.onboardMessage.author.user.username:"";return n||(n="@"+e.first_name+" "+e.last_name),n}return""},e.prototype.getAvatarUrl=function(){var e=this._sanitizer.bypassSecurityTrustStyle("url('/assets/img/default-profile.png')");if(+this.onboardMessage.type===l.a.JSON||+this.onboardMessage.type===l.a.System)e=this._sanitizer.bypassSecurityTrustStyle("url('/assets/img/bot.png')");else{var n=this.onboardMessage.author;if(n&&n.picture)e=this._sanitizer.bypassSecurityTrustStyle(n.isStaticPicture?"url('"+this.onboardMessage.author.picture+"')":"url('"+this.configService.staticServer+this.onboardMessage.author.picture+"')");else if(+this.onboardMessage.type===l.a.System)return this._sanitizer.bypassSecurityTrustStyle("url('/assets/img/bot.png')")}return e},e.prototype.callAction=function(){this.onboardMessage.action&&this.onboardMessage.action()},e}())},,,function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=Array.isArray||function(e){return e&&"number"==typeof e.length}},function(e,n,t){"use strict";function l(e){return e&&"function"==typeof e.schedule}t.d(n,"a",(function(){return l}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r}));var l=t(28),o=new l.a((function(e){return e.complete()}));function r(e){return e?function(e){return new l.a((function(n){return e.schedule((function(){return n.complete()}))}))}(e):o}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(9),o=(t(11),t(26)),r=function(){function e(e,n,t){this.http=e,this.httpClient=n,this.baseURL=t.pca.url,this.KEY=t.pca.key}return e.prototype.retriveFormattedAddress=function(e){var n=(new o.HttpParams).set("Key",this.KEY).set("Id",e).set("Source","").set("$cache","true");return this.httpClient.get(this.baseURL+"/CapturePlus/Interactive/RetrieveFormatted/v2.10/json3ex.ws",{params:n,responseType:"json"}).pipe(Object(l.a)((function(e){return e.Items[0]})))},e.prototype.capturePlusInteractiveFind=function(e){return this.http.post(this.baseURL+"/CapturePlus/Interactive/Find/v2.10/json3ex.ws",{},{params:{Key:this.KEY,SearchTerm:e.searchTerm,LastId:e.lastId,SearchFor:e.searchFor||"Everything",OrderBy:"UserLocation",Country:e.country,LanguagePreference:e.languagePreference,MaxSuggestions:e.maxSuggestions,MaxResults:e.maxResults}}).pipe(Object(l.a)((function(e){var n=e.json();if(1==n.Items.length&&void 0!==n.Items[0].Error)throw new Error(n.Items[0].Description);return 0==n.Items.length?[]:n.Items.filter((function(e,n,t){return t.indexOf(e)===n}))})))},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(2),o=function(){function e(e,n){this.document=e,this.platformId=n,this.documentIsAccessible=Object(l.isPlatformBrowser)(this.platformId)}return e.prototype.check=function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))},e.prototype.get=function(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);var n=this.getCookieRegExp(e).exec(this.document.cookie);return decodeURIComponent(n[1])}return""},e.prototype.getAll=function(){if(!this.documentIsAccessible)return{};var e={},n=this.document;if(n.cookie&&""!==n.cookie)for(var t=n.cookie.split(";"),l=0;lHi, here’s some deals we have on the platform for you to explore. Click on each one to see our cool deal dossier with video valuation etc.",date:new Date,showTypings:!0,hidePinn:!0,needAction:!0,actionIcon:"url(/assets/img/ico_list.svg)",openedWidget:!1,animateBorder:!0},lenderRegistrationMessage:{id:2,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"Now if you are ready you can set you up and have you exploring the platform in no time.",date:new Date,showTypings:!0,hidePinn:!0,needAction:!1},lenderAdditionalQuestionMessage:{id:3,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"And of course if you have more questions, do not hesitate to ask us below.",date:new Date,showTypings:!1,hidePinn:!0,needAction:!1},borrowerWelcom1:{id:4,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"Hi and welcome to Flow, the sourcing system for the bridging market.",date:new Date,showTypings:!0,hidePinn:!0,needAnimate:!0},borrowerVideoWelcom:{id:4,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"If you want to find out about our features, view the video below.",date:new Date,showTypings:!0,hidePinn:!0,needAnimate:!0},borrowerWelcom2:{id:21,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"

Now, let’s get you some offers…\n
» Get offers immediately\n
» One form - many lenders\n
» It’s like a bridging market in your hand
",date:new Date,showTypings:!0,hidePinn:!0,needAnimate:!0},borrowerWelcom3:{id:22,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"Just tell us what you need, it’s here.",date:new Date,showTypings:!0,hidePinn:!0,needAnimate:!0},borrowerWelcom4:{id:23,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:'If you’re already registered, login here to view your existing and updated offers.',date:new Date,showTypings:!0,hidePinn:!0,needAnimate:!0},main1Message:{id:5,author:{user:{username:"AIWHO"},picture:"/assets/img/peter-matthews.png",isStaticPicture:!0},type:1,content:"You have submitted an offer in principle with 3.7% interest",date:new Date,showTypings:!1,hidePinn:!0,needAction:!1},main2Message:{id:6,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"We are the platform that give s you access to over 10k market with £5.6b valuation",date:new Date,showTypings:!1,hidePinn:!0,needAction:!1},main3Message:{id:7,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"If you join you will be able to setup auto offer bots",date:new Date,showTypings:!1,hidePinn:!0,needAction:!1},welcomeBack:{id:8,type:3,content:"Welcome back ",date:new Date,showTypings:!1,hidePinn:!0,needAnimate:!0},lenderHelpMessage:{id:9,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:5,content:"We are now going to set you up. We need to create your basic lending structure which consists of:",date:new Date,showTypings:!1,hidePinn:!0},getMandateMessage:{id:1,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:'\n
Now let’s get you started with the Mandate. Don’t worry it does not hurt…
\n Set up terms\n ',date:new Date,showTypings:!1,hidePinn:!0,needAction:!1},getPendingApprovalMessage:{id:2,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:'\n
Your account is pending approval
\n ',date:new Date,showTypings:!1,hidePinn:!0,needAction:!1},lenderWelcome1:{id:21,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:'This is the Early Preview of our asset-backed lending marketplace where you have direct access as "Lender of Record" to real estate backed loans.',date:new Date,showTypings:!0,hidePinn:!0,needAction:!1},lenderWelcome2:{id:22,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"In order to get an invitation to access your private dashboard of deals, please fill out the Investment Criteria form on the right, which provides your indicative criteria for the types of loans that fit your appetite. Your HOT/Bot (Heads of Terms Bot) instantly matches you with loans from Originators that fit your criteria.",date:new Date,showTypings:!0,hidePinn:!0,needAction:!1},lenderWelcome3:{id:23,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:"When a loan that matches your lending criteria is submitted to the FLOW we will send you an email alert. Once you have funded your first loan, you will receive full access to the marketplace.",date:new Date,showTypings:!0,hidePinn:!0,needAction:!1},lenderWelcome4:{id:24,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:'If you\'d like to edit or add additional Hot/Bots or if you have any questions, please feel free to contact us.\n
Telephone: +44 20 3137 7630
\n ',date:new Date,showTypings:!0,hidePinn:!0,needAction:!1},cookieMessage:{id:35,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:1,content:'\n ',date:new Date,showTypings:!1,hidePinn:!0,needAction:!1}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){}return e.WelcomeLenderConversation="welcome",e.LoanApplicationForm="main",e.LoanRequestConversation="main",e.ProjectConversation="deal",e.PrivateConversation="private",e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(3),o=t(30),r=t(104),i=t(29);function a(e){return function(n){var t=new u(e),l=n.lift(t);return t.caught=l}}var u=function(){function e(e){this.selector=e}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.selector=t,o.caught=l,o}return l.d(n,e),n.prototype.error=function(n){if(!this.isStopped){var t=void 0;try{t=this.selector(n,this.caught)}catch(n){return void e.prototype.error.call(this,n)}this._unsubscribeAndRecycle();var l=new r.a(this,void 0,void 0);this.add(l),Object(i.a)(this,t,void 0,void 0,l)}},n}(o.a)},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return A})),t.d(n,"c",(function(){return me})),t.d(n,"g",(function(){return ve})),t.d(n,"e",(function(){return k})),t.d(n,"b",(function(){return ze})),t.d(n,"d",(function(){return ln})),t.d(n,"f",(function(){return rn})),t.d(n,"h",(function(){return an}));var l=t(3),o=t(23);function r(){return void 0!==e}function i(e){switch(e.length){case 0:return new o.d;case 1:return e[0];default:return new o.l(e)}}function a(e,n,t,l,r,i){void 0===r&&(r={}),void 0===i&&(i={});var a=[],u=[],s=-1,d=null;if(l.forEach((function(e){var t=e.offset,l=t==s,c=l&&d||{};Object.keys(e).forEach((function(t){var l=t,u=e[t];if("offset"!==t)switch(l=n.normalizePropertyName(l,a),u){case o.m:u=r[t];break;case o.a:u=i[t];break;default:u=n.normalizeStyleValue(t,l,u,a)}c[l]=u})),l||u.push(c),d=c,s=t})),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return u}function u(e,n,t,l){switch(n){case"start":e.onStart((function(){return l(t&&s(t,"start",e))}));break;case"done":e.onDone((function(){return l(t&&s(t,"done",e))}));break;case"destroy":e.onDestroy((function(){return l(t&&s(t,"destroy",e))}))}}function s(e,n,t){var l=t.totalTime,o=d(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,null==l?e.totalTime:l,!!t.disabled),r=e._data;return null!=r&&(o._data=r),o}function d(e,n,t,l,o,r,i){return void 0===o&&(o=""),void 0===r&&(r=0),{element:e,triggerName:n,fromState:t,toState:l,phaseName:o,totalTime:r,disabled:!!i}}function c(e,n,t){var l;return e instanceof Map?(l=e.get(n))||e.set(n,l=t):(l=e[n])||(l=e[n]=t),l}function p(e){var n=e.indexOf(":");return[e.substring(1,n),e.substr(n+1)]}var f=function(e,n){return!1},g=function(e,n){return!1},h=function(e,n,t){return[]},m=r();if(m||"undefined"!=typeof Element){if(f=function(e,n){return e.contains(n)},m||Element.prototype.matches)g=function(e,n){return e.matches(n)};else{var v=Element.prototype,b=v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector;b&&(g=function(e,n){return b.apply(e,[n])})}h=function(e,n,t){var o=[];if(t)o.push.apply(o,Object(l.i)(e.querySelectorAll(n)));else{var r=e.querySelector(n);r&&o.push(r)}return o}}var _=null,y=!1;function w(e){_||(_=("undefined"!=typeof document?document.body:null)||{},y=!!_.style&&"WebkitAppearance"in _.style);var n=!0;return _.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(n=e in _.style)&&y&&(n="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in _.style),n}var C=g,x=f,O=h;function M(e){var n={};return Object.keys(e).forEach((function(t){var l=t.replace(/([a-z])([A-Z])/g,"$1-$2");n[l]=e[t]})),n}var k=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return w(e)},e.prototype.matchesElement=function(e,n){return C(e,n)},e.prototype.containsElement=function(e,n){return x(e,n)},e.prototype.query=function(e,n,t){return O(e,n,t)},e.prototype.computeStyle=function(e,n,t){return t||""},e.prototype.animate=function(e,n,t,l,r,i,a){return void 0===i&&(i=[]),new o.d(t,l)},e}(),A=function(){function e(){}return e.NOOP=new k,e}();function P(e){if("number"==typeof e)return e;var n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:S(parseFloat(n[1]),n[2])}function S(e,n){switch(n){case"s":return 1e3*e;default:return e}}function R(e,n,t){return e.hasOwnProperty("duration")?e:function(e,n,t){var l,o=0,r="";if("string"==typeof e){var i=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return n.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};l=S(parseFloat(i[1]),i[2]);var a=i[3];null!=a&&(o=S(parseFloat(a),i[4]));var u=i[5];u&&(r=u)}else l=e;if(!t){var s=!1,d=n.length;l<0&&(n.push("Duration values below 0 are not allowed for this animation step."),s=!0),o<0&&(n.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&n.splice(d,0,'The provided timing value "'+e+'" is invalid.')}return{duration:l,delay:o,easing:r}}(e,n,t)}function I(e,n){return void 0===n&&(n={}),Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function E(e,n,t){if(void 0===t&&(t={}),n)for(var l in e)t[l]=e[l];else I(e,t);return t}function N(e,n,t){return t?n+":"+t+";":""}function T(e){for(var n="",t=0;t *";case":leave":return"* => void";case":increment":return function(e,n){return parseFloat(n)>parseFloat(e)};case":decrement":return function(e,n){return parseFloat(n) *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}var o=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return t.push('The provided transition expression "'+e+'" is not supported'),n;var r=o[1],i=o[2],a=o[3];n.push(Q(r,a)),"<"!=i[0]||r==Y&&a==Y||n.push(Q(a,r))}(e,o,l)})):o.push(t),o),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:le(e.options)}},e.prototype.visitSequence=function(e,n){var t=this;return{type:2,steps:e.steps.map((function(e){return W(t,e,n)})),options:le(e.options)}},e.prototype.visitGroup=function(e,n){var t=this,l=n.currentTime,o=0,r=e.steps.map((function(e){n.currentTime=l;var r=W(t,e,n);return o=Math.max(o,n.currentTime),r}));return n.currentTime=o,{type:3,steps:r,options:le(e.options)}},e.prototype.visitAnimate=function(e,n){var t,l=function(e,n){var t=null;if(e.hasOwnProperty("duration"))t=e;else if("number"==typeof e)return oe(R(e,n).duration,0,"");var l=e;if(l.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var o=oe(0,0,"");return o.dynamic=!0,o.strValue=l,o}return oe((t=t||R(l,n)).duration,t.delay,t.easing)}(e.timings,n.errors);n.currentAnimateTimings=l;var r=e.styles?e.styles:Object(o.i)({});if(5==r.type)t=this.visitKeyframes(r,n);else{var i=e.styles,a=!1;if(!i){a=!0;var u={};l.easing&&(u.easing=l.easing),i=Object(o.i)(u)}n.currentTime+=l.duration+l.delay;var s=this.visitStyle(i,n);s.isEmptyStep=a,t=s}return n.currentAnimateTimings=null,{type:4,timings:l,style:t,options:null}},e.prototype.visitStyle=function(e,n){var t=this._makeStyleAst(e,n);return this._validateStyleAst(t,n),t},e.prototype._makeStyleAst=function(e,n){var t=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==o.a?t.push(e):n.errors.push("The provided style string value "+e+" is not allowed."):t.push(e)})):t.push(e.styles);var l=!1,r=null;return t.forEach((function(e){if(te(e)){var n=e,t=n.easing;if(t&&(r=t,delete n.easing),!l)for(var o in n)if(n[o].toString().indexOf("{{")>=0){l=!0;break}}})),{type:6,styles:t,easing:r,offset:e.offset,containsDynamicStyles:l,options:null}},e.prototype._validateStyleAst=function(e,n){var t=this,l=n.currentAnimateTimings,o=n.currentTime,r=n.currentTime;l&&r>0&&(r-=l.duration+l.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(l){if(t._driver.validateStyleProperty(l)){var i,a,u,s=n.collectedStyles[n.currentQuerySelector],d=s[l],c=!0;d&&(r!=o&&r>=d.startTime&&o<=d.endTime&&(n.errors.push('The CSS property "'+l+'" that exists between the times of "'+d.startTime+'ms" and "'+d.endTime+'ms" is also being animated in a parallel animation between the times of "'+r+'ms" and "'+o+'ms"'),c=!1),r=d.startTime),c&&(s[l]={startTime:r,endTime:o}),n.options&&(i=n.errors,a=n.options.params||{},(u=q(e[l])).length&&u.forEach((function(e){a.hasOwnProperty(e)||i.push("Unable to resolve the local animation param "+e+" in the given list of values")})))}else n.errors.push('The provided animation property "'+l+'" is not a supported CSS property for animations')}))}))},e.prototype.visitKeyframes=function(e,n){var t=this,l={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),l;var o=0,r=[],i=!1,a=!1,u=0,s=e.steps.map((function(e){var l=t._makeStyleAst(e,n),s=null!=l.offset?l.offset:function(e){if("string"==typeof e)return null;var n=null;if(Array.isArray(e))e.forEach((function(e){if(te(e)&&e.hasOwnProperty("offset")){var t=e;n=parseFloat(t.offset),delete t.offset}}));else if(te(e)&&e.hasOwnProperty("offset")){var t=e;n=parseFloat(t.offset),delete t.offset}return n}(l.styles),d=0;return null!=s&&(o++,d=l.offset=s),a=a||d<0||d>1,i=i||d0&&o0?o==p?1:c*o:r[o],a=i*h;n.currentTime=f+g.delay+a,g.duration=a,t._validateStyleAst(e,n),e.offset=i,l.styles.push(e)})),l},e.prototype.visitReference=function(e,n){return{type:8,animation:W(this,F(e.animation),n),options:le(e.options)}},e.prototype.visitAnimateChild=function(e,n){return n.depCount++,{type:9,options:le(e.options)}},e.prototype.visitAnimateRef=function(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:le(e.options)}},e.prototype.visitQuery=function(e,n){var t=n.currentQuerySelector,o=e.options||{};n.queryCount++,n.currentQuery=e;var r=Object(l.h)(function(e){var n=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return n&&(e=e.replace(Z,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),n]}(e.selector),2),i=r[0],a=r[1];n.currentQuerySelector=t.length?t+" "+i:i,c(n.collectedStyles,n.currentQuerySelector,{});var u=W(this,F(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=t,{type:11,selector:i,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:u,originalSelector:e.selector,options:le(e.options)}},e.prototype.visitStagger=function(e,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var t="full"===e.timings?{duration:0,delay:0,easing:"full"}:R(e.timings,n.errors,!0);return{type:12,animation:W(this,F(e.animation),n),timings:t,options:null}},e}(),ne=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function te(e){return!Array.isArray(e)&&"object"==typeof e}function le(e){var n;return e?(e=I(e)).params&&(e.params=(n=e.params)?I(n):null):e={},e}function oe(e,n,t){return{duration:e,delay:n,easing:t}}function re(e,n,t,l,o,r,i,a){return void 0===i&&(i=null),void 0===a&&(a=!1),{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:l,duration:o,delay:r,totalTime:o+r,easing:i,subTimeline:a}}var ie=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var n=this._map.get(e);return n?this._map.delete(e):n=[],n},e.prototype.append=function(e,n){var t=this._map.get(e);t||this._map.set(e,t=[]),t.push.apply(t,Object(l.i)(n))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),ae=new RegExp(":enter","g"),ue=new RegExp(":leave","g");function se(e,n,t,l,o,r,i,a,u,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===s&&(s=[]),(new de).buildKeyframes(e,n,t,l,o,r,i,a,u,s)}var de=function(){function e(){}return e.prototype.buildKeyframes=function(e,n,t,l,o,r,i,a,u,s){void 0===s&&(s=[]),u=u||new ie;var d=new pe(e,n,u,l,o,s,[]);d.options=a,d.currentTimeline.setStyles([r],null,d.errors,a),W(this,t,d);var c=d.timelines.filter((function(e){return e.containsAnimation()}));if(c.length&&Object.keys(i).length){var p=c[c.length-1];p.allowOnlyTimelineStyles()||p.setStyles([i],null,d.errors,a)}return c.length?c.map((function(e){return e.buildKeyframes()})):[re(n,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,n){},e.prototype.visitState=function(e,n){},e.prototype.visitTransition=function(e,n){},e.prototype.visitAnimateChild=function(e,n){var t=n.subInstructions.consume(n.element);if(t){var l=n.createSubContext(e.options),o=n.currentTimeline.currentTime,r=this._visitSubInstructions(t,l,l.options);o!=r&&n.transformIntoNewTimeline(r)}n.previousNode=e},e.prototype.visitAnimateRef=function(e,n){var t=n.createSubContext(e.options);t.transformIntoNewTimeline(),this.visitReference(e.animation,t),n.transformIntoNewTimeline(t.currentTimeline.currentTime),n.previousNode=e},e.prototype._visitSubInstructions=function(e,n,t){var l=n.currentTimeline.currentTime,o=null!=t.duration?P(t.duration):null,r=null!=t.delay?P(t.delay):null;return 0!==o&&e.forEach((function(e){var t=n.appendInstructionToTimeline(e,o,r);l=Math.max(l,t.duration+t.delay)})),l},e.prototype.visitReference=function(e,n){n.updateOptions(e.options,!0),W(this,e.animation,n),n.previousNode=e},e.prototype.visitSequence=function(e,n){var t=this,l=n.subContextCount,o=n,r=e.options;if(r&&(r.params||r.delay)&&((o=n.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=ce);var i=P(r.delay);o.delayNextStep(i)}e.steps.length&&(e.steps.forEach((function(e){return W(t,e,o)})),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>l&&o.transformIntoNewTimeline()),n.previousNode=e},e.prototype.visitGroup=function(e,n){var t=this,l=[],o=n.currentTimeline.currentTime,r=e.options&&e.options.delay?P(e.options.delay):0;e.steps.forEach((function(i){var a=n.createSubContext(e.options);r&&a.delayNextStep(r),W(t,i,a),o=Math.max(o,a.currentTimeline.currentTime),l.push(a.currentTimeline)})),l.forEach((function(e){return n.currentTimeline.mergeTimelineCollectedStyles(e)})),n.transformIntoNewTimeline(o),n.previousNode=e},e.prototype._visitTiming=function(e,n){if(e.dynamic){var t=e.strValue;return R(n.params?B(t,n.params,n.errors):t,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,n){var t=n.currentAnimateTimings=this._visitTiming(e.timings,n),l=n.currentTimeline;t.delay&&(n.incrementTime(t.delay),l.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,n):(n.incrementTime(t.duration),this.visitStyle(o,n),l.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e},e.prototype.visitStyle=function(e,n){var t=n.currentTimeline,l=n.currentAnimateTimings;!l&&t.getCurrentStyleProperties().length&&t.forwardFrame();var o=l&&l.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e},e.prototype.visitKeyframes=function(e,n){var t=n.currentAnimateTimings,l=n.currentTimeline.duration,o=t.duration,r=n.createSubContext().currentTimeline;r.easing=t.easing,e.styles.forEach((function(e){r.forwardTime((e.offset||0)*o),r.setStyles(e.styles,e.easing,n.errors,n.options),r.applyStylesToKeyframe()})),n.currentTimeline.mergeTimelineCollectedStyles(r),n.transformIntoNewTimeline(l+o),n.previousNode=e},e.prototype.visitQuery=function(e,n){var t=this,l=n.currentTimeline.currentTime,o=e.options||{},r=o.delay?P(o.delay):0;r&&(6===n.previousNode.type||0==l&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ce);var i=l,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,n.errors);n.currentQueryTotal=a.length;var u=null;a.forEach((function(l,o){n.currentQueryIndex=o;var a=n.createSubContext(e.options,l);r&&a.delayNextStep(r),l===n.element&&(u=a.currentTimeline),W(t,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,a.currentTimeline.currentTime)})),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(i),u&&(n.currentTimeline.mergeTimelineCollectedStyles(u),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e},e.prototype.visitStagger=function(e,n){var t=n.parentContext,l=n.currentTimeline,o=e.timings,r=Math.abs(o.duration),i=r*(n.currentQueryTotal-1),a=r*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=i-a;break;case"full":a=t.currentStaggerTime}var u=n.currentTimeline;a&&u.delayNextStep(a);var s=u.currentTime;W(this,e.animation,n),n.previousNode=e,t.currentStaggerTime=l.currentTime-s+(l.startTime-t.currentTimeline.startTime)},e}(),ce={},pe=function(){function e(e,n,t,l,o,r,i,a){this._driver=e,this.element=n,this.subInstructions=t,this._enterClassName=l,this._leaveClassName=o,this.errors=r,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ce,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new fe(this._driver,n,0),i.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,n){var t=this;if(e){var l=e,o=this.options;null!=l.duration&&(o.duration=P(l.duration)),null!=l.delay&&(o.delay=P(l.delay));var r=l.params;if(r){var i=o.params;i||(i=this.options.params={}),Object.keys(r).forEach((function(e){n&&i.hasOwnProperty(e)||(i[e]=B(r[e],i,t.errors))}))}}},e.prototype._copyOptions=function(){var e={};if(this.options){var n=this.options.params;if(n){var t=e.params={};Object.keys(n).forEach((function(e){t[e]=n[e]}))}}return e},e.prototype.createSubContext=function(n,t,l){void 0===n&&(n=null);var o=t||this.element,r=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,l||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=ce,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,n,t){var l={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+e.delay,easing:""},o=new ge(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,l,e.stretchStartingKeyframe);return this.timelines.push(o),l},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,n,t,o,r,i){var a=[];if(o&&a.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(ue,"."+this._leaveClassName);var u=this._driver.query(this.element,e,1!=t);0!==t&&(u=t<0?u.slice(u.length+t,u.length):u.slice(0,t)),a.push.apply(a,Object(l.i)(u))}return r||0!=a.length||i.push('`query("'+n+'")` returned zero elements. (Use `query("'+n+'", { optional: true })` if you wish to allow this.)'),a},e}(),fe=function(){function e(e,n,t,l){this._driver=e,this.element=n,this.startTime=t,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(n,t){return this.applyStylesToKeyframe(),new e(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,n){this._localTimelineStyles[e]=n,this._globalTimelineStyles[e]=n,this._styleSummary[e]={time:this.currentTime,value:n}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var n=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){n._backFill[e]=n._globalTimelineStyles[e]||o.a,n._currentKeyframe[e]=o.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,n,t,l){var r=this;n&&(this._previousKeyframe.easing=n);var i=l&&l.params||{},a=function(e,n){var t,l={};return e.forEach((function(e){"*"===e?(t=t||Object.keys(n)).forEach((function(e){l[e]=o.a})):E(e,!1,l)})),l}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var n=B(a[e],i,t);r._pendingStyles[e]=n,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:o.a),r._updateStyle(e,n)}))},e.prototype.applyStylesToKeyframe=function(){var e=this,n=this._pendingStyles,t=Object.keys(n);0!=t.length&&(this._pendingStyles={},t.forEach((function(t){e._currentKeyframe[t]=n[t]})),Object.keys(this._localTimelineStyles).forEach((function(n){e._currentKeyframe.hasOwnProperty(n)||(e._currentKeyframe[n]=e._localTimelineStyles[n])})))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(n){var t=e._localTimelineStyles[n];e._pendingStyles[n]=t,e._updateStyle(n,t)}))},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var n in this._currentKeyframe)e.push(n);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var n=this;Object.keys(e._styleSummary).forEach((function(t){var l=n._styleSummary[t],o=e._styleSummary[t];(!l||o.time>l.time)&&n._updateStyle(t,o.value)}))},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var n=new Set,t=new Set,l=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach((function(i,a){var u=E(i,!0);Object.keys(u).forEach((function(e){var l=u[e];l==o.m?n.add(e):l==o.a&&t.add(e)})),l||(u.offset=a/e.duration),r.push(u)}));var i=n.size?j(n.values()):[],a=t.size?j(t.values()):[];if(l){var u=r[0],s=I(u);u.offset=0,s.offset=1,r=[u,s]}return re(this.element,r,i,a,this.duration,this.startTime,this.easing,!1)},e}(),ge=function(e){function n(n,t,l,o,r,i,a){void 0===a&&(a=!1);var u=e.call(this,n,t,i.delay)||this;return u.element=t,u.keyframes=l,u.preStyleProps=o,u.postStyleProps=r,u._stretchStartingKeyframe=a,u.timings={duration:i.duration,delay:i.delay,easing:i.easing},u}return Object(l.d)(n,e),n.prototype.containsAnimation=function(){return this.keyframes.length>1},n.prototype.buildKeyframes=function(){var e=this.keyframes,n=this.timings,t=n.delay,l=n.duration,o=n.easing;if(this._stretchStartingKeyframe&&t){var r=[],i=l+t,a=t/i,u=E(e[0],!1);u.offset=0,r.push(u);var s=E(e[0],!1);s.offset=he(a),r.push(s);for(var d=e.length-1,c=1;c<=d;c++){var p=E(e[c],!1);p.offset=he((t+p.offset*l)/i),r.push(p)}l=i,t=0,o="",e=r}return re(this.element,e,this.preStyleProps,this.postStyleProps,l,t,o,!0)},n}(fe);function he(e,n){void 0===n&&(n=3);var t=Math.pow(10,n-1);return Math.round(e*t)/t}var me=function(){},ve=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(l.d)(n,e),n.prototype.normalizePropertyName=function(e,n){return U(e)},n.prototype.normalizeStyleValue=function(e,n,t,l){var o="",r=t.toString().trim();if(be[n]&&0!==t&&"0"!==t)if("number"==typeof t)o="px";else{var i=t.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&0==i[1].length&&l.push("Please provide a CSS unit value for "+e+":"+t)}return r+o},n}(me),be=function(e){var n={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach((function(e){return n[e]=!0})),n}();function _e(e,n,t,l,o,r,i,a,u,s,d,c,p){return{type:0,element:e,triggerName:n,isRemovalTransition:o,fromState:t,fromStyles:r,toState:l,toStyles:i,timelines:a,queriedElements:u,preStyleProps:s,postStyleProps:d,totalTime:c,errors:p}}var ye={},we=function(){function e(e,n,t){this._triggerName=e,this.ast=n,this._stateStyles=t}return e.prototype.match=function(e,n,t,l){return function(e,n,t,l,o){return e.some((function(e){return e(n,t,l,o)}))}(this.ast.matchers,e,n,t,l)},e.prototype.buildStyles=function(e,n,t){var l=this._stateStyles["*"],o=this._stateStyles[e],r=l?l.buildStyles(n,t):{};return o?o.buildStyles(n,t):r},e.prototype.build=function(e,n,t,o,r,i,a,u,s,d){var p=[],f=this.ast.options&&this.ast.options.params||ye,g=this.buildStyles(t,a&&a.params||ye,p),h=u&&u.params||ye,m=this.buildStyles(o,h,p),v=new Set,b=new Map,_=new Map,y="void"===o,w={params:Object(l.a)({},f,h)},C=d?[]:se(e,n,this.ast.animation,r,i,g,m,w,s,p),x=0;if(C.forEach((function(e){x=Math.max(e.duration+e.delay,x)})),p.length)return _e(n,this._triggerName,t,o,y,g,m,[],[],b,_,x,p);C.forEach((function(e){var t=e.element,l=c(b,t,{});e.preStyleProps.forEach((function(e){return l[e]=!0}));var o=c(_,t,{});e.postStyleProps.forEach((function(e){return o[e]=!0})),t!==n&&v.add(t)}));var O=j(v.values());return _e(n,this._triggerName,t,o,y,g,m,C,O,b,_,x)},e}(),Ce=function(){function e(e,n){this.styles=e,this.defaultParams=n}return e.prototype.buildStyles=function(e,n){var t={},l=I(this.defaultParams);return Object.keys(e).forEach((function(n){var t=e[n];null!=t&&(l[n]=t)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach((function(e){var r=o[e];r.length>1&&(r=B(r,l,n)),t[e]=r}))}})),t},e}(),xe=function(){function e(e,n){var t=this;this.name=e,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){t.states[e.name]=new Ce(e.style,e.options&&e.options.params||{})})),Oe(this.states,"true","1"),Oe(this.states,"false","0"),n.transitions.forEach((function(n){t.transitionFactories.push(new we(e,n,t.states))})),this.fallbackTransition=new we(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,n){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,n,t,l){return this.transitionFactories.find((function(o){return o.match(e,n,t,l)}))||null},e.prototype.matchStyles=function(e,n,t){return this.fallbackTransition.buildStyles(e,n,t)},e}();function Oe(e,n,t){e.hasOwnProperty(n)?e.hasOwnProperty(t)||(e[t]=e[n]):e.hasOwnProperty(t)&&(e[n]=e[t])}var Me=new ie,ke=function(){function e(e,n,t){this.bodyNode=e,this._driver=n,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,n){var t=[],l=X(this._driver,n,t);if(t.length)throw new Error("Unable to build the animation due to the following errors: "+t.join("\n"));this._animations[e]=l},e.prototype._buildPlayer=function(e,n,t){var l=e.element,o=a(0,this._normalizer,0,e.keyframes,n,t);return this._driver.animate(l,o,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,n,t){var l=this;void 0===t&&(t={});var r,a=[],u=this._animations[e],s=new Map;if(u?(r=se(this._driver,n,u,"ng-enter","ng-leave",{},{},t,Me,a)).forEach((function(e){var n=c(s,e.element,{});e.postStyleProps.forEach((function(e){return n[e]=null}))})):(a.push("The requested animation doesn't exist or has already been destroyed"),r=[]),a.length)throw new Error("Unable to create the animation due to the following errors: "+a.join("\n"));s.forEach((function(e,n){Object.keys(e).forEach((function(t){e[t]=l._driver.computeStyle(n,t,o.a)}))}));var d=i(r.map((function(e){var n=s.get(e.element);return l._buildPlayer(e,{},n)})));return this._playersById[e]=d,d.onDestroy((function(){return l.destroy(e)})),this.players.push(d),d},e.prototype.destroy=function(e){var n=this._getPlayer(e);n.destroy(),delete this._playersById[e];var t=this.players.indexOf(n);t>=0&&this.players.splice(t,1)},e.prototype._getPlayer=function(e){var n=this._playersById[e];if(!n)throw new Error("Unable to find the timeline player referenced by "+e);return n},e.prototype.listen=function(e,n,t,l){var o=d(n,"","","");return u(this._getPlayer(e),t,o,l),function(){}},e.prototype.command=function(e,n,t,l){if("register"!=t)if("create"!=t){var o=this._getPlayer(e);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(e)}}else this.create(e,n,l[0]||{});else this.register(e,l[0])},e}(),Ae=[],Pe={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Se={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Re="__ng_removed",Ie=function(){function e(e,n){void 0===n&&(n=""),this.namespaceId=n;var t=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(t?e.value:e),t){var l=I(e);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var n=e.params;if(n){var t=this.options.params;Object.keys(n).forEach((function(e){null==t[e]&&(t[e]=n[e])}))}},e}(),Ee=new Ie("void"),Ne=function(){function e(e,n,t){this.id=e,this.hostElement=n,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,je(n,this._hostClassName)}return e.prototype.listen=function(e,n,t,l){var o,r=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'+t+'" because the animation trigger "'+n+"\" doesn't exist!");if(null==t||0==t.length)throw new Error('Unable to listen on the animation trigger "'+n+'" because the provided event is undefined!');if("start"!=(o=t)&&"done"!=o)throw new Error('The provided animation trigger event "'+t+'" for the animation trigger "'+n+'" is not supported!');var i=c(this._elementListeners,e,[]),a={name:n,phase:t,callback:l};i.push(a);var u=c(this._engine.statesByElement,e,{});return u.hasOwnProperty(n)||(je(e,"ng-trigger"),je(e,"ng-trigger-"+n),u[n]=Ee),function(){r._engine.afterFlush((function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),r._triggers[n]||delete u[n]}))}},e.prototype.register=function(e,n){return!this._triggers[e]&&(this._triggers[e]=n,!0)},e.prototype._getTrigger=function(e){var n=this._triggers[e];if(!n)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return n},e.prototype.trigger=function(e,n,t,l){var o=this;void 0===l&&(l=!0);var r=this._getTrigger(n),i=new De(this.id,n,e),a=this._engine.statesByElement.get(e);a||(je(e,"ng-trigger"),je(e,"ng-trigger-"+n),this._engine.statesByElement.set(e,a={}));var u=a[n],s=new Ie(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&u&&s.absorbOptions(u.options),a[n]=s,u||(u=Ee),"void"===s.value||u.value!==s.value){var d=c(this._engine.playersByElement,e,[]);d.forEach((function(e){e.namespaceId==o.id&&e.triggerName==n&&e.queued&&e.destroy()}));var p=r.matchTransition(u.value,s.value,e,s.params),f=!1;if(!p){if(!l)return;p=r.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:u,toState:s,player:i,isFallbackTransition:f}),f||(je(e,"ng-animate-queued"),i.onStart((function(){$e(e,"ng-animate-queued")}))),i.onDone((function(){var n=o.players.indexOf(i);n>=0&&o.players.splice(n,1);var t=o._engine.playersByElement.get(e);if(t){var l=t.indexOf(i);l>=0&&t.splice(l,1)}})),this.players.push(i),d.push(i),i}if(!function(e,n){var t=Object.keys(e),l=Object.keys(n);if(t.length!=l.length)return!1;for(var o=0;o=0){for(var l=!1,o=t;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,n)){this._namespaceList.splice(o+1,0,e),l=!0;break}l||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(n,e),e},e.prototype.register=function(e,n){var t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,n)),t},e.prototype.registerTrigger=function(e,n,t){var l=this._namespaceLookup[e];l&&l.register(n,t)&&this.totalAnimations++},e.prototype.destroy=function(e,n){var t=this;if(e){var l=this._fetchNamespace(e);this.afterFlush((function(){t.namespacesByHostElement.delete(l.hostElement),delete t._namespaceLookup[e];var n=t._namespaceList.indexOf(l);n>=0&&t._namespaceList.splice(n,1)})),this.afterFlushAnimationsDone((function(){return l.destroy(n)}))}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var n=new Set,t=this.statesByElement.get(e);if(t)for(var l=Object.keys(t),o=0;o=0&&this.collectedLeaveElements.splice(r,1)}if(e){var i=this._fetchNamespace(e);i&&i.insertNode(n,t)}l&&this.collectEnterElement(n)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),je(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),$e(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,n,t){if(Ve(n)){var l=e?this._fetchNamespace(e):null;l?l.removeNode(n,t):this.markElementAsRemoved(e,n,!1,t)}else this._onRemovalComplete(n,t)},e.prototype.markElementAsRemoved=function(e,n,t,l){this.collectedLeaveElements.push(n),n[Re]={namespaceId:e,setForRemoval:l,hasAnimation:t,removedBeforeQueried:!1}},e.prototype.listen=function(e,n,t,l,o){return Ve(n)?this._fetchNamespace(e).listen(n,t,l,o):function(){}},e.prototype._buildInstruction=function(e,n,t,l,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,l,e.fromState.options,e.toState.options,n,o)},e.prototype.destroyInnerAnimations=function(e){var n=this,t=this.driver.query(e,".ng-trigger",!0);t.forEach((function(e){return n.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return n.finishActiveQueriedAnimationOnElement(e)}))},e.prototype.destroyActiveAnimationsForElement=function(e){var n=this.playersByElement.get(e);n&&n.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var n=this.playersByQueriedElement.get(e);n&&n.forEach((function(e){return e.finish()}))},e.prototype.whenRenderingDone=function(){var e=this;return new Promise((function(n){if(e.players.length)return i(e.players).onDone((function(){return n()}));n()}))},e.prototype.processLeaveNode=function(e){var n=this,t=e[Re];if(t&&t.setForRemoval){if(e[Re]=Pe,t.namespaceId){this.destroyInnerAnimations(e);var l=this._fetchNamespace(t.namespaceId);l&&l.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){n.markElementAsDisabled(e,!1)}))},e.prototype.flush=function(e){var n=this;void 0===e&&(e=-1);var t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,t){return n._balanceNamespaceList(e,t)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var l=0;l=0;P--)this._namespaceList[P].drainQueuedTransitions(n).forEach((function(e){var n=e.player,l=e.element;if(k.push(n),t.collectedEnterElements.length){var o=l[Re];if(o&&o.setForMove)return void n.destroy()}var i=!h||!t.driver.containsElement(h,l),u=O.get(l),g=b.get(l),m=t._buildInstruction(e,r,g,u,i);if(m.errors&&m.errors.length)A.push(m);else{if(i)return n.onStart((function(){return V(l,m.fromStyles)})),n.onDestroy((function(){return D(l,m.toStyles)})),void a.push(n);if(e.isFallbackTransition)return n.onStart((function(){return V(l,m.fromStyles)})),n.onDestroy((function(){return D(l,m.toStyles)})),void a.push(n);m.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(l,m.timelines),s.push({instruction:m,player:n,element:l}),m.queriedElements.forEach((function(e){return c(d,e,[]).push(n)})),m.preStyleProps.forEach((function(e,n){var t=Object.keys(e);if(t.length){var l=p.get(n);l||p.set(n,l=new Set),t.forEach((function(e){return l.add(e)}))}})),m.postStyleProps.forEach((function(e,n){var t=Object.keys(e),l=f.get(n);l||f.set(n,l=new Set),t.forEach((function(e){return l.add(e)}))}))}}));if(A.length){var S=[];A.forEach((function(e){S.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((function(e){return S.push("- "+e+"\n")}))})),k.forEach((function(e){return e.destroy()})),this.reportError(S)}var R=new Map,I=new Map;s.forEach((function(e){var n=e.element;r.has(n)&&(I.set(n,n),t._beforeAnimationBuild(e.player.namespaceId,e.instruction,R))})),a.forEach((function(e){var n=e.element;t._getPreviousPlayers(n,!1,e.namespaceId,e.triggerName,null).forEach((function(e){c(R,n,[]).push(e),e.destroy()}))}));var E=y.filter((function(e){return Ge(e,p,f)})),N=new Map;Le(N,this.driver,C,f,o.a).forEach((function(e){Ge(e,p,f)&&E.push(e)}));var T=new Map;v.forEach((function(e,n){Le(T,t.driver,new Set(e),p,o.m)})),E.forEach((function(e){var n=N.get(e),t=T.get(e);N.set(e,Object(l.a)({},n,t))}));var F=[],L=[],q={};s.forEach((function(e){var n=e.element,l=e.player,o=e.instruction;if(r.has(n)){if(g.has(n))return l.onDestroy((function(){return D(n,o.toStyles)})),l.disabled=!0,l.overrideTotalTime(o.totalTime),void a.push(l);var s=q;if(I.size>1){for(var d=n,c=[];d=d.parentNode;){var p=I.get(d);if(p){s=p;break}c.push(d)}c.forEach((function(e){return I.set(e,s)}))}var f=t._buildAnimation(l.namespaceId,o,R,u,T,N);if(l.setRealPlayer(f),s===q)F.push(l);else{var h=t.playersByElement.get(s);h&&h.length&&(l.parentPlayer=i(h)),a.push(l)}}else V(n,o.fromStyles),l.onDestroy((function(){return D(n,o.toStyles)})),L.push(l),g.has(n)&&a.push(l)})),L.forEach((function(e){var n=u.get(e.element);if(n&&n.length){var t=i(n);e.setRealPlayer(t)}})),a.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var B=0;B0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,t):new o.d(e.duration,e.delay)},e}(),De=function(){function e(e,n,t){this.namespaceId=e,this.triggerName=n,this.element=t,this._player=new o.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var n=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(t){n._queuedCallbacks[t].forEach((function(n){return u(e,t,void 0,n)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var n=this,t=this._player;t.triggerCallback&&e.onStart((function(){return t.triggerCallback("start")})),e.onDone((function(){return n.finish()})),e.onDestroy((function(){return n.destroy()}))},e.prototype._queueEvent=function(e,n){c(this._queuedCallbacks,e,[]).push(n)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var n=this._player;n.triggerCallback&&n.triggerCallback(e)},e}();function Ve(e){return e&&1===e.nodeType}function Fe(e,n){var t=e.style.display;return e.style.display=null!=n?n:"none",t}function Le(e,n,t,l,o){var r=[];t.forEach((function(e){return r.push(Fe(e))}));var i=[];l.forEach((function(t,l){var r={};t.forEach((function(e){var t=r[e]=n.computeStyle(l,e,o);t&&0!=t.length||(l[Re]=Se,i.push(l))})),e.set(l,r)}));var a=0;return t.forEach((function(e){return Fe(e,r[a++])})),i}function qe(e,n){var t=new Map;if(e.forEach((function(e){return t.set(e,[])})),0==n.length)return t;var l=new Set(n),o=new Map;return n.forEach((function(e){var n=function e(n){if(!n)return 1;var r=o.get(n);if(r)return r;var i=n.parentNode;return r=t.has(i)?i:l.has(i)?1:e(i),o.set(n,r),r}(e);1!==n&&t.get(n).push(e)})),t}var Be="$$classes";function je(e,n){if(e.classList)e.classList.add(n);else{var t=e[Be];t||(t=e[Be]={}),t[n]=!0}}function $e(e,n){if(e.classList)e.classList.remove(n);else{var t=e[Be];t&&delete t[n]}}function Ue(e,n,t){i(t).onDone((function(){return e.processLeaveNode(n)}))}function Ge(e,n,t){var l=t.get(e);if(!l)return!1;var o=n.get(e);return o?l.forEach((function(e){return o.add(e)})):n.set(e,l),t.delete(e),!0}var ze=function(){function e(e,n,t){var l=this;this.bodyNode=e,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,n){},this._transitionEngine=new Te(e,n,t),this._timelineEngine=new ke(e,n,t),this._transitionEngine.onRemovalComplete=function(e,n){return l.onRemovalComplete(e,n)}}return e.prototype.registerTrigger=function(e,n,t,l,o){var r=e+"-"+l,i=this._triggerCache[r];if(!i){var a=[],u=X(this._driver,o,a);if(a.length)throw new Error('The animation trigger "'+l+'" has failed to build due to the following errors:\n - '+a.join("\n - "));i=function(e,n){return new xe(e,n)}(l,u),this._triggerCache[r]=i}this._transitionEngine.registerTrigger(n,l,i)},e.prototype.register=function(e,n){this._transitionEngine.register(e,n)},e.prototype.destroy=function(e,n){this._transitionEngine.destroy(e,n)},e.prototype.onInsert=function(e,n,t,l){this._transitionEngine.insertNode(e,n,t,l)},e.prototype.onRemove=function(e,n,t){this._transitionEngine.removeNode(e,n,t)},e.prototype.disableAnimations=function(e,n){this._transitionEngine.markElementAsDisabled(e,n)},e.prototype.process=function(e,n,t,o){if("@"==t.charAt(0)){var r=Object(l.h)(p(t),2);this._timelineEngine.command(r[0],n,r[1],o)}else this._transitionEngine.trigger(e,n,t,o)},e.prototype.listen=function(e,n,t,o,r){if("@"==t.charAt(0)){var i=Object(l.h)(p(t),2);return this._timelineEngine.listen(i[0],n,i[1],r)}return this._transitionEngine.listen(e,n,t,o,r)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),We="animation",He="animationend",Ye=function(){function e(e,n,t,l,o,r,i){var a=this;this._element=e,this._name=n,this._duration=t,this._delay=l,this._easing=o,this._fillMode=r,this._onDoneFn=i,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return a._handleCallback(e)}}return e.prototype.apply=function(){var e,n,t;n=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(t=en(e=this._element,"").trim()).length&&(function(e,n){for(var t=0;t=this._delay&&t>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ze(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,n,t,l;this._destroyed||(this._destroyed=!0,this.finish(),n=this._name,(l=Qe(t=en(e=this._element,"").split(","),n))>=0&&(t.splice(l,1),Xe(e,"",t.join(","))))},e}();function Ke(e,n,t){Xe(e,"PlayState",t,Je(e,n))}function Je(e,n){var t=en(e,"");return t.indexOf(",")>0?Qe(t.split(","),n):Qe([t],n)}function Qe(e,n){for(var t=0;t=0)return t;return-1}function Ze(e,n,t){t?e.removeEventListener(He,n):e.addEventListener(He,n)}function Xe(e,n,t,l){var o=We+n;if(null!=l){var r=e.style[o];if(r.length){var i=r.split(",");i[l]=t,t=i.join(",")}}e.style[o]=t}function en(e,n){return e.style[We+n]}var nn=function(){function e(e,n,t,l,o,r,i){this.element=e,this.keyframes=n,this.animationName=t,this._duration=l,this._delay=o,this._finalStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=l+o,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new Ye(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))},e.prototype.triggerCallback=function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach((function(e){return e()})),n.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var n={};if(this.hasStarted()){var t=this._state>=3;Object.keys(this._finalStyles).forEach((function(l){"offset"!=l&&(n[l]=t?e._finalStyles[l]:H(e.element,l))}))}this.currentSnapshot=n},e}(),tn=function(e){function n(n,t){var l=e.call(this)||this;return l.element=n,l._startingStyles={},l.__initialized=!1,l._styles=M(t),l}return Object(l.d)(n,e),n.prototype.init=function(){var n=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){n._startingStyles[e]=n.element.style[e]})),e.prototype.init.call(this))},n.prototype.play=function(){var n=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return n.element.style.setProperty(e,n._styles[e])})),e.prototype.play.call(this))},n.prototype.destroy=function(){var n=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var t=n._startingStyles[e];t?n.element.style.setProperty(e,t):n.element.style.removeProperty(e)})),this._startingStyles=null,e.prototype.destroy.call(this))},n}(o.d),ln=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return w(e)},e.prototype.matchesElement=function(e,n){return C(e,n)},e.prototype.containsElement=function(e,n){return x(e,n)},e.prototype.query=function(e,n,t){return O(e,n,t)},e.prototype.computeStyle=function(e,n,t){return window.getComputedStyle(e)[n]},e.prototype.buildKeyframeElement=function(e,n,t){var l="@keyframes "+n+" {\n",o="";(t=t.map((function(e){return M(e)}))).forEach((function(e){o=" ";var n=parseFloat(e.offset);l+=""+o+100*n+"% {\n",o+=" ",Object.keys(e).forEach((function(n){var t=e[n];switch(n){case"offset":return;case"easing":return void(t&&(l+=o+"animation-timing-function: "+t+";\n"));default:return void(l+=""+o+n+": "+t+";\n")}})),l+=o+"}\n"})),l+="}\n";var r=document.createElement("style");return r.innerHTML=l,r},e.prototype.animate=function(e,n,t,l,o,r,i){void 0===r&&(r=[]),i&&this._notifyFaultyScrubber();var a=r.filter((function(e){return e instanceof nn})),u={};G(t,l)&&a.forEach((function(e){var n=e.currentSnapshot;Object.keys(n).forEach((function(e){return u[e]=n[e]}))}));var s=function(e){var n={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(t){"offset"!=t&&"easing"!=t&&(n[t]=e[t])}))})),n}(n=z(e,n,u));if(0==t)return new tn(e,s);var d="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,d,n);document.querySelector("head").appendChild(c);var p=new nn(e,n,d,t,l,o,s);return p.onDestroy((function(){var e;(e=c).parentNode.removeChild(e)})),p},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(this._warningIssued=!0)},e}(),on=function(){function e(e,n,t){this.element=e,this.keyframes=n,this.options=t,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,n,t){return e.animate(n,t)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(t){"offset"!=t&&(n[t]=e._finished?e._finalKeyframe[t]:H(e.element,t))})),this.currentSnapshot=n},e.prototype.triggerCallback=function(e){var n="start"==e?this._onStartFns:this._onDoneFns;n.forEach((function(e){return e()})),n.length=0},e}(),rn=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(un().toString()),this._cssKeyframesDriver=new ln}return e.prototype.validateStyleProperty=function(e){return w(e)},e.prototype.matchesElement=function(e,n){return C(e,n)},e.prototype.containsElement=function(e,n){return x(e,n)},e.prototype.query=function(e,n,t){return O(e,n,t)},e.prototype.computeStyle=function(e,n,t){return window.getComputedStyle(e)[n]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,n,t,l,o,r,i){if(void 0===r&&(r=[]),!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,n,t,l,o,r);var a={duration:t,delay:l,fill:0==l?"both":"forwards"};o&&(a.easing=o);var u={},s=r.filter((function(e){return e instanceof on}));return G(t,l)&&s.forEach((function(e){var n=e.currentSnapshot;Object.keys(n).forEach((function(e){return u[e]=n[e]}))})),n=z(e,n=n.map((function(e){return E(e,!1)})),u),new on(e,n,a)},e}();function an(){return"function"==typeof un()}function un(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,t(404))},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return P}));var l=t(0),o=t(2),r=t(1),i=t(354),a=(t(74),t(60),t(61),l["ɵcrt"]({encapsulation:2,styles:['.mydp .headertodaybtn,.mydp .monthcell,.mydp .selection,.mydp .weekdaytitle{overflow:hidden;white-space:nowrap}.mydp{line-height:1.1;display:inline-block;position:relative}.mydp *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;padding:0;margin:0}.mydp,.mydp .headertodaybtn,.mydp .selection,.mydp .selectiongroup,.mydp .selector{border-radius:4px}.mydp .header{border-radius:4px 4px 0 0}.mydp .caltable,.mydp .monthtable,.mydp .yeartable{border-radius:0 0 4px 4px}.mydp .caltable tbody tr:nth-child(6) td:first-child,.mydp .monthtable tbody tr:nth-child(4) td:first-child,.mydp .yeartable tbody tr:nth-child(7) td:first-child{border-bottom-left-radius:4px}.mydp .caltable tbody tr:nth-child(6) td:last-child,.mydp .monthtable tbody tr:nth-child(4) td:last-child,.mydp .yeartable tbody tr:nth-child(7) td:last-child{border-bottom-right-radius:4px}.mydp .btnpicker{border-radius:0 4px 4px 0}.mydp .btnleftborderradius{border-top-left-radius:4px;border-bottom-left-radius:4px}.mydp .selector{margin-top:2px;margin-left:-1px;position:absolute;padding:0;border:1px solid #CCC;z-index:100;animation:selectorfadein .1s}.mydp .selector:focus{border:1px solid #ADD8E6;outline:0}@keyframes selectorfadein{from{opacity:0}to{opacity:1}}.mydp .selectorarrow{background:#FAFAFA;margin-top:12px;padding:0}.mydp .selectorarrow:after,.mydp .selectorarrow:before{bottom:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute}.mydp .selectorarrow:after{border-color:rgba(250,250,250,0);border-bottom-color:#FAFAFA;border-width:10px;margin-left:-10px}.mydp .selectorarrow:before{border-color:rgba(204,204,204,0);border-bottom-color:#CCC;border-width:11px;margin-left:-11px}.mydp .selectorarrow:focus:before{border-bottom-color:#ADD8E6}.mydp .selectorarrowleft:after,.mydp .selectorarrowleft:before{left:24px}.mydp .selectorarrowright:after,.mydp .selectorarrowright:before{left:86%}.mydp .alignselectorright{right:-1px}.mydp .selectiongroup{position:relative;display:table;border:none;border-spacing:0;background-color:#FFF}.mydp .selection{width:100%;outline:0;background-color:#FFF;display:table-cell;position:absolute;text-overflow:ellipsis;padding-left:6px;border:none;color:#555}.mydp .invaliddate{background-color:#F1DEDE}.mydp ::-ms-clear{display:none}.mydp .headerbtncell,.mydp .selbtngroup{display:table-cell;vertical-align:middle}.mydp .selbtngroup{position:relative;white-space:nowrap;width:1%;font-size:0}.mydp .btnclear,.mydp .btndecrease,.mydp .btnincrease,.mydp .btnpicker{height:100%;width:26px;border:none;padding:0;outline:0;font:inherit;-moz-user-select:none}.mydp .btnleftborder{border-left:1px solid #CCC}.mydp .btnclearenabled,.mydp .btndecreaseenabled,.mydp .btnincreaseenabled,.mydp .btnpickerenabled,.mydp .headerbtnenabled,.mydp .headertodaybtnenabled,.mydp .yearchangebtnenabled{cursor:pointer}.mydp .btncleardisabled,.mydp .btndecreasedisabled,.mydp .btnincreasedisabled,.mydp .btnpickerdisabled,.mydp .headerbtndisabled,.mydp .headertodaybtndisabled,.mydp .selectiondisabled,.mydp .yearchangebtndisabled{cursor:not-allowed;opacity:.65}.mydp .selectiondisabled{background-color:#EEE}.mydp .btnclear,.mydp .btndecrease,.mydp .btnincrease,.mydp .btnpicker,.mydp .headertodaybtn{background:#FFF}.mydp .header{width:100%;height:30px;background-color:#FAFAFA}.mydp .header td{vertical-align:middle;border:none;line-height:0}.mydp .header td:nth-child(1){padding-left:4px}.mydp .header td:nth-child(2){text-align:center}.mydp .header td:nth-child(3){padding-right:4px}.mydp .caltable,.mydp .monthtable,.mydp .yeartable{table-layout:fixed;width:100%;height:calc(100% - 30px);background-color:#FFF;font-size:14px}.mydp .caltable,.mydp .daycell,.mydp .monthcell,.mydp .monthtable,.mydp .weekdaytitle,.mydp .yearcell,.mydp .yeartable{border-collapse:collapse;color:#036;line-height:1.1}.mydp .daycell,.mydp .monthcell,.mydp .weekdaytitle,.mydp .yearcell{padding:4px;text-align:center}.mydp .weekdaytitle{background-color:#DDD;font-size:11px;font-weight:400;vertical-align:middle;max-width:36px}.mydp .weekdaytitleweeknbr{width:20px;border-right:1px solid #BBB}.mydp .monthcell{background-color:#FAFAFA}.mydp .yearcell{background-color:#FAFAFA;width:20%}.mydp .daycell .datevalue{background-color:inherit;vertical-align:middle}.mydp .daycell .datevalue span{vertical-align:middle}.mydp .daycellweeknbr{font-size:10px;border-right:1px solid #CCC;cursor:default;color:#000}.mydp .inlinedp{position:relative;margin-top:-1px}.mydp .nextmonth,.mydp .prevmonth{color:#999}.mydp .disabled{cursor:default!important;color:#CCC;background:#FBEFEF}.mydp .highlight{color:#C30000}.mydp .dimday{opacity:.5}.mydp .currmonth{background-color:#F6F6F6;font-weight:400}.mydp .markdate{position:absolute;width:4px;height:4px;border-radius:4px}.mydp .markcurrday,.mydp .markcurrmonth,.mydp .markcurryear{text-decoration:underline}.mydp .selectedday .datevalue,.mydp .selectedmonth .monthvalue,.mydp .selectedyear .yearvalue{border:none;background-color:#8EBFFF;border-radius:2px}.mydp .headerbtncell{background-color:#FAFAFA}.mydp .yearchangebtncell{text-align:center;background-color:#FAFAFA}.mydp .headerbtn,.mydp .headerlabelbtn,.mydp .yearchangebtn{background:#FAFAFA;border:none;height:22px}.mydp .headerbtn{width:16px}.mydp .headerlabelbtn{font-size:14px;outline:0;cursor:default}.mydp,.mydp .headertodaybtn{border:1px solid #CCC}.mydp .btnclear,.mydp .btndecrease,.mydp .btnincrease,.mydp .btnpicker,.mydp .headerbtn,.mydp .headermonthtxt,.mydp .headertodaybtn,.mydp .headeryeartxt,.mydp .yearchangebtn{color:#000}.mydp .headertodaybtn{padding:0 4px;font-size:11px;height:22px;min-width:60px;max-width:84px}.mydp button::-moz-focus-inner{border:0}.mydp .headermonthtxt,.mydp .headeryeartxt{text-align:center;display:table-cell;vertical-align:middle;font-size:14px;height:26px;width:40px;max-width:40px;overflow:hidden;white-space:nowrap}.mydp .btnclear:focus,.mydp .btndecrease:focus,.mydp .btnincrease:focus,.mydp .btnpicker:focus,.mydp .headertodaybtn:focus{background:#ADD8E6}.mydp .headerbtn:focus,.mydp .monthlabel:focus,.mydp .yearchangebtn:focus,.mydp .yearlabel:focus{color:#ADD8E6;outline:0}.mydp .daycell:focus,.mydp .monthcell:focus,.mydp .yearcell:focus{outline:#CCC solid 1px}.mydp .icon-mydpcalendar,.mydp .icon-mydpremove{font-size:16px}.mydp .icon-mydpdown,.mydp .icon-mydpleft,.mydp .icon-mydpright,.mydp .icon-mydpup{color:#222;font-size:20px}.mydp .btndecrease .icon-mydpleft,.mydp .btnincrease .icon-mydpright{font-size:16px}.mydp .icon-mydptoday{color:#222;font-size:11px}.mydp table{display:table;border-spacing:0}.mydp table td{padding:0}.mydp table,.mydp td,.mydp th{border:none}.mydp .btnclearenabled:hover,.mydp .btndecreaseenabled:hover,.mydp .btnincreaseenabled:hover,.mydp .btnpickerenabled:hover,.mydp .headertodaybtnenabled:hover{background-color:#E6E6E6}.mydp .tablesingleday:hover,.mydp .tablesinglemonth:hover,.mydp .tablesingleyear:hover{background-color:#DDD}.mydp .daycell,.mydp .inputnoteditable,.mydp .monthcell,.mydp .monthlabel,.mydp .yearcell,.mydp .yearlabel{cursor:pointer}.mydp .headerbtnenabled:hover,.mydp .monthlabel:hover,.mydp .yearchangebtnenabled:hover,.mydp .yearlabel:hover{color:#777}@font-face{font-family:mydatepicker;src:url(data:application/octet-stream;base64,AAEAAAAPAIAAAwBwR1NVQiCMJXkAAAD8AAAAVE9TLzI+IEhNAAABUAAAAFZjbWFw6UKcfwAAAagAAAHEY3Z0IAbV/wQAAAz8AAAAIGZwZ22KkZBZAAANHAAAC3BnYXNwAAAAEAAADPQAAAAIZ2x5Zqbn7ycAAANsAAAFXGhlYWQNX0bLAAAIyAAAADZoaGVhBzwDWQAACQAAAAAkaG10eBXB//8AAAkkAAAAIGxvY2EGNATEAAAJRAAAABJtYXhwAXgMOgAACVgAAAAgbmFtZZKUFgMAAAl4AAAC/XBvc3R9NuZlAAAMeAAAAHpwcmVw5UErvAAAGIwAAACGAAEAAAAKADAAPgACbGF0bgAOREZMVAAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAECuAGQAAUAAAJ6ArwAAACMAnoCvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOgA6AYDUv9qAFoDUgCWAAAAAQAAAAAAAAAAAAUAAAADAAAALAAAAAQAAAFgAAEAAAAAAFoAAwABAAAALAADAAoAAAFgAAQALgAAAAQABAABAADoBv//AADoAP//AAAAAQAEAAAAAQACAAMABAAFAAYABwAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAZAAAAAAAAAAHAADoAAAA6AAAAAABAADoAQAA6AEAAAACAADoAgAA6AIAAAADAADoAwAA6AMAAAAEAADoBAAA6AQAAAAFAADoBQAA6AUAAAAGAADoBgAA6AYAAAAHAAEAAAAAAUECfQAOAAq3AAAAZhQBBRUrARQPAQYiJjURND4BHwEWAUEK+gscFhYcC/oKAV4OC/oLFg4B9A8UAgz6CgAAAQAAAAABZwJ8AA0AF0AUAAEAAQFHAAEAAW8AAABmFxMCBRYrAREUBiIvASY0PwE2MhYBZRQgCfoKCvoLHBgCWP4MDhYL+gscC/oLFgAAAAAFAAD/agOhA1IAFAAYACgAOABcALdAECoaAgoFMiICBgoNAQABA0dLsApQWEA/DgwCCgUGBgplAAIEAQQCAW0AAQAEAQBrAAADBAADawgBBgAEAgYEXwcBBQULWA0BCwsMSAADAwlYAAkJDQlJG0BADgwCCgUGBQoGbQACBAEEAgFtAAEABAEAawAAAwQAA2sIAQYABAIGBF8HAQUFC1gNAQsLDEgAAwMJWAAJCQ0JSVlAGFtZVlNQT0xJRkQ/PCYmJiQRFRQXEg8FHSsJAQYiLwEmND8BNjIfATc2Mh8BFhQBIREhNzU0JisBIgYdARQWOwEyNiU1NCYrASIGHQEUFjsBMjY3ERQGIyEiJjURNDY7ATU0NjsBMhYdATM1NDY7ATIWBxUzMhYC1/7iBQ4GoQUFGgUOBnv3Bg4GGQX9awMS/O7XCggkCAoKCCQICgGsCggjCAoKCCMICtcsHPzuHSoqHUg0JSQlNNY2JCMlNgFHHSoBOP7iBQWhBg4FGgUFe/gFBRoFDv5zAjxroQgKCgihCAoKCKEICgoIoQgKCiz9NR0qKh0Cyx0qNiU0NCU2NiU0NCU2KgAAAAAPAAD/agOhA1IAAwAHAAsADwATABcAGwAfACMAMwA3ADsAPwBPAHMAmECVQSUCHRJJLSQDEx0CRyEfAh0TCR1UGwETGRcNAwkIEwlfGBYMAwgVEQcDBQQIBV4UEAYDBA8LAwMBAAQBXhoBEhIeWCABHh4MSA4KAgMAABxYABwcDRxJcnBtamdmY2BdW1ZTTUxFRD8+PTw7Ojk4NzY1NDEvKScjIiEgHx4dHBsaGRgXFhUUExIRERERERERERAiBR0rFzM1IxczNSMnMzUjFzM1IyczNSMBMzUjJzM1IwEzNSMnMzUjAzU0JicjIgYHFRQWNzMyNgEzNSMnMzUjFzM1Izc1NCYnIyIGFxUUFjczMjY3ERQGIyEiJjURNDY7ATU0NjsBMhYdATM1NDY7ATIWBxUzMhZHoaHFsrLFoaHFsrLFoaEBm7Oz1rKyAayhodazs8QMBiQHCgEMBiQHCgGboaHWs7PWoaESCggjBwwBCggjCArXLBz87h0qKh1INCUkJTTWNiQjJTYBRx0qT6GhoSSysrIkof3Eofqh/cShJLIBMKEHCgEMBqEHDAEK/iayJKGhoWuhBwoBDAahBwwBCiz9NR0qKh0Cyx0qNiU0NCU2NiU0NCU2KgAAAAH//wAAAjsByQAOABFADgABAAFvAAAAZhUyAgUWKyUUBichIi4BPwE2Mh8BFgI7FA/+DA8UAgz6Ch4K+gqrDhYBFB4L+goK+gsAAAABAAAAAAI8Ae0ADgAXQBQAAQABAUcAAQABbwAAAGY1FAIFFisBFA8BBiIvASY0NjMhMhYCOwr6CxwL+gsWDgH0DhYByQ4L+gsL+gscFhYAAAEAAP/vAtQChgAkAB5AGyIZEAcEAAIBRwMBAgACbwEBAABmFBwUFAQFGCslFA8BBiIvAQcGIi8BJjQ/AScmND8BNjIfATc2Mh8BFhQPARcWAtQPTBAsEKSkECwQTBAQpKQQEEwQLBCkpBAsEEwPD6SkD3AWEEwPD6WlDw9MECwQpKQQLBBMEBCkpBAQTA8uD6SkDwABAAAAAQAAbdyczV8PPPUACwPoAAAAANUsgZUAAAAA1SyBlf///2oD6ANSAAAACAACAAAAAAAAAAEAAANS/2oAAAPo/////gPoAAEAAAAAAAAAAAAAAAAAAAAIA+gAAAFlAAABZQAAA+gAAAOgAAACO///AjsAAAMRAAAAAAAAACIASgEoAhYCPAJkAq4AAAABAAAACAB0AA8AAAAAAAIARABUAHMAAACpC3AAAAAAAAAAEgDeAAEAAAAAAAAANQAAAAEAAAAAAAEADAA1AAEAAAAAAAIABwBBAAEAAAAAAAMADABIAAEAAAAAAAQADABUAAEAAAAAAAUACwBgAAEAAAAAAAYADABrAAEAAAAAAAoAKwB3AAEAAAAAAAsAEwCiAAMAAQQJAAAAagC1AAMAAQQJAAEAGAEfAAMAAQQJAAIADgE3AAMAAQQJAAMAGAFFAAMAAQQJAAQAGAFdAAMAAQQJAAUAFgF1AAMAAQQJAAYAGAGLAAMAAQQJAAoAVgGjAAMAAQQJAAsAJgH5Q29weXJpZ2h0IChDKSAyMDE3IGJ5IG9yaWdpbmFsIGF1dGhvcnMgQCBmb250ZWxsby5jb21teWRhdGVwaWNrZXJSZWd1bGFybXlkYXRlcGlja2VybXlkYXRlcGlja2VyVmVyc2lvbiAxLjBteWRhdGVwaWNrZXJHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuaHR0cDovL2ZvbnRlbGxvLmNvbQBDAG8AcAB5AHIAaQBnAGgAdAAgACgAQwApACAAMgAwADEANwAgAGIAeQAgAG8AcgBpAGcAaQBuAGEAbAAgAGEAdQB0AGgAbwByAHMAIABAACAAZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AbQB5AGQAYQB0AGUAcABpAGMAawBlAHIAUgBlAGcAdQBsAGEAcgBtAHkAZABhAHQAZQBwAGkAYwBrAGUAcgBtAHkAZABhAHQAZQBwAGkAYwBrAGUAcgBWAGUAcgBzAGkAbwBuACAAMQAuADAAbQB5AGQAYQB0AGUAcABpAGMAawBlAHIARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAECAQMBBAEFAQYBBwEIAQkACW15ZHByaWdodAhteWRwbGVmdAlteWRwdG9kYXkMbXlkcGNhbGVuZGFyBm15ZHB1cAhteWRwZG93bgpteWRwcmVtb3ZlAAAAAAABAAH//wAPAAAAAAAAAAAAAAAAAAAAAAAYABgAGAAYA1L/agNS/2qwACwgsABVWEVZICBLuAAOUUuwBlNaWLA0G7AoWWBmIIpVWLACJWG5CAAIAGNjI2IbISGwAFmwAEMjRLIAAQBDYEItsAEssCBgZi2wAiwgZCCwwFCwBCZasigBCkNFY0VSW1ghIyEbilggsFBQWCGwQFkbILA4UFghsDhZWSCxAQpDRWNFYWSwKFBYIbEBCkNFY0UgsDBQWCGwMFkbILDAUFggZiCKimEgsApQWGAbILAgUFghsApgGyCwNlBYIbA2YBtgWVlZG7ABK1lZI7AAUFhlWVktsAMsIEUgsAQlYWQgsAVDUFiwBSNCsAYjQhshIVmwAWAtsAQsIyEjISBksQViQiCwBiNCsQEKQ0VjsQEKQ7ABYEVjsAMqISCwBkMgiiCKsAErsTAFJbAEJlFYYFAbYVJZWCNZISCwQFNYsAErGyGwQFkjsABQWGVZLbAFLLAHQyuyAAIAQ2BCLbAGLLAHI0IjILAAI0JhsAJiZrABY7ABYLAFKi2wBywgIEUgsAtDY7gEAGIgsABQWLBAYFlmsAFjYESwAWAtsAgssgcLAENFQiohsgABAENgQi2wCSywAEMjRLIAAQBDYEItsAosICBFILABKyOwAEOwBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhRESwAWAtsAssICBFILABKyOwAEOwBCVgIEWKI2EgZLAkUFiwABuwQFkjsABQWGVZsAMlI2FERLABYC2wDCwgsAAjQrILCgNFWCEbIyFZKiEtsA0ssQICRbBkYUQtsA4ssAFgICCwDENKsABQWCCwDCNCWbANQ0qwAFJYILANI0JZLbAPLCCwEGJmsAFjILgEAGOKI2GwDkNgIIpgILAOI0IjLbAQLEtUWLEEZERZJLANZSN4LbARLEtRWEtTWLEEZERZGyFZJLATZSN4LbASLLEAD0NVWLEPD0OwAWFCsA8rWbAAQ7ACJUKxDAIlQrENAiVCsAEWIyCwAyVQWLEBAENgsAQlQoqKIIojYbAOKiEjsAFhIIojYbAOKiEbsQEAQ2CwAiVCsAIlYbAOKiFZsAxDR7ANQ0dgsAJiILAAUFiwQGBZZrABYyCwC0NjuAQAYiCwAFBYsEBgWWawAWNgsQAAEyNEsAFDsAA+sgEBAUNgQi2wEywAsQACRVRYsA8jQiBFsAsjQrAKI7ABYEIgYLABYbUQEAEADgBCQopgsRIGK7ByKxsiWS2wFCyxABMrLbAVLLEBEystsBYssQITKy2wFyyxAxMrLbAYLLEEEystsBkssQUTKy2wGiyxBhMrLbAbLLEHEystsBwssQgTKy2wHSyxCRMrLbAeLACwDSuxAAJFVFiwDyNCIEWwCyNCsAojsAFgQiBgsAFhtRAQAQAOAEJCimCxEgYrsHIrGyJZLbAfLLEAHistsCAssQEeKy2wISyxAh4rLbAiLLEDHistsCMssQQeKy2wJCyxBR4rLbAlLLEGHistsCYssQceKy2wJyyxCB4rLbAoLLEJHistsCksIDywAWAtsCosIGCwEGAgQyOwAWBDsAIlYbABYLApKiEtsCsssCorsCoqLbAsLCAgRyAgsAtDY7gEAGIgsABQWLBAYFlmsAFjYCNhOCMgilVYIEcgILALQ2O4BABiILAAUFiwQGBZZrABY2AjYTgbIVktsC0sALEAAkVUWLABFrAsKrABFTAbIlktsC4sALANK7EAAkVUWLABFrAsKrABFTAbIlktsC8sIDWwAWAtsDAsALABRWO4BABiILAAUFiwQGBZZrABY7ABK7ALQ2O4BABiILAAUFiwQGBZZrABY7ABK7AAFrQAAAAAAEQ+IzixLwEVKi2wMSwgPCBHILALQ2O4BABiILAAUFiwQGBZZrABY2CwAENhOC2wMiwuFzwtsDMsIDwgRyCwC0NjuAQAYiCwAFBYsEBgWWawAWNgsABDYbABQ2M4LbA0LLECABYlIC4gR7AAI0KwAiVJiopHI0cjYSBYYhshWbABI0KyMwEBFRQqLbA1LLAAFrAEJbAEJUcjRyNhsAlDK2WKLiMgIDyKOC2wNiywABawBCWwBCUgLkcjRyNhILAEI0KwCUMrILBgUFggsEBRWLMCIAMgG7MCJgMaWUJCIyCwCEMgiiNHI0cjYSNGYLAEQ7ACYiCwAFBYsEBgWWawAWNgILABKyCKimEgsAJDYGQjsANDYWRQWLACQ2EbsANDYFmwAyWwAmIgsABQWLBAYFlmsAFjYSMgILAEJiNGYTgbI7AIQ0awAiWwCENHI0cjYWAgsARDsAJiILAAUFiwQGBZZrABY2AjILABKyOwBENgsAErsAUlYbAFJbACYiCwAFBYsEBgWWawAWOwBCZhILAEJWBkI7ADJWBkUFghGyMhWSMgILAEJiNGYThZLbA3LLAAFiAgILAFJiAuRyNHI2EjPDgtsDgssAAWILAII0IgICBGI0ewASsjYTgtsDkssAAWsAMlsAIlRyNHI2GwAFRYLiA8IyEbsAIlsAIlRyNHI2EgsAUlsAQlRyNHI2GwBiWwBSVJsAIlYbkIAAgAY2MjIFhiGyFZY7gEAGIgsABQWLBAYFlmsAFjYCMuIyAgPIo4IyFZLbA6LLAAFiCwCEMgLkcjRyNhIGCwIGBmsAJiILAAUFiwQGBZZrABYyMgIDyKOC2wOywjIC5GsAIlRlJYIDxZLrErARQrLbA8LCMgLkawAiVGUFggPFkusSsBFCstsD0sIyAuRrACJUZSWCA8WSMgLkawAiVGUFggPFkusSsBFCstsD4ssDUrIyAuRrACJUZSWCA8WS6xKwEUKy2wPyywNiuKICA8sAQjQoo4IyAuRrACJUZSWCA8WS6xKwEUK7AEQy6wKystsEAssAAWsAQlsAQmIC5HI0cjYbAJQysjIDwgLiM4sSsBFCstsEEssQgEJUKwABawBCWwBCUgLkcjRyNhILAEI0KwCUMrILBgUFggsEBRWLMCIAMgG7MCJgMaWUJCIyBHsARDsAJiILAAUFiwQGBZZrABY2AgsAErIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbACYiCwAFBYsEBgWWawAWNhsAIlRmE4IyA8IzgbISAgRiNHsAErI2E4IVmxKwEUKy2wQiywNSsusSsBFCstsEMssDYrISMgIDywBCNCIzixKwEUK7AEQy6wKystsEQssAAVIEewACNCsgABARUUEy6wMSotsEUssAAVIEewACNCsgABARUUEy6wMSotsEYssQABFBOwMiotsEcssDQqLbBILLAAFkUjIC4gRoojYTixKwEUKy2wSSywCCNCsEgrLbBKLLIAAEErLbBLLLIAAUErLbBMLLIBAEErLbBNLLIBAUErLbBOLLIAAEIrLbBPLLIAAUIrLbBQLLIBAEIrLbBRLLIBAUIrLbBSLLIAAD4rLbBTLLIAAT4rLbBULLIBAD4rLbBVLLIBAT4rLbBWLLIAAEArLbBXLLIAAUArLbBYLLIBAEArLbBZLLIBAUArLbBaLLIAAEMrLbBbLLIAAUMrLbBcLLIBAEMrLbBdLLIBAUMrLbBeLLIAAD8rLbBfLLIAAT8rLbBgLLIBAD8rLbBhLLIBAT8rLbBiLLA3Ky6xKwEUKy2wYyywNyuwOystsGQssDcrsDwrLbBlLLAAFrA3K7A9Ky2wZiywOCsusSsBFCstsGcssDgrsDsrLbBoLLA4K7A8Ky2waSywOCuwPSstsGossDkrLrErARQrLbBrLLA5K7A7Ky2wbCywOSuwPCstsG0ssDkrsD0rLbBuLLA6Ky6xKwEUKy2wbyywOiuwOystsHAssDorsDwrLbBxLLA6K7A9Ky2wciyzCQQCA0VYIRsjIVlCK7AIZbADJFB4sAEVMC0AS7gAyFJYsQEBjlmwAbkIAAgAY3CxAAVCsgABACqxAAVCswoCAQgqsQAFQrMOAAEIKrEABkK6AsAAAQAJKrEAB0K6AEAAAQAJKrEDAESxJAGIUViwQIhYsQNkRLEmAYhRWLoIgAABBECIY1RYsQMARFlZWVmzDAIBDCq4Af+FsASNsQIARAAA) format(\'truetype\');font-weight:400;font-style:normal}.mydp .mydpicon{font-family:mydatepicker;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mydp .icon-mydpright:before{content:"\\e800"}.mydp .icon-mydpleft:before{content:"\\e801"}.mydp .icon-mydptoday:before{content:"\\e802"}.mydp .icon-mydpcalendar:before{content:"\\e803"}.mydp .icon-mydpup:before{content:"\\e804"}.mydp .icon-mydpdown:before{content:"\\e805"}.mydp .icon-mydpremove:before{content:"\\e806"}'],data:{}}));function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,[[2,0],["inputBoxEl",1]],null,9,"input",[["autocomplete","off"],["autocorrect","off"],["class","selection"],["ngtype","text"],["spellcheck","false"]],[[1,"aria-label",0],[8,"placeholder",0],[8,"value",0],[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"],[null,"ngModelChange"],[null,"keyup"],[null,"focus"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,5)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,5).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,5)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,5)._compositionEnd(t.target.value)&&o),"click"===n&&(o=!1!==(r.opts.openSelectorOnInputClick&&!r.opts.editableDateField&&r.openBtnClicked())&&o),"ngModelChange"===n&&(o=!1!==r.onUserDateInput(t)&&o),"keyup"===n&&(o=!1!==r.onCloseSelector(t)&&o),"focus"===n&&(o=!1!==(r.opts.editableDateField&&r.onFocusInput(t))&&o),"blur"===n&&(o=!1!==(r.opts.editableDateField&&r.onBlurInput(t))&&o),o}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{invaliddate:0,inputnoteditable:1,selectiondisabled:2}),l["ɵdid"](3,278528,null,0,o.NgStyle,[l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngStyle:[0,"ngStyle"]},null),l["ɵpod"](4,{height:0,"font-size":1}),l["ɵdid"](5,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](7,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[6,r.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](9,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null)],(function(e,n){var t=n.component;e(n,1,0,"selection",e(n,2,0,t.invalidDate&&t.opts.indicateInvalidDate,t.opts.openSelectorOnInputClick&&!t.opts.editableDateField,t.opts.componentDisabled)),e(n,3,0,e(n,4,0,t.opts.height,t.opts.selectionTxtFontSize)),e(n,7,0,t.opts.componentDisabled,t.selectionDayTxt)}),(function(e,n){var t=n.component;e(n,0,1,[t.opts.ariaLabelInputField,l["ɵinlineInterpolate"](1,"",t.placeholder,""),t.selectionDayTxt,!t.opts.editableDateField,l["ɵnov"](n,9).ngClassUntouched,l["ɵnov"](n,9).ngClassTouched,l["ɵnov"](n,9).ngClassPristine,l["ɵnov"](n,9).ngClassDirty,l["ɵnov"](n,9).ngClassValid,l["ɵnov"](n,9).ngClassInvalid,l["ɵnov"](n,9).ngClassPending])}))}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"button",[["class","btndecrease"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onDecreaseBtnClicked()&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{btndecreaseenabled:0,btndecreasedisabled:1,btnleftborderradius:2}),(e()(),l["ɵeld"](3,0,null,null,0,"span",[["class","mydpicon icon-mydpleft"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,1,0,"btndecrease",e(n,2,0,!t.opts.componentDisabled,t.opts.componentDisabled,!t.opts.showInputField))}),(function(e,n){var t=n.component;e(n,0,0,t.opts.ariaLabelDecreaseDate,t.opts.componentDisabled)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"button",[["class","btnincrease"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onIncreaseBtnClicked()&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{btnincreaseenabled:0,btnincreasedisabled:1,btnleftborderradius:2}),(e()(),l["ɵeld"](3,0,null,null,0,"span",[["class","mydpicon icon-mydpright"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,1,0,"btnincrease",e(n,2,0,!t.opts.componentDisabled,t.opts.componentDisabled,!t.opts.showDecreaseDateBtn&&!t.opts.showInputField))}),(function(e,n){var t=n.component;e(n,0,0,t.opts.ariaLabelIncreaseDate,t.opts.componentDisabled)}))}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"button",[["class","btnclear"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.removeBtnClicked()&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{btnclearenabled:0,btncleardisabled:1,btnleftborderradius:2}),(e()(),l["ɵeld"](3,0,null,null,0,"span",[["class","mydpicon icon-mydpremove"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,1,0,"btnclear",e(n,2,0,!t.opts.componentDisabled,t.opts.componentDisabled,!t.opts.showIncreaseDateBtn&&!t.opts.showDecreaseDateBtn&&!t.opts.showInputField))}),(function(e,n){var t=n.component;e(n,0,0,t.opts.ariaLabelClearDate,t.opts.componentDisabled)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,13,"div",[["class","selectiongroup"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](3,0,null,null,10,"div",[["class","selbtngroup"]],[[4,"height",null]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](5,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](7,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](9,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](10,0,null,null,3,"button",[["class","btnpicker"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.openBtnClicked()&&l),l}),null,null)),l["ɵdid"](11,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](12,{btnpickerenabled:0,btnpickerdisabled:1,btnleftborderradius:2}),(e()(),l["ɵeld"](13,0,null,null,0,"span",[["class","mydpicon icon-mydpcalendar"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,2,0,t.opts.showInputField),e(n,5,0,t.opts.showDecreaseDateBtn),e(n,7,0,t.opts.showIncreaseDateBtn),e(n,9,0,t.selectionDayTxt.length>0&&t.opts.showClearDateBtn),e(n,11,0,"btnpicker",e(n,12,0,!t.opts.componentDisabled,t.opts.componentDisabled,!t.opts.showClearDateBtn&&!t.opts.showIncreaseDateBtn&&!t.opts.showDecreaseDateBtn&&!t.opts.showInputField||0===t.selectionDayTxt.length&&!t.opts.showInputField))}),(function(e,n){var t=n.component;e(n,3,0,t.opts.height),e(n,10,0,t.opts.ariaLabelOpenCalendar,t.opts.componentDisabled)}))}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"button",[["class","headertodaybtn"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onTodayClicked()&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{headertodaybtnenabled:0,headertodaybtndisabled:1}),(e()(),l["ɵeld"](3,0,null,null,0,"span",[["class","mydpicon icon-mydptoday"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](5,null,["",""]))],(function(e,n){var t=n.component;e(n,1,0,"headertodaybtn",e(n,2,0,!t.disableTodayBtn,t.disableTodayBtn))}),(function(e,n){var t=n.component;e(n,0,0,t.disableTodayBtn),e(n,5,0,t.opts.todayBtnTxt)}))}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"th",[["class","weekdaytitle weekdaytitleweeknbr"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["#"]))],null,null)}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"th",[["class","weekdaytitle"],["scope","col"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"td",[["class","daycell daycellweeknbr"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.parent.context.$implicit.weekNbr)}))}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","markdate"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgStyle,[l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngStyle:[0,"ngStyle"]},null),l["ɵpod"](2,{"background-color":0})],(function(e,n){e(n,1,0,e(n,2,0,n.parent.context.$implicit.markedDate.color))}),null)}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,11,"td",[["class","daycell"],["tabindex","0"]],null,[[null,"click"],[null,"keydown"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(!e.context.$implicit.disabled&&o.onCellClicked(e.context.$implicit),l=!1!==t.stopPropagation()&&l),"keydown"===n&&(l=!1!==o.onCellKeyDown(t,e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{currmonth:0,selectedday:1,disabled:2,tablesingleday:3}),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](5,0,null,null,6,"div",[["class","datevalue"]],null,null,null,null,null)),l["ɵdid"](6,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](7,{prevmonth:0,currmonth:1,nextmonth:2,highlight:3}),(e()(),l["ɵeld"](8,0,null,null,3,"span",[],null,null,null,null,null)),l["ɵdid"](9,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](10,{markcurrday:0,dimday:1}),(e()(),l["ɵted"](11,null,["",""]))],(function(e,n){var t=n.component;e(n,1,0,"daycell",e(n,2,0,n.context.$implicit.cmo===t.currMonthId&&!n.context.$implicit.disabled,t.selectedDate.day===n.context.$implicit.dateObj.day&&t.selectedDate.month===n.context.$implicit.dateObj.month&&t.selectedDate.year===n.context.$implicit.dateObj.year&&n.context.$implicit.cmo===t.currMonthId,n.context.$implicit.disabled,(!t.opts.allowSelectionOnlyInCurrentMonth||n.context.$implicit.cmo===t.currMonthId&&t.opts.allowSelectionOnlyInCurrentMonth)&&!n.context.$implicit.disabled)),e(n,4,0,n.context.$implicit.markedDate.marked),e(n,6,0,"datevalue",e(n,7,0,n.context.$implicit.cmo===t.prevMonthId,n.context.$implicit.cmo===t.currMonthId,n.context.$implicit.cmo===t.nextMonthId,n.context.$implicit.highlight)),e(n,9,0,e(n,10,0,n.context.$implicit.currDay&&t.opts.markCurrentDay,n.context.$implicit.highlight&&(n.context.$implicit.cmo===t.prevMonthId||n.context.$implicit.cmo===t.nextMonthId||n.context.$implicit.disabled)))}),(function(e,n){e(n,11,0,n.context.$implicit.dateObj.day)}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](4,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.opts.showWeekNumbers&&"mo"===t.opts.firstDayOfWeek),e(n,4,0,n.context.$implicit.week)}),null)}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"table",[["class","caltable"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,5,"thead",[],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](6,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵeld"](7,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](9,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,4,0,t.opts.showWeekNumbers&&"mo"===t.opts.firstDayOfWeek),e(n,6,0,t.weekDays),e(n,9,0,t.dates)}),null)}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"td",[["class","monthcell tablesinglemonth"],["tabindex","0"]],null,[[null,"click"],[null,"keydown"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(!e.context.$implicit.disabled&&o.onMonthCellClicked(e.context.$implicit),l=!1!==t.stopPropagation()&&l),"keydown"===n&&(l=!1!==o.onMonthCellKeyDown(t,e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{selectedmonth:0,disabled:1}),(e()(),l["ɵeld"](3,0,null,null,3,"div",[["class","monthvalue"]],null,null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](5,{markcurrmonth:0}),(e()(),l["ɵted"](6,null,["",""]))],(function(e,n){var t=n.component;e(n,1,0,"monthcell tablesinglemonth",e(n,2,0,n.context.$implicit.selected,n.context.$implicit.disabled)),e(n,4,0,"monthvalue",e(n,5,0,n.context.$implicit.currMonth&&t.opts.markCurrentMonth))}),(function(e,n){e(n,6,0,n.context.$implicit.name)}))}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"tr",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.context.$implicit)}),null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"table",[["class","monthtable"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](3,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,3,0,n.component.months)}),null)}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"td",[["class","yearcell tablesingleyear"],["tabindex","0"]],null,[[null,"click"],[null,"keydown"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(!e.context.$implicit.disabled&&o.onYearCellClicked(e.context.$implicit),l=!1!==t.stopPropagation()&&l),"keydown"===n&&(l=!1!==o.onYearCellKeyDown(t,e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{selectedyear:0,disabled:1}),(e()(),l["ɵeld"](3,0,null,null,3,"div",[["class","yearvalue"]],null,null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](5,{markcurryear:0}),(e()(),l["ɵted"](6,null,["",""]))],(function(e,n){var t=n.component;e(n,1,0,"yearcell tablesingleyear",e(n,2,0,n.context.$implicit.selected,n.context.$implicit.disabled)),e(n,4,0,"yearvalue",e(n,5,0,n.context.$implicit.currYear&&t.opts.markCurrentYear))}),(function(e,n){e(n,6,0,n.context.$implicit.year)}))}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"tr",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.context.$implicit)}),null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,13,"table",[["class","yeartable"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,12,"tbody",[],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,3,"td",[["class","yearchangebtncell"],["colspan","5"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==t.stopPropagation()&&l),l}),null,null)),(e()(),l["ɵeld"](4,0,null,null,2,"button",[["class","yearchangebtn mydpicon icon-mydpup"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==o.onPrevYears(t,o.years[0][0].year)&&l),l}),null,null)),l["ɵdid"](5,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](6,{yearchangebtnenabled:0,yearchangebtndisabled:1}),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](8,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵeld"](9,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,3,"td",[["class","yearchangebtncell"],["colspan","5"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==t.stopPropagation()&&l),l}),null,null)),(e()(),l["ɵeld"](11,0,null,null,2,"button",[["class","yearchangebtn mydpicon icon-mydpdown"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==o.onNextYears(t,o.years[0][0].year)&&l),l}),null,null)),l["ɵdid"](12,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](13,{yearchangebtnenabled:0,yearchangebtndisabled:1})],(function(e,n){var t=n.component;e(n,5,0,"yearchangebtn mydpicon icon-mydpup",e(n,6,0,!t.prevYearsDisabled,t.prevYearsDisabled)),e(n,8,0,t.years),e(n,12,0,"yearchangebtn mydpicon icon-mydpdown",e(n,13,0,!t.nextYearsDisabled,t.nextYearsDisabled))}),(function(e,n){var t=n.component;e(n,4,0,t.prevYearsDisabled),e(n,11,0,t.nextYearsDisabled)}))}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,[[1,0],["selectorEl",1]],null,47,"div",[["class","selector"],["tabindex","0"]],null,[[null,"keyup"]],(function(e,n,t){var l=!0;return"keyup"===n&&(l=!1!==e.component.onCloseSelector(t)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{inlinedp:0,alignselectorright:1,selectorarrow:2,selectorarrowleft:3,selectorarrowright:4}),l["ɵdid"](3,278528,null,0,o.NgStyle,[l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngStyle:[0,"ngStyle"]},null),l["ɵpod"](4,{width:0,height:1,bottom:2}),l["ɵdid"](5,4210688,null,0,i.a,[l.ElementRef,l.Renderer],{value:[0,"value"]},null),(e()(),l["ɵeld"](6,0,null,null,35,"table",[["class","header"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,34,"tbody",[],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,33,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,14,"td",[],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,13,"div",[["style","float:left"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,3,"div",[["class","headerbtncell"]],null,null,null,null,null)),(e()(),l["ɵeld"](12,0,null,null,2,"button",[["class","headerbtn mydpicon icon-mydpleft"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onPrevMonth()&&l),l}),null,null)),l["ɵdid"](13,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](14,{headerbtnenabled:0,headerbtndisabled:1}),(e()(),l["ɵeld"](15,0,null,null,4,"div",[["class","headermonthtxt"]],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,3,"button",[["class","headerlabelbtn"],["type","button"]],[[8,"tabIndex",0]],[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==(o.opts.monthSelector&&o.onSelectMonthClicked(t))&&l),l}),null,null)),l["ɵdid"](17,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](18,{monthlabel:0}),(e()(),l["ɵted"](19,null,["",""])),(e()(),l["ɵeld"](20,0,null,null,3,"div",[["class","headerbtncell"]],null,null,null,null,null)),(e()(),l["ɵeld"](21,0,null,null,2,"button",[["class","headerbtn mydpicon icon-mydpright"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onNextMonth()&&l),l}),null,null)),l["ɵdid"](22,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](23,{headerbtnenabled:0,headerbtndisabled:1}),(e()(),l["ɵeld"](24,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](26,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](27,0,null,null,14,"td",[],null,null,null,null,null)),(e()(),l["ɵeld"](28,0,null,null,13,"div",[["style","float:right"]],null,null,null,null,null)),(e()(),l["ɵeld"](29,0,null,null,3,"div",[["class","headerbtncell"]],null,null,null,null,null)),(e()(),l["ɵeld"](30,0,null,null,2,"button",[["class","headerbtn mydpicon icon-mydpleft"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onPrevYear()&&l),l}),null,null)),l["ɵdid"](31,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](32,{headerbtnenabled:0,headerbtndisabled:1}),(e()(),l["ɵeld"](33,0,null,null,4,"div",[["class","headeryeartxt"]],null,null,null,null,null)),(e()(),l["ɵeld"](34,0,null,null,3,"button",[["class","headerlabelbtn"],["type","button"]],[[8,"tabIndex",0]],[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==(o.opts.yearSelector&&o.onSelectYearClicked(t))&&l),l}),null,null)),l["ɵdid"](35,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](36,{yearlabel:0}),(e()(),l["ɵted"](37,null,["",""])),(e()(),l["ɵeld"](38,0,null,null,3,"div",[["class","headerbtncell"]],null,null,null,null,null)),(e()(),l["ɵeld"](39,0,null,null,2,"button",[["class","headerbtn mydpicon icon-mydpright"],["type","button"]],[[1,"aria-label",0],[8,"disabled",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onNextYear()&&l),l}),null,null)),l["ɵdid"](40,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](41,{headerbtnenabled:0,headerbtndisabled:1}),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](43,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](45,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](47,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,1,0,"selector",e(n,2,0,t.opts.inline,t.opts.alignSelectorRight,t.opts.showSelectorArrow&&!t.opts.inline,t.opts.showSelectorArrow&&!t.opts.alignSelectorRight&&!t.opts.inline,t.opts.showSelectorArrow&&t.opts.alignSelectorRight&&!t.opts.inline)),e(n,3,0,e(n,4,0,t.opts.selectorWidth,t.opts.selectorHeight,t.getSelectorTopPosition())),e(n,5,0,t.opts.inline?"0":"1"),e(n,13,0,"headerbtn mydpicon icon-mydpleft",e(n,14,0,!t.prevMonthDisabled,t.prevMonthDisabled)),e(n,17,0,"headerlabelbtn",e(n,18,0,t.opts.monthSelector)),e(n,22,0,"headerbtn mydpicon icon-mydpright",e(n,23,0,!t.nextMonthDisabled,t.nextMonthDisabled)),e(n,26,0,t.opts.showTodayBtn),e(n,31,0,"headerbtn mydpicon icon-mydpleft",e(n,32,0,!t.prevYearDisabled,t.prevYearDisabled)),e(n,35,0,"headerlabelbtn",e(n,36,0,t.opts.yearSelector)),e(n,40,0,"headerbtn mydpicon icon-mydpright",e(n,41,0,!t.nextYearDisabled,t.nextYearDisabled)),e(n,43,0,!t.selectMonth&&!t.selectYear),e(n,45,0,t.selectMonth),e(n,47,0,t.selectYear)}),(function(e,n){var t=n.component;e(n,12,0,t.opts.ariaLabelPrevMonth,t.prevMonthDisabled),e(n,16,0,l["ɵinlineInterpolate"](1,"",t.opts.monthSelector?"0":"-1","")),e(n,19,0,t.visibleMonth.monthTxt),e(n,21,0,t.opts.ariaLabelNextMonth,t.nextMonthDisabled),e(n,30,0,t.opts.ariaLabelPrevYear,t.prevYearDisabled),e(n,34,0,l["ɵinlineInterpolate"](1,"",t.opts.yearSelector?"0":"-1","")),e(n,37,0,t.visibleMonth.year),e(n,39,0,t.opts.ariaLabelNextYear,t.nextYearDisabled)}))}function P(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{selectorEl:0}),l["ɵqud"](671088640,2,{inputBoxEl:0}),(e()(),l["ɵeld"](2,0,null,null,6,"div",[["class","mydp"]],null,null,null,null,null)),l["ɵdid"](3,278528,null,0,o.NgStyle,[l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngStyle:[0,"ngStyle"]},null),l["ɵpod"](4,{width:0,border:1}),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](8,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,3,0,e(n,4,0,t.opts.showInputField?t.opts.width:null,t.opts.inline?"none":null)),e(n,6,0,!t.opts.inline),e(n,8,0,t.showSelector||t.opts.inline)}),null)}},,function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(9),o=(t(17),t(24),t(36),t(11),t(15),function(){function e(e,n,t,l,o,r){this.http=e,this.loanService=n,this.httpProvider=t,this.winRef=l,this.configService=o,this.journeyService=r}return e.prototype.getToken=function(){return this.http.get("/register/").pipe(Object(l.a)((function(e){return(new DOMParser).parseFromString(e._body,"text/html").querySelector('input[name="csrfmiddlewaretoken"]').value})))},e.prototype.registerUser=function(e){var n=this;return this.http.post("/api/token-auth/",e).pipe(Object(l.a)((function(e){return n.setToken(e.token),"leeplenders"!==n.journeyService.currentJourney&&n.http.get("/api/"+n.journeyService.currentJourney+"/conversations/").subscribe((function(e){e&&localStorage.setItem("conversations",JSON.stringify(e))})),e.token})))},e.prototype.loginWithUsernamePassword=function(e){var n=this;return this.http.post("/api/token-auth/",e).pipe(Object(l.a)((function(e){return e.error?null:(n.setToken(e.token),e.token)})))},e.prototype.saveTempLoan=function(){if(localStorage.getItem("tempLoanForm")&&localStorage.getItem("tempCurrentCountry")){var e=JSON.parse(localStorage.getItem("tempLoanForm")),n=localStorage.getItem("tempCurrentCountry");this.loanService.postAddress(e,n,(function(){localStorage.removeItem("tempLoanForm"),localStorage.removeItem("tempCurrentCountry")}))}},e.prototype.loginWithUsernamePasswordPromise=function(e){var n=this;return new Promise((function(t,l){var o=new XMLHttpRequest;o.open("POST",n.configService.api+"/api/token-auth/",!0),o.setRequestHeader("Content-type","application/json"),o.onreadystatechange=function(){if(4===o.readyState&&200===o.status){var e=JSON.parse(o.responseText);n.setToken(e.token),"leeplenders"!==n.journeyService.currentJourney&&n.http.get("/api/"+n.journeyService.currentJourney+"/conversations/").subscribe((function(e){e&&localStorage.setItem("conversations",JSON.stringify(e))})),t(e.token)}else l(o.responseText)};var r=JSON.stringify(e);o.send(r)}))},e.prototype.setToken=function(e){e?this.winRef.nativeWindow.localStorage.setItem("Token",e):this.winRef.nativeWindow.localStorage.removeItem("Token")},e.prototype.activatePartner=function(e){var n=this;return this.http.get("/api/partner/activate/"+e+"/").pipe(Object(l.a)((function(e){if(e.error)throw new Error(e.error);return n.setToken(e.token),e.token})))},e}())},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){this.backColor="#ff6500",this.isProcess=!1,this.top="15%",this.isRelative=!0}return e.prototype.ngOnInit=function(){},e}()},function(e,n,t){"use strict";var l=t(3),o=t(0),r=(t(11),t(231)),i=(t(355),t(199)),a=t(153),u=t.n(a),s=t(357),d=t.n(s);function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1];"string"==typeof n&&(n="^(?:"+n+")$");var t=e.match(n);return t&&t[0].length===e.length}function p(e){return e[0]}function f(e){return e[1]}function g(e){return e[8]}function h(e){return e[0]}function m(e){return e[1]}function v(e){return e[2]||[]}function b(e,n){return e[3]||function(e){return e[4]}(n)}function _(e,n){return e[4]||function(e){return e[7]}(n)}function y(e){return"$1"!==e&&/\d/.test(e.replace("$1",""))}function w(e){return e[5]||m(e)}function C(e,n){return n.countries[n.country_phone_code_to_countries[e][0]]}function x(e){return e[9]}function O(e,n){return x(e)?x(e)[n]:void 0}function M(e){return O(e,1)}var k=/(\$\d)/;function A(e,n,t,l,o){var r=new RegExp(h(n)),i=b(n,o),a=!i||i&&_(n,o)&&!l;if(!t&&!a)return e.replace(r,m(n).replace(k,i));var u=e.replace(r,t?w(n):m(n));return t?P(u):u}function P(e){return e.replace(new RegExp("["+I+"]+","g")," ").trim()}function S(e,n,t){var l=function(e,n,t){var l=void 0,o=void 0;return"number"==typeof e&&(e=String(e)),"string"==typeof e?"string"==typeof n||void 0===n?(o=t,j(e)&&(l=q(e,n,o))):(o=n,j(e)&&(l=q(e,o))):(e&&e.phone&&j(e.phone)&&(l=e),o=n),{input:l,metadata:o}}(e,n,t),o=l.input,r=l.metadata;if(!r)throw new Error("Metadata not passed");if(o&&o.country){var i=o.phone,a=r.countries[o.country];if(R(i,f(a)))return R(i,function(e){return O(e,3)}(a))?"PREMIUM_RATE":R(i,function(e){return O(e,2)}(a))?"TOLL_FREE":R(i,function(e){return O(e,9)}(a))?"SHARED_COST":R(i,function(e){return O(e,8)}(a))?"VOIP":R(i,function(e){return O(e,4)}(a))?"PERSONAL_NUMBER":R(i,function(e){return O(e,7)}(a))?"PAGER":R(i,function(e){return O(e,6)}(a))?"UAN":R(i,function(e){return O(e,5)}(a))?"VOICEMAIL":R(i,function(e){return O(e,0)}(a))?M(a)?R(i,M(a))?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE":R(i,M(a))?"MOBILE":void 0}}function R(e,n){return c(e,n)}var I="-‐-―−ー-//..  ­​⁠ ()()[]\\[\\]~⁓∼~",E=new RegExp("^[0-90-9٠-٩۰-۹]{"+F+"}$|^[++]{0,1}(?:["+I+"]*[0-90-9٠-٩۰-۹]){3,}["+I+"0-90-9٠-٩۰-۹]*$","i"),N=new RegExp("[++0-90-9٠-٩۰-۹]"),T=new RegExp("[^0-90-9٠-٩۰-۹]+$"),D=new RegExp("^[++]+"),V={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},F=2,L={country:{}};function q(e,n,t){var l=function(e,n,t){var l=void 0,o=void 0,r=void 0;if("number"==typeof e&&(e=String(e)),"string"==typeof e&&(l=e),"string"==typeof n){var i=n;o=d()({},L,{country:{restrict:i}}),r=t}else n&&n.countries?r=n:(o=n,r=t);if(!r)throw new Error("Metadata not passed");return{text:l,options:o,metadata:r}}(e,n,t),o=l.text,r=l.options,i=l.metadata;if(r||(r=d()({},L)),r.country.default&&!i.countries[r.country.default])throw new Error("Unknown country code: "+r.country.default);if(r.country.restrict&&!i.countries[r.country.restrict])throw new Error("Unknown country code: "+r.country.restrict);var a=$(o);if(!j(a))return{};var u=G(a,i),s=u.country_phone_code,g=u.number;if(!g)return{};var h=void 0,m=void 0;if(s){if(r.country.restrict&&s!==p(i.countries[r.country.restrict]))return{};m=C(s,i)}else(r.country.restrict||r.country.default)&&(m=i.countries[h=r.country.restrict||r.country.default],g=B(o));if(!m)return{};var v=z(g,m);if(!h){if(!(h=W(s,v,i)))return{};m=i.countries[h]}return v.length>17?{}:c(v,new RegExp(f(m)))?{country:h,phone:v}:{}}function B(e){return function(e,n){var t="",l=!0,o=!1,r=void 0;try{for(var i,a=u()(e);!(l=(i=a.next()).done);l=!0){var s=n[i.value.toUpperCase()];void 0!==s&&(t+=s)}}catch(e){o=!0,r=e}finally{try{!l&&a.return&&a.return()}finally{if(o)throw r}}return t}(e,V)}function j(e){return e.length>=F&&c(e,E)}function $(e){if(!e||e.length>250)return"";var n=e.search(N);return n<0?"":e.slice(n).replace(T,"")}function U(e){if(!e)return"";var n=D.test(e);return e=B(e),n?"+"+e:e}function G(e,n){if(!(e=U(e)))return{};if("+"!==e[0])return{number:e};if("0"===(e=e.slice(1))[0])return{};for(var t=1;t<=3&&t<=e.length;){var l=e.slice(0,t);if(n.country_phone_code_to_countries[l])return{country_phone_code:l,number:e.slice(t)};t++}return{}}function z(e,n){var t=function(e){var n=e[5];return n||(n=function(e){return e[3]}(e)),n}(n);if(!e||!t)return e;var l=new RegExp("^(?:"+t+")"),o=l.exec(e);if(!o)return e;var r,i=o[o.length-1],a=function(e){return e[6]}(n);r=a&&i?e.replace(l,a):e.slice(o[0].length);var u=new RegExp(f(n));return c(e,u)&&!c(r,u)?e:r}function W(e,n,t){var l=t.country_phone_code_to_countries[e];if(1===l.length)return l[0];var o=!0,r=!1,i=void 0;try{for(var a,s=u()(l);!(o=(a=s.next()).done);o=!0){var d=a.value,c=t.countries[d];if(g(c)){if(n&&0===n.search(g(c)))return d}else if(S({phone:n,country:d},t))return d}}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}}var H=t(553),Y=t.n(H),K=t(554),J=t.n(K),Q=new RegExp("9","g"),Z=ae("9",15),X=new RegExp("x"),ee=new RegExp("x","g"),ne=/\[([^\[\]])*\]/g,te=/\d(?=[^,}][^,}])/g,le=new RegExp("^["+I+"]*(\\$\\d["+I+"]*)+$"),oe=new RegExp("^[++]{0,1}["+I+"0-90-9٠-٩۰-۹]*$","i"),re=function(){function e(n,t){if(Y()(this,e),!t)throw new Error("Metadata not passed");n&&t.countries[n]&&(this.default_country=n),this.metadata=t,this.reset()}return J()(e,[{key:"input",value:function(e){var n=$(e);return n||e&&e.indexOf("+")>=0&&(n="+"),c(n,oe)?this.process_input(U(n)):this.current_output}},{key:"process_input",value:function(e){if("+"===e[0]&&(this.parsed_input||(this.parsed_input+="+",this.reset_countriness()),e=e.slice(1)),this.parsed_input+=e,this.national_number+=e,this.is_international())if(this.country_phone_code)this.country||this.determine_the_country();else{if(!this.extract_country_phone_code())return this.parsed_input;this.initialize_phone_number_formats_for_this_country_phone_code(),this.reset_format(),this.determine_the_country()}else{var n=this.national_prefix;this.national_number=this.national_prefix+this.national_number,this.extract_national_prefix(),this.national_prefix!==n&&(this.matching_formats=this.available_formats,this.reset_format())}if(!this.should_format())return this.format_as_non_formatted_number();this.match_formats_by_leading_digits();var t=this.format_national_phone_number(e);return t?this.full_phone_number(t):this.parsed_input}},{key:"format_as_non_formatted_number",value:function(){return this.is_international()&&this.country_phone_code?this.national_number?(this.template="x"+ae("x",this.country_phone_code.length)+" "+ae("x",this.national_number.length),"+"+this.country_phone_code+" "+this.national_number):"+"+this.country_phone_code:this.parsed_input}},{key:"format_national_phone_number",value:function(e){var n=void 0;return this.chosen_format&&(n=this.format_next_national_number_digits(e)),this.attempt_to_format_complete_phone_number()||(this.choose_another_format()?this.reformat_national_number():n)}},{key:"reset",value:function(){return this.parsed_input="",this.current_output="",this.national_prefix="",this.national_number="",this.reset_countriness(),this.reset_format(),this}},{key:"reset_country",value:function(){this.country=this.default_country&&!this.is_international()?this.default_country:void 0}},{key:"reset_countriness",value:function(){this.reset_country(),this.default_country&&!this.is_international()?(this.country_metadata=this.metadata.countries[this.default_country],this.country_phone_code=p(this.country_metadata),this.initialize_phone_number_formats_for_this_country_phone_code()):(this.country_metadata=void 0,this.country_phone_code=void 0,this.available_formats=[],this.matching_formats=this.available_formats)}},{key:"reset_format",value:function(){this.chosen_format=void 0,this.template=void 0,this.partially_populated_template=void 0,this.last_match_position=-1}},{key:"reformat_national_number",value:function(){return this.format_next_national_number_digits(this.national_number)}},{key:"initialize_phone_number_formats_for_this_country_phone_code",value:function(){var e;this.available_formats=(e=this.country_metadata,e[2]||[]).filter((function(e){return le.test(w(e))})),this.matching_formats=this.available_formats}},{key:"match_formats_by_leading_digits",value:function(){var e=this.national_number,n=e.length-3;n<0&&(n=0),this.matching_formats=this.matching_formats.filter((function(t){var l=v(t).length;if(0===l)return!0;var o=Math.min(n,l-1),r=v(t)[o];return new RegExp("^("+r+")").test(e)})),this.chosen_format&&-1===this.matching_formats.indexOf(this.chosen_format)&&this.reset_format()}},{key:"should_format",value:function(){return this.national_number>=3}},{key:"attempt_to_format_complete_phone_number",value:function(){var e=!0,n=!1,t=void 0;try{for(var l,o=u()(this.matching_formats);!(e=(l=o.next()).done);e=!0){var r=l.value;if(new RegExp("^(?:"+h(r)+")$").test(this.national_number)&&this.validate_format(r)){this.reset_format(),this.chosen_format=r;var i=A(this.national_number,r,this.is_international(),this.national_prefix.length>0,this.country_metadata);if(this.create_formatting_template(r))this.reformat_national_number();else{var a=this.full_phone_number(i);this.template=a.replace(/[\d\+]/g,"x"),this.partially_populated_template=a}return i}}}catch(e){n=!0,t=e}finally{try{!e&&o.return&&o.return()}finally{if(n)throw t}}}},{key:"full_phone_number",value:function(e){return this.is_international()?"+"+this.country_phone_code+" "+e:e}},{key:"extract_country_phone_code",value:function(){if(this.national_number){var e=G(this.parsed_input,this.metadata),n=e.country_phone_code,t=e.number;if(n)return this.country_phone_code=n,this.national_number=t,this.country_metadata=C(n,this.metadata)}}},{key:"extract_national_prefix",value:function(){if(this.national_prefix="",this.country_metadata){var e=z(this.national_number,this.country_metadata);return e!==this.national_number&&(this.national_prefix=this.national_number.slice(0,this.national_number.length-e.length),this.national_number=e),this.national_prefix}}},{key:"choose_another_format",value:function(){var e=!0,n=!1,t=void 0;try{for(var l,o=u()(this.matching_formats);!(e=(l=o.next()).done);e=!0){var r=l.value;if(this.chosen_format===r)return;if(this.validate_format(r)&&this.create_formatting_template(r))return this.chosen_format=r,this.last_match_position=-1,!0}}catch(e){n=!0,t=e}finally{try{!e&&o.return&&o.return()}finally{if(n)throw t}}this.reset_country(),this.reset_format()}},{key:"validate_format",value:function(e){var n,t,l;if(this.is_international()||this.national_prefix||!(l=b(n=e,t=this.country_metadata))||!y(l)||_(n,t))return!0}},{key:"create_formatting_template",value:function(e){if(!(h(e).indexOf("|")>=0)){var n=this.get_template_for_phone_number_format_pattern(e);if(n)return this.partially_populated_template=n,this.template=this.is_international()?"x"+ae("x",this.country_phone_code.length)+" "+n:n.replace(/\d/g,"x"),this.template}}},{key:"get_template_for_phone_number_format_pattern",value:function(e){var n=b(e,this.country_metadata),t=h(e).replace(ne,"\\d").replace(te,"\\d"),l=Z.match(t)[0];if(!(this.national_number.length>l.length)){var o=this.get_format_format(e,n),r=new RegExp("^"+t+"$"),i=this.national_number.replace(/\d/g,"9");return r.test(i)&&(l=i),l.replace(new RegExp(t),o).replace(Q,"x")}}},{key:"format_next_national_number_digits",value:function(e){var n=!0,t=!1,l=void 0;try{for(var o,r=u()(e);!(n=(o=r.next()).done);n=!0){var i=o.value;if(-1===this.partially_populated_template.slice(this.last_match_position+1).search(X))return this.chosen_format=void 0,this.template=void 0,void(this.partially_populated_template=void 0);this.last_match_position=this.partially_populated_template.search(X),this.partially_populated_template=this.partially_populated_template.replace(X,i)}}catch(e){t=!0,l=e}finally{try{!n&&r.return&&r.return()}finally{if(t)throw l}}return function(e,n){for(var t=e.slice(0,n),l=ie("(",t)-ie(")",t);l>0&&n1;)1&n&&(t+=e),n>>=1,e+=e;return t+e}function ue(e){re.call(this,e,i)}function se(e){re.call(this,e,i)}(ue.prototype=Object.create(re.prototype,{})).constructor=ue,(se.prototype=Object.create(re.prototype,{})).constructor=se,t.d(n,"a",(function(){return ce}));var de=0,ce=function(e){function n(n,t,l,r){var i=e.call(this,n,t)||this;return i.configService=l,i.el=r,i.$blur=new o.EventEmitter,i.identifier="phone-input-"+de++,i.innerModel={phone:""},i._isFocused=!1,i.telephoneMask=l.telephoneMask,i}return Object(l.d)(n,e),Object.defineProperty(n.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isFilled",{get:function(){return!!this.value},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var e=this.telInput.phone;e&&(this.value=e.replace(/_/g,""))},n.prototype.writeValue=function(e){var n=function(){var e=Array.prototype.slice.call(arguments);return e.push(i),q.apply(this,e)}(e);n.country?(this.telInput.country=n.country,this.telInput.phone=n.phone,this.innerModel.phone=n.phone.toString()):(this.innerModel.phone=e,this.telInput.phone=e)},n.prototype.onChangeCountry=function(e){this.value=e.replace(/_/g,"")},n.prototype.blur=function(){this.touch(),this.$blur.emit({srcElement:{name:this.formControlName}}),this._isFocused=!1},n.prototype.onChange=function(e){this.value=this.telInput.phone.replace(/_/g,"")},n.prototype.getNumberMaskWithoutSeparat=function(e){var n=[];return n.length=e,n.fill(/\d/,0),n},n.prototype.onFocus=function(e){this._isFocused=!0},n}(r.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){}return e.keyboardSymbols="*@&:%.,_+~#=)(}{!$`^\\-'\"\\\\|/",e.latinLetters="a-zA-Z",e.cyrillicsLetters="а-яА-ЯёЁ",e.latDas=e.latinLetters+(e.digitsAndSpaceSymbol="\\d "),e.spacesNegativeLookahead="(?!\\s*$)",e}()},,function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(3),o=function(e){function n(n,t){var l=e.call(this,n,t)||this;return l.ticks=[],l.side="left",l.isDisabled=!1,l.showPlaceholder=!1,l.isTouched=!1,l}return Object(l.d)(n,e),n.prototype.ngOnInit=function(){if(!this.dropdownOptions||0===this.dropdownOptions.length)throw new Error("dropdownOptions not implemented.")},n.prototype.writeValue=function(e){this.innerValue=e,this.currentItem=this.dropdownOptions.find((function(n){return n.value===e}))},n.prototype.change=function(e){this.value=e,this.currentItem=this.dropdownOptions.find((function(n){return n.value===e}))},n.prototype.onClick=function(e){this.isTouched=!0,this.touch()},n}(t(231).a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(28),o=t(46),r=t(287);function i(e,n){return new l.a(n?function(t){var l=new o.a,r=0;return l.add(n.schedule((function(){r!==e.length?(t.next(e[r++]),t.closed||l.add(this.schedule())):t.complete()}))),l}:Object(r.a)(e))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(0),o=(t(24),t(15),t(62)),r=t(63),i=function(){function e(e,n){this.httpService=e,this.journeyService=n,this.$chartChanged=new l.EventEmitter,this.$chartDataChanged=new l.EventEmitter}return e.prototype.getHotData=function(){var e=this;return this.httpService.post("/api/"+this.journeyService.currentJourney+"/hot/",{}).pipe(Object(o.a)((function(e){return!e.error})),Object(r.a)((function(n){n.forEach((function(e){e.count=+e.count,e.rate=+e.rate}));var t=n.map((function(e){return parseFloat(e.rate)}));e.$chartChanged.emit({min:Math.min.apply(null,t),max:Math.max.apply(null,t),count:n.reduce((function(e,n){return e+n.count}),0)})})))},e.prototype.getHotDataByParams=function(e){var n=this;return this.httpService.post("/api/"+this.journeyService.currentJourney+"/hot/",e).pipe(Object(r.a)((function(e){e.forEach((function(e){e.count=+e.count,e.rate=+e.rate})),n.$chartDataChanged.emit(e)})))},e.prototype.onHotDataByParamsChanged=function(){return this.$chartDataChanged.asObservable()},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t(33),t(17),t(36),t(19),t(34);var l=t(86),o=t(2),r=(t(24),t(22),t(35)),i=(t(15),function(){function e(e,n,t,o,r,i,a,u,s,d,c,p,f){this._locale=e,this.loanService=n,this.route=t,this.httpService=o,this.leftBar=r,this.winRef=i,this.router=a,this.userService=u,this.globalPreloaderService=s,this.messageService=d,this.sideBar=c,this.journeyService=p,this.cdr=f,this.loans=[],this.filtredloans=[],this.chatOpened=!1,this.oipSections=[],this.oipSectionsStates=[],this.isAlone=!0,this.conversationType=l.a.LoanRequestConversation,this.isWorkingLoanRequest=!1}return e.prototype.ngOnInit=function(){var e=this;this.route.data.subscribe((function(n){e.selectedOffer=null;for(var t="",l=e.router.url.length-1;l>=0;l--){var o=e.router.url[l];if("/"===o)break;t=o+t}switch(e.isAlone=!0,t){case"to-be-preaccepted":e.title="Your 'Incoming loans'";break;case"to-be-submitted":e.title="Your 'Loan Enquiries'";break;case"to-be-accepted":e.title="Your 'To Be Accepted' loans";break;case"in-progress":e.title="Your 'In Progress' loans";break;case"active":e.title="Your 'Active' loans"}e.loans=n.loans,e.filtredloans=e.loans,0===e.loans.length&&e.router.navigate("brokers"===e.journeyService.currentJourney?["../","onboarding"]:"borrowers"===e.journeyService.currentJourney?["/","borrowers","onboarding"]:"bdp"===e.journeyService.currentJourney?["/","bdp","onboarding"]:"flowaffiliate"===e.journeyService.currentJourney?["/","flowaffiliate","onboarding"]:["../../"],{relativeTo:e.route}),"to-be-preaccepted"!==t&&"to-be-accepted"!==t&&"to-be-submitted"!==t||"lenders"===e.journeyService.currentJourney?(e.offersSubscriber&&e.offersSubscriber.unsubscribe(),e.globalPreloaderService.setStatus(!1)):(e.offersSubscriber&&e.offersSubscriber.unsubscribe(),e.offersSubscriber=e.sideBar.onOffersCountChanged().subscribe((function(n){e.loanService.getOffersByLoanIds(n).subscribe((function(t){n.forEach((function(n,l){var o=e.loans.find((function(e){return e.id===n}));o&&(o.loan_offers=t[l])})),e.cdr.markForCheck(),e.globalPreloaderService.setStatus(!1)}),(function(n){return e.globalPreloaderService.setStatus(!1)}))})),e.globalPreloaderService.setStatus(!1)),e.cdr.markForCheck()})),this.user=this.userService.restore(),this.currentConversationId=this.messageService.initConversation(l.a.LoanRequestConversation);var n=this.user?this.user:this.userService.getAnonymUser();this.userAvatarUrl=n.avatar,this.userId=n.id},e.prototype.ngAfterViewInit=function(){this.winRef.nativeWindow.innerWidth<763&&this.leftBar.toggleOnlyOnLow(!1)},e.prototype.ngOnDestroy=function(){this.cdr.detach()},e.prototype.toggleChat=function(e){this.chatOpened=null!=e?e:!this.chatOpened},e.prototype.openMenu=function(){this.leftBar.toggle()},e.prototype.openLoan=function(e){var n=this;this.selectedLoan=e,this.loanService.getOIPById(e.id).subscribe((function(e){n.oipSections=e,n.oipSectionsStates=new Array(e.length),n.oipSectionsStates.fill(!1),n.oipSectionsStates[0]=!0}))},e.prototype.acceptOIP=function(){var e=this;this.messageService.initConversation(l.a.ProjectConversation),this.selectedLoan.loan_is_active=!0,this.selectedLoan.stage=r.a[r.a.offer_in_principle],this.selectedLoan.selectedOffer=this.selectedOffer.id,this.loanService.acceptOIP(this.selectedOffer.id).subscribe((function(n){e.loans=e.loans.filter((function(n){return n.id!=e.selectedLoan.id})).slice(),e.selectedLoan=null,e.selectedOffer=null}))},e.prototype.checkAlone=function(){return this.isAlone},e.prototype.isCollectingOffers=function(){return location.hash.indexOf("to-be-accepted")>-1||location.hash.indexOf("to-be-submitted")>-1||location.hash.indexOf("to-be-preaccepted")>-1},e.prototype.activateOffer=function(e){"brokers"!==this.journeyService.currentJourney&&"bdp"!==this.journeyService.currentJourney&&"flowaffiliate"!==this.journeyService.currentJourney||(this.loanService.selectedLoan=e.loan,this.router.navigate(["../../onboarding",e.loan.id,"offers"],{relativeTo:this.route}))},e.prototype.getStrDate=function(e){var n=new o.DatePipe(this._locale),t=n.transform(new Date,"dd MMMM"),l=n.transform(e,"dd MMMM")===t?"h:mm a":"dd MMMM";return n.transform(e.toString(),l)},e.prototype.selectLoan=function(e){"brokers"!==this.journeyService.currentJourney&&"bdp"!==this.journeyService.currentJourney&&"flowaffiliate"!==this.journeyService.currentJourney||(this.httpService.closeAllConnection(),location.hash.indexOf("to-be-submitted")>=0||location.hash.indexOf("to-be-preaccepted")>=0?this.router.navigate(["../../onboarding",e.id],{relativeTo:this.route}):this.router.navigate(["../../deal",e.id],{relativeTo:this.route}))},e.prototype.filterLoans=function(e){e||(this.filtredloans=this.loanService.Loans),this.filtredloans=this.loanService.Loans.filter((function(n){return JSON.stringify(n.address).toLowerCase().indexOf(e.toLowerCase())>=0}))},e.prototype.downloadNextLoans=function(e){var n=this;if(e.currentTarget.scrollHeight-e.currentTarget.clientHeight-e.currentTarget.scrollTop<300&&this.filtredloans.length1&&(e.selectedOffer=e.selectedLoan.loan_offers.find((function(e){return e===+t}))),e.changeActiveConversationAndHtml()})),this.globalPreloaderService.setStatus(!1)},e.prototype.onChangeTab=function(e,n){e.stopImmediatePropagation(),this.selectedOffer=n,this.changeActiveConversationAndHtml()},e.prototype.acceptOIP=function(){var e=this;this.messageService.initConversation(l.a.ProjectConversation),this.selectedLoan.loan_is_active=!0,this.selectedLoan.stage=o.a[o.a.offer_in_principle],this.selectedLoan.selectedOffer=this.selectedOffer.id,this.loanService.acceptOIP(this.selectedOffer.id).subscribe((function(n){e.router.navigate(["/","brokers","deal",e.selectedLoan.id])}))},e.prototype.openPdf=function(){this.selectedOffer.file_name&&this.fileService.downloadOfferPDF(this.selectedOffer.file_name).subscribe((function(e){var n=URL.createObjectURL(e);"application/pdf"===e.type&&window.open(n)}))},e.prototype.changeActiveConversationAndHtml=function(){var e=this;this.selectedLoan.loan_offers.forEach((function(n){n.id===e.selectedOffer.id&&(e.selectedOffer=n,e.loanService.getOIPById(e.selectedOffer.id).subscribe((function(n){if(n.length>0){var t=document.createElement("iframe");e.offerContent.nativeElement.innerHTML="",e.offerContent.nativeElement.appendChild(t);var l=t.contentDocument;l.open(),l.write(n[0]),l.close()}e.globalPreloaderService.setStatus(!1)}),(function(n){e.globalPreloaderService.setStatus(!1)}))),n.selected=n.id===e.selectedOffer.offerId}))},e}())},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return c})),t(163),t(164),t(33);var l=t(1),o=(t(53),t(36),t(145)),r=(t(11),t(17),t(34),t(121)),i=t.n(r),a=(t(22),t(20),t(98),t(94)),u=t(25),s=t(9),d=(t(44),t(174),t(108),t(4),t(49),t(91),t(19),t(15),function(){return(d=Object.assign||function(e){for(var n,t=1,l=arguments.length;t
'+e.en_short_name+"
";return w._sanitizer.bypassSecurityTrustHtml(n)},this.isBorrowerEdited=!1,this.emailPattern=y.validation.emailPattern,this.createForm(),this.minDate=new Date,this.maxDate=new Date,this.minDate.setFullYear(this.minDate.getFullYear()-85),this.maxDate.setFullYear(this.maxDate.getFullYear()-18),new Date;var C=(new Date).getFullYear(),x=["January","February","March","April","May","June","July","August","September","October","November","December"];this.date={years:Array(67).fill((function(e,n){return C-n-18})).map((function(e,n){return C-n-18})),month:Array(12).fill((function(e,n){return n})).map((function(e,n){return x[n]})),days:Array(31).fill((function(e,n){return n})).map((function(e,n){return n+1}))},this.currencyFormater=this.supportService.currencyFormater,this.telephoneMask=y.telephoneMask,this.lenderChartObservable=this.chartService.onHotDataByParamsChanged()}return Object.defineProperty(n.prototype,"setAddressComp",{set:function(e){if(this.isAnonymousUser){var n=this.winRef.nativeWindow.localStorage.getItem("address_id");if(n){var t=this.winRef.nativeWindow.localStorage.getItem("address").split(", ");if(t.length<4)return this.winRef.nativeWindow.localStorage.removeItem("address"),void this.winRef.nativeWindow.localStorage.removeItem("address_id");t.pop();var l={Cursor:0,Description:"",Highlight:"",Id:n,Next:"Retrieve",Text:t.join(", ")};this.winRef.nativeWindow.localStorage.removeItem("address"),this.winRef.nativeWindow.localStorage.removeItem("address_id"),e.onValueChange(l)}}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"setModels",{set:function(e){this.models=e.toArray().map((function(e){return{elRef:e.el.nativeElement,ngModel:e.ngModel}}))},enumerable:!0,configurable:!0}),n.prototype.createForm=function(){this.model={loan_request_loan_amount:"",loan_request_duration:"",asset_type:"",property_loan_location:"",loan_request_estimated_value:"",property_size:"",property_number_of_bedrooms:"",property_number_of_bathrooms:"",property_ownership:"",not_homeowner_occupied:"",first_charge:"",loan_purpose_selected:"",loan_request_exit_strategy:"",loan_repayment_method:"",borrower_gender:"",borrower_first_name:"",borrower_last_name:"",borrower_birth_date:"",borrower_phone_number:"",broker_phone:"",borrower_address_paon:"",borrower_address_saon:"",borrower_address_street:"",borrower_address_city:"",borrower_address_postcode:"",borrower_address_country:"",current_address_paon:"",current_address_saon:"",current_address_street:"",current_address_city:"",current_address_postcode:"",current_address_country:"United Kingdom",day:"",month:"",year:"",borrower_type:"",legal_entity_name:"",company_number:"",company_website:"",country_of_incorporation:"",formation_date:"",corp_address_paon:"",corp_address_saon:"",corp_address_street:"",corp_address_city:"",corp_address_postcode:"",corp_address_country:""}},n.prototype.ngOnInit=function(){var e=this,n=t(239),l=n.find((function(e){return"826"===e.num_code}));if(this.nationalities=n.slice(),l){l.en_short_name="United Kingdom";var r=this.nationalities.findIndex((function(e){return"826"===e.num_code}));this.nationalities.splice(r,1),this.nationalities.unshift(l)}this.form=this.ngForm.control;var i=this.winRef.nativeWindow.localStorage.getItem(this.tmpAnonymLoan);if(this.winRef.nativeWindow.localStorage.removeItem(this.tmpAnonymLoan),i){var a=this.userService.User.email,u=JSON.parse(i);u[a]&&(this.model=(u=u[a]).loan,this.currentPosition=u.currentPosition,this.propLocation=u.currentPosition,this.selectedPosition=u.selectedPosition,this.updateChart(null))}this.numberMaskWithoutSeparat=[/\d/,/\d/],this.loan=new o.a,this.leftBar.toggleOnlyOnLow(!1),this.getPercents(),this.currentCountry="uk",this.form.valueChanges.subscribe((function(n){e.getPercents()})),this.isAnonymousUser=!localStorage.getItem("Token"),this.activeRoute.data.subscribe((function(n){n.terms&&!n.terms.error&&(e.loan_request_duration_range=n.terms.range),n.loanAmount&&!n.loanAmount.error&&(e.ticks=["from "+e.cp.transform(n.loanAmount.range[0],"GBP",!0,"1.0-1"),"to "+e.cp.transform(n.loanAmount.range[1],"GBP",!0,"1.0-1")],e.loan_amount_range=n.loanAmount.range),e.globalPreloaderService.setStatus(!1)})),this.supportService.onTermsOpened().subscribe((function(n){e.stateTermsWindow=n?"large":"small"})),this.sendGTMEvent({event:"checkout",virtualPage:"/checkout/step2/",virtualTitle:"Anonymous - The Sort Form (Step 2)"})},n.prototype.openMenu=function(){this.leftBar.toggle()},n.prototype.getNumberMask=function(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=2),i()({prefix:"",thousandsSeparatorSymbol:",",suffix:"",integerLimit:e,allowDecimal:n,decimalLimit:t})},n.prototype.setPropertyLocation=function(e){this.selectedPosition=e.imgLocation,this.propLocation=e.propLocation},n.prototype.submit=function(e){var n=this,t=this.journeyService.currentJourney;if(this.form.invalid&&!this.isProcess||this.isBorrowerEdited){this.formSubmitted=!0;var o=this.models.find((function(e){return e.ngModel.invalid}));o&&(this.topOffset=this.lookingForScrollElRef(o.elRef)-46,setTimeout((function(){n.scrollService.changeScrollState("up")}),150))}else{var r=d({},this.form.value);if("H"!==r.loan_repayment_method&&delete r.repayment_periods_rolled,this.checkGoogleServiceError(e)){var i=r.current_address_paon+" "+r.current_address_street+", "+r.current_address_city+", "+r.current_address_postcode;r.current_address_saon&&(i=r.current_address_saon+", "+i),r.property_loan_location={city:r.current_address_city,country:"uk",town:r.current_address_city,route:r.current_address_street,streetNumber:r.current_address_paon,flat:r.current_address_saon,postalCode:r.current_address_postcode,address_line:i}}if(r.loan_request_drawdown_date=this.form.value.loan_request_drawdown_date.formatted,r.company_website=r.company_website?this.websiteProtocol+"://"+r.company_website:null,"brokers"===t?r.broker_accepted=!0:"bdp"===t?r.bdp_accepted=!0:"flowaffiliate"===t&&(r.flow_affiliate_accepted=!0),localStorage.getItem("Token")){var a=this.form.value.property_loan_location;this.selectedPosition?(this.selectedPosition.searched_address=a.searched_address,this.selectedPosition.result_count=a.result_count):this.selectedPosition={lat:null,lng:null,searched_address:a.searched_address,result_count:a.result_count},this.isProcess=!0,this.loanService.createNewLoan(r,this.numberFields,this.currentCountry,this.selectedPosition,this.propLocation).pipe(Object(u.a)((function(e){return n.chartService.getHotDataByParams({loan_amount:+e.newLoan.loan_request_loan_amount,loan_value:+e.newLoan.loan_request_estimated_value,loan_duration:e.newLoan.loan_request_duration,security_address:e.newProperty.address_obj.address_line,is_first_charge:e.newProperty.first_charge,is_owner_occupied:e.newProperty.not_homeowner_occupied,asset_type:e.newProperty.asset_type,loan_purpose_selected:e.newLoan.loan_purpose_selected,loan_repayment_method:e.newLoan.loan_repayment_method}).pipe(Object(s.a)((function(t){var l=t.map((function(e){return parseFloat(e.rate)})),o=(Math.min.apply(null,l),Math.max.apply(null,l),t.reduce((function(e,n){return e+n.count}),0),d({},e.newLoan));return o.isShowLoan=!0,o.notNeedAddress=!0,o.address=e.newProperty.address_obj,o.property=e.newProperty,o.borrower=e.borrower,o.secured_by_properties=[e.newProperty],o.secured_by_properties[0].property_images_from_google=e.newProperty.property_images_from_google,n.loanService.selectLoan(o,!1),e})))}))).subscribe((function(e){n.router.navigate(["../","loans","to-be-submitted"],{relativeTo:n.activeRoute}),n.isProcess=!1,(n.winRef.nativeWindow.dataLayer=n.winRef.nativeWindow.dataLayer||[]).push({event:"place_loan"});var t=n.winRef.nativeWindow.__adroll||null;try{t&&t.record_user({adroll_segments:"66a7055a"})}catch(e){}}),(function(e){e&&Object.keys(e).length>0&&(n.errors=d({},e)),n.isProcess=!1}))}else a=this.form.value.property_loan_location,this.selectedPosition?(this.selectedPosition.searched_address=a.searched_address,this.selectedPosition.result_count=a.result_count):this.selectedPosition={lat:null,lng:null,searched_address:a.searched_address,result_count:a.result_count},this.isProcess=!0,this.loanService.createNewLoanForAnonymous(r,this.numberFields,this.selectedPosition,this.propLocation).subscribe((function(e){n.isProcess=!1,n.winRef.nativeWindow.localStorage.removeItem(n.tmpAnonymLoan),n.sendGTMEvent({event:"checkout",virtualPage:"/checkout/step3/",virtualTitle:"Loan has been submitted successfully (Step 3)"});var t=n.winRef.nativeWindow.__adroll||null;try{t&&t.record_user({adroll_segments:"66a7055a"})}catch(e){}var l=n.cookieService.getAll();Object.keys(l).filter((function(e){return e.indexOf("utm_")>=0})).forEach((function(e){return n.cookieService.delete(e)})),n.authService.setToken(e.token),n.router.navigate(["/brokers/loans/to-be-submitted"])}),(function(e){n.isProcess=!1,e instanceof Object&&e.details&&Object.keys(e.details).forEach((function(e){var t,o;switch(e){case"username":case"email":n.email&&n.email instanceof l.NgModel&&n.email.control.setErrors(((t={})[e]="Sorry! This email address already exists. Please log in to submit your application",t));var r=((o={})[n.model.email]={loan:n.form.value,currentPosition:n.currentPosition,selectedPosition:n.selectedPosition},o);n.winRef.nativeWindow.localStorage.setItem(n.tmpAnonymLoan,JSON.stringify(r))}}))}))}},n.prototype.onEmailChanged=function(){this.errorsJSON&&delete this.errorsJSON.user},n.prototype.openTerms=function(e){e.stopPropagation(),/Android|iPhone/i.test(this.winRef.nativeWindow.navigator.userAgent)?this.showTerms=!this.showTerms:this.supportService.openTermsWindow()},n.prototype.hasErrorInTogle=function(e,n){return this.formSubmitted&&n.invalid||n&&n.touched&&n.invalid},n.prototype.getPercents=function(){var e=this,n=Object.keys(this.form.controls);if(0!==n.length){var t=n.map((function(n){return e.form.controls[n]})).filter((function(e){return e.enabled&&(!!e.asyncValidator||!!e.validator)})),l=t.reduce((function(e,n){return n.valid&&!n.validator("required")&&e++,e}),0),o=t.reduce((function(e,n){return n.valid&&e++,e}),0);this.completedPercentage=Math.round((o-l)/(t.length-l)*100)}else this.completedPercentage=0},n.prototype.hasBorrowersError=function(){return(this.isBorrowerListTouched||this.formSubmitted)&&!(this.borrowerList.length>1||1===this.borrowerList.length&&!this.borrowerList[0].editable)},n.prototype.modelChange=function(e,n){this.form.get(e).setValue(n),this.loan[e]=n},n.prototype.mapModelChange=function(e,n,t){var l=this;void 0===t&&(t=!0),this.currentCountry=n.dropdown,this.locationService.getFullAddressByPartOfAddress(n.text,n.dropdown).subscribe((function(n){if(n){l.fullAddresses[e]=n;var o=n.location?{lat:n.location.latitude,lng:n.location.longitude,addressLine:n.address_line}:null;t&&(l.currentPosition=o,l.selectedPosition=o,l.manualInputOfAddress=!1),l.modelChange(e,n.address_line)}}))},n.prototype.updatePosition=function(e){if(e.location){var n={lat:e.location.latitude,lng:e.location.longitude,addressLine:e.address_line};this.manualInputOfAddress=!1,this.currentPosition=n,this.selectedPosition=n}},n.prototype.calendarToggle=function(e,n){4===e&&n.control.markAsTouched()},n.prototype.hasError=function(e){var n=this.form.get(e);return(this.formSubmitted||this.form.touched&&n.touched)&&n.invalid},n.prototype.hasError_v2=function(e){var n=this.form.get(e);return this.formSubmitted&&!!n&&!!n.errors||!!n&&this.form.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.hasError_v3=function(e,n){return this.formSubmitted&&!!n.errors||e.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.hasErrorBorrowerForm=function(e,n){return e.submitted&&!!n.errors||e.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.getPropertyImage=function(){var e=this;if(this.model.current_address_paon&&this.model.current_address_street&&this.model.current_address_city&&this.model.current_address_country&&this.model.current_address_postcode){var n=(this.model.current_address_saon?this.model.current_address_saon+", ":"")+this.model.current_address_paon+" "+this.model.current_address_street+" "+this.model.current_address_city+" "+this.model.current_address_postcode+" "+this.model.current_address_country;this.locationService.getFullAddressByPartOfAddress(n,this.model.current_address_country).subscribe((function(t){if(t)if(e.model.current_address_postcode!==t.postalCode||e.model.current_address_paon!==t.streetNumber||e.model.current_address_street!==t.route&&e.model.current_address_street!==t.short_route)e.manualInputOfAddress=!1;else{var l=t.location?{lat:t.location.latitude,lng:t.location.longitude,addressLine:n}:null;e.manualInputOfAddress=!0,e.currentPosition=l,e.selectedPosition=l,e.form.value.property_loan_location.searched_address=n,e.form.value.property_loan_location.result_count=1}else e.manualInputOfAddress=!1}))}},n.prototype.changedMonthYear=function(e){var n=new Date,t=new Date(n.setFullYear(this.model.year?this.model.year:n.getFullYear(),this.model.month?this.model.month:n.getFullYear(),0));this.date.days=Array(t.getDate()).fill((function(e,n){return n})).map((function(e,n){return n+1})),+this.model.day>this.date.days.length&&(this.model.day=this.date.days.length)},n.prototype.checkGoogleServiceError=function(e){var n=!!e&&!!e.value&&e.value.error&&"Google service error"===e.value.error.message;if(n&&e.control.errors){if(e.value.error.innerError&&e.value.error.innerError.pca){var t=e.value.error.innerError.pca;this.model.current_address_paon=t.Line2,this.model.current_address_saon=t.Line1,this.model.current_address_street=t.Street,this.model.current_address_city=t.City,this.model.current_address_postcode=t.PostalCode,this.getPropertyImage()}e.control.setErrors(null),this.changeDetectorRef.detectChanges()}return n},n.prototype.conditionOfRegiondisplay=function(e){return(!e.errors&&e.value&&!e.value.error||this.manualInputOfAddress)&&!!this.currentPosition&&!!this.selectedPosition},n.prototype.markRadio=function(e,n){e.control.setValue(n),e.control.markAsTouched()},n.prototype.checkOwnership=function(e){return"L"===e.value},n.prototype.checkLeaseRemaining=function(e){var n=e.value;return n>0&&n<40},n.prototype.countryValueFormatter=function(e){return e.en_short_name},n.prototype.updateChart=function(e){e instanceof MouseEvent&&(e.preventDefault(),e.stopPropagation()),this.isResetFormProcess||(this.chartParameters={loan_amount:this.supportService.deCurrencyFormater(this.model.loan_request_loan_amount)||null,loan_value:this.supportService.deCurrencyFormater(this.model.loan_request_estimated_value)||null,loan_duration:this.model.loan_request_duration||null,security_address:this.model.property_loan_location&&this.model.property_loan_location.address_line||null,is_first_charge:this.model.first_charge||null,is_owner_occupied:this.model.not_homeowner_occupied||null,property_type:this.model.asset_type||null,loan_purpose_selected:this.model.loan_purpose_selected||null,loan_repayment_method:this.model.loan_repayment_method||null})},n.prototype.sendToGA=function(n,t){n instanceof MouseEvent&&(n.preventDefault(),n.stopPropagation()),t&&t.value&&this.sendGTMEvent({event:"field_blur",field_name:t.name,field_value:t.value,count:1,timestamp_utc:e.utc().format()})},n.prototype.sendDataToGA=function(n,t){n&&n.formatted&&this.sendGTMEvent({event:"field_blur",field_name:t.name,field_value:n.formatted,count:1,timestamp_utc:e.utc().format()})},n.prototype.sendAddressToGA=function(n,t){n&&n.address_line&&this.sendGTMEvent({event:"field_blur",field_name:t.name,field_value:n.address_line,count:1,timestamp_utc:e.utc().format()})},n.prototype.canAddBorrower=function(){return this.borrowerList.some((function(e){return!!e.editable}))},n.prototype.addNewBorrower=function(e){e.stopPropagation(),this.borrowerList.some((function(e){return!!e.editable}))||(this.isBorrowerEdited=!0,this.borrowerList.push({editable:!0,isNew:!0,editableBorrower:{borrower_gender:"",day:"",month:"",year:""}}))},n.prototype.saveBorrower=function(e,n){if(!e.invalid){this.isBorrowerListTouched=!0;var t=n.editableBorrower.borrower_address_paon+" "+n.editableBorrower.borrower_address_street+", "+n.editableBorrower.borrower_address_city+", "+n.editableBorrower.borrower_address_postcode;n.editableBorrower.borrower_address_saon&&(t=n.editableBorrower.borrower_address_saon+", "+t),n.editableBorrower.address_line=t,n.borrower=d({},n.editableBorrower),n.editable=!1,n.isNew=!1,this.getPercents(),this.isBorrowerEdited=!1}},n.prototype.editBorrower=function(e,n){e.stopPropagation(),n.editable||(this.isBorrowerListTouched=!0,this.borrowerList.forEach((function(e){return e.editable=!1})),n.editableBorrower=d({},n.borrower),n.editable=!0,this.isBorrowerEdited=!0)},n.prototype.cancelBorrower=function(e,n){e.stopPropagation(),this.isBorrowerListTouched=!0,n.editableBorrower=n.borrower,n.editable=!1,this.borrowerList=this.borrowerList.filter((function(e){return!e.isNew})),this.isBorrowerEdited=!1},n.prototype.deleteBorrower=function(e,n){e.stopPropagation();var t=this.borrowerList.findIndex((function(e){return JSON.stringify(n)===JSON.stringify(e)}));t>=0&&this.borrowerList.splice(t,1),n=null,0===this.borrowerList.length&&this.getPercents(),this.isBorrowerEdited=!1},n.prototype.getEditableBorrowerLine=function(e,n){if(!e)return"";var t="";e.borrower_gender&&e.borrower_first_name&&e.borrower_last_name&&(t=("male"===e.borrower_gender?"Mr.":"Ms.")+"\n "+(e.borrower_first_name||"")+"\n "+(e.borrower_last_name||""));var l="";return e.day&&e.month&&e.year&&(l="("+this.formateDateNumber(e.day)+"."+this.formateDateNumber(e.month)+"."+(e.year||"")+")"),t+"\n "+l},n.prototype.getEditableAddressBorrowerLine=function(e){if(!e)return"";var n=(e.borrower_address_paon||"")+" "+(e.borrower_address_street||"")+", "+(e.borrower_address_city||"")+", "+(e.borrower_address_postcode||"");return e.borrower_address_saon&&(n=(e.borrower_address_saon||"")+", "+n),n},n.prototype.sendGTMEvent=function(e){window.dataLayer=window.dataLayer||[];var n=window.dataLayer.filter((function(e){return e.event&&"field_blur"===e.event})).sort((function(e,n){return n["gtm.uniqueEventId"]-e["gtm.uniqueEventId"]})).find((function(n){return n.field_name===e.field_name}));n&&n.field_value===e.field_value||window.dataLayer.push(e)},n.prototype.formateDateNumber=function(e){return e?e<10?"0"+e:e.toString():""},n.prototype.addressValidator=function(e){return"string"==typeof e.value&&e.value&&e.value.split&&(e.markAsDirty(),e.markAsTouched(),e.value.split(",").length<3)?{notSelect:!0}:null},n.prototype.addressValidator_v2=function(e){if(!e.value)return null;var n=e.value;return n.error?{address:{msg:n.error.message,originError:n.error}}:null},n.prototype.resetForm=function(){var e=this;this.isResetFormProcess=!0,this.loan=new o.a,this.selectedPosition=null,this.propLocation=null,Object.keys(this.form.controls).forEach((function(n){e.form.controls[n].setValue(null)})),this.form.reset(),this.form.markAsUntouched(),this.form.markAsPristine(),this.createForm(),this.form.valueChanges.subscribe((function(){return e.getPercents()})),this.getPercents(),this.formSubmitted=!1,this.isResetFormProcess=!1},n.prototype.lookingForScrollElRef=function(e){return e.attributes.getNamedItem("el-scroll")?e.offsetTop:e.parentElement?this.lookingForScrollElRef(e.parentElement):0},n}()}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(3),o=t(43),r=t(151),i=function(e){function n(n){var t=e.call(this)||this;return t._value=n,t}return l.d(n,e),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),n.prototype._subscribe=function(n){var t=e.prototype._subscribe.call(this,n);return t&&!t.closed&&n.next(this._value),t},n.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value},n.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(19),t(15);var l=function(){function e(e,n,t){this.router=e,this.userService=n,this.journeyService=t}return e.prototype.canActivate=function(e,n){return this.checkAccess(n)},e.prototype.canActivateChild=function(e,n){return this.checkAccess(n)},e.prototype.checkAccess=function(e){var n=this.userService.restore();if(localStorage.getItem("Token")&&n){var t=!1,l="";switch(n.role){case"lender":t=e.url.indexOf("lenders")>=0,l="lenders";break;case"broker":t=e.url.indexOf("brokers")>=0,l="brokers";break;case"bdp":t=e.url.indexOf("bdp")>=0,l="bdp";break;case"flow affiliate":case"flowaffiliate":t=e.url.indexOf("flowaff")>=0,l="flowaffiliate";break;case"individual borrower":t=e.url.indexOf("borrowers")>=0,l="borrowers";break;case"leep lender":t=e.url.indexOf("leeplenders")>=0,l="leeplenders";break;default:t=e.url.indexOf("bdp")>=0,l="bdp"}return t||this.router.navigate(["/",l]),t}return!0},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(3),o=function(e){function n(n,t,l){var o=e.call(this)||this;return o.parent=n,o.outerValue=t,o.outerIndex=l,o.index=0,o}return l.d(n,e),n.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},n.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},n.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},n}(t(16).a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(36),t(22);var l=function(){function e(e,n){this.loanService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.loanService.getLoanWithOffers(e.params.loanId)},e}()},,,function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var l=t(3),o=t(0),r=t(9),i=(t(83),t(231)),a=(t(53),t(810),0),u=function(e){function n(n,t,l,r,i){var u=e.call(this,n,t)||this;return u.postcodeService=l,u.locationService=r,u.elRef=i,u.onAddressChanged=new o.EventEmitter,u.onError=new o.EventEmitter,u.identifier="form-text-"+a++,u.hiddenIdentifier="hidden-form-text-"+a,u.isProcess=!1,u.countryList=[{value:"uk",label:"UK"},{value:"us",label:"US"}],u.countryList=[{value:"uk",label:"UK"},{value:"us",label:"US"}],u.currentCountryCode=u.countryList[0].value,u.source=u.getAddresses.bind(u),u}return Object(l.d)(n,e),n.prototype.ngOnInit=function(){},n.prototype.writeValue=function(n){e.prototype.writeValue.call(this,n),""===n&&(this._innerValue=null),n&&n.address_line&&(this._innerValue=n.address_line)},n.prototype.blur=function(){this.touch()},n.prototype.onCountryChanged=function(e){this.currentCountryCode=e},n.prototype.onValueChange=function(e){var n=this;if(e.Next){if("Find"===e.Next)return this.lastId=e.Id,void(this.comp&&(this._innerValue=this.comp.ngModel+" ",setTimeout((function(){n.comp.showAutoCompleteDropdown()}),150)));this._innerValue=e.Text}if("string"==typeof e&&this.isNewSearching)return this.value={address_line:e,tmp_address_line:e,error:{message:"You should select an address from the list"}},void this.onError.emit(this.value);if("string"!=typeof e&&e.Text){if("manually"===e.Id)return this.value={address_line:e.Description,tmp_address_line:e.Description,searched_address:e.Description,result_count:0,error:{message:"Google service error"}},void this.onError.emit(this.value);this.isProcess=!0,this.locationService.getFullAddressByPartOfAddress(e.Text,this.currentCountryCode,e.Id).subscribe((function(t){if(!t||t.error)return n.isProcess=!1,n.value={address_line:e.Text,tmp_address_line:e.Text,searched_address:t.searched_address,result_count:t.result_count,error:{innerError:t.error,message:"Google service error"}},void n.onError.emit(n.value);n.value=t,n.value.tmp_address_line=n.value.address_line,n._innerValue=n.value.address_line,n.onAddressChanged.emit(t),n.isProcess=!1,n.isNewSearching=!1}),(function(e){n.isProcess=!1}))}},n.prototype.change=function(e){""===this._innerValue&&(this.value=""),("string"==typeof this.value||this.value.address_line&&this.value.address_line!==e)&&(this.isNewSearching=!0)},n.prototype.addressFormatter=function(e){return"Find"===e.Next?'
\n

'+e.Text+'

\n

'+e.Description+'

\n \n
':'
\n

'+e.Text+"

\n
"},n.prototype.getAddresses=function(e){var n=this;return this.postcodeService.capturePlusInteractiveFind({searchTerm:e,country:this.currentCountryCode,lastId:this.lastId}).pipe(Object(r.a)((function(t){return t.unshift({Id:"manually",Text:"Enter address manually",Description:e}),n.lastId="",t})))},n}(i.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var l=t(3),o=t(28),r=t(80),i=t(82),a=t(29),u=t(30),s=t(9);function d(){for(var e,n=[],t=0;t1?Array.prototype.slice.call(arguments):e)}),l,t)}))}},function(e,n,t){"use strict";var l=t(0),o=t(1),r=t(4),i=t(2);t(96),t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return m}));var a=l["ɵcrt"]({encapsulation:0,styles:[['[_nghost-%COMP%]{height:100%;width:100%}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%]{height:100%;width:100%;min-width:120px;min-height:35px;-webkit-box-shadow:inset 0 0 3px 0 #584d34;box-shadow:inset 0 0 3px 0 #584d34;background-color:#fff;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .select-wrapper-container[_ngcontent-%COMP%]{position:relative;display:inline}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .select-wrapper-container[_ngcontent-%COMP%]:after{content:"";width:0;height:0;position:absolute;pointer-events:none;border-left:5px solid transparent;border-right:5px solid transparent;top:50%;right:9px;border-top:8px solid #000;opacity:.5;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}[_nghost-%COMP%] .select-wrapper-template.left-side[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}[_nghost-%COMP%] .select-wrapper-template.right-side[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}[_nghost-%COMP%] .select-wrapper-template.top-side[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] .select-wrapper-template.bottom-side[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}[_nghost-%COMP%] .select-wrapper-template.bottom-side[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], [_nghost-%COMP%] .select-wrapper-template.top-side[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{-webkit-transform:translate(-50%);-ms-transform:translate(-50%);transform:translate(-50%);padding:6px 0}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:1px}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .ng-content-wrapper[_ngcontent-%COMP%]{padding:5px 5px 10px 10px;width:100%}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .ng-content-wrapper.disabled[_ngcontent-%COMP%]{background-color:#ebebe5}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%]{width:100%;border:none;font-size:1.3rem;background-color:#f2f1ed;-webkit-box-shadow:none;box-shadow:none;position:relative}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect.select[_ngcontent-%COMP%]{padding-left:6px}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect.select[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .select-wrapper-template[_ngcontent-%COMP%] .contentselect[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0 15px;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}[_nghost-%COMP%] .ticks-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:100%;background-color:#f2f1ed;font-family:LatoWeb;font-size:1rem;padding:3px 5px;border-radius:0 0 2px 2px}']],data:{}});function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,o.NgSelectOption,[l.ElementRef,l.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),l["ɵdid"](2,147456,null,0,o["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),l["ɵted"](-1,null,["Please select"]))],(function(e,n){e(n,1,0,null),e(n,2,0,null)}),null)}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,o.NgSelectOption,[l.ElementRef,l.Renderer2,[2,o.SelectControlValueAccessor]],{ngValue:[0,"ngValue"]},null),l["ɵdid"](2,147456,null,0,o["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{ngValue:[0,"ngValue"]},null),(e()(),l["ɵted"](3,null,["",""]))],(function(e,n){e(n,1,0,n.context.$implicit.value),e(n,2,0,n.context.$implicit.value)}),(function(e,n){e(n,3,0,n.context.$implicit.label)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,10,"select",[["class","contentselect select"],["title",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"click"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,1).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,1).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(r.value=t)&&o),"ngModelChange"===n&&(o=!1!==r.change(t)&&o),"click"===n&&(o=!1!==r.onClick(t)&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,o.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵprd"](1024,null,o.NG_VALUE_ACCESSOR,(function(e){return[e]}),[o.SelectControlValueAccessor]),l["ɵdid"](3,671744,[[1,4]],0,o.NgModel,[[8,null],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,o.NgControl,null,[o.NgModel]),l["ɵdid"](5,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null),l["ɵdid"](6,16384,null,0,r.a,[l.ElementRef,o.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](8,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](10,278528,null,0,i.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,3,0,t.value),e(n,8,0,t.showPlaceholder&&!t.value),e(n,10,0,t.dropdownOptions)}),(function(e,n){e(n,0,0,l["ɵnov"](n,5).ngClassUntouched,l["ɵnov"](n,5).ngClassTouched,l["ɵnov"](n,5).ngClassPristine,l["ɵnov"](n,5).ngClassDirty,l["ɵnov"](n,5).ngClassValid,l["ɵnov"](n,5).ngClassInvalid,l["ɵnov"](n,5).ngClassPending)}))}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","select-wrapper-container"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](2,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,n.component.dropdownOptions.length>1)}),null)}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","contentselect"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""]))],null,(function(e,n){e(n,2,0,n.component.value.label)}))}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","ng-content-wrapper"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,i.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{disabled:0}),l["ɵncd"](null,0)],(function(e,n){e(n,1,0,"ng-content-wrapper",e(n,2,0,n.component.isDisabled))}),null)}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","tick"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","ticks-wrapper"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](2,278528,null,0,i.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.ticks)}),null)}function m(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{model:0}),(e()(),l["ɵeld"](1,0,null,null,6,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](3,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](5,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](7,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](9,16384,null,0,i.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,3,0,t.dropdownOptions.length>1),e(n,5,0,1===t.dropdownOptions.length),e(n,7,0,!(!t.value||null!=t.currentItem&&t.currentItem.hideContent)),e(n,9,0,t.ticks.length>0)}),(function(e,n){e(n,1,0,l["ɵinlineInterpolate"](1,"select-wrapper-template ",n.component.side,"-side"))}))}},,,,,,,function(e,n,t){e.exports=function(e){function n(l){if(t[l])return t[l].exports;var o=t[l]={exports:{},id:l,loaded:!1};return e[l].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){e.exports=t(2)},,function(e,n){"use strict";function t(e){return e.split(r).map((function(e){return p.test(e)?p:e}))}Object.defineProperty(n,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=function(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,n=e.length;if(e===r||e[0]===h[0]&&1===n)return h.split(r).concat([p]).concat(v.split(r));if(e===M&&x)return h.split(r).concat(["0",M,p]).concat(v.split(r));var o=e[0]===u&&I;o&&(e=e.toString().substr(1));var i=e.lastIndexOf(M),a=-1!==i,g=void 0,m=void 0,b=void 0;if(e.slice(-1*F)===v&&(e=e.slice(0,-1*F)),a&&(x||S)?(g=e.slice(e.slice(0,V)===h?V:0,i),m=t((m=e.slice(i+1,n)).replace(d,r))):g=e.slice(0,V)===h?e.slice(V):e,D&&(void 0===D?"undefined":l(D))===c){var y=(g.match(new RegExp("."===w?"[.]":""+w,"g"))||[]).length;g=g.slice(0,D+y*L)}return g=g.replace(d,r),N||(g=g.replace(/^0+(0$|[^0])/,"$1")),b=t(g=_?g.replace(/\B(?=(\d{3})+(?!\d))/g,w):g),(a&&x||!0===S)&&(e[i-1]!==M&&b.push(f),b.push(M,f),m&&((void 0===A?"undefined":l(A))===c&&(m=m.slice(0,A)),b=b.concat(m)),!0===S&&e[i-1]===M&&b.push(p)),V>0&&(b=h.split(r).concat(b)),o&&(b.length===V&&b.push(p),b=[s].concat(b)),v.length>0&&(b=b.concat(v.split(r))),b}var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=n.prefix,h=void 0===g?o:g,m=n.suffix,v=void 0===m?r:m,b=n.includeThousandsSeparator,_=void 0===b||b,y=n.thousandsSeparatorSymbol,w=void 0===y?i:y,C=n.allowDecimal,x=void 0!==C&&C,O=n.decimalSymbol,M=void 0===O?a:O,k=n.decimalLimit,A=void 0===k?2:k,P=n.requireDecimal,S=void 0!==P&&P,R=n.allowNegative,I=void 0!==R&&R,E=n.allowLeadingZeroes,N=void 0!==E&&E,T=n.integerLimit,D=void 0===T?null:T,V=h&&h.length||0,F=v&&v.length||0,L=w&&w.length||0;return e.instanceOf="createNumberMask",e};var o="$",r="",i=",",a=".",u="-",s=/-/,d=/\D+/g,c="number",p=/\d/,f="[]"}])},function(e,n,t){"use strict";var l=t(3),o=t(43),r=t(28),i=(t(16),t(46)),a=t(224),u=function(e){function n(n,t){var l=e.call(this)||this;return l.source=n,l.subjectFactory=t,l._refCount=0,l._isComplete=!1,l}return l.d(n,e),n.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},n.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new i.a).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed?(this._connection=null,e=i.a.EMPTY):this._connection=e),e},n.prototype.refCount=function(){return Object(a.a)()(this)},n}(r.a).prototype,s={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}},d=function(e){function n(n,t){var l=e.call(this,n)||this;return l.connectable=t,l}return l.d(n,e),n.prototype._error=function(n){this._unsubscribe(),e.prototype._error.call(this,n)},n.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},n.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}},n}(o.b);function c(e,n){return function(t){var l;if(l="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new p(l,n));var o=Object.create(t,s);return o.source=t,o.subjectFactory=l,o}}t.d(n,"a",(function(){return c}));var p=function(){function e(e,n){this.subjectFactory=e,this.selector=n}return e.prototype.call=function(e,n){var t=this.selector,l=this.subjectFactory(),o=t(l).subscribe(e);return o.add(n.subscribe(l)),o},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},,function(e,n,t){"use strict";var l=t(0),o=t(2),r=t(296),i=t(240),a=t(13),u=t(127),s=t(20);t.d(n,"a",(function(){return d})),t.d(n,"c",(function(){return y})),t.d(n,"b",(function(){return w}));var d=l["ɵcrt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{display:block}.inner[_nghost-%COMP%]{position:absolute;left:460px;top:36px}.inner[_nghost-%COMP%] .content-wrapper[_ngcontent-%COMP%]{top:0;left:0;width:400px;background-color:#fff}.inner[_nghost-%COMP%] .close-window[_ngcontent-%COMP%]{position:absolute;top:-10px;right:-10px;font-size:20px;background-color:#000;color:#fff;height:20px;width:20px;text-align:center;font-size:17px;border-radius:20px;cursor:pointer;z-index:2}@media only screen and (max-width:750px){[_nghost-%COMP%] .close-window[_ngcontent-%COMP%], .inner[_nghost-%COMP%] .close-window.fa[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width:750px){[_nghost-%COMP%] .terms-template[_ngcontent-%COMP%]{width:100%;height:100%}}[_nghost-%COMP%] .header[_ngcontent-%COMP%]{font-weight:600;text-decoration:underline}[_nghost-%COMP%] .header[_ngcontent-%COMP%], [_nghost-%COMP%] .point[_ngcontent-%COMP%], [_nghost-%COMP%] .subpoint1[_ngcontent-%COMP%]{margin-bottom:7px}[_nghost-%COMP%] .subpoint1[_ngcontent-%COMP%]{margin-left:30px}[_nghost-%COMP%] .subpoint2[_ngcontent-%COMP%]{margin-left:60px;margin-bottom:7px}[_nghost-%COMP%] window-wrapper[_ngcontent-%COMP%] .content-wrapper{background-color:#fff}"]],data:{}});function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","header"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.parent.context.$implicit.text)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"br",[],null,null,null,null,null))],null,null)}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","subpoint2"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""]))],null,(function(e,n){e(n,2,0,n.context.$implicit.text)}))}function g(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](1,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,1,0,n.parent.context.$implicit.elements)}),null)}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","subpoint1"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,4,0,n.context.$implicit.elements)}),(function(e,n){e(n,2,0,n.context.$implicit.text)}))}function m(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](1,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,1,0,n.parent.context.$implicit.elements)}),null)}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","point"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,4,0,n.context.$implicit.elements)}),(function(e,n){e(n,2,0,n.context.$implicit.text)}))}function b(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](1,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,1,0,n.parent.context.$implicit.elements)}),null)}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,null,null,null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),l["ɵand"](0,[["newString",2]],null,0,null,p)),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](5,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](0,null,null,0))],(function(e,n){e(n,2,0,n.context.$implicit.text,l["ɵnov"](n,3)),e(n,5,0,n.context.$implicit.elements)}),null)}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","content-page terms-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"i",[["class","fa fa-times close-window"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.closeWindow(t)&&l),l}),null,null)),(e()(),l["ɵeld"](2,0,null,null,5,"div",[["class","content-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,4,"window-wrapper",[["label","Terms and Conditions"]],null,null,null,r.b,r.a)),l["ɵdid"](4,8437760,null,0,i.a,[a.DomSanitizer,l.ChangeDetectorRef],{label:[0,"label"]},null),(e()(),l["ɵeld"](5,0,null,0,2,"div",[["style","height: 686px; background-color: white; padding: 15px;"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](7,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,4,0,"Terms and Conditions"),e(n,7,0,t.agreement)}),null)}var w=l["ɵccf"]("terms-window",u.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"terms-window",[],null,null,null,y,d)),l["ɵdid"](1,114688,null,0,u.a,[s.a],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{onClose:"onClose"},[])},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=function(){function e(){this.messageEvent$=new l.EventEmitter,this.conversationsEvents=[]}return e.prototype.subscibe=function(e){this.conversationsEvents.push(e)},e.prototype.unSubscribe=function(e){var n=this.conversationsEvents.indexOf(e);n>-1&&this.conversationsEvents.splice(n,1)},e.prototype.resetConversationState=function(e,n){this.conversationsEvents.find((function(n){return n.ConversationId===e})).LastMessageId=n},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=(t(20),function(){function e(e){this.supportService=e,this.onClose=new l.EventEmitter}return e.prototype.ngOnInit=function(){this.agreement=[{text:"User agreement",elements:[{text:"LAST UPDATED: 05 February 2019"},{text:"General terms relating to all users of the Brydg website and/or platform."},{text:"Users of the Site and the Platform should, in particular, \n be aware of and read the disclosures and disclaimers set out in Clause 3 of these General Terms."}]},{text:"1. Introduction",elements:[{text:"1.1 These General Terms apply to all users of the Site and/or the Platform."},{text:"1.2 These General Terms, all applicable Addendums from time to time, and the \n Privacy Policy (together the “Agreement”) constitute our agreement with you as a user \n of the Platform and govern the use of the Site and the service provided through the \n Platform by any person whose application to use the Platform we approve (“you”, “your”)."},{text:"1.3 These General Terms and the Privacy Policy will come into effect between you and Brydg \n upon you confirming electronically on the Site that you agree to the terms of this Agreement, \n or otherwise by using the Site. Each Addendum will come into effect as and when they become \n applicable to you from time to time in accordance with their terms. This Agreement shall continue \n thereafter unless and until it is terminated in accordance with the provisions of Clause 10 of \n these General Terms."},{text:"1.4 These General Terms are supplemented by Addendums which apply depending on how you are \n investing, lending or borrowing. Each Addendum describes the circumstances in which they \n are applicable to you, and therefore you should review each one to ensure that you are \n aware of when an Addendum applies to you."},{text:"These General Terms apply to all users of the Platform."},{text:"The Addendum entitled “Loan Agreement Addendum” applies to:",elements:[{text:"(a) all Lenders;"},{text:"(b) all Brokers; and"},{text:"(b) all Borrowers who borrow via the Loan Agreement structure,"}]},{text:"in addition to these General Terms, as further described in the Loan Agreement Addendum."},{text:"Where there is any conflict between these General Terms and any Addendum, the provisions \n of the relevant Addendum shall take precedence to the extent necessary to resolve such conflict."}]},{text:"2. Definitions",elements:[{text:"2.1 In this Agreement, the following capitalized terms shall have the following meanings:"},{text:"“Access Codes” means your username and password for your User Account"},{text:"“Addendum” means those additional terms set out on the Site which are applicable to you \n and binding on you depending on your status, as further described in those Addendums"},{text:"“Ancillary Documents” means any documentation which you may enter into from time to time in \n respect of investments, lending or borrowing on the Platform (or in respect of borrowing in \n respect of the Loan Agreement model, with Lender and Borrower off the Platform), including any relevant \n Loan Agreements, Security Documents and any other related agreements"},{text:"“Applicable Law” means all laws, regulations, rules and regulatory guidance which may \n be applicable from time to time"},{text:"“Borrower” has the meaning set out in the Loan Agreement Addendum"},{text:"“Brydg”, or “we”, “us” or “our” means Brydg Capital Limited, a limited liability company incorporated \n in England and Wales (registered number 09034678) and having its registered office at Third Floor Nightingale \n House, 65 Curzon Street, London, England, W1J 8PE"},{text:"“Business Day” a day (other than a Saturday or a Sunday) on which commercial banks are open \n for general business in London"},{text:"“Client Account” means our segregated bank account held at a duly authorised UK credit institution \n for the purpose of, amongst others, holding and disbursing funds paid by Lenders, Borrowers, Brokers, \n Solicitors, Valuers and any other service provides as we deem suitable. "},{text:"“Confidential Information” has the meaning given to it in Clause 7 of these General Terms"},{text:"“FCA” means the Financial Conduct Authority"},{text:"“General Terms” means these terms and conditions, excluding all Addendums"},{text:"“Information” means any and all text, numbers, graphics, audio and still and moving images, \n whether in physical or electronic form, as contained on the Platform"},{text:"“Intellectual Property Rights” means all patents, rights to inventions, utility models, copyright and \n related rights, trademarks, service marks, trade, business and domain names, rights in trade dress or get-up, \n rights in goodwill or to sue for passing off, unfair competition rights, rights in designs, rights in computer \n software, database rights, semi-conductor topography rights, moral rights, rights in confidential information \n (including know-how and trade secrets) and any other intellectual property rights, in each case whether \n registered or unregistered and including all applications for and renewals or extensions of such rights, and \n all similar or equivalent rights or forms of protection in any part of the world"},{text:"“Lender” has the meaning set out in the Loan Agreement Addendum"},{text:"“Loan Agreement” means the standard form agreement relating to the conditions of the Loan, which may be \n entered into from time to time between a Lender and a Borrower (among others)"},{text:"“Loans” has the meaning set out in the Loan Agreement Addendum"},{text:"“Loan Agreement Addendum” means the Addendum entitled “Loan Agreement Addendum”"},{text:"“Nominated Bank Account” means the bank account or building society account opened \n in your name which you have registered with us"},{text:"“Offer” and “Offers” has the meaning set out in the Loan Agreement Addendum"},{text:"“Platform” means the platform operated at https://flow.brydg.com"},{text:"“Privacy Policy” means the privacy and cookies policy, as updated from time to time, \n located at https://www.brydg.com/disclosures/privacy-and-cookies/"},{text:"“Property” a specific property which secures a loan which is the subject of a Loan Agreement."},{text:"“Purchase” has the meaning set out in the Loan Agreement Addendum"},{text:"“Security Documents” has the meaning set out in the Loan Agreement Addendum"},{text:"“Site” means the Brydg website"},{text:"“User Account” means a data account in your name in our systems that will enable you to access \n and use the Platform in accordance with the provisions of this Agreement"},{text:"“User Information” means any information relating to you, that you provide to us. This includes \n information that you are duly authorised to disclose on behalf of your clients in accordance with Applicable Law. "},{text:"“Valuer” means a professionally qualified valuer who is a member of the Royal Institution \n of Chartered Surveyors, chosen by Brydg"}]},{text:"3. Disclosures and Disclaimers",elements:[{text:"3.1 The Site and the Platform are provided “as is” and “as available”. We make \n no representations or warranties of any kind, whether express, implied, statutory or otherwise \n regarding the Site or the Platform, including any warranty that the Site, the Platform or any part \n or use of it will be uninterrupted, error free or free of harmful components, or that any information \n provided to us or available on the Site or the Platform will be secure, accurate, timely, \n up-to-date, reliable or not otherwise lost or corrupted. Except to the extent prohibited by law, \n we exclude all warranties, including any implied warranties of merchantability, satisfactory quality, \n fitness for a particular purpose, non-infringement, or quiet enjoyment, and any warranties arising out of \n any course of dealing or usage of trade."},{text:"3.2 You acknowledge that you understand and accept that the Site and Platform operate as a platform intended \n to facilitate asset backed lending, and only limited investigation of Offers is undertaken by us. Lenders \n are responsible for making your own assessment of the viability of each Offer. If you are in doubt or require \n any assistance in making such an assessment, you should consult professional advisors."},{text:"3.3 We shall not have any duty to disclose to you any Information which we receive in the course of providing \n the Site or the Platform accept in accordance with Applicable Law."},{text:"3.4 You acknowledge and agree that we do not provide any investment, financial, accounting, taxation or legal advice in general, \n or in relation to any Loan, Offer, Loan Agreement or this Agreement, and that we are not authorised to do so. \n Nothing that we do or communicate to you should be construed as the provision of any such advice by us or any \n of our group companies. You are solely responsible for making your own independent appraisal and investigation \n of the risks of making an Offer and entering into a subsequent Loan Agreement or otherwise investing or borrowing \n on the Platform and you should obtain your own legal, accounting, tax and/or financial advice in relation to such matters, \n as you consider necessary."}]},{text:"4. User Accounts",elements:[{text:"4.1 In order to access the Platform, you must first apply for a User Account via the Site. You must provide \n us with all information requested during the application process and comply with all our identification and anti-money \n laundering requirements to enable us to comply with all Applicable Law."},{text:"4.2 We reserve the right, in our sole discretion, to refuse to register you as a member of the Platform for any reason and, \n in that event, are under no obligation to tell you the reason for such refusal."},{text:"4.3 Upon completion of the registration process, including satisfaction of any required verification checks and acceptance by us, \n we will open a User Account for you. Your User Account does not hold any funds. If we approve your application for a User Account, \n you will be asked to choose your Access Codes. Each time you seek to access your User Account, we will check your identity \n by asking for your Access Codes. As long as your correct Access Codes are entered, you agree that we will be entitled to assume \n that you are the person giving instructions and you will be liable for those instructions until you notify us in accordance \n with Clause 4.4 of these General Terms. You must therefore keep the Access Codes secret and secure and make sure that \n they are not stored in a way that enables others to access them or impersonate you. In addition, if you disclose the Access Codes \n to any person, you will be responsible and liable for any access, use, misuse or disclosure of your Access Codes or your User \n Account by such person."},{text:"4.4 You must notify us immediately if you discover or suspect that the security of your Access Codes may have been breached. \n If we receive such a notification from you or determine ourselves that the security of your Access Codes may have been breached \n and we decide to take action based on that, you will not be able to access the Platform until measures have been taken \n to verify your identity."},{text:"4.5 Unless and until you tell us that you believe that someone else knows the Access Codes or can use your User Account \n by impersonating you:",elements:[{text:"(a) you will be responsible for any instruction which we receive and act on via your User Account, \n even if it was not given by you; and"},{text:"(b) we will not be responsible for any unauthorised access to your User Account or the information available in it."}]},{text:"4.6 We can refuse to act on any instruction that we reasonably believe: (i) was unclear; or (ii) was not given by you; \n or (iii) might cause us to breach a legal or other duty; or (iv) if we believe the Platform is being used for an illegal purpose."}]},{text:"5. Intellectual Property Rights, Information and Platform Usage",elements:[{text:"5.1 All the Intellectual Property Rights in the Site and the Platform, and the Information on the Site and the Platform \n or provided by us to you (excluding your User Information), shall vest and remain vested in us or the third party owners. \n Except as expressly provided in this Agreement, you obtain no rights from us or our licensors, including any rights related \n in or related to any Intellectual Property Rights."},{text:"5.2 We grant you a limited, revocable, non-exclusive, non-sub licensable, non-transferable licence to access and use the Site \n and the Platform solely in accordance with this Agreement. You may not make a permanent copy of or reproduce any Information \n from the Site or the Platform in any form. You may not reproduce or incorporate any Information or content from the Site \n or the Platform into any other web site or material. You may only print, display or download temporary copies of the content \n to your own computer for your own use in accordance with this Agreement."},{text:"5.3 During and after the term of this Agreement, you will not assert, nor will you authorise, assist, or encourage any third \n party to assert, against us or our licensors, any patent infringement or other Intellectual Property Rights infringement claim \n regarding the Site or the Platform."},{text:"5.4 You represent, warrant and undertake that none of your User Information will infringe the rights of any third party, \n including Intellectual Property Rights, privacy, publicity or other personal or proprietary rights; or will contain libellous, \n defamatory or otherwise unlawful material."},{text:"5.5 You undertake not to:",elements:[{text:"(a) use the Site or the Platform to:",elements:[{text:"(i) harvest or collect email addresses or other financial, personal or contact Information of other users of the Site \n or the Platform by electronic or other means for the purposes of sending unsolicited communications or inviting any person \n to invest outside the Platform;"},{text:"(ii) to create a database (electronic or otherwise) that includes Information downloaded or otherwise obtained from the Site \n or the Platform except to the extent expressly permitted under this Agreement;"},{text:"(iii) to transmit or re-circulate any Information obtained from the Site or the Platform to any third party except where \n expressly permitted by us or on the Platform;"}]},{text:"(b) use the Site or the Platform in any unlawful manner or in any other manner that could damage, disable, overload or impair \n the Site or the Platform or the servers on which it is hosted;"},{text:"(c) use automated scripts to collect Information from or otherwise interact with the Site or the Platform;"},{text:"(d) upload, post, publish, display, transmit, share, store or otherwise make available on the Site or the Platform any \n Information that we may deem:",elements:[{text:"(i) to be misleading, harmful, threatening, unlawful, libellous, defamatory, infringing of any Intellectual Property Rights, \n abusive, inflammatory, harassing, vulgar, obscene, fraudulent, invasive of privacy or publicity rights, hateful, or racially, \n ethnically or otherwise objectionable; and/or"},{text:"(ii) to contain software viruses or any other computer code, files or programs designed to interrupt, destroy or limit the \n functionality of any computer software or hardware or telecommunications equipment; and/or"},{text:"(iii) to be unsolicited or unauthorized advertising, solicitations, promotional materials, “junk mail”, “spam”, “chain letters”, \n “pyramid schemes” or any other form of solicitation; and/or"},{text:"(iv) to be the private information of any third party, including, without limitation, addresses, phone numbers, email addresses, \n National Insurance numbers or other identifiers, credit card numbers and/or debit card numbers unless as specifically requested \n as part of the Application process as described in the Loan Agreement Addendum; and/or"},{text:"(v) to be an attempt to promote or market any goods or services for your own financial benefit;"}]},{text:"(e) register on the Platform more than once or register on the Platform on behalf of an individual other than yourself, \n or register on the Platform on behalf of any entity without that entity’s prior written authorisation;"},{text:"(f) impersonate any person or entity, or falsely state or otherwise misrepresent yourself, your age, your financial employment \n or personal circumstances or your affiliation with any person or entity;"},{text:"(g) use or attempt to use another person’s User Account without authorisation from us, or create a false identity in relation \n to the Platform;"},{text:"(h) solicit personal information from anyone under 18 or solicit passwords or personally identifying Information for commercial \n or unlawful purposes; or"},{text:"(i) use the Site or the Platform in such a way so as to remove the copyright or trade mark notice(s) from any copies \n of any Information made in accordance with this Agreement."}]},{text:"5.6 You are solely responsible for your User Information. You may not post, transmit, or share User Information on the Site \n or the Platform or otherwise that you did not create or that you do not have permission to display, publish or post. You \n understand and agree that we may, but are not obligated to, review the Site and the Platform and may delete or remove (without \n notice) any User Information in our sole and absolute discretion, for any reason or no reason, including without limitation \n User Information that in our own absolute discretion violates any provision(s) of this Agreement. You are solely responsible \n at your own cost and expense for creating backup copies and replacing any User Information."},{text:"5.7 When you post your User Information, you authorise and direct us to make such copies of it as we consider necessary \n in order to facilitate the publication, display and storage of the User Information in relation to the Site and the Platform, \n subject always to the Privacy Policy to the extent it applies to such User Information. By posting User Information to any part \n of the Site or the Platform, you automatically grant, and you represent and warrant that you have the right to grant to us \n an irrevocable, perpetual, non-exclusive, transferable, fully paid, worldwide licence (with the right to sublicence) to use, \n copy, publicly perform, publicly display, reformat, translate, excerpt (in whole or in part) and distribute such User Information \n for any purpose on or in connection with the Site and the Platform, or the promotion of them, to prepare derivative works of, \n or incorporate into other works, such User Information, and to grant and authorise sublicences of the foregoing, all subject \n to the Privacy Policy to the extent it applies to such User Information. You may remove any or all of your User Information \n from the Site and the Platform at any time, subject to the provisions of Clause 7 of these General Terms. If you choose \n to remove User Information, the licence granted above will automatically expire in respect of the User Information removed, \n however you acknowledge that we may retain archived copies of your User Information."},{text:"5.8 You agree on demand to indemnify and hold each other user, us, our subsidiaries and affiliates, and each of our directors, \n officers, agents, contractors, partners and employees, harmless from and against any loss, liability, claim, demand, damages, \n costs and expenses, including reasonable legal fees and expenses, and all registration fees and duties, arising out of \n or in connection with:",elements:[{text:"(a) any of your User Information;"},{text:"(b) your Offers or other use of the Platform;"},{text:"(c) your conduct in connection with the Site or the Platform or with other users of the Site or the Platform; and"},{text:"(d) any breach by you of this Agreement or the infringement of any Intellectual Property Rights or other rights of any third party."}]},{text:"5.9 You are solely responsible for your interactions with other users of the Site or the Platform. We reserve the right, \n but have no obligation, to monitor disputes between you and other users."},{text:"5.10 Subject to the provisions of this Agreement, we are not responsible for third party information downloaded or any \n User Information posted by other users to the Site or the Platform."},{text:"5.11 We welcome ‘links’ to the home page of the Site or the Platform, but not ‘deep linking’ by which we mean that you may \n not include a link to any page of the Platform that is not the home page. You must not display the contents of the Site or \n the Platform (or any page from it) or allow it to be displayed surrounded or framed or otherwise surrounded by material \n not originating from us without our prior written consent."},{text:"5.12 The Information provided via the Site and the Platform is intended solely for use by persons and organisations that meet \n the eligibility criteria set out in the relevant Addendums. The Site and the Platform is not intended for distribution to, \n or use by, any person or entity in any jurisdiction where such distribution or use would be contrary to Applicable Law."}]},{text:"6. Warranties and Representations",elements:[{text:"6.1 By agreeing to the terms of this Agreement, you represent and warrant to us that:",elements:[{text:"(a) notwithstanding our statutory obligations to Lender, Borrowers and Brokers to provide services with reasonable skill and care, \n you understand and acknowledge that neither we nor any of our or directors or employees make any representation or warranty, \n express or implied, as to the accuracy, completeness or reliability of any information which we provide to you from time to time;"},{text:"(b) all details, information, representations, identification and other documentation that you provide to us from time to time \n is true and accurate in all material respects;"},{text:"(c) you are entering into this Agreement and any relevant Ancillary Documents as principal and not as agent or on behalf \n of any third party;"},{text:"(d) execution, delivery and performance of any aspect(s) of this Agreement will not violate any law, ordinance, charter, \n by-law or rule applicable to you, or any other agreement by which you are bound or by which any of your or their assets are affected;"},{text:"(e) you will not send funds to the Client Account other than by using the payment methods specified by us and you will \n not request that funds be sent from the Client Account other than to your Nominated Bank Account;"},{text:"(f) you will not use the Information posted on the Site or the Platform for any purpose other than researching Offers listed \n on the Platform and transacting on the Platform; and"},{text:"(g) any User Information is complete, accurate and up to date, and will be updated by you as soon as possible after it later \n becoming incomplete, inaccurate or no longer up to date."}]}]},{text:"7. Confidentiality",elements:[{text:"7.1 Information obtained by you via your User Account and Information disclosed directly to you by us \n (“Confidential Information”) shall be kept strictly confidential by you and used only for the purpose of interacting with and \n transacting on the Platform and shall not be disclosed by you in whole or in part, directly or indirectly to any third party, \n provided that:",elements:[{text:"(a) you may disclose such Information to any of your employees, solicitors and other professional advisors (if appropriate) \n for the purpose of working with you in connection with your decision to transact on the Platform, on the basis that you understand that \n you will be responsible for their use and handling of such Information; and"},{text:"(b) Confidential Information shall not include Information that:",elements:[{text:"(i) was in your lawful possession before it was disclosed, without confidentiality restrictions;"},{text:"(ii) you obtain from a third party on an unrestricted basis other than through breach of this Agreement or breach of any other \n obligation of confidentiality on you or the third party;"},{text:"(iii) is developed by you independently of us and any Information received by you from us; or"},{text:"(iv) you are required to disclose in accordance with Applicable Law, provided that you give us as much advance written notice \n of such requirement as is reasonably practicable in the circumstances."}]}]}]},{text:"8. Liability",elements:[{text:"8.1 You shall be liable to us for any loss or damage suffered by us as a result of your breach of this Agreement or for your \n negligence, fraud or wilful misconduct."},{text:"8.2 We shall only be liable to you for any loss or damage which results directly from our breach of this Agreement, negligence, \n fraud or wilful misconduct."},{text:"8.3 Whilst Brydg takes every care to ensure that the standard of the Site and the Platform remains high and to maintain \n the continuity of it, you acknowledge and agree that the Internet is not always a stable medium, and errors, omissions, \n interruptions of service and delays may occur at any time. As a result, we do not accept any ongoing obligation or \n responsibility to operate the Site or the Platform to a certain level of availability (or any particular part of it)."},{text:"8.4 Our liability to you in respect of any Ancillary Documents shall be limited to the amount paid by you in relation to \n any such Ancillary Documents."},{text:"8.5 We will not be liable for any indirect, incidental, special, punitive or consequential damages, loss of business, \n loss of profits, loss or corruption of data, loss of goodwill or reputation caused by any act or omission by us under any aspect \n of this Agreement."},{text:"8.6 Nothing in this Agreement shall limit any party’s liability for personal injury or death, or for any other liability which \n may not be excluded by Applicable Law. If you are unsure about which laws apply to you, you should seek independent advice."},{text:"8.7 No party shall be liable for any failure or delay in the performance of any obligation under this Agreement (except any \n payment obligation) by reason of any cause beyond that party’s reasonable control."}]},{text:"9. Client Account",elements:[{text:"9.1 Your Unused Balance shall be held on trust for you by us in the Client Account (along with other funds we hold on trust \n for others)."},{text:"9.2 In the event that there has been no activity on your User Account for a period of at least 18 months, we shall be entitled \n to take such steps as we consider appropriate, which may include closing your User Account and transferring your Unused Balance \n from the Client Account to your Nominated Bank Account or sending a cheque for the amount of the Unused Balance to your last-known \n residence or place of business (as the case may be)."},{text:"9.3 You may request us to transfer your Unused Balance from the Client Account to your Nominated Bank Account at any time."}]},{text:"10. Termination",elements:[{text:"10.1 We reserve the right, in our sole discretion, to terminate this Agreement and close your User Account immediately by notice \n in writing to you at any time and for any reason (and, in that event, are under no obligation to tell you the reason for such \n termination and closure), including (without limitation) if:",elements:[{text:"(a) you are in material breach of any term of this Agreement; and/or"},{text:"(b) you breach any term of any Ancillary Document to which you are a party; and/or"},{text:"(c) we suspect that you have used the Site or the Platform, or intend to use the Site or the Platform, for the purpose of an \n illegal activity."}]},{text:"10.2 You have termination rights relating to this Agreement, as set out in the Addendums. Each Addendum has specific termination \n rights which allow you to terminate each Addendum separately, without affecting any other Addendums which may apply to you from \n time to time."},{text:"10.3 On termination of this Agreement, any of your funds remaining in the Client Account will, subject to any restriction under \n Applicable Law, be credited to your Nominated Bank Account or be paid by sending a cheque to your last-known residence or place \n of business (as the case may be). Any termination of this Agreement will not affect the validity or enforceability of any \n Ancillary Documents that you are then currently a party to."},{text:"10.4 Following termination of this Agreement, we will, on request, provide you with limited access to the Platform and your \n User Account for a period of 7 days to download any of your User Information. Upon the expiry of that 7-day period, your access \n to your User Account and the Platform will be terminated and we will have no obligation to store or provide you with access to \n any User Information or any Information relating to your activity on the Platform."}]},{text:"11. Notices",elements:[{text:"11.1 Except as otherwise expressly provided in this Agreement, any communication in writing may be given by post to the last \n known postal address that we hold for you or you hold for us, or email to the email address last notified by you to us or by us to you."},{text:"11.2 Communications sent:",elements:[{text:"(a) by post will be treated as received by you three Business Days after posting; and"},{text:"(b) by email they will be treated as received immediately upon sending, so long as we do not receive notice \n of non-transmission or non-receipt."}]},{text:"11.3 We may also (where allowed to do so by Applicable Law) communicate with you by posting Information in your User Account \n or on the Site or the Platform, in which case the Information will be treated as received by you when it is posted by us."},{text:"11.4 Any communication given to us shall be deemed to have been received only on actual receipt by us."}]},{text:"12. Amendments to this Agreement",elements:[{text:"12.1 We may amend this Agreement by placing a new version of this Agreement on the Site, and where possible will give you notice \n that a change has been made. You should periodically check the Site for updates to this Agreement. You will be deemed to have \n accepted any updates or amendments to this Agreement if you continue to use the Site and/or the Platform after such updates \n or amendments have been placed on the Site."},{text:"12.2 We may make changes to this Agreement for any purpose that we consider reasonably necessary, including (without limitation):",elements:[{text:"(a) where we consider that a change will make this Agreement clearer and no less favourable to you; or"},{text:"(b) to introduce new systems or technology; or"},{text:"(c) to introduce new products or services; or"},{text:"(d) to implement changes required by Applicable Law."}]},{text:"12.3 If you are not happy with any changes to this Agreement that may be made from time to time, you may terminate this \n Agreement in accordance with Clause 10 of these General Terms, but subject always to any restrictions on your rights to \n terminate this Agreement as set out in any Addendum."}]},{text:"13. General",elements:[{text:"13.1 The Agreement is supplied in English and all communications between all or any of us (including any communications \n or documentation passing between all or any of us before entering into any contract) will be in English."},{text:"13.2 Nothing in this Agreement is intended to confer any benefit on any person who is not a party to this Agreement, \n and no third party shall have any rights under the Contracts (Rights of Third Parties) Act 1999 to enforce any of its terms. \n Notwithstanding the foregoing, each relevant party shall be entitled to enforce this Agreement against you where this Agreement \n purports to confer rights on them, and further we shall be entitled to enforce this Agreement on behalf of our affiliates or \n subsidiaries where this Agreement purports to confer rights on them. Any losses to our affiliates or subsidiaries shall \n be deemed to be losses of Brydg and we may recover these as if they were incurred by Brydg."},{text:"13.3 Except as may be expressly provided herein, nothing in this Agreement is intended to, or shall be deemed to, establish any \n partnership or joint venture between the parties, or to constitute any party the agent of another party, nor authorise \n any party to make or enter into any commitments for or on behalf of any other party."},{text:"13.4 If any part of this Agreement is found to be illegal, invalid or unenforceable by any court of competent jurisdiction \n or regulatory authority, the remainder shall continue in full force and effect. No single or partial exercise, or failure \n or delay in exercising any right, power or remedy by either you or us shall constitute a waiver by us of, or preclude any \n further exercise of, that or any right, power or remedy arising under this Agreement or otherwise."},{text:"13.5 The provisions of this Agreement are personal to you and you shall not be entitled to assign or transfer any of your \n rights or obligations under this Agreement."},{text:"13.6 We, and our successors and assigns, may assign any or all of our respective rights and obligations under this Agreement. \n Any Brydg group company, and their successors and assigns, which has rights or benefits under this Agreement may assign any \n or all of their respective rights and obligations under this Agreement."},{text:"13.7 The records kept by us in the Platform shall be conclusive of the facts and matters they purport to record except \n where there is an obvious mistake."},{text:"13.8 The Agreement (including all non-contractual rights arising out of or in connection with it) is governed by English law."},{text:"13.9 Any dispute arising out of or in connection with this Agreement, including any question regarding its existence, \n validity or termination, shall be referred to and finally resolved by arbitration administered by the London Court of \n International Arbitration (the “LCIA”) under the LCIA Rules, which Rules are deemed to be incorporated by reference into \n this clause. The number of arbitrators shall be one. The seat, or legal place, of arbitration shall be England. \n The governing law of this arbitration agreement shall be the substantive law of England."}]},{text:"14. Our details",elements:[{text:"14.1 Brydg Capital Ltd is incorporated in England and Wales (registered number 09034678) and has its registered office \n at Third Floor Nightingale House, 65 Curzon Street, London, England, W1J 8PE. Brydg Capital is authorised and regulated \n by the Financial Conduct Authority with firm number 739493."}]},{text:""},{text:""},{text:"LOAN AGREEMENT ADDENDUM"},{text:"SECTION A – INTRODUCTION"},{text:"1. Application",elements:[{text:"1.1 This Addendum applies if you are a Lender or a Borrower, or wish to become a Lender or a Borrower (as those terms \n are defined below in this Addendum)."},{text:"1.2 Section A of this Addendum applies to both actual and prospective Lenders, Brokers and Borrowers. Section B of \n this Addendum applies to you if you are an actual or prospective Lender, Section C of this Addendum applies to you if \n you are an actual or prospective Broker, and Section D of this Addendum applies to you if you are an actual or prospective \n Borrower."},{text:"1.3 This Addendum applies in addition to the General Terms. Where you enter into a Receivables Purchase Agreement, \n you agree that the terms of this Addendum and the General Terms shall be incorporated by reference into that Receivables \n Purchase Agreement, and shall have effect as if set out in full in the body of the Receivables Purchase Agreement."}]},{text:"2. Definitions",elements:[{text:"2.1 The definitions set out below apply only in relation to this Addendum. Capitalised terms which are not defined below \n have the meaning given to them in Clause 2 of the General Terms:"},{text:"“Borrower” means anyone who has, or wishes to, enter into a Loan Agreement with a Lender"},{text:"“Broker” means anyone who is introducing the transaction between the Lender and the Borrower and is authorised by the FCA."},{text:"“Lender” means a user of the Platform who is authorised by us to use the Platform and has entered into certain investments \n from time to time on the Platform by entering into Loan Agreement"},{text:"“Loans” means any asset backed loans of capital which are offered on the Platform for in exchange for the return \n of capital and fees."},{text:"“Offer” and “Offers” means an offer by a Lender to borrower capital relating to a Loan Agreement through the Platform"},{text:"“Security Documents” means certain security arrangements entered into by a Borrower from time to time in respect of a Loan"},{text:"“Unused Balance” means money held for you in the Client Account which you have not used for Loans"}]},{text:"SECTION B – LENDER TERMS"},{text:"3. Eligibility",elements:[{text:"3.1 You may not at any time be a Lender in respect of any Loan for which you are a Borrower. Any breach \n of this requirement will be deemed to be a material breach not capable of remedy for which Brydg shall be entitled \n to terminate this Agreement pursuant to Clause 10 of the General Terms."}]},{text:"4. General Terms Relating to Loan Agreements",elements:[{text:"4.1 The Platform facilitates the sourcing of lending and borrowing opportunities between Lenders and Borrowers, \n with Brokers acting as an intermediary . The loans available on the Platform relate to capital and interest that \n is payable by a Borrower under a Loan concluded off the Platform and made by a Lender to a Borrower, and which are \n the subject of an Offer on the Platform. The terms of such Loans are set out in loan agreements made between a Lender \n and a Borrower. The transaction may be facilitated by a Broker."},{text:"4.2 All Lenders agree to comply with the terms of this Agreement."},{text:"4.3 Our activities carried out in connection with the Loan Agreements are not regulated by the FCA and none \n of Information on the Platform and/or provided by Brydg needs to be, or has been, approved within the meaning \n of the Financial Services and Markets Act 2000. However, you acknowledge that making use of the Platform may expose you \n to a risk of losing monies paid out in connection with a Loan Agreement."},{text:"4.4 You agree that you will not make any contact with any Borrower, intermediary, solicitor or valuer concerning an Offer, \n Loan, Loan Agreement, Security Documents or Information concerning them or any Property on the Platform (other than your \n own solicitor or other professional advisers) without our prior written consent."},{text:"4.5 You must promptly notify us if you receive Information from, or you are otherwise contacted by, any person in relation \n to a particular Loan, Offer, Property, Loan Agreement or Security Documents outside the Platform (other than your \n own solicitor or other professional advisers), or you have a pre-existing relationship with the Borrower or any intermediary, \n solicitor, law firm, or valuer which you are aware is involved. If any person makes, or attempts to make, contact with \n you regarding such documents then you must direct them to contact us."}]},{text:"5. Security",elements:[{text:"5.1 The performance of each Borrower’s obligations to the Lender under the Loan Agreement will be secured by \n the Security Documents entered into between either (i) the Borrower and the Lender or (ii) between one or more third parties \n (providing either guarantees or third party security) and the Lender (or another Brydg entity who will hold such guarantees \n or third party security for the benefit of the Lender) as appropriate."},{text:"5.2 If the Borrower misses a payment or only partially pays the amount due to the Lender under the Loan Agreement, \n the Lender (or Brydg on its behalf) shall, at its discretion, be responsible for collection and enforcement in respect \n of the receivables, including enforcement of the relevant Security Documents as necessary and subject to the terms \n of the Loan Agreement in respect of the underlying Loan. If the Lender enforces the security created by the Security Documents, \n any proceeds received or recovered by the Lender will be held on trust by the Lender to be applied in accordance with \n any Ancillary Agreements."}]},{text:"6. Offers – General",elements:[{text:"6.1 We shall not be responsible for, and do not provide advice to you on, or confirmation in respect of, the suitability \n of any Offer for you or any purpose for which you make an Offer. You should consider carefully the terms of an Offer before making \n an Offer."},{text:"6.2 As a Lender, you acknowledge and agree that:",elements:[{text:"(a) you have read and understood the terms and details of the Offer in relation to which you are making, including \n the Loan Agreement;"},{text:"(b) our decision to publish details of the Offer on the Platform does not constitute any approval or endorsement \n of the Offer or any representation by us that the details of the Offer accurately reflect the risks associated with the Offer;"},{text:"(c) we do not warrant that use of any of the documents supplied as part of the Platform including, without limitation \n to the generality of the foregoing, any Loan Agreements are suitable or appropriate for your needs and you must take \n your own independent legal and other advice on the terms of such documents;"},{text:"(d) you, as Lender, choose the Loan Amount, the rate of interest you wish to receive and over what term. \n You should specify these preferences in your Offer;"},{text:"(e) expected bad debt estimates on the Site are provided on an ‘as is’ basis for information purposes \n and general guidance only and we do not warrant their accuracy or reliability; and"},{text:"(f) You may (without responsibility to the Borrower): (i) exercise or refrain from exercising any or all of the rights, \n powers and discretions arising under or in connection with the relevant Loan Agreement and/or the Security; \n (ii) agree to any variation or waiver of the terms of the relevant Loan Agreement and/or the Security applicable to \n the Loan Agreement; and (iii) perform any other acts under the Loan Agreement and/or the Security in your discretion \n as you see fit."},{text:"(g) the relevant Borrower may (without responsibility to you): (i) exercise or refrain from exercising any \n or all of the rights, powers and discretions arising under or in connection with the relevant Loan Agreement \n and/or the Security; (ii) agree to any variation or waiver of the terms of the relevant Loan Agreement and/or t\n he Security applicable to the Loan Agreement; and (iii) perform any other acts under the Loan Agreement and/or \n the Security in its discretion as it sees fit."}]}]},{text:"7. Loan Agreements",elements:[{text:"7.1 Subject to the Borrower making the relevant payment under the relevant Loan Agreement to the relevant Lender \n (or to Brydg on its behalf), Brydg will pay an amount equal to the amount so determined into the Client Account \n as soon as reasonably practicable after receipt and in the meantime hold such amount so determined on trust pending payment \n into such account. The name of the account shall make it clear that the account is held for the benefit of all Clients \n and that the proceeds of the accounts are held on trust for the benefit of the Clients and should not be paid out \n to general creditors of Brydg in the event of its insolvency."},{text:"7.2 Typically, any capital repayments due under the Loan Agreement will be paid to the Client Account and credited \n to your Nominated Account within 3 Business Days of receipt from the Borrower, unless otherwise agreed"},{text:"7.3 You acknowledge and agree that Brydg accepts no responsibility for missed or late capital repayments \n or interest payments and shall not be obliged to pay all or any part of the amounts due to you under \n the Loan Agreement unless and until it receives corresponding sums from the Borrower and such sums have become payable \n to you under the relevant Loan Agreement."},{text:"7.4 You further agree and acknowledge that you have no right of recourse against Brydg in the event of the Borrower \n failing to fulfil its obligations under the Loan Agreement."},{text:"7.5 It is possible that the proceeds (if any) recovered as a result of any recovery and enforcement activity \n by the Lender under the Loan Agreement may not be sufficient to repay the entire amount due under the Loan Agreement. \n In that case, you acknowledge that you will only be entitled to receive amounts allocated to you in accordance with \n the terms of the relevant Loan Agreement."},{text:"7.6 Sometimes, a Borrower requires some flexibility in its payments under the Loan Agreement. For example, \n a Borrower might come us or you to say that they are anticipating being late on a payment and there is a genuine reason \n for the delay. If, having assessed the facts and the evidence provided through our Platform (we usually require an updated \n valuation of the property, amongst other things), you are comfortable with the delay, you may be willing (in your \n absolute discretion) to allow the Borrower some temporary flexibility on its repayments. If the delay later \n materialises into an actual non-payment by the Borrower, we would let you know and you can decide whether \n to look to enforce the terms of the Loan Agreement as normal."}]},{text:"SECTION C – BROKER TERMS"},{text:"8. General",elements:[{text:"8.1 If you wish to use the Platform and potentially become a Broker, you must agree to comply \n with the terms of this Agreement. "},{text:"8.2 Our activities carried out in connection with the Loan Agreements are not regulated by the Financial Conduct \n Authority and none of the Information on the Platform and/or provided by Brydg needs to be, or has been, approved within \n the meaning of the Financial Services and Markets Act 2000."},{text:"8.3 You agree that you will not make any contact with any Lender concerning an Offer, Loan, Loan Agreement, Security \n Documents or Information concerning them or any Property on the Platform without our prior written consent."},{text:"8.4 You must promptly notify us if you receive Information from, or you are otherwise contacted by, any Lender, solicitor, \n law firm or valuer (other than your own solicitor or other professional advisors), or you have a pre-existing relationship \n with a Lender, solicitor, law firm, or valuer which you are aware is involved. If any such person makes, or attempts to make, \n contact with you regarding any Loan or potential Loan outside of the process described in this Agreement then you must direct \n them to contact us."},{text:"8.5 Lenders on this Platform reserve the right, in their sole and absolute discretion, to not enter into any Loan Agreement \n for any reason at any time whatsoever, and in the event they choose not to enter into any Loan Agreement, \n we will have no obligation to tell you the reason for such decision. Brydg Capital, may act as a Lender on the Platform. \n In these cases, the same User Agreements apply as for other Lenders."}]},{text:"9. Initial Application",elements:[{text:"9.1 If you wish to become a Broker, you must first register to become a Broker via the process set out on the Platform \n in accordance with Clause 4 of the General Terms."},{text:"9.2 In proceeding through this application process from initial application through to offer of a Loan, you agree \n to supply to us all information that we may reasonably require from time to time in order to assess your requirements \n for the potential Loan, the related Property and to confirm some information about your clients, and where applicable, \n you and any relevant companies you are affiliated with. You acknowledge and agree that any failure to provide sufficient \n and/or accurate information of this nature could lead to the application being declined, and in the event we choose \n to decline any application, we will have no obligation to tell you the reason for such decision."},{text:"9.3 Once we have received your completed application form, we will review this internally to ascertain if your application \n meets our lending criteria and credit policy as updated from time to time. During this internal review, we may request \n further information from you relating to you clients, the terms of the Loan you are brokering or the underlying Property, \n which you agree to supply. "},{text:"9.4 Where your application fails to meet the requirements of our lending criteria or credit policy, or otherwise \n is not acceptable to Brydg in our sole discretion (or Lenders at their discretion), we will inform you of that and formally \n decline to offer to enter into a Loan Agreement with your client. In the event we or other Lenders choose decline to \n offer to enter into a Loan Agreement with you, we will have no obligation to tell you the reason for such decision."},{text:"9.5 Where your application meets the requirements of our lending criteria and credit policy and is otherwise acceptable \n to Brydg in our sole discretion (or Lenders at their discretion), we will inform you of that and issue to you a non-binding, \n subject to contract offer to proceed to the next stage of the application process, as set out below."}]},{text:"10. Full application",elements:[{text:"10.1 Following receipt of the non-binding offer as set out in Clause 9.5 of this Addendum, you will be provided with \n a full application form to be completed. When submitting the completed full application form to Brydg, you will also be \n required to provide supporting information for your application, such as evidence of your client’s identity, home address \n and other information necessary to enable Brydg and Lenders to carry out its internal compliance checks on you and your \n client (such as money laundering, fraud prevention and credit checking). You acknowledge and agree that any failure \n to provide sufficient and/or accurate documentation of this nature as requested by Brydg and Lenders from time to time \n could lead to your application being declined."},{text:"10.2 Once we have received your full application form and all supporting documentation, and are satisfied that they meet \n our requirements (and those of our underwriters and Lenders) in our absolute discretion, we will carry out our own checks, \n including valuation of the Property, money laundering, fraud prevention and credit checking. By agreeing to this Agreement you \n hereby consent to us carrying out any checks of this nature that we require and confirm that you are duly authorised by your \n client to disclose information to carry out such checks."},{text:"10.3 You agree that we may carry out a valuation of the Property in order to ensure that it is suitable to be held \n as security against any Loan that may be provided to your client. The fees for the valuation of the Property shall \n be at the Borrower’s cost, and you will be responsible for those fees whether the Loan proceeds or not. By entering \n into this Agreement you agree to pay these fees. The valuation will not take place until the fees for the valuation \n have been paid by you to Brydg. The valuation will be undertaken in accordance with the latest edition of the Royal \n Institution of Chartered Surveyors Valuation – Professional Standards 2012 and the terms of engagement that we agree with \n the appointed surveyor. You agree to provide all reasonable co-operation to the appointed surveyor in carrying out the \n valuation, including liaising with your client to provide reasonable access to all areas of the Property and all information \n which the appointed surveyor may reasonable request. You acknowledge and agree that your application may not proceed until \n the valuation has been satisfactorily completed and the results of such valuation have been reviewed and accepted by Brydg \n and Lenders should they choose to at their absolute discretion; subject to Clause 3.3 of the General Terms."}]},{text:"11. Approval of Loan and advance of funds",elements:[{text:"11.1 Once Brydg has completed all necessary checks (including assessment of the results of the valuation of the Property, \n all credit, fraud and money laundering checks), Brydg (on behalf of the Lender) may in its absolute discretion choose whether \n or not to issue to you a formal Offer to your client to enter into a Loan Agreement. If we choose not to issue a formal offer, \n you will be informed that your application has been declined."},{text:"11.2 The formal offer from Brydg to enter into a Loan Agreement with a Lender will include the terms and conditions \n that will apply to the Loan, including the Loan Agreement and all related Security Documents. If your wishes to complete \n the Loan, you and your client must accept the terms and conditions attached to the formal Offer by carrying out \n the acceptance process set out in the formal offer. Once the formal Offer is accepted and all related terms and \n conditions have been executed by you to Brydg’s, and/or Lenders, satisfaction, funds will be advanced by the Lender \n through the Lender’s solicitors to your client’s solicitors, unless otherwise agreed by the Lender and the Lenders \n absolute discretion."}]},{text:"12. Fees",elements:[{text:"12.1 We will charge you and your client certain fees, including legal fees, valuation fees and an arrangement \n fee as part of your entering into a Loan Agreement. The amount of fees chargeable and due dates will vary depending on \n the terms of the underlying Loan and will be set out in more detail in the Offer documents which you receive during \n the application process. Certain of these fees will be payable by you whether the Loan proceeds or not. It is your \n responsibility to decide how to collect the fees you are owed by the Borrower."},{text:"12.2 We may waive or offer discounts on any of our fees to any person at any time in our sole and absolute discretion."},{text:"12.3 We may change any of our fee rates from time to time to reflect cost increases or reductions. We will give \n you notice of any change in our fees in accordance with Clause 11 of the General Terms."},{text:"12.4 All fees are exclusive of any applicable Value Added Tax or other taxes, for which the person who is obliged \n to pay the relevant Fee shall be liable."}]},{text:"SECTION D – BORROWER TERMS"},{text:"13. General",elements:[{text:"13.1 If you wish to use the Platform and potentially become a Borrower, you must agree to comply with the terms \n of this Agreement. However, it is not necessary to use the Platform to become a Borrower and so some Borrowers will \n be borrowers under Loans generated off the Platform."},{text:"13.2 Our activities carried out in connection with the Loan Agreements are not regulated by the Financial Conduct Authority \n and none of the Information on the Platform and/or provided by Brydg needs to be, or has been, approved within the meaning \n of the Financial Services and Markets Act 2000."},{text:"13.3 You agree that you will not make any contact with any Lender concerning an Offer, Loan, Loan Agreement, Security \n Documents or Information concerning them or any Property on the Platform without our prior written consent."},{text:"13.4 You must promptly notify us if you receive Information from, or you are otherwise contacted by, any Lender, solicitor, \n law firm or valuer (other than your own solicitor or other professional advisors), or you have a pre-existing relationship \n with a Lender solicitor, law firm, or valuer which you are aware is involved. If any such person makes, or attempts to make, \n contact with you regarding any Loan or potential Loan outside of the process described in this Agreement then you must direct \n them to contact us."},{text:"13.5 We reserve the right, in our sole and absolute discretion, to not enter into any Loan Agreement for any reason \n at any time whatsoever, and in the event we choose not to enter into any Loan Agreement, we will have no obligation \n to tell you the reason for such decision."}]},{text:"14. Initial Application",elements:[{text:"14.1 If you wish to become a Borrower, you must first apply to become a Borrower via the process set out \n on the Platform via a Broker."},{text:"14.2 In proceeding through this application process from initial application through to Offer of a Loan, you agree \n to supply to us, via your Broker, all information that we may reasonably require from time to time in order to assess your \n requirements for the potential Loan, the related Property and to confirm some information about you. You confirm that you have \n duly authorised the Broker to disclose such information about you and confirm that you will inform us should you no longer \n want the Broker to act on your behalf. It is your responsibility to ensure the information disclosed by the Broker about you \n and the property is accurate and correct. You acknowledge and agree that any failure to provide sufficient and/or accurate \n information of this nature could lead to your application being declined, and in the event we choose to decline your \n application, we will have no obligation to tell you the reason for such decision."},{text:"14.3 Once we have received your completed application form, we will review this internally to ascertain if your application \n meets our lending criteria and credit policy as updated from time to time. During this internal review, we may request \n further information from you relating to you, the terms of the Loan you wish to receive or the underlying Property, \n which you agree to supply. "},{text:"14.4 Where your application fails to meet the requirements of our lending criteria or credit policy, or otherwise \n is not acceptable to Brydg in our sole discretion (or Lenders at their discretion), we will inform you of that and formally \n decline to offer to enter into a Loan Agreement with you. In the event we, or Lenders, choose decline to offer to enter \n into a Loan Agreement with you, we will have no obligation to tell you the reason for such decision."},{text:"14.5 Where your application meets the requirements of our lending criteria and credit policy and is otherwise acceptable \n to Brydg in our sole discretion (or Lenders at their discretion), we will inform you of that and issue to you a non-binding, \n subject to contract offer to proceed to the next stage of the application process, as set out below."}]},{text:"15. Full application",elements:[{text:"15.1 Following receipt of the non-binding offer as set out in Clause 14.5 of this Addendum, you will be provided with \n a full application form to be completed. When submitting the completed full application form to Brydg, you will also be \n required to provide supporting information for your application, such as evidence of your identity, home address and other \n information necessary to enable Brydg to carry out its internal compliance checks on you (such as money laundering, \n fraud prevention and credit checking). You acknowledge and agree that any failure to provide sufficient and/or \n accurate documentation of this nature as requested by Brydg from time to time could lead to your application being declined."},{text:"15.2 Once we have received your full application form and all supporting documentation, and are satisfied that they meet our \n requirements (and those of our underwriters and Lenders) in our absolute discretion, we will carry out our own checks, \n including valuation of the Property, money laundering, fraud prevention and credit checking. By agreeing to this Agreement \n you hereby consent to us, and Lenders, carrying out any checks of this nature that we require."},{text:"15.3 You agree that we may carry out a valuation of the Property in order to ensure that it is suitable to be held as security \n against any Loan that may be provided to you. The fees for the valuation of the Property shall be at the Borrower’s cost, \n and you will be responsible for those fees whether the Loan proceeds or not. By entering into this Agreement you agree \n to pay these fees. The valuation will not take place until the fees for the valuation have been paid by you to Brydg, via your \n Broker. The valuation will be undertaken in accordance with the latest edition of the Royal Institution of Chartered Surveyors \n Valuation – Professional Standards 2012 and the terms of engagement that we agree with the appointed surveyor. You agree \n to provide all reasonable co-operation to the appointed surveyor in carrying out the valuation, including providing reasonable \n access to all areas of the Property and all information which the appointed surveyor may reasonable request. You agree \n to attend the Property during the inspection by the appointed surveyor. You acknowledge and agree that your application \n may not proceed until the valuation has been satisfactorily completed and the results of such valuation have been reviewed \n and accepted by Brydg, and Lenders should they choose to at their absolute discretion; subject to Clause 3.3 \n of the General Terms."}]},{text:"16. Approval of Loan and advance of funds",elements:[{text:"16.1 Once Brydg has completed all necessary checks (including assessment of the results of the valuation of the Property, \n all credit, fraud and money laundering checks), Brydg, and or other Lenders on the Platform, may in its absolute discretion \n choose whether or not to issue to you a formal offer to you to enter into a Loan Agreement. If we (or other Lenders) choose \n not to issue a formal Offer, you will be informed that your application has been declined."},{text:"16.2 The formal offer from Brydg to enter into a Loan Agreement with a Lender will include the terms and conditions \n that will apply to the Loan, including the Loan Agreement and all related Security Documents. If you wish to complete \n the Loan, you must accept the terms and conditions attached to the formal Offer by carrying out the acceptance process \n set out in the formal Offer. Once the formal Offer is accepted and all related terms and conditions have been executed \n by you to Brydg’s and/or Lender’s satisfaction, funds will be advanced by the Lender through the Lender’s solicitors \n to your solicitors, unless otherwise agreed by the Lender and at the Lenders absolute discretion."}]},{text:"17. Fees",elements:[{text:"17.1 We will charge you certain fees, including legal fees, valuation fees and an arrangement fee as part of your entering \n into a Loan Agreement. The amount of fees chargeable will vary depending on the terms of the underlying Loan and will \n be set out in more detail in the offer documents which you receive during the application process. Certain of these \n fees will be payable by you whether the Loan proceeds or not."},{text:"17.2 We may waive or offer discounts on any of our fees to any person at any time in our sole and absolute discretion."},{text:"17.3 We may change any of our fee rates from time to time to reflect cost increases or reductions. We will give you notice \n of any change in our fees in accordance with Clause 11 of the General Terms."},{text:"17.4 All fees are exclusive of any applicable Value Added Tax or other taxes, for which the person who is obliged \n to pay the relevant Fee shall be liable."}]}]},e.prototype.closeWindow=function(e){e.stopPropagation(),this.supportService.closeTermsWindow(),this.onClose.emit(null)},e}())},,,function(e,n,t){"use strict";t.d(n,"a",(function(){return g}));var l=t(5),o=t(86),r=t(47),i=t(23),a=t(35),u=t(237),s=t(62),d=t(63),c=t(353),p=t(25),f=function(){return(f=Object.assign||function(e){for(var n,t=1,l=arguments.length;t-1&&(this.isDealView=!0),this.winRef.nativeWindow.innerWidth<370&&(this.sizeOfShortWidgetInTimeline=150),this.user=this.userService.restore(),this.isFixed=!this.user,this.onboardingMessages=[],this.initConversationList(),this.initGettingOfDashboardData(),this.user&&(this.chartMessage={isOwn:!1,onboardMessage:new Date,author:{user:{username:this.user.username}},message:""}),this.initLoans(),this.listenRoutesChange(),this.updateUserAvatar();var n=this.winRef.nativeWindow.localStorage.getItem("Token");"/"===this.router.url&&n&&this.windowRef.nativeWindow&&this.windowRef.nativeWindow.screen.width<=450&&(this.isRootUrl=!0,this.isPinnedSidebar=!0),this.subscriptions.push(this.chartService.$chartChanged.subscribe((function(n){e.showChartMessage=!0,e.chartMessage={isOwn:!1,date:new Date,hidePinn:!0,author:{user:{username:e.user&&e.user.username||""}},message:"We have "+n.count+" borrowers that can lend at rates between "+n.min+"% and "+n.max+"% p.a. Subject to valuation, completed application and borrower checks."}}))),this.subscriptions.push(this.messageService.$privateConversationChanged.subscribe((function(n){e.idActivePrivateDiscussion=n.isOpen,n.conversationId&&(e.privateConversationId=n.conversationId)}))),this.subscriptions.push(this.route.queryParams.subscribe((function(n){n.address&&e.winRef.nativeWindow.localStorage.setItem("address",n.address),n.address_id&&e.winRef.nativeWindow.localStorage.setItem("address_id",n.address_id)}))),this.subscriptions.push(this.userService.$userChanged.subscribe((function(n){e.user=n,e.isFixed=!e.user,e.updateUserAvatar(),e.isApproved=e._isApproved(n)}))),this.subscriptions.push(this.messageService.$initTimelineChat.subscribe((function(){e.onboardingMessages=[],e.initConversationList(),e.initGettingOfDashboardData()}))),this.subscriptions.push(this.pingService.messageEvent$.subscribe((function(n){e.messageService.getConversationModel_(o.a.WelcomeLenderConversation).subscribe((function(n){e.onboardingMessages=n.Messages.slice()}))}))),this.subscriptions.push(this.messageService.$onAllConversationCleared.subscribe((function(n){e.matthewsIsAdded=!1}))),this.subscriptions.push(this.messageService.$onAddedMessageIntoChatLine.subscribe((function(n){e.onboardingMessages.unshift(n),e.ScrollService.changeScrollState()}))),this.subscriptions.push(this.sideBar.onStateChanged().subscribe((function(n){n&&n.left&&(e.isPinnedSidebar=n.left.length>0)}))),this.subscriptions.push(this.themeService.onBackGroundChanged().subscribe((function(n){e.backgroundColor=n}))),this.subscriptions.push(this.router.events.pipe(Object(s.a)((function(e){return e instanceof l.d}))).subscribe((function(n){e.routeState=n.url,e.supportService.showHideActionPanel("show"),e.winRef.nativeWindow.innerWidth<753&&e.sideBar.closeAll()}))),this.subscriptions.push(this.supportService.onAnimationStateChanged().subscribe((function(n){e.routeState=n}))),this.subscriptions.push(this.supportService.onActionPanelVisibilityChanged().subscribe((function(n){if(!(e.winRef.nativeWindow.innerWidth<763||"brokers"===e.journeyService.currentJourney||"bdp"===e.journeyService.currentJourney||"flowaffiliate"===e.journeyService.currentJourney||"/lenders/investment-criteria"!==e.animState)){if("hide"===n)if(0===e.onboardingMessages.length)e.actionPanelPoint={label:(t=e.helpBoard.helpMessages[e.helpBoard.helpMessages.length-1]).onboardMessage.author.user.username,logo:t.avatarUrl};else{var t=e.onboardingMessages.pop();e.actionPanelPoint={label:t.author.user.username,logo:t.author.picture}}e.stateOfActionPanel=n,e.createPlayerOfShowHideActionPanel(n).play()}})))},e.prototype.ngAfterViewChecked=function(){},e.prototype.ngAfterViewInit=function(){this.winRef.nativeWindow.innerWidth<763&&this.sideBar.toggleOnlyOnLow(!1)},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.pingService.unSubscribe(this.pingMessage),clearInterval(this.interval),this.alive=!1},e.prototype.showActionPanel=function(e){e.preventDefault(),this.supportService.showHideActionPanel("show")},e.prototype.updateUserAvatar=function(){this.isStartLogo=!this.user,this.userAvatar=this.user?this.supportService.getImageAsync(this.user.picture,this.supportService.defaultImgUrl.logo):this.supportService.getImgObservable(this.supportService.defaultImgUrl.logo)},e.prototype.routeAnimationDone=function(e){this.supportService.routeAnimationDone()},e.prototype.checkUserPicture=function(){return this.user&&this.user.picture},e.prototype.isActionSelect=function(e,n){void 0===n&&(n=!1);var t="/"+this.journeyService.currentJourney+e.join("/").replace(/\/\//g,"/").replace(/\.\//g,"/"),l="/"!==this.router.url&&t===this.router.url,o=!1;if(n&&this.loan&&3===e.length){var r="";switch(+a.a[this.loan.stage]){case a.a.draft:r="to-be-submitted";break;case a.a.offer_in_principle:case a.a.valuation:case a.a.formal_offer:case a.a.legal_review:r="in-progress";break;case a.a.enquiry:r="to-be-accepted";break;case a.a.drawdown:case a.a.servicing:case a.a.arrears:r="active";break;case a.a.preaccepted:r="to-be-preaccepted"}o=r===e[2]}return l||o},e.prototype.getShortAmount=function(e){for(var n=e/1e3,t=1;n>=1e3;)n/=1e3,t+=1;var l=n.toFixed(1===t?0:1);return 3===l.length&&"."===l[1]&&"0"===l[2]&&(l=l[0]),l+(1===t?"K":2===t?"m":"b")},e.prototype.initGettingOfDashboardData=function(){var e=this;if(this.journeyService.currentJourney&&"lenders"!==this.journeyService.currentJourney&&"borrowers"!==this.journeyService.currentJourney){var n=null,t=this.getDataOfDashboard().subscribe((function(t){var l=JSON.parse(JSON.stringify(t));delete l.offers;var o=JSON.stringify(l);n!==o&&(n=o,e.loanCount=t.dashboard.total_count.toString(),e.loanSumm=e.supportService.currencyFormater(t.dashboard.total_amount.toString()),e.favorites=t.favourites.map((function(n){var t=(+n.loan_to_value_percentage).toFixed(2),l=e.getShortAmount(n.loan_request_loan_amount),o=e.getShortAmount(n.loan_request_estimated_value);return{id:n.id?n.id.toString():"",label:n.property_address_line,description:"£"+l+" loan / "+t+"% LTV / £"+o+" property",faIcon:e.supportService.getImageAsync(n.property_image_photo_url),route:["./","onboarding",n.id]}})),Object.keys(t).forEach((function(n){var l=e.actions.findIndex((function(e){return e.id===n}));if(l>=0){delete e.actions[l].count;var o=t[n],r=o.no_loans_need_attn?o.no_loans_need_attn:0;e.actions[l].count=o.count,e.actions[l].description=e.actions[l].template.replace("{count}",o.count),e.actions[l].description=e.actions[l].description.replace("{offers}",r),e.actions[l].notifier=r>0?r:"",e.actions[l].info=r>0?o.count+" / "+r:o.count}})))}),(function(e){t.unsubscribe()}));this.subscriptions.push(t)}},e.prototype.toggleNav=function(){this.sideBar.isLeftBarOpened||(this.isPinnedSidebar=!this.isPinnedSidebar)},e.prototype.getDatesLeft=function(e){var n=Math.abs((new Date).getTime()-e.loan_end_date.getTime());return Math.ceil(n/864e5)},e.prototype.sendMessage=function(e){var n=this;e&&"leeplenders"!==this.journeyService.currentJourney&&this.subscriptions.push(this.messageService.sendMessageToWelcomeConversation(this.welcomeConversationId,{conversation:this.welcomeConversationId,type:r.a.Text,content:this.newMessage}).subscribe((function(e){n.newMessage=null,n.fetchTimelineMessages()})))},e.prototype.logout=function(){var e=this;this.routeState="hide";var n=setTimeout((function(){e.actions=e.getEmptyActions(),e.userService.logout(),e.loanService.selectedLoan=null,e.router.navigate(["./","login"],{relativeTo:e.route}),e.sideBar.closeAll(),e.themeService.setBackGroundColor(e.themeService.defaultBackgroundColor),e.onboardingMessages=[],e.supportService.updateHelpMessageBoard(),clearTimeout(n)}),400)},e.prototype.goTo=function(e,n,t){var l=this;if(void 0===t&&(t=!0),!this.isActionSelect(n)){this.winRef.nativeWindow.localStorage.removeItem("isFirstAction"),this.routeState="hide";var o=setTimeout((function(){l.isRootUrl=!1,e.stopPropagation(),l.globalPreloaderService.setStatus(t),l.router.navigate(n,{relativeTo:l.route}).then((function(e){e||(l.routeState="show")})),l.winRef.nativeWindow.innerWidth<753&&l.sideBar.closeAll(),clearTimeout(o)}),400)}},e.prototype.goToProfile=function(e){e.stopPropagation(),this.user&&this.goTo(e,["./","profile"])},e.prototype.completeLoanRequest=function(){var e=this;if(this.isShowLoan&&this.loan){var n={borrowers:[this.loan.borrower.id],brokers:[],bdp:[],introducers:[],flowaffiliates:[],loan_purpose_notes:this.loan.loan_purpose_notes,loan_purpose_selected:this.loan.loan_purpose_selected,loan_request_exit_strategy:this.loan.loan_request_exit_strategy,loan_req_exit_strategy_desc:this.loan.loan_req_exit_strategy_desc,loan_request_duration:this.loan.loan_request_duration,loan_request_loan_amount:this.loan.loan_request_loan_amount,secured_by_properties:[this.loan.property.id],stage:"offer_in_principle",loan_request_estimated_value:this.loan.loan_request_estimated_value,is_completed:!0,loan_is_active:!0};"brokers"===this.journeyService.currentJourney?n.broker_accepted=!0:"flowaffiliate"===this.journeyService.currentJourney?n.flow_affiliate_accepted=!0:"bdp"===this.journeyService.currentJourney&&(n.bdp_accepted=!0),this.loanService.updateLoan(this.loan.id,n).then((function(n){e.loan=null,"brokers"===e.journeyService.currentJourney?e.router.navigate(["/","brokers","loans","to-be-submitted"]):"flowaffiliate"===e.journeyService.currentJourney?e.router.navigate(["/","flowaffiliate","loans","to-be-submitted"]):"bdp"===e.journeyService.currentJourney&&e.router.navigate(["/","bdp","loans","to-be-submitted"])}))}},e.prototype.goHelp=function(){var e=this;if(!this.isActionSelect(["/","help"])){this.routeState="hide";var n=setTimeout((function(){switch(e.journeyService.currentJourney){case"brokers":e.router.navigate(["/","brokers","help"]);break;case"bdp":e.router.navigate(["/","bdp","help"]);break;case"flowaffiliate":e.router.navigate(["/","flowaffiliate","help"]);break;case"lenders":e.router.navigate(["/","lenders","help"]);break;case"borrowers":e.router.navigate(["/","borrowers","help"]);break;default:e.router.navigate(["/","help"])}e.winRef.nativeWindow.innerWidth<753&&e.sideBar.closeAll(),clearTimeout(n)}),400)}},e.prototype.isJsonMsgContent=function(e){return e.startsWith("JSON:")},e.prototype.swipeLeft=function(){this.sideBar.swipeLeft()},e.prototype.swipeRight=function(){this.sideBar.swipeRight()},e.prototype.onOpenVideoWindow=function(e){var n=this;"/"===this.router.url?this.openVideoWindow():this.router.navigate(["/"]).then((function(){n.openVideoWindow(500)}))},e.prototype.closeVideoWindow=function(e){e.stopPropagation(),this.needShowVideoWindow=!1,this.stateVideoWindow="small",this.showVideoWindow=!1},e.prototype.getUsername=function(){var e="Lender";return"bdp"===this.journeyService.currentJourney?e="BDP":"flowaffiliate"===this.journeyService.currentJourney?e="Flow affiliate":"brokers"===this.journeyService.currentJourney?e="Broker":"borrowers"===this.journeyService.currentJourney&&(e="Borrower"),this.user&&this.user.firstname?this.user.firstname:e},e.prototype.selectLoan=function(e){var n="/onboarding/"+e.id;this.isActionSelect([n])||(n="/"+this.journeyService.currentJourney+"/onboarding/"+e.id,this.supportService.changeAnimationState("hide"),this.router.navigateByUrl(n))},e.prototype.downloadNextMessages=function(e){var n=this;"leeplenders"!==this.journeyService.currentJourney&&e.currentTarget.scrollHeight-e.currentTarget.clientHeight-e.currentTarget.scrollTop<800&&!this.isWorkingMessageRequest&&(this.isWorkingMessageRequest=!0,this.messageService.getTimeLineMessages(this.onboardingMessages.length,this.user).subscribe((function(e){n._countOfMessages=n.onboardingMessages.length,n.messageHandler(e,!1),n.isWorkingMessageRequest=!1})))},e.prototype.createPlayerOfShowHideActionPanel=function(e){var n="hide"===e?Object(i.e)("650ms",Object(i.f)([Object(i.i)({opacity:1,top:0,offset:0}),Object(i.i)({opacity:.6,top:"-36%",left:"-35%",transform:"scale(0.1)",offset:.4}),Object(i.i)({opacity:.1,left:"-45%",transform:"scale(0.01)",offset:.6}),Object(i.i)({opacity:.1,left:"-50%",offset:.8}),Object(i.i)({opacity:0,"min-width":"150px",width:"150px",offset:.85}),Object(i.i)({opacity:0,"min-width":"20px",width:"20px",offset:1})])):Object(i.e)("650ms",Object(i.f)([Object(i.i)({opacity:0,"min-width":"150px",width:"150px",offset:0}),Object(i.i)({opacity:0,"min-width":"390px",width:"390px",offset:.15}),Object(i.i)({opacity:0,left:"-35%",transform:"scale(0.1)",offset:.4}),Object(i.i)({opacity:.1,left:0,transform:"scale(0.1)",offset:.7}),Object(i.i)({opacity:.6,left:0,top:"-17%",transform:"scale(0.5)",offset:.85}),Object(i.i)({opacity:1,top:0,transform:"scale(1)",offset:1})]));return this.animBuilder.build(n).create(this.boardRef.nativeElement)},e.prototype.messageHandler=function(e,n){var t=this;void 0===n&&(n=!0);var l=!1;if(localStorage.getItem("Token")&&e.forEach((function(e){var n=t.onboardingMessages.findIndex((function(n){return n.id===e.id}));if(n<0)t.onboardingMessages.push(e),l=!0;else{var o=f({},t.onboardingMessages[n]);delete o.component,delete o.data,delete o.error;var r=f({},e);delete r.component,delete r.data,delete r.error,JSON.stringify(o)!==JSON.stringify(r)&&(t.onboardingMessages[n]=e)}})),0===this.onboardingMessages.length&&0===this.loans.length&&localStorage.getItem("Token")&&!this.matthewsIsAdded&&this.user&&this.user.broker&&(this.matthewsIsAdded=!0,this.onboardingMessages.unshift({id:1,author:{user:{username:"Peter Matthews"},picture:"/assets/img/peter-matthews.jpg",isStaticPicture:!0},type:r.a.Text,content:'\n
Congratulations, welcome to Brydg Flow. Please submit a loan application to start receiving offers.
\n
\n Create Loan',date:new Date,showTypings:!1,hidePinn:!0})),this.onboardingMessages.length>1&&localStorage.getItem("Token")&&this.matthewsIsAdded&&!this.matthewsIsDeleted){var o=this.onboardingMessages.findIndex((function(e){return 1===e.id}));o>=0&&(this.matthewsIsDeleted=!0,this.onboardingMessages.splice(o,1))}l&&n&&(this.ScrollService.changeScrollState(),this.changeDetector.detectChanges())},e.prototype.openVideoWindow=function(e){var n=this;if(void 0===e&&(e=0),this.showVideoWindow=!0,0!==e&&e>50)var t=setTimeout((function(){n.needShowVideoWindow=!0,n.stateVideoWindow="large",clearTimeout(t)}),e);else this.needShowVideoWindow=!0,setTimeout((function(){n.stateVideoWindow="large"}),50)},e.prototype.getConditionOfLenderChart=function(){return/\/onboarding\/[0-9]+/.test(this.router.url)&&this.isShowLoan&&!!this.user},e.prototype.initLoans=function(){var e=this;this.subscriptions.push(this.loanService.$loanChanged.subscribe((function(n){e.loans=n}))),this.subscriptions.push(this.loanService.$requestsChanged.subscribe((function(n){e.requests=n}))),this.subscriptions.push(this.loanService.$selectedLoanChange.subscribe((function(n){n&&(e.loan=f({},n),e.isShowLoan=n.isShowLoan,e.changeDetector.detectChanges(),n.notNeedAddress||e.loanService.getFirstAddressForLoan(e.loan).then((function(n){e.loan&&(e.loan.address=n)})))}))),this.subscriptions.push(this.loanService.$userLoanChange.subscribe((function(){e.loans=e.loanService.Loans,e.requests=e.loanService.Requests,e.changeDetector.detectChanges()})))},e.prototype.getEmptyActions=function(){return[{id:"new_loan",route:["./","onboarding"],label:"New Loan",info:"",description:"{count} forms to be completed",template:"{count} forms to be completed",notifier:"",faIcon:"fa-plus"},{id:"to_be_preaccepted",route:["./","loans","to-be-preaccepted"],label:"Incoming loans",info:"",description:"{count} forms to be completed",template:"{count} forms to be completed",notifier:"",faIcon:"fa-flag",count:0},{id:"to_be_submitted",route:["./","loans","to-be-submitted"],label:"Loan Enquiries",info:"",description:"{count} forms to be completed",template:"{count} forms to be completed",notifier:"",faIcon:"fa-flag",count:0},{id:"archived_enquiries",route:["./","loans","archived"],label:"Archived Enquiries",info:"",description:"{count} Loans, {offers} with offers",template:"{count} Loans, {offers} with offers",notifier:"",faIcon:"fa-clock-o",count:0},{id:"to_be_accepted",route:["./","loans","to-be-accepted"],label:"To Be Accepted",info:"",description:"{count} Loans, {offers} with offers",template:"{count} Loans, {offers} with offers",notifier:"",faIcon:"fa-clock-o",count:0},{id:"in_progress",route:["./","loans","in-progress"],label:"In Progress",info:"",description:"{count} Loans, {offers} with issues",template:"{count} Loans, {offers} with issues",notifier:"",faIcon:"fa-tasks",count:0},{id:"active_loans",route:["./","loans","active"],label:"Active Loans",info:"",description:"{count} Loans, {offers} with an issues",template:"{count} Loans, {offers} with an issues",notifier:"",faIcon:"fa-briefcase",count:0}]},e.prototype.listenRoutesChange=function(){var e=this;this.subscriptions.push(this.routerService.$onRouteChange.asObservable().subscribe((function(n){var t=n.snapshot.data;e.isShowLoan=t.showLoan,e.loan=t.loan,e.isDealView=t.dealView,e.showCreateLoanButton=t.showCreateLoanButton,e.windowRef.nativeWindow&&e.windowRef.nativeWindow.screen.width<=450&&0===n.snapshot.url.length&&(e.sideBar.openLeftMenu(),e.user||e.sideBar.swipeRight()),e.isAddedChatLender=!1,"/brokers"==e.router.url&&e.cookieService.get("first_name")?e.router.navigate(["/","brokers","login"]):"/bdp"==e.router.url&&e.cookieService.get("first_name")?e.router.navigate(["/","bdp","login"]):"/flowaffiliate"==e.router.url&&e.cookieService.get("first_name")&&e.router.navigate(["/","flowaffiliate","login"])})))},e.prototype.addChartIntoChatLine=function(){var e=this;if(this.getConditionOfLenderChart()&&this.onboardingMessages&&this.onboardingMessages.length>0&&!this.onboardingMessages[0].hasChart&&!this.isAddedChatLender&&this.loan){this.isAddedChatLender=!0;var n={loan_amount:this.loan.loan_request_loan_amount,loan_value:this.loan.loan_request_estimated_value,loan_duration:this.loan.loan_request_duration,security_address:this.loan.address.address_line,is_first_charge:this.loan.property.first_charge,is_owner_occupied:this.loan.property.not_homeowner_occupied,property_type:this.loan.property.type,loan_purpose_selected:this.loan.loan_purpose_selected,loan_repayment_method:this.loan.loan_repayment_method};this.subscriptions.push(this.chartService.getHotDataByParams(n).subscribe((function(t){var l=t.map((function(e){return parseFloat(e.rate)})),o=Math.min.apply(null,l),i=Math.max.apply(null,l),a=t.reduce((function(e,n){return e+n.count}),0),u={type:r.a.System,hasChart:!0,date:new Date,hidePinn:!0,parameters:n,content:'For '+e.loan.address.address_line+", we have "+a+" borrowers that can lend at rates between "+o+"% and "+i+"% p.a. Subject to valuation, completed application and borrower checks."};e.messageService.$onAddedMessageIntoChatLine.emit(u)})))}this.onboardingMessages&&this.onboardingMessages.length>0&&this.onboardingMessages[0].hasChart&&this.isAddedChatLender&&!/\/onboarding\/[0-9]+/.test(this.router.url)&&this.onboardingMessages.shift()},e.prototype.initConversationList=function(){this.welcomeConversationId=null,this.journeyService.currentJourney&&"lenders"!==this.journeyService.currentJourney&&"borrowers"!==this.journeyService.currentJourney&&(localStorage.getItem("Token")?this.initMainChat():this.initWelcomeChat())},e.prototype.showActionButtons=function(){var e=this;this.isFirstRun&&this.zone.runOutsideAngular((function(){var n=setTimeout((function(){clearTimeout(n),e.isFirstRun=!1;var t=e.cookieService.get("first_name");e.zone.run((function(){if(t)var n=setTimeout((function(){e.isShowButton=!0,clearTimeout(n)}),1600);else e.isShowButton=!0}))}),1500)}))},e.prototype.initMainChat=function(){var e=this;if(this.matthewsIsAdded=!1,"leeplenders"!==this.journeyService.currentJourney){var n=this.messageService.getTimeLineMessages(this._countOfMessages,this.user).subscribe((function(n){e.messageHandler(n),e.fetchTimelineMessages()}),(function(e){n.unsubscribe()}));this.subscriptions.push(n)}},e.prototype.initWelcomeChat=function(){var e=this;this.matthewsIsAdded=!1,"leeplenders"!==this.journeyService.currentJourney&&this.subscriptions.push(this.httpService.get("/api/"+this.journeyService.currentJourney+"/welcome/").subscribe((function(n){e.welcomeConversationId=n.id,e.messageService.setChatLineId(n.id),e.fetchTimelineMessages()})))},e.prototype.fetchTimelineMessages=function(){var e=this;this.subscriptions.push(this.checkMessagesOfTimelineChat().subscribe((function(n){n.result&&e.messageService.getNewTimeLineMessages().subscribe((function(n){e.onboardingMessages=n.concat(e.onboardingMessages),e.ScrollService.changeScrollState()}))})))},e.prototype.storageChange=function(e){null!==e.key&&"needToLogout"!==e.key||this.winRef.nativeWindow.location.reload()},e.prototype.getDataOfDashboard=function(){var e=this,n=[];return this.fetchDataByTimeout(7,(function(t){return e.sideBar.getDataFromServer().pipe(Object(d.a)((function(l){if(0===t)n=l.offers;else if(l.offers&&n.length!==l.offers.length){var o=new Set(l.offers.filter((function(e){return!n.some((function(n){return n.offers__id===e.offers__id}))})).map((function(e){return e.id})));n=l.offers,e.sideBar.fireOffersCountChanged(Array.from(o))}})))}))},e.prototype.checkMessagesOfTimelineChat=function(){var e=this;return this.fetchDataByTimeout(5,(function(){return e.messageService.checkNewTimeLineMessages()}))},e.prototype.fetchDataByTimeout=function(e,n){var t=this;return Object(u.a)(0,1e3*e).pipe(Object(c.a)((function(){return t.alive&&!!t.user})),Object(p.a)(n))},e}()},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return s})),t(33),t(17),t(19),t(83);var l=t(1),o=(t(24),t(188)),r=(t(36),t(11),t(34),t(20),t(45),t(15),t(174),t(215)),i=t(25),a=t(9),u=function(){return(u=Object.assign||function(e){for(var n,t=1,l=arguments.length;t=0?e.whichArea="leeplender":n.url.indexOf("lenders")>=0?e.whichArea="lender":n.url.indexOf("borrowers")>=0&&(e.whichArea="borrower")}))),this.subscriptions.push(this.supportService.onTermsOpened().subscribe((function(n){e.stateTermsWindow=n?"large":"small"})));var n=this.cookieService.get("email");n&&(this.model.username=n)}},n.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},n.prototype.openMenu=function(){this.leftBar.toggle()},n.prototype.defaultReg=function(){this.socialRegister=!1},n.prototype.socialReg=function(){this.socialRegister=!0},n.prototype.toFinalStep=function(e,n){var t=this,l=!!localStorage&&localStorage.getItem("previousUrl");this.messageService.clearAllConversation();var o=setTimeout((function(){switch(t.messageService.$initTimelineChat.emit(),t.journeyService.currentJourney){case"brokers":t.router.navigate(e.broker&&e.broker.terms_accepted?[l||(n?"/brokers/loans/to-be-submitted":"/brokers")]:["/","brokers","profile"]);break;case"flowaffiliate":t.router.navigate([l||(n?"/flowaffiliate/loans/to-be-submitted":"/flowaffiliate")]);break;case"bdp":t.router.navigate([l||(n?"/bdp/loans/to-be-submitted":"/bdp")]);break;case"leeplenders":localStorage.setItem("isFirstAction","true"),t.router.navigate(l?[l]:["/","leeplenders","full-dealflow"]);break;case"lenders":localStorage.setItem("isFirstAction","true"),t.router.navigate(l?[l]:["/","lenders","full-dealflow"]);break;case"borrowers":t.router.navigate(["/","borrowers","onboarding"])}clearTimeout(o)}),250);l&&localStorage.removeItem("previousUrl")},n.prototype.loginWithEmail=function(e){var n=this;if(!e.invalid&&!this.isProcess){var t=localStorage.getItem("tempLoanForm"),l=(t?JSON.parse(t):[]).length>0;this.isProcess=!0,this.userService.logout(),this.loanService.saveTempLoan(this.userService.emailRegisterUser(this.model)).subscribe((function(e){n.errors=[],n.isProcess=!1,n.toFinalStep(e,l)}),(function(e){n.isProcess=!1,n.isIncorrectCredentials=!0,500===e.status?n.errorMessage="No user found by these credentials":(n.errors=e.non_field_errors,n.errorMessage="The username or password that you have entered is incorrect"),n.cdr.detectChanges()}))}},n.prototype.register=function(e){var n=this;if(this.errorsJSON=null,!e.invalid&&!this.isProcess&&this.regModel.password===this.regModel.confirmePassword){this.isProcess=!0;var t=u({},e.value);t.picture=this.defaultAvatar,this.userService.registerNewUserObservable(t).pipe(Object(i.a)((function(e){return e.error?Object(r.a)(e):n.userService.emailRegisterUser({username:n.regModel.username,password:n.regModel.password}).pipe(Object(a.a)((function(t){var l=n.journeyService.currentJourney.substring(0,String(n.journeyService.currentJourney).length-1);return t.role=l,n.winRef.nativeWindow.localStorage.setItem("UserData",JSON.stringify(t)),n.cookieService.set("role",String(t.role)),e})))}))).subscribe((function(e){n.messageService.clearAllConversation(),n.messageService.$initTimelineChat.emit(),n.toFinalStep(e,!1),n.isProcess=!1}),(function(e){n.isProcess=!1,e instanceof Object&&e.details&&Object.keys(e.details).forEach((function(t){var o;n[t]&&n[t]instanceof l.NgModel&&n[t].control.setErrors(((o={})[t]=e.details[t],o))})),n.cdr.markForCheck()}))}},n.prototype.setOriginationFee=function(e){this.user.isOriginationPercentage=e.dropdown.key,this.user.originationFee=e.value},n.prototype.setRedemptionFee=function(e){this.user.isRedemptionFixed=e.dropdown.key,this.user.redemptionFee=e.value},n.prototype.hasError=function(e,n){return e&&e.submitted&&n.invalid||n&&(n.touched||n.dirty)&&n.invalid},n.prototype.onUsernameChanged=function(){this.errorsJSON&&delete this.errorsJSON.username_already_used},n.prototype.onEmailChanged=function(){this.errorsJSON&&delete this.errorsJSON.email_already_used},n.prototype.setDefaultUserAvatar=function(){var e=this,n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(n){e.defaultAvatar=n.target.result},t.readAsDataURL(n.response)},n.open("GET","/assets/img/default-profile.png"),n.responseType="blob",n.send()},n}()}).call(this,t(274))},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(11),t(19);var l=function(){function e(e,n,t){this.userService=e,this.cdr=n,this.isProcess=!1,this.success=null,this.emailPattern=t.validation.emailPattern}return e.prototype.ngOnInit=function(){},e.prototype.hasError=function(e,n){return e&&e.submitted&&n.invalid||n&&(n.touched||n.dirty)&&n.invalid},e.prototype.resetPassword=function(e){var n=this;e.invalid||(this.isProcess=!0,this.userService.resetPassword(this.email).subscribe((function(e){n.isProcess=!1,n.success=!e.error,n.cdr.detectChanges()}),(function(){n.isProcess=!1,n.success=!1,n.cdr.detectChanges()})))},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(11),t(19);var l=function(){function e(e,n,t,l){this.userService=e,this.cdr=n,this.isProcess=!1,this.success=null,this.passwordPattern=l.validation.passwordPattern,this.sendModel={uid:t.snapshot.params.uid,token:t.snapshot.params.token,new_password1:null,new_password2:null}}return e.prototype.ngOnInit=function(){},e.prototype.hasError=function(e,n){return e&&e.submitted&&n.invalid||n&&(n.touched||n.dirty)&&n.invalid},e.prototype.resetPassword=function(e){var n=this;e.invalid||this.sendModel.new_password1!==this.sendModel.new_password2||(this.isProcess=!0,this.userService.confirmResetPassword(this.sendModel).subscribe((function(e){n.isProcess=!1,n.success=!e.error,n.cdr.detectChanges()}),(function(){n.isProcess=!1,n.success=!1,n.cdr.detectChanges()})))},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){}return e.prototype.ngOnInit=function(){},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t(145),t(36),t(34),t(19);var l=t(188),o=t(86),r=(t(189),t(22),t(70),function(){function e(e,n,t,l,o,r,i,a){this.loanService=e,this.router=n,this.route=t,this.messageService=l,this.userService=o,this.globalPreloaderService=r,this.dealViewService=i,this.lenderService=a,this.currentConversationId="",this.borrowerTabs=[],this.tabs=[],this.calculatedModel={},this.summaryModel={},this.model={},this.interestRate=[3,null]}return e.prototype.ngOnInit=function(){var e=this,n=new l.a(this.userService.User);this.route.data.subscribe((function(n){if(e.loan=n.loan,e.loan.error)return e.router.navigate(["../"]),void e.globalPreloaderService.setStatus(!1);n.interestRate&&!n.interestRate.error&&(e.interestRate=n.interestRate.range),e.loanService.getDealDetails(e.loan.id).subscribe((function(t){e.activeTab={id:1,name:"Loan Details",active:!0,html:t,showAdditionalTab:!1},e.tabs.push(e.activeTab),e.tabs.sort((function(e,n){return e.id-n.id})),e.globalPreloaderService.setStatus(!1),n.hasOIP&&e.lenderService.getOfferParams(e.loan.id).subscribe((function(t){var l=e.lenderService.prepareModelsOfQuickOffer(t);e.model=l.model,e.calculatedModel=l.calculatedModel,e.summaryModel=l.summaryModel,e.hasOIP=!!n.hasOIP}))}),(function(n){e.globalPreloaderService.setStatus(!1)})),e.loanService.getBorrowersDetails(e.loan.id).subscribe((function(n){e.borrowerTabs=n,e.borrowerTabs[0].active=!0,e.tabs.push({id:2,name:"Borrowers Details",active:!1,html:e.borrowerTabs[0].html,showAdditionalTab:!0}),e.tabs.sort((function(e,n){return e.id-n.id}))})),e.loanService.getLoanCreditCommitteeDetails(e.loan.id).subscribe((function(n){e.tabs.push({id:3,name:"Credit Committee",active:!1,html:n,showAdditionalTab:!1}),e.tabs.sort((function(e,n){return e.id-n.id}))})),e.loanService.$selectedLoanChange.emit(e.loan),e.loanService.selectLoan(n.loan)})),this.userAvatarUrl=n.avatar,this.userId=n.id,this.dealViewService.$onStartCall.subscribe((function(n){e.videoCallStarted=n})),this.participant={name:n.fullname,organization:n.organization,role:"Broker",stream:null}},e.prototype.startConference=function(){this.dealViewService.startConference()},e.prototype.initConversation=function(){this.messageService.getCurrentUserConversations()},e.prototype.onChangeTab=function(e,n){e.stopPropagation(),n.active||(this.tabs.forEach((function(e){return e.active=!1})),n.active=!0,this.activeTab=n)},e.prototype.onChangeBorrowerTab=function(e,n){e.stopPropagation(),n.active||(this.borrowerTabs.forEach((function(e){return e.active=!1})),n.active=!0,this.activeTab.html=n.html)},e.prototype.initConvId=function(){var e=this;this.messageService.getConvId("ProjectConversation-"+this.loan.id,o.a.ProjectConversation).then((function(n){e.currentConversationId=n+""}))},e}())},function(e,n,t){"use strict";function l(){}t.d(n,"a",(function(){return l}))},,,,,,function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(15),t(174),t(19);var l=function(){function e(e,n,t){this.journeyService=e,this.cookieService=n,this.userService=t}return e.prototype.resolve=function(e){if(this.journeyService.currentJourney=e.data.journeyName,this.userService.isAuthenticated())switch(this.cookieService.get("role")){case"lender":this.journeyService.currentJourney="lenders";break;case"bdp":this.journeyService.currentJourney="bdp";break;case"flowaffiliate":this.journeyService.currentJourney="flowaffiliate";break;case"broker":this.journeyService.currentJourney="brokers";break;case"borrower":this.journeyService.currentJourney="borrowers";break;case"leeplender":this.journeyService.currentJourney="leeplenders";break;default:this.journeyService.currentJourney=e.data.journeyName}return e.data.journeyName},e}()},function(e,n,t){"use strict";(function(e){var l=t(0);n.Ng2Datetime=function(){function n(){}return n.formatDate=function(n,t,l){if(n&&!t){var o=function(e){return("0"+e).slice(-2)};return n.getFullYear()+"-"+o(n.getMonth()+1)+"-"+o(n.getDate())+(l?"":" "+o(n.getHours())+":"+o(n.getMinutes()))}return n&&e?e(n).format(t):""},n.parseDate=function(t,l,o){if(void 0===e)return t=n.removeTimezone(t),t+=n.addDSTOffset(t),n.parseFromDefaultFormat(t);if(o||l){var r=[];l&&r.push(l),o&&r.push(o);var i=e(t,r),a=i.toDate();return i.isValid()||(a=e(t,e.ISO_8601).toDate()),a}return t.length>4?a=e(t,"YYYY-MM-DD HH:mm").toDate():new Date},n.getWeekNumber=function(e){e instanceof Date||(e=new Date);var n=(e.getDay()+6)%7;e.setDate(e.getDate()-n+3);var t=e.valueOf();return e.setMonth(0,1),4!==e.getDay()&&e.setMonth(0,1+(4-e.getDay()+7)%7),1+Math.ceil((t-e)/6048e5)},n.removeTimezone=function(e){return(e+=e.match(/[0-9]{2}:/)?"":" 00:00:00").replace(/([0-9]{2}-[0-9]{2})-([0-9]{4})/,"$2-$1").replace(/([\/-][0-9]{2,4})\ ([0-9]{2}\:[0-9]{2}\:)/,"$1T$2").replace(/EDT|EST|CDT|CST|MDT|PDT|PST|UT|GMT/g,"").replace(/\s*\(\)\s*/,"").replace(/[\-\+][0-9]{2}:?[0-9]{2}$/,"").replace(/000Z$/,"00")},n.addDSTOffset=function(e){var t=n.parseFromDefaultFormat(e),l=new Date(t.getFullYear(),0,1),o=new Date(t.getFullYear(),6,1),r=Math.max(l.getTimezoneOffset(),o.getTimezoneOffset()),i=t.getTimezoneOffset()=0?"-":"+")+("0"+(i=Math.abs(i))/60).slice(-2)+":"+("0"+i%60).slice(-2)},n.parseFromDefaultFormat=function(e){var n=e.split(/[\+\-:\ T]/);return new Date(parseInt(n[0],10),parseInt(n[1],10)-1,parseInt(n[2],10),parseInt(n[3]||"0",10),parseInt(n[4]||"0",10),parseInt(n[5]||"0",10))},n.prototype.getMonthData=function(e,t){e=t>11?e+1:t<0?e-1:e,t=(t+12)%12;var l=new Date(e,t,1),o=new Date(e,t+1,0),r=new Date(e,t,0),i=o.getDate(),a=r.getDate(),u=(l.getDay()-n.firstDayOfWeek+7)%7||7,s=n.days.slice(0,42-(u+i));s.length>7&&(s=s.slice(0,s.length-7));var d=new Date(l);d.setDate(l.getDate()-u%7);var c=n.getWeekNumber(d),p=Math.ceil((i+u%7)/7),f=Array(p).fill(0).map((function(e,n){var t=(n+c+52)%52;return 0===t?52:t})),g=n.daysOfWeek.concat(n.daysOfWeek).splice(n.firstDayOfWeek,7);return{year:e,month:t,weekends:n.weekends,firstDayOfWeek:n.firstDayOfWeek,fullName:n.months[t].fullName,shortName:n.months[t].shortName,localizedDaysOfWeek:g,days:n.days.slice(0,i),leadingDays:n.days.slice(-u-(31-a),a),trailingDays:s,weekNumbers:f}},n.locale={date:"date",time:"time",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",currentTime:"current time"},n.days=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],n.weekends=[0,6],n.daysOfWeek=void 0===e?[{fullName:"Sunday",shortName:"Su"},{fullName:"Monday",shortName:"Mo"},{fullName:"Tuesday",shortName:"Tu"},{fullName:"Wednesday",shortName:"We"},{fullName:"Thursday",shortName:"Th"},{fullName:"Friday",shortName:"Fr"},{fullName:"Saturday",shortName:"Sa"}]:e.weekdays().map((function(n,t){return{fullName:n,shortName:e.weekdaysShort()[t].substr(0,2)}})),n.firstDayOfWeek=void 0===e?0:e.localeData().firstDayOfWeek(),n.months=void 0===e?[{fullName:"January",shortName:"Jan"},{fullName:"February",shortName:"Feb"},{fullName:"March",shortName:"Mar"},{fullName:"April",shortName:"Apr"},{fullName:"May",shortName:"May"},{fullName:"June",shortName:"Jun"},{fullName:"July",shortName:"Jul"},{fullName:"August",shortName:"Aug"},{fullName:"September",shortName:"Sep"},{fullName:"October",shortName:"Oct"},{fullName:"November",shortName:"Nov"},{fullName:"December",shortName:"Dec"}]:e.months().map((function(n,t){return{fullName:n,shortName:e.monthsShort()[t]}})),n.decorators=[{type:l.Injectable}],n.ctorParameters=[],n}()}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return i}));var l=t(3),o=(t(24),t(15),t(18)),r=function(){},i=function(e){function n(n,t){var l=e.call(this)||this;return l.httpService=n,l.journeyService=t,l}return Object(l.d)(n,e),n.prototype.get=function(){return"leeplenders"===this.journeyService.currentJourney?Object(o.a)():this.httpService.get("/api/"+this.journeyService.currentJourney+"/dashboard")},n}(r)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(3),o=t(16);function r(e){return void 0===e&&(e=null),function(n){return n.lift(new i(e))}}var i=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,n){return n.subscribe(new a(e,this.defaultValue))},e}(),a=function(e){function n(n,t){var l=e.call(this,n)||this;return l.defaultValue=t,l.isEmpty=!0,l}return l.d(n,e),n.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},n.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=(t(17),function(){function e(e){this.$onBackGroundChanged=new l.EventEmitter;var n=e.nativeWindow.localStorage.getItem("backgroundColor");this.defaultBackgroundColor=n||"#7b6f51"}return e.prototype.onBackGroundChanged=function(){return this.$onBackGroundChanged.asObservable()},e.prototype.setBackGroundColor=function(e){this.$onBackGroundChanged.emit(e)},e}())},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(80);function o(e){return!Object(l.a)(e)&&e-parseFloat(e)+1>=0}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(19);var l=function(){function e(e,n){this.router=e,this.userService=n}return e.prototype.canActivate=function(e,n){return this.checkAccess(n.url)},e.prototype.canActivateChild=function(e,n){return this.checkAccess(n.url)},e.prototype.checkAccess=function(e){return!(!localStorage||(!localStorage||!localStorage.getItem("Token"))&&(localStorage.setItem("previousUrl",e),this.userService.logout(),e.indexOf("lenders")>=0?this.router.navigate(["/","lenders","login"]):e.indexOf("borrowers")>=0?this.router.navigate(["/","borrowers","login"]):e.indexOf("flowaffiliate")>=0?this.router.navigate(["/","flowaffiliate","login"]):e.indexOf("bdp")>=0?this.router.navigate(["/","bdp","login"]):this.router.navigate(["/","brokers","login"]),1))},e}()},function(e,n,t){"use strict";function l(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}t.d(n,"a",(function(){return o})),l.prototype=Object.create(Error.prototype);var o=l},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(81),o=t(18),r=t(67),i=t(190);function a(){for(var e=[],n=0;n=0&&e100?100:e).toFixed(2)+"% "),this.loan.leftTime=this.getLeftTime(),this.loan.LTV=e.toFixed(2)+" ",this.currentJourney=this.journeyService.currentJourney,this.isBrokersJourney="brokers"===this.currentJourney,this.brokerLink="/#/brokers/"+this.checkLocation()+"/"+this.loan.id,this.brokerOfferLink="/#/brokers/onboarding/"+this.loan.id+"/offers","flowaffiliate"===this.currentJourney?(this.brokerLink="/#/flowaffiliate/"+this.checkLocation()+"/"+this.loan.id,this.brokerOfferLink="/#/flowaffiliate/onboarding/"+this.loan.id+"/offers"):"bdp"===this.currentJourney&&(this.brokerLink="/#/bdp/"+this.checkLocation()+"/"+this.loan.id,this.brokerOfferLink="/#/bdp/onboarding/"+this.loan.id+"/offers"),this.getPropertyImg()},n.prototype.ngOnChanges=function(e){if(e.loan&&!this.loan.error){var n=this.getLTV();this.loan.LTV_progress=this.sanitizer.bypassSecurityTrustStyle((n>100?100:n).toFixed(2)+"% "),this.loan.LTV=n.toFixed(2)+" ",this.loan.leftTime=this.getLeftTime(),e.loan.firstChange&&this.getPropertyImg()}},n.prototype.selectLoan=function(e){e.preventDefault(),this.onSelectLoan.emit(this.loan)},n.prototype.activateOffer=function(e,n){n.preventDefault(),this.onSelectOffer.emit({loan:this.loan,offerId:e})},n.prototype.getPropertyImg=function(){this.imageData=this.supportService.getPropertyImageAcync(this.loan.property&&this.loan.property.property_images_from_google)},n.prototype.getLeasehold=function(){return this.loan.property&&this.loan.property.lease_remaining?this.loan.property.lease_remaining:"---"},n.prototype.checkShowCountry=function(){return!this.loan.address||(this.loan.address.admin_area_name||this.loan.address.city).length<15},n.prototype.goToLongForm=function(){this.router.navigate(["../../onboarding",this.loan.id],{relativeTo:this.route})},n.prototype.getLeftTime=function(){if(!this.loan.loan_request_drawdown_date)return"N/A";var n=e.utc(),t=e.utc(this.loan.loan_request_drawdown_date),l=e.utc(t.diff(n)),o=t.diff(n,"days");if(o<0)return"N/A";var r=l.format("HH:mm");return 0==+o?r+"h left":1==+o?o+" day "+r+"h left":o+" days "+r+"h left"},n.prototype.getLTV=function(){var e=parseFloat(this.loan.loan_request_loan_amount)/parseFloat(this.loan.loan_request_estimated_value);return isNaN(e)?0:100*e},n.prototype.checkLocation=function(){return location.hash.indexOf("to-be-submitted")>=0?"onboarding":"deal"},n}())}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(187),o=t(210),r=t(146),i=t(235);function a(e,n){return arguments.length>=2?function(t){return Object(i.a)(Object(l.a)(e,n),Object(o.a)(1),Object(r.a)(n))(t)}:function(n){return Object(i.a)(Object(l.a)((function(n,t,l){return e(n,t,l+1)})),Object(o.a)(1))(n)}}},function(e,n,t){"use strict";var l=t(0),o=t(2),r=function(){function e(e){this.decimalPipe=e}return e.prototype.transform=function(e,n,t){return e>=n?""+(e/n).toFixed(3)+t:this.decimalPipe.transform(e)},e}();t(165),t(20),t(5),t(13),t(15),t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return p}));var i=l["ɵcrt"]({encapsulation:0,styles:[[".loan-request[_ngcontent-%COMP%]{min-height:10rem;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;cursor:pointer}.loan-request.default-cursor[_ngcontent-%COMP%]{cursor:default}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-img-wrapper[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-img-wrapper[_ngcontent-%COMP%] .loan-img[_ngcontent-%COMP%]{max-width:none;max-height:none;float:none;padding:0;position:absolute;top:0;bottom:0;left:0;right:0;background-size:cover!important;background-repeat:no-repeat!important;background-position:50%!important}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%]{width:calc(100% - 10rem);float:right;height:100%;background-color:#fff;min-height:10rem;color:#584d34;font-family:LatoWeb}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info.is-single[_ngcontent-%COMP%]{background-color:#f2f1ed}@media (max-width:750px){.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%]{width:100%;overflow:auto}}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loanLocation[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loanSpec[_ngcontent-%COMP%]{padding:.9rem;display:-webkit-box;display:-ms-flexbox;display:flex}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%]{padding:.5rem 0;border-bottom:1px solid rgba(123,111,81,.43);margin:0 1rem;border-top:1px solid rgba(123,111,81,.43);position:relative}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20%;float:left;border-right:1px solid rgba(123,111,81,.43)}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{width:70%}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] div.daysLeft[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child{border-right:none}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] .daysLeft[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] .percent[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;float:left;font-family:LatoWeb;text-align:center}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single[_ngcontent-%COMP%] .daysLeft[_ngcontent-%COMP%]{display:none}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.single.show-left-time[_ngcontent-%COMP%] .daysLeft[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.5rem 0;border-bottom:1px solid rgba(123,111,81,.43);margin:0 1rem;border-top:1px solid rgba(123,111,81,.43);position:relative}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{float:left;border-right:1px solid rgba(123,111,81,.43)}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .cost[_ngcontent-%COMP%]{width:55%}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .percent[_ngcontent-%COMP%]{width:45%;border-right:none}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .daysLeft[_ngcontent-%COMP%]{display:none;border-right:none;font-size:.8em}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .daysLeft[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .percent[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;float:left;font-family:LatoWeb;text-align:center}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection[_ngcontent-%COMP%] .br[_ngcontent-%COMP%]{display:none}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection.lenders[_ngcontent-%COMP%] .cost[_ngcontent-%COMP%]{width:41%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection.lenders[_ngcontent-%COMP%] .cost[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-size:17px}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection.lenders[_ngcontent-%COMP%] .percent[_ngcontent-%COMP%]{width:40%;border-right:1px solid rgba(123,111,81,.43);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection.lenders[_ngcontent-%COMP%] .daysLeft[_ngcontent-%COMP%]{width:19%;border-right:none;font-size:.8em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loan-terms.collection.lenders[_ngcontent-%COMP%] .br[_ngcontent-%COMP%]{display:none}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loanLocation[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;width:25%;float:left}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loanLocation[_ngcontent-%COMP%] span.country[_ngcontent-%COMP%]{width:50%;text-align:right}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loanLocation[_ngcontent-%COMP%] span.w75[_ngcontent-%COMP%]{width:75%}.loan-request[_ngcontent-%COMP%] .loan-request-wrapper[_ngcontent-%COMP%] .loan-info[_ngcontent-%COMP%] .loanLocation[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#ff6500;padding-left:10px;font-size:14px;cursor:pointer}.loan-request[_ngcontent-%COMP%] .loan-short-info[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:1rem;font-family:LatoWeb;font-size:1.5rem;border-bottom:1px solid #fff;background-color:#f2f1ed;cursor:pointer}.loan-request[_ngcontent-%COMP%] .loan-short-info.hidden[_ngcontent-%COMP%]{display:none}.loan-request[_ngcontent-%COMP%] .loan-short-info[_ngcontent-%COMP%] .eye[_ngcontent-%COMP%]{background-color:#ff6500;position:absolute;display:none;width:55px;height:calc(100% + 2px);top:-1px;left:-56px}.loan-request[_ngcontent-%COMP%] .loan-short-info.view[_ngcontent-%COMP%]{position:relative;width:90%;left:55px;border:1px solid #bdb7a8}.loan-request[_ngcontent-%COMP%] .loan-short-info.view[_ngcontent-%COMP%] .eye[_ngcontent-%COMP%]{display:block;font-size:3rem;text-align:center;color:#fff}.loan-request[_ngcontent-%COMP%] .loan-short-info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#584d34}.loan-request[_ngcontent-%COMP%] .loan-short-info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{color:rgba(88,77,52,.44);margin-right:1rem;max-width:70px;width:100%;display:block;float:left}"]],data:{}});function a(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","country"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){var t=n.component;e(n,1,0,null==t.loan.address?null:t.loan.address.country)}))}function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"i",[["class","fa fa-edit"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goToLongForm()&&l),l}),null,null))],null,null)}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,21,"div",[["class","loan-terms collection"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{lenders:0}),(e()(),l["ɵeld"](3,0,null,null,7,"div",[["class","cost"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,3,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["",""])),l["ɵppd"](7,4),(e()(),l["ɵeld"](8,0,null,null,0,"br",[["class","br"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](10,null,[""," month loan term"])),(e()(),l["ɵeld"](11,0,null,null,6,"div",[["class","percent"]],null,null,null,null,null)),(e()(),l["ɵeld"](12,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](13,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](14,null,["","% LTV"])),(e()(),l["ɵeld"](15,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](16,null,[""," property"])),l["ɵppd"](17,3),(e()(),l["ɵeld"](18,0,null,null,2,"div",[["class","daysLeft"]],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](20,null,["",""])),(e()(),l["ɵeld"](21,0,null,null,0,"div",[["class","progress-bar"]],[[4,"width",null]],null,null,null,null))],(function(e,n){e(n,1,0,"loan-terms collection",e(n,2,0,"lenders"===n.component.currentJourney))}),(function(e,n){var t=n.component;e(n,6,0,l["ɵunv"](n,6,0,e(n,7,0,l["ɵnov"](n.parent,0),t.loan.loan_request_loan_amount,"GBP","symbol","1.0-0"))),e(n,10,0,t.loan.loan_request_duration),e(n,14,0,t.loan.LTV),e(n,16,0,l["ɵunv"](n,16,0,e(n,17,0,l["ɵnov"](n.parent,1),t.loan.loan_request_estimated_value,1e6,"m"))),e(n,20,0,t.loan.leftTime),e(n,21,0,t.loan.LTV_progress)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,32,"div",[["class","loan-terms single"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{"show-left-time":0}),(e()(),l["ɵeld"](3,0,null,null,12,"div",[["class","cost"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,3,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["",""])),l["ɵppd"](7,4),(e()(),l["ɵeld"](8,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,[" Loan Amount"])),(e()(),l["ɵeld"](10,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](12,null,["",""])),l["ɵppd"](13,4),(e()(),l["ɵeld"](14,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,[" Property Value"])),(e()(),l["ɵeld"](16,0,null,null,5,"div",[["class","date"]],null,null,null,null,null)),(e()(),l["ɵeld"](17,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](18,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](19,null,["",""])),(e()(),l["ɵeld"](20,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Months"])),(e()(),l["ɵeld"](22,0,null,null,6,"div",[["class","percent"]],null,null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](25,null,["","%"])),(e()(),l["ɵeld"](26,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](27,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["LTV"])),(e()(),l["ɵeld"](29,0,null,null,2,"div",[["class","daysLeft"]],null,null,null,null,null)),(e()(),l["ɵeld"](30,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](31,null,["",""])),(e()(),l["ɵeld"](32,0,null,null,0,"div",[["class","progress-bar"]],[[4,"width",null]],null,null,null,null))],(function(e,n){e(n,1,0,"loan-terms single",e(n,2,0,n.component.showLeftTime))}),(function(e,n){var t=n.component;e(n,6,0,l["ɵunv"](n,6,0,e(n,7,0,l["ɵnov"](n.parent,0),t.loan.loan_request_loan_amount,"GBP","symbol","1.0-0"))),e(n,12,0,l["ɵunv"](n,12,0,e(n,13,0,l["ɵnov"](n.parent,0),t.loan.loan_request_estimated_value,"GBP","symbol","1.0-0"))),e(n,19,0,t.loan.loan_request_duration),e(n,25,0,t.loan.LTV),e(n,31,0,t.loan.leftTime),e(n,32,0,t.loan.LTV_progress)}))}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"a",[],[[1,"href",4]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.activateOffer(e.context.$implicit,t)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,7,"div",[["class","loan-short-info"]],null,null,null,null,null)),l["ɵdid"](2,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](3,{hidden:0}),(e()(),l["ɵeld"](4,0,null,null,2,"div",[["class","general-info"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["Offer #",""])),(e()(),l["ɵeld"](7,0,null,null,1,"div",[["class","eye"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-eye"]],null,null,null,null,null))],(function(e,n){e(n,2,0,"loan-short-info",e(n,3,0,!n.component.showOffers))}),(function(e,n){var t=n.component;e(n,0,0,t.isBrokersJourney?t.brokerOfferLink:null),e(n,6,0,t.loan.loan_offers.length-n.context.index)}))}function p(e){return l["ɵvid"](0,[l["ɵpid"](0,o.CurrencyPipe,[l.LOCALE_ID]),l["ɵpid"](0,r,[o.DecimalPipe]),l["ɵpid"](0,o.DecimalPipe,[l.LOCALE_ID]),(e()(),l["ɵeld"](3,0,null,null,36,"div",[["class","loan-request"]],[[1,"loanId",0]],null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](5,{"default-cursor":0}),(e()(),l["ɵeld"](6,0,null,null,31,"a",[["class","loan-link"]],[[1,"href",4]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.selectLoan(t)&&l),l}),null,null)),(e()(),l["ɵeld"](7,0,null,null,30,"div",[["class","loan-request-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,2,"div",[["class","loan-img-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"div",[["class","loan-img"]],[[4,"background",null]],null,null,null,null)),l["ɵpid"](131072,o.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵeld"](11,0,null,null,26,"div",[["class","loan-info"]],null,null,null,null,null)),l["ɵdid"](12,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](13,{"is-single":0}),(e()(),l["ɵeld"](14,0,null,null,11,"div",[["class","loanLocation"]],null,null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](16,null,["",""])),(e()(),l["ɵeld"](17,0,null,null,4,"span",[],null,null,null,null,null)),l["ɵdid"](18,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](19,{w75:0}),(e()(),l["ɵeld"](20,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](21,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,a)),l["ɵdid"](23,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](25,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](27,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](29,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](30,0,null,null,7,"div",[["class","loanSpec"]],null,null,null,null,null)),(e()(),l["ɵeld"](31,0,null,null,6,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](32,null,[""," sq.ft "," "])),l["ɵppd"](33,1),(e()(),l["ɵeld"](34,0,null,null,0,"i",[["class","fa fa-bed"]],null,null,null,null,null)),(e()(),l["ɵted"](35,null,[" "," "])),(e()(),l["ɵeld"](36,0,null,null,0,"i",[["class","fa fa-shower"]],null,null,null,null,null)),(e()(),l["ɵted"](37,null,[" "," ",""])),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](39,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,4,0,"loan-request",e(n,5,0,t.showEditButton)),e(n,12,0,"loan-info",e(n,13,0,t.isSingle)),e(n,18,0,e(n,19,0,!t.checkShowCountry())),e(n,23,0,t.checkShowCountry()),e(n,25,0,t.showEditButton),e(n,27,0,!t.isSingle),e(n,29,0,t.isSingle),e(n,39,0,t.loan.loan_offers)}),(function(e,n){var t=n.component;e(n,3,0,t.loan.id),e(n,6,0,t.isBrokersJourney?t.brokerLink:null),e(n,9,0,l["ɵunv"](n,9,0,l["ɵnov"](n,10).transform(t.imageData))),e(n,16,0,null==t.loan.address?null:t.loan.address.post_code),e(n,21,0,(null==t.loan.address?null:t.loan.address.admin_area_name)||(null==t.loan.address?null:t.loan.address.city)),e(n,32,0,l["ɵunv"](n,32,0,e(n,33,0,l["ɵnov"](n,2),null==t.loan.property?null:t.loan.property.size_in_sqft)),null==t.loan.property?null:t.loan.property.number_of_bedrooms),e(n,35,0,null==t.loan.property?null:t.loan.property.number_of_bathrooms),e(n,37,0,"L"==(null==t.loan.property?null:t.loan.property.ownership)?"Leasehold: ":"Freehold","L"==(null==t.loan.property?null:t.loan.property.ownership)?t.getLeasehold():"")}))}},function(e,n,t){"use strict";function l(e){return"function"==typeof e}t.d(n,"a",(function(){return l}))},function(e,n,t){"use strict";function l(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}t.d(n,"a",(function(){return o})),l.prototype=Object.create(Error.prototype);var o=l},function(e,n,t){"use strict";function l(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}t.d(n,"a",(function(){return o})),l.prototype=Object.create(Error.prototype);var o=l},function(e,n,t){"use strict";function l(e){setTimeout((function(){throw e}))}t.d(n,"a",(function(){return l}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var l=t(170),o=t(62),r=t(186),i=t(146),a=t(184),u=t(185);function s(e,n){var t=arguments.length>=2;return function(s){return s.pipe(e?Object(o.a)((function(n,t){return e(n,t,s)})):u.a,Object(r.a)(1),t?Object(i.a)(n):Object(a.a)((function(){return new l.a})))}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(3),o=t(30),r=t(29);function i(e){return function(n){return n.lift(new a(e))}}var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,n){var t=new u(e),l=Object(r.a)(t,this.notifier);return l&&!t.seenValue?(t.add(l),n.subscribe(t)):t},e}(),u=function(e){function n(n){var t=e.call(this,n)||this;return t.seenValue=!1,t}return l.d(n,e),n.prototype.notifyNext=function(e,n,t,l,o){this.seenValue=!0,this.complete()},n.prototype.notifyComplete=function(){},n}(o.a)},function(e,n,t){"use strict";t(84)},,,,,,function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return i}));var l=t(3),o=t(9),r=(t(24),t(15),function(){}),i=function(e){function n(n,t,l,o){var r=e.call(this)||this;return r.httpService=n,r.http=t,r.sanitizer=l,r.journeyService=o,r}return Object(l.d)(n,e),n.prototype.getById=function(e){return void 0===e&&(e=1),this.httpService.get("/api/"+this.journeyService.currentJourney+"/loan/"+e+("brokers"===this.journeyService.currentJourney?"/":""))},n.prototype.getBrokerLoanById=function(e){return void 0===e&&(e=1),this.httpService.get("/api/brokers/loan/"+e+"/")},n.prototype.getOIPById=function(e){return void 0===e&&(e=1),this.httpService.get("/api/"+this.journeyService.currentJourney+"/offer/"+e+"/")},n.prototype.getOffersForLoan=function(e){return this.getOffersForLoanObsevable(e).toPromise()},n.prototype.getOffersForLoanObsevable=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/offers/loan/"+e+"/")},n.prototype.acceptOIP=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/offer/"+e+"/",{status:"accepted"})},n.prototype.getDetails=function(e){return this.httpService.getBody("brokers"===this.journeyService.currentJourney?"/api/"+this.journeyService.currentJourney+"/loan/"+e+"/overview/":"/api/"+this.journeyService.currentJourney+"/loan/"+e+"/overview")},n.prototype.getBorrowersDetails=function(e){return this.httpService.getBody("/api/"+this.journeyService.currentJourney+"/loan/"+e+"/borrowers-details/overview").pipe(Object(o.a)((function(e){return JSON.parse(e)})))},n.prototype.getLoanCreditCommitteeDetails=function(e){return this.httpService.getBody("/api/"+this.journeyService.currentJourney+"/loan/"+e+"/credit-committee/overview").pipe(Object(o.a)((function(e){return e})))},n.prototype.getAll=function(){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/loans/")},n.prototype.getByStatus=function(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=null),this.httpService.get("/api/"+this.journeyService.currentJourney+"/loans/?status="+e+(n?"&short":"")+(t?"&first="+t:""))},n.prototype.save=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/loans/",e)},n.prototype.update=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/loan/"+e.id+"/",e)},n.prototype.getAllBorrowers=function(e){var n=this,t=e.borrowers.map((function(e){return n.httpService.get("/api/"+n.journeyService.currentJourney+"/borrower/"+e.id+"/").toPromise()}));return Promise.all(t)},n}(r)},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r}));var l=t(3),o=(t(9),t(24),t(15),function(){}),r=function(e){function n(n,t){var l=e.call(this)||this;return l.httpService=n,l.journeyService=t,l}return Object(l.d)(n,e),n.prototype.getById=function(e){return void 0===e&&(e=1),this.httpService.get("/api/"+this.journeyService.currentJourney+"/offer/"+e+"/")},n.prototype.getAll=function(e){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/offers/loan/"+e+"/")},n.prototype.getOfferDocument=function(e){return void 0===e&&(e=1),this.httpService.get("/api/"+this.journeyService.currentJourney+"/offer/"+e+"/document")},n}(o)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(11),t(20),t(24),t(17),t(15);var l=function(){function e(e,n,t,l,o,r,i){this.sanitizer=e,this.configService=n,this.router=t,this.supportService=l,this.journeyService=o,this.httpService=r,this.windowRef=i,this.size=240,this.isFakeObject=!1,this.completeLabel=""}return Object.defineProperty(e.prototype,"options",{get:function(){return this._options},set:function(e){e&&(this.completeLabel=e.totalPercents+"% "+(e.totalPercents<100?"overall ":"")+"complete",e.button||("brokers"===this.journeyService.currentJourney?e.button={label:"Fill Complete Loan Request",href:"/#/brokers/onboarding/"+e.loanId}:"bdp"===this.journeyService.currentJourney?e.button={label:"Fill Complete Loan Request",href:"/#/bdp/onboarding/"+e.loanId}:"flowaffiliate"===this.journeyService.currentJourney&&(e.button={label:"Fill Complete Loan Request",href:"/#/flowaffiliate/onboarding/"+e.loanId})),e.propertyImageForView=this.supportService.getImageAsync(e.propertyImage),this.userPicture=this.supportService.getImageAsync(e.avatar,this.supportService.defaultImgUrl.avatar)),this._options=e},enumerable:!0,configurable:!0}),e.prototype.onClickTab=function(e,n){e.stopPropagation(),this.options.percents[n].onClickEvent&&this.options.percents[n].onClickEvent()},e.prototype.getAvatar=function(){return this.options.avatar.changingThisBreaksApplicationSecurity||"string"==typeof this.options.avatar&&0===this.options.avatar.indexOf("url")?this.options.avatar:"url("+this.options.avatar+")"},e.prototype.onClickLoanButton=function(e){var n=e.replace("/#","");this.isActionSelect(n)||(this.supportService.changeAnimationState("hide"),this.router.navigateByUrl(n))},e.prototype.onClickOfferButton=function(e,n){var t="/brokers/onboarding/"+e+"/offers";"bdp"===this.journeyService.currentJourney?t="/bdp/onboarding/"+e+"/offers":"flowaffiliate"===this.journeyService.currentJourney&&(t="/flowaffiliate/onboarding/"+e+"/offers"),this.isActionSelect(t)||(this.supportService.changeAnimationState("hide"),this.router.navigateByUrl(t))},e.prototype.isActionSelect=function(e){return"/"!==this.router.url&&e===this.router.url},e.prototype.prepareImageUrl=function(e){return e.indexOf("url")>=0?this.sanitizer.bypassSecurityTrustStyle(e):this.sanitizer.bypassSecurityTrustStyle("url("+this.configService.staticServer+e+")")},e}()},function(e,n,t){"use strict";var l=t(0),o=t(2);t(182),t(13),t(11),t(5),t(20),t(15),t(24),t(17),t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return k}));var r=l["ɵcrt"]({encapsulation:0,styles:[['.short-widget-template[_ngcontent-%COMP%]{height:100%;overflow:hidden;background-color:#fff;padding:.08333em 0 .2em;position:relative}.short-widget-template[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:LatoWeb!important}.short-widget-template[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:first-of-type{max-width:320px;margin:0 auto 40px;text-align:center;font-size:13px;color:#584d34}.short-widget-template[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-of-type(2){font-size:22px;margin-bottom:10px;text-align:center;color:#584d34}.short-widget-template[_ngcontent-%COMP%] a.proceed-btn[_ngcontent-%COMP%]{color:#fff;font-family:LatoWebBold;font-size:15px}.short-widget-template[_ngcontent-%COMP%] a.proceed-btn.mb10[_ngcontent-%COMP%]{margin-bottom:15px}@media (max-width:370px){.short-widget-template[_ngcontent-%COMP%] a.proceed-btn.message[_ngcontent-%COMP%]{font-size:11px;max-width:185px}.short-widget-template[_ngcontent-%COMP%] a.proceed-btn.message[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:11px}.short-widget-template[_ngcontent-%COMP%] a.proceed-btn.message[_ngcontent-%COMP%] .ico[_ngcontent-%COMP%]{height:10px;width:11px}}.short-widget-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%]{max-width:235px;font-size:15px;font-weight:700;margin:0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.short-widget-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%] .label-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex}.short-widget-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%] .label-wrapper[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin:0 10px;font-family:LatoWebBold;font-size:15px;font-weight:400}.short-widget-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%] .label-wrapper[_ngcontent-%COMP%] .ico[_ngcontent-%COMP%]{background-image:url(/assets/img/arrow-right-circle.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;height:14px;width:15px}.short-widget-template[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{width:135px}.short-widget-template[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{max-width:235px;font-size:15px;font-weight:700;margin:0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.short-widget-template[_ngcontent-%COMP%] .table[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .label-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex}.short-widget-template[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .label-wrapper[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin:0 10px;font-family:LatoWebBold;font-size:15px;font-weight:400}.short-widget-template[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .label-wrapper[_ngcontent-%COMP%] .ico[_ngcontent-%COMP%]{background-image:url(/assets/img/arrow-right-circle.svg);background-position:50%;background-repeat:no-repeat;background-size:cover;height:14px;width:15px}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;z-index:2}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{font-size:.05em;font-weight:700;color:#7b6f51;position:absolute}.short-widget-template[_ngcontent-%COMP%] .ticket.position-up[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;top:-.10417em}.short-widget-template[_ngcontent-%COMP%] .ticket.position-up[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .ticket.position-up[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.short-widget-template[_ngcontent-%COMP%] .ticket.position-up[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{bottom:3em}.short-widget-template[_ngcontent-%COMP%] .ticket.position-down[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;bottom:-.10417em;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.short-widget-template[_ngcontent-%COMP%] .ticket.position-down.image[_ngcontent-%COMP%]{overflow:hidden;width:.22917em;height:.22917em;border:.020833em solid #fff;background-color:#fff;border-radius:50%;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px 0 rgba(0,0,0,.5)}.short-widget-template[_ngcontent-%COMP%] .ticket.position-down.image[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%;width:100%;background-position:50%;background-repeat:no-repeat;background-size:contain}.short-widget-template[_ngcontent-%COMP%] .ticket.row2[_ngcontent-%COMP%]{top:calc(30% - .08333em)}.short-widget-template[_ngcontent-%COMP%] .ticket.row2.right-position[_ngcontent-%COMP%]{left:calc(100% - .14167em);-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.short-widget-template[_ngcontent-%COMP%] .ticket.row2.right-position[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{left:3.5em;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.short-widget-template[_ngcontent-%COMP%] .ticket.row2.left-position[_ngcontent-%COMP%]{right:calc(100% - .14167em);-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.short-widget-template[_ngcontent-%COMP%] .ticket.row2.left-position[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{right:3.5em;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.short-widget-template[_ngcontent-%COMP%] .ticket.row3[_ngcontent-%COMP%]{bottom:calc(30% - .08333em)}.short-widget-template[_ngcontent-%COMP%] .ticket.row3.right-position[_ngcontent-%COMP%]{left:calc(100% - .14167em);-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.short-widget-template[_ngcontent-%COMP%] .ticket.row3.right-position[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{left:3.5em;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.short-widget-template[_ngcontent-%COMP%] .ticket.row3.left-position[_ngcontent-%COMP%]{right:calc(100% - .14167em);-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.short-widget-template[_ngcontent-%COMP%] .ticket.row3.left-position[_ngcontent-%COMP%] .ticket_label[_ngcontent-%COMP%]{right:3.5em;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%] .percent-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fff;width:.125em;height:.125em;min-width:.125em;min-height:.125em;line-height:.125em;border-radius:50%;color:#ada694;font-weight:700;font-style:normal;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px 0 rgba(0,0,0,.5);margin:5px}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%] .percent-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:auto}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%] .percent-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.0375em;color:#ada694}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%] .percent-wrapper[_ngcontent-%COMP%] .full-complete[_ngcontent-%COMP%]{height:8px;width:14px;background-image:url(/assets/img/full_complete.svg)}.short-widget-template[_ngcontent-%COMP%] .ticket[_ngcontent-%COMP%] .percent-wrapper[_ngcontent-%COMP%] .full-complete.gray[_ngcontent-%COMP%]{background-image:url(/assets/img/full_complete_gray.svg)}.short-widget-template[_ngcontent-%COMP%] .rect-auto[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{cursor:pointer}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .pie[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .pie-fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.dark[_ngcontent-%COMP%]{background-color:#777}.short-widget-template[_ngcontent-%COMP%] .c100.dark[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100.dark[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{border-color:#c6ff00!important}.short-widget-template[_ngcontent-%COMP%] .c100.dark[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:#777}.short-widget-template[_ngcontent-%COMP%] .c100.dark[_ngcontent-%COMP%]:after{background-color:#666}.short-widget-template[_ngcontent-%COMP%] .c100.dark[_ngcontent-%COMP%]:hover > span[_ngcontent-%COMP%]{color:#c6ff00}.short-widget-template[_ngcontent-%COMP%] .c100.green[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100.green[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{border-color:#4db53c!important}.short-widget-template[_ngcontent-%COMP%] .c100.green[_ngcontent-%COMP%]:hover > span[_ngcontent-%COMP%]{color:#4db53c}.short-widget-template[_ngcontent-%COMP%] .c100.green.dark[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100.green.dark[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{border-color:#5fd400!important}.short-widget-template[_ngcontent-%COMP%] .c100.green.dark[_ngcontent-%COMP%]:hover > span[_ngcontent-%COMP%]{color:#5fd400}.short-widget-template[_ngcontent-%COMP%] .c100.orange[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100.orange[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{border-color:#dd9d22!important}.short-widget-template[_ngcontent-%COMP%] .c100.orange[_ngcontent-%COMP%]:hover > span[_ngcontent-%COMP%]{color:#dd9d22}.short-widget-template[_ngcontent-%COMP%] .c100.orange.dark[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100.orange.dark[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{border-color:#e08833!important}.short-widget-template[_ngcontent-%COMP%] .c100.orange.dark[_ngcontent-%COMP%]:hover > span[_ngcontent-%COMP%]{color:#e08833}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%]{font-size:100%;width:1em;height:1em;border-radius:50%;background-color:#ccc;margin:0 auto 40px;position:relative}.short-widget-template[_ngcontent-%COMP%] .c100.center[_ngcontent-%COMP%]{float:none;margin:0 auto}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:absolute;width:100%;z-index:1;left:0;top:0;width:5em;font-size:.2em;color:#ccc;display:block;text-align:center;white-space:nowrap;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%]:after{position:absolute;content:" ";background-color:#fff;width:.92em;height:.92em;-webkit-transition-property:all;-o-transition-property:all;transition-property:all;-webkit-transition-duration:.2s;-o-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .image-block[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%]:after{border-radius:50%;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .image-block[_ngcontent-%COMP%]{height:87%;width:87%;overflow:hidden;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .image-block[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{height:100%;width:100%;background-repeat:no-repeat;background-size:contain;background-position:50%}.short-widget-template[_ngcontent-%COMP%] .c100.p1[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(3.6deg);-ms-transform:rotate(3.6deg);transform:rotate(3.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p2[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(7.2deg);-ms-transform:rotate(7.2deg);transform:rotate(7.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p3[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(10.8deg);-ms-transform:rotate(10.8deg);transform:rotate(10.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p4[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(14.4deg);-ms-transform:rotate(14.4deg);transform:rotate(14.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p5[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p6[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(21.6deg);-ms-transform:rotate(21.6deg);transform:rotate(21.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p7[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(25.2deg);-ms-transform:rotate(25.2deg);transform:rotate(25.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p8[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(28.8deg);-ms-transform:rotate(28.8deg);transform:rotate(28.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p9[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(32.4deg);-ms-transform:rotate(32.4deg);transform:rotate(32.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p10[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(36deg);-ms-transform:rotate(36deg);transform:rotate(36deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p11[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(39.6deg);-ms-transform:rotate(39.6deg);transform:rotate(39.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p12[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(43.2deg);-ms-transform:rotate(43.2deg);transform:rotate(43.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p13[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(46.8deg);-ms-transform:rotate(46.8deg);transform:rotate(46.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p14[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(50.4deg);-ms-transform:rotate(50.4deg);transform:rotate(50.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p15[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(54deg);-ms-transform:rotate(54deg);transform:rotate(54deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p16[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(57.6deg);-ms-transform:rotate(57.6deg);transform:rotate(57.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p17[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(61.2deg);-ms-transform:rotate(61.2deg);transform:rotate(61.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p18[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(64.8deg);-ms-transform:rotate(64.8deg);transform:rotate(64.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p19[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(68.4deg);-ms-transform:rotate(68.4deg);transform:rotate(68.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p20[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(72deg);-ms-transform:rotate(72deg);transform:rotate(72deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p21[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(75.6deg);-ms-transform:rotate(75.6deg);transform:rotate(75.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p22[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(79.2deg);-ms-transform:rotate(79.2deg);transform:rotate(79.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p23[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(82.8deg);-ms-transform:rotate(82.8deg);transform:rotate(82.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p24[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(86.4deg);-ms-transform:rotate(86.4deg);transform:rotate(86.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p25[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p26[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(93.6deg);-ms-transform:rotate(93.6deg);transform:rotate(93.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p27[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(97.2deg);-ms-transform:rotate(97.2deg);transform:rotate(97.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p28[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(100.8deg);-ms-transform:rotate(100.8deg);transform:rotate(100.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p29[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(104.4deg);-ms-transform:rotate(104.4deg);transform:rotate(104.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p30[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(108deg);-ms-transform:rotate(108deg);transform:rotate(108deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p31[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.31turn);-ms-transform:rotate(.31turn);transform:rotate(.31turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p32[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.32turn);-ms-transform:rotate(.32turn);transform:rotate(.32turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p33[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.33turn);-ms-transform:rotate(.33turn);transform:rotate(.33turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p34[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.34turn);-ms-transform:rotate(.34turn);transform:rotate(.34turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p35[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(126deg);-ms-transform:rotate(126deg);transform:rotate(126deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p36[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.36turn);-ms-transform:rotate(.36turn);transform:rotate(.36turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p37[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.37turn);-ms-transform:rotate(.37turn);transform:rotate(.37turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p38[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.38turn);-ms-transform:rotate(.38turn);transform:rotate(.38turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p39[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.39turn);-ms-transform:rotate(.39turn);transform:rotate(.39turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p40[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(144deg);-ms-transform:rotate(144deg);transform:rotate(144deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p41[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.41turn);-ms-transform:rotate(.41turn);transform:rotate(.41turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p42[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.42turn);-ms-transform:rotate(.42turn);transform:rotate(.42turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p43[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(154.8deg);-ms-transform:rotate(154.8deg);transform:rotate(154.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p44[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.44turn);-ms-transform:rotate(.44turn);transform:rotate(.44turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p45[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(162deg);-ms-transform:rotate(162deg);transform:rotate(162deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p46[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(165.6deg);-ms-transform:rotate(165.6deg);transform:rotate(165.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p47[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.47turn);-ms-transform:rotate(.47turn);transform:rotate(.47turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p48[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(172.8deg);-ms-transform:rotate(172.8deg);transform:rotate(172.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p49[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.49turn);-ms-transform:rotate(.49turn);transform:rotate(.49turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p50[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p51[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p51[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p51[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p51[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p51[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.51turn);-ms-transform:rotate(.51turn);transform:rotate(.51turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p52[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p52[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p52[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p52[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p52[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.52turn);-ms-transform:rotate(.52turn);transform:rotate(.52turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p53[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p53[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p53[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p53[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p53[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.53turn);-ms-transform:rotate(.53turn);transform:rotate(.53turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p54[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p54[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p54[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p54[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p54[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.54turn);-ms-transform:rotate(.54turn);transform:rotate(.54turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p55[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p55[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p55[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p55[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p55[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(198deg);-ms-transform:rotate(198deg);transform:rotate(198deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p56[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p56[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p56[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p56[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p56[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(201.6deg);-ms-transform:rotate(201.6deg);transform:rotate(201.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p57[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p57[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p57[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p57[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p57[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.57turn);-ms-transform:rotate(.57turn);transform:rotate(.57turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p58[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p58[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p58[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p58[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p58[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(208.8deg);-ms-transform:rotate(208.8deg);transform:rotate(208.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p59[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p59[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p59[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p59[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p59[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.59turn);-ms-transform:rotate(.59turn);transform:rotate(.59turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p60[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p60[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p60[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p60[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p60[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(216deg);-ms-transform:rotate(216deg);transform:rotate(216deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p61[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p61[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p61[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p61[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p61[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.61turn);-ms-transform:rotate(.61turn);transform:rotate(.61turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p62[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p62[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p62[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p62[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p62[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.62turn);-ms-transform:rotate(.62turn);transform:rotate(.62turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p63[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p63[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p63[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p63[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p63[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.63turn);-ms-transform:rotate(.63turn);transform:rotate(.63turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p64[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p64[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p64[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p64[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p64[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.64turn);-ms-transform:rotate(.64turn);transform:rotate(.64turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p65[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p65[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p65[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p65[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p65[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(234deg);-ms-transform:rotate(234deg);transform:rotate(234deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p66[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p66[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p66[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p66[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p66[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.66turn);-ms-transform:rotate(.66turn);transform:rotate(.66turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p67[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p67[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p67[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p67[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p67[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(241.2deg);-ms-transform:rotate(241.2deg);transform:rotate(241.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p68[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p68[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p68[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p68[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p68[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.68turn);-ms-transform:rotate(.68turn);transform:rotate(.68turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p69[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p69[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p69[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p69[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p69[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(248.4deg);-ms-transform:rotate(248.4deg);transform:rotate(248.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p70[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p70[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p70[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p70[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p70[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(252deg);-ms-transform:rotate(252deg);transform:rotate(252deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p71[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p71[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p71[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p71[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p71[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.71turn);-ms-transform:rotate(.71turn);transform:rotate(.71turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p72[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p72[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p72[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p72[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p72[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.72turn);-ms-transform:rotate(.72turn);transform:rotate(.72turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p73[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p73[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p73[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p73[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p73[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.73turn);-ms-transform:rotate(.73turn);transform:rotate(.73turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p74[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p74[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p74[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p74[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p74[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.74turn);-ms-transform:rotate(.74turn);transform:rotate(.74turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p75[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p75[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p75[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p75[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p75[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p76[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p76[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p76[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p76[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p76[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.76turn);-ms-transform:rotate(.76turn);transform:rotate(.76turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p77[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p77[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p77[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p77[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p77[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.77turn);-ms-transform:rotate(.77turn);transform:rotate(.77turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p78[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p78[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p78[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p78[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p78[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.78turn);-ms-transform:rotate(.78turn);transform:rotate(.78turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p79[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p79[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p79[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p79[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p79[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(284.4deg);-ms-transform:rotate(284.4deg);transform:rotate(284.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p80[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p80[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p80[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p80[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p80[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(288deg);-ms-transform:rotate(288deg);transform:rotate(288deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p81[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p81[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p81[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p81[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p81[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.81turn);-ms-transform:rotate(.81turn);transform:rotate(.81turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p82[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p82[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p82[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p82[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p82[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.82turn);-ms-transform:rotate(.82turn);transform:rotate(.82turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p83[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p83[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p83[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p83[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p83[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(298.8deg);-ms-transform:rotate(298.8deg);transform:rotate(298.8deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p84[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p84[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p84[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p84[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p84[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.84turn);-ms-transform:rotate(.84turn);transform:rotate(.84turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p85[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p85[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p85[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p85[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p85[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(306deg);-ms-transform:rotate(306deg);transform:rotate(306deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p86[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p86[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p86[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p86[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p86[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(309.6deg);-ms-transform:rotate(309.6deg);transform:rotate(309.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p87[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p87[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p87[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p87[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p87[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.87turn);-ms-transform:rotate(.87turn);transform:rotate(.87turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p88[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p88[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p88[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p88[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p88[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.88turn);-ms-transform:rotate(.88turn);transform:rotate(.88turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p89[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p89[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p89[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p89[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p89[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(320.4deg);-ms-transform:rotate(320.4deg);transform:rotate(320.4deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p90[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p90[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p90[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p90[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p90[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(324deg);-ms-transform:rotate(324deg);transform:rotate(324deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p91[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p91[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p91[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p91[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p91[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.91turn);-ms-transform:rotate(.91turn);transform:rotate(.91turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p92[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p92[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p92[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p92[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p92[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(331.2deg);-ms-transform:rotate(331.2deg);transform:rotate(331.2deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p93[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p93[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p93[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p93[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p93[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.93turn);-ms-transform:rotate(.93turn);transform:rotate(.93turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p94[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p94[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p94[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p94[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p94[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.94turn);-ms-transform:rotate(.94turn);transform:rotate(.94turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p95[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p95[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p95[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p95[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p95[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(342deg);-ms-transform:rotate(342deg);transform:rotate(342deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p96[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p96[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p96[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p96[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p96[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(345.6deg);-ms-transform:rotate(345.6deg);transform:rotate(345.6deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p97[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p97[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p97[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p97[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p97[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.97turn);-ms-transform:rotate(.97turn);transform:rotate(.97turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p98[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p98[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p98[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p98[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p98[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.98turn);-ms-transform:rotate(.98turn);transform:rotate(.98turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p99[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p99[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p99[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p99[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p99[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(.99turn);-ms-transform:rotate(.99turn);transform:rotate(.99turn)}.short-widget-template[_ngcontent-%COMP%] .c100.p100[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{clip:rect(auto,auto,auto,auto)}.short-widget-template[_ngcontent-%COMP%] .c100.p100[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{position:absolute;border:.08em solid #ff6500;width:.84em;height:.84em;clip:rect(0,.5em,1em,0);border-radius:50%;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p100[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]:after, .short-widget-template[_ngcontent-%COMP%] .c100.p100[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.short-widget-template[_ngcontent-%COMP%] .c100.p100[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transform:rotate(1turn);-ms-transform:rotate(1turn);transform:rotate(1turn)}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:4.375em;height:4.375em;margin-top:15px}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%]{position:absolute;width:1em;height:1em;clip:rect(0,1em,1em,.5em);margin:0;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .slice[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{height:100%;width:100%}.short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .slice.gray[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%], .short-widget-template[_ngcontent-%COMP%] .c100[_ngcontent-%COMP%] .slice.gray[_ngcontent-%COMP%] .fill[_ngcontent-%COMP%]{border-color:#979797}']],data:{}});function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","full-complete"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{gray:0})],(function(e,n){e(n,1,0,"full-complete",e(n,2,0,n.component.isFakeObject))}),null)}function a(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["","%"]))],null,(function(e,n){e(n,1,0,n.component.options.percents.id.value)}))}function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","full-complete"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{gray:0})],(function(e,n){e(n,1,0,"full-complete",e(n,2,0,n.component.isFakeObject))}),null)}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["","%"]))],null,(function(e,n){e(n,1,0,n.component.options.percents.assets.value)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","full-complete"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{gray:0})],(function(e,n){e(n,1,0,"full-complete",e(n,2,0,n.component.isFakeObject))}),null)}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["","%"]))],null,(function(e,n){e(n,1,0,n.component.options.percents.security.value)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","full-complete"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{gray:0})],(function(e,n){e(n,1,0,"full-complete",e(n,2,0,n.component.isFakeObject))}),null)}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["","%"]))],null,(function(e,n){e(n,1,0,n.component.options.percents.income.value)}))}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","full-complete"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{gray:0})],(function(e,n){e(n,1,0,"full-complete",e(n,2,0,n.component.isFakeObject))}),null)}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["","%"]))],null,(function(e,n){e(n,1,0,n.component.options.percents.deal.value)}))}function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.component.completeLabel)}))}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"button",[["class","proceed-btn"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.options.borrowerButton.onClickEvent()&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," "])),(e()(),l["ɵeld"](4,0,null,null,0,"span",[["class","ico"]],null,null,null,null,null))],null,(function(e,n){e(n,3,0,n.component.options.borrowerButton.label)}))}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"button",[["class","proceed-btn"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.options.lenderButton.onClickEvent()&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," "])),(e()(),l["ɵeld"](4,0,null,null,0,"span",[["class","ico"]],null,null,null,null,null))],null,(function(e,n){e(n,3,0,n.component.options.lenderButton.label)}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"button",[["class","proceed-btn"],["style","display:none;"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.options.saveAsPdfButton.onClickEvent()&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," "])),(e()(),l["ɵeld"](4,0,null,null,0,"span",[["class","ico"]],null,null,null,null,null))],null,(function(e,n){e(n,3,0,n.component.options.saveAsPdfButton.label)}))}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"button",[["class","proceed-btn"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.options.button.onClickEvent()&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," "])),(e()(),l["ɵeld"](4,0,null,null,0,"span",[["class","ico"]],null,null,null,null,null))],null,(function(e,n){e(n,3,0,n.component.options.button.label)}))}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"button",[["class","proceed-btn"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.options.actionButton.onClickEvent()&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," "])),(e()(),l["ɵeld"](4,0,null,null,0,"span",[["class","ico"]],null,null,null,null,null))],null,(function(e,n){e(n,3,0,n.component.options.actionButton.label)}))}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,11,"table",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,10,"tbody",[],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Broker's name"])),(e()(),l["ɵeld"](5,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["",""])),(e()(),l["ɵeld"](7,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Broker's email"])),(e()(),l["ɵeld"](10,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](11,null,["",""]))],null,(function(e,n){var t=n.component;e(n,6,0,t.loanBroker.name),e(n,11,0,t.loanBroker.email)}))}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"a",[["class","proceed-btn message"]],null,[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==o.onClickLoanButton(o.options.button.href)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," "])),(e()(),l["ɵeld"](4,0,null,null,0,"span",[["class","ico"]],null,null,null,null,null))],null,(function(e,n){e(n,3,0,n.component.options.button.label)}))}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,13,"table",[["class","table"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"caption",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Broker's details"])),(e()(),l["ɵeld"](3,0,null,null,10,"tbody",[],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Name"])),(e()(),l["ɵeld"](7,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](8,null,["",""])),(e()(),l["ɵeld"](9,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Phone"])),(e()(),l["ɵeld"](12,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),l["ɵted"](13,null,["",""]))],null,(function(e,n){var t=n.component;e(n,8,0,t.options.loanBroker.name),e(n,13,0,t.options.loanBroker.phone)}))}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,77,"div",[["class","short-widget-template"]],[[4,"fontSize","px"]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"p",[["class","header"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵeld"](3,0,null,null,56,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,8,"div",[["class","ticket position-up"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onClickTab(t,"id")&&l),l}),null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"div",[["class","ticket_label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["ID"])),(e()(),l["ɵeld"](7,0,null,null,5,"div",[["class","percent-wrapper"]],null,null,null,null,null)),l["ɵdid"](8,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](10,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,a)),l["ɵdid"](12,16384,null,0,o.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],null,null),(e()(),l["ɵeld"](13,0,null,null,8,"div",[["class","ticket row2 right-position"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onClickTab(t,"assets")&&l),l}),null,null)),(e()(),l["ɵeld"](14,0,null,null,1,"div",[["class","ticket_label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Assets"])),(e()(),l["ɵeld"](16,0,null,null,5,"div",[["class","percent-wrapper"]],null,null,null,null,null)),l["ɵdid"](17,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](19,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](21,16384,null,0,o.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],null,null),(e()(),l["ɵeld"](22,0,null,null,8,"div",[["class","ticket row2 left-position"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onClickTab(t,"security")&&l),l}),null,null)),(e()(),l["ɵeld"](23,0,null,null,1,"div",[["class","ticket_label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Security"])),(e()(),l["ɵeld"](25,0,null,null,5,"div",[["class","percent-wrapper"]],null,null,null,null,null)),l["ɵdid"](26,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](28,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](30,16384,null,0,o.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],null,null),(e()(),l["ɵeld"](31,0,null,null,8,"div",[["class","ticket row3 right-position"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onClickTab(t,"income")&&l),l}),null,null)),(e()(),l["ɵeld"](32,0,null,null,1,"div",[["class","ticket_label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Income"])),(e()(),l["ɵeld"](34,0,null,null,5,"div",[["class","percent-wrapper"]],null,null,null,null,null)),l["ɵdid"](35,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](37,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](39,16384,null,0,o.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],null,null),(e()(),l["ɵeld"](40,0,null,null,8,"div",[["class","ticket row3 left-position"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onClickTab(t,"deal")&&l),l}),null,null)),(e()(),l["ɵeld"](41,0,null,null,1,"div",[["class","ticket_label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Deal"])),(e()(),l["ɵeld"](43,0,null,null,5,"div",[["class","percent-wrapper"]],null,null,null,null,null)),l["ɵdid"](44,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](46,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](48,16384,null,0,o.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],null,null),(e()(),l["ɵeld"](49,0,null,null,2,"div",[["class","ticket position-down image"]],null,null,null,null,null)),(e()(),l["ɵeld"](50,0,null,null,1,"div",[],[[4,"background-image",null]],null,null,null,null)),l["ɵpid"](131072,o.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵeld"](52,0,null,null,2,"span",[["class","image-block"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.options.button.onClickEvent()&&l),l}),null,null)),(e()(),l["ɵeld"](53,0,null,null,1,"div",[["class","back"]],[[4,"background-image",null]],null,null,null,null)),l["ɵpid"](131072,o.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵeld"](55,0,null,null,4,"div",[["class","slice"]],null,null,null,null,null)),l["ɵdid"](56,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](57,{gray:0}),(e()(),l["ɵeld"](58,0,null,null,0,"div",[["class","bar"]],null,null,null,null,null)),(e()(),l["ɵeld"](59,0,null,null,0,"div",[["class","fill"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](61,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](63,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](65,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](67,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](69,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](71,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](73,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](75,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](77,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,8,0,t.options.percents.id.value),e(n,10,0,100),e(n,17,0,t.options.percents.assets.value),e(n,19,0,100),e(n,26,0,t.options.percents.security.value),e(n,28,0,100),e(n,35,0,t.options.percents.income.value),e(n,37,0,100),e(n,44,0,t.options.percents.deal.value),e(n,46,0,100),e(n,56,0,"slice",e(n,57,0,t.isFakeObject)),e(n,61,0,t.options.totalPercents>0),e(n,63,0,!!t.options.borrowerButton),e(n,65,0,!!t.options.lenderButton),e(n,67,0,!!t.options.saveAsPdfButton),e(n,69,0,!!t.options.button.onClickEvent),e(n,71,0,!!t.options.actionButton),e(n,73,0,!!t.loanBroker),e(n,75,0,!!t.options.button.href),e(n,77,0,!!t.options.loanBroker)}),(function(e,n){var t=n.component;e(n,0,0,t.size),e(n,2,0,t.options.headerLabel),e(n,3,0,l["ɵinlineInterpolate"](1,"c100 p",t.options.totalPercents,"")),e(n,50,0,l["ɵunv"](n,50,0,l["ɵnov"](n,51).transform(t.userPicture))),e(n,53,0,l["ɵunv"](n,53,0,l["ɵnov"](n,54).transform(t.options.propertyImageForView)))}))}function k(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](1,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,1,0,!!n.component.options)}),null)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(63),o=t(170),r=function(e){return void 0===e&&(e=i),Object(l.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function i(){return new o.a}},function(e,n,t){"use strict";function l(e){return e}t.d(n,"a",(function(){return l}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(3),o=t(16),r=t(169),i=t(82);function a(e){return function(n){return 0===e?Object(i.b)():n.lift(new u(e))}}var u=function(){function e(e){if(this.total=e,this.total<0)throw new r.a}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.total))},e}(),s=function(e){function n(n,t){var l=e.call(this,n)||this;return l.total=t,l.count=0,l}return l.d(n,e),n.prototype._next=function(e){var n=this.total,t=++this.count;t<=n&&(this.destination.next(e),t===n&&(this.destination.complete(),this.unsubscribe()))},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(3),o=t(16);function r(e,n){var t=!1;return arguments.length>=2&&(t=!0),function(l){return l.lift(new i(e,n,t))}}var i=function(){function e(e,n,t){void 0===t&&(t=!1),this.accumulator=e,this.seed=n,this.hasSeed=t}return e.prototype.call=function(e,n){return n.subscribe(new a(e,this.accumulator,this.seed,this.hasSeed))},e}(),a=function(e){function n(n,t,l,o){var r=e.call(this,n)||this;return r.accumulator=t,r._seed=l,r.hasSeed=o,r.index=0,r}return l.d(n,e),Object.defineProperty(n.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),n.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},n.prototype._tryNext=function(e){var n,t=this.index++;try{n=this.accumulator(this.seed,e,t)}catch(e){this.destination.error(e)}this.seed=n,this.destination.next(n)},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(e){Object.assign(this,e)}return Object.defineProperty(e.prototype,"fullname",{get:function(){return this.firstname+" "+this.lastname},enumerable:!0,configurable:!0}),e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=function(){function e(){this.$onStartCall=new l.EventEmitter}return e.prototype.startConference=function(){this.$onStartCall.emit(!0)},e.prototype.endConference=function(){this.$onStartCall.emit(!1)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(209);function o(){return Object(l.a)(1)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(76);function o(e,n){return Object(l.a)(e,n,1)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return i}));var l=t(3),o=t(9),r=(t(24),t(15),function(){}),i=function(e){function n(n,t,l){var o=e.call(this)||this;return o.httpService=n,o.http=t,o.journeyService=l,o}return Object(l.d)(n,e),n.prototype.initMock=function(){var e=this;return this.http.get("/assets/mocks/messages.json").pipe(Object(o.a)((function(n){e.data||(e.data=n.json().data)})))},n.prototype.get=function(e,n,t){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/messages?type="+e+"&loan_id="+n+"&fromId="+t)},n.prototype.getDefault=function(e,n,t){var l=this;return this.initMock().pipe(Object(o.a)((function(){return l.data.filter((function(l){var o=null==e||l.conversationType===e;return(o=o&&(null==n||l.loanId===+n))&&(null==t||l.recipients_.some((function(e){return e.id===t})))}))})))},n.prototype.getLastMessageId=function(e,n,t){return this.httpService.get("/api/"+this.journeyService.currentJourney+"/messages?type="+e+"&loan_id="+n+"&fromId="+t)},n.prototype.save=function(e){return this.httpService.post("/api/"+this.journeyService.currentJourney+"/messages/",e)},n.prototype.update=function(e){return this.httpService.put("/api/"+this.journeyService.currentJourney+"/messages/"+e.id,e)},n}(r)},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return l})),t(17),t(98),t(20);var l=function(){function n(e,n,t,l){this.winRef=e,this.chartService=n,this.elRef=t,this.supportService=l,this.height=140,this.isForLoan=!1,this.needShowWarning=!1,this.uniqId=Math.round(100*Math.random()),this.hasNotLenders=!1,this.isDataChanged=!1,this.data=[],this.oldClientWidth=0,this.isRequestInProcess=!1}return Object.defineProperty(n.prototype,"setParameters",{set:function(e){if(!this.isRequestInProcess){var n=this,t=e?this.chartService.getHotDataByParams(e):this.chartService.getHotData();this.isRequestInProcess=!0,t.subscribe((function(e){n.subscriber(e),n.source&&n.source.subscribe(n.subscriber.bind(n))}))}},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var e=this;this.supportService.onRouteAnimationDone().subscribe((function(){e.innerChart&&e.innerChart.flush()}))},n.prototype.ngAfterViewInit=function(){if(!this.isRequestInProcess){var e=this;this.chartService.getHotData().subscribe((function(n){e.subscriber(n),e.source&&e.source.subscribe(e.subscriber.bind(e))}))}},n.prototype.ngAfterViewChecked=function(){if(this.elRef.nativeElement&&this.innerChart){var e=this.elRef.nativeElement.clientWidth;this.oldClientWidth!==e&&(this.oldClientWidth=e,this.innerChart.flush())}},n.prototype.subscriber=function(n){var t=this;this.isRequestInProcess=!1,n instanceof Array&&(this.innerChart&&(this.isDataChanged=!0,setTimeout((function(){t.isDataChanged=!1}),400)),setTimeout((function(){var l=!1,o=n.filter((function(e){return!l&&e.count>0&&(l=!0),l||e.count>0}));o.length>0&&(n=o);for(var r=1e8,i=1;i

"+e[0].value+" lenders

"+e[0].x+"%

"}},svg:{classname:"brown-svg"}})}),100))},n}()}).call(this,t(335))},function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return r}));var l=t(3),o=(t(24),t(15),function(){}),r=function(e){function n(n,t,l){var o=e.call(this)||this;return o.httpService=n,o.http=t,o.journeyService=l,o}return Object(l.d)(n,e),n.prototype.getAll=function(){return this.httpService.get("/api/brokers/list/")},n}(o)},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r}));var l=t(3),o=(t(24),t(15),function(){}),r=function(e){function n(n,t,l){var o=e.call(this)||this;return o.httpService=n,o.http=t,o.journeyService=l,o}return Object(l.d)(n,e),n.prototype.getAll=function(){return this.httpService.get("/api/introducer/list/")},n}(o)},function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return r}));var l=t(3),o=(t(24),t(15),function(){}),r=function(e){function n(n,t,l){var o=e.call(this)||this;return o.httpService=n,o.http=t,o.journeyService=l,o}return Object(l.d)(n,e),n.prototype.getAll=function(){return this.httpService.get("/api/bdp/list/")},n}(o)},function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return r}));var l=t(3),o=(t(24),t(15),function(){}),r=function(e){function n(n,t,l){var o=e.call(this)||this;return o.httpService=n,o.http=t,o.journeyService=l,o}return Object(l.d)(n,e),n.prototype.getAll=function(){return this.httpService.get("/api/flowaffiliate/list/")},n}(o)},function(e,n,t){"use strict";var l=t(0),o=t(2);t(193),t(17),t(98),t(20),t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a}));var r=l["ɵcrt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{position:relative}.warning[_ngcontent-%COMP%]{font-size:2rem;font-family:LatoWebBold;position:absolute;z-index:2;color:#fd6401;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%;text-align:center}.lenders-count[_ngcontent-%COMP%]{position:relative;z-index:1;padding-left:0;background-color:#e0ded8;padding-top:13px!important;color:#574d34;line-height:12px;top:12px}.lenders-count.top-0[_ngcontent-%COMP%]{top:0}.lenders-count[_ngcontent-%COMP%] .number[_ngcontent-%COMP%]{line-height:28px;font-size:28px;font-weight:700}.lenders-count[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{line-height:12px;font-size:11px}.lenders-count[_ngcontent-%COMP%] .lenders[_ngcontent-%COMP%]{font-size:16px}.lenders-count[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:10px}.lenders-count[_ngcontent-%COMP%] .lenders-count-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding:10px 20px 0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.lenders-count[_ngcontent-%COMP%] .lenders-count-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-right:5px}.chart-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:1}.chart-back[_ngcontent-%COMP%]{background-color:#e0ded8;position:absolute;top:0;bottom:30px;left:0;right:0}.bb[_ngcontent-%COMP%]{height:140px;top:0}.flash[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;background:#fff;z-index:0;-webkit-transition:.5s;-o-transition:.5s;transition:.5s;opacity:0}.flash.active[_ngcontent-%COMP%]{opacity:1;z-index:2}"]],data:{}});function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","warning"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["We cannot find any Lenders"]))],null,null)}function a(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](1,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](2,0,null,null,10,"div",[["class","lenders-count"]],null,null,null,null,null)),l["ɵdid"](3,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](4,{"top-0":0}),(e()(),l["ɵeld"](5,0,null,null,7,"div",[["class","lenders-count-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,1,"span",[["class","text"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Under these terms we have"])),(e()(),l["ɵeld"](8,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"span",[["class","number"]],null,null,null,null,null)),(e()(),l["ɵted"](10,null,["",""])),(e()(),l["ɵeld"](11,0,null,null,1,"span",[["class","lenders"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["lenders"])),(e()(),l["ɵeld"](13,0,null,null,2,"div",[["class","chart-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,0,"div",[["class","chart-back"]],null,null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,0,"div",[],[[8,"id",0]],null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,2,"div",[["class","flash"]],null,null,null,null,null)),l["ɵdid"](17,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](18,{active:0})],(function(e,n){var t=n.component;e(n,1,0,t.hasNotLenders&&t.needShowWarning),e(n,3,0,"lenders-count",e(n,4,0,t.needShowWarning)),e(n,17,0,"flash",e(n,18,0,t.isDataChanged))}),(function(e,n){var t=n.component;e(n,10,0,t.totalLenders),e(n,15,0,l["ɵinlineInterpolate"](1,"lender-chart-",t.uniqId,""))}))}},function(e){e.exports={country_phone_code_to_countries:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","[46]\\d{4}|[01589]\\d{5}"],AD:["376","[16]\\d{5,8}|[37-9]\\d{5}",[["(\\d{3})(\\d{3})","$1 $2",["[137-9]|6[0-8]"]],["(\\d{4})(\\d{4})","$1 $2",["180","180[02]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["690"]]]],AE:["971","[2-79]\\d{7,8}|800\\d{2,9}",[["([2-4679])(\\d{3})(\\d{4})","$1 $2 $3",["[2-4679][2-8]"]],["(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"]],["([479]00)(\\d)(\\d{5})","$1 $2 $3",["[479]00"],"$1"],["([68]00)(\\d{2,9})","$1 $2",["[68]00"],"$1"]],"0","0$1"],AF:["93","[2-7]\\d{8}",[["([2-7]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"]]],"0","0$1"],AG:["1","[2589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"268"],AI:["1","[2589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"264"],AL:["355","[2-57]\\d{7}|6\\d{8}|8\\d{5,7}|9\\d{5}",[["(4)(\\d{3})(\\d{4})","$1 $2 $3",["4[0-6]"]],["(6\\d)(\\d{3})(\\d{4})","$1 $2 $3",["6"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4[7-9]"]],["(\\d{3})(\\d{3,5})","$1 $2",["[235][16-9]|[79]|8[016-9]"]]],"0","0$1"],AM:["374","[1-9]\\d{7}",[["(\\d{2})(\\d{6})","$1 $2",["1|47"]],["(\\d{2})(\\d{6})","$1 $2",["4[1349]|[5-7]|88|9[1-9]"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8|90"],"0 $1"]],"0","(0$1)"],AO:["244","[29]\\d{8}",[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]]],AR:["54","11\\d{8}|[2368]\\d{9}|9\\d{10}",[["([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"]],["(9)(11)(\\d{4})(\\d{4})","$2 15-$3-$4",["911"],null,null,"$1 $2 $3-$4"],["(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[2-4689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|8|9[147-9])|3(?:36|4[1-358]|5[138]|6|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[4-6]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1-39])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"],null,null,"$1 $2 $3-$4"],["(9)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9[23]"],null,null,"$1 $2 $3-$4"],["(11)(\\d{4})(\\d{4})","$1 $2-$3",["11"],null,"true"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|8|9[147-9])|3(?:36|4[1-358]|5[138]|6|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[4-6]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1-39])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],null,"true"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],null,"true"]],"0","0$1","0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1"],AS:["1","[5689]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"684"],AT:["43","[1-9]\\d{3,12}",[["(116\\d{3})","$1",["116"],"$1"],["(1)(\\d{3,12})","$1 $2",["1"]],["(5\\d)(\\d{3,5})","$1 $2",["5[079]"]],["(5\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["5[079]"]],["(5\\d)(\\d{4})(\\d{4,7})","$1 $2 $3",["5[079]"]],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:[28]0|32)|[89]"]],["(\\d{4})(\\d{3,9})","$1 $2",["2|3(?:1[1-578]|[3-8])|4[2378]|5[2-6]|6(?:[12]|4[1-9]|5[468])|7(?:[24][1-8]|35|[5-79])"]]],"0","0$1"],AU:["61","1\\d{4,9}|[2-578]\\d{8}",[["([2378])(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|[45]"],"0$1"],["(16)(\\d{3,4})","$1 $2",["16"],"0$1"],["(16)(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(1[389]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[389]0","1(?:[38]0|9)0"]],["(180)(2\\d{3})","$1 $2",["180","1802"]],["(19\\d)(\\d{3})","$1 $2",["19[13]"]],["(19\\d{2})(\\d{4})","$1 $2",["19[679]"]],["(13)(\\d{2})(\\d{2})","$1 $2 $3",["13[1-9]"]]],"0",null,null,null,null,null,["[237]\\d{8}|8(?:51(?:0(?:0[03-9]|[1247]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-6])|1(?:1[69]|[23]\\d|4[0-4]))|[6-8]\\d{4}|9(?:[02-9]\\d{3}|1(?:[0-57-9]\\d{2}|6[0135-9]\\d)))\\d{3}","14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[6-9]|7[02-9]|8[12457-9]|9[017-9])\\d{6}","180(?:0\\d{3}|2)\\d{3}","19(?:0[0126]\\d|[679])\\d{5}","500\\d{6}",null,null,"16\\d{3,7}","550\\d{6}","13(?:00\\d{3}|45[0-4]|\\d)\\d{3}"]],AW:["297","[25-9]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],AX:["358","[13]\\d{5,9}|2\\d{4,9}|4\\d{6,10}|5\\d{6,9}|[67]\\d{7,9}|8\\d{7,8}",[["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[6-8])0"]],["(116\\d{3})","$1",["116"],"$1"],["(\\d{2})(\\d{3,9})","$1 $2",["1(?:0[1-9]|[3-9])|2(?:0[1-9]|9)|30[1-9]|4|50|7(?:[13]|5[03-9])"]],["(\\d)(\\d{4})","$1 $2",["9[1-8]"]],["(\\d)(\\d{5,9})","$1 $2",["[235689][1-8]"]],["(39\\d)(\\d{3})(\\d{3})","$1 $2 $3",["39"]]],"0",null,null,null,null,null,["18[1-8]\\d{4,6}","4(?:[0-8]\\d{5,8}|9\\d{9})|50\\d{6,8}","800\\d{5,6}","[67]00\\d{5,6}",null,null,"10(?:0\\d{4,6}|[1-37-9]\\d{5,7}|[46]\\d{3,7}|5\\d{4,7})|2(?:0(?:0\\d{4,6}|[1346-8]\\d{5,7}|2(?:[023]\\d{4,5}|[14-9]\\d{4,6})|5(?:\\d{3}|\\d{5,7})|9(?:[0-7]\\d{4,6}|[89]\\d{1,6}))|9\\d{5,8})|3(?:0(?:0\\d{3,7}|[1-57-9]\\d{5,7}|6(?:\\d{3}|\\d{5,7}))|44\\d{3}|93\\d{5,7})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{5,6})"]],AZ:["994","[1-9]\\d{8}",[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2(?:[0-36]|[45]2)|365"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],"0","(0$1)"],BA:["387","[3-9]\\d{7,8}",[["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-356]|[7-9]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6[047]"]]],"0","0$1"],BB:["1","[2589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"246"],BD:["880","[2-79]\\d{5,9}|1\\d{9}|8[0-7]\\d{4,8}",[["(2)(\\d{7,8})","$1-$2",["2"]],["(\\d{2})(\\d{4,6})","$1-$2",["[3-79]1"]],["(\\d{4})(\\d{3,6})","$1-$2",["1|3(?:0|[2-58]2)|4(?:0|[25]2|3[23]|[4689][25])|5(?:[02-578]2|6[25])|6(?:[0347-9]2|[26][25])|7[02-9]2|8(?:[023][23]|[4-7]2)|9(?:[02][23]|[458]2|6[016])"]],["(\\d{3})(\\d{3,7})","$1-$2",["[3-79][2-9]|8"]]],"0","0$1"],BE:["32","[1-9]\\d{7,8}",[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[6-9]"]],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4[23]|9[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[156]|7[018]|8(?:0[1-9]|[1-79])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"]]],"0","0$1"],BF:["226","[25-7]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],BG:["359","[23567]\\d{5,7}|[489]\\d{6,8}",[["(2)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"]],["(2)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"]],["(\\d{3})(\\d{4})","$1 $2",["43[124-7]|70[1-9]"]],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[124-7]|70[1-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[78]00"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["99[69]"]],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"]],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["48|8[7-9]|9[08]"]]],"0","0$1"],BH:["973","[136-9]\\d{7}",[["(\\d{4})(\\d{4})","$1 $2"]]],BI:["257","[267]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],BJ:["229","[2689]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"]]]],BL:["590","[56]\\d{8}",[["([56]90)(\\d{2})(\\d{4})","$1 $2-$3",["[56]90"]]],"0",null,null,null,null,null,["590(?:2[7-9]|5[12]|87)\\d{4}","690(?:0[05-9]|[1-9]\\d)\\d{4}"]],BM:["1","[4589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"441"],BN:["673","[2-578]\\d{6}",[["([2-578]\\d{2})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","[23467]\\d{7}|8\\d{8}",[["([234])(\\d{7})","$1 $2",["[2-4]"]],["([67]\\d{7})","$1",["[67]"]],["(800)(\\d{2})(\\d{4})","$1 $2 $3",["800"]]],"0",null,"0(1\\d)?"],BQ:["599","[347]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2",["[13-7]"]],["(9)(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],null,null,null,null,null,null,["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|50)\\d)\\d{3}","(?:31(?:8[14-8]|9[14578])|416[145-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]],BR:["55","[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",[["(\\d{4})(\\d{4})","$1-$2",["300|40[02]","300|40(?:0|20)"]],["([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)"]],"0",null,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","[2589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"242"],BT:["975","[1-8]\\d{6,7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]],["([2-8])(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]]]],BW:["267","[2-79]\\d{6,7}",[["(\\d{3})(\\d{4})","$1 $2",["[2-6]"]],["(7\\d)(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(90)(\\d{5})","$1 $2",["90"]]]],BY:["375","[1-4]\\d{8}|8(?:0(?:0\\d{3,7}|[13]\\d{7})|(?:10|20\\d)\\d{7})|9\\d{9,10}",[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["17[0-3589]|2[4-9]|[34]","17(?:[02358]|1[0-2]|9[0189])|2[4-9]|[34]"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:5[24]|6[235]|7[467])|2(?:1[246]|2[25]|3[26])","1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"],"8 0$1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["([89]\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8[01]|9"],"8 $1"],["(82\\d)(\\d{4})(\\d{4})","$1 $2 $3",["82"],"8 $1"],["(800)(\\d{3})","$1 $2",["800"],"8 $1"],["(800)(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"]],"8",null,"8?0?"],BZ:["501","[2-8]\\d{6}|0\\d{10}",[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(0)(800)(\\d{4})(\\d{3})","$1-$2-$3-$4",["080","0800"]]]],CA:["1","[2-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,null,["(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",null,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}","900[2-9]\\d{6}","5(?:00|22|33|44|66|77|88)[2-9]\\d{6}"]],CC:["61","[1458]\\d{5,9}",[["([2378])(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|[45]"],"0$1"],["(16)(\\d{3,4})","$1 $2",["16"],"0$1"],["(16)(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(1[389]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[389]0","1(?:[38]0|9)0"]],["(180)(2\\d{3})","$1 $2",["180","1802"]],["(19\\d)(\\d{3})","$1 $2",["19[13]"]],["(19\\d{2})(\\d{4})","$1 $2",["19[679]"]],["(13)(\\d{2})(\\d{2})","$1 $2 $3",["13[1-9]"]]],"0",null,null,null,null,null,["89162\\d{4}","14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[6-9]|7[02-9]|8[12547-9]|9[017-9])\\d{6}","180(?:0\\d{3}|2)\\d{3}","19(?:0[0126]\\d|[679])\\d{5}","500\\d{6}",null,null,null,"550\\d{6}","13(?:00\\d{2})?\\d{4}"]],CD:["243","[2-6]\\d{6}|[18]\\d{6,8}|9\\d{8}",[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["12"]],["([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[0-2459]|9"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"]],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"]]],"0","0$1"],CF:["236","[278]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],CG:["242","[028]\\d{8}",[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["801"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["800"]]]],CH:["41","[2-9]\\d{8}|860\\d{9}",[["([2-9]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]|[89]1"]],["([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["860"]]],"0","0$1"],CI:["225","[02-8]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],CK:["682","[2-8]\\d{4}",[["(\\d{2})(\\d{3})","$1 $2"]]],CL:["56","1230\\d{7}|[2-46-9]\\d{8,10}|5[1-3578]\\d{7}",[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]"],"($1)"],["(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"]],["(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["[68]00"],"$1"],["(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["600"],"$1"],["(1230)(\\d{3})(\\d{4})","$1 $2 $3",["123","1230"],"$1"],["(\\d{5})(\\d{4})","$1 $2",["219"],"($1)"]],"0","0$1","0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))"],CM:["237","[2368]\\d{7,8}",[["([26])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|88"]]]],CN:["86","[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,10}",[["(80\\d{2})(\\d{4})","$1 $2",["80[26-8]"],"0$1","true"],["([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d\\d[19]","[3-9]\\d\\d(?:10|9[56])"],"0$1"],["(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","true"],["([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:0[1-9]|[1-9]))|2[02-9]"],"0$1","true"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[47-9]|7|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","true"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[457]|6[09])|8(?:[57]1|98)"],"0$1","true"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","true"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1(?:[3-57-9]|66)"]],["(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],["(\\d{3})(\\d{7,8})","$1 $2",["950"]]],"0",null,"(1(?:[129]\\d{3}|79\\d{2}))|0"],CO:["57","(?:[13]\\d{0,3}|[24-8])\\d{7}",[["(\\d)(\\d{7})","$1 $2",["1(?:[2-7]|8[2-9]|9[0-3])|[24-8]","1(?:[2-7]|8[2-9]|9(?:09|[1-3]))|[24-8]"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3"]],["(1)(\\d{3})(\\d{7})","$1-$2-$3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"],"0$1",null,"$1 $2 $3"]],"0",null,"0([3579]|4(?:44|56))?"],CR:["506","[24-9]\\d{7,9}",[["(\\d{4})(\\d{4})","$1 $2",["[24-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]0"]]],null,null,"(19(?:0[012468]|1[09]|20|66|77|99))"],CU:["53","[2-57]\\d{5,7}",[["(\\d)(\\d{6,7})","$1 $2",["7"]],["(\\d{2})(\\d{4,6})","$1 $2",["[2-4]"]],["(\\d)(\\d{7})","$1 $2",["5"],"0$1"]],"0","(0$1)"],CV:["238","[259]\\d{6}",[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]]],CW:["599","[134679]\\d{6,7}",[["(\\d{3})(\\d{4})","$1 $2",["[13-7]"]],["(9)(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],null,null,null,null,null,null,["9(?:[48]\\d{2}|50\\d|7(?:2[0-24]|[34]\\d|6[35-7]|77|8[7-9]))\\d{4}","9(?:5(?:[12467]\\d|3[01])|6(?:[15-9]\\d|3[01]))\\d{4}",null,null,null,null,null,"955\\d{5}",null,"60[0-2]\\d{4}"]],CX:["61","[1458]\\d{5,9}",[["([2378])(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|[45]"],"0$1"],["(16)(\\d{3,4})","$1 $2",["16"],"0$1"],["(16)(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(1[389]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[389]0","1(?:[38]0|9)0"]],["(180)(2\\d{3})","$1 $2",["180","1802"]],["(19\\d)(\\d{3})","$1 $2",["19[13]"]],["(19\\d{2})(\\d{4})","$1 $2",["19[679]"]],["(13)(\\d{2})(\\d{2})","$1 $2 $3",["13[1-9]"]]],"0",null,null,null,null,null,["89164\\d{4}","14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[6-9]|7[02-9]|8[12547-9]|9[017-9])\\d{6}","180(?:0\\d{3}|2)\\d{3}","19(?:0[0126]\\d|[679])\\d{5}","500\\d{6}",null,null,null,"550\\d{6}","13(?:00\\d{2})?\\d{4}"]],CY:["357","[257-9]\\d{7}",[["(\\d{2})(\\d{6})","$1 $2"]]],CZ:["420","[2-8]\\d{8}|9\\d{8,11}",[["([2-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(96\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["96"]],["(9\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9[36]"]]]],DE:["49","[1-35-9]\\d{3,14}|4(?:[0-8]\\d{3,12}|9(?:[0-37]\\d|4(?:[1-35-8]|4\\d?)|5\\d{1,2}|6[1-8]\\d?)\\d{2,8})",[["(1\\d{2})(\\d{7,8})","$1 $2",["1[67]"]],["(15\\d{3})(\\d{6})","$1 $2",["15[0568]"]],["(1\\d{3})(\\d{7})","$1 $2",["15"]],["(\\d{2})(\\d{3,11})","$1 $2",["3[02]|40|[68]9"]],["(\\d{3})(\\d{3,11})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14]|[4-9]1)|3(?:[35-9][15]|4[015])|[4-8][1-9]1|9(?:06|[1-9]1)"]],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|[7-9](?:0[1-9]|[1-9])","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|[46][1246]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|3[1357]|4[13578]|6[1246]|7[1356]|9[1346])|5(?:0[14]|2[1-3589]|3[1357]|[49][1246]|6[1-4]|7[1346]|8[13568])|6(?:0[356]|2[1-489]|3[124-6]|4[1347]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|3[1357]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|4[1347]|6[0135-9]|7[1467]|8[136])|9(?:0[12479]|2[1358]|3[1357]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|[7-9](?:0[1-9]|[1-9])"]],["(3\\d{4})(\\d{1,10})","$1 $2",["3"]],["(800)(\\d{7,12})","$1 $2",["800"]],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:37|80)|900","1(?:37|80)|900[1359]"]],["(1\\d{2})(\\d{5,11})","$1 $2",["181"]],["(18\\d{3})(\\d{6})","$1 $2",["185","1850","18500"]],["(18\\d{2})(\\d{7})","$1 $2",["18[68]"]],["(18\\d)(\\d{8})","$1 $2",["18[2-579]"]],["(700)(\\d{4})(\\d{4})","$1 $2 $3",["700"]],["(138)(\\d{4})","$1 $2",["138"]],["(15[013-68])(\\d{2})(\\d{8})","$1 $2 $3",["15[013-68]"]],["(15[279]\\d)(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"]],["(1[67]\\d)(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"]]],"0","0$1"],DJ:["253","[27]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],DK:["45","[2-9]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],DM:["1","[57-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"767"],DO:["1","[589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"8[024]9"],DZ:["213","(?:[1-4]|[5-9]\\d)\\d{7}",[["([1-4]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"]],["([5-8]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"]],["(9\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"]]],"0","0$1"],EC:["593","1\\d{9,10}|[2-8]\\d{7}|9\\d{8}",[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[247]|[356][2-8]"],null,null,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["180","1800"],"$1"]],"0","(0$1)"],EE:["372","[3-9]\\d{6,7}|800\\d{6,7}",[["([3-79]\\d{2})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]"]],["(70)(\\d{2})(\\d{4})","$1 $2 $3",["70"]],["(8000)(\\d{3})(\\d{3})","$1 $2 $3",["800","8000"]],["([458]\\d{3})(\\d{3,4})","$1 $2",["40|5|8(?:00|[1-5])","40|5|8(?:00[1-9]|[1-5])"]]]],EG:["20","1\\d{4,9}|[24-6]\\d{8}|3\\d{7}|[89]\\d{8,9}",[["(\\d)(\\d{7,8})","$1 $2",["[23]"]],["(\\d{2})(\\d{6,7})","$1 $2",["1(?:3|5[239])|[4-6]|[89][2-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1[0-25]|[89]00"]]],"0","0$1"],EH:["212","[5-9]\\d{8}",[["([5-7]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|[67]"]],["([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|92)|892","5(?:2(?:[2-48]|9[0-7])|3(?:[5-79]|8[0-7])|924)|892"]],["(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"]],["([5]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:4[067]|5[03])"]],["(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"]]],"0",null,null,null,null,"528[89]"],ER:["291","[178]\\d{6}",[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3"]],"0","0$1"],ES:["34","[5-9]\\d{8}",[["([89]00)(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["([5-9]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[568]|[79][0-8]"]]]],ET:["251","[1-59]\\d{8}",[["([1-59]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"]]],"0","0$1"],FI:["358","1\\d{5,9}|2\\d{4,9}|[35]\\d{5,9}|4\\d{5,10}|6\\d{6,9}|7\\d{7,9}|8\\d{6,8}|9\\d{4,8}",[["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[6-8])0"]],["(116\\d{3})","$1",["116"],"$1"],["(\\d{2})(\\d{3,9})","$1 $2",["1(?:0[1-9]|[3-9])|2(?:0[1-9]|9)|30[1-9]|4|50|7(?:[13]|5[03-9])"]],["(\\d)(\\d{4})","$1 $2",["9[1-8]"]],["(\\d)(\\d{5,9})","$1 $2",["[235689][1-8]"]],["(39\\d)(\\d{3})(\\d{3})","$1 $2 $3",["39"]]],"0","0$1",null,null,null,null,["1[3-79][1-8]\\d{4,6}|[23568][1-8]\\d{5,7}|9[1-8]\\d{3,7}","4[0-8]\\d{5,8}|50\\d{4,8}","800\\d{5,6}","[67]00\\d{5,6}",null,null,"10(?:0\\d{4,6}|[1-37-9]\\d{5,7}|[46]\\d{3,7}|5\\d{4,7})|2(?:0(?:0\\d{4,6}|[1346-8]\\d{5,7}|2(?:[023]\\d{4,5}|[14-9]\\d{4,6})|5(?:\\d{3}|\\d{5,7})|9(?:[0-7]\\d{4,6}|[89]\\d{1,6}))|9\\d{5,8})|3(?:0(?:0\\d{3,7}|[1-57-9]\\d{5,7}|6(?:\\d{3}|\\d{5,7}))|44\\d{3}|93\\d{5,7})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{5,6})"]],FJ:["679","[2-9]\\d{6}|0\\d{10}",[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]]],FK:["500","[2-7]\\d{4}"],FM:["691","[39]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],FO:["298","[2-9]\\d{5}",[["(\\d{6})","$1"]],null,null,"(10(?:01|[12]0|88))"],FR:["33","[1-9]\\d{8}",[["([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"]],["(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],"0","0$1"],GA:["241","0?\\d{7}",[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]]],GB:["44","\\d{7,10}",[["(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-57-9]|62)","7(?:[1-57-9]|624)"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7[06]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[02-9]1|1)|3|9[018]"]],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"]],["(1\\d{3})(\\d{5,6})","$1 $2",["1"]],["(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"]],["(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"]],["(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"]],["(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"]],["(800)(\\d{6})","$1 $2",["800"]]],"0","0$1",null,null,null,null,["2(?:0[01378]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{7}|1(?:1(?:3[0-48]|[46][0-4]|5[0-26-9]|[78][0-49])|21[0-7]|31[0-8]|[4-69]1\\d)\\d{6}|1(?:2(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)|3(?:0\\d|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[28][02-57-9]|[37]\\d|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|2[024-9]|3[015689]|4[02-9]|5[03-9]|6\\d|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0124578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|8\\d|9[2-57]))\\d{6}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[345])))|3(?:638[2-5]|647[23]|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[123]))|5(?:24(?:3[2-79]|6\\d)|276\\d|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[567]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|955[0-4])|7(?:26(?:6[13-9]|7[0-7])|442\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|84(?:3[2-58]))|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}|176888[2-46-8]\\d{2}|16977[23]\\d{3}","7(?:[1-3]\\d{3}|4(?:[0-46-9]\\d{2}|5(?:[0-689]\\d|7[0-57-9]))|5(?:0[0-8]|[13-9]\\d|2[0-35-9])\\d|7(?:0(?:0[01]|[1-9]\\d)|[1-7]\\d{2}|8[02-9]\\d|9[0-689]\\d)|8(?:[014-9]\\d|[23][0-8])\\d|9(?:[024-9]\\d{2}|1(?:[02-9]\\d|1[028])|3[0-689]\\d))\\d{5}","80(?:0(?:1111|\\d{6,7})|8\\d{7})","(?:87[123]|9(?:[01]\\d|8[2349]))\\d{7}","70\\d{8}",null,"(?:3[0347]|55)\\d{8}","76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","56\\d{8}","8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})"]],GD:["1","[4589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"473"],GE:["995","[34578]\\d{8}",[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5"]]],"0"],GF:["594","[56]\\d{8}",[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],"0","0$1"],GG:["44","[135789]\\d{6,9}",[["(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-57-9]|62)","7(?:[1-57-9]|624)"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7[06]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[02-9]1|1)|3|9[018]"]],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"]],["(1\\d{3})(\\d{5,6})","$1 $2",["1"]],["(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"]],["(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"]],["(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"]],["(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"]],["(800)(\\d{6})","$1 $2",["800"]]],"0",null,null,null,null,null,["1481[25-9]\\d{5}","7(?:781\\d|839\\d|911[17])\\d{5}","80(?:0(?:1111|\\d{6,7})|8\\d{7})","(?:87[123]|9(?:[01]\\d|8[0-3]))\\d{7}","70\\d{8}",null,"(?:3[0347]|55)\\d{8}","76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","56\\d{8}","8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})"]],GH:["233","[235]\\d{8}|8\\d{7}",[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{5})","$1 $2",["8"]]],"0","0$1"],GI:["350","[256]\\d{7}",[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","[1-689]\\d{5}",[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]]],GM:["220","[2-9]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],GN:["224","[367]\\d{7,8}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","[56]\\d{8}",[["([56]90)(\\d{2})(\\d{4})","$1 $2-$3",["[56]90"]]],"0","0$1",null,null,null,null,["590(?:0[13468]|1[012]|2[0-68]|3[28]|4[0-8]|5[579]|6[0189]|70|8[0-689]|9\\d)\\d{4}","690(?:0[05-9]|[1-9]\\d)\\d{4}"]],GQ:["240","[23589]\\d{8}",[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","[26-9]\\d{9}",[["([27]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2[2-9]1|[689]"]],["(2\\d{3})(\\d{6})","$1 $2",["2[2-9][02-9]"]]]],GT:["502","[2-7]\\d{7}|1[89]\\d{9}",[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","[5689]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"671"],GW:["245","(?:4(?:0\\d{5}|4\\d{7})|9\\d{8})",[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["44|9[5-7]"]],["(\\d{3})(\\d{4})","$1 $2",["40"]]]],GY:["592","[2-46-9]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],HK:["852","[2-7]\\d{7}|8[0-3]\\d{6,7}|9\\d{4,10}",[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|[89](?:0[1-9]|[1-9])"]],["(800)(\\d{3})(\\d{3})","$1 $2 $3",["800"]],["(900)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["900"]],["(900)(\\d{2,5})","$1 $2",["900"]]]],HN:["504","[237-9]\\d{7}",[["(\\d{4})(\\d{4})","$1-$2"]]],HR:["385","[1-7]\\d{5,8}|[89]\\d{6,8}",[["(1)(\\d{4})(\\d{3})","$1 $2 $3",["1"]],["([2-5]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"]],["(9\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["9"]],["(6[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"]],["([67]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"]],["(80[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["80[01]"]],["(80[01])(\\d{3})(\\d{3})","$1 $2 $3",["80[01]"]]],"0","0$1"],HT:["509","[2-489]\\d{7}",[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3"]]],HU:["36","[1-9]\\d{7,8}",[["(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"]]],"06","($1)"],ID:["62","(?:[1-79]\\d{6,10}|8\\d{7,11})",[["(\\d{2})(\\d{5,8})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,8})","$1 $2",["2[035-9]|[36][02-9]|[4579]"],"(0$1)"],["(8\\d{2})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"]],["(8\\d{2})(\\d{4})(\\d{4,5})","$1-$2-$3",["8[1-35-9]"]],["(1)(500)(\\d{3})","$1 $2 $3",["150","1500"],"$1"],["(177)(\\d{6,8})","$1 $2",["177"]],["(800)(\\d{5,7})","$1 $2",["800"]],["(804)(\\d{3})(\\d{4})","$1 $2 $3",["804"]],["(80\\d)(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80[79]"]]],"0","0$1"],IE:["353","[124-9]\\d{6,9}",[["(1)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"]],["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"]],["(\\d{3})(\\d{5})","$1 $2",["40[24]|50[45]"]],["(48)(\\d{4})(\\d{4})","$1 $2 $3",["48"]],["(818)(\\d{3})(\\d{3})","$1 $2 $3",["818"]],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[24-69]|7[14]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["76|8[35-9]"],"0$1"],["(8\\d)(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8[35-9]5"],"0$1"],["(700)(\\d{3})(\\d{3})","$1 $2 $3",["700"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:5|8[059])","1(?:5|8[059]0)"],"$1"]],"0","(0$1)"],IL:["972","1\\d{6,11}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}|7\\d{6,9}",[["([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(153)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["153"]],["(1)([7-9]\\d{2})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(1255)(\\d{3})","$1-$2",["125","1255"]],["(1200)(\\d{3})(\\d{3})","$1-$2-$3",["120","1200"]],["(1212)(\\d{2})(\\d{2})","$1-$2-$3",["121","1212"]],["(1599)(\\d{6})","$1-$2",["159","1599"]],["(151)(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["151"]],["(\\d{4})","*$1",["[2-689]"]]],"0"],IM:["44","[135789]\\d{6,9}",[["(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-57-9]|62)","7(?:[1-57-9]|624)"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7[06]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[02-9]1|1)|3|9[018]"]],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"]],["(1\\d{3})(\\d{5,6})","$1 $2",["1"]],["(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"]],["(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"]],["(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"]],["(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"]],["(800)(\\d{6})","$1 $2",["800"]]],"0",null,null,null,null,null,["1624[5-8]\\d{5}","7(?:4576|[59]24\\d|624[0-4689])\\d{5}","808162\\d{4}","(?:872299|90[0167]624)\\d{4}","70\\d{8}",null,"3(?:08162\\d|3\\d{5}|4(?:40[49]06|5624\\d)|7(?:0624\\d|2299\\d))\\d{3}|55\\d{8}",null,"56\\d{8}","8(?:4(?:40[49]06|5624\\d)|70624\\d)\\d{3}"]],IN:["91","008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",[["(\\d{8})","$1",["561","5616","56161"],"$1"],["(\\d{5})(\\d{5})","$1 $2",["6(?:[09]0|28|3[589])|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","6(?:[09]0|28[0-2]|3(?:5[01]|[89]0))|7(?:[07]|19[0-5]|2(?:[0235-9]|[14][017-9])|3(?:[025-9]|[134][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02-46-9]|[15][017-9])|6(?:[02-9]|1[0-257-9])|8(?:[0-79]|8[0189])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:[014][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","6(?:[09]0|28[0-2]|3(?:5(?:0[0-6]|1)|[89]0))|7(?:0|19[0-5]|2(?:[0235-79]|[14][017-9]|8(?:[0-69]|[78][089]))|3(?:[05-8]|1(?:[0189]|7[5-9])|2(?:[0-49][089]|[5-8])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2-5][089]|7[0189]))|4(?:[056]|1(?:[0135-9]|[24][089])|[29](?:[0-7][089]|[89])|3(?:[0-8][089]|9)|[47](?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389]))|5(?:[0346-9]|[15][017-9]|2(?:[03-9]|[12][089]))|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[05-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:0(?:[089]|7[02])|[14](?:[089]|7[02-8])|[235-9])|3(?:[03-57-9]|1(?:[089]|7[02-6])|2(?:[09]|77|8[0-689])|6(?:[089]|7[02-7]))|[45]|6(?:[02457-9]|[136](?:[089]|7[02-8]))|7(?:0[07-9]|[1-69]|[78](?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-68]))|9(?:[02-9]|1(?:[0289]|7[2-6])))|9"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|[68][1-9]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"]],["(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1"],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1"],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1"],["(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1"],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1"]],"0","0$1",null,null,!0],IO:["246","3\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],IQ:["964","[1-7]\\d{7,9}",[["(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["([2-6]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"]],["(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"]]],"0","0$1"],IR:["98","[1-8]\\d{5,9}|9(?:[0-4]\\d{8}|9\\d{8})",[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"]],["(\\d{2})(\\d{4,5})","$1 $2",["[1-8]"]],["(\\d{4,5})","$1",["96"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"]]],"0","0$1"],IS:["354","[4-9]\\d{6}|38\\d{7}",[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(3\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]]],IT:["39","[01589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9})",[["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|55"]],["(0[26])(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(0[26])(\\d{4,6})","$1 $2",["0[26]"]],["(0\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],["(0\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["0[13-57-9][2-46-8]"]],["(0\\d{3})(\\d{2,6})","$1 $2",["0[13-57-9][2-46-8]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13]|8(?:00|4[08]|9[59])","[13]|8(?:00|4[08]|9(?:5[5-9]|9))"]],["(\\d{4})(\\d{4})","$1 $2",["894","894[5-9]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3"]]],null,null,null,null,null,null,["0(?:[26]\\d{4,9}|(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2346]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[34578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7})","3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})","80(?:0\\d{6}|3\\d{3})","0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})","1(?:78\\d|99)\\d{6}",null,null,null,"55\\d{8}","84(?:[08]\\d{6}|[17]\\d{3})"]],JE:["44","[135789]\\d{6,9}",[["(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-57-9]|62)","7(?:[1-57-9]|624)"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7[06]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[02-9]1|1)|3|9[018]"]],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"]],["(1\\d{3})(\\d{5,6})","$1 $2",["1"]],["(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"]],["(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"]],["(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"]],["(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"]],["(800)(\\d{6})","$1 $2",["800"]]],"0",null,null,null,null,null,["1534[0-24-8]\\d{5}","7(?:509\\d|7(?:00[378]|97[7-9])|829\\d|937\\d)\\d{5}","80(?:07(?:35|81)|8901)\\d{4}","(?:871206|90(?:066[59]|1810|71(?:07|55)))\\d{4}","701511\\d{4}",null,"3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))\\d{4}|55\\d{8}","76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","56\\d{8}","8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|70002)\\d{4}"]],JM:["1","[589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"876"],JO:["962","[235-9]\\d{7,8}",[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(7)(\\d{4})(\\d{4})","$1 $2 $3",["7[457-9]"]],["(\\d{2})(\\d{7})","$1 $2",["70"]],["(\\d{3})(\\d{5,6})","$1 $2",["8[0158]|9"]]],"0","0$1"],JP:["81","[1-9]\\d{8,9}|00(?:[36]\\d{7,14}|7\\d{5,7}|8\\d{7})",[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"]],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[2579]0|80[1-9]"]],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[78]|96)|477|51[24]|636)|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[78]|96[2457-9])|477|51[24]|636[2-57-9])|9(?:496|802|9(?:1[23]|69))"]],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:[3-6][2-9]|7[2-6]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:20|[3578]|4[04-9]|6[56]))|3(?:[3-6][2-9]|7(?:[2-5]|6[0-59])|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:20|[3578]|4[04-9]|6(?:5[25]|60)))|3(?:[3-6][2-9]|7(?:[2-5]|6[0-59])|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"]],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:20|[68]|9[178])|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:20|[68]|9[178])|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93(?:31|4))"]],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:[34]7|[56]9|74|9[14-79])|82|993"]],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"]]],"0","0$1"],KE:["254","20\\d{6,7}|[4-9]\\d{6,9}",[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"]],["(\\d{3})(\\d{6})","$1 $2",["7"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"]]],"0","0$1","005|0"],KG:["996","[235-8]\\d{8,9}",[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[25-7]|31[25]"]],["(\\d{4})(\\d{5})","$1 $2",["3(?:1[36]|[2-9])"]],["(\\d{3})(\\d{3})(\\d)(\\d{3})","$1 $2 $3 $4",["8"]]],"0","0$1"],KH:["855","[1-9]\\d{7,9}",[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["1\\d[1-9]|[2-9]"],"0$1"],["(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[89]0","1[89]00"]]],"0"],KI:["686","[2458]\\d{4}|3\\d{4,7}|[67]\\d{7}",[],null,null,"0"],KM:["269","[3478]\\d{6}",[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]]],KN:["1","[589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"869"],KP:["850","1\\d{9}|[28]\\d{7}",[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],"0","0$1"],KR:["82","00(?:3\\d{8,9}|7\\d{9,11})|[1-7]\\d{4,9}|8\\d{8}",[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"]],["(\\d{4})(\\d{4})","$1-$2",["1(?:5[246-9]|6[046-8]|8[03579])","1(?:5(?:22|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))"],"$1"],["(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60[2-9]|80"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1[0-25-9]|(?:3[1-3]|[46][1-4]|5[1-5])[1-9]"]],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]0"]]],"0","0$1","0(8[1-46-8]|85\\d{2})?"],KW:["965","[12569]\\d{6,7}",[["(\\d{4})(\\d{3,4})","$1 $2",["[16]|2(?:[0-35-9]|4[0-35-9])|52[25]|9[024-9]"]],["(\\d{3})(\\d{5})","$1 $2",["244|5(?:[015]|6[56])"]]]],KY:["1","[3589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"345"],KZ:["7","(?:33\\d|7\\d{2}|80[089])\\d{7}",[["([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"]],["(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"]]],"8",null,null,null,null,null,["33622\\d{5}|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[234]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[234]\\d|5[139])|4(?:2\\d|3[1235-9]|59)|5(?:[23]\\d|4[01246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}","7(?:0[012578]|47|6[02-4]|7[15-8]|85)\\d{7}","800\\d{7}","809\\d{7}","808\\d{7}",null,null,null,"751\\d{7}"]],LA:["856","[2-8]\\d{7,9}",[["(20)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["20"]],["([2-8]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"]],["(30)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30"]]],"0","0$1"],LB:["961","[13-9]\\d{6,7}",[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["7(?:[01]|6[013-9]|8[89]|9[1-3])|[89][01]"]]],"0"],LC:["1","[5789]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"758"],LI:["423","6\\d{8}|[23789]\\d{6}",[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[237-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[56]"]],["(69)(7\\d{2})(\\d{4})","$1 $2 $3",["697"]]],"0",null,"0|10(?:01|20|66)"],LK:["94","[1-9]\\d{8}",[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"]]],"0","0$1"],LR:["231","2\\d{7,8}|[378]\\d{8}|4\\d{6}|5\\d{6,8}",[["(2\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["([4-5])(\\d{3})(\\d{3})","$1 $2 $3",["[45]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"]]],"0","0$1"],LS:["266","[2568]\\d{7}",[["(\\d{4})(\\d{4})","$1 $2"]]],LT:["370","[3-9]\\d{7}",[["([34]\\d)(\\d{6})","$1 $2",["37|4(?:1|5[45]|6[2-4])"]],["([3-6]\\d{2})(\\d{5})","$1 $2",["3[148]|4(?:[24]|6[09])|528|6"]],["([7-9]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1"],["(5)(2\\d{2})(\\d{4})","$1 $2 $3",["52[0-79]"]]],"8","(8-$1)","[08]",null,!0],LU:["352","[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})",[["(\\d{2})(\\d{3})","$1 $2",["[2-5]|7[1-9]|[89](?:0[2-9]|[1-9])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-5]|7[1-9]|[89](?:0[2-9]|[1-9])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,4})","$1 $2 $3 $4",["2(?:[12589]|4[12])|[3-5]|7[1-9]|8(?:0[2-9]|[1-9])|9(?:0[2-46-9]|[1-9])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["70|80[01]|90[015]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],null,null,"(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\\d)"],LV:["371","[2689]\\d{7}",[["([2689]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2689]"]]]],LY:["218","[25679]\\d{8}",[["([25-79]\\d)(\\d{7})","$1-$2",["[25-79]"]]],"0","0$1"],MA:["212","[5-9]\\d{8}",[["([5-7]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|[67]"]],["([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|92)|892","5(?:2(?:[2-48]|9[0-7])|3(?:[5-79]|8[0-7])|924)|892"]],["(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"]],["([5]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:4[067]|5[03])"]],["(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"]]],"0","0$1",null,null,null,null,["5(?:2(?:[015-79]\\d|2[02-9]|3[2-57]|4[2-8]|8[235-7])\\d|3(?:[0-48]\\d|[57][2-9]|6[2-8]|9[3-9])\\d|4[067]\\d{2}|5[03]\\d{2})\\d{4}","(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0[067]|6[1267]|7[07]))\\d{6}","80\\d{7}","89\\d{7}",null,null,null,null,"5924[01]\\d{4}"]],MC:["377","[34689]\\d{7,8}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[39]"],"$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"]],["(6)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"]],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["8"],"$1"]],"0","0$1"],MD:["373","[235-9]\\d{7}",[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"]],["([25-7]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["2[13-9]|[5-7]"]],["([89]\\d{2})(\\d{5})","$1 $2",["[89]"]]],"0","0$1"],ME:["382","[2-9]\\d{7,8}",[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[036-9]"]]],"0","0$1"],MF:["590","[56]\\d{8}",[["([56]90)(\\d{2})(\\d{4})","$1 $2-$3",["[56]90"]]],"0",null,null,null,null,null,["590(?:[02][79]|13|5[0-268]|[78]7)\\d{4}","690(?:0[05-9]|[1-9]\\d)\\d{4}"]],MG:["261","[23]\\d{8}",[["([23]\\d)(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"]]],"0","0$1"],MH:["692","[2-6]\\d{6}",[["(\\d{3})(\\d{4})","$1-$2"]],"1"],MK:["389","[2-578]\\d{7}",[["(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"]],["([347]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[347]"]],["([58]\\d{2})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"]]],"0","0$1"],ML:["223","[246-9]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]]]],MM:["95","[178]\\d{5,7}|[24-6]\\d{5,8}|9(?:[279]\\d{0,2}|5|[34]\\d{1,2}|6(?:\\d{1,2})?|8(?:\\d{2})?)\\d{6}",[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["1|2[245]"]],["(2)(\\d{4})(\\d{4})","$1 $2 $3",["251"]],["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"]],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["432|67|81"]],["(\\d{2})(\\d{2})(\\d{3,4})","$1 $2 $3",["[4-8]"]],["(9)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"]],["(9)([34]\\d{4})(\\d{4})","$1 $2 $3",["9(?:3[0-36]|4[0-57-9])"]],["(9)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92[56]"]],["(9)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["93"]]],"0","0$1"],MN:["976","[12]\\d{7,9}|[57-9]\\d{7}",[["([12]\\d)(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"]],["([12]2\\d)(\\d{5,6})","$1 $2",["[12]2[1-3]"]],["([12]\\d{3})(\\d{5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)2"]],["(\\d{4})(\\d{4})","$1 $2",["[57-9]"],"$1"],["([12]\\d{4})(\\d{4,5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)[4-9]"]]],"0","0$1"],MO:["853","[268]\\d{7}",[["([268]\\d{3})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","[5689]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"670"],MQ:["596","[56]\\d{8}",[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],"0","0$1"],MR:["222","[2-48]\\d{7}",[["([2-48]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","[5689]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"664"],MT:["356","[2357-9]\\d{7}",[["(\\d{4})(\\d{4})","$1 $2"]]],MU:["230","[2-9]\\d{6,7}",[["([2-46-9]\\d{2})(\\d{4})","$1 $2",["[2-46-9]"]],["(5\\d{3})(\\d{4})","$1 $2",["5"]]]],MV:["960","[346-8]\\d{6,9}|9(?:00\\d{7}|\\d{6})",[["(\\d{3})(\\d{4})","$1-$2",["[3467]|9(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]00"]]]],MW:["265","(?:1(?:\\d{2})?|[2789]\\d{2})\\d{6}",[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[17-9]"]]],"0","0$1"],MX:["52","[1-9]\\d{9,10}",[["([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"]],["(1)([358]\\d)(\\d{4})(\\d{4})","044 $2 $3 $4",["1(?:33|55|81)"],"$1",null,"$1 $2 $3 $4"],["(1)(\\d{3})(\\d{3})(\\d{4})","044 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"],"$1",null,"$1 $2 $3 $4"]],"01","01 $1","0[12]|04[45](\\d{10})","1$1",!0],MY:["60","[13-9]\\d{7,9}",[["([4-79])(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(3)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["([18]\\d)(\\d{3})(\\d{3,4})","$1-$2 $3",["1[02-46-9][1-9]|8"],"0$1"],["(1)([36-8]00)(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]0","1[36-8]00"]],["(11)(\\d{4})(\\d{4})","$1-$2 $3",["11"],"0$1"],["(15[49])(\\d{3})(\\d{4})","$1-$2 $3",["15[49]"],"0$1"]],"0"],MZ:["258","[28]\\d{7,8}",[["([28]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-7]"]],["(80\\d)(\\d{3})(\\d{3})","$1 $2 $3",["80"]]]],NA:["264","[68]\\d{7,8}",[["(8\\d)(\\d{3})(\\d{4})","$1 $2 $3",["8[1-35]"]],["(6\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["6"]],["(88)(\\d{3})(\\d{3})","$1 $2 $3",["88"]],["(870)(\\d{3})(\\d{3})","$1 $2 $3",["870"]]],"0","0$1"],NC:["687","[2-57-9]\\d{5}",[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-46-9]|5[0-4]"]]]],NE:["227","[0289]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["09|[289]"]],["(08)(\\d{3})(\\d{3})","$1 $2 $3",["08"]]]],NF:["672","[13]\\d{5}",[["(\\d{2})(\\d{4})","$1 $2",["1"]],["(\\d)(\\d{5})","$1 $2",["3"]]]],NG:["234","[1-6]\\d{5,8}|9\\d{5,9}|[78]\\d{5,13}",[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"]],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[1-9]|[1-79])|8[2-9]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["70|8[01]|90[235-9]"]],["([78]00)(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]00"]],["([78]00)(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]00"]],["(78)(\\d{2})(\\d{3})","$1 $2 $3",["78"]]],"0","0$1"],NI:["505","[125-8]\\d{7}",[["(\\d{4})(\\d{4})","$1 $2"]]],NL:["31","1\\d{4,8}|[2-7]\\d{8}|[89]\\d{6,9}",[["([1-578]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7|8[4578]"]],["([1-5]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"]],["(6)(\\d{8})","$1 $2",["6[0-57-9]"]],["(66)(\\d{7})","$1 $2",["66"]],["(14)(\\d{3,4})","$1 $2",["14"],"$1"],["([89]0\\d)(\\d{4,7})","$1 $2",["[89]0"]]],"0","0$1"],NO:["47","0\\d{4}|[2-9]\\d{7}",[["([489]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[489]"]],["([235-7]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],null,null,null,null,null,null,["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}","(?:4[015-8]|5[89]|87|9\\d)\\d{6}","80[01]\\d{5}","82[09]\\d{5}","880\\d{5}",null,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}",null,"85[0-5]\\d{5}","810(?:0[0-6]|[2-8]\\d)\\d{3}"]],NP:["977","[1-8]\\d{7}|9(?:[1-69]\\d{6,8}|7[2-6]\\d{5,7}|8\\d{8})",[["(1)(\\d{7})","$1-$2",["1[2-6]"]],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-69]|7[15-9])"]],["(9\\d{2})(\\d{7})","$1-$2",["9(?:6[013]|7[245]|8)"],"$1"]],"0","0$1"],NR:["674","[458]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],NU:["683","[1-5]\\d{3}"],NZ:["64","6[235-9]\\d{6}|[2-57-9]\\d{7,9}",[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["240|[346]|7[2-57-9]|9[1-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["21"]],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|70|86"]],["(2\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["2[028]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["90"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|5|[89]0"]]],"0","0$1"],OM:["968","(?:5|[279]\\d)\\d{6}|800\\d{5,6}",[["(2\\d)(\\d{6})","$1 $2",["2"]],["([79]\\d{3})(\\d{4})","$1 $2",["[79]"]],["([58]00)(\\d{4,6})","$1 $2",["[58]00"]]]],PA:["507","[1-9]\\d{6,7}",[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["6"]]]],PE:["51","[14-9]\\d{7,8}",[["(1)(\\d{7})","$1 $2",["1"]],["([4-8]\\d)(\\d{6})","$1 $2",["[4-7]|8[2-4]"]],["(\\d{3})(\\d{5})","$1 $2",["80"]],["(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"$1"]],"0","(0$1)"],PF:["689","4\\d{5,7}|8\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[09]|8[79]"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]]]],PG:["675","[1-9]\\d{6,7}",[["(\\d{3})(\\d{4})","$1 $2",["[13-689]|27"]],["(\\d{4})(\\d{4})","$1 $2",["20|7"]]]],PH:["63","1\\d{10,12}|2\\d{5,7}|[3-7]\\d{8}|8\\d{7,9}|9\\d{9}",[["(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(2)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|5(?:22|44)|642|8(?:62|8[245])","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["([3-8]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[3-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["81|9"],"0$1"],["(1800)(\\d{3})(\\d{4})","$1 $2 $3",["180","1800"]],["(1800)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["180","1800"]]],"0"],PK:["92","1\\d{8}|[2-8]\\d{5,11}|9(?:[013-9]\\d{4,10}|2\\d(?:111\\d{6}|\\d{3,7}))",[["([89]00)(\\d{3})(\\d{2})","$1 $2 $3",["[89]00"],"0$1"],["(1\\d{3})(\\d{5})","$1 $2",["1"],"$1"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"]],["(\\d{3})(\\d{6,7})","$1 $2",["2[349]|45|54|60|72|8[2-5]|9[2-469]","(?:2[349]|45|54|60|72|8[2-5]|9[2-469])\\d[2-9]"]],["(58\\d{3})(\\d{5})","$1 $2",["58[126]"]],["(3\\d{2})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)1","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)11","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)111"]],["(\\d{3})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[349]|45|54|60|72|8[2-5]|9[2-9]","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d1","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d11","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d111"]]],"0","(0$1)"],PL:["48","[1-57-9]\\d{6,8}|6\\d{5,8}",[["(\\d{3})(\\d{3})","$1 $2",["11[68]|64"]],["(\\d{5})","$1",["19"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["26|39|45|5[0137]|6[0469]|7[02389]|8[08]"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[14]|2[0-57-9]|3[2-4]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]]]],PM:["508","[45]\\d{5}",[["([45]\\d)(\\d{2})(\\d{2})","$1 $2 $3",["[45]"]]],"0","0$1"],PR:["1","[5789]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"787|939"],PS:["970","1\\d{9}|[24589]\\d{7,8}",[["([2489])(2\\d{2})(\\d{4})","$1 $2 $3",["[2489]2"]],["(5[69]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["5[69]"]],["(1[78]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[78]0","1[78]00"],"$1"]],"0","0$1"],PT:["351","[2-46-9]\\d{8}",[["(2\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["([2-46-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[3-9]|[346-9]"]]]],PW:["680","[2-8]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],PY:["595","5[0-5]\\d{4,7}|[2-46-9]\\d{5,8}",[["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["9[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["870","8700"]],["(\\d{3})(\\d{4,5})","$1 $2",["[2-8][1-9]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8][1-9]"],"0$1"]],"0"],QA:["974","[2-8]\\d{6,7}",[["([28]\\d{2})(\\d{4})","$1 $2",["[28]"]],["([3-7]\\d{3})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","[268]\\d{8}",[["([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[268]"]]],"0","0$1",null,null,null,"262|69|8"],RO:["40","[23]\\d{5,8}|[7-9]\\d{8}",[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"]],["(\\d{2})(\\d{4})","$1 $2",["[23]1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23][3-7]|[7-9]"]],["(2\\d{2})(\\d{3})","$1 $2",["2[3-6]"]]],"0","0$1"],RS:["381","[126-9]\\d{4,11}|3(?:[0-79]\\d{3,10}|8[2-9]\\d{2,9})",[["([23]\\d{2})(\\d{4,9})","$1 $2",["(?:2[389]|39)0"]],["([1-3]\\d)(\\d{5,10})","$1 $2",["1|2(?:[0-24-7]|[389][1-9])|3(?:[0-8]|9[1-9])"]],["(6\\d)(\\d{6,8})","$1 $2",["6"]],["([89]\\d{2})(\\d{3,9})","$1 $2",["[89]"]],["(7[26])(\\d{4,9})","$1 $2",["7[26]"]],["(7[08]\\d)(\\d{4,9})","$1 $2",["7[08]"]]],"0","0$1"],RU:["7","[347-9]\\d{9}",[["([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"]],["(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"]]],"8","8 ($1)",null,null,!0,null,["(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}","9\\d{9}","80[04]\\d{7}","80[39]\\d{7}","808\\d{7}"]],RW:["250","[027-9]\\d{7,8}",[["(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["([7-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(0\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],"0"],SA:["966","1\\d{7,8}|(?:[2-467]|92)\\d{7}|5\\d{8}|8\\d{9}",[["([1-467])(\\d{3})(\\d{4})","$1 $2 $3",["[1-467]"]],["(1\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[1-467]"]],["(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"]],["(92\\d{2})(\\d{5})","$1 $2",["92"],"$1"],["(800)(\\d{3})(\\d{4})","$1 $2 $3",["800"],"$1"],["(811)(\\d{3})(\\d{3,4})","$1 $2 $3",["811"]]],"0","0$1"],SB:["677","[1-9]\\d{4,6}",[["(\\d{2})(\\d{5})","$1 $2",["[7-9]"]]]],SC:["248","[24689]\\d{5,6}",[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]"]]]],SD:["249","[19]\\d{8}",[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3"]],"0","0$1"],SE:["46","[1-35-9]\\d{5,11}|4\\d{6,8}",[["(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1-$2 $3 $4",["8"],null,null,"$1 $2 $3 $4"],["([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"],null,null,"$1 $2 $3 $4"],["([1-469]\\d)(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90"],null,null,"$1 $2 $3"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],null,null,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],null,null,"$1 $2 $3"],["(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["7"],null,null,"$1 $2 $3 $4"],["(77)(\\d{2})(\\d{2})","$1-$2$3",["77"],null,null,"$1 $2 $3"],["(20)(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],null,null,"$1 $2 $3"],["(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9[034]"],null,null,"$1 $2 $3 $4"],["(9[034]\\d)(\\d{4})","$1-$2",["9[034]"],null,null,"$1 $2"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["25[245]|67[3-6]"],null,null,"$1 $2 $3 $4 $5"]],"0","0$1"],SG:["65","[36]\\d{7}|[17-9]\\d{7,10}",[["([3689]\\d{3})(\\d{4})","$1 $2",["[369]|8[1-9]"]],["(1[89]00)(\\d{3})(\\d{4})","$1 $2 $3",["1[89]0","1[89]00"]],["(7000)(\\d{4})(\\d{3})","$1 $2 $3",["700","7000"]],["(800)(\\d{3})(\\d{4})","$1 $2 $3",["800"]]]],SH:["290","[256]\\d{4}|8\\d{3}",[],null,null,null,null,null,null,["2(?:[0-57-9]\\d|6[4-9])\\d{2}","[56]\\d{4}",null,null,null,null,null,null,"262\\d{2}"]],SI:["386","[1-7]\\d{6,7}|[89]\\d{4,7}",[["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]|[34][24-8]|5[2-8]|7[3-8]"],"(0$1)"],["([3-7]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"]],["([89][09])(\\d{3,6})","$1 $2",["[89][09]"]],["([58]\\d{2})(\\d{5})","$1 $2",["59|8[1-3]"]]],"0","0$1"],SJ:["47","0\\d{4}|[45789]\\d{7}",[["([489]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[489]"]],["([235-7]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],null,null,null,null,null,null,["79\\d{6}","(?:4[015-8]|5[89]|9\\d)\\d{6}","80[01]\\d{5}","82[09]\\d{5}","880\\d{5}",null,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}",null,"85[0-5]\\d{5}","810(?:0[0-6]|[2-8]\\d)\\d{3}"]],SK:["421","(?:[2-68]\\d{5,8}|9\\d{6,8})",[["(2)(1[67])(\\d{3,4})","$1 $2 $3",["21[67]"]],["([3-5]\\d)(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5]"]],["(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"]],["([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"]],["([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"]],["(9090)(\\d{3})","$1 $2",["909","9090"]]],"0","0$1"],SL:["232","[2-9]\\d{7}",[["(\\d{2})(\\d{6})","$1 $2"]],"0","(0$1)"],SM:["378","[05-7]\\d{7,9}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(0549)(\\d{6})","$1 $2",["054","0549"],null,null,"($1) $2"],["(\\d{6})","0549 $1",["[89]"],null,null,"(0549) $1"]],null,null,"([89]\\d{5})","0549$1"],SN:["221","[3789]\\d{8}",[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],SO:["252","[1-9]\\d{5,8}",[["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[13-5]|2[0-79]"]],["(\\d)(\\d{7})","$1 $2",["24|[67]"]],["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{2})(\\d{5,7})","$1 $2",["15|28|6[1-35-9]|799|9[2-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3[59]|4[89]|6[24-6]|79|8[08]|90"]]],"0"],SR:["597","[2-8]\\d{5,6}",[["(\\d{3})(\\d{3})","$1-$2",["[2-4]|5[2-58]"]],["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","[19]\\d{8}",[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",null,"0$1"]],"0"],ST:["239","[29]\\d{6}",[["(\\d{3})(\\d{4})","$1 $2"]]],SV:["503","[267]\\d{7}|[89]\\d{6}(?:\\d{4})?",[["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","[5789]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"721"],SY:["963","[1-59]\\d{7,8}",[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"]],["(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0","0$1",null,null,!0],SZ:["268","[027]\\d{7}",[["(\\d{4})(\\d{4})","$1 $2",["[027]"]]]],TA:["290","8\\d{3}",[],null,null,null,null,null,null,["8\\d{3}"]],TC:["1","[5689]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"649"],TD:["235","[2679]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]]],TG:["228","[29]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[29]"]]]],TH:["66","1\\d{8,9}|[2-9]\\d{7,8}",[["(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"]],["([13-9]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["14|[3-9]"]],["(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[89]0","1[89]00"],"$1"]],"0","0$1"],TJ:["992","[3-57-9]\\d{8}",[["([349]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"]],["([457-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[148]|[578]|9(?:[0235-9]|1[59])"]],["(331700)(\\d)(\\d{2})","$1 $2 $3",["331","3317","33170","331700"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]","3(?:[1245]|3(?:[02-9]|1[0-589]))"]]],"8",null,null,null,!0],TK:["690","[2-47]\\d{3,6}"],TL:["670","[2-489]\\d{6}|7\\d{6,7}",[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7[3-8]"]]]],TM:["993","[1-6]\\d{7}",[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"]],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["13|[2-5]"]]],"8","(8 $1)"],TN:["216","[2-57-9]\\d{7}",[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3"]]],TO:["676","[02-8]\\d{4,6}",[["(\\d{2})(\\d{3})","$1-$2",["[1-6]|7[0-4]|8[05]"]],["(\\d{3})(\\d{4})","$1 $2",["7[5-9]|8[47-9]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]]]],TR:["90","[2-589]\\d{9}|444\\d{4}",[["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4(?:[0-35-9]|4[0-35-9])"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[02-69]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["51|[89]"],"0$1"],["(444)(\\d{1})(\\d{3})","$1 $2 $3",["444"]]],"0",null,null,null,!0],TT:["1","[589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"868"],TV:["688","[279]\\d{4,6}"],TW:["886","2\\d{6,8}|[3-689]\\d{7,8}|7\\d{7,9}",[["(20)(\\d)(\\d{4})","$1 $2 $3",["202"]],["([258]0)(\\d{3})(\\d{4})","$1 $2 $3",["20[013-9]|50[0-46-9]|80[0-79]"]],["([2-8])(\\d{3,4})(\\d{4})","$1 $2 $3",["[25][2-8]|[346]|[78][1-9]"]],["(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"]],["(70)(\\d{4})(\\d{4})","$1 $2 $3",["70"]]],"0","0$1"],TZ:["255","\\d{9}",[["([24]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[24]"]],["([67]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"]],["([89]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"]]],"0","0$1"],UA:["380","[3-9]\\d{8}",[["([3-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[38]9|4(?:[45][0-5]|87)|5(?:0|[67][37])|6[36-8]|7|9[1-9]","[38]9|4(?:[45][0-5]|87)|5(?:0|6(?:3[14-7]|7)|7[37])|6[36-8]|7|9[1-9]"]],["([3-689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["(?:3[1-8]|4[136-8])2|5(?:[12457]2|6[24])|6(?:[12][29]|[49]2|5[24])|8[0-8]|90","3(?:[1-46-8]2[013-9]|52)|4(?:[1378]2|62[013-9])|5(?:[12457]2|6[24])|6(?:[12][29]|[49]2|5[24])|8[0-8]|90"]],["([3-6]\\d{3})(\\d{5})","$1 $2",["3(?:[1-46-8]|5[013-9])|4(?:[137][013-9]|[45][6-9]|6|8[4-6])|5(?:[1245][013-9]|3|6[0135689]|7[4-6])|6(?:[12][13-8]|[49][013-9]|5[0135-9])","3(?:[1-46-8](?:[013-9]|22)|5[013-9])|4(?:[137][013-9]|[45][6-9]|6(?:[013-9]|22)|8[4-6])|5(?:[1245][013-9]|3|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][13-8]|[49][013-9]|5[0135-9])"]]],"0","0$1"],UG:["256","\\d{9}",[["(\\d{3})(\\d{6})","$1 $2",["20[0-8]|4(?:6[45]|[7-9])|[7-9]","20(?:[013-8]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"]],["(\\d{2})(\\d{7})","$1 $2",["3|4(?:[1-5]|6[0-36-9])"]],["(2024)(\\d{5})","$1 $2",["202","2024"]]],"0","0$1"],US:["1","[2-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,!0,null,["(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-258]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",null,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}","900[2-9]\\d{6}","5(?:00|22|33|44|66|77|88)[2-9]\\d{6}"]],UY:["598","[2489]\\d{6,7}",[["(\\d{4})(\\d{4})","$1 $2",["[24]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9[1-9]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["[89]0"],"0$1"]],"0"],UZ:["998","[679]\\d{8}",[["([679]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[679]"]]],"8","8 $1"],VA:["39","(?:0(?:878\\d{5}|6698\\d{5})|[1589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9}))",[["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|55"]],["(0[26])(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(0[26])(\\d{4,6})","$1 $2",["0[26]"]],["(0\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],["(0\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["0[13-57-9][2-46-8]"]],["(0\\d{3})(\\d{2,6})","$1 $2",["0[13-57-9][2-46-8]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13]|8(?:00|4[08]|9[59])","[13]|8(?:00|4[08]|9(?:5[5-9]|9))"]],["(\\d{4})(\\d{4})","$1 $2",["894","894[5-9]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3"]]],null,null,null,null,null,null,["06698\\d{5}","3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})","80(?:0\\d{6}|3\\d{3})","0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})","1(?:78\\d|99)\\d{6}",null,null,null,"55\\d{8}","84(?:[08]\\d{6}|[17]\\d{3})"]],VC:["1","[5789]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"784"],VE:["58","[24589]\\d{9}",[["(\\d{3})(\\d{7})","$1-$2"]],"0","0$1"],VG:["1","[2589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"284"],VI:["1","[3589]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,null,"340"],VN:["84","1\\d{6,9}|2\\d{9}|6\\d{6,7}|7\\d{6}|8\\d{6,8}|9\\d{8}",[["([17]99)(\\d{4})","$1 $2",["[17]99"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"]],["(80)(\\d{5})","$1 $2",["80"]],["(69\\d)(\\d{4,5})","$1 $2",["69"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2[0-35-79]"]],["([89]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8(?:8|9[89])|9"]],["(1[2689]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[26]|8[68]|99)"]],["(86[89])(\\d{3})(\\d{3})","$1 $2 $3",["86[89]"]],["(1[89]00)(\\d{4,6})","$1 $2",["1[89]0","1[89]00"],"$1"]],"0","0$1",null,null,!0],VU:["678","[2-57-9]\\d{4,6}",[["(\\d{3})(\\d{4})","$1 $2",["[579]"]]]],WF:["681","[4-8]\\d{5}",[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]]],WS:["685","[2-8]\\d{4,6}",[["(8\\d{2})(\\d{3,4})","$1 $2",["8"]],["(7\\d)(\\d{5})","$1 $2",["7"]],["(\\d{5})","$1",["[2-6]"]]]],YE:["967","[1-7]\\d{6,8}",[["([1-7])(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"]],["(7\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["7[0137]"]]],"0","0$1"],YT:["262","[268]\\d{8}",[["([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[268]"]]],"0",null,null,null,null,"269|63"],ZA:["27","[1-79]\\d{8}|8\\d{4,8}",[["(860)(\\d{3})(\\d{3})","$1 $2 $3",["860"]],["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"]],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-79]|8(?:[0-57]|6[1-9])"]]],"0","0$1"],ZM:["260","[289]\\d{8}",[["([29]\\d)(\\d{7})","$1 $2",["[29]"]],["(800)(\\d{3})(\\d{3})","$1 $2 $3",["800"]]],"0","0$1"],ZW:["263","2(?:[0-57-9]\\d{3,8}|6(?:[14]\\d{7}|\\d{4}))|[13-79]\\d{4,9}|8[06]\\d{5,8}",[["([49])(\\d{3})(\\d{2,4})","$1 $2 $3",["4|9[2-9]"]],["(7\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["7"]],["(86\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["86[24]"]],["([2356]\\d{2})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8|[78])|3(?:[09]8|17|3[78]|7[1569]|8[37])|5[15][78]|6(?:[29]8|37|[68][78]|75)"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|31|[56][14]|7[35]|84)|329"]],["([1-356]\\d)(\\d{3,5})","$1 $2",["1[3-9]|2[02569]|3[0-69]|5[05689]|6"]],["([235]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[23]9|54"]],["([25]\\d{3})(\\d{3,5})","$1 $2",["(?:25|54)8","258[23]|5483"]],["(8\\d{3})(\\d{6})","$1 $2",["86"]],["(80\\d)(\\d{4})","$1 $2",["80"]]],"0","0$1"],"001":["979","\\d{9}",[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3"]]]}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(0),o=t(21),r=t(6),i=t(63),a=function(){function e(){this.onFiredAction=new l.EventEmitter}return e.prototype.ngOnInit=function(){var e=this;o.a.getGlobalListenerOfActions([r.u,r.v]).subscribe((function(n){switch(n.name){case r.u:e.tabs.forEach((function(e){e.isActive=n.payload===e.name}));break;case r.v:for(var t=e.tabs.toArray(),l=!1,i=0;i0)for(var t=this.count>=this.total?this.total:this.count,l=this.ring,o=0;o0},t.prototype.setVisibilityOfPreviousAddresses=function(){this.isVisiblePreviousAddresses=this.getTimeAtCurrentAddressInMonths()<36},t.prototype.updateCorpBorrowerModelOnServer=function(){this.checkCorpForm()&&o.a.fireGlobalAction({name:this.corpId?r.y:r.d,payload:c({borrowerId:this.borrowerId},this.getCorpBorrowerServerModel())})},t.prototype.updateCorpAddress=function(){var e=this;if(["corp_address_paon","corp_address_street","corp_address_city","corp_address_postcode","corp_address_country"].some((function(n){return!e.tabModel.corp[n]})))return null;o.a.fireGlobalAction({name:this.corpAddressId?r.x:r.c,payload:{id:this.corpAddressId?this.corpAddressId:this.corpId,address:this.getCorpAddressServerModel()}})},t.prototype.dataChange=function(e,n){"string"!=typeof e&&n.control.patchValue({date:{year:e.date.year,month:e.date.month,day:e.date.day}})},t.prototype.corpDataChange=function(e,n){this.dataChange(e,n),this.updateCorpBorrowerModelOnServer()},t.prototype.calendarToggle=function(e,n){4===e&&n.control.markAsTouched()},t.prototype.deleteIdImage=function(e){this.photo=Object(s.a)(null),this.currFileUploadingState=p.None,this.renderer.setElementStyle(e,"height","100%"),this.renderer.setElementStyle(e,"width","100%"),this.updateIdBorrower([]),this.tabModel.image_id=null,this.calculatePercent()},t.prototype.removeDocumentId=function(e,n){e.stopPropagation(),o.a.fireGlobalAction({name:r.g,payload:{loanId:this.loanId,pdfId:this.pdfs[n].id}}),this.pdfs.splice(n,1),this.tabModel.image_id=this.pdfs.length>0?this.pdfs.slice():null},t.prototype.takePhoto=function(){var e=this;this.webCam.snap((function(n){e.setPassportBackground(n),e.webCam.reset()}))},t.prototype.showImageFromCamera=function(e){var n=this;this.currFileUploadingState=p.CameraOn,this.showHideUploadMenu=!this.showHideUploadMenu,this.photo=Object(s.a)(null),setTimeout((function(){n.webCam.attach(e),n.webCam.on("error",(function(e){n.webCam.reset()}))}),10)},t.prototype.showSelectFileDlg=function(e,n){n&&(e.accept=n),e.value="";var t=new MouseEvent("click",{bubbles:!0});this.renderer.invokeElementMethod(e,"dispatchEvent",[t])},t.prototype.isCameraOn=function(){return this.currFileUploadingState===p.CameraOn},t.prototype.onChangeInputFile=function(e){for(var n=this,t=e.currentTarget.files,l=[],o=!1,r=0;r=0&&!o?(l.push(i),o=!0):i.type.indexOf("image/")<0&&l.push(i)}l.forEach((function(e){return n.addFile(e)}))},t.prototype.onTimeChanged=function(e){this.timeAtCurrentAddress=e,this.setVisibilityOfPreviousAddresses(),this.remainingTime=this.getRemaining(this.getTimeAtCurrentAddressInMonths())},t.prototype.getRemaining=function(e){return 36-Math.round(Math.abs(this.getDurationBetweenDate(e,"months")))},t.prototype.getDurationBetweenDate=function(n,t){var l=this,o=(new Date).getTime(),r=e(o).subtract(n,"months");this.previousAddress.forEach((function(e){var n=12*(l.vss.toNum(e.editableAddress.year)||0)+(l.vss.toNum(e.editableAddress.month)||0);r.subtract(n,"months")}));var i=e.duration(e(o).diff(r)),a="years"===t?i.asYears():i.asMonths();return parseFloat(parseFloat(a).toFixed(2))},t.prototype.deleteBorrowerRow=function(e){for(var n=-1,t=0,l=0,i=this.borrowerList;l=0&&this.borrowerList.splice(n,1),o.a.fireGlobalAction({name:r.f,payload:{borrowers:this.borrowerList,loanId:this.loanId}})},t.prototype.updateBorrowerRow=function(e){if(!this.isUpdatingBorrower){this.isUpdatingBorrower=!0;var n=this.mapObjectOn(this.indBorrowerMapRule,e);n.id=e.id,n.id?(o.a.fireGlobalAction({name:r.D,payload:{indBorrower:n,indAddress:e.current_address}}),e.isPrimary&&o.a.fireGlobalAction({name:r.q,payload:n})):o.a.fireGlobalAction({name:r.e,payload:{loanId:this.loanId,borrowerId:null,indBorrower:n,indAddress:e.current_address}}),this.calculatePercent(),this.isUpdatingBorrower=!1}},t.prototype.hasTimeOfPrevAddressError=function(e,n,t){return e.invalid&&(this.isAddAddressFormSubmitted||n.touched||!!t&&t.touched)&&!!n.errors&&!!t&&!!t.errors},t.prototype.cancelPreviousAddress=function(e,n){e.stopPropagation(),n.editableAddress=n.address,n.editable=!1,this.previousAddress=this.previousAddress.filter((function(e){return!e.isNew})),this.isAddAddressFormSubmitted=!1},t.prototype.addNewPreviousAddress=function(e){e.stopPropagation(),this.previousAddress.some((function(e){return!!e.editable}))||this.previousAddress.push({editable:!0,isNew:!0,editableAddress:{}})},t.prototype.editPreviousAddress=function(e,n){e.stopPropagation(),n.editable||(this.previousAddress.forEach((function(e){return e.editable=!1})),n.editableAddress=c({},n.address),n.editable=!0)},t.prototype.deletePreviousAddress=function(e,n){e.stopPropagation(),n.address&&n.address.id&&o.a.fireGlobalAction({name:r.h,payload:{borrowerId:this.borrowerId,addressId:n.address.id}});var t=JSON.parse(this.winRef.nativeWindow.localStorage.getItem("previousAddresses"));if(t){var l=t.addresses.findIndex((function(e){return JSON.stringify(e.address)===JSON.stringify(n.address)}));l>=0&&(t.addresses.length>1?(t.addresses.splice(l,1),this.winRef.nativeWindow.localStorage.setItem("previousAddresses",JSON.stringify(t))):this.winRef.nativeWindow.localStorage.removeItem("previousAddresses"))}var i=this.previousAddress.findIndex((function(e){return JSON.stringify(n)===JSON.stringify(e)}));i>=0&&this.previousAddress.splice(i,1),n=null,this.isAddAddressFormSubmitted=!1,this.calculatePercent()},t.prototype.savePreviousAddresses=function(e,n){this.isAddAddressFormSubmitted=!0;var t=c({},e.controls),l=t.previous_address_year.invalid,o=t.previous_address_month.invalid;if(delete t.previous_address_year,delete t.previous_address_month,!(Object.keys(t).map((function(e){return t[e]})).some((function(e){return e.invalid}))||l&&o)){n.address=c({},n.editableAddress),n.address.year||(n.address.year=null),n.address.month||(n.address.month=null),n.editable=!1,n.isNew=!1;var r=JSON.parse(this.winRef.nativeWindow.localStorage.getItem("previousAddresses"));if(r){var i=r.addresses.filter((function(e){return!!e.address.id})),a=this.previousAddress.filter((function(e){return!e.address.id}));if(i.length>0){var u=i.findIndex((function(e){return e.address.id===n.address.id}));u>=0?i[u]=c({},n):i.push(n)}r.addresses=i.concat(a)}else r={id:this.loanId,addresses:[n]};this.winRef.nativeWindow.localStorage.setItem("previousAddresses",JSON.stringify(r)),this.isAddAddressFormSubmitted=!1,this.remainingTime=this.getRemaining(this.getTimeAtCurrentAddressInMonths()),this.saveAdditionalAddresses()}},t.prototype.getEditableAddressLine=function(e){if(!e||0===Object.keys(e).length)return"";var n=e.paon?""+e.paon:"";return n+=e.saon?", "+e.saon:"",n+=e.street_name?" "+e.street_name:"",(n+=e.city?", "+e.city:"")+(e.post_code?", "+e.post_code:"")},t.prototype.getEditableAddressLineDate=function(n,t){var l=this;if(!n||!n.year&&!n.month)return"";var o=(new Date).getFullYear(),r=e().subtract(this.getTimeAtCurrentAddressInMonths(),"months");this.previousAddress.forEach((function(e,n){if(t>n){var o=12*(l.vss.toNum(e.editableAddress.year)||0)+(l.vss.toNum(e.editableAddress.month)||0);r.subtract(o,"months")}}));var i=12*(this.vss.toNum(n.year)||0)+(this.vss.toNum(n.month)||0);return e(r).subtract(i,"months").year()+" - "+(o>r.year()?r.year():"now")},t.prototype.canAdd=function(){return!this.timeAtCurrentAddress||Math.abs(this.getDurationBetweenDate(this.getTimeAtCurrentAddressInMonths(),"years"))<3},t.prototype.downloadDocument=function(e,n){var t=this;e.preventDefault(),e.stopPropagation(),URL&&this.pdfs[n]&&this.pdfs[n].url&&this.fileService.downloadFile("/api"+this.pdfs[n].url,!0).subscribe((function(e){var l=URL.createObjectURL(e);if("application/pdf"===e.type)window.open(l);else{var o=document.createElement("a");o.href=l,o.download=t.pdfs[n].filename,o.target="_blank",o.click(),setTimeout((function(){window.URL.revokeObjectURL(l)}),100)}}))},t.prototype.setRadioValue=function(e,t,l){n.prototype.setRadioValue.call(this,e,t,l)},t.prototype.updateIdBorrower=function(e){o.a.fireGlobalAction({name:r.A,payload:{id:this.borrowerList[0].borrower.id,ID_images:e}})},t.prototype.setPassportBackground=function(e){var n=this;this.photo=this.supportService.getImgObservable("url("+e+")"),this.currFileUploadingState=p.ImageIsReady,this.uploadedPercentageOfID=1,this.fileService.saveImageWithProgress({image:e}).subscribe((function(e){if(e.error)return n.uploadedPercentageOfID=0,void(n.photo=Object(s.a)(null));switch(e.type){case d.HttpEventType.Sent:n.uploadedPercentageOfID=1;break;case d.HttpEventType.Response:n.tabModel.image_id=[e.body.id],n.updateIdBorrower([e.body.id]),n.uploadedPercentageOfID=0;break;case d.HttpEventType.UploadProgress:var t=Math.round(e.loaded/e.total*100);Math.round(n.uploadedPercentageOfID)!==t&&(n.uploadedPercentageOfID=t)}}))},t.prototype.addFile=function(e){var n=this,t=this;if(e.type.startsWith("image")){var l=new FileReader;l.readAsDataURL(e),this.uploadedPercentageOfID=1,l.onloadend=function(e){t.setPassportBackground(e.target.result),t.showHideUploadMenu=!n.showHideUploadMenu}}else{this.pdfs||(this.pdfs=[]);var o=this.pdfs.push({file:e,filename:e.name,icon:"/assets/img/document_blank.png",size:e.size,strSize:this.vss.getStrFileSize(e.size),beingUploaded:!0,uploadedPercentage:91});this.fileService.uploadPDFId(this.loanId,this.borrowerId,e).subscribe((function(e){t.vss.uploadHandler(t.pdfs,o,e),e.type===d.HttpEventType.Response&&(t.tabModel.image_id=e.body.id)}),(function(e){var n=t.pdfs[o-1];n.beingUploaded=!1,n.uploadedPercentage=null}))}},t.prototype.saveAdditionalAddresses=function(){var e=this,n=JSON.parse(this.winRef.nativeWindow.localStorage.getItem("previousAddresses"));if(n&&this.previousAddress&&this.previousAddress.length>0){n.addresses.forEach((function(e){return e.address.country=e.address.country}));var t=n.addresses.filter((function(e){return!!e.address.id})),l=this.previousAddress.map((function(n){return n.address.time_at_address_years=n.address.year,n.address.time_at_address_months=n.address.month,n.address.country=n.address.country,n.address.address_line=e.getEditableAddressLine(n.address),n.address})).filter((function(e){return!e.id||t.findIndex((function(n){return n.address.id===e.id}))>=0}));o.a.fireGlobalAction({name:r.w,payload:l})}},t.prototype.getTimeAtCurrentAddressInMonths=function(){return this.timeAtCurrentAddress?this.vss.toNum(this.timeAtCurrentAddress.months)+12*(this.vss.toNum(this.timeAtCurrentAddress.years)||0):0},t.prototype.mapObjectOn=function(e,n){var t={};for(var l in e)e.hasOwnProperty(l)&&(t[l]=n[e[l]]);return t},t.prototype.preparePreviousAddress=function(e,n){var t=this;return(e||[]).filter((function(e){return!e.is_primary})).map((function(e){return e.address})).sort((function(e,n){return e.id-n.id})).map((function(e){return t.timeAtCurrentAddress={months:n.time_at_address_months,years:n.time_at_address_years},e.month=t.vss.toNum(e.time_at_address_months),e.year=t.vss.toNum(e.time_at_address_years),{editable:!1,address:e,editableAddress:e}}))},t.prototype.checkCorpForm=function(){return this.getCorpForm().valid},t.prototype.getCorpForm=function(){var e=this.getCorpBorrowerServerModel();return this.fb.group({legal_entity_name:[e.legal_entity_name,[i.Validators.required]],company_number:[e.company_number,[i.Validators.required]],company_website:[e.company_website,[i.Validators.required]],country_of_incorporation:[e.country_of_incorporation,[i.Validators.required]],formation_date:[e.formation_date,[i.Validators.required]]})},t.prototype.getCorpBorrowerServerModel=function(){var e=c({},this.tabModel.corp);if(!this.isVisibleCorpBorrower)return{};var n=e.formation_date?e.formation_date.date:null;return{id:this.corpId,alias:"Corporate Borrower",borrower_type:"corporate",legal_entity_name:e.legal_entity_name,company_number:e.company_number,company_website:e.company_website,country_of_incorporation:e.country_of_incorporation,formation_date:n?n.year+"-"+n.month+"-"+n.day:null}},t.prototype.getCorpAddressServerModel=function(){var e=c({},this.tabModel.corp);if(!this.isVisibleCorpBorrower)return{};var n={city:e.corp_address_city||"",town:e.corp_address_city||"",country:e.corp_address_country,route:e.corp_address_street,streetNumber:e.corp_address_paon,flat:e.corp_address_saon,postalCode:e.corp_address_postcode||""};return n.address_line=n.flat+", "+n.streetNumber+" "+n.route+", "+n.city+", "+n.postalCode,n.tmp_address_line=n.address_line,n},t.prototype.getForm=function(){var e=this.fb.group({previousAddress:[this.canAdd(),[i.Validators.required,i.Validators.pattern(/false/)]],image_id:[this.tabModel.image_id,[i.Validators.required]]});return this.borrowerList.length>0&&e.addControl("borrowerList",new i.FormControl(this.borrowerList.some((function(e){return!e.isValid})),[i.Validators.required,i.Validators.pattern(/false/)])),this.isVisibleCorpBorrower&&(e.addControl("legal_entity_name",new i.FormControl(this.tabModel.corp.legal_entity_name,[i.Validators.required])),e.addControl("company_number",new i.FormControl(this.tabModel.corp.company_number,[i.Validators.required])),e.addControl("company_website",new i.FormControl(this.tabModel.corp.company_website,[i.Validators.required])),e.addControl("country_of_incorporation",new i.FormControl(this.tabModel.corp.country_of_incorporation,[i.Validators.required])),e.addControl("formation_date",new i.FormControl(this.tabModel.corp.formation_date,[i.Validators.required])),e.addControl("corp_address_paon",new i.FormControl(this.tabModel.corp.corp_address_paon,[i.Validators.required])),e.addControl("corp_address_street",new i.FormControl(this.tabModel.corp.corp_address_street,[i.Validators.required])),e.addControl("corp_address_city",new i.FormControl(this.tabModel.corp.corp_address_city,[i.Validators.required])),e.addControl("corp_address_country",new i.FormControl(this.tabModel.corp.corp_address_country,[i.Validators.required])),e.addControl("corp_address_postcode",new i.FormControl(this.tabModel.corp.corp_address_postcode,[i.Validators.required]))),e},t.prototype.initModel=function(n){var t=this;this.loanId=n.id,this.borrowerId=null,this.borrowerId=n.borrowers.length>0?n.borrowers[0].id:void 0,this.tabModel={corp:{}},this.borrowerList=n.borrowerList||[],0==this.borrowerList.length&&n.borrowers.length>0&&(this.borrowerList=n.borrowers.map((function(e){return e.nested_borrower}))),this.borrowerList.filter((function(e){return!!e.id})).map((function(n){var l=e(n.birth_date,"YYYY-MM-DD");return n.birthDate={day:t.vss.toNum(l.format("DD")),month:t.vss.toNum(l.format("MM")),year:t.vss.toNum(l.format("YYYY"))},{borrower:n,editableBorrower:n}}));var l=n.borrower;if(!l&&n.borrowerList&&n.borrowerList.length>0&&(l=n.borrowerList[0]),!l&&n.borrowers&&n.borrowers.length>0&&(l=n.borrowers[0].nested_borrower),l){this.previousAddress=this.preparePreviousAddress(l.fullAddresses,l.current_address),l.current_address&&(this.timeAtCurrentAddress={years:l.current_address.time_at_address_years,months:l.current_address.time_at_address_months});var i=l.corporation;this.borrowerLabel="Borrowers",i&&(this.borrowerLabel="Directors",this.corpId=i.id,this.tabModel.corp={legal_entity_name:i.legal_entity_name,company_number:i.company_number,company_website:i.company_website,country_of_incorporation:i.country_of_incorporation,formation_date:this.vss.getFormatedDate(i.formation_date)},i.address&&(this.corpAddressId=i.address.id,this.tabModel.corp=c({},this.tabModel.corp,{corp_address_paon:i.address.paon,corp_address_saon:i.address.saon,corp_address_street:i.address.street_name,corp_address_city:i.address.city,corp_address_country:i.address.country,corp_address_postcode:i.address.post_code}))),this.isVisibleBorrowerTypes=!1,n.borrowers.length>0&&(this.isVisibleBorrowerTypes=!n.borrowers[0].borrower_type),this.photo=Object(s.a)(null),l.ID_all&&l.ID_all.forEach((function(e){switch(e.type){case"document":t.pdfs||(t.pdfs=[]),t.pdfs.push({id:e.id,size:e.size,filename:e.url.replace("/media/loan_files/",""),strSize:t.vss.getStrFileSize(e.size),icon:"/assets/img/document_blank.png",url:e.url});break;case"image":t.photo=t.supportService.getImageAsync(e.url),t.currFileUploadingState=p.ImageIsReady,t.tabModel.image_id=e.id}})),this.setVisibilityOfCorpBorrower()}else this.previousAddress=this.preparePreviousAddress([],void 0),this.timeAtCurrentAddress={years:void 0,months:void 0};var a=setTimeout((function(){t.calculatePercent(),o.a.fireGlobalAction({name:r.n,payload:t.getCorpBorrowerServerModel()}),l&&o.a.fireGlobalAction({name:r.q,payload:t.mapObjectOn(t.indBorrowerMapRule,l)}),o.a.fireGlobalAction({name:r.m,payload:c({},t.getCorpAddressServerModel(),{id:t.corpAddressId})}),clearTimeout(a)}),50)},t}(o.a)}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return d})),t(163),t(164),t(33),t(53),t(36),t(227);var l=t(145),o=(t(11),t(17),t(34),t(121)),r=t.n(o),i=(t(22),t(20),t(98),t(94)),a=t(25),u=t(9),s=(t(44),t(174),t(108),t(4),t(49),t(91),t(19),t(228),t(229),t(230),t(15),function(){return(s=Object.assign||function(e){for(var n,t=1,l=arguments.length;t
'+e.en_short_name+"
";return M._sanitizer.bypassSecurityTrustHtml(n)},this.isBorrowerEdited=!1,this.emailPattern=O.validation.emailPattern,this.createForm(),this.minDate=new Date,this.maxDate=new Date,this.minDate.setFullYear(this.minDate.getFullYear()-85),this.maxDate.setFullYear(this.maxDate.getFullYear()-18),new Date;var k=(new Date).getFullYear(),A=["January","February","March","April","May","June","July","August","September","October","November","December"];this.date={years:Array(67).fill((function(e,n){return k-n-18})).map((function(e,n){return k-n-18})),month:Array(12).fill((function(e,n){return n})).map((function(e,n){return A[n]})),days:Array(31).fill((function(e,n){return n})).map((function(e,n){return n+1}))},this.currencyFormater=this.supportService.currencyFormater,this.telephoneMask=O.telephoneMask,this.lenderChartObservable=this.chartService.onHotDataByParamsChanged()}return Object.defineProperty(n.prototype,"setAddressComp",{set:function(e){if(this.isAnonymousUser){var n=this.winRef.nativeWindow.localStorage.getItem("address_id");if(n){var t=this.winRef.nativeWindow.localStorage.getItem("address").split(", ");if(t.length<4)return this.winRef.nativeWindow.localStorage.removeItem("address"),void this.winRef.nativeWindow.localStorage.removeItem("address_id");t.pop();var l={Cursor:0,Description:"",Highlight:"",Id:n,Next:"Retrieve",Text:t.join(", ")};this.winRef.nativeWindow.localStorage.removeItem("address"),this.winRef.nativeWindow.localStorage.removeItem("address_id"),e.onValueChange(l)}}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"setModels",{set:function(e){this.models=e.toArray().map((function(e){return{elRef:e.el.nativeElement,ngModel:e.ngModel}}))},enumerable:!0,configurable:!0}),n.prototype.createForm=function(){this.model={loan_request_loan_amount:"",loan_request_duration:"",asset_type:"",property_loan_location:"",loan_request_estimated_value:"",property_size:"",property_number_of_bedrooms:"",property_number_of_bathrooms:"",property_ownership:"",not_homeowner_occupied:"",first_charge:"",loan_purpose_selected:"",broker_selected:"",introducer_selected:"",bdp_selected:"",flow_affiliate_selected:"",loan_request_exit_strategy:"",loan_repayment_method:"",borrower_gender:"",borrower_first_name:"",borrower_last_name:"",borrower_birth_date:"",borrower_phone_number:"",broker_phone:"",borrower_address_paon:"",borrower_address_saon:"",borrower_address_street:"",borrower_address_city:"",borrower_address_postcode:"",borrower_address_country:"",current_address_paon:"",current_address_saon:"",current_address_street:"",current_address_city:"",current_address_postcode:"",current_address_country:"United Kingdom",day:"",month:"",year:"",borrower_type:"",legal_entity_name:"",company_number:"",company_website:"",country_of_incorporation:"",formation_date:"",corp_address_paon:"",corp_address_saon:"",corp_address_street:"",corp_address_city:"",corp_address_postcode:"",corp_address_country:""}},n.prototype.ngOnInit=function(){var e=this,n=t(239),o=n.find((function(e){return"826"===e.num_code}));if(this.nationalities=n.slice(),this.brokerService.getAll().toPromise().then((function(n){e.broker_list=n}),(function(e){})),this.bdpService.getAll().toPromise().then((function(n){e.bdp_list=n}),(function(e){})),this.flowAffiliateService.getAll().toPromise().then((function(n){e.flow_affiliate_list=n}),(function(e){})),o){o.en_short_name="United Kingdom";var r=this.nationalities.findIndex((function(e){return"826"===e.num_code}));this.nationalities.splice(r,1),this.nationalities.unshift(o)}this.form=this.ngForm.control;var i=this.winRef.nativeWindow.localStorage.getItem(this.tmpAnonymLoan);if(this.winRef.nativeWindow.localStorage.removeItem(this.tmpAnonymLoan),i){var a=this.userService.User.email,u=JSON.parse(i);u[a]&&(this.model=(u=u[a]).loan,this.currentPosition=u.currentPosition,this.propLocation=u.currentPosition,this.selectedPosition=u.selectedPosition,this.updateChart(null))}this.numberMaskWithoutSeparat=[/\d/,/\d/],this.loan=new l.a,this.leftBar.toggleOnlyOnLow(!1),this.getPercents(),this.currentCountry="uk",this.form.valueChanges.subscribe((function(n){e.getPercents()})),this.isAnonymousUser=!localStorage.getItem("Token"),this.activeRoute.data.subscribe((function(n){n.terms&&!n.terms.error&&(e.loan_request_duration_range=n.terms.range),n.loanAmount&&!n.loanAmount.error&&(e.ticks=["from "+e.cp.transform(n.loanAmount.range[0],"GBP",!0,"1.0-1"),"to "+e.cp.transform(n.loanAmount.range[1],"GBP",!0,"1.0-1")],e.loan_amount_range=n.loanAmount.range),e.globalPreloaderService.setStatus(!1)})),this.supportService.onTermsOpened().subscribe((function(n){e.stateTermsWindow=n?"large":"small"})),this.sendGTMEvent({event:"checkout",virtualPage:"/checkout/step2/",virtualTitle:"Anonymous - The Sort Form (Step 2)"})},n.prototype.openMenu=function(){this.leftBar.toggle()},n.prototype.getNumberMask=function(e,n,t){return void 0===n&&(n=!1),void 0===t&&(t=2),r()({prefix:"",thousandsSeparatorSymbol:",",suffix:"",integerLimit:e,allowDecimal:n,decimalLimit:t})},n.prototype.setPropertyLocation=function(e){this.selectedPosition=e.imgLocation,this.propLocation=e.propLocation},n.prototype.submit=function(e){var n=this;if(this.form.invalid&&!this.isProcess||this.isBorrowerEdited){this.formSubmitted=!0;var t=this.models.find((function(e){return e.ngModel.invalid}));t&&(this.topOffset=this.lookingForScrollElRef(t.elRef)-46,setTimeout((function(){n.scrollService.changeScrollState("up")}),150))}else{var l=s({},this.form.value);if("H"!==l.loan_repayment_method&&delete l.repayment_periods_rolled,this.checkGoogleServiceError(e)){var o=l.current_address_paon+" "+l.current_address_street+", "+l.current_address_city+", "+l.current_address_postcode;l.current_address_saon&&(o=l.current_address_saon+", "+o),l.property_loan_location={city:l.current_address_city,country:"uk",town:l.current_address_city,route:l.current_address_street,streetNumber:l.current_address_paon,flat:l.current_address_saon,postalCode:l.current_address_postcode,address_line:o}}l.loan_request_drawdown_date=this.form.value.loan_request_drawdown_date.formatted,l.company_website=l.company_website?this.websiteProtocol+"://"+l.company_website:null,this.loanService.createNewLoanWithBroker(l,l.borrower_email,l.introducer_email,l.broker_selected,l.bdp_selected,l.flow_affiliate_selected,this.numberFields,this.currentCountry,this.selectedPosition,this.propLocation).pipe(Object(a.a)((function(e){return n.chartService.getHotDataByParams({loan_amount:+e.newLoan.loan_request_loan_amount,loan_value:+e.newLoan.loan_request_estimated_value,loan_duration:e.newLoan.loan_request_duration,security_address:e.newProperty.address_obj.address_line,is_first_charge:e.newProperty.first_charge,is_owner_occupied:e.newProperty.not_homeowner_occupied,asset_type:e.newProperty.asset_type,loan_purpose_selected:e.newLoan.loan_purpose_selected,loan_repayment_method:e.newLoan.loan_repayment_method}).pipe(Object(u.a)((function(t){var l=t.map((function(e){return parseFloat(e.rate)})),o=(Math.min.apply(null,l),Math.max.apply(null,l),t.reduce((function(e,n){return e+n.count}),0),s({},e.newLoan));return o.isShowLoan=!0,o.notNeedAddress=!0,o.address=e.newProperty.address_obj,o.property=e.newProperty,o.borrower=e.borrower,o.secured_by_properties=[e.newProperty],o.secured_by_properties[0].property_images_from_google=e.newProperty.property_images_from_google,n.loanService.selectLoan(o,!1),e})))}))).subscribe((function(e){}),(function(e){e&&Object.keys(e).length>0&&(n.errors=s({},e)),n.isProcess=!1}))}},n.prototype.onEmailChanged=function(){this.errorsJSON&&delete this.errorsJSON.user},n.prototype.openTerms=function(e){e.stopPropagation(),/Android|iPhone/i.test(this.winRef.nativeWindow.navigator.userAgent)?this.showTerms=!this.showTerms:this.supportService.openTermsWindow()},n.prototype.hasErrorInTogle=function(e,n){return this.formSubmitted&&n.invalid||n&&n.touched&&n.invalid},n.prototype.getPercents=function(){var e=this,n=Object.keys(this.form.controls);if(0!==n.length){var t=n.map((function(n){return e.form.controls[n]})).filter((function(e){return e.enabled&&(!!e.asyncValidator||!!e.validator)})),l=t.reduce((function(e,n){return n.valid&&!n.validator("required")&&e++,e}),0),o=t.reduce((function(e,n){return n.valid&&e++,e}),0);this.completedPercentage=Math.round((o-l)/(t.length-l)*100)}else this.completedPercentage=0},n.prototype.hasBorrowersError=function(){return(this.isBorrowerListTouched||this.formSubmitted)&&!(this.borrowerList.length>1||1===this.borrowerList.length&&!this.borrowerList[0].editable)},n.prototype.modelChange=function(e,n){this.form.get(e).setValue(n),this.loan[e]=n},n.prototype.mapModelChange=function(e,n,t){var l=this;void 0===t&&(t=!0),this.currentCountry=n.dropdown,this.locationService.getFullAddressByPartOfAddress(n.text,n.dropdown).subscribe((function(n){if(n){l.fullAddresses[e]=n;var o=n.location?{lat:n.location.latitude,lng:n.location.longitude,addressLine:n.address_line}:null;t&&(l.currentPosition=o,l.selectedPosition=o,l.manualInputOfAddress=!1),l.modelChange(e,n.address_line)}}))},n.prototype.updatePosition=function(e){if(e.location){var n={lat:e.location.latitude,lng:e.location.longitude,addressLine:e.address_line};this.manualInputOfAddress=!1,this.currentPosition=n,this.selectedPosition=n}},n.prototype.calendarToggle=function(e,n){4===e&&n.control.markAsTouched()},n.prototype.hasError=function(e){var n=this.form.get(e);return(this.formSubmitted||this.form.touched&&n.touched)&&n.invalid},n.prototype.hasError_v2=function(e){var n=this.form.get(e);return this.formSubmitted&&!!n&&!!n.errors||!!n&&this.form.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.hasError_v3=function(e,n){return this.formSubmitted&&!!n.errors||e.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.hasErrorBorrowerForm=function(e,n){return e.submitted&&!!n.errors||e.touched&&n.touched&&!!n.errors&&n.invalid},n.prototype.getPropertyImage=function(){var e=this;if(this.model.current_address_paon&&this.model.current_address_street&&this.model.current_address_city&&this.model.current_address_country&&this.model.current_address_postcode){var n=(this.model.current_address_saon?this.model.current_address_saon+", ":"")+this.model.current_address_paon+" "+this.model.current_address_street+" "+this.model.current_address_city+" "+this.model.current_address_postcode+" "+this.model.current_address_country;this.locationService.getFullAddressByPartOfAddress(n,this.model.current_address_country).subscribe((function(t){if(t)if(e.model.current_address_postcode!==t.postalCode||e.model.current_address_paon!==t.streetNumber||e.model.current_address_street!==t.route&&e.model.current_address_street!==t.short_route)e.manualInputOfAddress=!1;else{var l=t.location?{lat:t.location.latitude,lng:t.location.longitude,addressLine:n}:null;e.manualInputOfAddress=!0,e.currentPosition=l,e.selectedPosition=l,e.form.value.property_loan_location.searched_address=n,e.form.value.property_loan_location.result_count=1}else e.manualInputOfAddress=!1}))}},n.prototype.changedMonthYear=function(e){var n=new Date,t=new Date(n.setFullYear(this.model.year?this.model.year:n.getFullYear(),this.model.month?this.model.month:n.getFullYear(),0));this.date.days=Array(t.getDate()).fill((function(e,n){return n})).map((function(e,n){return n+1})),+this.model.day>this.date.days.length&&(this.model.day=this.date.days.length)},n.prototype.checkGoogleServiceError=function(e){var n=!!e&&!!e.value&&e.value.error&&"Google service error"===e.value.error.message;if(n&&e.control.errors){if(e.value.error.innerError&&e.value.error.innerError.pca){var t=e.value.error.innerError.pca;this.model.current_address_paon=t.Line2,this.model.current_address_saon=t.Line1,this.model.current_address_street=t.Street,this.model.current_address_city=t.City,this.model.current_address_postcode=t.PostalCode,this.getPropertyImage()}e.control.setErrors(null),this.changeDetectorRef.detectChanges()}return n},n.prototype.conditionOfRegiondisplay=function(e){return(!e.errors&&e.value&&!e.value.error||this.manualInputOfAddress)&&!!this.currentPosition&&!!this.selectedPosition},n.prototype.markRadio=function(e,n){e.control.setValue(n),e.control.markAsTouched()},n.prototype.checkOwnership=function(e){return"L"===e.value},n.prototype.checkLeaseRemaining=function(e){var n=e.value;return n>0&&n<40},n.prototype.countryValueFormatter=function(e){return e.en_short_name},n.prototype.updateChart=function(e){e instanceof MouseEvent&&(e.preventDefault(),e.stopPropagation()),this.isResetFormProcess||(this.chartParameters={loan_amount:this.supportService.deCurrencyFormater(this.model.loan_request_loan_amount)||null,loan_value:this.supportService.deCurrencyFormater(this.model.loan_request_estimated_value)||null,loan_duration:this.model.loan_request_duration||null,security_address:this.model.property_loan_location&&this.model.property_loan_location.address_line||null,is_first_charge:this.model.first_charge||null,is_owner_occupied:this.model.not_homeowner_occupied||null,property_type:this.model.asset_type||null,broker_selected:this.model.broker_selected||null,introducer_selected:this.model.introducer_selected||null,flow_affiliate_selected:this.model.flow_affiliate_selected||null,bdp_selected:this.model.bdp_selected||null,loan_purpose_selected:this.model.loan_purpose_selected||null,loan_repayment_method:this.model.loan_repayment_method||null})},n.prototype.sendToGA=function(n,t){n instanceof MouseEvent&&(n.preventDefault(),n.stopPropagation()),t&&t.value&&this.sendGTMEvent({event:"field_blur",field_name:t.name,field_value:t.value,count:1,timestamp_utc:e.utc().format()})},n.prototype.sendDataToGA=function(n,t){n&&n.formatted&&this.sendGTMEvent({event:"field_blur",field_name:t.name,field_value:n.formatted,count:1,timestamp_utc:e.utc().format()})},n.prototype.sendAddressToGA=function(n,t){n&&n.address_line&&this.sendGTMEvent({event:"field_blur",field_name:t.name,field_value:n.address_line,count:1,timestamp_utc:e.utc().format()})},n.prototype.canAddBorrower=function(){return this.borrowerList.some((function(e){return!!e.editable}))},n.prototype.addNewBorrower=function(e){e.stopPropagation(),this.borrowerList.some((function(e){return!!e.editable}))||(this.isBorrowerEdited=!0,this.borrowerList.push({editable:!0,isNew:!0,editableBorrower:{borrower_gender:"",day:"",month:"",year:""}}))},n.prototype.saveBorrower=function(e,n){if(!e.invalid){this.isBorrowerListTouched=!0;var t=n.editableBorrower.borrower_address_paon+" "+n.editableBorrower.borrower_address_street+", "+n.editableBorrower.borrower_address_city+", "+n.editableBorrower.borrower_address_postcode;n.editableBorrower.borrower_address_saon&&(t=n.editableBorrower.borrower_address_saon+", "+t),n.editableBorrower.address_line=t,n.borrower=s({},n.editableBorrower),n.editable=!1,n.isNew=!1,this.getPercents(),this.isBorrowerEdited=!1}},n.prototype.editBorrower=function(e,n){e.stopPropagation(),n.editable||(this.isBorrowerListTouched=!0,this.borrowerList.forEach((function(e){return e.editable=!1})),n.editableBorrower=s({},n.borrower),n.editable=!0,this.isBorrowerEdited=!0)},n.prototype.cancelBorrower=function(e,n){e.stopPropagation(),this.isBorrowerListTouched=!0,n.editableBorrower=n.borrower,n.editable=!1,this.borrowerList=this.borrowerList.filter((function(e){return!e.isNew})),this.isBorrowerEdited=!1},n.prototype.deleteBorrower=function(e,n){e.stopPropagation();var t=this.borrowerList.findIndex((function(e){return JSON.stringify(n)===JSON.stringify(e)}));t>=0&&this.borrowerList.splice(t,1),n=null,0===this.borrowerList.length&&this.getPercents(),this.isBorrowerEdited=!1},n.prototype.getEditableBorrowerLine=function(e,n){if(!e)return"";var t="";e.borrower_gender&&e.borrower_first_name&&e.borrower_last_name&&(t=("male"===e.borrower_gender?"Mr.":"Ms.")+"\n "+(e.borrower_first_name||"")+"\n "+(e.borrower_last_name||""));var l="";return e.day&&e.month&&e.year&&(l="("+this.formateDateNumber(e.day)+"."+this.formateDateNumber(e.month)+"."+(e.year||"")+")"),t+"\n "+l},n.prototype.getEditableAddressBorrowerLine=function(e){if(!e)return"";var n=(e.borrower_address_paon||"")+" "+(e.borrower_address_street||"")+", "+(e.borrower_address_city||"")+", "+(e.borrower_address_postcode||"");return e.borrower_address_saon&&(n=(e.borrower_address_saon||"")+", "+n),n},n.prototype.sendGTMEvent=function(e){window.dataLayer=window.dataLayer||[];var n=window.dataLayer.filter((function(e){return e.event&&"field_blur"===e.event})).sort((function(e,n){return n["gtm.uniqueEventId"]-e["gtm.uniqueEventId"]})).find((function(n){return n.field_name===e.field_name}));n&&n.field_value===e.field_value||window.dataLayer.push(e)},n.prototype.formateDateNumber=function(e){return e?e<10?"0"+e:e.toString():""},n.prototype.addressValidator=function(e){return"string"==typeof e.value&&e.value&&e.value.split&&(e.markAsDirty(),e.markAsTouched(),e.value.split(",").length<3)?{notSelect:!0}:null},n.prototype.addressValidator_v2=function(e){if(!e.value)return null;var n=e.value;return n.error?{address:{msg:n.error.message,originError:n.error}}:null},n.prototype.resetForm=function(){var e=this;this.isResetFormProcess=!0,this.loan=new l.a,this.selectedPosition=null,this.propLocation=null,Object.keys(this.form.controls).forEach((function(n){e.form.controls[n].setValue(null)})),this.form.reset(),this.form.markAsUntouched(),this.form.markAsPristine(),this.createForm(),this.form.valueChanges.subscribe((function(){return e.getPercents()})),this.getPercents(),this.formSubmitted=!1,this.isResetFormProcess=!1},n.prototype.lookingForScrollElRef=function(e){return e.attributes.getNamedItem("el-scroll")?e.offsetTop:e.parentElement?this.lookingForScrollElRef(e.parentElement):0},n}()}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(28);function o(e,n){return new l.a(n?function(t){return n.schedule(r,0,{error:e,subscriber:t})}:function(n){return n.error(e)})}function r(e){e.subscriber.error(e.error)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){this.setImage()},e.prototype.ngOnChanges=function(e){this.setImage()},e.prototype.setImage=function(){null!=this.value&&this.el.nativeElement.style&&(this.el.nativeElement.style.backgroundImage="url("+this.value+")")},e}()},,,,function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,n){var t=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},function(e,n,t){var l=t(542)("wks"),o=t(543),r=t(220).Symbol,i="function"==typeof r;(e.exports=function(e){return l[e]||(l[e]=i&&r[e]||(i?r:o)("Symbol."+e))}).store=l},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(49);var l=function(){function e(e,n){this.el=e,this.scrollService=n,this.offset=0}return e.prototype.ngOnInit=function(){var e=this;this.scrollService.getScrollObservable().subscribe((function(n){switch(n){case"up":e.setScrollTop();break;default:e.setScroll()}}))},e.prototype.setScrollTop=function(){this.el.nativeElement.scrollTop=this.offset},e.prototype.setScroll=function(){this.el.nativeElement.scrollTop=this.offset},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(3),o=t(16);function r(){return function(e){return e.lift(new i(e))}}var i=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,n){var t=this.connectable;t._refCount++;var l=new a(e,t),o=n.subscribe(l);return l.closed||(l.connection=t.connect()),o},e}(),a=function(e){function n(n,t){var l=e.call(this,n)||this;return l.connectable=t,l}return l.d(n,e),n.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var n=e._refCount;if(n<=0)this.connection=null;else if(e._refCount=n-1,n>1)this.connection=null;else{var t=this.connection,l=e._connection;this.connection=null,!l||t&&l!==t||l.unsubscribe()}}else this.connection=null},n}(o.a)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l=t(0),o=t(211);n.NguiAutoCompleteComponent=function(){function e(e,n){var t,o=this;this.autoComplete=n,this.autocomplete=!1,this.minChars=0,this.acceptUserInput=!0,this.loadingText="Loading",this.loadingTemplate=null,this.showInputTag=!0,this.showDropdownOnInit=!1,this.tabToSelect=!0,this.matchFormatted=!1,this.autoSelectFirstItem=!1,this.selectOnBlur=!1,this.reFocusAfterSelect=!0,this.headerItemTemplate=null,this.ignoreAccents=!0,this.valueSelected=new l.EventEmitter,this.customSelected=new l.EventEmitter,this.textEntered=new l.EventEmitter,this.dropdownVisible=!1,this.isLoading=!1,this.filteredList=[],this.minCharsEntered=!1,this.itemIndex=null,this.timer=0,this.delay=(t=0,function(e,n){clearTimeout(t),t=setTimeout(e,n)}),this.selectOnEnter=!1,this.reloadListInDelay=function(e){var n=o.isSrcArr()?10:500,t=e.target.value;o.delay((function(){return o.reloadList(t)}),n)},this.inputElKeyHandler=function(e){var n=o.filteredList.length;switch(e.keyCode){case 27:o.selectOnEnter=!1,o.selectOne(void 0);break;case 38:if(0===n)return;o.selectOnEnter=!0,o.itemIndex=(n+o.itemIndex-1)%n,o.scrollToView(o.itemIndex);break;case 40:if(0===n)return;o.selectOnEnter=!0,o.dropdownVisible=!0;var t=o.itemIndex;o.itemIndex=(n+(t=null===o.itemIndex?0:t+1))%n,o.scrollToView(o.itemIndex);break;case 13:o.selectOnEnter&&o.selectOne(o.filteredList[o.itemIndex]),e.preventDefault();break;case 9:o.tabToSelect&&o.selectOne(o.filteredList[o.itemIndex])}},this.el=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.autoComplete.source=this.source,this.autoComplete.pathToData=this.pathToData,this.autoComplete.listFormatter=this.listFormatter,this.autoSelectFirstItem&&(this.itemIndex=0),setTimeout((function(){e.autoCompleteInput&&e.reFocusAfterSelect&&e.autoCompleteInput.nativeElement.focus(),e.showDropdownOnInit&&e.showDropdownList({target:{value:""}})}))},e.prototype.isSrcArr=function(){return Array.isArray(this.source)},e.prototype.showDropdownList=function(e){this.dropdownVisible=!0,this.reloadList(e.target.value)},e.prototype.hideDropdownList=function(){this.selectOnEnter=!1,this.dropdownVisible=!1},e.prototype.findItemFromSelectValue=function(e){var n=this.filteredList.filter((function(n){return""+n===e}));return n.length?n[0]:null},e.prototype.reloadList=function(e){var n=this;this.filteredList=[],e.length<(this.minChars||0)?this.minCharsEntered=!1:(this.minCharsEntered=!0,this.isSrcArr()?(this.isLoading=!1,this.filteredList=this.autoComplete.filter(this.source,e,this.matchFormatted,this.ignoreAccents),this.maxNumList&&(this.filteredList=this.filteredList.slice(0,this.maxNumList))):(this.isLoading=!0,"function"==typeof this.source?this.source(e).subscribe((function(e){n.pathToData&&n.pathToData.split(".").forEach((function(n){return e=e[n]})),n.filteredList=e,n.maxNumList&&(n.filteredList=n.filteredList.slice(0,n.maxNumList))}),(function(e){return null}),(function(){return n.isLoading=!1})):this.autoComplete.getRemoteData(e).subscribe((function(e){n.filteredList=e||[],n.maxNumList&&(n.filteredList=n.filteredList.slice(0,n.maxNumList))}),(function(e){return null}),(function(){return n.isLoading=!1}))))},e.prototype.selectOne=function(e){e||""===e?this.valueSelected.emit(e):this.customSelected.emit(this.keyword)},e.prototype.enterText=function(e){this.textEntered.emit(e)},e.prototype.blurHandler=function(e){this.selectOnBlur&&this.selectOne(this.filteredList[this.itemIndex]),this.hideDropdownList()},e.prototype.scrollToView=function(e){var n=this.autoCompleteContainer.nativeElement.querySelector("ul"),t=n.querySelector("li").offsetHeight,l=n.scrollTop,o=t*e;(ol+n.offsetHeight)&&(n.scrollTop=o)},e.prototype.trackByIndex=function(e,n){return e},Object.defineProperty(e.prototype,"emptyList",{get:function(){return!(this.isLoading||this.minCharsEntered&&!this.isLoading&&!this.filteredList.length||this.filteredList.length)},enumerable:!0,configurable:!0}),e.decorators=[{type:l.Component,args:[{selector:"ngui-auto-complete",template:'\n
\n \x3c!-- keyword input --\x3e\n \n\n \x3c!-- dropdown that user can select --\x3e\n
    \n
  • \n
  • {{loadingText}}
  • \n
  • {{noMatchFoundText || \'No Result Found\'}}\n
  • \n
  • \n
  • {{blankOptionText}}\n
  • \n
  • \n
  • \n
\n\n
',providers:[o.NguiAutoComplete],styles:["\n @keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n }\n\n .ngui-auto-complete {\n background-color: transparent;\n }\n\n .ngui-auto-complete > input {\n outline: none;\n border: 0;\n padding: 2px;\n box-sizing: border-box;\n background-clip: content-box;\n }\n\n .ngui-auto-complete > ul {\n background-color: #fff;\n margin: 0;\n width: 100%;\n overflow-y: auto;\n list-style-type: none;\n padding: 0;\n border: 1px solid #ccc;\n box-sizing: border-box;\n animation: slideDown 0.1s;\n }\n\n .ngui-auto-complete > ul.empty {\n display: none;\n }\n\n .ngui-auto-complete > ul li {\n padding: 2px 5px;\n border-bottom: 1px solid #eee;\n }\n\n .ngui-auto-complete > ul li.selected {\n background-color: #ccc;\n }\n\n .ngui-auto-complete > ul li:last-child {\n border-bottom: none;\n }\n\n .ngui-auto-complete > ul li:not(.header-item):hover {\n background-color: #ccc;\n }"],encapsulation:l.ViewEncapsulation.None}]}],e.propDecorators={autocomplete:[{type:l.Input,args:["autocomplete"]}],listFormatter:[{type:l.Input,args:["list-formatter"]}],source:[{type:l.Input,args:["source"]}],pathToData:[{type:l.Input,args:["path-to-data"]}],minChars:[{type:l.Input,args:["min-chars"]}],placeholder:[{type:l.Input,args:["placeholder"]}],blankOptionText:[{type:l.Input,args:["blank-option-text"]}],noMatchFoundText:[{type:l.Input,args:["no-match-found-text"]}],acceptUserInput:[{type:l.Input,args:["accept-user-input"]}],loadingText:[{type:l.Input,args:["loading-text"]}],loadingTemplate:[{type:l.Input,args:["loading-template"]}],maxNumList:[{type:l.Input,args:["max-num-list"]}],showInputTag:[{type:l.Input,args:["show-input-tag"]}],showDropdownOnInit:[{type:l.Input,args:["show-dropdown-on-init"]}],tabToSelect:[{type:l.Input,args:["tab-to-select"]}],matchFormatted:[{type:l.Input,args:["match-formatted"]}],autoSelectFirstItem:[{type:l.Input,args:["auto-select-first-item"]}],selectOnBlur:[{type:l.Input,args:["select-on-blur"]}],reFocusAfterSelect:[{type:l.Input,args:["re-focus-after-select"]}],headerItemTemplate:[{type:l.Input,args:["header-item-template"]}],ignoreAccents:[{type:l.Input,args:["ignore-accents"]}],valueSelected:[{type:l.Output}],customSelected:[{type:l.Output}],textEntered:[{type:l.Output}],autoCompleteInput:[{type:l.ViewChild,args:["autoCompleteInput"]}],autoCompleteContainer:[{type:l.ViewChild,args:["autoCompleteContainer"]}]},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(28);function o(e){var n=new l.a((function(n){n.next(e),n.complete()}));return n._isScalar=!0,n.value=e,n}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(9),o=(t(24),t(194),function(){function e(e,n){this.httpService=e,this.brokerRepository=n}return Object.defineProperty(e.prototype,"Brokers",{get:function(){return this.brokers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Requests",{get:function(){return this.requests},enumerable:!0,configurable:!0}),e.prototype.getAll=function(){return this.brokerRepository.getAll().pipe(Object(l.a)((function(e){return e&&e.length?e.sort():[]})))},e}())},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(9),o=(t(24),t(195),function(){function e(e,n){this.httpService=e,this.introducerRepository=n}return Object.defineProperty(e.prototype,"Introducers",{get:function(){return this.introducers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Requests",{get:function(){return this.requests},enumerable:!0,configurable:!0}),e.prototype.getAll=function(){return this.introducerRepository.getAll().pipe(Object(l.a)((function(e){return e&&e.length?e.sort():[]})))},e}())},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(9),o=(t(24),t(196),function(){function e(e,n){this.httpService=e,this.bdpRepository=n}return Object.defineProperty(e.prototype,"Bdp",{get:function(){return this.bdp},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Requests",{get:function(){return this.requests},enumerable:!0,configurable:!0}),e.prototype.getAll=function(){return this.bdpRepository.getAll().pipe(Object(l.a)((function(e){return e&&e.length?e.sort():[]})))},e}())},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(9),o=(t(24),t(197),function(){function e(e,n){this.httpService=e,this.flowAffiliateRepository=n}return Object.defineProperty(e.prototype,"FlowAffiliate",{get:function(){return this.flowaffiliates},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Requests",{get:function(){return this.requests},enumerable:!0,configurable:!0}),e.prototype.getAll=function(){return this.flowAffiliateRepository.getAll().pipe(Object(l.a)((function(e){return e&&e.length?e.sort():[]})))},e}())},function(e,n,t){"use strict";var l=t(3),o=t(9),r=function(){function e(){this.changed=new Array,this.touched=new Array}return Object.defineProperty(e.prototype,"value",{get:function(){return this.innerValue},set:function(e){this.innerValue!==e&&(this.innerValue=e,this.changed.forEach((function(n){return n(e)})))},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.innerValue=e},e.prototype.registerOnChange=function(e){this.changed.push(e)},e.prototype.registerOnTouched=function(e){this.touched.push(e)},e.prototype.touch=function(){this.touched.forEach((function(e){return e()}))},e}(),i=t(1),a=t(18),u=function(e){var n=e.validate.bind(e);return"function"==typeof n?function(e){return n(e)}:e},s=function(e){return null==e||0===e.length?null:i.Validators.compose(e.map(u))},d=function(e){function n(n,t){var l=e.call(this)||this;return l.validators=n,l.asyncValidators=t,l}return Object(l.d)(n,e),n.prototype.validate=function(){return(e=this.validators,n=this.asyncValidators,function(t){var l=function(){return s(e)(t)};return n?s(n)(t).map((function(e){var n=l();if(n||e)return Object.assign({},n,e)})):e?Object(a.a)(l()):Object(a.a)(null)})(this.model.control);var e,n},Object.defineProperty(n.prototype,"invalid",{get:function(){return this.validate().pipe(Object(o.a)((function(e){return Object.keys(e||{}).length>0})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"failures",{get:function(){return this.validate().pipe(Object(o.a)((function(e){return Object.keys(e).map((function(n){return function(e,n){switch(n){case"required":return"Please enter a value";case"pattern":return"Value does not match required pattern";case"minlength":return"Value must be N characters";case"maxlength":return"Value must be a maximum of N characters"}switch(typeof e[n]){case"string":return e[n];default:return"Validation failed: "+n}}(e,n)}))})))},enumerable:!0,configurable:!0}),n}(r);t.d(n,"a",(function(){return d}))},function(e,n,t){"use strict";var l=t(3),o=function(e){function n(n,t){return e.call(this)||this}return l.d(n,e),n.prototype.schedule=function(e,n){return void 0===n&&(n=0),this},n}(t(46).a);t.d(n,"a",(function(){return r}));var r=function(e){function n(n,t){var l=e.call(this,n,t)||this;return l.scheduler=n,l.work=t,l.pending=!1,l}return l.d(n,e),n.prototype.schedule=function(e,n){if(void 0===n&&(n=0),this.closed)return this;this.state=e;var t=this.id,l=this.scheduler;return null!=t&&(this.id=this.recycleAsyncId(l,t,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(l,this.id,n),this},n.prototype.requestAsyncId=function(e,n,t){return void 0===t&&(t=0),setInterval(e.flush.bind(e,this),t)},n.prototype.recycleAsyncId=function(e,n,t){if(void 0===t&&(t=0),null!==t&&this.delay===t&&!1===this.pending)return n;clearInterval(n)},n.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(e,n);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(e,n){var t=!1,l=void 0;try{this.work(e)}catch(e){t=!0,l=!!e&&e||new Error(e)}if(t)return this.unsubscribe(),l},n.prototype._unsubscribe=function(){var e=this.id,n=this.scheduler,t=n.actions,l=t.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&t.splice(l,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null},n}(o)},function(e,n,t){"use strict";var l=t(3),o=function(){function e(n,t){void 0===t&&(t=e.now),this.SchedulerAction=n,this.now=t}return e.prototype.schedule=function(e,n,t){return void 0===n&&(n=0),new this.SchedulerAction(this,e).schedule(t,n)},e.now=function(){return Date.now()},e}();t.d(n,"a",(function(){return r}));var r=function(e){function n(t,l){void 0===l&&(l=o.now);var r=e.call(this,t,(function(){return n.delegate&&n.delegate!==r?n.delegate.now():l()}))||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return l.d(n,e),n.prototype.schedule=function(t,l,o){return void 0===l&&(l=0),n.delegate&&n.delegate!==this?n.delegate.schedule(t,l,o):e.prototype.schedule.call(this,t,l,o)},n.prototype.flush=function(e){var n=this.actions;if(this.active)n.push(e);else{var t;this.active=!0;do{if(t=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,t){for(;e=n.shift();)e.unsubscribe();throw t}}},n}(o)},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(112),o=t(171),r={closed:!0,next:function(e){},error:function(e){if(l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(o.a)(e)},complete:function(){}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r}));var l=t(136);function o(){for(var e=[],n=0;n1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof u&&(t=e.pop()),null===a&&1===e.length&&e[0]instanceof l.a?e[0]:Object(r.a)(t)(Object(i.a)(e,a))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(28),o=t(65),r=t(149),i=t(81);function a(e,n,t){void 0===e&&(e=0);var a=-1;return Object(r.a)(n)?a=Number(n)<1?1:Number(n):Object(i.a)(n)&&(t=n),Object(i.a)(t)||(t=o.a),new l.a((function(n){var l=Object(r.a)(e)?e:+e-t.now();return t.schedule(u,l,{index:0,period:a,subscriber:n})}))}function u(e){var n=e.index,t=e.period,l=e.subscriber;if(l.next(n),!l.closed){if(-1===t)return l.complete();e.index=n+1,this.schedule(e,t)}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return u})),t(3);var l=t(113),o=t(0),r=function(){function e(e,n){this.x=e,this.y=n}return e.fromEvent=function(n,t){if(void 0===t&&(t=null),this.isMouseEvent(n))return new e(n.clientX,n.clientY);if(null===t||1===n.changedTouches.length)return new e(n.changedTouches[0].clientX,n.changedTouches[0].clientY);for(var l=0;l1&&(e=Math.round(e/this.gridSize)*this.gridSize,n=Math.round(n/this.gridSize)*this.gridSize);var t="translate("+Math.round(e)+"px, "+Math.round(n)+"px)";this.renderer.setStyle(this.el.nativeElement,"transform",t),this.renderer.setStyle(this.el.nativeElement,"-webkit-transform",t),this.renderer.setStyle(this.el.nativeElement,"-ms-transform",t),this.renderer.setStyle(this.el.nativeElement,"-moz-transform",t),this.renderer.setStyle(this.el.nativeElement,"-o-transform",t),this.currTrans.x=e,this.currTrans.y=n},e.prototype.pickUp=function(){if(this.oldZIndex=this.el.nativeElement.style.zIndex?this.el.nativeElement.style.zIndex:"",window&&(this.oldZIndex=window.getComputedStyle(this.el.nativeElement,null).getPropertyValue("z-index")),this.zIndexMoving&&this.renderer.setStyle(this.el.nativeElement,"z-index",this.zIndexMoving),!this.moving){this.started.emit(this.el.nativeElement),this.moving=!0;var e=this.getDragEl();this.renderer.addClass(e,"ng-dragging"),this.subscribeEvents()}},e.prototype.subscribeEvents=function(){var e=this;this.draggingSub=Object(l.a)(document,"mousemove",{passive:!1}).subscribe((function(n){return e.onMouseMove(n)})),this.draggingSub.add(Object(l.a)(document,"touchmove",{passive:!1}).subscribe((function(n){return e.onMouseMove(n)}))),this.draggingSub.add(Object(l.a)(document,"mouseup",{passive:!1}).subscribe((function(){return e.putBack()}))),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(Object(l.a)(document,"mouseleave",{passive:!1}).subscribe((function(){return e.putBack()}))),this.draggingSub.add(Object(l.a)(document,"touchend",{passive:!1}).subscribe((function(){return e.putBack()}))),this.draggingSub.add(Object(l.a)(document,"touchcancel",{passive:!1}).subscribe((function(){return e.putBack()})))},e.prototype.unsubscribeEvents=function(){this.draggingSub.unsubscribe(),this.draggingSub=null},e.prototype.boundsCheck=function(){if(this.bounds){var e=this.bounds.getBoundingClientRect(),n=this.el.nativeElement.getBoundingClientRect(),t={top:!!this.outOfBounds.top||e.topn.right,bottom:!!this.outOfBounds.bottom||e.bottom>n.bottom,left:!!this.outOfBounds.left||e.left0&&(a.error=a._printWith("ERROR")),a.logLevel>1&&(a.warn=a._printWith("WARNING")),a.logLevel>2&&(a.log=a._print)},setLogFunction:function(e){e.constructor!==Function?a.warn("The log function you passed in is not a function. Defaulting to regular logs."):a._print=e},_printWith:function(e){return function(){var n=Array.prototype.slice.call(arguments);n.unshift(e),a._print.apply(a,n)}},_print:function(){var e=Array.prototype.slice.call(arguments);e.unshift("PeerJS: ");for(var n=0,t=e.length;n+l.anticipated_term)clearTimeout(t);else{var o=n.model.anticipated_drawdown_date;o&&o.formatted&&(l.anticipated_drawdown_date=o.formatted),l.OIP=!1,n.lenderService.getNewScenario(n.loanId,l).subscribe((function(e){n.lastScenario=e.loan_params,n.calculatedModel={id:e.id,gross_amount:n.toNum(e.gross_amount),net_amount:n.toNum(e.net_amount),loan_value:n.toNum(e.loan_value),int_annual_rate_percent:n.toNum(e.int_annual_rate_percent),gross_ltv:n.toNum(e.gross_ltv),int_rate_monthly_percent:e.int_rate_monthly_percent,total_interest_accrued:n.toNum(e.total_interest_accrued),avg_interest_accrued_monthly:n.toNum(e.avg_interest_accrued_monthly),gross_profit:n.toNum(e.gross_amount)-n.toNum(e.net_amount)}})),clearTimeout(t)}}}),50)},e.prototype.submitQuickOffer=function(e){var n=this;if(!e.invalid&&!this.checkPeriodsRolled()&&this.lastScenario&&this.lastScenario.id){var t=i({},this.lastScenario),l=this.lastScenario.anticipated_drawdown_date;l&&l.formatted&&(t.anticipated_drawdown_date=l.formatted),this.isProcess=!0,t.OIP=!0,this.lenderService.approveScenario(this.loanId,t).subscribe((function(e){n.isProcess=!1,e.error||n.onButtonClick.emit()}),(function(e){n.isProcess=!1}))}},e.prototype.hasError=function(e,n){return e.submitted&&!!n.errors||e.touched&&n.touched&&!!n.errors&&n.invalid},e.prototype.checkPeriodsRolled=function(){if("H"!==this.model.service_type||!this.model.anticipated_term||!this.model.periods_rolled)return!1;var e=parseFloat(this.model.anticipated_term.toString().replace(/months/g,"")),n=parseFloat(this.model.periods_rolled.toString().replace(/months/g,""));return!isNaN(e)&&!isNaN(n)&&n>e},e.prototype.getNumberMask=function(e,n,t,l,o){return void 0===n&&(n=""),void 0===t&&(t=""),void 0===l&&(l=!1),void 0===o&&(o=2),r()({prefix:n,thousandsSeparatorSymbol:",",suffix:t,integerLimit:e,allowDecimal:l,decimalLimit:o})},e.prototype.redirectBack=function(e){e.stopPropagation(),this.winRef.nativeWindow.innerWidth<=440?(this.sideBar.closeAll(),this.router.navigate(["../"],{relativeTo:this.activatedRoute})):this.router.navigate(["../../"],{relativeTo:this.activatedRoute})},e.prototype.toNum=function(e){if("number"==typeof e)return e;var n=parseFloat(e);return isNaN(n)?0:n},e.prototype.prepareScenarioModel=function(){var e=this;Object.keys(this.model).forEach((function(n){"object"!=typeof e.model[n]&&(e.model[n]=(""+e.model[n]).replace(/[,%\xa3]/g,""))}))},e}()},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return u}));var l=t(0),o=t(1),r=t(121),i=t.n(r),a=(t(11),function(){return(a=Object.assign||function(e){for(var n,t=1,l=arguments.length;t=n.getMonth()+1&&(e.editableBorrower.birthDate.month=n.getMonth()+1,+l>n.getDate()&&(e.editableBorrower.birthDate.day=n.getDate()));var r=new Date(n.setFullYear(t||n.getFullYear(),o||n.getFullYear(),0));this.date.days=Array(r.getDate()).fill((function(e,n){return n})).map((function(e,n){return n+1})),this.toNum(e.editableBorrower.birthDate.day)>this.date.days.length&&(e.editableBorrower.birthDate.day=this.date.days.length)},n.prototype.getErrorClassesTimeOfAtCurrentAddress=function(e){var n=e.control.get("time_at_current_address_month"),t=e.control.get("time_at_current_address_year");if(!n||!t)return"";var l=n.valid||t.valid;return{"error-wrapper":this.hasTimeError(e,n,t)||this.check3years(e)&&l,blue:this.check3years(e)&&!this.hasTimeError(e,n,t)}},n.prototype.setTimeAtCurrentAddressVal=function(e,n){var t=n.control.get(e.currentTarget.name);""!==t.value&&0!==t.value||t.setValue(null)},n.prototype.hasTimeError=function(e,n,t){return e.submitted&&!!n&&!!n.errors&&!!t&&!!t.errors||e.touched&&!!n&&!!t&&n.invalid&&t.invalid&&(n.touched||n.dirty||t.touched||t.dirty)},n.prototype.check3years=function(e){return this.remainingTime>0&&this.getTimeAtCurrentAddressInMonths(e)<36&&!this.hasError(e,e.control.get("time_at_current_address"))},n.prototype.onTimeAtCurrentAddressChanged=function(e){e.editableBorrower&&e.editableBorrower.current_address&&this.onTimeChanged.emit({months:+e.editableBorrower.current_address.time_at_address_months,years:+e.editableBorrower.current_address.time_at_address_years})},n.prototype.getTimeAtCurrentAddressInMonths=function(e){var n=e.control.get("time_at_current_address_month"),t=e.control.get("time_at_current_address_year");return n&&t?(this.toNum(n.value)||0)+12*(this.toNum(t.value)||0):0},n.prototype.formateDateNumber=function(e){return e?e<10?"0"+e:e.toString():""},n.prototype.toNum=function(e){if(!e)return e;var n=+e;return isNaN(n)?null:n},n.prototype.initBorrowerList=function(n){var t=this;n.forEach((function(n,l){if(0===l)var r=setTimeout((function(){t.onTimeAtCurrentAddressChanged(n),clearTimeout(r)}),50);var i,u={},s={},d={},c=n;c.birth_date&&(i=e(c.birth_date,"YYYY-MM-DD"),c.birthDate={day:t.toNum(i.format("DD")),month:t.toNum(i.format("MM")),year:t.toNum(i.format("YYYY"))}),t.requeredFields.borrower.forEach((function(e){u[e]=[c[e],o.Validators.required]})),c.current_address||(c.current_address={landline_phone:null,paon:null,street_name:null,city:null,country:null,post_code:null}),t.requeredFields.address.forEach((function(e){s[e]=[c.current_address[e],o.Validators.required]})),t.requeredFields.date.forEach((function(e){d[e]=[c.birthDate[e],o.Validators.required]})),u.address=t.fb.group(s),u.date=t.fb.group(d);var p=t.fb.group(u);if(c.is_uk_resident){var f=p.get("is_permanent_resident");f.clearValidators(),f.updateValueAndValidity()}var g=a({},n);n.borrower=a({},n),n.editableBorrower=g,n.isValid=p.valid}))},n}()}).call(this,t(7))},function(e,n,t){"use strict";(function(e){var l=t(0),o=t(143);n.Ng2DatetimePickerComponent=function(){function n(e,n,t){this.ng2Datetime=n,this.cdRef=t,this.minuteStep=1,this.showWeekNumbers=!1,this.showTodayShortcut=!1,this.selected$=new l.EventEmitter,this.closing$=new l.EventEmitter,this.locale=o.Ng2Datetime.locale,this.showYearSelector=!1,this.el=e.nativeElement}return Object.defineProperty(n.prototype,"yearsSelectable",{get:function(){for(var e=this.year+50,n=[],t=this.year-100;tthis.maxDate.getTime())||this.disabledDatesInTime.indexOf(n)>=0},n.prototype.close=function(){this.closing$.emit(!0)},n.prototype.selectToday=function(){this.selectDateTime(new Date)},n.decorators=[{type:l.Component,args:[{providers:[o.Ng2Datetime],selector:"ng2-datetime-picker",template:'\n
\n
\n
\n \n \x3c!-- Month - Year --\x3e\n
\n «\n \n \n {{monthData?.shortName}}\n \n \n {{monthData.year}}\n \n »\n \n
\n\n \x3c!-- Week number / Days --\x3e\n
\n \x3c!-- Week --\x3e\n
\n
\n {{weekNumber}}\n
\n
\n \n \x3c!-- Date --\x3e\n
\n\n \x3c!-- Su Mo Tu We Th Fr Sa --\x3e\n
\n {{dayOfWeek.shortName}}\n
\n\n \x3c!-- Fill up blank days for this month --\x3e\n
\n
\n {{dayNum}}\n
\n
\n\n
\n {{dayNum}}\n
\n\n \x3c!-- Fill up blank days for this month --\x3e\n
\n
\n {{dayNum}}\n
\n
\n
\n
\n\n
\n Today\n
\n\n \x3c!-- Hour Minute --\x3e\n
\n
{{locale.currentTime}}
\n \n \n {{("0"+hour).slice(-2)}} : {{("0"+minute).slice(-2)}}\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n \x3c!-- Year Selector --\x3e\n
\n
\n {{locale.year}}\n
\n \n {{year}}\n \n
\n
\n ',styles:["\n@keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n}\n\n@keyframes slideUp {\n 0% {\n transform: translateY(100%);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n\n.ng2-datetime-picker-wrapper {\n position: relative;\n}\n\n.ng2-datetime-picker {\n color: #333;\n outline-width: 0;\n font: normal 14px sans-serif;\n border: 1px solid #ddd;\n display: inline-block;\n background: #fff;\n animation: slideDown 0.1s ease-in-out;\n animation-fill-mode: both;\n}\n.ng2-datetime-picker .days {\n width: 210px; /* 30 x 7 days */\n}\n.ng2-datetime-picker .close-button {\n position: absolute;\n width: 1em;\n height: 1em;\n right: 0;\n z-index: 1;\n padding: 0 5px;\n}\n.ng2-datetime-picker .close-button:before {\n content: 'X';\n cursor: pointer;\n color: #ff0000;\n}\n.ng2-datetime-picker > .month {\n text-align: center;\n line-height: 22px;\n padding: 10px;\n background: #fcfcfc;\n text-transform: uppercase;\n font-weight: bold;\n border-bottom: 1px solid #ddd;\n position: relative;\n}\n\n.ng2-datetime-picker > .month > .prev_next {\n color: #555;\n display: block;\n font: normal 24px sans-serif;\n outline: none;\n background: transparent;\n border: none;\n cursor: pointer;\n width: 25px;\n text-align: center;\n}\n.ng2-datetime-picker > .month > .prev_next:hover {\n background-color: #333;\n color: #fff;\n}\n.ng2-datetime-picker > .month > .prev_next.prev {\n float: left;\n}\n.ng2-datetime-picker > .month > .prev_next.next {\n float: right;\n}\n\n.ng2-datetime-picker .week-numbers-and-days {\n text-align: center;\n}\n.ng2-datetime-picker .week-numbers {\n line-height: 30px;\n display: inline-block;\n padding: 30px 0 0 0;\n color: #ddd;\n text-align: right;\n width: 21px;\n vertical-align: top;\n}\n\n.ng2-datetime-picker .days {\n display: inline-block;\n width: 210px; /* 30 x 7 */\n text-align: center;\n padding: 0 10px;\n}\n.ng2-datetime-picker .days .day-of-week,\n.ng2-datetime-picker .days .day {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n border: 1px solid transparent;\n width: 30px;\n line-height: 28px;\n float: left;\n}\n.ng2-datetime-picker .days .day-of-week {\n font-weight: bold;\n}\n.ng2-datetime-picker .days .day-of-week.weekend {\n color: #ccc;\n background-color: inherit;\n}\n.ng2-datetime-picker .days .day:not(.selectable) {\n color: #ccc;\n cursor: default;\n}\n.ng2-datetime-picker .days .weekend {\n color: #ccc;\n background-color: #eee;\n}\n.ng2-datetime-picker .days .day.selectable {\n cursor: pointer;\n}\n.ng2-datetime-picker .days .day.selected {\n background: gray;\n color: #fff;\n}\n.ng2-datetime-picker .days .day:not(.selected).selectable:hover {\n background: #eee;\n}\n.ng2-datetime-picker .days:after {\n content: '';\n display: block;\n clear: left;\n height: 0;\n}\n.ng2-datetime-picker .time {\n position: relative;\n padding: 10px;\n text-transform: Capitalize;\n}\n.ng2-datetime-picker .year-selector {\n position: absolute;\n top: 0;\n left: 0;\n background: #fff;\n height: 100%;\n overflow: auto; \n padding: 5px;\n z-index: 2;\n}\n.ng2-datetime-picker .year-selector .locale{\n text-align: center;\n}\n.ng2-datetime-picker .year-selector .year {\n display: inline-block;\n cursor: pointer;\n padding: 2px 5px;\n}\n.ng2-datetime-picker .year-selector .year:hover {\n background-color: #ddd;\n}\n.ng2-datetime-picker .select-current-time {\n position: absolute;\n top: 1em;\n right: 5px;\n z-index: 1;\n cursor: pointer;\n color: #0000ff;\n}\n.ng2-datetime-picker .hourLabel,\n.ng2-datetime-picker .minutesLabel {\n display: inline-block;\n width: 45px;\n vertical-align: top;\n}\n.closing-layer {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0,0,0,0);\n}\n\n.ng2-datetime-picker .shortcuts {\n padding: 10px;\n text-align: center;\n}\n\n.ng2-datetime-picker .shortcuts a {\n font-family: Sans-serif;\n margin: 0 0.5em;\n text-decoration: none;\n}\n\n@media (max-width: 767px) {\n .ng2-datetime-picker {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0; \n width: auto !important;\n animation: slideUp 0.1s ease-in-out;\n }\n\n .ng2-datetime-picker > .days {\n display: block;\n margin: 0 auto;\n }\n\n .closing-layer {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0,0,0,0.2);\n }\n}\n "],encapsulation:l.ViewEncapsulation.None}]}],n.ctorParameters=[{type:l.ElementRef},{type:o.Ng2Datetime},{type:l.ChangeDetectorRef}],n.propDecorators={dateFormat:[{type:l.Input,args:["date-format"]}],dateOnly:[{type:l.Input,args:["date-only"]}],timeOnly:[{type:l.Input,args:["time-only"]}],selectedDate:[{type:l.Input,args:["selected-date"]}],hour:[{type:l.Input,args:["hour"]}],minute:[{type:l.Input,args:["minute"]}],minuteStep:[{type:l.Input,args:["minuteStep"]}],defaultValue:[{type:l.Input,args:["default-value"]}],minDate:[{type:l.Input,args:["min-date"]}],maxDate:[{type:l.Input,args:["max-date"]}],minHour:[{type:l.Input,args:["min-hour"]}],maxHour:[{type:l.Input,args:["max-hour"]}],disabledDates:[{type:l.Input,args:["disabled-dates"]}],showCloseButton:[{type:l.Input,args:["show-close-button"]}],showCloseLayer:[{type:l.Input,args:["show-close-layer"]}],showWeekNumbers:[{type:l.Input,args:["show-week-numbers"]}],showTodayShortcut:[{type:l.Input,args:["show-today-shortcut"]}],selected$:[{type:l.Output,args:["selected$"]}],closing$:[{type:l.Output,args:["closing$"]}],hours:[{type:l.ViewChild,args:["hours"]}],minutes:[{type:l.ViewChild,args:["minutes"]}]},n}()}).call(this,t(7))},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(33);var l=function(){function e(e,n,t){this.elRef=e,this.renderer=n,this.barService=t,this.sub=[],this.oldClasses=[]}return e.prototype.ngOnInit=function(){var e=this,n=this.elRef.nativeElement;this.sub.push(this.barService.onStateChanged().subscribe((function(t){if(e.field&&t&&t[e.field]){var l=t[e.field];e.oldClasses.forEach((function(t){return e.renderer.removeClass(n,t)})),l.forEach((function(t){return e.renderer.addClass(n,t)})),e.oldClasses=l.slice()}})))},e.prototype.ngOnDestroy=function(){this.sub.forEach((function(e){return e.unsubscribe()}))},e}()},function(e,n,t){"use strict";t.d(n,"b",(function(){return d})),t.d(n,"a",(function(){return c}));var l=t(3),o=t(81),r=t(80),i=t(30),a=t(29),u=t(97),s={};function d(){for(var e=[],n=0;n0&&(l=!0),l||e.count>0}));o.length>0&&(t=o);for(var r=1e8,i=1;i

"+e[0].value+" lenders

"+e[0].x+"%

"}},svg:{classname:"brown-svg"}})},n}()}).call(this,t(335))},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return u}));var l=t(0),o=(t(45),t(85)),r=(t(15),t(33),t(174),t(19),t(36),t(20),t(237)),i=t(173),a=(t(77),function(e){return e[e.None=0]="None",e[e.Broker=1]="Broker",e[e.Lender=2]="Lender",e[e.Borrower=3]="Borrower",e}({})),u=function(){function n(e,n,t,r,i,u,s,d,c,p,f){var g=this;this.router=e,this.activeRoute=n,this.journeyService=t,this.sideBar=r,this.cookieService=i,this.zone=u,this.userService=s,this.loanService=d,this.supportService=c,this.cdr=p,this.openVideo=new l.EventEmitter,this.helpMessages=[],this.journeyType=a,this.welcomeLenderMessage=o.a.welcomeLenderMessage,this.lenderRegistrationMessage=o.a.lenderRegistrationMessage,this.lenderAdditionalQuestionMessage=o.a.lenderAdditionalQuestionMessage,this.borrowerWelcom1=o.a.borrowerWelcom1,this.borrowerWelcom2=o.a.borrowerWelcom2,this.borrowerWelcom3=o.a.borrowerWelcom3,this.borrowerWelcom4=o.a.borrowerWelcom4,this.lenderWelcome1=o.a.lenderWelcome1,this.lenderWelcome2=o.a.lenderWelcome2,this.lenderWelcome3=o.a.lenderWelcome3,this.lenderWelcome4=o.a.lenderWelcome4,this.main1Message=o.a.main1Message,this.main2Message=o.a.main2Message,this.main3Message=o.a.main3Message,this.welcomeBack=o.a.welcomeBack,this.lenderHelpMessage=o.a.lenderHelpMessage,this.getMandateMessage=o.a.getMandateMessage,this.getPendingApprovalMessage=o.a.getPendingApprovalMessage,this.cookieMessage=o.a.cookieMessage,this.isFirstRun=!0,this.isShowButton=!1,this.tmpLoans=[],this.stateVideoWindow="small",this.needShowVideoWindow=!1,this.showTheSecondMessage=!1,this.isLenderApproved=!0,this.isHiddenCookieAlertBox=!1,this._layoutMessageEmitter=new l.EventEmitter,this.checkOfRevisit(),this.welcomeLenderMessage.action=this.openFullDealflow.bind(this),this.getMandateMessage.action=this.openMandate.bind(this),f.$onRouteChanged.subscribe((function(e){switch(g.journeyService.currentJourney){case"brokers":g.currentJourneyType=a.Broker;break;case"lenders":g.currentJourneyType=a.Lender;break;case"borrowers":g.currentJourneyType=a.Borrower;break;default:g.currentJourneyType=a.None}g.welcomeLenderMessage.isSelected=e.url.indexOf("full-dealflow")>0,g.getMandateMessage.isSelected=e.url.indexOf("mandate")>0,g.needShowVideoWindow=!1,g.stateVideoWindow="small",g.openVideo.emit(!1)}))}return Object.defineProperty(n.prototype,"setHelpMessages",{set:function(e){this.helpMessages=e.toArray()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var e=this;this.isHiddenCookieAlertBox=this.cookieService.check("BrydgCookieAccepted");var n=this;this.userService.$userChanged.subscribe((function(n){e.isLenderApproved=!n||n.is_approved})),this.supportService.onUpdateHelpMessageBoard().subscribe((function(){var t=e.journeyService.currentJourney;e.checkOfRevisit();var l=e.userService.isAuthenticated();if(e.isLenderApproved=!l||e.userService.User.is_approved,!l)switch(t){case"lenders":var o=[e.lenderWelcome1,e.lenderWelcome2,e.lenderWelcome3,e.lenderWelcome4];e.welcomeLenderMessage.showTypings=!0,o.forEach((function(e){e.showTypings=!0,e.isActive=!1})),e.showMessages(o,2200);break;case"brokers":if(!e.isReVisit){e.borrowerWelcom1.showTypings=!0;var r=[e.borrowerWelcom2,e.borrowerWelcom3,e.borrowerWelcom4];r.forEach((function(e){e.showTypings=!0,e.isActive=!1}));var i=/^\/brokers$/.test(n.router.url)||/^\/brokers\?\w+/.test(n.router.url),a=e._layoutMessageEmitter.subscribe((function(t){1===t&&i&&(n.router.navigate(["./anonym/onboarding"],{relativeTo:e.activeRoute}),a.unsubscribe())}));e.showMessages(r)}}e.cdr.markForCheck()})),this.supportService.updateHelpMessageBoard()},Object.defineProperty(n.prototype,"isAuth",{get:function(){return!!localStorage.getItem("Token")},enumerable:!0,configurable:!0}),n.prototype.openFullDealflow=function(){this.welcomeLenderMessage.isSelected=!0,this.welcomeLenderMessage.openedWidget=!0,this.router.navigate(["/","lenders","full-dealflow"])},n.prototype.openMandate=function(){},n.prototype.goTo=function(e,n){e.stopPropagation(),this.router.navigate(n,{relativeTo:this.activeRoute}),this.sideBar.closeAll()},n.prototype.acceptCookie=function(){this.cookieService.set("BrydgCookieAccepted",e.utc().format(e.defaultFormatUtc)),this.isHiddenCookieAlertBox=!0},n.prototype.closeVideoWindow=function(e){e.stopPropagation(),this.needShowVideoWindow=!1,this.stateVideoWindow="small",this.openVideo.emit(!1)},n.prototype.showMessages=function(e,n){var t=this;if(void 0===n&&(n=1900),0!==e.length)var l=Object(r.a)(n,n).pipe(Object(i.a)(this.supportService.getAnimationUnsubscriber())).subscribe((function(){e.shift().isActive=!0,t._layoutMessageEmitter.emit(e.length),0===e.length&&l.unsubscribe()}))},n.prototype.checkOfRevisit=function(){var e=this.cookieService.get("first_name");this.isReVisit=!!e,this.isReVisit&&(this.welcomeBack.content="Welcome back "+e)},n}()}).call(this,t(7))},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l=t(0),o=t(2),r=t(1),i=t(225),a=t(281),u=t(211);n.NguiAutoCompleteModule=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[u.NguiAutoComplete]}},e.decorators=[{type:l.NgModule,args:[{imports:[o.CommonModule,r.FormsModule],declarations:[i.NguiAutoCompleteComponent,a.NguiAutoCompleteDirective],exports:[i.NguiAutoCompleteComponent,a.NguiAutoCompleteDirective],entryComponents:[i.NguiAutoCompleteComponent]}]}],e}()},,,,,,,,,,,,,,,,,,,function(e,n){e.exports={}},function(e,n,t){var l=t(277),o=t(784),r=t(785),i=Object.defineProperty;n.f=t(247)?Object.defineProperty:function(e,n,t){if(l(e),n=r(n,!0),l(t),o)try{return i(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},function(e,n,t){var l=t(339);e.exports=function(e){if(!l(e))throw TypeError(e+" is not an object!");return e}},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n){e.exports.RTCSessionDescription=window.RTCSessionDescription||window.mozRTCSessionDescription,e.exports.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,e.exports.RTCIceCandidate=window.RTCIceCandidate||window.mozRTCIceCandidate},function(e,n,t){"use strict";var l=Object.prototype.hasOwnProperty,o="~";function r(){}function i(e,n,t,l,r){if("function"!=typeof t)throw new TypeError("The listener must be a function");var i=new function(e,n,t){this.fn=e,this.context=n,this.once=t||!1}(t,l||e,r),a=o?o+n:n;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],i]:e._events[a].push(i):(e._events[a]=i,e._eventsCount++),e}function a(e,n){0==--e._eventsCount?e._events=new r:delete e._events[n]}function u(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(o=!1)),u.prototype.eventNames=function(){var e,n,t=[];if(0===this._eventsCount)return t;for(n in e=this._events)l.call(e,n)&&t.push(o?n.slice(1):n);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(e)):t},u.prototype.listeners=function(e){var n=this._events[o?o+e:e];if(!n)return[];if(n.fn)return[n.fn];for(var t=0,l=n.length,r=new Array(l);twindow.innerHeight,t=r.isRtl?"right":"left";r.acDropdownEl.style.width=e.width+"px",r.acDropdownEl.style.position="absolute",r.acDropdownEl.style.zIndex=r.zIndex,r.acDropdownEl.style[t]="0",r.acDropdownEl.style.display="inline-block",n?r.acDropdownEl.style.bottom=e.height+"px":r.acDropdownEl.style.top=e.height+"px"}},this.selectNewValue=function(e){e&&"object"==typeof e&&(e=r.setToStringFunction(e)),r.renderValue(e);var n=e;r.selectValueOf&&e[r.selectValueOf]&&(n=e[r.selectValueOf]),(r.parentForm&&r.formControlName||r.extFormControl)&&n&&r.formControl.patchValue(n),n!==r.ngModel&&r.ngModelChange.emit(n),r.valueChanged.emit(n),r.hideAutoCompleteDropdown(),setTimeout((function(){return r.reFocusAfterSelect&&r.inputEl.focus(),r.inputEl}))},this.selectCustomValue=function(e){r.customSelected.emit(e),r.hideAutoCompleteDropdown(),setTimeout((function(){return r.reFocusAfterSelect&&r.inputEl.focus(),r.inputEl}))},this.enterNewText=function(e){r.renderValue(e),r.ngModelChange.emit(e),r.valueChanged.emit(e),r.hideAutoCompleteDropdown()},this.keydownEventHandler=function(e){r.componentRef&&r.componentRef.instance.inputElKeyHandler(e)},this.inputEventHandler=function(e){if(r.componentRef){var n=r.componentRef.instance;n.dropdownVisible=!0,n.keyword=e.target.value,n.reloadListInDelay(e)}else r.showAutoCompleteDropdown()},this.el=this.viewContainerRef.element.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.documentClickListener=function(n){e.scheduledBlurHandler&&(e.scheduledBlurHandler(),e.scheduledBlurHandler=null)},document.addEventListener("click",this.documentClickListener),this.wrapperEl=document.createElement("div"),this.wrapperEl.className="ngui-auto-complete-wrapper",this.wrapperEl.style.position="relative",this.el.parentElement.insertBefore(this.wrapperEl,this.el.nextSibling),this.wrapperEl.appendChild(this.el),this.parentForm&&this.formControlName?this.parentForm.form?this.formControl=this.parentForm.form.get(this.formControlName):this.parentForm instanceof r.FormGroupName&&(this.formControl=this.parentForm.control.controls[this.formControlName]):this.extFormControl&&(this.formControl=this.extFormControl),this.ngModel?this.selectNewValue(this.ngModel):this.formControl&&this.formControl.value&&this.selectNewValue(this.formControl.value)},e.prototype.ngAfterViewInit=function(){var e=this;this.inputEl="INPUT"===this.el.tagName?this.el:this.el.querySelector("input"),this.openOnFocus&&this.inputEl.addEventListener("focus",(function(n){return e.showAutoCompleteDropdown(n)})),this.closeOnFocusOut&&this.inputEl.addEventListener("focusout",(function(n){return e.hideAutoCompleteDropdown(n)})),this.autocomplete||this.inputEl.setAttribute("autocomplete","off"),this.inputEl.addEventListener("blur",(function(n){e.scheduledBlurHandler=function(){return e.blurHandler(n)}})),this.inputEl.addEventListener("keydown",(function(n){return e.keydownEventHandler(n)})),this.inputEl.addEventListener("input",(function(n){return e.inputEventHandler(n)}))},e.prototype.ngOnDestroy=function(){this.componentRef&&(this.componentRef.instance.valueSelected.unsubscribe(),this.componentRef.instance.textEntered.unsubscribe()),this.documentClickListener&&document.removeEventListener("click",this.documentClickListener)},e.prototype.ngOnChanges=function(e){e.ngModel&&(this.ngModel=this.setToStringFunction(e.ngModel.currentValue),this.renderValue(this.ngModel))},e.prototype.blurHandler=function(e){if(this.componentRef){var n=this.componentRef.instance;this.selectOnBlur&&n.selectOne(n.filteredList[n.itemIndex]),this.closeOnFocusOut&&this.hideAutoCompleteDropdown(e)}},e.prototype.setToStringFunction=function(e){if(e&&"object"==typeof e){var n;if("string"==typeof this.valueFormatter){var t=this.valueFormatter.match(/[a-zA-Z0-9_\$]+/g),l=this.valueFormatter;t&&"string"!=typeof e&&t.forEach((function(n){l=l.replace(n,e[n])})),n=l}else n="function"==typeof this.valueFormatter?this.valueFormatter(e):this.displayPropertyName?e[this.displayPropertyName]:"string"==typeof this.listFormatter&&this.listFormatter.match(/^\w+$/)?e[this.listFormatter]:e.value;e.toString=function(){return n}}return e},e.prototype.renderValue=function(e){this.inputEl&&(this.inputEl.value=""+e)},e.decorators=[{type:l.Directive,args:[{selector:"[auto-complete], [ngui-auto-complete]"}]}],e.propDecorators={autocomplete:[{type:l.Input,args:["autocomplete"]}],autoCompletePlaceholder:[{type:l.Input,args:["auto-complete-placeholder"]}],source:[{type:l.Input,args:["source"]}],pathToData:[{type:l.Input,args:["path-to-data"]}],minChars:[{type:l.Input,args:["min-chars"]}],displayPropertyName:[{type:l.Input,args:["display-property-name"]}],acceptUserInput:[{type:l.Input,args:["accept-user-input"]}],maxNumList:[{type:l.Input,args:["max-num-list"]}],selectValueOf:[{type:l.Input,args:["select-value-of"]}],loadingTemplate:[{type:l.Input,args:["loading-template"]}],listFormatter:[{type:l.Input,args:["list-formatter"]}],loadingText:[{type:l.Input,args:["loading-text"]}],blankOptionText:[{type:l.Input,args:["blank-option-text"]}],noMatchFoundText:[{type:l.Input,args:["no-match-found-text"]}],valueFormatter:[{type:l.Input,args:["value-formatter"]}],tabToSelect:[{type:l.Input,args:["tab-to-select"]}],selectOnBlur:[{type:l.Input,args:["select-on-blur"]}],matchFormatted:[{type:l.Input,args:["match-formatted"]}],autoSelectFirstItem:[{type:l.Input,args:["auto-select-first-item"]}],openOnFocus:[{type:l.Input,args:["open-on-focus"]}],closeOnFocusOut:[{type:l.Input,args:["close-on-focusout"]}],reFocusAfterSelect:[{type:l.Input,args:["re-focus-after-select"]}],headerItemTemplate:[{type:l.Input,args:["header-item-template"]}],ignoreAccents:[{type:l.Input,args:["ignore-accents"]}],ngModel:[{type:l.Input}],formControlName:[{type:l.Input,args:["formControlName"]}],extFormControl:[{type:l.Input,args:["formControl"]}],zIndex:[{type:l.Input,args:["z-index"]}],isRtl:[{type:l.Input,args:["is-rtl"]}],ngModelChange:[{type:l.Output}],valueChanged:[{type:l.Output}],customSelected:[{type:l.Output}]},e}()},function(e,n,t){"use strict";function l(e){return null!=e&&"object"==typeof e}t.d(n,"a",(function(){return l}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(3),o=function(e){function n(n,t){var l=e.call(this)||this;return l.subject=n,l.subscriber=t,l.closed=!1,l}return l.d(n,e),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,n=e.observers;if(this.subject=null,n&&0!==n.length&&!e.isStopped&&!e.closed){var t=n.indexOf(this.subscriber);-1!==t&&n.splice(t,1)}}},n}(t(46).a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return f}));var l=t(28),o=t(287),r=t(289),i=t(290),a=t(285),u=t(286),s=t(288),d=t(282),c=t(123),p=t(147),f=function(e){if(e instanceof l.a)return function(n){return e._isScalar?(n.next(e.value),void n.complete()):e.subscribe(n)};if(e&&"function"==typeof e[p.a])return Object(a.a)(e);if(Object(u.a)(e))return Object(o.a)(e);if(Object(s.a)(e))return Object(r.a)(e);if(e&&"function"==typeof e[c.a])return Object(i.a)(e);var n=Object(d.a)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+n+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(147),o=function(e){return function(n){var t=e[l.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(e){return function(n){for(var t=0,l=e.length;t=2;return function(s){return s.pipe(e?Object(o.a)((function(n,t){return e(n,t,s)})):u.a,Object(r.a)(1),t?Object(a.a)(n):Object(i.a)((function(){return new l.a})))}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var l=t(97),o=t(226),r=t(82),i=t(152),a=t(81);function u(){for(var e=[],n=0;n0?Object(i.a)(Object(l.a)(e,t),n):Object(i.a)(Object(r.b)(t),n):Object(i.a)(Object(o.a)(e[0]),n)}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){this.doWork=function(e){}}return e.prototype.scrolling=function(e){this.doWork(e)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(28),o=t(67),r=t(82);function i(e){return new l.a((function(n){var t;try{t=e()}catch(e){return void n.error(e)}return(t?Object(o.a)(t):Object(r.b)()).subscribe(n)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){}return e.prototype.transform=function(e,n){return n?n(e):""+e},e}()},function(e,n,t){"use strict";var l=t(0),o=t(54),r=t(69),i=t(33),a=t(45);t(240),t(13),t.d(n,"a",(function(){return u})),t.d(n,"b",(function(){return s}));var u=l["ɵcrt"]({encapsulation:0,styles:[[".window-template[_ngcontent-%COMP%]{background-color:#f2f1ed;border-radius:5px;overflow:hidden;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53);max-height:100%;height:100%}@media only screen and (max-width:600px){.window-template[_ngcontent-%COMP%]{min-width:unset}}.window-template[_ngcontent-%COMP%] widget-title[_ngcontent-%COMP%]{padding:10px 15px}.window-template[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{overflow:hidden;overflow-y:auto}"]],data:{}});function s(e){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{title:0}),(e()(),l["ɵeld"](1,0,null,null,4,"div",[["class","window-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"widget-title",[],null,[[null,"onChangeView"]],(function(e,n,t){var l=!0;return"onChangeView"===n&&(l=!1!==e.component.onChangeView()&&l),l}),o.b,o.a)),l["ɵdid"](3,180224,[[1,4],["title",4]],0,r.a,[l.ElementRef,i.a,l.Renderer,a.a],{label:[0,"label"],showActionButton:[1,"showActionButton"]},{onChangeViewEvent:"onChangeView"}),(e()(),l["ɵeld"](4,0,null,null,1,"div",[["class","content-wrapper"]],[[4,"height",null]],null,null,null,null)),l["ɵncd"](null,0)],(function(e,n){var t=n.component;e(n,3,0,t.label,t.showActionButton)}),(function(e,n){e(n,4,0,n.component.heightTitle)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(94),o=function(){function e(){this.cyrillicsRegExp=new RegExp("["+l.a.cyrillicsLetters+"]+")}return e.prototype.validate=function(e){return this.forbiddenCyrillicsValidator()(e)},e.prototype.forbiddenCyrillicsValidator=function(){var e=this;return function(n){return e.cyrillicsRegExp.test(n.value)?{forbidden_cyrillics:{value:n.value}}:null}},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(0),o=(t(811),t(28)),r=(t(17),function(){function e(e){this.window=e,this.$onParticipantJoin=new l.EventEmitter,this.$onParticipantLeft=new l.EventEmitter,this.$onParticipantMuted=new l.EventEmitter;var n=this.window.nativeWindow.navigator;n.getUserMedia=n.getUserMedia||n.webkitGetUserMedia||n.mozGetUserMedia,this.connections=[]}return e.prototype.getVideoStream=function(){var e=this;return o.a.create((function(n){e.window.nativeWindow.navigator.getUserMedia({video:!0,audio:!0},(function(e){n.next(e),n.complete()}),(function(e){}))}))},e.prototype.connectToRoom=function(e){var n=this;this.peer=new Peer(e,{host:"brydg-peer.dev-team.com",port:80,path:"/peer"}),this.peer.on("connection",(function(e){n.peer.on("call",(function(t){n.window.nativeWindow.navigator.getUserMedia({video:!0,audio:!0},(function(l){t.answer(l),t.on("stream",(function(t){n.$onParticipantJoin.emit(t),e.on("data",(function(e){"onMuted"==e&&(t.getAudioTracks()[0].enabled=!t.getAudioTracks()[0].enabled)}))}))}),(function(e){}))})),e.on("close",(function(){n.$onParticipantLeft.emit(e.peer)}))}))},e.prototype.joinUser=function(e,n){var t=this;return o.a.create((function(e){var l=t.peer.connect(n);l.on("open",(function(){t.window.nativeWindow.navigator.getUserMedia({video:!0,audio:!0},(function(o){t.peer.call(n,o).on("stream",(function(n){e.next(n),e.complete(),l.on("data",(function(e){"onMuted"==e&&(n.getAudioTracks()[0].enabled=!n.getAudioTracks()[0].enabled)}))}))}),(function(e){}))}))}))},e.prototype.mute=function(){for(var e in this.peer.connections)this.peer.connections[e][0].send("onMuted")},e.prototype.disconnect=function(){this.peer.destroy()},e}())},function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return i}));var l=t(3),o=t(9),r=(t(24),function(){}),i=function(e){function n(n){var t=e.call(this)||this;return t.http=n,t.source=t.init(),t}return Object(l.d)(n,e),n.prototype.init=function(){var e=this;return this.http.get("/assets/mocks/calls.json").pipe(Object(o.a)((function(n){e.data=e.initialized?e.data:n.json().data,e.initialized=!0})))},n.prototype.startCall=function(e){var n=this;return this.source.pipe(Object(o.a)((function(){var t={name:e,participants:[]};return n.data.push(t),t})))},n.prototype.getCall=function(e){var n=this;return this.source.pipe(Object(o.a)((function(){return n.data.find((function(n){return n.name==e}))})))},n.prototype.joinCall=function(e,n){return this.getCall(e).pipe(Object(o.a)((function(e){return e.participants.unshift(n),n})))},n.prototype.leaveCall=function(e,n){return this.getCall(e).pipe(Object(o.a)((function(e){var t=e.participants.findIndex((function(e){return e.name==n.name}));return-1!=t&&e.participants.splice(t,1),n})))},n.prototype.finishCall=function(e){var n=this;return this.source.pipe(Object(o.a)((function(){var t=n.data.findIndex((function(n){return n.name==e.name}));return-1!=t&&n.data.splice(t,1),e})))},n}(r)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(19),t(22);var l=function(){function e(e,n,t){this.router=e,this.userService=n,this.globalPreloaderService=t}return e.prototype.canActivate=function(e,n){return!!this.userService.restore()||(this.router.navigate(["/","lenders","investment-criteria"]),this.globalPreloaderService.setStatus(!1),!1)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(22),t(70);var l=function(){function e(e,n){this.lenderService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.lenderService.getLoansForLoanbook()},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){}},function(e,n,t){"use strict";var l=t(0),o=t(1),r=t(2),i=t(143),a=t(251),u=t(817);n.Ng2DatetimePickerModule=function(){function e(){}return e.decorators=[{type:l.NgModule,args:[{imports:[r.CommonModule,o.FormsModule],declarations:[a.Ng2DatetimePickerComponent,u.Ng2DatetimePickerDirective],exports:[a.Ng2DatetimePickerComponent,u.Ng2DatetimePickerDirective],entryComponents:[a.Ng2DatetimePickerComponent],providers:[i.Ng2Datetime]}]}],e.ctorParameters=[],e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(74),t(354);var l=function(){function e(){}return e.ctorParameters=[],e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return v}));var l=t(24),o=t(91),r=t(19),i=t(34),a=t(53),u=t(180),s=t(194),d=t(181),c=t(192),p=t(144),f=t(66),g=t(195),h=t(196),m=t(197),v=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[l.a,o.a,r.a,i.a,a.a,f.a,{provide:s.b,useClass:s.a},{provide:g.a,useClass:g.b},{provide:h.b,useClass:h.a},{provide:m.b,useClass:m.a},{provide:u.a,useClass:u.b},{provide:d.a,useClass:d.b},{provide:c.a,useClass:c.b},{provide:p.a,useClass:p.b}]}},e}()},function(e,n,t){"use strict";var l=t(0),o=t(2);t(200),t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a}));var r=l["ɵcrt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{display:block}.tabs-widget-template[_ngcontent-%COMP%]{height:100%}.tabs-widget-template[_ngcontent-%COMP%] .tabs-header[_ngcontent-%COMP%]{background:#fff;height:50px;font-family:LatoWeb}.tabs-widget-template[_ngcontent-%COMP%] .tabs-header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{clear:both;margin:0}.tabs-widget-template[_ngcontent-%COMP%] .tabs-header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;float:left;background:#ada694;text-align:center;width:20%;height:32px;padding-top:8px;color:#fff}.tabs-widget-template[_ngcontent-%COMP%] .tabs-header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;background:#ada694;width:20px;height:20px;line-height:20px;border-radius:50%;color:#fff;font-size:7px;font-weight:700;font-style:normal;margin:2px auto;text-align:center}.tabs-widget-template[_ngcontent-%COMP%] .tabs-header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%], .tabs-widget-template[_ngcontent-%COMP%] .tabs-header[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{background:#ff6500}"]],data:{}});function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"li",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,6,"a",[["href","javascript:void(0);"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.changeActiveTab(e.context.$implicit,e.context.index)&&l),l}),null,null)),l["ɵdid"](2,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](3,{active:0}),(e()(),l["ɵted"](4,null,[""," "])),(e()(),l["ɵeld"](5,0,null,null,2,"i",[],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["","%"])),l["ɵpid"](131072,o.AsyncPipe,[l.ChangeDetectorRef])],(function(e,n){e(n,2,0,e(n,3,0,n.context.$implicit.isActive))}),(function(e,n){var t;e(n,4,0,n.context.$implicit.name),e(n,6,0,null==(t=l["ɵunv"](n,6,0,l["ɵnov"](n,7).transform(n.context.$implicit.percentOfTab)))?null:t.payload)}))}function a(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"div",[["class","tabs-widget-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","tabs-header"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,i)),l["ɵdid"](4,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),l["ɵncd"](null,0)],(function(e,n){e(n,4,0,n.component.tabs)}),null)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,t){var l=t(535),o=t(337);e.exports=function(e){return l(o(e))}},function(e,n){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,n,t){var l=t(220),o=t(221),r=t(782),i=t(246),a=t(278),u=function(e,n,t){var s,d,c,p=e&u.F,f=e&u.G,g=e&u.S,h=e&u.P,m=e&u.B,v=e&u.W,b=f?o:o[n]||(o[n]={}),_=b.prototype,y=f?l:g?l[n]:(l[n]||{}).prototype;for(s in f&&(t=n),t)(d=!p&&y&&void 0!==y[s])&&a(b,s)||(c=d?y[s]:t[s],b[s]=f&&"function"!=typeof y[s]?t[s]:m&&d?r(c,l):v&&y[s]==c?function(e){var n=function(n,t,l){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,t)}return new e(n,t,l)}return e.apply(this,arguments)};return n.prototype=e.prototype,n}(c):h&&"function"==typeof c?r(Function.call,c):c,h&&((b.virtual||(b.virtual={}))[s]=c,e&u.R&&_&&!_[s]&&i(_,s,c)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n){var t=Math.ceil,l=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?l:t)(e)}},function(e,n,t){var l=t(542)("keys"),o=t(543);e.exports=function(e){return l[e]||(l[e]=o(e))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(22),t(70);var l=function(){function e(e,n){this.lenderService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.lenderService.getOfferParams(e.params.loanId)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(70),t(22);var l=function(){function e(e,n){this.lenderService=e,this.globalPreloaderService=n}return e.prototype.resolve=function(e){return this.globalPreloaderService.setStatus(!0),this.lenderService.getInterestRate()},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(19),t(22);var l=function(){function e(e,n,t){this.router=e,this.userService=n,this.globalPreloaderService=t}return e.prototype.canActivate=function(e,n){return!!this.userService.restore()||(this.router.navigate(["/","borrowers","login"]),this.globalPreloaderService.setStatus(!1),!1)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t(19),t(22);var l=function(){function e(e,n,t){this.router=e,this.userService=n,this.globalPreloaderService=t}return e.prototype.canActivate=function(e,n){return!!this.userService.restore()||(this.router.navigate(["/","introducers","login"]),this.globalPreloaderService.setStatus(!1),!1)},e}()},function(e,n,t){"use strict";var l=t(0),o=t(2),r=t(10),i=t(1),a=t(4),u=t(32),s=t(89),d=t(60),c=t(61),p=t(74),f=t(75),g=t(92);t(249),t(5),t(17),t(33),t(70),t(44),t.d(n,"a",(function(){return h})),t.d(n,"b",(function(){return L}));var h=l["ɵcrt"]({encapsulation:0,styles:[[".quick-offer-template[_ngcontent-%COMP%]{max-width:40rem;height:100%}@media only screen and (max-width:600px){.quick-offer-template[_ngcontent-%COMP%]{padding:0;max-width:unset}}.quick-offer-template[_ngcontent-%COMP%] ng2-datetime-picker{left:unset!important;right:0!important}.quick-offer-template[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] .mydp .btnpickerenabled:hover{background-color:inherit}.quick-offer-template[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] .mydp .icon-mydpcalendar{display:none}.quick-offer-template[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] .mydp .selector{left:-165px}.quick-offer-template[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] .mydp .selector:after, .quick-offer-template[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] .mydp .selector:before{left:203px}.quick-offer-template[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] .mydp input{font-family:LatoWebBold;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .cancel-link[_ngcontent-%COMP%]:hover{cursor:pointer}.quick-offer-template[_ngcontent-%COMP%] .quick-offer-wrapper[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;height:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:220px;background-color:#dfded9}.quick-offer-template[_ngcontent-%COMP%] .quick-offer-header[_ngcontent-%COMP%]{font-size:16px;color:#6d6248;font-family:proxima_nova_altbold;background-color:#d5d1c5;text-align:left;padding:12px 15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%]{padding:2px 20px;margin-bottom:0}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper.baseline[_ngcontent-%COMP%]{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .two-fields[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;height:auto}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;font-family:LatoWebBold;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label.add-label[_ngcontent-%COMP%]{font-size:10px;font-family:ProximaNova}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus, .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.periods-rolled-placeholder[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#b1ab9d;white-space:pre-line;position:relative;top:-7px}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.periods-rolled-placeholder[_ngcontent-%COMP%]::-moz-placeholder{color:#b1ab9d;white-space:pre-line;position:relative;top:-7px}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.periods-rolled-placeholder[_ngcontent-%COMP%]:-ms-input-placeholder{color:#b1ab9d;white-space:pre-line;position:relative;top:-7px}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.periods-rolled-placeholder[_ngcontent-%COMP%]:-moz-placeholder{color:#b1ab9d;white-space:pre-line;position:relative;top:-7px}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{height:30px;margin:0 0 0 2px}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.basic-input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.basic-input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.basic-input[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1 30%;flex:1 1 30%;max-width:30%;min-width:30%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.add-input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.add-input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.add-input[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1 23%;flex:1 1 23%;max-width:23%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-1[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-1[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-1[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:1%;flex-basis:1%;max-width:1%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-2[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-2[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-2[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:2%;flex-basis:2%;max-width:2%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-3[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-3[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-3[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:3%;flex-basis:3%;max-width:3%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-4[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-4[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-4[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:4%;flex-basis:4%;max-width:4%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-5[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-5[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-5[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:5%;flex-basis:5%;max-width:5%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-6[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-6[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-6[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:6%;flex-basis:6%;max-width:6%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-7[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-7[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-7[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:7%;flex-basis:7%;max-width:7%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-8[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-8[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-8[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:8%;flex-basis:8%;max-width:8%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-9[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-9[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-9[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:9%;flex-basis:9%;max-width:9%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-10[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-10[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-10[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:10%;flex-basis:10%;max-width:10%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-11[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-11[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-11[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:11%;flex-basis:11%;max-width:11%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-12[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-12[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-12[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:12%;flex-basis:12%;max-width:12%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-13[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-13[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-13[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:13%;flex-basis:13%;max-width:13%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-14[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-14[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-14[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:14%;flex-basis:14%;max-width:14%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-15[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-15[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-15[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:15%;flex-basis:15%;max-width:15%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-16[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-16[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-16[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:16%;flex-basis:16%;max-width:16%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-17[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-17[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-17[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:17%;flex-basis:17%;max-width:17%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-18[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-18[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-18[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:18%;flex-basis:18%;max-width:18%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-19[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-19[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-19[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:19%;flex-basis:19%;max-width:19%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-20[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-20[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-20[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-21[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-21[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-21[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:21%;flex-basis:21%;max-width:21%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-22[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-22[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-22[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:22%;flex-basis:22%;max-width:22%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-23[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-23[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-23[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:23%;flex-basis:23%;max-width:23%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-24[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-24[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-24[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:24%;flex-basis:24%;max-width:24%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-25[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-25[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-25[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-26[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-26[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-26[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:26%;flex-basis:26%;max-width:26%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-27[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-27[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-27[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:27%;flex-basis:27%;max-width:27%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-28[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-28[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-28[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:28%;flex-basis:28%;max-width:28%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-29[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-29[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-29[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:29%;flex-basis:29%;max-width:29%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-30[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-30[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-30[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:30%;flex-basis:30%;max-width:30%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-31[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-31[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-31[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:31%;flex-basis:31%;max-width:31%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-32[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-32[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-32[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:32%;flex-basis:32%;max-width:32%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-33[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-33[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-33[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:33%;flex-basis:33%;max-width:33%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-34[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-34[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-34[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:34%;flex-basis:34%;max-width:34%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-35[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-35[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-35[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:35%;flex-basis:35%;max-width:35%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-36[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-36[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-36[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:36%;flex-basis:36%;max-width:36%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-37[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-37[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-37[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:37%;flex-basis:37%;max-width:37%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-38[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-38[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-38[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:38%;flex-basis:38%;max-width:38%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-39[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-39[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-39[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:39%;flex-basis:39%;max-width:39%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-40[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-40[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-40[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:40%;flex-basis:40%;max-width:40%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-41[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-41[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-41[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:41%;flex-basis:41%;max-width:41%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-42[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-42[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-42[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:42%;flex-basis:42%;max-width:42%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-43[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-43[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-43[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:43%;flex-basis:43%;max-width:43%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-44[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-44[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-44[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:44%;flex-basis:44%;max-width:44%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-45[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-45[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-45[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:45%;flex-basis:45%;max-width:45%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-46[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-46[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-46[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:46%;flex-basis:46%;max-width:46%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-47[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-47[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-47[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:47%;flex-basis:47%;max-width:47%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-48[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-48[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-48[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:48%;flex-basis:48%;max-width:48%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-49[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-49[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-49[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:49%;flex-basis:49%;max-width:49%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.s-50[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input.s-50[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select.s-50[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin:0;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:0 5px;text-align:right;font-size:12px;font-family:LatoWebBold;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{font-family:ProximaNova;font-size:10px;font-weight:300;text-align:left;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{font-family:ProximaNova;font-size:10px;font-weight:300;text-align:left;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{font-family:ProximaNova;font-size:10px;font-weight:300;text-align:left;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-input-placeholder{font-family:ProximaNova;font-size:10px;font-weight:300;text-align:left;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{font-family:ProximaNova;font-size:10px;font-weight:300;text-align:left;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.add-input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.basic-input[_ngcontent-%COMP%]{height:auto;margin:0}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.add-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.basic-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin:0}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] div.add-input[_ngcontent-%COMP%]{padding:0 2px}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .sub-field-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-ms-flex-item-align:baseline;align-self:baseline}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%]{padding:0 0 0 2px;height:auto;border-radius:0;-webkit-box-shadow:unset;box-shadow:unset}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] my-date-picker[_ngcontent-%COMP%] input, .quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{border:2px solid #ff6500}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .error-messages[_ngcontent-%COMP%]{background-color:#ff6500;margin:-2px 0 0;padding:0;border-bottom-left-radius:3px!important;border-bottom-right-radius:3px!important;height:auto}.quick-offer-template[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .error-messages[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{font-size:9px;color:#fff;padding:2px 3px;height:auto}.quick-offer-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%]{margin:15px 0 0;left:50%;position:relative;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.quick-offer-template[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-family:ProximaNova;font-size:18px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%]{padding-top:10px;overflow:auto;height:calc(100% - 115px);max-height:645px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .offer-header[_ngcontent-%COMP%]{text-align:center;padding:22px 0 15px;margin:0 15px;border-top:1px solid #979797;letter-spacing:4.5px;font-size:9px;font-family:ProximaNova}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .calculated-section[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%]{padding-top:15px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .calculated-section[_ngcontent-%COMP%] .calc-header[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .calc-header[_ngcontent-%COMP%]{text-align:center;padding:22px 0 15px;margin:0 15px;border-top:1px solid #979797;letter-spacing:4.5px;font-size:9px;font-family:ProximaNova}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .calculated-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%]{padding:6px 20px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .calculated-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-family:ProximaNova;color:#6d6248}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .calculated-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label.fs-italic[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label.fs-italic[_ngcontent-%COMP%]{font-style:italic;font-size:11px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .calculated-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label.value[_ngcontent-%COMP%], .quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .form-group.flex-row[_ngcontent-%COMP%] .field-wrapper[_ngcontent-%COMP%] label.value[_ngcontent-%COMP%]{font-family:LatoWebBold}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%]{padding-top:0;margin-bottom:15px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .calc-header[_ngcontent-%COMP%]{border-top:none;padding-top:10px}.quick-offer-template[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .summary-section[_ngcontent-%COMP%] .div-line[_ngcontent-%COMP%]{border-bottom:1px solid #979797;margin:0 15px 15px;padding-top:15px}.quick-offer-template[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{height:75px;min-height:75px}"]],data:{}});function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,[""," interest rate should be between ","% and ","%"]))],null,(function(e,n){e(n,1,0,"M"===(null==l["ɵnov"](n.parent.parent,82)?null:l["ɵnov"](n.parent.parent,82).value)?"Month":"Annual",l["ɵnov"](n.parent.parent,67).errors.range.minValue,l["ɵnov"](n.parent.parent,67).errors.range.maxValue)}))}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,67).errors?null:l["ɵnov"](n.parent,67).errors.required),e(n,4,0,(null==l["ɵnov"](n.parent,67).errors?null:l["ɵnov"](n.parent,67).errors.range)&&!(null!=l["ɵnov"](n.parent,67).errors&&l["ɵnov"](n.parent,67).errors.required))}),null)}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,82)?null:l["ɵnov"](n.parent,82).errors.required)}),null)}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,110)?null:l["ɵnov"](n.parent,110).errors.required)}),null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,130)?null:l["ɵnov"](n.parent,130).errors.required)}),null)}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,150)?null:l["ɵnov"](n.parent,150).errors.required)}),null)}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function P(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["The loan term must be between "," and "," months"]))],null,(function(e,n){e(n,1,0,l["ɵnov"](n.parent.parent,172).errors.range.minValue,l["ɵnov"](n.parent.parent,172).errors.range.maxValue)}))}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,P)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,172).errors?null:l["ɵnov"](n.parent,172).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,172).errors?null:l["ɵnov"](n.parent,172).errors.range)}),null)}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function I(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,191)?null:l["ɵnov"](n.parent,191).errors.required)}),null)}function E(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function N(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["More than loan term"]))],null,null)}function T(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,E)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,N)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,null==l["ɵnov"](n.parent,10).errors?null:l["ɵnov"](n.parent,10).errors.required),e(n,4,0,t.checkPeriodsRolled())}),null)}function D(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,15,"div",[["class","add-input s-30"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{"error-wrapper":0}),(e()(),l["ɵeld"](3,0,null,null,10,"input",[["class","periods-rolled-placeholder"],["name","periods_rolled"],["placeholder","amount of months rolled"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,4)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,4).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,4)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,4)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,6)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,6).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,6)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,6)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.periods_rolled=t)&&o),"ngModelChange"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e.parent,9))&&o),o}),null,null)),l["ɵdid"](4,540672,null,0,r.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](5,{mask:0}),l["ɵdid"](6,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](7,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.MaskedInputDirective,i.DefaultValueAccessor]),l["ɵdid"](10,671744,[["periods_rolled",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](12,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](13,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,T)),l["ɵdid"](15,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,1,0,"add-input s-30",e(n,2,0,t.hasError(l["ɵnov"](n.parent,9),l["ɵnov"](n,10))||t.checkPeriodsRolled())),e(n,4,0,e(n,5,0,t.getNumberMask(2,""," months"))),e(n,7,0,""),e(n,10,0,"periods_rolled",t.model.periods_rolled),e(n,15,0,t.hasError(l["ɵnov"](n.parent,9),l["ɵnov"](n,10))||t.checkPeriodsRolled())}),(function(e,n){e(n,3,0,l["ɵnov"](n,7).required?"":null,l["ɵnov"](n,12).ngClassUntouched,l["ɵnov"](n,12).ngClassTouched,l["ɵnov"](n,12).ngClassPristine,l["ɵnov"](n,12).ngClassDirty,l["ɵnov"](n,12).ngClassValid,l["ɵnov"](n,12).ngClassInvalid,l["ɵnov"](n,12).ngClassPending)}))}function V(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function F(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,V)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,225)?null:l["ɵnov"](n.parent,225).errors.required)}),null)}function L(e){return l["ɵvid"](0,[l["ɵpid"](0,o.CurrencyPipe,[l.LOCALE_ID]),l["ɵpid"](0,o.DecimalPipe,[l.LOCALE_ID]),(e()(),l["ɵeld"](2,0,null,null,264,"div",[["class","quick-offer-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,263,"div",[["class","quick-offer-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,2,"div",[["class","quick-offer-header"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Quick Offer"])),(e()(),l["ɵeld"](7,0,null,null,254,"form",[["class","form"],["id","quickForm"],["name","quick_offer_form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,9).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,9).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.submitQuickOffer(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](8,16384,null,0,i["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](9,4210688,[["quick_offer_form",4]],0,i.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,i.ControlContainer,null,[i.NgForm]),l["ɵdid"](11,16384,null,0,i.NgControlStatusGroup,[[4,i.ControlContainer]],null,null),(e()(),l["ɵeld"](12,0,null,null,249,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](13,0,null,null,35,"div",[["class","summary-section"]],null,null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,1,"div",[["class","calc-header"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["BROKER REQUESTED TERMS:"])),(e()(),l["ɵeld"](16,0,null,null,5,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](17,0,null,null,4,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](18,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Anticipated Drawdown Date"])),(e()(),l["ɵeld"](20,0,null,null,1,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](21,null,["",""])),(e()(),l["ɵeld"](22,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Net Loan Amount"])),(e()(),l["ɵeld"](26,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](27,null,["",""])),l["ɵppd"](28,4),(e()(),l["ɵeld"](29,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](30,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](31,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Requested Broker Fee"])),(e()(),l["ɵeld"](33,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](34,null,["","%"])),l["ɵppd"](35,2),(e()(),l["ɵeld"](36,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](37,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](38,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Anticipated Loan Term"])),(e()(),l["ɵeld"](40,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](41,null,[""," months"])),l["ɵppd"](42,2),(e()(),l["ɵeld"](43,0,null,null,5,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](44,0,null,null,4,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](45,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Repayment Method"])),(e()(),l["ɵeld"](47,0,null,null,1,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](48,null,["",""])),(e()(),l["ɵeld"](49,0,null,null,1,"div",[["class","offer-header"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["YOUR TERMS:"])),(e()(),l["ɵeld"](51,0,null,null,44,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](52,0,null,null,43,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](53,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Interest"])),(e()(),l["ɵeld"](55,0,null,null,40,"div",[["class","two-fields"]],null,null,null,null,null)),(e()(),l["ɵeld"](56,0,null,null,16,"div",[["class","basic-input"]],null,null,null,null,null)),l["ɵdid"](57,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](58,{"error-wrapper":0}),(e()(),l["ɵeld"](59,0,null,null,11,"input",[["name","interest_rate"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,60)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,60).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,60)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,60)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,62)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,62).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,62)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,62)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.interest_rate=t)&&o),"ngModelChange"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](60,540672,null,0,r.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](61,{mask:0}),l["ɵdid"](62,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](63,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](64,16384,null,0,u.a,[],{range:[0,"range"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e,n){return[e,n]}),[i.RequiredValidator,u.a]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.MaskedInputDirective,i.DefaultValueAccessor]),l["ɵdid"](67,671744,[["interest_rate",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](69,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](70,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](72,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](73,0,null,null,22,"div",[["class","add-input s-23"]],null,null,null,null,null)),l["ɵdid"](74,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](75,{"error-wrapper":0}),(e()(),l["ɵeld"](76,0,null,null,17,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](77,0,null,null,16,"select",[["name","interest_type"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,78).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,78).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(r.model.interest_type=t)&&o),"change"===n&&(l["ɵnov"](e,67).control.updateValueAndValidity(),o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](78,16384,null,0,i.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](79,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.SelectControlValueAccessor]),l["ɵdid"](82,671744,[["interest_type",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](84,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](85,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵeld"](86,0,null,null,3,"option",[["value","A"]],null,null,null,null,null)),l["ɵdid"](87,147456,null,0,i.NgSelectOption,[l.ElementRef,l.Renderer2,[2,i.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](88,147456,null,0,i["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["p.a."])),(e()(),l["ɵeld"](90,0,null,null,3,"option",[["value","M"]],null,null,null,null,null)),l["ɵdid"](91,147456,null,0,i.NgSelectOption,[l.ElementRef,l.Renderer2,[2,i.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](92,147456,null,0,i["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["p.m."])),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](95,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](96,0,null,null,19,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](97,0,null,null,18,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](98,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Arrangement fee"])),(e()(),l["ɵeld"](100,0,null,null,15,"div",[["class","basic-input"]],null,null,null,null,null)),l["ɵdid"](101,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](102,{"error-wrapper":0}),(e()(),l["ɵeld"](103,0,null,null,10,"input",[["name","lender_arrangement_fee"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,104)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,104).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,104)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,104)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,106)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,106).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,106)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,106)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.lender_arrangement_fee=t)&&o),"ngModelChange"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](104,540672,null,0,r.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](105,{mask:0}),l["ɵdid"](106,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](107,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.MaskedInputDirective,i.DefaultValueAccessor]),l["ɵdid"](110,671744,[["lender_arrangement_fee",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](112,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](113,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](115,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](116,0,null,null,19,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](117,0,null,null,18,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](118,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Exit Fee"])),(e()(),l["ɵeld"](120,0,null,null,15,"div",[["class","basic-input"]],null,null,null,null,null)),l["ɵdid"](121,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](122,{"error-wrapper":0}),(e()(),l["ɵeld"](123,0,null,null,10,"input",[["name","exit_fee"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,124)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,124).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,124)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,124)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,126)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,126).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,126)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,126)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.exit_fee=t)&&o),"ngModelChange"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](124,540672,null,0,r.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](125,{mask:0}),l["ɵdid"](126,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](127,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.MaskedInputDirective,i.DefaultValueAccessor]),l["ɵdid"](130,671744,[["exit_fee",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](132,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](133,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](135,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](136,0,null,null,19,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](137,0,null,null,18,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](138,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Net Loan"])),(e()(),l["ɵeld"](140,0,null,null,15,"div",[["class","basic-input"]],null,null,null,null,null)),l["ɵdid"](141,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](142,{"error-wrapper":0}),(e()(),l["ɵeld"](143,0,null,null,10,"input",[["name","net_amount"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,144)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,144).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,144)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,144)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,146)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,146).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,146)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,146)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.net_amount=t)&&o),"ngModelChange"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](144,540672,null,0,r.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](145,{mask:0}),l["ɵdid"](146,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](147,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.MaskedInputDirective,i.DefaultValueAccessor]),l["ɵdid"](150,671744,[["net_amount",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](152,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](153,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](155,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](156,0,null,null,21,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](157,0,null,null,20,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](158,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Loan Term"])),(e()(),l["ɵeld"](160,0,null,null,17,"div",[["class","basic-input"]],null,null,null,null,null)),l["ɵdid"](161,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](162,{"error-wrapper":0}),(e()(),l["ɵeld"](163,0,null,null,12,"input",[["name","anticipated_term"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,164)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,164).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,164)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,164)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,166)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,166).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,166)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,166)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.anticipated_term=t)&&o),"ngModelChange"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](164,540672,null,0,r.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](165,{mask:0}),l["ɵdid"](166,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](167,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](168,16384,null,0,u.a,[],{range:[0,"range"]},null),l["ɵpad"](169,2),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e,n){return[e,n]}),[i.RequiredValidator,u.a]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.MaskedInputDirective,i.DefaultValueAccessor]),l["ɵdid"](172,671744,[["anticipated_term",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](174,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](175,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,S)),l["ɵdid"](177,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](178,0,null,null,32,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](179,0,null,null,31,"div",[["class","field-wrapper baseline"]],null,null,null,null,null)),(e()(),l["ɵeld"](180,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Service type"])),(e()(),l["ɵeld"](182,0,null,null,26,"div",[["class","add-input s-41"]],null,null,null,null,null)),l["ɵdid"](183,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](184,{"error-wrapper":0}),(e()(),l["ɵeld"](185,0,null,null,21,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](186,0,null,null,20,"select",[["name","service_type"],["placeholder","Roll/Serv/Hybrid"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,187).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,187).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(r.model.service_type=t)&&o),"change"===n&&(o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),o}),null,null)),l["ɵdid"](187,16384,null,0,i.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](188,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.SelectControlValueAccessor]),l["ɵdid"](191,671744,[["service_type",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](193,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](194,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵeld"](195,0,null,null,3,"option",[["value","S"]],null,null,null,null,null)),l["ɵdid"](196,147456,null,0,i.NgSelectOption,[l.ElementRef,l.Renderer2,[2,i.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](197,147456,null,0,i["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Serviced"])),(e()(),l["ɵeld"](199,0,null,null,3,"option",[["value","R"]],null,null,null,null,null)),l["ɵdid"](200,147456,null,0,i.NgSelectOption,[l.ElementRef,l.Renderer2,[2,i.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](201,147456,null,0,i["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Rolled"])),(e()(),l["ɵeld"](203,0,null,null,3,"option",[["value","H"]],null,null,null,null,null)),l["ɵdid"](204,147456,null,0,i.NgSelectOption,[l.ElementRef,l.Renderer2,[2,i.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](205,147456,null,0,i["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Hybrid"])),(e()(),l["ɵand"](16777216,null,null,1,null,I)),l["ɵdid"](208,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,D)),l["ɵdid"](210,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](211,0,null,null,19,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](212,0,null,null,18,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](213,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Drawdown date"])),(e()(),l["ɵeld"](215,0,null,null,15,"div",[["class","basic-input"]],null,null,null,null,null)),l["ɵdid"](216,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](217,{"error-wrapper":0}),(e()(),l["ɵeld"](218,0,null,null,10,"my-date-picker",[["name","anticipated_drawdown_date"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"dateChanged"],[null,"calendarToggle"]],(function(e,n,t){var o=!0,r=e.component;return"ngModelChange"===n&&(o=!1!==(r.model.anticipated_drawdown_date=t)&&o),"dateChanged"===n&&(r.dateChanged(t),o=!1!==r.getNewScenario(l["ɵnov"](e,9))&&o),"calendarToggle"===n&&(o=!1!==r.calendarToggle(t,l["ɵnov"](e,225))&&o),o}),s.b,s.a)),l["ɵdid"](219,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](512,null,d.a,d.a,[]),l["ɵprd"](512,null,c.a,c.a,[]),l["ɵdid"](223,704512,null,0,p.a,[l.ElementRef,l.Renderer,l.ChangeDetectorRef,d.a,c.a],{options:[0,"options"]},{dateChanged:"dateChanged",calendarToggle:"calendarToggle"}),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[p.a]),l["ɵdid"](225,671744,[["anticipated_drawdown_date",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](227,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](228,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,F)),l["ɵdid"](230,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](231,0,null,null,30,"div",[["class","calculated-section"]],null,null,null,null,null)),(e()(),l["ɵeld"](232,0,null,null,1,"div",[["class","calc-header"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["OFFER IN PRINCIPLE:"])),(e()(),l["ɵeld"](234,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](235,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](236,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Gross Loan"])),(e()(),l["ɵeld"](238,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](239,null,["",""])),l["ɵppd"](240,4),(e()(),l["ɵeld"](241,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](242,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](243,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Gross LTV"])),(e()(),l["ɵeld"](245,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](246,null,["","%"])),l["ɵppd"](247,2),(e()(),l["ɵeld"](248,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](249,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](250,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Net amount to borrower"])),(e()(),l["ɵeld"](252,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](253,null,["",""])),l["ɵppd"](254,4),(e()(),l["ɵeld"](255,0,null,null,6,"div",[["class","form-group flex-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](256,0,null,null,5,"div",[["class","field-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](257,0,null,null,1,"label",[["class",""]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Gross Profit"])),(e()(),l["ɵeld"](259,0,null,null,2,"label",[["class","basic-input value"]],null,null,null,null,null)),(e()(),l["ɵted"](260,null,["",""])),l["ɵppd"](261,4),(e()(),l["ɵeld"](262,0,null,null,4,"div",[["class","button-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](263,0,null,null,3,"button",[["class","proceed-btn"],["form","quickForm"],["preloader",""],["type","submit"]],null,null,null,f.b,f.a)),l["ɵdid"](264,114688,null,0,g.a,[],{isProcess:[0,"isProcess"]},null),(e()(),l["ɵeld"](265,0,null,0,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Issue Quick OiP"]))],(function(e,n){var t=n.component;e(n,57,0,"basic-input",e(n,58,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,67)))),e(n,60,0,e(n,61,0,t.getNumberMask(2,"","%",!0,2))),e(n,63,0,""),e(n,64,0,t.interestRate),e(n,67,0,"interest_rate",t.model.interest_rate),e(n,72,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,67))),e(n,74,0,"add-input s-23",e(n,75,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,82)))),e(n,79,0,""),e(n,82,0,"interest_type",t.model.interest_type),e(n,87,0,"A"),e(n,88,0,"A"),e(n,91,0,"M"),e(n,92,0,"M"),e(n,95,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,82))),e(n,101,0,"basic-input",e(n,102,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,110)))),e(n,104,0,e(n,105,0,t.getNumberMask(2,"","%",!0,2))),e(n,107,0,""),e(n,110,0,"lender_arrangement_fee",t.model.lender_arrangement_fee),e(n,115,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,110))),e(n,121,0,"basic-input",e(n,122,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,130)))),e(n,124,0,e(n,125,0,t.getNumberMask(2,"","%",!0,2))),e(n,127,0,""),e(n,130,0,"exit_fee",t.model.exit_fee),e(n,135,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,130))),e(n,141,0,"basic-input",e(n,142,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,150)))),e(n,144,0,e(n,145,0,t.getNumberMask(8,"£"))),e(n,147,0,""),e(n,150,0,"net_amount",t.model.net_amount),e(n,155,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,150))),e(n,161,0,"basic-input",e(n,162,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,172)))),e(n,164,0,e(n,165,0,t.getNumberMask(2,""," months"))),e(n,167,0,""),e(n,168,0,e(n,169,0,1,36)),e(n,172,0,"anticipated_term",t.model.anticipated_term),e(n,177,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,172))),e(n,183,0,"add-input s-41",e(n,184,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,191)))),e(n,188,0,""),e(n,191,0,"service_type",t.model.service_type),e(n,196,0,"S"),e(n,197,0,"S"),e(n,200,0,"R"),e(n,201,0,"R"),e(n,204,0,"H"),e(n,205,0,"H"),e(n,208,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,191))),e(n,210,0,"H"===t.model.service_type),e(n,216,0,"basic-input",e(n,217,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,225)))),e(n,219,0,""),e(n,223,0,t.myDatePickerOptions),e(n,225,0,"anticipated_drawdown_date",t.model.anticipated_drawdown_date),e(n,230,0,t.hasError(l["ɵnov"](n,9),l["ɵnov"](n,225))),e(n,264,0,t.isProcess)}),(function(e,n){var t=n.component;e(n,7,0,l["ɵnov"](n,11).ngClassUntouched,l["ɵnov"](n,11).ngClassTouched,l["ɵnov"](n,11).ngClassPristine,l["ɵnov"](n,11).ngClassDirty,l["ɵnov"](n,11).ngClassValid,l["ɵnov"](n,11).ngClassInvalid,l["ɵnov"](n,11).ngClassPending),e(n,21,0,t.summaryModel.anticipated_drawdown_date),e(n,27,0,l["ɵunv"](n,27,0,e(n,28,0,l["ɵnov"](n,0),t.summaryModel.net_amount,"GBP","symbol","1.0-0"))),e(n,34,0,l["ɵunv"](n,34,0,e(n,35,0,l["ɵnov"](n,1),t.summaryModel.broker_arrangement_fee,".1-2"))),e(n,41,0,l["ɵunv"](n,41,0,e(n,42,0,l["ɵnov"](n,1),t.summaryModel.anticipated_term,".0-0"))),e(n,48,0,t.summaryModel.service_type),e(n,59,0,l["ɵnov"](n,63).required?"":null,l["ɵnov"](n,69).ngClassUntouched,l["ɵnov"](n,69).ngClassTouched,l["ɵnov"](n,69).ngClassPristine,l["ɵnov"](n,69).ngClassDirty,l["ɵnov"](n,69).ngClassValid,l["ɵnov"](n,69).ngClassInvalid,l["ɵnov"](n,69).ngClassPending),e(n,77,0,l["ɵnov"](n,79).required?"":null,l["ɵnov"](n,84).ngClassUntouched,l["ɵnov"](n,84).ngClassTouched,l["ɵnov"](n,84).ngClassPristine,l["ɵnov"](n,84).ngClassDirty,l["ɵnov"](n,84).ngClassValid,l["ɵnov"](n,84).ngClassInvalid,l["ɵnov"](n,84).ngClassPending),e(n,103,0,l["ɵnov"](n,107).required?"":null,l["ɵnov"](n,112).ngClassUntouched,l["ɵnov"](n,112).ngClassTouched,l["ɵnov"](n,112).ngClassPristine,l["ɵnov"](n,112).ngClassDirty,l["ɵnov"](n,112).ngClassValid,l["ɵnov"](n,112).ngClassInvalid,l["ɵnov"](n,112).ngClassPending),e(n,123,0,l["ɵnov"](n,127).required?"":null,l["ɵnov"](n,132).ngClassUntouched,l["ɵnov"](n,132).ngClassTouched,l["ɵnov"](n,132).ngClassPristine,l["ɵnov"](n,132).ngClassDirty,l["ɵnov"](n,132).ngClassValid,l["ɵnov"](n,132).ngClassInvalid,l["ɵnov"](n,132).ngClassPending),e(n,143,0,l["ɵnov"](n,147).required?"":null,l["ɵnov"](n,152).ngClassUntouched,l["ɵnov"](n,152).ngClassTouched,l["ɵnov"](n,152).ngClassPristine,l["ɵnov"](n,152).ngClassDirty,l["ɵnov"](n,152).ngClassValid,l["ɵnov"](n,152).ngClassInvalid,l["ɵnov"](n,152).ngClassPending),e(n,163,0,l["ɵnov"](n,167).required?"":null,l["ɵnov"](n,174).ngClassUntouched,l["ɵnov"](n,174).ngClassTouched,l["ɵnov"](n,174).ngClassPristine,l["ɵnov"](n,174).ngClassDirty,l["ɵnov"](n,174).ngClassValid,l["ɵnov"](n,174).ngClassInvalid,l["ɵnov"](n,174).ngClassPending),e(n,186,0,l["ɵnov"](n,188).required?"":null,l["ɵnov"](n,193).ngClassUntouched,l["ɵnov"](n,193).ngClassTouched,l["ɵnov"](n,193).ngClassPristine,l["ɵnov"](n,193).ngClassDirty,l["ɵnov"](n,193).ngClassValid,l["ɵnov"](n,193).ngClassInvalid,l["ɵnov"](n,193).ngClassPending),e(n,218,0,l["ɵnov"](n,219).required?"":null,l["ɵnov"](n,227).ngClassUntouched,l["ɵnov"](n,227).ngClassTouched,l["ɵnov"](n,227).ngClassPristine,l["ɵnov"](n,227).ngClassDirty,l["ɵnov"](n,227).ngClassValid,l["ɵnov"](n,227).ngClassInvalid,l["ɵnov"](n,227).ngClassPending),e(n,239,0,l["ɵunv"](n,239,0,e(n,240,0,l["ɵnov"](n,0),t.calculatedModel.gross_amount,"GBP","symbol","1.0-0"))),e(n,246,0,l["ɵunv"](n,246,0,e(n,247,0,l["ɵnov"](n,1),t.calculatedModel.gross_ltv,".1-2"))),e(n,253,0,l["ɵunv"](n,253,0,e(n,254,0,l["ɵnov"](n,0),t.calculatedModel.net_amount,"GBP","symbol","1.0-0"))),e(n,260,0,l["ɵunv"](n,260,0,e(n,261,0,l["ɵnov"](n,0),t.calculatedModel.gross_profit,"GBP","symbol","1.0-0")))}))}},function(e,n,t){"use strict";var l=t(0),o=t(2),r=t(1),i=t(4),a=t(14),u=t(31),s=t(10),d=t(32),c=t(111),p=t(93),f=t(11),g=t(64),h=t(12);t(250),t.d(n,"a",(function(){return m})),t.d(n,"b",(function(){return Le}));var m=l["ɵcrt"]({encapsulation:0,styles:[['.borrowers-table[_ngcontent-%COMP%]{margin:5px 0 10px;padding-right:15px;padding-left:15px}.borrowers-table[_ngcontent-%COMP%] .first[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .second[_ngcontent-%COMP%]{font-family:LatoWeb;border-right:1px solid rgba(123,111,81,.43);height:100%;text-align:center;line-height:normal}.borrowers-table[_ngcontent-%COMP%] .first[_ngcontent-%COMP%]{max-width:40%;padding-right:5px;padding-left:10px}.borrowers-table[_ngcontent-%COMP%] .first[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .second[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.borrowers-table[_ngcontent-%COMP%] .second[_ngcontent-%COMP%]{border-right:none;max-width:60%;padding-left:5px}.borrowers-table[_ngcontent-%COMP%] .borrowers-header[_ngcontent-%COMP%]{border-radius:5px 5px 0 0;background:#ada694;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:40px;position:relative}.borrowers-table[_ngcontent-%COMP%] .borrowers-header[_ngcontent-%COMP%] .first[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .borrowers-header[_ngcontent-%COMP%] .second[_ngcontent-%COMP%]{color:#fff;line-height:40px}.borrowers-table[_ngcontent-%COMP%] .borrowers-header[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%]{position:absolute;height:25px;background-color:#fd6401;top:50%;right:5px;border-radius:12px;text-align:center;line-height:25px;font-size:12px;color:#fff;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer;padding:0 10px}.borrowers-table[_ngcontent-%COMP%] .borrowers-header[_ngcontent-%COMP%] .add-button.disabled[_ngcontent-%COMP%]{background-color:#7a695e}.borrowers-table[_ngcontent-%COMP%] .borrowers-header[_ngcontent-%COMP%] .add-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:LatoWeb;font-size:12px}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%]{background:#e0ded9;border-radius:0 0 5px 5px}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row.active[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%]:hover{background:#d2cec5}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .borrower-row[_ngcontent-%COMP%]{padding:5px;background-color:#fff;border-radius:5px}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .borrower-row[_ngcontent-%COMP%] .col-form-label[_ngcontent-%COMP%]{display:block}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .borrower-row[_ngcontent-%COMP%] .loanFormData[_ngcontent-%COMP%]{width:100%;border:1px solid #ccc;border-radius:3px;outline:none}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .borrower-row[_ngcontent-%COMP%] .has-error[_ngcontent-%COMP%] .loanFormData[_ngcontent-%COMP%]{border:3px solid #ff6500}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .borrower-row[_ngcontent-%COMP%] .has-error[_ngcontent-%COMP%] .loanFormDataphone-input[_ngcontent-%COMP%]{border:none}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] > .form-group[_ngcontent-%COMP%]{padding:0 10px}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{padding-bottom:5px;margin-bottom:0}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .col-sm-12[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .col-sm-12[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .row.no-gutter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:first-child{margin-left:0}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .row.no-gutter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:last-child{margin-right:0}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .birthday-wrapper[_ngcontent-%COMP%]{padding:0}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 0;position:relative}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%]:hover{cursor:pointer}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper.disabled[_ngcontent-%COMP%]:hover{cursor:default}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%] .valid-progress[_ngcontent-%COMP%]{position:absolute;bottom:5px;top:5px;left:5px;width:6px;-webkit-box-shadow:inset 1px 1px 1px 0 rgba(60,53,76,.3);box-shadow:inset 1px 1px 1px 0 rgba(60,53,76,.3);border-radius:3px}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%] .valid-progress.true[_ngcontent-%COMP%]{background-color:#00dc00}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%] .valid-progress.false[_ngcontent-%COMP%]{background-color:#fd6401}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%] .edit-button[_ngcontent-%COMP%]{font-size:19px;padding:5px;color:#fd6401;cursor:pointer}.borrowers-table[_ngcontent-%COMP%] .borrowers-body[_ngcontent-%COMP%] .borrowers-row[_ngcontent-%COMP%] .previous-row-wrapper[_ngcontent-%COMP%] .edit-button.disabled[_ngcontent-%COMP%]{color:#b9b9b9;cursor:default}.borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:5px;padding-top:10px}.borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .cancel-button[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .done-button[_ngcontent-%COMP%]{height:25px;max-height:25px;padding:0 10px;background-color:#fd6401;border-radius:12px;color:#fff;line-height:25px;cursor:pointer}.borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .done-button[_ngcontent-%COMP%]{padding:0 25px}.borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .cancel-button[_ngcontent-%COMP%]{background-color:#ada694}.borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%]{background-color:red}.borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .cancel-button[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .action-wrapper[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%]{min-width:60px}.borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding:0 8px}.borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:first-child{padding-left:0;-webkit-box-flex:0;-ms-flex:0 0 15%;flex:0 0 15%;max-width:15%}.borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:last-child{padding-right:0}@media only screen and (max-width:400px){.borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding:0}.borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:first-child, .borrowers-table[_ngcontent-%COMP%] .fix-borrower-title[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:last-child{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}}@media only screen and (max-width:577px){.borrowers-table[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{padding:3px 15px!important}.borrowers-table[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group.home-phone[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row.no-gutter[_ngcontent-%COMP%] .form-group.home-phone[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.borrowers-table[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row.no-gutter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:first-child{padding-left:0!important}.borrowers-table[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row.no-gutter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:last-child{padding-right:0!important}}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%]{margin-bottom:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-right:0;margin-left:0;padding-bottom:1px}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .col-5.fixl[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .col-6.fixl[_ngcontent-%COMP%]{padding-left:0;padding-right:7.5px}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .col-5.fixr[_ngcontent-%COMP%], .borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .col-6.fixr[_ngcontent-%COMP%]{padding-right:0;padding-left:7.5px;margin-right:0}.borrowers-table[_ngcontent-%COMP%] .row.color-radio.fix[_ngcontent-%COMP%]{margin-bottom:0}.borrowers-table[_ngcontent-%COMP%] .row.color-radio.fix[_ngcontent-%COMP%] .col-5[_ngcontent-%COMP%]{max-width:none!important;-webkit-box-flex:1!important;-ms-flex:1 1 auto!important;flex:1 1 auto!important}.borrowers-table[_ngcontent-%COMP%] .row.color-radio.fix[_ngcontent-%COMP%] .col-5[_ngcontent-%COMP%]:first-child{margin-right:7.5px}.borrowers-table[_ngcontent-%COMP%] .row.color-radio.fix[_ngcontent-%COMP%] .col-5[_ngcontent-%COMP%]:last-child{margin-left:7.5px}.borrowers-table[_ngcontent-%COMP%] .row.color-radio.not-selected[_ngcontent-%COMP%]{background-color:#f2f1ed}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%]{background-color:#7b6f51;padding:.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:3px;cursor:pointer}.error-wrapper[_ngcontent-%COMP%] .borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%]{margin-bottom:0}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option.not-selected[_ngcontent-%COMP%]{background-color:#f2f1ed}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option.not-selected[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#584d34}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option.fix[_ngcontent-%COMP%]{margin:0 0 1rem}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option.fix.l[_ngcontent-%COMP%]{margin-left:0}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option.fix.r[_ngcontent-%COMP%]{margin-right:0}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%] .option-input[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none;height:20px;width:20px;border:none;outline:none;position:relative;z-index:1000;cursor:pointer}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%] .option-input.radio[_ngcontent-%COMP%]{border-radius:50%;background-color:#fff}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%] .option-input[_ngcontent-%COMP%]:checked:before{font:normal normal normal 14px/1 FontAwesome;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\F00C";height:15px;width:15px;position:absolute;display:inline-block;font-size:13px;line-height:17px;left:4px;top:2px;color:#7b6f51}.borrowers-table[_ngcontent-%COMP%] .row.color-radio[_ngcontent-%COMP%] .radio-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;line-height:normal;padding-top:2px;padding-left:5px;color:#fff;cursor:pointer}.borrowers-table[_ngcontent-%COMP%] .address-row[_ngcontent-%COMP%]{padding:5px 8px 13px;background-color:#f1f1f1;border-radius:5px}.borrowers-table[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%]{-webkit-box-shadow:0 0 0 2px #fd6401;box-shadow:0 0 0 2px #fd6401;border-radius:3px}.borrowers-table[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .error-messages[_ngcontent-%COMP%]{display:block!important;background-color:#ff6500;margin-top:-1px!important;padding:7px 5px 5px;border-radius:0!important}.borrowers-table[_ngcontent-%COMP%] .error-wrapper[_ngcontent-%COMP%] .error-messages[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{color:#fff!important}.borrowers-table[_ngcontent-%COMP%] .has-error[_ngcontent-%COMP%] phone-input[_ngcontent-%COMP%]{border:none!important}.borrowers-table[_ngcontent-%COMP%] select-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{outline:none}']],data:{}});function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","add-button fa fa-plus-circle"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.addNewBorrowerRow(t)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Add"]))],null,null)}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","previous-row-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.editBorrowerRow(t,e.parent.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","first"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵeld"](3,0,null,null,1,"div",[["class","second"]],null,null,null,null,null)),(e()(),l["ɵted"](4,null,["",""])),(e()(),l["ɵeld"](5,0,null,null,2,"div",[["class","valid-progress true"]],null,null,null,null,null)),l["ɵdid"](6,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](7,{true:0,false:1})],(function(e,n){e(n,6,0,"valid-progress true",e(n,7,0,!!n.parent.context.$implicit.isValid,!n.parent.context.$implicit.isValid))}),(function(e,n){var t=n.component;e(n,2,0,t.getEditableBorrowerLine(n.parent.context.$implicit.editableBorrower,n.parent.context.index)),e(n,4,0,t.getEditableAddressBorrowerLine(n.parent.context.$implicit.editableBorrower))}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[["selected","selected"],["value",""]],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["-"]))],(function(e,n){e(n,1,0,""),e(n,2,0,"")}),null)}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,24).errors?null:l["ɵnov"](n.parent,24).errors.required)}),null)}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You can use only Latin symbols"]))],null,null)}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,50).errors?null:l["ɵnov"](n.parent,50).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,50).errors?null:l["ɵnov"](n.parent,50).errors.pattern)}),null)}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You can use only Latin symbols"]))],null,null)}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,66).errors?null:l["ɵnov"](n.parent,66).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,66).errors?null:l["ɵnov"](n.parent,66).errors.pattern)}),null)}function P(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,P)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,80).errors?null:l["ɵnov"](n.parent,80).errors.required)}),null)}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function I(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,93).errors?null:l["ɵnov"](n.parent,93).errors.required)}),null)}function E(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function N(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This is not a valid email"]))],null,null)}function T(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,E)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,N)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,110).errors?null:l["ɵnov"](n.parent,110).errors.required),e(n,4,0,(null==l["ɵnov"](n.parent,110).errors?null:l["ɵnov"](n.parent,110).errors.pattern)&&!(null!=l["ɵnov"](n.parent,110).errors&&l["ɵnov"](n.parent,110).errors.required))}),null)}function D(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function V(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,D)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,125).errors?null:l["ɵnov"](n.parent,125).errors.required)}),null)}function F(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function L(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,F)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,140).errors?null:l["ɵnov"](n.parent,140).errors.required)}),null)}function q(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[["selected","selected"],["value",""]],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Day"]))],(function(e,n){e(n,1,0,""),e(n,2,0,"")}),null)}function B(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](3,null,["",""]))],(function(e,n){e(n,1,0,n.context.$implicit),e(n,2,0,n.context.$implicit)}),(function(e,n){e(n,3,0,n.context.$implicit)}))}function j(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function $(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,j)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,157).errors?null:l["ɵnov"](n.parent,157).errors.required)}),null)}function U(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[["selected","selected"],["value",""]],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Month"]))],(function(e,n){e(n,1,0,""),e(n,2,0,"")}),null)}function G(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](3,null,["",""]))],(function(e,n){e(n,1,0,n.context.index+1),e(n,2,0,n.context.index+1)}),(function(e,n){e(n,3,0,n.context.$implicit)}))}function z(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function W(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,z)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,174).errors?null:l["ɵnov"](n.parent,174).errors.required)}),null)}function H(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[["selected","selected"],["value",""]],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Year"]))],(function(e,n){e(n,1,0,""),e(n,2,0,"")}),null)}function Y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](3,null,["",""]))],(function(e,n){e(n,1,0,n.context.$implicit),e(n,2,0,n.context.$implicit)}),(function(e,n){e(n,3,0,n.context.$implicit)}))}function K(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function J(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,K)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,191).errors?null:l["ɵnov"](n.parent,191).errors.required)}),null)}function Q(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[],[[8,"className",0]],null,null,null,null))],null,(function(e,n){e(n,0,0,l["ɵinlineInterpolate"](1,"flag flag-",n.parent.context.item.alpha_2_code.toLowerCase(),""))}))}function Z(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","flag-wrapper"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Q)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](3,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](4,null,["",""]))],(function(e,n){e(n,2,0,!!n.context.item.alpha_2_code)}),(function(e,n){e(n,4,0,n.context.item.nationality)}))}function X(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","flag-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,["",""]))],null,(function(e,n){e(n,1,0,l["ɵinlineInterpolate"](1,"flag flag-",n.context.item.alpha_2_code.toLowerCase(),"")),e(n,3,0,n.context.item.nationality)}))}function ee(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ne(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ee)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,221).errors?null:l["ɵnov"](n.parent,221).errors.required)}),null)}function te(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[["selected","selected"],["value",""]],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Please Select"]))],(function(e,n){e(n,1,0,""),e(n,2,0,"")}),null)}function le(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function oe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,le)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,242).errors?null:l["ɵnov"](n.parent,242).errors.required)}),null)}function re(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ie(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,re)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,289).errors?null:l["ɵnov"](n.parent,289).errors.required)}),null)}function ae(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ue(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ae)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,10).control.get("is_uk_resident").errors?null:l["ɵnov"](n.parent,10).control.get("is_uk_resident").errors.required)}),null)}function se(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function de(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,se)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent.parent,10).control.get("is_permanent_resident").errors?null:l["ɵnov"](n.parent.parent,10).control.get("is_permanent_resident").errors.required)}),null)}function ce(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,38,"div",[["class","form-group col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Does the borrower have permanent right to reside in the UK?"])),(e()(),l["ɵeld"](3,0,null,null,35,"div",[],null,null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](5,{"error-wrapper":0}),(e()(),l["ɵeld"](6,0,null,null,30,"div",[["class","row color-radio"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,14,"div",[["class","col-6 fixl"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,13,"div",[["class","radio-option fix2"]],[[2,"not-selected",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=0!=(e.parent.parent.context.$implicit.editableBorrower.is_permanent_resident=!0)&&l),l}),null,null)),(e()(),l["ɵeld"](9,0,null,null,12,"label",[],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,9,"input",[["checked","checked"],["class","option-input radio"],["name","is_permanent_resident"],["required",""],["type","radio"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,n,t){var o=!0;return"input"===n&&(o=!1!==l["ɵnov"](e,11)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,11).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,11)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,11)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==l["ɵnov"](e,12).onChange()&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,12).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(e.parent.parent.context.$implicit.editableBorrower.is_permanent_resident=t)&&o),o}),null,null)),l["ɵdid"](11,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](12,212992,null,0,r.RadioControlValueAccessor,[l.Renderer2,l.ElementRef,r["ɵangular_packages_forms_forms_j"],l.Injector],{name:[0,"name"],value:[1,"value"]},null),l["ɵdid"](13,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.DefaultValueAccessor,r.RadioControlValueAccessor]),l["ɵdid"](16,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](18,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](19,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](20,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Yes"])),(e()(),l["ɵeld"](22,0,null,null,14,"div",[["class","col-6 fixr"]],null,null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,13,"div",[["class","radio-option fix2"]],[[2,"not-selected",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=0!=(e.parent.parent.context.$implicit.editableBorrower.is_permanent_resident=!1)&&l),l}),null,null)),(e()(),l["ɵeld"](24,0,null,null,12,"label",[],null,null,null,null,null)),(e()(),l["ɵeld"](25,0,null,null,9,"input",[["checked","checked"],["class","option-input radio"],["name","is_permanent_resident"],["required",""],["type","radio"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,n,t){var o=!0;return"input"===n&&(o=!1!==l["ɵnov"](e,26)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,26).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,26)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,26)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==l["ɵnov"](e,27).onChange()&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,27).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(e.parent.parent.context.$implicit.editableBorrower.is_permanent_resident=t)&&o),o}),null,null)),l["ɵdid"](26,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](27,212992,null,0,r.RadioControlValueAccessor,[l.Renderer2,l.ElementRef,r["ɵangular_packages_forms_forms_j"],l.Injector],{name:[0,"name"],value:[1,"value"]},null),l["ɵdid"](28,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.DefaultValueAccessor,r.RadioControlValueAccessor]),l["ɵdid"](31,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](33,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](34,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](35,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["No"])),(e()(),l["ɵand"](16777216,null,null,1,null,de)),l["ɵdid"](38,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,4,0,e(n,5,0,t.hasError(l["ɵnov"](n.parent,10),l["ɵnov"](n.parent,10).control.get("is_permanent_resident")))),e(n,12,0,"is_permanent_resident",!0),e(n,13,0,""),e(n,16,0,"is_permanent_resident",n.parent.parent.context.$implicit.editableBorrower.is_permanent_resident),e(n,27,0,"is_permanent_resident",!1),e(n,28,0,""),e(n,31,0,"is_permanent_resident",n.parent.parent.context.$implicit.editableBorrower.is_permanent_resident),e(n,38,0,t.hasError(l["ɵnov"](n.parent,10),l["ɵnov"](n.parent,10).control.get("is_permanent_resident")))}),(function(e,n){e(n,8,0,!0!==n.parent.parent.context.$implicit.editableBorrower.is_permanent_resident),e(n,10,0,l["ɵnov"](n,13).required?"":null,l["ɵnov"](n,18).ngClassUntouched,l["ɵnov"](n,18).ngClassTouched,l["ɵnov"](n,18).ngClassPristine,l["ɵnov"](n,18).ngClassDirty,l["ɵnov"](n,18).ngClassValid,l["ɵnov"](n,18).ngClassInvalid,l["ɵnov"](n,18).ngClassPending),e(n,23,0,!1!==n.parent.parent.context.$implicit.editableBorrower.is_permanent_resident),e(n,25,0,l["ɵnov"](n,28).required?"":null,l["ɵnov"](n,33).ngClassUntouched,l["ɵnov"](n,33).ngClassTouched,l["ɵnov"](n,33).ngClassPristine,l["ɵnov"](n,33).ngClassDirty,l["ɵnov"](n,33).ngClassValid,l["ɵnov"](n,33).ngClassInvalid,l["ɵnov"](n,33).ngClassPending)}))}function pe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function fe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,pe)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,354).errors?null:l["ɵnov"](n.parent,354).errors.required)}),null)}function ge(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function he(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ge)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,374).errors?null:l["ɵnov"](n.parent,374).errors.required)}),null)}function me(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ve(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,me)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,388).errors?null:l["ɵnov"](n.parent,388).errors.required)}),null)}function be(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function _e(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,be)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,l["ɵnov"](n.parent,404).errors.required)}),null)}function ye(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function we(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ye)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,420).errors?null:l["ɵnov"](n.parent,420).errors.required)}),null)}function Ce(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[],[[8,"className",0]],null,null,null,null))],null,(function(e,n){e(n,0,0,l["ɵinlineInterpolate"](1,"flag flag-",n.parent.context.item.alpha_2_code.toLowerCase(),""))}))}function xe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","flag-wrapper"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ce)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](3,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](4,null,["",""]))],(function(e,n){e(n,2,0,!!n.context.item.alpha_2_code)}),(function(e,n){e(n,4,0,n.context.item.en_short_name)}))}function Oe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","flag-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,["",""]))],null,(function(e,n){e(n,1,0,l["ɵinlineInterpolate"](1,"flag flag-",n.context.item.alpha_2_code.toLowerCase(),"")),e(n,3,0,n.context.item.en_short_name)}))}function Me(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ke(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Me)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,447).errors?null:l["ɵnov"](n.parent,447).errors.required)}),null)}function Ae(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function Pe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ae)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,467).errors?null:l["ɵnov"](n.parent,467).errors.required)}),null)}function Se(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function Re(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["Month must be from "," to ",""]))],null,(function(e,n){e(n,1,0,l["ɵnov"](n.parent.parent.parent,10).control.get("time_at_current_address_month").errors.range.minValue,l["ɵnov"](n.parent.parent.parent,10).control.get("time_at_current_address_month").errors.range.maxValue)}))}function Ie(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["Year must be from "," to ",""]))],null,(function(e,n){e(n,1,0,l["ɵnov"](n.parent.parent.parent,10).control.get("time_at_current_address_year").errors.range.minValue,l["ɵnov"](n.parent.parent.parent,10).control.get("time_at_current_address_year").errors.range.maxValue)}))}function Ee(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Se)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Re)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ie)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,((null==l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_month").errors?null:l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_month").errors.required)||(null==l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_year").errors?null:l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_year").errors.required))&&!(null!=l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_month").errors&&l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_month").errors.range)&&!(null!=l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_year").errors&&l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_year").errors.range)),e(n,4,0,null==l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_month").errors?null:l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_month").errors.range),e(n,6,0,null==l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_year").errors?null:l["ɵnov"](n.parent.parent,10).control.get("time_at_current_address_year").errors.range)}),null)}function Ne(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["You should add additional address(es) where you lived last "," months"]))],null,(function(e,n){e(n,2,0,n.component.remainingTime)}))}function Te(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,45,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Time at current Address"])),(e()(),l["ɵeld"](3,0,null,null,42,"div",[],null,null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),(e()(),l["ɵeld"](5,0,null,null,36,"div",[["class","row no-gutter time-at-address"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,17,"div",[["class","col-6"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,16,"select-wrapper",[],null,null,null,a.b,a.a)),l["ɵdid"](8,114688,null,0,u.a,[],{dropdownOptions:[0,"dropdownOptions"],side:[1,"side"]},null),l["ɵpod"](9,{value:0,label:1}),l["ɵpad"](10,1),(e()(),l["ɵeld"](11,0,null,0,12,"input",[["autocomplete","off"],["name","time_at_current_address_year"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,12)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,12).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,12)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,12)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,14)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,14).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,14)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,14)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.parent.context.$implicit.editableBorrower.current_address.time_at_address_years=t)&&o),"blur"===n&&(o=!1!==r.setTimeAtCurrentAddressVal(t,l["ɵnov"](e.parent,10))&&o),"ngModelChange"===n&&(o=!1!==r.onTimeAtCurrentAddressChanged(e.parent.parent.context.$implicit)&&o),o}),null,null)),l["ɵdid"](12,540672,null,0,s.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](13,{mask:0}),l["ɵdid"](14,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](15,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](16,16384,null,0,d.a,[],{range:[0,"range"]},null),l["ɵpad"](17,2),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,d.a]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[s.MaskedInputDirective,r.DefaultValueAccessor]),l["ɵdid"](20,671744,[["time_at_current_address_year",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](22,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](23,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](24,0,null,null,17,"div",[["class","col-6"]],null,null,null,null,null)),(e()(),l["ɵeld"](25,0,null,null,16,"select-wrapper",[],null,null,null,a.b,a.a)),l["ɵdid"](26,114688,null,0,u.a,[],{dropdownOptions:[0,"dropdownOptions"],side:[1,"side"]},null),l["ɵpod"](27,{value:0,label:1}),l["ɵpad"](28,1),(e()(),l["ɵeld"](29,0,null,0,12,"input",[["autocomplete","off"],["name","time_at_current_address_month"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,30)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,30).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,30)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,30)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,32)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,32).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,32)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,32)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.parent.context.$implicit.editableBorrower.current_address.time_at_address_months=t)&&o),"blur"===n&&(o=!1!==r.setTimeAtCurrentAddressVal(t,l["ɵnov"](e.parent,10))&&o),"ngModelChange"===n&&(o=!1!==r.onTimeAtCurrentAddressChanged(e.parent.parent.context.$implicit)&&o),o}),null,null)),l["ɵdid"](30,540672,null,0,s.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](31,{mask:0}),l["ɵdid"](32,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](33,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](34,16384,null,0,d.a,[],{range:[0,"range"]},null),l["ɵpad"](35,2),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,d.a]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[s.MaskedInputDirective,r.DefaultValueAccessor]),l["ɵdid"](38,671744,[["time_at_current_address_month",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](40,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](41,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Ee)),l["ɵdid"](43,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ne)),l["ɵdid"](45,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,4,0,t.getErrorClassesTimeOfAtCurrentAddress(l["ɵnov"](n.parent,10))),e(n,8,0,e(n,10,0,e(n,9,0,"year","Year(s)")),"right"),e(n,12,0,e(n,13,0,t.getNumberMask(3))),e(n,15,0,""),e(n,16,0,e(n,17,0,1,999)),e(n,20,0,"time_at_current_address_year",n.parent.parent.context.$implicit.editableBorrower.current_address.time_at_address_years),e(n,26,0,e(n,28,0,e(n,27,0,"month","Month(s)")),"right"),e(n,30,0,e(n,31,0,t.getNumberMask(3))),e(n,33,0,""),e(n,34,0,e(n,35,0,1,999)),e(n,38,0,"time_at_current_address_month",n.parent.parent.context.$implicit.editableBorrower.current_address.time_at_address_months),e(n,43,0,t.hasTimeError(l["ɵnov"](n.parent,10),l["ɵnov"](n.parent,10).control.get("time_at_current_address_month"),l["ɵnov"](n.parent,10).control.get("time_at_current_address_year")));var o=null;e(n,45,0,t.check3years(l["ɵnov"](n.parent,10))&&((null==(o=l["ɵnov"](n.parent,10).control.get("time_at_current_address_month"))?null:o.valid)||(null==(o=l["ɵnov"](n.parent,10).control.get("time_at_current_address_year"))?null:o.valid))&&!t.hasTimeError(l["ɵnov"](n.parent,10),l["ɵnov"](n.parent,10).control.get("time_at_current_address_month"),l["ɵnov"](n.parent,10).control.get("time_at_current_address_year")))}),(function(e,n){e(n,11,0,l["ɵnov"](n,15).required?"":null,l["ɵnov"](n,22).ngClassUntouched,l["ɵnov"](n,22).ngClassTouched,l["ɵnov"](n,22).ngClassPristine,l["ɵnov"](n,22).ngClassDirty,l["ɵnov"](n,22).ngClassValid,l["ɵnov"](n,22).ngClassInvalid,l["ɵnov"](n,22).ngClassPending),e(n,29,0,l["ɵnov"](n,33).required?"":null,l["ɵnov"](n,40).ngClassUntouched,l["ɵnov"](n,40).ngClassTouched,l["ɵnov"](n,40).ngClassPristine,l["ɵnov"](n,40).ngClassDirty,l["ɵnov"](n,40).ngClassValid,l["ɵnov"](n,40).ngClassInvalid,l["ɵnov"](n,40).ngClassPending)}))}function De(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"button",[["class","delete-button"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.deleteBorrowerRow(t,e.parent.parent.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["Delete"]))],null,null)}function Ve(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,481,"div",[["class","form-group col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,6,"div",[["class","previous-row-wrapper"]],null,null,null,null,null)),l["ɵdid"](2,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](3,{disabled:0}),(e()(),l["ɵeld"](4,0,null,null,1,"div",[["class","first"]],null,null,null,null,null)),(e()(),l["ɵted"](5,null,["",""])),(e()(),l["ɵeld"](6,0,null,null,1,"div",[["class","second"]],null,null,null,null,null)),(e()(),l["ɵted"](7,null,["",""])),(e()(),l["ɵeld"](8,0,null,null,466,"form",[["class","borrower-row"],["id","borrowerForm"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,10).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,10).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.saveBorrowerRow(t,l["ɵnov"](e,10),e.parent.context.$implicit,e.parent.context.index)&&o),o}),null,null)),l["ɵdid"](9,16384,null,0,r["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](10,4210688,[["borrower_form",4]],0,r.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,r.ControlContainer,null,[r.NgForm]),l["ɵdid"](12,16384,null,0,r.NgControlStatusGroup,[[4,r.ControlContainer]],null,null),(e()(),l["ɵeld"](13,0,null,null,58,"div",[["class","row no-gutter fix-borrower-title"]],null,null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,25,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,24,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Title"])),(e()(),l["ɵeld"](18,0,null,null,19,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,18,"select",[["class","loanFormData"],["name","gender"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,20).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,20).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.gender=t)&&o),"change"===n&&(o=!1!==r.updateModelOnServer(t)&&o),o}),null,null)),l["ɵdid"](20,16384,null,0,r.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](21,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.SelectControlValueAccessor]),l["ɵdid"](24,671744,[["gender",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](26,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](27,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](29,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](30,0,null,null,3,"option",[["value","male"]],null,null,null,null,null)),l["ɵdid"](31,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](32,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Mr."])),(e()(),l["ɵeld"](34,0,null,null,3,"option",[["value","female"]],null,null,null,null,null)),l["ɵdid"](35,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](36,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Ms."])),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](39,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](40,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](41,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](42,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's First Name"])),(e()(),l["ɵeld"](44,0,null,null,9,"input",[["class","loanFormData"],["name","first_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""],["type","text"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,45)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,45).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,45)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,45)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.first_name=t)&&o),o}),null,null)),l["ɵdid"](45,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](46,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](47,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](50,671744,[["borrower_first_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](52,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](53,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](55,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](56,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](57,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](58,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's Surname"])),(e()(),l["ɵeld"](60,0,null,null,9,"input",[["class","loanFormData"],["name","borrower_last_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""],["type","text"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,61)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,61).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,61)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,61)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.last_name=t)&&o),o}),null,null)),l["ɵdid"](61,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](62,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](63,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](66,671744,[["borrower_last_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](68,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](69,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](71,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](72,0,null,null,26,"div",[["class","row no-gutter"]],null,null,null,null,null)),(e()(),l["ɵeld"](73,0,null,null,12,"div",[["class","form-group col-6"]],[[4,"padding-right",null],[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](74,0,null,null,11,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](75,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's Middle Name(s)"])),(e()(),l["ɵeld"](77,0,null,null,6,"input",[["class","loanFormData"],["name","borrower_middle_name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,78)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,78).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,78)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,78)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.middle_name=t)&&o),o}),null,null)),l["ɵdid"](78,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](80,671744,[["borrower_middle_name",4]],0,r.NgModel,[[2,r.ControlContainer],[8,null],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](82,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](83,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,S)),l["ɵdid"](85,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](86,0,null,null,12,"div",[["class","form-group col-6"]],[[4,"padding-left",null],[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](87,0,null,null,11,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](88,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's Previous Name(s)"])),(e()(),l["ɵeld"](90,0,null,null,6,"input",[["class","loanFormData"],["name","borrower_previous_name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,91)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,91).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,91)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,91)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.previous_name=t)&&o),o}),null,null)),l["ɵdid"](91,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](93,671744,[["borrower_previous_name",4]],0,r.NgModel,[[2,r.ControlContainer],[8,null],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](95,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](96,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,I)),l["ɵdid"](98,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](99,0,null,null,31,"div",[["class","row no-gutter"]],null,null,null,null,null)),(e()(),l["ɵeld"](100,0,null,null,15,"div",[["class","form-group col-6"]],[[4,"padding-right",null],[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](101,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](102,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's Email"])),(e()(),l["ɵeld"](104,0,null,null,9,"input",[["class","loanFormData"],["name","borrower_email"],["required",""],["type","text"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,105)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,105).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,105)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,105)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.email=t)&&o),o}),null,null)),l["ɵdid"](105,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](106,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](107,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](110,671744,[["borrower_email",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](112,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](113,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,T)),l["ɵdid"](115,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](116,0,null,null,14,"div",[["class","form-group col-6"]],[[4,"padding-left",null],[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](117,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](118,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's mobile number?"])),(e()(),l["ɵeld"](120,0,null,null,8,"phone-input",[["name","borrower_phone_number"],["required",""]],[[1,"required",0],[2,"focused",null],[2,"filled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"]],(function(e,n,t){var l=!0;return"blur"===n&&(l=!1!==e.component.updateModelOnServer(t)&&l),"ngModelChange"===n&&(l=!1!==(e.parent.context.$implicit.editableBorrower.mobile_phone=t)&&l),l}),c.b,c.a)),l["ɵdid"](121,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵdid"](123,4308992,null,0,p.a,[[2,r.NG_VALIDATORS],[2,r.NG_ASYNC_VALIDATORS],f.a,l.ElementRef],null,{$blur:"blur"}),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[p.a]),l["ɵdid"](125,671744,[["borrower_phone_number",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](127,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](128,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,V)),l["ɵdid"](130,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](131,0,null,null,14,"div",[["class","form-group home-phone"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](132,0,null,null,1,"label",[["class","col-sm-12 col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower’s home phone number (landline)"])),(e()(),l["ɵeld"](134,0,null,null,11,"div",[["class","col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](135,0,null,null,8,"phone-input",[["class","loanFormData"],["name","current_home_telephone"],["required",""]],[[1,"required",0],[2,"focused",null],[2,"filled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"]],(function(e,n,t){var l=!0;return"blur"===n&&(l=!1!==e.component.updateModelOnServer(t)&&l),"ngModelChange"===n&&(l=!1!==(e.parent.context.$implicit.editableBorrower.current_address.landline_phone=t)&&l),l}),c.b,c.a)),l["ɵdid"](136,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵdid"](138,4308992,null,0,p.a,[[2,r.NG_VALIDATORS],[2,r.NG_ASYNC_VALIDATORS],f.a,l.ElementRef],null,{$blur:"blur"}),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[p.a]),l["ɵdid"](140,671744,[["current_home_telephone",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](142,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](143,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,L)),l["ɵdid"](145,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](146,0,null,null,54,"div",[["class","col no-gutter birthday-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](147,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Please select the borrower's date of birth."])),(e()(),l["ɵeld"](149,0,null,null,51,"div",[["class","row"]],null,null,null,null,null)),(e()(),l["ɵeld"](150,0,null,null,16,"div",[["class","form-group col-4"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](151,0,null,null,13,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](152,0,null,null,12,"select",[["class","loanFormData"],["name","borrower_day"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,153).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,153).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.birthDate.day=t)&&o),"change"===n&&(r.changedMonthYear(e.parent.context.$implicit),o=!1!==r.updateModelOnServer(t)&&o),o}),null,null)),l["ɵdid"](153,16384,null,0,r.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](154,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.SelectControlValueAccessor]),l["ɵdid"](157,671744,[["borrower_day",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](159,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](160,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,q)),l["ɵdid"](162,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,B)),l["ɵdid"](164,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,$)),l["ɵdid"](166,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](167,0,null,null,16,"div",[["class","form-group col-4"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](168,0,null,null,13,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](169,0,null,null,12,"select",[["class","loanFormData"],["name","borrower_month"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,170).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,170).onTouched()&&o),"change"===n&&(r.changedMonthYear(e.parent.context.$implicit),o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.birthDate.month=t)&&o),o}),null,null)),l["ɵdid"](170,16384,null,0,r.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](171,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.SelectControlValueAccessor]),l["ɵdid"](174,671744,[["borrower_month",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](176,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](177,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,U)),l["ɵdid"](179,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,G)),l["ɵdid"](181,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,W)),l["ɵdid"](183,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](184,0,null,null,16,"div",[["class","form-group col-4"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](185,0,null,null,13,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](186,0,null,null,12,"select",[["class","loanFormData"],["name","borrower_year"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,187).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,187).onTouched()&&o),"change"===n&&(r.changedMonthYear(e.parent.context.$implicit),o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.birthDate.year=t)&&o),o}),null,null)),l["ɵdid"](187,16384,null,0,r.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](188,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.SelectControlValueAccessor]),l["ɵdid"](191,671744,[["borrower_year",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](193,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](194,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,H)),l["ɵdid"](196,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Y)),l["ɵdid"](198,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,J)),l["ɵdid"](200,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](201,0,null,null,29,"div",[["class","form-group col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](202,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's Nationality"])),(e()(),l["ɵeld"](204,0,null,null,26,"div",[],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](205,0,null,null,23,"ng-select",[["autocomplete","off"],["bindLabel","nationality"],["bindValue","nationality"],["class","ng-select"],["name","borrower_nationality"],["required",""],["role","listbox"]],[[2,"ng-select-single",null],[2,"ng-select-typeahead",null],[2,"ng-select-multiple",null],[2,"ng-select-taggable",null],[2,"ng-select-searchable",null],[2,"ng-select-opened",null],[2,"ng-select-disabled",null],[2,"ng-select-filtered",null],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"keydown"]],(function(e,n,t){var o=!0,r=e.component;return"keydown"===n&&(o=!1!==l["ɵnov"](e,206).handleKeyDown(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.nationality=t)&&o),"change"===n&&(o=!1!==r.updateModelOnServer({srcElement:{name:"borrower_nationality"}})&&o),o}),g.b,g.a)),l["ɵdid"](206,4964352,null,11,h.a,[[8,null],[8,null],[8,null],h.b,h.d,l.ElementRef,l.ChangeDetectorRef,h.l],{bindLabel:[0,"bindLabel"],bindValue:[1,"bindValue"],items:[2,"items"]},{changeEvent:"change"}),l["ɵqud"](335544320,1,{optionTemplate:0}),l["ɵqud"](335544320,2,{optgroupTemplate:0}),l["ɵqud"](335544320,3,{labelTemplate:0}),l["ɵqud"](335544320,4,{multiLabelTemplate:0}),l["ɵqud"](335544320,5,{headerTemplate:0}),l["ɵqud"](335544320,6,{footerTemplate:0}),l["ɵqud"](335544320,7,{notFoundTemplate:0}),l["ɵqud"](335544320,8,{typeToSearchTemplate:0}),l["ɵqud"](335544320,9,{loadingTextTemplate:0}),l["ɵqud"](335544320,10,{tagTemplate:0}),l["ɵqud"](603979776,11,{ngOptions:1}),l["ɵdid"](218,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[h.a]),l["ɵdid"](221,671744,[["borrower_nationality",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](223,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](224,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](0,[[3,2]],null,1,null,Z)),l["ɵdid"](226,16384,null,0,h.g,[l.TemplateRef],null,null),(e()(),l["ɵand"](0,[[1,2]],null,1,null,X)),l["ɵdid"](228,16384,null,0,h.f,[l.TemplateRef],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,ne)),l["ɵdid"](230,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](231,0,null,null,63,"div",[["class","row no-gutter"]],null,null,null,null,null)),(e()(),l["ɵeld"](232,0,null,null,45,"div",[["class","form-group col-5"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](233,0,null,null,44,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](234,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Marital Status"])),(e()(),l["ɵeld"](236,0,null,null,39,"div",[["class","select-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](237,0,null,null,38,"select",[["class","loanFormData"],["name","marital_status"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,238).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,238).onTouched()&&o),"change"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.marital_status=t)&&o),o}),null,null)),l["ɵdid"](238,16384,null,0,r.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](239,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.SelectControlValueAccessor]),l["ɵdid"](242,671744,[["marital_status",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](244,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](245,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,te)),l["ɵdid"](247,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](248,0,null,null,3,"option",[["value","single"]],null,null,null,null,null)),l["ɵdid"](249,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](250,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Single"])),(e()(),l["ɵeld"](252,0,null,null,3,"option",[["value","partner"]],null,null,null,null,null)),l["ɵdid"](253,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](254,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Partner"])),(e()(),l["ɵeld"](256,0,null,null,3,"option",[["value","co-habitating"]],null,null,null,null,null)),l["ɵdid"](257,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](258,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Co-habitating"])),(e()(),l["ɵeld"](260,0,null,null,3,"option",[["value","married"]],null,null,null,null,null)),l["ɵdid"](261,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](262,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Married / Common Law / Civil Partnership"])),(e()(),l["ɵeld"](264,0,null,null,3,"option",[["value","separated"]],null,null,null,null,null)),l["ɵdid"](265,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](266,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Separated"])),(e()(),l["ɵeld"](268,0,null,null,3,"option",[["value","divorced"]],null,null,null,null,null)),l["ɵdid"](269,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](270,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Divorced"])),(e()(),l["ɵeld"](272,0,null,null,3,"option",[["value","widowed"]],null,null,null,null,null)),l["ɵdid"](273,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](274,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Widowed"])),(e()(),l["ɵand"](16777216,null,null,1,null,oe)),l["ɵdid"](277,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](278,0,null,null,16,"div",[["class","form-group col"]],[[4,"margin-left",null],[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](279,0,null,null,15,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](280,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Number of dependents"])),(e()(),l["ɵeld"](282,0,null,null,10,"input",[["class","loanFormData"],["name","no_of_dependents"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,283)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,283).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,283)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,283)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,285)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,285).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,285)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,285)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.no_of_dependents=t)&&o),o}),null,null)),l["ɵdid"](283,540672,null,0,s.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](284,{mask:0,placeholderChar:1}),l["ɵdid"](285,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](286,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[s.MaskedInputDirective,r.DefaultValueAccessor]),l["ɵdid"](289,671744,[["no_of_dependents",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](291,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](292,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,ie)),l["ɵdid"](294,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](295,0,null,null,38,"div",[["class","form-group col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](296,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Is the borrower a UK resident?"])),(e()(),l["ɵeld"](298,0,null,null,35,"div",[],null,null,null,null,null)),l["ɵdid"](299,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](300,{"error-wrapper":0}),(e()(),l["ɵeld"](301,0,null,null,30,"div",[["class","row color-radio"]],null,null,null,null,null)),(e()(),l["ɵeld"](302,0,null,null,14,"div",[["class","col-6 fixl"]],null,null,null,null,null)),(e()(),l["ɵeld"](303,0,null,null,13,"div",[["class","radio-option fix2"]],[[2,"not-selected",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(e.parent.context.$implicit.editableBorrower.is_permanent_resident=null,l=0!=(e.parent.context.$implicit.editableBorrower.is_uk_resident=!0)&&l),l}),null,null)),(e()(),l["ɵeld"](304,0,null,null,12,"label",[],null,null,null,null,null)),(e()(),l["ɵeld"](305,0,null,null,9,"input",[["checked","checked"],["class","option-input radio"],["name","is_uk_resident"],["required",""],["type","radio"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,n,t){var o=!0;return"input"===n&&(o=!1!==l["ɵnov"](e,306)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,306).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,306)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,306)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==l["ɵnov"](e,307).onChange()&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,307).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.is_uk_resident=t)&&o),o}),null,null)),l["ɵdid"](306,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](307,212992,null,0,r.RadioControlValueAccessor,[l.Renderer2,l.ElementRef,r["ɵangular_packages_forms_forms_j"],l.Injector],{name:[0,"name"],value:[1,"value"]},null),l["ɵdid"](308,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.DefaultValueAccessor,r.RadioControlValueAccessor]),l["ɵdid"](311,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](313,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](314,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](315,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Yes"])),(e()(),l["ɵeld"](317,0,null,null,14,"div",[["class","col-6 fixr"]],null,null,null,null,null)),(e()(),l["ɵeld"](318,0,null,null,13,"div",[["class","radio-option fix2"]],[[2,"not-selected",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=0!=(e.parent.context.$implicit.editableBorrower.is_uk_resident=!1)&&l),l}),null,null)),(e()(),l["ɵeld"](319,0,null,null,12,"label",[],null,null,null,null,null)),(e()(),l["ɵeld"](320,0,null,null,9,"input",[["checked","checked"],["class","option-input radio"],["name","is_uk_resident"],["required",""],["type","radio"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],(function(e,n,t){var o=!0;return"input"===n&&(o=!1!==l["ɵnov"](e,321)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,321).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,321)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,321)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==l["ɵnov"](e,322).onChange()&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,322).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.is_uk_resident=t)&&o),o}),null,null)),l["ɵdid"](321,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](322,212992,null,0,r.RadioControlValueAccessor,[l.Renderer2,l.ElementRef,r["ɵangular_packages_forms_forms_j"],l.Injector],{name:[0,"name"],value:[1,"value"]},null),l["ɵdid"](323,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.DefaultValueAccessor,r.RadioControlValueAccessor]),l["ɵdid"](326,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](328,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](329,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](330,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["No"])),(e()(),l["ɵand"](16777216,null,null,1,null,ue)),l["ɵdid"](333,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,ce)),l["ɵdid"](335,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](336,0,null,null,23,"div",[["class","form-group col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](337,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["How long has the borrower lived in the UK?"])),(e()(),l["ɵeld"](339,0,null,null,20,"div",[],null,null,null,null,null)),l["ɵdid"](340,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](341,{"error-wrapper":0}),(e()(),l["ɵeld"](342,0,null,null,15,"select-wrapper",[],null,null,null,a.b,a.a)),l["ɵdid"](343,114688,null,0,u.a,[],{dropdownOptions:[0,"dropdownOptions"],side:[1,"side"]},null),l["ɵpod"](344,{value:0,label:1}),l["ɵpod"](345,{value:0,Label:1}),l["ɵpad"](346,2),(e()(),l["ɵeld"](347,0,null,0,10,"input",[["autocomplete","off"],["name","years_in_uk"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,348)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,348).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,348)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,348)._compositionEnd(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,350)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,350).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,350)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,350)._compositionEnd(t.target.value)&&o),"blur"===n&&(o=!1!==r.updateModelOnServer(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.years_in_uk=t)&&o),o}),null,null)),l["ɵdid"](348,540672,null,0,s.MaskedInputDirective,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),l["ɵpod"](349,{mask:0,placeholderChar:1}),l["ɵdid"](350,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](351,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[s.MaskedInputDirective,r.DefaultValueAccessor]),l["ɵdid"](354,671744,[["years_in_uk",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](356,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](357,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,fe)),l["ɵdid"](359,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](360,0,null,null,114,"div",[["class","form-group col-sm-12"]],null,null,null,null,null)),(e()(),l["ɵeld"](361,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Borrower's Current Address"])),(e()(),l["ɵeld"](363,0,null,null,111,"div",[["class","address-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](364,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["House number OR building name?"])),(e()(),l["ɵeld"](366,0,null,null,13,"div",[],null,null,null,null,null)),l["ɵdid"](367,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](368,{"error-wrapper":0}),(e()(),l["ɵeld"](369,0,null,null,8,"input",[["class","loanFormData"],["name","current_address_paon"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,370)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,370).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,370)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,370)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==r.currAddressChanged(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.current_address.paon=t)&&o),o}),null,null)),l["ɵdid"](370,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](371,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](374,671744,[["current_address_paon",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](376,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](377,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,he)),l["ɵdid"](379,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](380,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Flat or unit number (if any)?"])),(e()(),l["ɵeld"](382,0,null,null,11,"div",[],null,null,null,null,null)),l["ɵdid"](383,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](384,{"error-wrapper":0}),(e()(),l["ɵeld"](385,0,null,null,6,"input",[["class","loanFormData"],["name","current_address_saon"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,386)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,386).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,386)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,386)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.current_address.saon=t)&&o),"change"===n&&(o=!1!==r.currAddressChanged(t)&&o),o}),null,null)),l["ɵdid"](386,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](388,671744,[["current_address_saon",4]],0,r.NgModel,[[2,r.ControlContainer],[8,null],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](390,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](391,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,ve)),l["ɵdid"](393,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](394,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Street"])),(e()(),l["ɵeld"](396,0,null,null,13,"div",[],null,null,null,null,null)),l["ɵdid"](397,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](398,{"error-wrapper":0}),(e()(),l["ɵeld"](399,0,null,null,8,"input",[["class","loanFormData"],["name","current_address_street"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,400)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,400).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,400)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,400)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.current_address.street_name=t)&&o),"change"===n&&(o=!1!==r.currAddressChanged(t)&&o),o}),null,null)),l["ɵdid"](400,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](401,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](404,671744,[["current_address_street",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](406,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](407,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,_e)),l["ɵdid"](409,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](410,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["City"])),(e()(),l["ɵeld"](412,0,null,null,13,"div",[],null,null,null,null,null)),l["ɵdid"](413,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](414,{"error-wrapper":0}),(e()(),l["ɵeld"](415,0,null,null,8,"input",[["class","loanFormData"],["name","current_address_city"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,416)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,416).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,416)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,416)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.current_address.city=t)&&o),"change"===n&&(o=!1!==r.currAddressChanged(t)&&o),o}),null,null)),l["ɵdid"](416,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](417,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](420,671744,[["current_address_city",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](422,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](423,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,we)),l["ɵdid"](425,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](426,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Country"])),(e()(),l["ɵeld"](428,0,null,null,28,"div",[],null,null,null,null,null)),l["ɵdid"](429,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](430,{"error-wrapper":0}),(e()(),l["ɵeld"](431,0,null,null,23,"ng-select",[["bindLabel","en_short_name"],["bindValue","en_short_name"],["class","ng-select"],["name","current_address_country"],["required",""],["role","listbox"]],[[2,"ng-select-single",null],[2,"ng-select-typeahead",null],[2,"ng-select-multiple",null],[2,"ng-select-taggable",null],[2,"ng-select-searchable",null],[2,"ng-select-opened",null],[2,"ng-select-disabled",null],[2,"ng-select-filtered",null],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"keydown"]],(function(e,n,t){var o=!0,r=e.component;return"keydown"===n&&(o=!1!==l["ɵnov"](e,432).handleKeyDown(t)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.current_address.country=t)&&o),"change"===n&&(o=!1!==r.currAddressChanged(t)&&o),o}),g.b,g.a)),l["ɵdid"](432,4964352,null,11,h.a,[[8,null],[8,null],[8,null],h.b,h.d,l.ElementRef,l.ChangeDetectorRef,h.l],{bindLabel:[0,"bindLabel"],bindValue:[1,"bindValue"],items:[2,"items"]},{changeEvent:"change"}),l["ɵqud"](335544320,12,{optionTemplate:0}),l["ɵqud"](335544320,13,{optgroupTemplate:0}),l["ɵqud"](335544320,14,{labelTemplate:0}),l["ɵqud"](335544320,15,{multiLabelTemplate:0}),l["ɵqud"](335544320,16,{headerTemplate:0}),l["ɵqud"](335544320,17,{footerTemplate:0}),l["ɵqud"](335544320,18,{notFoundTemplate:0}),l["ɵqud"](335544320,19,{typeToSearchTemplate:0}),l["ɵqud"](335544320,20,{loadingTextTemplate:0}),l["ɵqud"](335544320,21,{tagTemplate:0}),l["ɵqud"](603979776,22,{ngOptions:1}),l["ɵdid"](444,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[h.a]),l["ɵdid"](447,671744,[["current_address_country",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](449,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](450,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](0,[[14,2]],null,1,null,xe)),l["ɵdid"](452,16384,null,0,h.g,[l.TemplateRef],null,null),(e()(),l["ɵand"](0,[[12,2]],null,1,null,Oe)),l["ɵdid"](454,16384,null,0,h.f,[l.TemplateRef],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,ke)),l["ɵdid"](456,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](457,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Postcode"])),(e()(),l["ɵeld"](459,0,null,null,13,"div",[],null,null,null,null,null)),l["ɵdid"](460,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](461,{"error-wrapper":0}),(e()(),l["ɵeld"](462,0,null,null,8,"input",[["class","loanFormData"],["name","current_address_postcode"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,463)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,463).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,463)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,463)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(e.parent.context.$implicit.editableBorrower.current_address.post_code=t)&&o),"change"===n&&(o=!1!==r.currAddressChanged(t)&&o),o}),null,null)),l["ɵdid"](463,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](464,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](467,671744,[["current_address_postcode",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](469,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](470,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Pe)),l["ɵdid"](472,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Te)),l["ɵdid"](474,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](475,0,null,null,6,"div",[["class","action-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](476,0,null,null,1,"button",[["class","cancel-button"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.cancelBorrowerRow(t,e.parent.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["Cancel"])),(e()(),l["ɵeld"](478,0,null,null,1,"button",[["class","done-button"],["form","borrowerForm"],["type","submit"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Done"])),(e()(),l["ɵand"](16777216,null,null,1,null,De)),l["ɵdid"](481,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,"previous-row-wrapper",e(n,3,0,!!n.parent.context.$implicit.editable)),e(n,21,0,""),e(n,24,0,"gender",n.parent.context.$implicit.editableBorrower.gender),e(n,29,0,!n.parent.context.$implicit.editableBorrower.gender),e(n,31,0,"male"),e(n,32,0,"male"),e(n,35,0,"female"),e(n,36,0,"female"),e(n,39,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,24))),e(n,46,0,""),e(n,47,0,"[a-zA-Z\\s_\\.]*"),e(n,50,0,"first_name",n.parent.context.$implicit.editableBorrower.first_name),e(n,55,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,50))),e(n,62,0,""),e(n,63,0,"[a-zA-Z\\s_\\.]*"),e(n,66,0,"borrower_last_name",n.parent.context.$implicit.editableBorrower.last_name),e(n,71,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,66))),e(n,80,0,"borrower_middle_name",n.parent.context.$implicit.editableBorrower.middle_name),e(n,85,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,80))),e(n,93,0,"borrower_previous_name",n.parent.context.$implicit.editableBorrower.previous_name),e(n,98,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,93))),e(n,106,0,""),e(n,107,0,t.emailPattern),e(n,110,0,"borrower_email",n.parent.context.$implicit.editableBorrower.email),e(n,115,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,110))),e(n,121,0,""),e(n,123,0),e(n,125,0,"borrower_phone_number",n.parent.context.$implicit.editableBorrower.mobile_phone),e(n,130,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,125))),e(n,136,0,""),e(n,138,0),e(n,140,0,"current_home_telephone",n.parent.context.$implicit.editableBorrower.current_address.landline_phone),e(n,145,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,140))),e(n,154,0,""),e(n,157,0,"borrower_day",n.parent.context.$implicit.editableBorrower.birthDate.day),e(n,162,0,!l["ɵnov"](n,157).value),e(n,164,0,t.date.days),e(n,166,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,157))),e(n,171,0,""),e(n,174,0,"borrower_month",n.parent.context.$implicit.editableBorrower.birthDate.month),e(n,179,0,!l["ɵnov"](n,174).value),e(n,181,0,t.date.month),e(n,183,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,174))),e(n,188,0,""),e(n,191,0,"borrower_year",n.parent.context.$implicit.editableBorrower.birthDate.year),e(n,196,0,!l["ɵnov"](n,191).value),e(n,198,0,t.date.years),e(n,200,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,191))),e(n,206,0,"nationality","nationality",t.nationalities),e(n,218,0,""),e(n,221,0,"borrower_nationality",n.parent.context.$implicit.editableBorrower.nationality),e(n,230,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,221))),e(n,239,0,""),e(n,242,0,"marital_status",n.parent.context.$implicit.editableBorrower.marital_status),e(n,247,0,!(null!=l["ɵnov"](n,242)&&l["ɵnov"](n,242).value)),e(n,249,0,"single"),e(n,250,0,"single"),e(n,253,0,"partner"),e(n,254,0,"partner"),e(n,257,0,"co-habitating"),e(n,258,0,"co-habitating"),e(n,261,0,"married"),e(n,262,0,"married"),e(n,265,0,"separated"),e(n,266,0,"separated"),e(n,269,0,"divorced"),e(n,270,0,"divorced"),e(n,273,0,"widowed"),e(n,274,0,"widowed"),e(n,277,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,242))),e(n,283,0,e(n,284,0,t.getNumberMaskWithoutSeparat(3)," ")),e(n,286,0,""),e(n,289,0,"no_of_dependents",n.parent.context.$implicit.editableBorrower.no_of_dependents),e(n,294,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,289))),e(n,299,0,e(n,300,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,10).control.get("is_uk_resident")))),e(n,307,0,"is_uk_resident",!0),e(n,308,0,""),e(n,311,0,"is_uk_resident",n.parent.context.$implicit.editableBorrower.is_uk_resident),e(n,322,0,"is_uk_resident",!1),e(n,323,0,""),e(n,326,0,"is_uk_resident",n.parent.context.$implicit.editableBorrower.is_uk_resident),e(n,333,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,10).control.get("is_uk_resident"))),e(n,335,0,!1===n.parent.context.$implicit.editableBorrower.is_uk_resident),e(n,340,0,e(n,341,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,354)))),e(n,343,0,e(n,346,0,e(n,344,0,"year","Years"),e(n,345,0,"999","Forever")),"right"),e(n,348,0,e(n,349,0,t.getNumberMaskWithoutSeparat(3)," ")),e(n,351,0,""),e(n,354,0,"years_in_uk",n.parent.context.$implicit.editableBorrower.years_in_uk),e(n,359,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,354))),e(n,367,0,e(n,368,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,374)))),e(n,371,0,""),e(n,374,0,"current_address_paon",n.parent.context.$implicit.editableBorrower.current_address.paon),e(n,379,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,374))),e(n,383,0,e(n,384,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,388)))),e(n,388,0,"current_address_saon",n.parent.context.$implicit.editableBorrower.current_address.saon),e(n,393,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,388))),e(n,397,0,e(n,398,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,404)))),e(n,401,0,""),e(n,404,0,"current_address_street",n.parent.context.$implicit.editableBorrower.current_address.street_name),e(n,409,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,404))),e(n,413,0,e(n,414,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,420)))),e(n,417,0,""),e(n,420,0,"current_address_city",n.parent.context.$implicit.editableBorrower.current_address.city),e(n,425,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,420))),e(n,429,0,e(n,430,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,447)))),e(n,432,0,"en_short_name","en_short_name",t.nationalities),e(n,444,0,""),e(n,447,0,"current_address_country",n.parent.context.$implicit.editableBorrower.current_address.country),e(n,456,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,447))),e(n,460,0,e(n,461,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,467)))),e(n,464,0,""),e(n,467,0,"current_address_postcode",n.parent.context.$implicit.editableBorrower.current_address.post_code),e(n,472,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,467))),e(n,474,0,n.parent.context.$implicit.borrower.isPrimary),e(n,481,0,!n.parent.context.$implicit.borrower.isPrimary)}),(function(e,n){var t=n.component;e(n,5,0,t.getEditableBorrowerLine(n.parent.context.$implicit.editableBorrower,n.parent.context.index)),e(n,7,0,t.getEditableAddressBorrowerLine(n.parent.context.$implicit.editableBorrower)),e(n,8,0,l["ɵnov"](n,12).ngClassUntouched,l["ɵnov"](n,12).ngClassTouched,l["ɵnov"](n,12).ngClassPristine,l["ɵnov"](n,12).ngClassDirty,l["ɵnov"](n,12).ngClassValid,l["ɵnov"](n,12).ngClassInvalid,l["ɵnov"](n,12).ngClassPending),e(n,14,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,24))),e(n,19,0,l["ɵnov"](n,21).required?"":null,l["ɵnov"](n,26).ngClassUntouched,l["ɵnov"](n,26).ngClassTouched,l["ɵnov"](n,26).ngClassPristine,l["ɵnov"](n,26).ngClassDirty,l["ɵnov"](n,26).ngClassValid,l["ɵnov"](n,26).ngClassInvalid,l["ɵnov"](n,26).ngClassPending),e(n,40,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,50))),e(n,44,0,l["ɵnov"](n,46).required?"":null,l["ɵnov"](n,47).pattern?l["ɵnov"](n,47).pattern:null,l["ɵnov"](n,52).ngClassUntouched,l["ɵnov"](n,52).ngClassTouched,l["ɵnov"](n,52).ngClassPristine,l["ɵnov"](n,52).ngClassDirty,l["ɵnov"](n,52).ngClassValid,l["ɵnov"](n,52).ngClassInvalid,l["ɵnov"](n,52).ngClassPending),e(n,56,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,66))),e(n,60,0,l["ɵnov"](n,62).required?"":null,l["ɵnov"](n,63).pattern?l["ɵnov"](n,63).pattern:null,l["ɵnov"](n,68).ngClassUntouched,l["ɵnov"](n,68).ngClassTouched,l["ɵnov"](n,68).ngClassPristine,l["ɵnov"](n,68).ngClassDirty,l["ɵnov"](n,68).ngClassValid,l["ɵnov"](n,68).ngClassInvalid,l["ɵnov"](n,68).ngClassPending),e(n,73,0,"8px",t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,80))),e(n,77,0,l["ɵnov"](n,82).ngClassUntouched,l["ɵnov"](n,82).ngClassTouched,l["ɵnov"](n,82).ngClassPristine,l["ɵnov"](n,82).ngClassDirty,l["ɵnov"](n,82).ngClassValid,l["ɵnov"](n,82).ngClassInvalid,l["ɵnov"](n,82).ngClassPending),e(n,86,0,"8px",t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,93))),e(n,90,0,l["ɵnov"](n,95).ngClassUntouched,l["ɵnov"](n,95).ngClassTouched,l["ɵnov"](n,95).ngClassPristine,l["ɵnov"](n,95).ngClassDirty,l["ɵnov"](n,95).ngClassValid,l["ɵnov"](n,95).ngClassInvalid,l["ɵnov"](n,95).ngClassPending),e(n,100,0,"8px",t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,110))),e(n,104,0,l["ɵnov"](n,106).required?"":null,l["ɵnov"](n,107).pattern?l["ɵnov"](n,107).pattern:null,l["ɵnov"](n,112).ngClassUntouched,l["ɵnov"](n,112).ngClassTouched,l["ɵnov"](n,112).ngClassPristine,l["ɵnov"](n,112).ngClassDirty,l["ɵnov"](n,112).ngClassValid,l["ɵnov"](n,112).ngClassInvalid,l["ɵnov"](n,112).ngClassPending),e(n,116,0,"8px",t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,125))),e(n,120,0,l["ɵnov"](n,121).required?"":null,l["ɵnov"](n,123).isFocused,l["ɵnov"](n,123).isFilled,l["ɵnov"](n,127).ngClassUntouched,l["ɵnov"](n,127).ngClassTouched,l["ɵnov"](n,127).ngClassPristine,l["ɵnov"](n,127).ngClassDirty,l["ɵnov"](n,127).ngClassValid,l["ɵnov"](n,127).ngClassInvalid,l["ɵnov"](n,127).ngClassPending),e(n,131,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,140))),e(n,135,0,l["ɵnov"](n,136).required?"":null,l["ɵnov"](n,138).isFocused,l["ɵnov"](n,138).isFilled,l["ɵnov"](n,142).ngClassUntouched,l["ɵnov"](n,142).ngClassTouched,l["ɵnov"](n,142).ngClassPristine,l["ɵnov"](n,142).ngClassDirty,l["ɵnov"](n,142).ngClassValid,l["ɵnov"](n,142).ngClassInvalid,l["ɵnov"](n,142).ngClassPending),e(n,150,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,157))),e(n,152,0,l["ɵnov"](n,154).required?"":null,l["ɵnov"](n,159).ngClassUntouched,l["ɵnov"](n,159).ngClassTouched,l["ɵnov"](n,159).ngClassPristine,l["ɵnov"](n,159).ngClassDirty,l["ɵnov"](n,159).ngClassValid,l["ɵnov"](n,159).ngClassInvalid,l["ɵnov"](n,159).ngClassPending),e(n,167,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,174))),e(n,169,0,l["ɵnov"](n,171).required?"":null,l["ɵnov"](n,176).ngClassUntouched,l["ɵnov"](n,176).ngClassTouched,l["ɵnov"](n,176).ngClassPristine,l["ɵnov"](n,176).ngClassDirty,l["ɵnov"](n,176).ngClassValid,l["ɵnov"](n,176).ngClassInvalid,l["ɵnov"](n,176).ngClassPending),e(n,184,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,191))),e(n,186,0,l["ɵnov"](n,188).required?"":null,l["ɵnov"](n,193).ngClassUntouched,l["ɵnov"](n,193).ngClassTouched,l["ɵnov"](n,193).ngClassPristine,l["ɵnov"](n,193).ngClassDirty,l["ɵnov"](n,193).ngClassValid,l["ɵnov"](n,193).ngClassInvalid,l["ɵnov"](n,193).ngClassPending),e(n,204,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,221))),e(n,205,1,[!l["ɵnov"](n,206).multiple,l["ɵnov"](n,206).typeahead,l["ɵnov"](n,206).multiple,l["ɵnov"](n,206).addTag,l["ɵnov"](n,206).searchable,l["ɵnov"](n,206).isOpen,l["ɵnov"](n,206).disabled,l["ɵnov"](n,206).filtered,l["ɵnov"](n,218).required?"":null,l["ɵnov"](n,223).ngClassUntouched,l["ɵnov"](n,223).ngClassTouched,l["ɵnov"](n,223).ngClassPristine,l["ɵnov"](n,223).ngClassDirty,l["ɵnov"](n,223).ngClassValid,l["ɵnov"](n,223).ngClassInvalid,l["ɵnov"](n,223).ngClassPending]),e(n,232,0,t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,242))),e(n,237,0,l["ɵnov"](n,239).required?"":null,l["ɵnov"](n,244).ngClassUntouched,l["ɵnov"](n,244).ngClassTouched,l["ɵnov"](n,244).ngClassPristine,l["ɵnov"](n,244).ngClassDirty,l["ɵnov"](n,244).ngClassValid,l["ɵnov"](n,244).ngClassInvalid,l["ɵnov"](n,244).ngClassPending),e(n,278,0,"16px",t.hasError(l["ɵnov"](n,10),l["ɵnov"](n,289))),e(n,282,0,l["ɵnov"](n,286).required?"":null,l["ɵnov"](n,291).ngClassUntouched,l["ɵnov"](n,291).ngClassTouched,l["ɵnov"](n,291).ngClassPristine,l["ɵnov"](n,291).ngClassDirty,l["ɵnov"](n,291).ngClassValid,l["ɵnov"](n,291).ngClassInvalid,l["ɵnov"](n,291).ngClassPending),e(n,303,0,!0!==n.parent.context.$implicit.editableBorrower.is_uk_resident),e(n,305,0,l["ɵnov"](n,308).required?"":null,l["ɵnov"](n,313).ngClassUntouched,l["ɵnov"](n,313).ngClassTouched,l["ɵnov"](n,313).ngClassPristine,l["ɵnov"](n,313).ngClassDirty,l["ɵnov"](n,313).ngClassValid,l["ɵnov"](n,313).ngClassInvalid,l["ɵnov"](n,313).ngClassPending),e(n,318,0,!1!==n.parent.context.$implicit.editableBorrower.is_uk_resident),e(n,320,0,l["ɵnov"](n,323).required?"":null,l["ɵnov"](n,328).ngClassUntouched,l["ɵnov"](n,328).ngClassTouched,l["ɵnov"](n,328).ngClassPristine,l["ɵnov"](n,328).ngClassDirty,l["ɵnov"](n,328).ngClassValid,l["ɵnov"](n,328).ngClassInvalid,l["ɵnov"](n,328).ngClassPending),e(n,347,0,l["ɵnov"](n,351).required?"":null,l["ɵnov"](n,356).ngClassUntouched,l["ɵnov"](n,356).ngClassTouched,l["ɵnov"](n,356).ngClassPristine,l["ɵnov"](n,356).ngClassDirty,l["ɵnov"](n,356).ngClassValid,l["ɵnov"](n,356).ngClassInvalid,l["ɵnov"](n,356).ngClassPending),e(n,369,0,l["ɵnov"](n,371).required?"":null,l["ɵnov"](n,376).ngClassUntouched,l["ɵnov"](n,376).ngClassTouched,l["ɵnov"](n,376).ngClassPristine,l["ɵnov"](n,376).ngClassDirty,l["ɵnov"](n,376).ngClassValid,l["ɵnov"](n,376).ngClassInvalid,l["ɵnov"](n,376).ngClassPending),e(n,385,0,l["ɵnov"](n,390).ngClassUntouched,l["ɵnov"](n,390).ngClassTouched,l["ɵnov"](n,390).ngClassPristine,l["ɵnov"](n,390).ngClassDirty,l["ɵnov"](n,390).ngClassValid,l["ɵnov"](n,390).ngClassInvalid,l["ɵnov"](n,390).ngClassPending),e(n,399,0,l["ɵnov"](n,401).required?"":null,l["ɵnov"](n,406).ngClassUntouched,l["ɵnov"](n,406).ngClassTouched,l["ɵnov"](n,406).ngClassPristine,l["ɵnov"](n,406).ngClassDirty,l["ɵnov"](n,406).ngClassValid,l["ɵnov"](n,406).ngClassInvalid,l["ɵnov"](n,406).ngClassPending),e(n,415,0,l["ɵnov"](n,417).required?"":null,l["ɵnov"](n,422).ngClassUntouched,l["ɵnov"](n,422).ngClassTouched,l["ɵnov"](n,422).ngClassPristine,l["ɵnov"](n,422).ngClassDirty,l["ɵnov"](n,422).ngClassValid,l["ɵnov"](n,422).ngClassInvalid,l["ɵnov"](n,422).ngClassPending),e(n,431,1,[!l["ɵnov"](n,432).multiple,l["ɵnov"](n,432).typeahead,l["ɵnov"](n,432).multiple,l["ɵnov"](n,432).addTag,l["ɵnov"](n,432).searchable,l["ɵnov"](n,432).isOpen,l["ɵnov"](n,432).disabled,l["ɵnov"](n,432).filtered,l["ɵnov"](n,444).required?"":null,l["ɵnov"](n,449).ngClassUntouched,l["ɵnov"](n,449).ngClassTouched,l["ɵnov"](n,449).ngClassPristine,l["ɵnov"](n,449).ngClassDirty,l["ɵnov"](n,449).ngClassValid,l["ɵnov"](n,449).ngClassInvalid,l["ɵnov"](n,449).ngClassPending]),e(n,462,0,l["ɵnov"](n,464).required?"":null,l["ɵnov"](n,469).ngClassUntouched,l["ɵnov"](n,469).ngClassTouched,l["ɵnov"](n,469).ngClassPristine,l["ɵnov"](n,469).ngClassDirty,l["ɵnov"](n,469).ngClassValid,l["ɵnov"](n,469).ngClassInvalid,l["ɵnov"](n,469).ngClassPending)}))}function Fe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","borrowers-row"]],null,null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{active:0}),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ve)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,1,0,"borrowers-row",e(n,2,0,!!n.context.$implicit.editable)),e(n,4,0,!n.context.$implicit.editable),e(n,6,0,!!n.context.$implicit.editable)}),null)}function Le(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,12,"div",[["class","borrowers-table"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵeld"](3,0,null,null,6,"div",[["class","borrowers-header"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"div",[["class","first"]],null,null,null,null,null)),(e()(),l["ɵted"](5,null,["",""])),(e()(),l["ɵeld"](6,0,null,null,1,"div",[["class","second"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Addresses"])),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](9,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](10,0,null,null,2,"div",[["class","borrowers-body"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Fe)),l["ɵdid"](12,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,9,0,!t.isBorrowerEdited),e(n,12,0,t.borrowerList)}),(function(e,n){var t=n.component;e(n,2,0,t.label),e(n,5,0,t.label)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(122),o=t(224),r=t(43);function i(){return new r.a}function a(){return function(e){return Object(o.a)()(Object(l.a)(i)(e))}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(3),o=t(16);function r(e,n){return function(t){return t.lift(new i(e,n,t))}}var i=function(){function e(e,n,t){this.predicate=e,this.thisArg=n,this.source=t}return e.prototype.call=function(e,n){return n.subscribe(new a(e,this.predicate,this.thisArg,this.source))},e}(),a=function(e){function n(n,t,l,o){var r=e.call(this,n)||this;return r.predicate=t,r.thisArg=l,r.source=o,r.index=0,r.thisArg=l||r,r}return l.d(n,e),n.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},n.prototype._next=function(e){var n=!1;try{n=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}n||this.notifyComplete(!1)},n.prototype._complete=function(){this.notifyComplete(!0)},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(3),o=t(16),r=t(46);function i(e){return function(n){return n.lift(new a(e))}}var a=function(){function e(e){this.callback=e}return e.prototype.call=function(e,n){return n.subscribe(new u(e,this.callback))},e}(),u=function(e){function n(n,t){var l=e.call(this,n)||this;return l.add(new r.a(t)),l}return l.d(n,e),n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var l=t(3),o=t(16),r=t(65);function i(e,n){return void 0===n&&(n=r.a),function(t){return t.lift(new a(e,n))}}var a=function(){function e(e,n){this.dueTime=e,this.scheduler=n}return e.prototype.call=function(e,n){return n.subscribe(new u(e,this.dueTime,this.scheduler))},e}(),u=function(e){function n(n,t,l){var o=e.call(this,n)||this;return o.dueTime=t,o.scheduler=l,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return l.d(n,e),n.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))},n.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},n.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},n.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},n}(o.a);function s(e){e.debouncedNext()}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var l=t(3),o=t(16);function r(e){return function(n){return n.lift(new i(e))}}var i=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,n){return n.subscribe(new a(e,this.predicate))},e}(),a=function(e){function n(n,t){var l=e.call(this,n)||this;return l.predicate=t,l.index=0,l}return l.d(n,e),n.prototype._next=function(e){var n,t=this.destination;try{n=this.predicate(e,this.index++)}catch(e){return void t.error(e)}this.nextOrComplete(e,n)},n.prototype.nextOrComplete=function(e,n){var t=this.destination;Boolean(n)?t.next(e):t.complete()},n}(o.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var l=t(0),o=function(){function e(e,n){this.el=e,this.renderer=n}return e.prototype.ngAfterViewInit=function(){"0"!==this.value&&this.renderer.invokeElementMethod(this.el.nativeElement,"focus",[])},e.ctorParameters=[{type:l.ElementRef},{type:l.Renderer}],e}()},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return o}));var l=t(0),o=function(){function n(e,n){this.el=e,this.renderer=n,this.onCountryChange=new l.EventEmitter}return Object.defineProperty(n.prototype,"phone",{get:function(){return this._jEl?this._jEl.intlTelInput("getNumber"):null},set:function(e){this._jEl&&this._jEl.intlTelInput("setNumber",e||"")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"country",{get:function(){return this._jEl.intlTelInput("getCountry")},set:function(e){e&&this._jEl.intlTelInput("setCountry",e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"countries",{get:function(){return this._jEl.intlTelInput.getCountryData()},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;this._jEl=e(this.el.nativeElement),this._jEl.intlTelInput({initialCountry:"gb",formatOnDisplay:!1,customPlaceholder:function(e,n){return""},utilsScript:"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/11.0.14/js/utils.js"}),this._jEl.on("countrychange",(function(e,t){n.onCountryChange.emit(n._jEl.intlTelInput("getNumber"))}))},n.prototype.getCountryByPhoneNumber=function(e){var n=e.replace(/\+/,"");return this.countries.filter((function(e){return n.startsWith(e.dialCode)}))},n}()}).call(this,t(274))},function(e,n,t){var l;!function(o,r,i,a){"use strict";var u,s=["","webkit","Moz","MS","ms","o"],d=r.createElement("div"),c=Math.round,p=Math.abs,f=Date.now;function g(e,n,t){return setTimeout(w(e,t),n)}function h(e,n,t){return!!Array.isArray(e)&&(m(e,t[n],t),!0)}function m(e,n,t){var l;if(e)if(e.forEach)e.forEach(n,t);else if(e.length!==a)for(l=0;l\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,l,t),e.apply(this,arguments)}}u="function"!=typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),t=1;t-1}function P(e){return e.trim().split(/\s+/g)}function S(e,n,t){if(e.indexOf&&!t)return e.indexOf(n);for(var l=0;lt[n]})):l.sort()),l}function E(e,n){for(var t,l,o=n[0].toUpperCase()+n.slice(1),r=0;r1&&!t.firstMultiple?t.firstMultiple=U(n):1===o&&(t.firstMultiple=!1);var r=t.firstInput,i=t.firstMultiple,u=i?i.center:r.center,s=n.center=G(l);n.timeStamp=f(),n.deltaTime=n.timeStamp-r.timeStamp,n.angle=Y(u,s),n.distance=H(u,s),function(e,n){var t=n.center,l=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};1!==n.eventType&&4!==r.eventType||(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},l=e.offsetDelta={x:t.x,y:t.y}),n.deltaX=o.x+(t.x-l.x),n.deltaY=o.y+(t.y-l.y)}(t,n),n.offsetDirection=W(n.deltaX,n.deltaY);var d,c,g=z(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=g.x,n.overallVelocityY=g.y,n.overallVelocity=p(g.x)>p(g.y)?g.x:g.y,n.scale=i?(d=i.pointers,H((c=l)[0],c[1],B)/H(d[0],d[1],B)):1,n.rotation=i?function(e,n){return Y(l[1],l[0],B)+Y(e[1],e[0],B)}(i.pointers):0,n.maxPointers=t.prevInput?n.pointers.length>t.prevInput.maxPointers?n.pointers.length:t.prevInput.maxPointers:n.pointers.length,function(e,n){var t,l,o,r,i=e.lastInterval||n,u=n.timeStamp-i.timeStamp;if(8!=n.eventType&&(u>25||i.velocity===a)){var s=n.deltaX-i.deltaX,d=n.deltaY-i.deltaY,c=z(u,s,d);l=c.x,o=c.y,t=p(c.x)>p(c.y)?c.x:c.y,r=W(s,d),e.lastInterval=n}else t=i.velocity,l=i.velocityX,o=i.velocityY,r=i.direction;n.velocity=t,n.velocityX=l,n.velocityY=o,n.direction=r}(t,n);var h=e.element;k(n.srcEvent.target,h)&&(h=n.srcEvent.target),n.target=h}(e,t),e.emit("hammer.input",t),e.recognize(t),e.session.prevInput=t}function U(e){for(var n=[],t=0;t=p(n)?e<0?2:4:n<0?8:16}function H(e,n,t){t||(t=q);var l=n[t[0]]-e[t[0]],o=n[t[1]]-e[t[1]];return Math.sqrt(l*l+o*o)}function Y(e,n,t){return t||(t=q),180*Math.atan2(n[t[1]]-e[t[1]],n[t[0]]-e[t[0]])/Math.PI}j.prototype={handler:function(){},init:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(T(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(T(this.element),this.evWin,this.domHandler)}};var K={mousedown:1,mousemove:2,mouseup:4},J="mousedown",Q="mousemove mouseup";function Z(){this.evEl=J,this.evWin=Q,this.pressed=!1,j.apply(this,arguments)}y(Z,j,{handler:function(e){var n=K[e.type];1&n&&0===e.button&&(this.pressed=!0),2&n&&1!==e.which&&(n=4),this.pressed&&(4&n&&(this.pressed=!1),this.callback(this.manager,n,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var X={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ee={2:"touch",3:"pen",4:"mouse",5:"kinect"},ne="pointerdown",te="pointermove pointerup pointercancel";function le(){this.evEl=ne,this.evWin=te,j.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(ne="MSPointerDown",te="MSPointerMove MSPointerUp MSPointerCancel"),y(le,j,{handler:function(e){var n=this.store,t=!1,l=e.type.toLowerCase().replace("ms",""),o=X[l],r=ee[e.pointerType]||e.pointerType,i="touch"==r,a=S(n,e.pointerId,"pointerId");1&o&&(0===e.button||i)?a<0&&(n.push(e),a=n.length-1):12&o&&(t=!0),a<0||(n[a]=e,this.callback(this.manager,o,{pointers:n,changedPointers:[e],pointerType:r,srcEvent:e}),t&&n.splice(a,1))}});var oe={touchstart:1,touchmove:2,touchend:4,touchcancel:8},re="touchstart",ie="touchstart touchmove touchend touchcancel";function ae(){this.evTarget=re,this.evWin=ie,this.started=!1,j.apply(this,arguments)}y(ae,j,{handler:function(e){var n=oe[e.type];if(1===n&&(this.started=!0),this.started){var t=function(e,n){var t=R(e.touches),l=R(e.changedTouches);return 12&n&&(t=I(t.concat(l),"identifier",!0)),[t,l]}.call(this,e,n);12&n&&t[0].length-t[1].length==0&&(this.started=!1),this.callback(this.manager,n,{pointers:t[0],changedPointers:t[1],pointerType:"touch",srcEvent:e})}}});var ue={touchstart:1,touchmove:2,touchend:4,touchcancel:8},se="touchstart touchmove touchend touchcancel";function de(){this.evTarget=se,this.targetIds={},j.apply(this,arguments)}y(de,j,{handler:function(e){var n=ue[e.type],t=function(e,n){var t=R(e.touches),l=this.targetIds;if(3&n&&1===t.length)return l[t[0].identifier]=!0,[t,t];var o,r,i=R(e.changedTouches),a=[],u=this.target;if(r=t.filter((function(e){return k(e.target,u)})),1===n)for(o=0;o-1&&l.splice(e,1)}),2500)}}y(ce,j,{handler:function(e,n,t){var l="mouse"==t.pointerType;if(!(l&&t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)){if("touch"==t.pointerType)(function(e,n){1&e?(this.primaryTouch=n.changedPointers[0].identifier,pe.call(this,n)):12&e&&pe.call(this,n)}).call(this,n,t);else if(l&&function(e){for(var n=e.srcEvent.clientX,t=e.srcEvent.clientY,l=0;l-1&&this.requireFail.splice(n,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var n=this,t=this.state;function l(t){n.manager.emit(t,e)}t<8&&l(n.options.event+be(t)),l(n.options.event),e.additionalEvent&&l(e.additionalEvent),t>=8&&l(n.options.event+be(t))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;en.threshold&&o&n.direction},attrTest:function(e){return we.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var n=_e(e.direction);n&&(e.additionalEvent=this.options.event+n),this._super.emit.call(this,e)}}),y(xe,we,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),y(Oe,ve,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var n=this.options,t=e.pointers.length===n.pointers,l=e.distancen.time;if(this._input=e,!l||!t||12&e.eventType&&!o)this.reset();else if(1&e.eventType)this.reset(),this._timer=g((function(){this.state=8,this.tryEmit()}),n.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),y(Me,we,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),y(ke,we,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ce.prototype.getTouchAction.call(this)},attrTest:function(e){var n,t=this.options.direction;return 30&t?n=e.overallVelocity:6&t?n=e.overallVelocityX:t&L&&(n=e.overallVelocityY),this._super.attrTest.call(this,e)&&t&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(n)>this.options.velocity&&4&e.eventType},emit:function(e){var n=_e(e.offsetDirection);n&&this.manager.emit(this.options.event+n,e),this.manager.emit(this.options.event,e)}}),y(Ae,ve,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var n=this.options,t=e.pointers.length===n.pointers,l=e.distance=t.cpMaxPresetColorsLength),e(n,1,0,t.cpAddColorButtonText)}))}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[["style","height: 16px;"]],null,null,null,null,null))],null,null)}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,1).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onAlphaInput(t)&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"})],(function(e,n){e(n,1,0,1)}),(function(e,n){var t=n.component;e(n,0,0,null==t.hslaText?null:t.hslaText.a)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["A"]))],null,null)}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,18,"div",[["class","hsla-text"]],[[4,"display",null]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"input",[["max","360"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,3).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onHueInput(t)&&o),o}),null,null)),l["ɵdid"](3,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵeld"](4,0,null,null,1,"input",[["max","100"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,5).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onSaturationInput(t)&&o),o}),null,null)),l["ɵdid"](5,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵeld"](6,0,null,null,1,"input",[["max","100"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,7).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onLightnessInput(t)&&o),o}),null,null)),l["ɵdid"](7,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](9,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](10,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["H"])),(e()(),l["ɵeld"](13,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["S"])),(e()(),l["ɵeld"](15,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["L"])),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](18,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,3,0,360),e(n,5,0,100),e(n,7,0,100),e(n,9,0,"disabled"!==t.cpAlphaChannel),e(n,18,0,"disabled"!==t.cpAlphaChannel)}),(function(e,n){var t=n.component;e(n,0,0,2!==t.format?"none":"block"),e(n,2,0,null==t.hslaText?null:t.hslaText.h),e(n,4,0,null==t.hslaText?null:t.hslaText.s),e(n,6,0,null==t.hslaText?null:t.hslaText.l)}))}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,1).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onAlphaInput(t)&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"})],(function(e,n){e(n,1,0,1)}),(function(e,n){var t=n.component;e(n,0,0,null==t.rgbaText?null:t.rgbaText.a)}))}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["A"]))],null,null)}function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,18,"div",[["class","rgba-text"]],[[4,"display",null]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"input",[["max","255"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,3).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onRedInput(t)&&o),o}),null,null)),l["ɵdid"](3,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵeld"](4,0,null,null,1,"input",[["max","255"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,5).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onGreenInput(t)&&o),o}),null,null)),l["ɵdid"](5,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵeld"](6,0,null,null,1,"input",[["max","255"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,7).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onBlueInput(t)&&o),o}),null,null)),l["ɵdid"](7,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](9,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](10,0,null,null,8,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["R"])),(e()(),l["ɵeld"](13,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["G"])),(e()(),l["ɵeld"](15,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["B"])),(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](18,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,3,0,255),e(n,5,0,255),e(n,7,0,255),e(n,9,0,"disabled"!==t.cpAlphaChannel),e(n,18,0,"disabled"!==t.cpAlphaChannel)}),(function(e,n){var t=n.component;e(n,0,0,1!==t.format?"none":"block"),e(n,2,0,null==t.rgbaText?null:t.rgbaText.r),e(n,4,0,null==t.rgbaText?null:t.rgbaText.g),e(n,6,0,null==t.rgbaText?null:t.rgbaText.b)}))}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,1).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onAlphaInput(t)&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"})],(function(e,n){e(n,1,0,1)}),(function(e,n){e(n,0,0,n.component.hexAlpha)}))}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["A"]))],null,null)}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,10,"div",[["class","hex-text"]],[[2,"hex-alpha",null],[4,"display",null]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"input",[],[[8,"value",0]],[[null,"blur"],[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,3).inputChange(t)&&o),"blur"===n&&(o=!1!==r.onHexInput(null)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onHexInput(t)&&o),o}),null,null)),l["ɵdid"](3,16384,null,0,o.f,[],null,{newValue:"newValue"}),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](5,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](6,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Hex"])),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](10,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,5,0,"forced"===t.cpAlphaChannel),e(n,10,0,"forced"===t.cpAlphaChannel)}),(function(e,n){var t=n.component;e(n,0,0,"forced"===t.cpAlphaChannel,0!==t.format?"none":"block"),e(n,2,0,t.hexText)}))}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"input",[["max","1"],["min","0"],["pattern","[0-9]+([\\.,][0-9]{1,2})?"],["step","0.1"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,1).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onAlphaInput(t)&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"})],(function(e,n){e(n,1,0,1)}),(function(e,n){var t=n.component;e(n,0,0,null==t.hslaText?null:t.hslaText.a)}))}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,10,"div",[["class","value-text"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"input",[["max","100"],["min","0"],["pattern","[0-9]*"],["type","number"]],[[8,"value",0]],[[null,"keyup.enter"],[null,"newValue"],[null,"input"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,3).inputChange(t)&&o),"keyup.enter"===n&&(o=!1!==r.onAcceptColor(t)&&o),"newValue"===n&&(o=!1!==r.onValueInput(t)&&o),o}),null,null)),l["ɵdid"](3,16384,null,0,o.f,[],{rg:[0,"rg"]},{newValue:"newValue"}),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](5,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](6,0,null,null,4,"div",[["class","box"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["V"])),(e()(),l["ɵeld"](9,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["A"]))],(function(e,n){var t=n.component;e(n,3,0,100),e(n,5,0,"disabled"!==t.cpAlphaChannel)}),(function(e,n){var t=n.component;e(n,2,0,null==t.hslaText?null:t.hslaText.l)}))}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","type-policy"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"span",[["class","type-policy-arrow"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onFormatToggle(1)&&l),l}),null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"span",[["class","type-policy-arrow"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onFormatToggle(-1)&&l),l}),null,null))],null,null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"span",[],[[8,"className",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onRemovePresetColor(t,e.parent.context.$implicit)&&l),l}),null,null))],null,(function(e,n){e(n,0,0,l["ɵinlineInterpolate"](1,"",n.component.cpRemoveColorButtonClass,""))}))}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","preset-color"]],[[4,"backgroundColor",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.setColorFromString(e.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,n.component.cpAddColorButton)}),(function(e,n){e(n,0,0,n.context.$implicit)}))}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](2,278528,null,0,r.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.cpPresetColors)}),null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){var t=n.component;e(n,0,0,l["ɵinlineInterpolate"](1,"",t.cpPresetEmptyMessageClass,"")),e(n,1,0,t.cpPresetEmptyMessage)}))}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","preset-area"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"div",[["class","preset-label"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](5,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](7,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,5,0,null==t.cpPresetColors?null:t.cpPresetColors.length),e(n,7,0,!(null!=t.cpPresetColors&&t.cpPresetColors.length)&&t.cpAddColorButton)}),(function(e,n){e(n,3,0,n.component.cpPresetLabel)}))}function P(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"button",[["type","button"]],[[8,"className",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onCancelColor(t)&&l),l}),null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){var t=n.component;e(n,0,0,l["ɵinlineInterpolate"](1,"",t.cpCancelButtonClass,"")),e(n,1,0,t.cpCancelButtonText)}))}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"button",[["type","button"]],[[8,"className",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onAcceptColor(t)&&l),l}),null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){var t=n.component;e(n,0,0,l["ɵinlineInterpolate"](1,"",t.cpOKButtonClass,"")),e(n,1,0,t.cpOKButtonText)}))}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","button-area"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,P)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,S)),l["ɵdid"](4,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.cpCancelButton),e(n,4,0,t.cpOKButton)}),null)}function I(e){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{dialogElement:0}),l["ɵqud"](402653184,2,{hueSlider:0}),l["ɵqud"](402653184,3,{alphaSlider:0}),(e()(),l["ɵeld"](3,0,[[1,0],["dialogPopup",1]],null,36,"div",[["class","color-picker"]],[[4,"visibility",null],[4,"top","px"],[4,"left","px"],[4,"position",null],[4,"height","px"],[4,"width","px"]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==t.stopPropagation()&&l),l}),null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,a)),l["ɵdid"](5,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,u)),l["ɵdid"](7,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](8,0,null,null,17,"div",[["class","hue-alpha box"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,4,"div",[["class","left"]],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,0,"div",[["class","selected-color-background"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,0,"div",[["class","selected-color"]],[[4,"background-color",null]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](13,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](14,0,null,null,11,"div",[["class","right"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](16,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](17,0,[[2,0],["hueSlider",1]],null,2,"div",[["class","hue"]],[[4,"display",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],(function(e,n,t){var o=!0,r=e.component;return"mousedown"===n&&(o=!1!==l["ɵnov"](e,18).mouseDown(t)&&o),"touchstart"===n&&(o=!1!==l["ɵnov"](e,18).touchStart(t)&&o),"newValue"===n&&(o=!1!==r.onHueChange(t)&&o),"dragStart"===n&&(o=!1!==r.onDragStart("hue")&&o),"dragEnd"===n&&(o=!1!==r.onDragEnd("hue")&&o),o}),null,null)),l["ɵdid"](18,16384,null,0,o.e,[l.ElementRef],{rgX:[0,"rgX"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(e()(),l["ɵeld"](19,0,null,null,0,"div",[["class","cursor"]],[[4,"left","px"]],null,null,null,null)),(e()(),l["ɵeld"](20,0,[["valueSlider",1]],null,2,"div",[["class","value"]],[[4,"display",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],(function(e,n,t){var o=!0,r=e.component;return"mousedown"===n&&(o=!1!==l["ɵnov"](e,21).mouseDown(t)&&o),"touchstart"===n&&(o=!1!==l["ɵnov"](e,21).touchStart(t)&&o),"newValue"===n&&(o=!1!==r.onValueChange(t)&&o),"dragStart"===n&&(o=!1!==r.onDragStart("value")&&o),"dragEnd"===n&&(o=!1!==r.onDragEnd("value")&&o),o}),null,null)),l["ɵdid"](21,16384,null,0,o.e,[l.ElementRef],{rgX:[0,"rgX"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(e()(),l["ɵeld"](22,0,null,null,0,"div",[["class","cursor"]],[[4,"right","px"]],null,null,null,null)),(e()(),l["ɵeld"](23,0,[[3,0],["alphaSlider",1]],null,2,"div",[["class","alpha"]],[[4,"display",null],[4,"background-color",null]],[[null,"newValue"],[null,"dragStart"],[null,"dragEnd"],[null,"mousedown"],[null,"touchstart"]],(function(e,n,t){var o=!0,r=e.component;return"mousedown"===n&&(o=!1!==l["ɵnov"](e,24).mouseDown(t)&&o),"touchstart"===n&&(o=!1!==l["ɵnov"](e,24).touchStart(t)&&o),"newValue"===n&&(o=!1!==r.onAlphaChange(t)&&o),"dragStart"===n&&(o=!1!==r.onDragStart("alpha")&&o),"dragEnd"===n&&(o=!1!==r.onDragEnd("alpha")&&o),o}),null,null)),l["ɵdid"](24,16384,null,0,o.e,[l.ElementRef],{rgX:[0,"rgX"]},{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}),(e()(),l["ɵeld"](25,0,null,null,0,"div",[["class","cursor"]],[[4,"left","px"]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](27,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](29,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](31,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](33,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](35,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](37,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](39,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,5,0,"popup"==t.cpDialogDisplay),e(n,7,0,1===(t.cpColorMode||1)),e(n,13,0,t.cpAddColorButton),e(n,16,0,"disabled"===t.cpAlphaChannel),e(n,18,0,1),e(n,21,0,1),e(n,24,0,1),e(n,27,0,!t.cpDisableInput&&1===(t.cpColorMode||1)),e(n,29,0,!t.cpDisableInput&&1===(t.cpColorMode||1)),e(n,31,0,!t.cpDisableInput&&1===(t.cpColorMode||1)),e(n,33,0,!t.cpDisableInput&&2===(t.cpColorMode||1)),e(n,35,0,!t.cpDisableInput&&1===(t.cpColorMode||1)),e(n,37,0,(null==t.cpPresetColors?null:t.cpPresetColors.length)||t.cpAddColorButton),e(n,39,0,t.cpOKButton||t.cpCancelButton)}),(function(e,n){var t=n.component;e(n,3,0,t.hidden||!t.show?"hidden":"visible",t.top,t.left,t.position,t.cpHeight,t.cpWidth),e(n,11,0,t.selectedColor),e(n,17,0,1===(t.cpColorMode||1)?"block":"none"),e(n,19,0,null==t.slider?null:t.slider.h),e(n,20,0,2===(t.cpColorMode||1)?"block":"none"),e(n,22,0,null==t.slider?null:t.slider.v),e(n,23,0,"disabled"===t.cpAlphaChannel?"none":"block",t.alphaSliderColor),e(n,25,0,null==t.slider?null:t.slider.a)}))}var E=l["ɵccf"]("color-picker",o.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"color-picker",[],null,[["document","keyup.esc"],["document","keyup.enter"]],(function(e,n,t){var o=!0;return"document:keyup.esc"===n&&(o=!1!==l["ɵnov"](e,1).handleEsc(t)&&o),"document:keyup.enter"===n&&(o=!1!==l["ɵnov"](e,1).handleEnter(t)&&o),o}),I,i)),l["ɵdid"](1,4440064,null,0,o.a,[l.ElementRef,l.ChangeDetectorRef,o.d],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";t.d(n,"a",(function(){return _}));var l=t(0),o=t(1),r=t(2),i=t(211),a=t(26),u=t(225),s=l["ɵcrt"]({encapsulation:2,styles:["\n @keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n }\n\n .ngui-auto-complete {\n background-color: transparent;\n }\n\n .ngui-auto-complete > input {\n outline: none;\n border: 0;\n padding: 2px;\n box-sizing: border-box;\n background-clip: content-box;\n }\n\n .ngui-auto-complete > ul {\n background-color: #fff;\n margin: 0;\n width: 100%;\n overflow-y: auto;\n list-style-type: none;\n padding: 0;\n border: 1px solid #ccc;\n box-sizing: border-box;\n animation: slideDown 0.1s;\n }\n\n .ngui-auto-complete > ul.empty {\n display: none;\n }\n\n .ngui-auto-complete > ul li {\n padding: 2px 5px;\n border-bottom: 1px solid #eee;\n }\n\n .ngui-auto-complete > ul li.selected {\n background-color: #ccc;\n }\n\n .ngui-auto-complete > ul li:last-child {\n border-bottom: none;\n }\n\n .ngui-auto-complete > ul li:not(.header-item):hover {\n background-color: #ccc;\n }"],data:{}});function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,[[1,0],["autoCompleteInput",1]],null,5,"input",[["class","keyword"]],[[1,"autocomplete",0],[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"],[null,"keydown"],[null,"input"],[null,"ngModelChange"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,1)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,1).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,1)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,1)._compositionEnd(t.target.value)&&o),"focus"===n&&(o=!1!==r.showDropdownList(t)&&o),"blur"===n&&(o=!1!==r.blurHandler(t)&&o),"keydown"===n&&(o=!1!==r.inputElKeyHandler(t)&&o),"input"===n&&(o=!1!==r.reloadListInDelay(t)&&o),"ngModelChange"===n&&(o=!1!==(r.keyword=t)&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,o.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,o.NG_VALUE_ACCESSOR,(function(e){return[e]}),[o.DefaultValueAccessor]),l["ɵdid"](3,671744,null,0,o.NgModel,[[8,null],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,o.NgControl,null,[o.NgModel]),l["ɵdid"](5,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null)],(function(e,n){e(n,3,0,n.component.keyword)}),(function(e,n){var t=n.component;e(n,0,0,t.autocomplete?"null":"off",l["ɵinlineInterpolate"](1,"",t.placeholder,""),l["ɵnov"](n,5).ngClassUntouched,l["ɵnov"](n,5).ngClassTouched,l["ɵnov"](n,5).ngClassPristine,l["ɵnov"](n,5).ngClassDirty,l["ɵnov"](n,5).ngClassValid,l["ɵnov"](n,5).ngClassInvalid,l["ɵnov"](n,5).ngClassPending)}))}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"li",[["class","loading"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,n){e(n,0,0,n.component.loadingTemplate)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"li",[["class","loading"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.component.loadingText)}))}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"li",[["class","no-match-found"]],null,[[null,"mousedown"]],(function(e,n,t){var l=!0;return"mousedown"===n&&(l=!1!==e.component.selectOne("")&&l),l}),null,null)),(e()(),l["ɵted"](1,null,[""," "]))],null,(function(e,n){e(n,1,0,n.component.noMatchFoundText||"No Result Found")}))}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"li",[["class","header-item"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,n){e(n,0,0,n.component.headerItemTemplate)}))}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"li",[["class","blank-item"]],null,[[null,"mousedown"]],(function(e,n,t){var l=!0;return"mousedown"===n&&(l=!1!==e.component.selectOne("")&&l),l}),null,null)),(e()(),l["ɵted"](1,null,[""," "]))],null,(function(e,n){e(n,1,0,n.component.blankOptionText)}))}function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"li",[["class","item"]],[[8,"innerHTML",1]],[[null,"mousedown"]],(function(e,n,t){var l=!0;return"mousedown"===n&&(l=!1!==e.component.selectOne(e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,r.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{selected:0})],(function(e,n){e(n,1,0,"item",e(n,2,0,n.context.index===n.component.itemIndex))}),(function(e,n){e(n,0,0,n.component.autoComplete.getFormattedListItem(n.context.$implicit))}))}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,12,"ul",[],[[2,"empty",null]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](4,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](6,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](8,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](10,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](12,278528,null,0,r.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.isLoading&&t.loadingTemplate),e(n,4,0,t.isLoading&&!t.loadingTemplate),e(n,6,0,t.minCharsEntered&&!t.isLoading&&!t.filteredList.length),e(n,8,0,t.headerItemTemplate&&t.filteredList.length),e(n,10,0,t.blankOptionText&&t.filteredList.length),e(n,12,0,t.filteredList,t.trackByIndex)}),(function(e,n){e(n,0,0,n.component.emptyList)}))}function b(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{autoCompleteInput:0}),l["ɵqud"](402653184,2,{autoCompleteContainer:0}),(e()(),l["ɵeld"](2,0,[[2,0],["autoCompleteContainer",1]],null,4,"div",[["class","ngui-auto-complete"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](4,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](6,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,4,0,t.showInputTag),e(n,6,0,t.dropdownVisible)}),null)}var _=l["ɵccf"]("ngui-auto-complete",u.NguiAutoCompleteComponent,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"ngui-auto-complete",[],null,null,null,b,s)),l["ɵprd"](512,null,i.NguiAutoComplete,i.NguiAutoComplete,[[2,a.HttpClient]]),l["ɵdid"](2,114688,null,0,u.NguiAutoCompleteComponent,[l.ElementRef,i.NguiAutoComplete],null,null)],(function(e,n){e(n,2,0)}),null)}),{autocomplete:"autocomplete",listFormatter:"list-formatter",source:"source",pathToData:"path-to-data",minChars:"min-chars",placeholder:"placeholder",blankOptionText:"blank-option-text",noMatchFoundText:"no-match-found-text",acceptUserInput:"accept-user-input",loadingText:"loading-text",loadingTemplate:"loading-template",maxNumList:"max-num-list",showInputTag:"show-input-tag",showDropdownOnInit:"show-dropdown-on-init",tabToSelect:"tab-to-select",matchFormatted:"match-formatted",autoSelectFirstItem:"auto-select-first-item",selectOnBlur:"select-on-blur",reFocusAfterSelect:"re-focus-after-select",headerItemTemplate:"header-item-template",ignoreAccents:"ignore-accents"},{valueSelected:"valueSelected",customSelected:"customSelected",textEntered:"textEntered"},[])},function(e,n,t){"use strict";t.d(n,"a",(function(){return k}));var l=t(0),o=t(2),r=t(1),i=t(143),a=t(251),u=l["ɵcrt"]({encapsulation:2,styles:["\n@keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n}\n\n@keyframes slideUp {\n 0% {\n transform: translateY(100%);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n\n.ng2-datetime-picker-wrapper {\n position: relative;\n}\n\n.ng2-datetime-picker {\n color: #333;\n outline-width: 0;\n font: normal 14px sans-serif;\n border: 1px solid #ddd;\n display: inline-block;\n background: #fff;\n animation: slideDown 0.1s ease-in-out;\n animation-fill-mode: both;\n}\n.ng2-datetime-picker .days {\n width: 210px; \n}\n.ng2-datetime-picker .close-button {\n position: absolute;\n width: 1em;\n height: 1em;\n right: 0;\n z-index: 1;\n padding: 0 5px;\n}\n.ng2-datetime-picker .close-button:before {\n content: 'X';\n cursor: pointer;\n color: #ff0000;\n}\n.ng2-datetime-picker > .month {\n text-align: center;\n line-height: 22px;\n padding: 10px;\n background: #fcfcfc;\n text-transform: uppercase;\n font-weight: bold;\n border-bottom: 1px solid #ddd;\n position: relative;\n}\n\n.ng2-datetime-picker > .month > .prev_next {\n color: #555;\n display: block;\n font: normal 24px sans-serif;\n outline: none;\n background: transparent;\n border: none;\n cursor: pointer;\n width: 25px;\n text-align: center;\n}\n.ng2-datetime-picker > .month > .prev_next:hover {\n background-color: #333;\n color: #fff;\n}\n.ng2-datetime-picker > .month > .prev_next.prev {\n float: left;\n}\n.ng2-datetime-picker > .month > .prev_next.next {\n float: right;\n}\n\n.ng2-datetime-picker .week-numbers-and-days {\n text-align: center;\n}\n.ng2-datetime-picker .week-numbers {\n line-height: 30px;\n display: inline-block;\n padding: 30px 0 0 0;\n color: #ddd;\n text-align: right;\n width: 21px;\n vertical-align: top;\n}\n\n.ng2-datetime-picker .days {\n display: inline-block;\n width: 210px; \n text-align: center;\n padding: 0 10px;\n}\n.ng2-datetime-picker .days .day-of-week,\n.ng2-datetime-picker .days .day {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n border: 1px solid transparent;\n width: 30px;\n line-height: 28px;\n float: left;\n}\n.ng2-datetime-picker .days .day-of-week {\n font-weight: bold;\n}\n.ng2-datetime-picker .days .day-of-week.weekend {\n color: #ccc;\n background-color: inherit;\n}\n.ng2-datetime-picker .days .day:not(.selectable) {\n color: #ccc;\n cursor: default;\n}\n.ng2-datetime-picker .days .weekend {\n color: #ccc;\n background-color: #eee;\n}\n.ng2-datetime-picker .days .day.selectable {\n cursor: pointer;\n}\n.ng2-datetime-picker .days .day.selected {\n background: gray;\n color: #fff;\n}\n.ng2-datetime-picker .days .day:not(.selected).selectable:hover {\n background: #eee;\n}\n.ng2-datetime-picker .days:after {\n content: '';\n display: block;\n clear: left;\n height: 0;\n}\n.ng2-datetime-picker .time {\n position: relative;\n padding: 10px;\n text-transform: Capitalize;\n}\n.ng2-datetime-picker .year-selector {\n position: absolute;\n top: 0;\n left: 0;\n background: #fff;\n height: 100%;\n overflow: auto; \n padding: 5px;\n z-index: 2;\n}\n.ng2-datetime-picker .year-selector .locale{\n text-align: center;\n}\n.ng2-datetime-picker .year-selector .year {\n display: inline-block;\n cursor: pointer;\n padding: 2px 5px;\n}\n.ng2-datetime-picker .year-selector .year:hover {\n background-color: #ddd;\n}\n.ng2-datetime-picker .select-current-time {\n position: absolute;\n top: 1em;\n right: 5px;\n z-index: 1;\n cursor: pointer;\n color: #0000ff;\n}\n.ng2-datetime-picker .hourLabel,\n.ng2-datetime-picker .minutesLabel {\n display: inline-block;\n width: 45px;\n vertical-align: top;\n}\n.closing-layer {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0,0,0,0);\n}\n\n.ng2-datetime-picker .shortcuts {\n padding: 10px;\n text-align: center;\n}\n\n.ng2-datetime-picker .shortcuts a {\n font-family: Sans-serif;\n margin: 0 0.5em;\n text-decoration: none;\n}\n\n@media (max-width: 767px) {\n .ng2-datetime-picker {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0; \n width: auto !important;\n animation: slideUp 0.1s ease-in-out;\n }\n\n .ng2-datetime-picker > .days {\n display: block;\n margin: 0 auto;\n }\n\n .closing-layer {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0,0,0,0.2);\n }\n}\n "],data:{}});function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[["class","closing-layer"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.close()&&l),l}),null,null))],null,null)}function d(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[["class","close-button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.close()&&l),l}),null,null))],null,null)}function c(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,12,"div",[["class","month"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"b",[["class","prev_next prev year"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.updateMonthData(-12)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["«"])),(e()(),l["ɵeld"](3,0,null,null,1,"b",[["class","prev_next prev month"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.updateMonthData(-1)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["‹"])),(e()(),l["ɵeld"](5,0,null,null,1,"span",[],[[8,"title",0]],null,null,null,null)),(e()(),l["ɵted"](6,null,[" "," "])),(e()(),l["ɵeld"](7,0,null,null,1,"span",[],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=0!=(e.component.showYearSelector=!0)&&l),l}),null,null)),(e()(),l["ɵted"](8,null,[" "," "])),(e()(),l["ɵeld"](9,0,null,null,1,"b",[["class","prev_next next year"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.updateMonthData(12)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["»"])),(e()(),l["ɵeld"](11,0,null,null,1,"b",[["class","prev_next next month"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.updateMonthData(1)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["›"]))],null,(function(e,n){var t=n.component;e(n,5,0,l["ɵinlineInterpolate"](1,"",null==t.monthData?null:t.monthData.fullName,"")),e(n,6,0,null==t.monthData?null:t.monthData.shortName),e(n,8,0,t.monthData.year)}))}function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","week-number"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,[" "," "]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function f(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","week-numbers"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,p)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.monthData.weekNumbers)}),null)}function g(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","day-of-week"]],[[2,"weekend",null],[8,"title",0]],null,null,null,null)),(e()(),l["ɵted"](1,null,[" "," "]))],null,(function(e,n){var t=n.component;e(n,0,0,t.isWeekend(n.context.index+t.monthData.firstDayOfWeek),l["ɵinlineInterpolate"](1,"",n.context.$implicit.fullName,"")),e(n,1,0,n.context.$implicit.shortName)}))}function h(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","day"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.updateMonthData(-1)&&l),l}),null,null)),(e()(),l["ɵted"](1,null,[" "," "]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,h)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.monthData.leadingDays)}),null)}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","day"]],[[8,"title",0]],[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==o.selectDateTime(o.toDate(e.context.$implicit))&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{selectable:0,selected:1,today:2,weekend:3}),(e()(),l["ɵted"](3,null,[" "," "]))],(function(e,n){var t=n.component;e(n,1,0,"day",e(n,2,0,!t.isDateDisabled(t.toDate(n.context.$implicit)),t.toDate(n.context.$implicit).getTime()===t.toDateOnly(t.selectedDate).getTime(),t.toDate(n.context.$implicit).getTime()===t.today.getTime(),t.isWeekend(n.context.$implicit,t.monthData.month)))}),(function(e,n){var t=n.component;e(n,0,0,l["ɵinlineInterpolate"](3,"",t.monthData.year,"-",t.monthData.month+1,"-",n.context.$implicit,"")),e(n,3,0,n.context.$implicit)}))}function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","day"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.updateMonthData(1)&&l),l}),null,null)),(e()(),l["ɵted"](1,null,[" "," "]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.monthData.trailingDays)}),null)}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"div",[["class","days"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,g)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](6,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](8,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.monthData.localizedDaysOfWeek),e(n,4,0,t.monthData.leadingDays.length<7),e(n,6,0,t.monthData.days),e(n,8,0,t.monthData.trailingDays.length<7)}),null)}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","shortcuts"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"a",[["href","#"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.selectToday()&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["Today"]))],null,null)}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,27,"div",[["class","time"],["id","time"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","select-current-time"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.selectCurrentTime()&&l),l}),null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵeld"](3,0,null,null,1,"label",[["class","timeLabel"]],null,null,null,null,null)),(e()(),l["ɵted"](4,null,["",""])),(e()(),l["ɵeld"](5,0,null,null,1,"span",[["class","timeValue"]],null,null,null,null,null)),(e()(),l["ɵted"](6,null,[" "," : "," "])),(e()(),l["ɵeld"](7,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"label",[["class","hourLabel"]],null,null,null,null,null)),(e()(),l["ɵted"](10,null,["",":"])),(e()(),l["ɵeld"](11,0,[[1,0],["hours",1]],null,6,"input",[["class","hourInput"],["tabindex","90000"],["type","range"]],[[8,"min",0],[8,"max",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,12)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,12).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,12)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,12)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==l["ɵnov"](e,13).onChange(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,13).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,13).onTouched()&&o),"change"===n&&(o=!1!==r.selectDateTime()&&o),"ngModelChange"===n&&(o=!1!==(r.hour=t)&&o),o}),null,null)),l["ɵdid"](12,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](13,16384,null,0,r["ɵangular_packages_forms_forms_bg"],[l.Renderer2,l.ElementRef],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.DefaultValueAccessor,r["ɵangular_packages_forms_forms_bg"]]),l["ɵdid"](15,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[6,r.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](17,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),(e()(),l["ɵeld"](18,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,1,"label",[["class","minutesLabel"]],null,null,null,null,null)),(e()(),l["ɵted"](20,null,["",":"])),(e()(),l["ɵeld"](21,0,[[2,0],["minutes",1]],null,6,"input",[["class","minutesInput"],["max","59"],["min","0"],["range","10"],["tabindex","90000"],["type","range"]],[[8,"step",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,22)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,22).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,22)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,22)._compositionEnd(t.target.value)&&o),"change"===n&&(o=!1!==l["ɵnov"](e,23).onChange(t.target.value)&&o),"input"===n&&(o=!1!==l["ɵnov"](e,23).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,23).onTouched()&&o),"change"===n&&(o=!1!==r.selectDateTime()&&o),"ngModelChange"===n&&(o=!1!==(r.minute=t)&&o),o}),null,null)),l["ɵdid"](22,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](23,16384,null,0,r["ɵangular_packages_forms_forms_bg"],[l.Renderer2,l.ElementRef],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e,n){return[e,n]}),[r.DefaultValueAccessor,r["ɵangular_packages_forms_forms_bg"]]),l["ɵdid"](25,671744,null,0,r.NgModel,[[8,null],[8,null],[8,null],[6,r.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](27,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null)],(function(e,n){var t=n.component;e(n,15,0,t.hour),e(n,25,0,t.minute)}),(function(e,n){var t=n.component;e(n,2,0,t.locale.currentTime),e(n,4,0,t.locale.time),e(n,6,0,("0"+t.hour).slice(-2),("0"+t.minute).slice(-2)),e(n,10,0,t.locale.hour),e(n,11,0,l["ɵinlineInterpolate"](1,"",t.minHour||0,""),l["ɵinlineInterpolate"](1,"",t.maxHour||23,""),l["ɵnov"](n,17).ngClassUntouched,l["ɵnov"](n,17).ngClassTouched,l["ɵnov"](n,17).ngClassPristine,l["ɵnov"](n,17).ngClassDirty,l["ɵnov"](n,17).ngClassValid,l["ɵnov"](n,17).ngClassInvalid,l["ɵnov"](n,17).ngClassPending),e(n,20,0,t.locale.minute),e(n,21,0,l["ɵinlineInterpolate"](1,"",t.minuteStep,""),l["ɵnov"](n,27).ngClassUntouched,l["ɵnov"](n,27).ngClassTouched,l["ɵnov"](n,27).ngClassPristine,l["ɵnov"](n,27).ngClassDirty,l["ɵnov"](n,27).ngClassValid,l["ɵnov"](n,27).ngClassInvalid,l["ɵnov"](n,27).ngClassPending)}))}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","year"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.selectYear(e.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵted"](1,null,[" "," "]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"div",[["class","year-selector"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","locale"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),l["ɵted"](3,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](5,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,5,0,n.component.yearsSelectable)}),(function(e,n){e(n,3,0,n.component.locale.year)}))}function M(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{hours:0}),l["ɵqud"](671088640,2,{minutes:0}),(e()(),l["ɵand"](16777216,null,null,1,null,s)),l["ɵdid"](3,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](4,0,null,null,17,"div",[["class","ng2-datetime-picker"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,d)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,c)),l["ɵdid"](8,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](9,0,null,null,6,"div",[["class","week-numbers-and-days"]],null,null,null,null,null)),l["ɵdid"](10,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](11,{"show-week-numbers":0}),(e()(),l["ɵand"](16777216,null,null,1,null,f)),l["ɵdid"](13,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](15,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](17,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](19,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](21,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,3,0,t.showCloseLayer),e(n,6,0,t.showCloseButton),e(n,8,0,!t.timeOnly),e(n,10,0,"week-numbers-and-days",e(n,11,0,!t.timeOnly&&t.showWeekNumbers)),e(n,13,0,!t.timeOnly&&t.showWeekNumbers),e(n,15,0,!t.timeOnly),e(n,17,0,t.showTodayShortcut),e(n,19,0,!t.dateOnly),e(n,21,0,t.showYearSelector)}),null)}var k=l["ɵccf"]("ng2-datetime-picker",a.Ng2DatetimePickerComponent,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"ng2-datetime-picker",[],null,null,null,M,u)),l["ɵprd"](512,null,i.Ng2Datetime,i.Ng2Datetime,[]),l["ɵdid"](2,114688,null,0,a.Ng2DatetimePickerComponent,[l.ElementRef,i.Ng2Datetime,l.ChangeDetectorRef],null,null)],(function(e,n){e(n,2,0)}),null)}),{dateFormat:"date-format",dateOnly:"date-only",timeOnly:"time-only",selectedDate:"selected-date",hour:"hour",minute:"minute",minuteStep:"minuteStep",defaultValue:"default-value",minDate:"min-date",maxDate:"max-date",minHour:"min-hour",maxHour:"max-hour",disabledDates:"disabled-dates",showCloseButton:"show-close-button",showCloseLayer:"show-close-layer",showWeekNumbers:"show-week-numbers",showTodayShortcut:"show-today-shortcut"},{selected$:"selected$",closing$:"closing$"},[])},function(e,t,l){var o;!function(r){var i;function a(){var e=Error.apply(this,arguments);e.name=this.name="FlashError",this.stack=e.stack,this.message=e.message}function u(){var e=Error.apply(this,arguments);e.name=this.name="WebcamError",this.stack=e.stack,this.message=e.message}var s=function(){};s.prototype=Error.prototype,a.prototype=new s,u.prototype=new s;var d={version:"1.0.25",protocol:location.protocol.match(/https/i)?"https":"http",loaded:!1,live:!1,userMedia:!0,iOS:/iPad|iPhone|iPod/.test(navigator.userAgent)&&!r.MSStream,params:{width:0,height:0,dest_width:0,dest_height:0,image_format:"jpeg",jpeg_quality:90,enable_flash:!0,force_flash:!1,flip_horiz:!1,fps:30,upload_name:"webcam",constraints:null,swfURL:"",flashNotDetectedText:"ERROR: No Adobe Flash Player detected. Webcam.js relies on Flash for browsers that do not support getUserMedia (like yours).",noInterfaceFoundText:"No supported webcam interface found.",unfreeze_snap:!0,iosPlaceholderText:"Click here to open camera.",user_callback:null,user_canvas:null},errors:{FlashError:a,WebcamError:u},hooks:{},init:function(){var e=this;this.mediaDevices=navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?navigator.mediaDevices:navigator.mozGetUserMedia||navigator.webkitGetUserMedia?{getUserMedia:function(e){return new Promise((function(n,t){(navigator.mozGetUserMedia||navigator.webkitGetUserMedia).call(navigator,e,n,t)}))}}:null,r.URL=r.URL||r.webkitURL||r.mozURL||r.msURL,this.userMedia=this.userMedia&&!!this.mediaDevices&&!!r.URL,this.iOS&&(this.userMedia=null),navigator.userAgent.match(/Firefox\D+(\d+)/)&&parseInt(RegExp.$1,10)<21&&(this.userMedia=null),this.userMedia&&r.addEventListener("beforeunload",(function(n){e.reset()}))},exifOrientation:function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return 0;for(var l=2;l8?0:f}}}else l+=2+t.getUint16(l+2)}return 0},fixOrientation:function(e,n,t){var l=new Image;l.addEventListener("load",(function(e){var o=document.createElement("canvas"),r=o.getContext("2d");switch(n<5?(o.width=l.width,o.height=l.height):(o.width=l.height,o.height=l.width),n){case 2:r.transform(-1,0,0,1,l.width,0);break;case 3:r.transform(-1,0,0,-1,l.width,l.height);break;case 4:r.transform(1,0,0,-1,0,l.height);break;case 5:r.transform(0,1,1,0,0,0);break;case 6:r.transform(0,1,-1,0,l.height,0);break;case 7:r.transform(0,-1,-1,0,l.height,l.width);break;case 8:r.transform(0,-1,1,0,0,l.width)}r.drawImage(l,0,0),t.src=o.toDataURL()}),!1),l.src=e},attach:function(e){if("string"==typeof e&&(e=document.getElementById(e)||document.querySelector(e)),!e)return this.dispatch("error",new u("Could not locate DOM element to attach to."));this.container=e,e.innerHTML="";var n=document.createElement("div");if(e.appendChild(n),this.peg=n,this.params.width||(this.params.width=e.offsetWidth),this.params.height||(this.params.height=e.offsetHeight),!this.params.width||!this.params.height)return this.dispatch("error",new u("No width and/or height for webcam. Please call set() first, or attach to a visible element."));this.params.dest_width||(this.params.dest_width=this.params.width),this.params.dest_height||(this.params.dest_height=this.params.height),this.userMedia=void 0===i?this.userMedia:i,this.params.force_flash&&(i=this.userMedia,this.userMedia=null),"number"!=typeof this.params.fps&&(this.params.fps=30);var t=this.params.width/this.params.dest_width,l=this.params.height/this.params.dest_height;if(this.userMedia){var o=document.createElement("video");o.setAttribute("autoplay","autoplay"),o.style.width=this.params.dest_width+"px",o.style.height=this.params.dest_height+"px",1==t&&1==l||(e.style.overflow="hidden",o.style.webkitTransformOrigin="0px 0px",o.style.mozTransformOrigin="0px 0px",o.style.msTransformOrigin="0px 0px",o.style.oTransformOrigin="0px 0px",o.style.transformOrigin="0px 0px",o.style.webkitTransform="scaleX("+t+") scaleY("+l+")",o.style.mozTransform="scaleX("+t+") scaleY("+l+")",o.style.msTransform="scaleX("+t+") scaleY("+l+")",o.style.oTransform="scaleX("+t+") scaleY("+l+")",o.style.transform="scaleX("+t+") scaleY("+l+")"),e.appendChild(o),this.video=o;var a=this;this.mediaDevices.getUserMedia({audio:!1,video:this.params.constraints||{mandatory:{minWidth:this.params.dest_width,minHeight:this.params.dest_height}}}).then((function(e){o.onloadedmetadata=function(n){a.stream=e,a.loaded=!0,a.live=!0,a.dispatch("load"),a.dispatch("live"),a.flip()},"srcObject"in o?o.srcObject=e:o.src=r.URL.createObjectURL(e)})).catch((function(n){a.params.enable_flash&&a.detectFlash()?setTimeout((function(){a.params.force_flash=1,a.attach(e)}),1):a.dispatch("error",n)}))}else if(this.iOS){(g=document.createElement("div")).id=this.container.id+"-ios_div",g.className="webcamjs-ios-placeholder",g.style.width=this.params.width+"px",g.style.height=this.params.height+"px",g.style.textAlign="center",g.style.display="table-cell",g.style.verticalAlign="middle",g.style.backgroundRepeat="no-repeat",g.style.backgroundSize="contain",g.style.backgroundPosition="center";var s=document.createElement("span");s.className="webcamjs-ios-text",s.innerHTML=this.params.iosPlaceholderText,g.appendChild(s);var c=document.createElement("img");c.id=this.container.id+"-ios_img",c.style.width=this.params.dest_width+"px",c.style.height=this.params.dest_height+"px",c.style.display="none",g.appendChild(c);var p=document.createElement("input");p.id=this.container.id+"-ios_input",p.setAttribute("type","file"),p.setAttribute("accept","image/*"),p.setAttribute("capture","camera"),a=this;var f=this.params;p.addEventListener("change",(function(e){if(e.target.files.length>0&&0==e.target.files[0].type.indexOf("image/")){var n=URL.createObjectURL(e.target.files[0]),t=new Image;t.addEventListener("load",(function(e){var n=document.createElement("canvas");n.width=f.dest_width,n.height=f.dest_height;var l=n.getContext("2d");ratio=Math.min(t.width/f.dest_width,t.height/f.dest_height);var o=f.dest_width*ratio,r=f.dest_height*ratio;l.drawImage(t,(t.width-o)/2,(t.height-r)/2,o,r,0,0,f.dest_width,f.dest_height);var i=n.toDataURL();c.src=i,g.style.backgroundImage="url('"+i+"')"}),!1);var l=new FileReader;l.addEventListener("load",(function(e){var l=a.exifOrientation(e.target.result);l>1?a.fixOrientation(n,l,t):t.src=n}),!1);var o=new XMLHttpRequest;o.open("GET",n,!0),o.responseType="blob",o.onload=function(e){200!=this.status&&0!==this.status||l.readAsArrayBuffer(this.response)},o.send()}}),!1),p.style.display="none",e.appendChild(p),g.addEventListener("click",(function(e){f.user_callback?a.snap(f.user_callback,f.user_canvas):(p.style.display="block",p.focus(),p.click(),p.style.display="none")}),!1),e.appendChild(g),this.loaded=!0,this.live=!0}else if(this.params.enable_flash&&this.detectFlash()){var g;r.Webcam=d,(g=document.createElement("div")).innerHTML=this.getSWFHTML(),e.appendChild(g)}else this.dispatch("error",new u(this.params.noInterfaceFoundText));if(this.params.crop_width&&this.params.crop_height){var h=Math.floor(this.params.crop_width*t),m=Math.floor(this.params.crop_height*l);e.style.width=h+"px",e.style.height=m+"px",e.style.overflow="hidden",e.scrollLeft=Math.floor(this.params.width/2-h/2),e.scrollTop=Math.floor(this.params.height/2-m/2)}else e.style.width=this.params.width+"px",e.style.height=this.params.height+"px"},reset:function(){if(this.preview_active&&this.unfreeze(),this.unflip(),this.userMedia){if(this.stream)if(this.stream.getVideoTracks){var e=this.stream.getVideoTracks();e&&e[0]&&e[0].stop&&e[0].stop()}else this.stream.stop&&this.stream.stop();delete this.stream,delete this.video}if(!0!==this.userMedia&&this.loaded&&!this.iOS){var n=this.getMovie();n&&n._releaseCamera&&n._releaseCamera()}this.container&&(this.container.innerHTML="",delete this.container),this.loaded=!1,this.live=!1},set:function(){if(1==arguments.length)for(var e in arguments[0])this.params[e]=arguments[0][e];else this.params[arguments[0]]=arguments[1]},on:function(e,n){e=e.replace(/^on/i,"").toLowerCase(),this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(n)},off:function(e,n){if(e=e.replace(/^on/i,"").toLowerCase(),this.hooks[e])if(n){var t=this.hooks[e].indexOf(n);t>-1&&this.hooks[e].splice(t,1)}else this.hooks[e]=[]},dispatch:function(){var e,n=arguments[0].replace(/^on/i,"").toLowerCase(),t=Array.prototype.slice.call(arguments,1);if(this.hooks[n]&&this.hooks[n].length){for(var l=0,o=this.hooks[n].length;lERROR: the Webcam.js Flash fallback does not work from local disk. Please run it from a web server.';if(!this.detectFlash())return this.dispatch("error",new a("Adobe Flash Player not found. Please install from get.adobe.com/flashplayer and try again.")),'

'+this.params.flashNotDetectedText+"

";if(!e){for(var n="",t=document.getElementsByTagName("script"),l=0,o=t.length;l'},getMovie:function(){if(!this.loaded)return this.dispatch("error",new a("Flash Movie is not loaded yet"));var e=document.getElementById("webcam_movie_obj");return e&&e._snap||(e=document.getElementById("webcam_movie_embed")),e||this.dispatch("error",new a("Cannot locate Flash movie in DOM")),e},freeze:function(){var e=this,n=this.params;this.preview_active&&this.unfreeze();var t=this.params.width/this.params.dest_width,l=this.params.height/this.params.dest_height;this.unflip();var o=n.crop_width||n.dest_width,r=n.crop_height||n.dest_height,i=document.createElement("canvas");i.width=o,i.height=r;var a=i.getContext("2d");this.preview_canvas=i,this.preview_context=a,1==t&&1==l||(i.style.webkitTransformOrigin="0px 0px",i.style.mozTransformOrigin="0px 0px",i.style.msTransformOrigin="0px 0px",i.style.oTransformOrigin="0px 0px",i.style.transformOrigin="0px 0px",i.style.webkitTransform="scaleX("+t+") scaleY("+l+")",i.style.mozTransform="scaleX("+t+") scaleY("+l+")",i.style.msTransform="scaleX("+t+") scaleY("+l+")",i.style.oTransform="scaleX("+t+") scaleY("+l+")",i.style.transform="scaleX("+t+") scaleY("+l+")"),this.snap((function(){i.style.position="relative",i.style.left=e.container.scrollLeft+"px",i.style.top=e.container.scrollTop+"px",e.container.insertBefore(i,e.peg),e.container.style.overflow="hidden",e.preview_active=!0}),i)},unfreeze:function(){this.preview_active&&(this.container.removeChild(this.preview_canvas),delete this.preview_context,delete this.preview_canvas,this.preview_active=!1,this.flip())},flip:function(){if(this.params.flip_horiz){var e=this.container.style;e.webkitTransform="scaleX(-1)",e.mozTransform="scaleX(-1)",e.msTransform="scaleX(-1)",e.oTransform="scaleX(-1)",e.transform="scaleX(-1)",e.filter="FlipH",e.msFilter="FlipH"}},unflip:function(){if(this.params.flip_horiz){var e=this.container.style;e.webkitTransform="scaleX(1)",e.mozTransform="scaleX(1)",e.msTransform="scaleX(1)",e.oTransform="scaleX(1)",e.transform="scaleX(1)",e.filter="",e.msFilter=""}},savePreview:function(e,n){var t=this.params,l=this.preview_canvas,o=this.preview_context;n&&n.getContext("2d").drawImage(l,0,0),e(n?null:l.toDataURL("image/"+t.image_format,t.jpeg_quality/100),l,o),this.params.unfreeze_snap&&this.unfreeze()},snap:function(e,n){e||(e=this.params.user_callback),n||(n=this.params.user_canvas);var t=this.params;if(!this.loaded)return this.dispatch("error",new u("Webcam is not loaded yet"));if(!e)return this.dispatch("error",new u("Please provide a callback function or canvas to snap()"));if(this.preview_active)return this.savePreview(e,n),null;var l=document.createElement("canvas");l.width=this.params.dest_width,l.height=this.params.dest_height;var o=l.getContext("2d");this.params.flip_horiz&&(o.translate(t.dest_width,0),o.scale(-1,1));var r=function(){if(this.src&&this.width&&this.height&&o.drawImage(this,0,0,t.dest_width,t.dest_height),t.crop_width&&t.crop_height){var r=document.createElement("canvas");r.width=t.crop_width,r.height=t.crop_height;var i=r.getContext("2d");i.drawImage(l,Math.floor(t.dest_width/2-t.crop_width/2),Math.floor(t.dest_height/2-t.crop_height/2),t.crop_width,t.crop_height,0,0,t.crop_width,t.crop_height),o=i,l=r}n&&n.getContext("2d").drawImage(l,0,0),e(n?null:l.toDataURL("image/"+t.image_format,t.jpeg_quality/100),l,o)};if(this.userMedia)o.drawImage(this.video,0,0,this.params.dest_width,this.params.dest_height),r();else if(this.iOS){var i=document.getElementById(this.container.id+"-ios_div"),a=document.getElementById(this.container.id+"-ios_img"),s=document.getElementById(this.container.id+"-ios_input");iFunc=function(e){r.call(a),a.removeEventListener("load",iFunc),i.style.backgroundImage="none",a.removeAttribute("src"),s.value=null},s.value?iFunc(null):(a.addEventListener("load",iFunc),s.style.display="block",s.focus(),s.click(),s.style.display="none")}else{var d=this.getMovie()._snap();(a=new Image).onload=r,a.src="data:image/"+this.params.image_format+";base64,"+d}return null},configure:function(e){e||(e="camera"),this.getMovie()._configure(e)},flashNotify:function(e,n){switch(e){case"flashLoadComplete":this.loaded=!0,this.dispatch("load");break;case"cameraLive":this.live=!0,this.dispatch("live");break;case"error":this.dispatch("error",new a(n))}},b64ToUint6:function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:43===e?62:47===e?63:0},base64DecToArr:function(e,n){for(var t,l,o=e.replace(/[^A-Za-z0-9\+\/]/g,""),r=o.length,i=n?Math.ceil((3*r+1>>2)/n)*n:3*r+1>>2,a=new Uint8Array(i),u=0,s=0,d=0;d>>(16>>>t&24)&255;u=0}return a},upload:function(e,n,t){var l=this.params.upload_name||"webcam",o="";if(!e.match(/^data\:image\/(\w+)/))throw"Cannot locate image format in Data URI";o=RegExp.$1;var r=e.replace(/^data\:image\/\w+\;base64\,/,""),i=new XMLHttpRequest;i.open("POST",n,!0),i.upload&&i.upload.addEventListener&&i.upload.addEventListener("progress",(function(e){e.lengthComputable&&d.dispatch("uploadProgress",e.loaded/e.total,e)}),!1);var a=this;i.onload=function(){t&&t.apply(a,[i.status,i.responseText,i.statusText]),d.dispatch("uploadComplete",i.status,i.responseText,i.statusText)};var u=new Blob([this.base64DecToArr(r)],{type:"image/"+o}),s=new FormData;s.append(l,u,l+"."+o.replace(/e/,"")),i.send(s)}};d.init(),void 0===(o=function(){return d}.call(t,l,t,e))||(e.exports=o)}(window)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var l=function(){function e(){}return e.prototype.handleError=function(e){if(!e.rejection||"EmptyError"!==e.rejection.name&&401!==e.rejection.status)throw e},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var l=t(0),o=t(5),r=l["ɵcrt"]({encapsulation:2,styles:[],data:{}});function i(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),l["ɵdid"](1,212992,null,0,o.q,[o.b,l.ViewContainerRef,l.ComponentFactoryResolver,[8,null],l.ChangeDetectorRef],null,null)],(function(e,n){e(n,1,0)}),null)}var a=l["ɵccf"]("ng-component",o.u,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,i,r)),l["ɵdid"](1,49152,null,0,o.u,[],null,null)],null,null)}),{},{},[])},function(e,n,t){"use strict";var l=t(0),o=t(2),r=function(){function e(){this.onClick=new l.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.onItemClick=function(e){this.onClick.emit(e)},e}(),i=l["ɵcrt"]({encapsulation:2,styles:[[".conversation-members-template{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.conversation-members-template>div,.conversation-members-template>img{margin:.5rem}.conversation-members-template>div:hover,.conversation-members-template>img:hover{cursor:pointer}.conversation-members-template .discussion-user-img{width:32px;height:32px}.conversation-members-template .discussion-members-section .discussion-user-img{margin:.5rem;cursor:pointer}.conversation-members-template .all-users-wrapper .all-users{width:32px;background-color:#306070;display:-webkit-box;display:-ms-flexbox;display:flex;height:32px;float:right;margin-right:0;z-index:1;position:relative}.conversation-members-template .all-users-wrapper .all-users span{margin:auto;color:#fff;font-weight:600;font-family:LatoWeb}.conversation-members-template .all-users-wrapper .selector{position:relative;left:14px;top:1px;z-index:0;width:39.9px;height:30px;border-radius:0 20px 20px 0;background-color:#44899f}.conversation-members-template .all-users-wrapper .selector i{color:#fff;position:absolute;right:8px;top:7px;font-size:16px}"]],data:{}});function a(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","all-users user-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["+",""]))],null,(function(e,n){var t=n.component;e(n,2,0,t.conversationMembers.length-t.maxDisplayCount+1)}))}function u(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"img",[["class","user-icon discussion-user-img"]],[[8,"src",4]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onItemClick(e.context.$implicit)&&l),l}),null,null))],null,(function(e,n){e(n,0,0,n.context.$implicit.picture?n.context.$implicit.picture:"/assets/img/default-profile.png")}))}function s(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","conversation-members-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","all-users-wrapper"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,a)),l["ɵdid"](3,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,2,null,u)),l["ɵdid"](5,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),l["ɵpid"](0,o.SlicePipe,[])],(function(e,n){var t=n.component;e(n,3,0,t.conversationMembers.length>t.maxDisplayCount),e(n,5,0,l["ɵunv"](n,5,0,l["ɵnov"](n,6).transform(t.conversationMembers,0,t.maxDisplayCount-1)))}),null)}var d=function(){},c=l["ɵcrt"]({encapsulation:0,styles:[[".typing-indicator-wrapper[_ngcontent-%COMP%] .typing-indicator[_ngcontent-%COMP%]{will-change:transform;width:auto;padding:9px;display:table;margin:1rem 0;position:relative}.typing-indicator-wrapper[_ngcontent-%COMP%] .typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:9px;width:9px;float:left;margin:0 3px;background-color:#9e9ea1;display:block;border-radius:50%;opacity:.6}.typing-indicator-wrapper[_ngcontent-%COMP%] .typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{-webkit-animation:bulge 1.3s .10833s infinite;animation:bulge 1.3s .10833s infinite}.typing-indicator-wrapper[_ngcontent-%COMP%] .typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2){-webkit-animation:bulge 1.3s .21667s infinite;animation:bulge 1.3s .21667s infinite}.typing-indicator-wrapper[_ngcontent-%COMP%] .typing-indicator[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(3){-webkit-animation:bulge 1.3s .325s infinite;animation:bulge 1.3s .325s infinite}@-webkit-keyframes blink{50%{opacity:1}}@keyframes blink{50%{opacity:1}}@-webkit-keyframes bulge{0%{-webkit-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(0);transform:scale(0)}55%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bulge{0%{-webkit-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(0);transform:scale(0)}55%{-webkit-transform:scale(1);transform:scale(1)}}"]],data:{}});function p(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","typing-indicator-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","typing-indicator"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,0,"span",[],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,0,"span",[],null,null,null,null,null))],null,null)}var f=t(34),g=function(){function e(e){this.messageService=e}return e.prototype.ngOnInit=function(){},e.prototype.pin=function(e){e.is_pinned=!e.is_pinned,this.messageService.updateMsgById(e.id,{is_pinned:e.is_pinned,is_flagged:e.is_flagged})},e}(),h=l["ɵcrt"]({encapsulation:0,styles:[[".pin[_ngcontent-%COMP%]{height:10px;width:10px;position:absolute;top:6px;right:6px;-webkit-transform:rotate(37deg);-ms-transform:rotate(37deg);transform:rotate(37deg);color:hsla(0,0%,50.2%,.47);cursor:pointer}.pin.pinned[_ngcontent-%COMP%]{color:#fd6401}"]],data:{}});function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"i",[["aria-hidden","true"],["class","fa fa-thumb-tack pin"]],null,[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=!1!==o.pin(o.message)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{pinned:0})],(function(e,n){e(n,1,0,"fa fa-thumb-tack pin",e(n,2,0,n.component.message.is_pinned))}),null)}var v=function(){function e(){this.click=new l.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.onClick=function(e){e.stopPropagation(),this.click.emit(e)},e}(),b=l["ɵcrt"]({encapsulation:0,styles:[[".action-wrapper[_ngcontent-%COMP%]{width:30px;height:30px;text-align:center;line-height:30px;border-radius:15px;background-color:#ada694;color:#fff;position:relative;cursor:pointer}.action-wrapper[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{width:16px;height:16px;background-color:#ff6500;border:1px solid #fff;color:#fff;font-size:9px;border-radius:8px;text-align:center;line-height:14px;position:absolute;margin-left:4px;top:-5px;right:-5px}"]],data:{}});function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","action-wrapper"]],[[4,"background",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onClick(t)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"span",[["class","arrow fa fa-arrow-right"]],null,null,null,null,null))],null,(function(e,n){e(n,0,0,n.component.icon)}))}var y=t(77),w=t(5),C=t(13),x=t(11),O=t(66),M=l["ɵcrt"]({encapsulation:0,styles:[["@-webkit-keyframes pop-in{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes pop-in{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate[_nghost-%COMP%]{-webkit-animation:pop-in .7s;animation:pop-in .7s}.message-wrapper[_ngcontent-%COMP%]{position:relative;width:80%;border-radius:5px;margin:2rem auto;background-color:#fff;padding:1.5rem 2rem 1.5rem 3rem;-webkit-box-shadow:0 4px 8px 0 rgba(109,98,72,.5);box-shadow:0 4px 8px 0 rgba(109,98,72,.5);line-height:normal}.message-wrapper[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%]{font-family:ProximaNova;font-size:1.2rem;color:#7b6f51;padding-bottom:5px;display:block}.message-wrapper[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{color:#ff6500;position:absolute;right:10px;bottom:10px}.message-wrapper[_ngcontent-%COMP%] message-action[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin:0!important;word-wrap:break-word;font-family:LatoWeb!important;font-size:1.3rem!important;color:#000!important}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] typing-animation[_ngcontent-%COMP%]{padding-left:3rem;display:block}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text .text-content{min-height:65px}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text .link-content{position:absolute;bottom:15px;max-width:179px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text>.link-wrapper a, .message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text>a:not(.mailto){height:38px;display:inline-block;width:70%;text-align:center;line-height:38px;border-radius:100px;cursor:pointer;background-color:#ff6500;color:#fff;-webkit-box-shadow:0 4px 8px 0 rgba(60,53,76,.3);box-shadow:0 4px 8px 0 rgba(60,53,76,.3);font-family:LatoWebBold;font-size:15px}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text>.link-wrapper a.link, .message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text>a:not(.mailto).link{width:auto;text-align:unset;line-height:13px;font-size:13px;height:auto;display:contents;-webkit-box-shadow:none;box-shadow:none;background:none;color:#ff6500;border-radius:unset;font-family:LatoWeb}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text a.mailto{color:#fe6500;font-family:LatoWeb;display:inline}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text a.telto{color:#408aa1;font-family:LatoWeb}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text>.link-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:70%}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .message-text>.link-wrapper a{width:inherit;padding:0 20px}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:.5rem auto;font-family:LatoWeb;font-size:1.5rem}.message-wrapper[_ngcontent-%COMP%] .user-logo[_ngcontent-%COMP%]{position:absolute;top:1rem;bottom:0;background:transparent url(/assets/img/2.png) no-repeat 50%;height:35px;left:-2rem;width:35px;cursor:pointer;float:left;z-index:1}.message-wrapper.answer[_ngcontent-%COMP%] .user-logo[_ngcontent-%COMP%]{right:-2rem;top:1.5rem;left:auto}"]],data:{animation:[{type:7,name:"showBorder",definitions:[{type:0,name:"show",styles:{type:6,styles:{"box-shadow":"0 4px 8px 0 rgba(109, 98, 72, 0.5)",transform:"box-shadow"},offset:null},options:void 0},{type:1,expr:"* => show",animation:[{type:4,styles:{type:6,styles:{"box-shadow":"0px 0px 15px 5px #ff6500",transform:"box-shadow"},offset:null},timings:"0.1s ease-in"},{type:4,styles:null,timings:"0.5s 2s ease-in"}],options:null}],options:{}}]}});function k(e){return l["ɵvid"](0,[l["ɵncd"](null,0),(e()(),l["ɵand"](0,null,null,0))],null,null)}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"typing-animation",[],null,null,null,p,c)),l["ɵdid"](1,49152,null,0,d,[],null,null)],null,null)}function P(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[],null,null,null,m,h)),l["ɵdid"](1,114688,null,0,g,[f.a],{message:[0,"message"]},null)],(function(e,n){e(n,1,0,n.component.onboardMessage)}),null)}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"message-action",[],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.callAction()&&l),l}),_,b)),l["ɵdid"](1,114688,null,0,v,[],{icon:[0,"icon"]},{click:"click"})],(function(e,n){e(n,1,0,n.component.onboardMessage.actionIcon)}),null)}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"i",[["class","fa fa-spinner fa-spin spinner fa-2x"]],null,null,null,null,null))],null,null)}function I(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,15,"div",[["class","message-wrapper"]],[[24,"@showBorder",0],[2,"answer",null]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"span",[["class","user-logo user-icon"]],[[4,"background-image",null]],null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,2,"span",[["class","message-time"]],null,null,null,null,null)),(e()(),l["ɵted"](3,null,[""," ",""])),l["ɵppd"](4,2),(e()(),l["ɵeld"](5,0,null,null,4,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](7,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](9,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,P)),l["ɵdid"](11,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,S)),l["ɵdid"](13,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](15,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,7,0,!t.onboardMessage.showTypings),e(n,9,0,t.onboardMessage.showTypings),e(n,11,0,!t.onboardMessage.hidePinn),e(n,13,0,t.onboardMessage.needAction),e(n,15,0,t.is_process)}),(function(e,n){var t=n.component;e(n,0,0,t.borderState,t.onboardMessage.isOwn),e(n,1,0,t.avatarUrl),e(n,3,0,t.getUsername(),l["ɵunv"](n,3,1,e(n,4,0,l["ɵnov"](n.parent,0),t.onboardMessage.date,"dd/MM/yyyy HH:mm")))}))}function E(e){return l["ɵvid"](2,[l["ɵpid"](0,o.DatePipe,[l.LOCALE_ID]),(e()(),l["ɵand"](16777216,null,null,1,null,I)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!!n.component.onboardMessage)}),null)}var N=t(216),T=t(39),D=function(){function e(e,n){this.fileService=e,this.configService=n}return e.prototype.ngOnInit=function(){},e.prototype.getFileName=function(e){var n=e.split("/");return n[n.length-1]},e.prototype.getImg=function(e){switch(this.getFileName(e).replace(/^.*\./,"")){case"pdf":return"/assets/img/pdf.png";case"doc":case"docx":return"/assets/img/doc.png";case"xlsx":return"/assets/img/xls.png";default:return"/assets/img/document_blank.png"}},e.prototype.download=function(e){if("undefined"!=typeof document){var n=document.createElement("a");n.href=""+this.configService.api+e,n.download=this.getFileName(e),n.click()}},e}(),V=l["ɵcrt"]({encapsulation:0,styles:[[".msg-attachments[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;margin-top:5px}.msg-attachments[_ngcontent-%COMP%], .msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;margin:1px 0;border:1px solid #cecbc6;padding:5px;border-radius:6px;overflow:hidden;position:relative}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%]:hover{cursor:pointer}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{opacity:1;background-color:#fff}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%]:hover .filename[_ngcontent-%COMP%]{opacity:.5}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%] .filename[_ngcontent-%COMP%]{margin:auto 0;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#8a8a8a;margin:auto 0;font-size:16px;opacity:0;-webkit-transition:.5s;-o-transition:.5s;transition:.5s;position:absolute;right:7px;z-index:2}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%] .img-frapper[_ngcontent-%COMP%]{height:16px;width:16px}.msg-attachments[_ngcontent-%COMP%] .msg-attachment[_ngcontent-%COMP%] .img-frapper[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{height:16px;width:16px;background-repeat:no-repeat;background-size:cover}"]],data:{}});function F(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","msg-attachment"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.download(e.context.$implicit.file)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","img-frapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"div",[["class","img"]],null,null,null,null,null)),l["ɵdid"](3,606208,null,0,N.a,[l.ElementRef],{value:[0,"value"]},null),(e()(),l["ɵeld"](4,0,null,null,1,"div",[["class","filename"]],null,null,null,null,null)),(e()(),l["ɵted"](5,null,["",""])),(e()(),l["ɵeld"](6,0,null,null,0,"i",[["class","fa fa-cloud-download"]],null,null,null,null,null))],(function(e,n){e(n,3,0,n.component.getImg(n.context.$implicit.file))}),(function(e,n){e(n,5,0,n.component.getFileName(n.context.$implicit.file))}))}function L(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","msg-attachments"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,F)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.attachments)}),null)}function q(e){return l["ɵvid"](0,[(e()(),l["ɵand"](16777216,null,null,1,null,L)),l["ɵdid"](1,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,1,0,n.component.attachments.length>0)}),null)}var B=function(){function e(){}return e.prototype.ngOnInit=function(){switch(this.message.attachmentModel.File.name.replace(/^.*\./,"")){case"png":case"jpeg":case"jpg":this.imageFileUrl=this.message.attachmentModel.Url;break;case"pdf":this.imageFileUrl="/assets/img/pdf.png";break;case"doc":case"docx":this.imageFileUrl="/assets/img/doc.png";break;case"xlsx":this.imageFileUrl="/assets/img/xls.png";break;default:this.imageFileUrl="/assets/img/document_blank.png"}},e}(),j=l["ɵcrt"]({encapsulation:0,styles:[[".message[_ngcontent-%COMP%]{display:grid}.message[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:auto;width:80px;border-radius:5px}.message-wrapper[_ngcontent-%COMP%]{position:relative;width:80%;border-radius:5px;margin:2rem auto;background-color:#fff;padding:3rem;-webkit-box-shadow:0 4px 8px 0 rgba(109,98,72,.5);box-shadow:0 4px 8px 0 rgba(109,98,72,.5)}.message-wrapper[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%]{color:grey;font-family:ProximaNova;font-size:1.3rem}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin:1.5rem auto;display:grid}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:auto;width:90%;border-radius:5px;-webkit-box-shadow:0 4px 8px 0 rgba(109,98,72,.5);box-shadow:0 4px 8px 0 rgba(109,98,72,.5)}.message-wrapper[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:.5rem auto;font-family:LatoWeb;font-size:1.5rem}.message-wrapper[_ngcontent-%COMP%] .user-logo[_ngcontent-%COMP%]{position:absolute;top:2rem;bottom:0;background:transparent url(/assets/img/2.png) no-repeat 50%;height:40px;left:-2rem;width:40px;cursor:pointer;float:left}.message-wrapper.answer[_ngcontent-%COMP%] .user-logo[_ngcontent-%COMP%]{right:-2rem;left:auto}"]],data:{}});function $(e){return l["ɵvid"](0,[l["ɵpid"](0,o.DatePipe,[l.LOCALE_ID]),(e()(),l["ɵeld"](1,0,null,null,8,"div",[["class","message-wrapper"]],[[2,"answer",null]],null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"span",[["class","user-logo user-icon"]],[[4,"background-image",null]],null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,2,"span",[["class","message-time"]],null,null,null,null,null)),(e()(),l["ɵted"](4,null,["@"," @ ",""])),l["ɵppd"](5,2),(e()(),l["ɵeld"](6,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"div",[],null,null,null,m,h)),l["ɵdid"](9,114688,null,0,g,[f.a],{message:[0,"message"]},null)],(function(e,n){e(n,9,0,n.component.message)}),(function(e,n){var t=n.component;e(n,1,0,t.message.isOwn),e(n,2,0,"url("+t.message.avatar+")"),e(n,4,0,t.message.name,l["ɵunv"](n,4,1,e(n,5,0,l["ɵnov"](n,0),t.message.date,"dd/MM/yyyy HH:mm"))),e(n,7,0,t.imageFileUrl)}))}var U=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),G=l["ɵcrt"]({encapsulation:0,styles:[[".message-loan[_ngcontent-%COMP%]{padding:0;max-height:6rem;display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:5px;position:relative;width:80%;margin:0 auto 2rem;background-color:#fff;-webkit-box-shadow:0 4px 8px 0 rgba(109,98,72,.5);box-shadow:0 4px 8px 0 rgba(109,98,72,.5)}.message-loan.accepted[_ngcontent-%COMP%]{background-color:#44899f;color:#fff}.message-loan.accepted[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%]{background-image:none}.message-loan[_ngcontent-%COMP%] .user-icon[_ngcontent-%COMP%]{height:32px;width:32px;position:absolute;top:1rem;bottom:0;left:-2rem;cursor:pointer;float:left;z-index:2}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%]{display:inline-block;width:80%;padding-left:2rem;margin:1rem auto}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%]{font-family:ProximaNova;font-size:1.3rem;color:#fff}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%] .messageTest[_ngcontent-%COMP%]{margin:.5rem 0}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%] .messageTest[_ngcontent-%COMP%] .messageFor[_ngcontent-%COMP%]{background-color:#dfded8;border-radius:10px;padding:.5rem 1rem .5rem 2.5rem}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding-bottom:2rem}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{word-wrap:break-word}.message-loan[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:top;width:20%;background-image:-o-linear-gradient(207deg,#fff,rgba(68,137,159,.12));background-image:linear-gradient(243deg,#fff,rgba(68,137,159,.12))}.message-loan[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%]{margin:auto}.message-loan[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px;width:32px}"]],data:{}});function z(e){return l["ɵvid"](0,[l["ɵpid"](0,o.DatePipe,[l.LOCALE_ID]),(e()(),l["ɵeld"](1,0,null,null,14,"div",[["class","message-loan accepted"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,10,"div",[["class","messageBlock"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,6,"div",[["class","message-time"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,0,"span",[["_ngcontent-c2",""],["class","user-logo user-icon"]],[[4,"background-image",null]],null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,3,"div",[["class","messageTest"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](8,null,["",""])),l["ɵppd"](9,2),(e()(),l["ɵeld"](10,0,null,null,2,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](12,null,["",""])),(e()(),l["ɵeld"](13,0,null,null,2,"div",[["class","messageButton"]],null,null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,1,"div",[["class","iconWrapp"]],null,null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,0,"img",[["src","assets/img/Flag.png"]],null,null,null,null,null))],null,(function(e,n){var t=n.component;e(n,5,0,"url("+t.message.avatar+")"),e(n,8,0,l["ɵunv"](n,8,0,e(n,9,0,l["ɵnov"](n,0),t.message.date,"yMMMd"))),e(n,12,0,t.message.content)}))}var W=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),H=l["ɵcrt"]({encapsulation:0,styles:[[".message-loan[_ngcontent-%COMP%]{padding:0;min-height:8rem;display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:5px;position:relative;width:80%;margin:0 auto 2rem;background-color:#fff;-webkit-box-shadow:0 4px 8px 0 rgba(109,98,72,.5);box-shadow:0 4px 8px 0 rgba(109,98,72,.5)}.message-loan.accepted[_ngcontent-%COMP%]{background-color:#44899f;color:#fff}.message-loan[_ngcontent-%COMP%] .user-icon[_ngcontent-%COMP%]{height:32px;width:32px;position:absolute;top:1rem;bottom:0;left:-2rem;cursor:pointer;float:left;z-index:2}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%]{margin:auto;display:inline-block;width:90%}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%]{font-family:ProximaNova;font-size:1.3rem;color:#9f9da3}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%] .messageTest[_ngcontent-%COMP%]{margin-top:1.7rem;margin-bottom:2rem}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message-time[_ngcontent-%COMP%] .messageTest[_ngcontent-%COMP%] .messageFor[_ngcontent-%COMP%]{background-color:#dfded8;border-radius:10px;padding:.5rem 1rem .5rem 2.5rem;margin-left:-2.5rem}.message-loan[_ngcontent-%COMP%] .messageBlock[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding-bottom:2rem}.message-loan[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;min-height:8rem;vertical-align:top;width:20%;background-image:-o-linear-gradient(207deg,#fff,rgba(68,137,159,.12));background-image:linear-gradient(243deg,#fff,rgba(68,137,159,.12))}.message-loan[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%]{margin:auto}.message-loan[_ngcontent-%COMP%] .messageButton[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px;width:32px}.message-loan[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%]{position:absolute;border-radius:50px;-webkit-box-shadow:0 0 8px 0 rgba(60,53,76,.3);box-shadow:0 0 8px 0 rgba(60,53,76,.3);bottom:-9px;height:20px;width:60px;background-color:#fff;left:38%;color:#584d34;display:none}.message-loan[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:auto;cursor:pointer}.message-loan[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%] .focus-icon[_ngcontent-%COMP%]{-webkit-box-shadow:0 0 4px rgba(60,53,76,.5);box-shadow:0 0 4px rgba(60,53,76,.5);border-radius:50px;width:20px}.message-loan[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%] .focus-icon[_ngcontent-%COMP%], .message-loan.shared[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex}"]],data:{}});function Y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","messageFor"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["To: ",""]))],null,(function(e,n){e(n,1,0,n.component.message.recipients)}))}function K(e){return l["ɵvid"](0,[l["ɵpid"](0,o.DatePipe,[l.LOCALE_ID]),(e()(),l["ɵeld"](1,0,null,null,20,"div",[["class","message-loan"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,12,"div",[["class","messageBlock"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,8,"div",[["class","message-time"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,0,"span",[["_ngcontent-c2",""],["class","user-logo user-icon"]],[[4,"background-image",null]],null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,5,"div",[["class","messageTest"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Y)),l["ɵdid"](8,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](9,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](10,null,[""," @ ",""])),l["ɵppd"](11,2),(e()(),l["ɵeld"](12,0,null,null,2,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵeld"](13,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](14,null,["",""])),(e()(),l["ɵeld"](15,0,null,null,1,"div",[],null,null,null,m,h)),l["ɵdid"](16,114688,null,0,g,[f.a],{message:[0,"message"]},null),(e()(),l["ɵeld"](17,0,null,null,4,"div",[["class","activeButtons"]],null,null,null,null,null)),(e()(),l["ɵeld"](18,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-thumb-tack"]],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,1,"div",[["class","focus-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](20,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-arrow-left"]],null,null,null,null,null)),(e()(),l["ɵeld"](21,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-arrow-right"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,8,0,t.message.recipients),e(n,16,0,t.message)}),(function(e,n){var t=n.component;e(n,5,0,"url("+t.message.avatar+")"),e(n,10,0,t.message.name,l["ɵunv"](n,10,1,e(n,11,0,l["ɵnov"](n,0),t.message.date,"dd/MM/yyyy HH:mm"))),e(n,14,0,t.message.content)}))}var J=t(1),Q=t(4),Z=t(3),X=function(){this.Messages=[],this.Users=[]},ee=t(47),ne=t(126),te=(t(86),t(15)),le=function(e){function n(n,t,l,o){var r=e.call(this,n,t,l,o)||this;return r.fileMessageCount=0,r.textMessageCount=0,r.isPinnedMessageCount=0,r.isOpenedUsersSection=!1,r.msgService=l,r.settings=r.msgService.privateConversationSettingsModel,r.settings.AvailableUsers.forEach((function(e){return e.IsActive=r.settings.ActiveUsers.some((function(n){return n.Id===e.Id}))})),r.model||(r.model=new X),r.model.Users=r.msgService.getAvailableUsers(),r}return Object(Z.d)(n,e),n.prototype.closePrivateDiscussion=function(){this.msgService.closePrivateConversation()},n.prototype.getFilteredMessages=function(){var n=e.prototype.getFilteredMessages.call(this);return this.isPinnedMessageCount=n.filter((function(e){return e.isPinned})).length,this.fileMessageCount=n.filter((function(e){return e.messageType===ee.a.File})).length,this.textMessageCount=n.filter((function(e){return e.messageType===ee.a.Text})).length,n},n.prototype.addUserToChat=function(e,n){var t=this;e.stopPropagation(),n.IsActive=!n.IsActive,n.IsActive?this.msgService.addParticipantByConvId(this.conversationId,n.Id).then((function(e){t.settings.ActiveUsers.push(n)})):this.msgService.deleteParticipantByConvId(this.conversationId,n.Id).then((function(e){t.settings.ActiveUsers.splice(t.settings.ActiveUsers.indexOf(n),0)}))},n}(function(){function e(e,n,t,l){var o=this;this.pingService=e,this.journeyService=n,this.messageService=t,this.fileService=l,this.chatOpened=!1,this.messageTypes=ee.a,this.subscriptions=[],this.attachments=[],this.getMessageAction=function(e){return o.messageService.getMessagesByConversation(e)},this.id_component=this.messageService.createGuid(),this.filters=this.getDefaultFilters()}return Object.defineProperty(e.prototype,"conversationId",{get:function(){return this._conversationId},set:function(e){this._conversationId=e,e&&("number"==typeof e||e.length>0)&&this.initMessages(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.model=new X,this.model.ConversationId=this.conversationId,this.pingMessage={ConversationId:this.model.ConversationId,LastMessageId:null,LoanId:this.loanId,FromId:this.recipientId,ConversationType:this.conversationType,GetLastMessageIdFunc:this.messageService.getLastMessage.bind(this.messageService),GetLastMessageIdAsyncFunc:this.messageService.getLastMessage_.bind(this.messageService)}},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()})),clearInterval(this.interval)},e.prototype.toggleChat=function(e){this.chatOpened=null!=e?e:!this.chatOpened},e.prototype.sendMessage=function(){var e=this;this.newMessage&&this.newMessage.trim()&&this.messageService.postMessageToConversation({type:1,content:this.newMessage,is_pinned:!1,conversation:this.conversationId}).then((function(n){e.addAttacments(n.id),e.newMessage=null}),(function(e){}))},e.prototype.fileChange=function(e){this.attachments.push(e.target.files[0]),e.srcElement.value=null},e.prototype.removeFile=function(e,n){e.stopPropagation(),this.attachments.splice(n,1)},e.prototype.getFilteredMessages=function(){var e=this.filters;return this.messages&&this.messages.length>0?this.messages.filter((function(n){if(!(e.search.isActive&&e.search.value||e.messageFileType.isActive||e.pin.isActive||e.messageSystemType.isActive||e.messageTextType.isActive||e.messagePrivateType.isActive))return!0;var t=!1;return(t=(t=(t=(t=(t=t||!!e.search.isActive&&!!e.search.value&&n.content&&n.content.toUpperCase().includes(e.search.value.toUpperCase()))||!!e.messageFileType.isActive&&!!n.attachments&&n.attachments.length>0)||!!e.pin.isActive&&n.is_pinned===e.pin.value)||!!e.messageSystemType.isActive&&n.type===e.messageSystemType.value)||!!e.messageTextType.isActive&&n.type===e.messageTextType.value)||!!e.messagePrivateType.isActive&&n.type===e.messagePrivateType.value})):[]},e.prototype.toogleFilter=function(e){e.isActive=!e.isActive},e.prototype.resetFilters=function(){this.filters=this.getDefaultFilters()},e.prototype.keyUp=function(e){13===e.keyCode&&e.ctrlKey&&this.sendMessage()},e.prototype.getDefaultFilters=function(){return{search:{isActive:!1,value:""},pin:{isActive:!1,value:!0},messageFileType:{isActive:!1,value:ee.a.File},messageSystemType:{isActive:!1,value:ee.a.System},messageTextType:{isActive:!1,value:ee.a.Text},messagePrivateType:{isActive:!1,value:ee.a.Private}}},e.prototype.initMessages=function(e){var n=this;"leeplenders"!==this.journeyService.currentJourney&&this.getMessageAction(e).then((function(e){var t;n.messages=[],(t=n.messages).push.apply(t,e),n.startPollingNewMessages()}),(function(e){n.messages=[],n.startPollingNewMessages()}))},e.prototype.getAndMergeMessages=function(){var e=this;this.getMessageAction(this.conversationId).then((function(n){var t;if(e.messageService.hastActiveConversationCount()){var l=n.filter((function(n){return e.messages.map((function(e){return e.id})).indexOf(n.id)<0}));(t=e.messages).push.apply(t,l)}}),(function(e){}))},e.prototype.startPollingNewMessages=function(){var e=this;this.interval=setInterval((function(){e.getAndMergeMessages()}),2e3),this.messageService.registerMessageInterval(this.interval)},e.prototype.addAttacments=function(e){var n=this;this.fileService.uploadChatAttachmens(e,this.attachments).subscribe((function(e){n.attachments.splice(0,n.attachments.length),n.getAndMergeMessages()}))},e}()),oe=l["ɵcrt"]({encapsulation:0,styles:[['.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%] .attachment[_ngcontent-%COMP%]{margin-left:1px;margin-right:1px;padding:2px;border:1px solid #bdb7a8;border-radius:4px}.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%] .attachment[_ngcontent-%COMP%]:hover{border-color:#ff6500}.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%] .attachment[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{color:red}.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%] .attachment[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#584d34;padding-right:3px}.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%] .attachment[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#8b8b8b}.attachments-wrappwer[_ngcontent-%COMP%] .attachments[_ngcontent-%COMP%] .attachment[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}.switch[_ngcontent-%COMP%]{position:relative;display:inline-block}.switch[_ngcontent-%COMP%] i.close[_ngcontent-%COMP%]{background-color:#989079;right:6px}.switch[_ngcontent-%COMP%] i.close[_ngcontent-%COMP%], .switch[_ngcontent-%COMP%] i.done[_ngcontent-%COMP%]{position:absolute;color:#fff;top:4px;font-size:1.6rem;border-radius:92px;border:none}.switch[_ngcontent-%COMP%] i.done[_ngcontent-%COMP%]{left:6px;background-color:#7ed321}.switch-input[_ngcontent-%COMP%]{display:none}.switch-label[_ngcontent-%COMP%]{display:block;width:48px;height:24px;text-indent:-150%;clip:rect(0 0 0 0);color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.switch-label[_ngcontent-%COMP%]:after, .switch-label[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;cursor:pointer}.switch-label[_ngcontent-%COMP%]:before{width:100%;height:100%;background-color:#989079;border-radius:9999em;-webkit-transition:background-color .25s ease;-o-transition:background-color .25s ease;transition:background-color .25s ease}.switch-label[_ngcontent-%COMP%]:after{top:0;left:0;width:26px;height:26px;z-index:2;background-position-x:-5px;background-position-y:-3px;border-radius:50%;background:url(/assets/img/1.png) no-repeat 50%;-webkit-box-shadow:0 0 2px rgba(0,0,0,.45);box-shadow:0 0 2px rgba(0,0,0,.45);-webkit-transition:left .25s ease;-o-transition:left .25s ease;transition:left .25s ease;background-size:contain!important;border:1px solid #fff}.switch-input[_ngcontent-%COMP%]:checked + .switch-label[_ngcontent-%COMP%]:before{background-color:#7ed321}.switch-input[_ngcontent-%COMP%]:checked + .switch-label[_ngcontent-%COMP%]:after{left:24px}.board.private[_ngcontent-%COMP%]{height:100%;z-index:236;top:0;right:0;position:absolute}@media (max-width:800px){.board.private[_ngcontent-%COMP%]{width:100%;padding-left:0;padding-right:0}}.board.private[_ngcontent-%COMP%] .request[_ngcontent-%COMP%]{background-color:#f2f1ed;color:#584d34;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;padding:.5rem}.board.private[_ngcontent-%COMP%] .request[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:auto 0 auto auto;color:rgba(123,111,81,.5)}.board.private[_ngcontent-%COMP%] .request[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:auto auto auto .5rem}.board.private[_ngcontent-%COMP%] .request[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 .5rem}.board.private[_ngcontent-%COMP%] .request[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-left:0}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{background-color:#d4d0c6;color:#584d34;font-weight:600;background-image:none;position:relative;padding:1rem .5rem}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;width:20px;height:20px;background:#d4d0c6;left:40%;bottom:-9px;z-index:1;-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:1rem}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .fa-search[_ngcontent-%COMP%]{float:right}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;background-color:#584d34;color:hsla(0,0%,100%,.64);border-radius:50px;width:18px;height:18px}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%]:not(:first-child){margin-left:1.5rem}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%]:last-child{float:right}.board.private[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .iconWrapp[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:auto;font-size:1.2rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messages-container[_ngcontent-%COMP%]{overflow-y:auto}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messages-container[_ngcontent-%COMP%] .msg-template[_ngcontent-%COMP%] .message-wrapper{margin:2rem auto;padding:1.5rem 1rem 1rem 3rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messages-container[_ngcontent-%COMP%] .msg-template[_ngcontent-%COMP%] .message-wrapper .message-time{padding:0}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messages-container[_ngcontent-%COMP%] .msg-template[_ngcontent-%COMP%] .message-wrapper .message{margin:2.5rem auto 1.5rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messages-container[_ngcontent-%COMP%] .msg-template[_ngcontent-%COMP%] .message-text[_ngcontent-%COMP%] .pb0[_ngcontent-%COMP%]{padding-bottom:0!important}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{min-height:12rem;outline:none;-webkit-box-shadow:none;box-shadow:none;margin:1px;width:calc(100% - 2px);resize:none}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .proceed[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#d4d0c6;color:#584d34;font-weight:600}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .user-logo[_ngcontent-%COMP%]{z-index:2}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .messageTest[_ngcontent-%COMP%]{margin-top:1.7rem;margin-left:-2.5rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .messageTest[_ngcontent-%COMP%] .messageFor[_ngcontent-%COMP%]{background-color:#dfded8;border-radius:10px;padding:.5rem 1rem .5rem 2.5rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%]{display:none;position:absolute;border-radius:50px;-webkit-box-shadow:0 0 8px 0 rgba(60,53,76,.3);box-shadow:0 0 8px 0 rgba(60,53,76,.3);bottom:-9px;height:20px;width:60px;background-color:#fff;left:38%;color:#584d34}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin:auto;cursor:pointer}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .activeButtons[_ngcontent-%COMP%] .focus-icon[_ngcontent-%COMP%]{-webkit-box-shadow:0 0 4px 0 rgba(60,53,76,.5);box-shadow:0 0 4px 0 rgba(60,53,76,.5);border-radius:50px;display:-webkit-box;display:-ms-flexbox;display:flex;width:20px}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .chat-wrapper.new-message[_ngcontent-%COMP%]{margin:-3rem 0 0;z-index:2;padding:0}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .chat-wrapper.new-message.active[_ngcontent-%COMP%]{border:2px solid #ff6500;position:relative;border-radius:3px}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .chat-wrapper.new-message[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border:none}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .chat-wrapper.new-message[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{padding:1rem;bottom:0}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .chat-wrapper.new-message[_ngcontent-%COMP%] .send-message[_ngcontent-%COMP%]{position:absolute;bottom:-10px;right:-2%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messageTo[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;background-color:#d4d0c6;padding:1rem;font-size:1.2rem;border-radius:3px;font-family:LatoWeb;color:#584d34;margin-bottom:2rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .messageTo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.5rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .selectUser[_ngcontent-%COMP%]{background-color:#d4d0c6;padding:.5rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .selectUser[_ngcontent-%COMP%] .userWrap[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:.5rem}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .selectUser[_ngcontent-%COMP%] .userWrap[_ngcontent-%COMP%]:not(:first-child){border-top:1px solid rgba(123,111,81,.22)}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .selectUser[_ngcontent-%COMP%] .userWrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:auto auto auto 1rem;color:#584d34}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .selectUser[_ngcontent-%COMP%] .userWrap[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:600}.board.private[_ngcontent-%COMP%] .notification-board[_ngcontent-%COMP%] .selectUser[_ngcontent-%COMP%] .userWrap[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%]{margin-left:.5rem}']],data:{}});function re(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","discussion-members-section"],["max-display-count","4"]],null,null,null,s,i)),l["ɵdid"](1,114688,null,0,r,[],{conversationMembers:[0,"conversationMembers"],maxDisplayCount:[1,"maxDisplayCount"]},null)],(function(e,n){e(n,1,0,n.component.model.Users,"4")}),null)}function ie(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","attachment"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""])),(e()(),l["ɵeld"](3,0,null,null,0,"i",[["class","fa fa-window-close"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.removeFile(t,e.context.index)&&l),l}),null,null))],null,(function(e,n){e(n,2,0,n.context.$implicit.name)}))}function ae(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","attachments"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ie)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.attachments)}),null)}function ue(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"div",[["class","userWrap"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.addUserToChat(t,e.context.$implicit)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,5,"div",[["class","switch"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"input",[["class","switch-input"],["type","checkbox"]],[[8,"id",0],[8,"checked",0]],null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,1,"label",[["class","switch-label"]],[[8,"htmlFor",0]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["Switch"])),(e()(),l["ɵeld"](5,0,null,null,0,"i",[["aria-hidden","false"],["class","fa fa-check-circle done"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,0,"i",[["aria-hidden","false"],["class","fa fa-times-circle close"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](9,null,["",""]))],null,(function(e,n){e(n,2,0,l["ɵinlineInterpolate"](1,"switch-",n.context.$implicit.Id,""),n.context.$implicit.IsActive),e(n,3,0,l["ɵinlineInterpolate"](1,"switch-",n.context.$implicit.Id,"")),e(n,9,0,n.context.$implicit.Name)}))}function se(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","selectUser"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ue)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.settings.AvailableUsers)}),null)}function de(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,null,0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵeld"](3,0,null,0,1,"msg-attacments",[],null,null,null,q,V)),l["ɵdid"](4,114688,null,0,D,[T.a,x.a],{attachments:[0,"attachments"]},null)],(function(e,n){e(n,1,0,n.parent.context.$implicit),e(n,4,0,n.parent.context.$implicit.attachments)}),(function(e,n){e(n,2,0,n.parent.context.$implicit.content)}))}function ce(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[],null,null,null,$,j)),l["ɵdid"](1,114688,null,0,B,[],{message:[0,"message"]},null)],(function(e,n){e(n,1,0,n.parent.context.$implicit)}),null)}function pe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[],null,null,null,z,G)),l["ɵdid"](1,114688,null,0,U,[],{message:[0,"message"]},null),(e()(),l["ɵeld"](2,0,null,null,1,"msg-attacments",[],null,null,null,q,V)),l["ɵdid"](3,114688,null,0,D,[T.a,x.a],{attachments:[0,"attachments"]},null)],(function(e,n){e(n,1,0,n.parent.context.$implicit),e(n,3,0,n.parent.context.$implicit.attachments)}),null)}function fe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[],null,null,null,K,H)),l["ɵdid"](1,114688,null,0,W,[],{message:[0,"message"]},null),(e()(),l["ɵeld"](2,0,null,null,1,"msg-attacments",[],null,null,null,q,V)),l["ɵdid"](3,114688,null,0,D,[T.a,x.a],{attachments:[0,"attachments"]},null)],(function(e,n){e(n,1,0,n.parent.context.$implicit),e(n,3,0,n.parent.context.$implicit.attachments)}),null)}function ge(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,de)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,ce)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,pe)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,fe)),l["ɵdid"](8,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,n.context.$implicit.type===t.messageTypes.Text),e(n,4,0,n.context.$implicit.type===t.messageTypes.File),e(n,6,0,n.context.$implicit.type===t.messageTypes.System),e(n,8,0,n.context.$implicit.type===t.messageTypes.Private)}),null)}function he(e){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{chatBoard:0}),(e()(),l["ɵeld"](1,0,null,null,46,"div",[["class","board deal private"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,6,"div",[["class","welcome-board"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,5,"div",[["class","request"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,re)),l["ɵdid"](5,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](6,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Private Discussion"])),(e()(),l["ɵeld"](8,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-times-circle"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.closePrivateDiscussion()&&l),l}),null,null)),(e()(),l["ɵeld"](9,0,null,null,13,"div",[["class","search"]],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,1,"div",[["class","iconWrapp"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-file-o"]],null,null,null,null,null)),(e()(),l["ɵeld"](12,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](13,null,[""," mesages"])),(e()(),l["ɵeld"](14,0,null,null,1,"div",[["class","iconWrapp"]],null,null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-thumb-tack"]],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](17,null,[""," documents"])),(e()(),l["ɵeld"](18,0,null,null,1,"div",[["class","iconWrapp"]],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-comment"]],null,null,null,null,null)),(e()(),l["ɵeld"](20,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](21,null,[""," bookmarks"])),(e()(),l["ɵeld"](22,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-search"]],null,null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,24,"div",[["class","notification-board"]],null,null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,14,"div",[["class","chat-wrapper new-message active attachments-wrappwer"]],null,null,null,null,null)),(e()(),l["ɵeld"](25,0,null,null,6,"textarea",[["class","message"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,26)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,26).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,26)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,26)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.newMessage=t)&&o),"keyup"===n&&(o=!1!==r.keyUp(t)&&o),o}),null,null)),l["ɵdid"](26,16384,null,0,J.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,J.COMPOSITION_BUFFER_MODE]],null,null),l["ɵprd"](1024,null,J.NG_VALUE_ACCESSOR,(function(e){return[e]}),[J.DefaultValueAccessor]),l["ɵdid"](28,671744,null,0,J.NgModel,[[8,null],[8,null],[8,null],[6,J.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,J.NgControl,null,[J.NgModel]),l["ɵdid"](30,16384,null,0,J.NgControlStatus,[[4,J.NgControl]],null,null),l["ɵdid"](31,16384,null,0,Q.a,[l.ElementRef,J.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,ae)),l["ɵdid"](33,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](34,0,null,null,4,"div",[["class","type-controls"]],null,null,null,null,null)),(e()(),l["ɵeld"](35,0,null,null,1,"label",[["class","custom-file-upload"],["for","file-upload"]],null,null,null,null,null)),(e()(),l["ɵeld"](36,0,null,null,0,"img",[["src","/assets/img/clip.png"]],null,null,null,null,null)),(e()(),l["ɵeld"](37,0,null,null,0,"input",[["id","file-upload"],["type","file"]],null,[[null,"change"]],(function(e,n,t){var l=!0;return"change"===n&&(l=!1!==e.component.fileChange(t)&&l),l}),null,null)),(e()(),l["ɵeld"](38,0,null,null,0,"img",[["class","send-message"],["src","assets/img/4.png"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.sendMessage()&&l),l}),null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,se)),l["ɵdid"](40,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](41,0,null,null,3,"div",[["class","messageTo"]],null,[[null,"click"]],(function(e,n,t){var l=!0,o=e.component;return"click"===n&&(l=0!=(o.isOpenedUsersSection=!o.isOpenedUsersSection)&&l),l}),null,null)),(e()(),l["ɵeld"](42,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](43,null,["Message to: ",""])),(e()(),l["ɵeld"](44,0,null,null,0,"i",[["aria-hidden","false"],["class","fa fa-caret-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](45,0,null,null,2,"div",[["class","messages-container"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ge)),l["ɵdid"](47,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,5,0,t.model.Users),e(n,28,0,t.newMessage),e(n,33,0,!!t.attachments&&t.attachments.length>0),e(n,40,0,t.isOpenedUsersSection),e(n,47,0,t.getFilteredMessages())}),(function(e,n){var t=n.component;e(n,13,0,t.textMessageCount),e(n,17,0,t.fileMessageCount),e(n,21,0,t.isPinnedMessageCount),e(n,25,0,l["ɵnov"](n,30).ngClassUntouched,l["ɵnov"](n,30).ngClassTouched,l["ɵnov"](n,30).ngClassPristine,l["ɵnov"](n,30).ngClassDirty,l["ɵnov"](n,30).ngClassValid,l["ɵnov"](n,30).ngClassInvalid,l["ɵnov"](n,30).ngClassPending),e(n,43,0,null==t.settings.ActiveUsers[0]?null:t.settings.ActiveUsers[0].Name)}))}var me=function(){function e(){}return e.prototype.transform=function(e){return e.filter((function(e){return!("count"in e)||e.count>0}))},e}(),ve=t(167),be=t(165),_e=t(20),ye=t(183),we=t(182),Ce=t(24),xe=t(17),Oe=t(254),Me=l["ɵcrt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{display:block}.chart-header[_ngcontent-%COMP%]{padding:.5rem 2rem 0 3rem}.warning[_ngcontent-%COMP%]{font-size:2rem;font-family:LatoWebBold;position:absolute;z-index:2;color:#fd6401;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%;text-align:center}.lenders-count[_ngcontent-%COMP%]{position:relative;z-index:1;padding-left:0;background-color:#e0ded8;padding-top:17px!important;color:#574d34;line-height:12px;top:12px}.lenders-count[_ngcontent-%COMP%] .number[_ngcontent-%COMP%]{line-height:28px;font-size:28px;font-weight:700}.lenders-count[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{line-height:12px;font-size:11px}.lenders-count[_ngcontent-%COMP%] .lenders[_ngcontent-%COMP%]{font-size:16px}.lenders-count[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:10px}.lenders-count[_ngcontent-%COMP%] .lenders-count-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding:10px 20px 0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.lenders-count[_ngcontent-%COMP%] .lenders-count-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-right:5px}.chart-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:relative}.chart-back[_ngcontent-%COMP%]{background-color:#e0ded8;position:absolute;top:0;bottom:30px;left:0;right:0}.bb[_ngcontent-%COMP%]{height:140px;top:0}"]],data:{}});function ke(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","chart-header"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["We have "," lenders that can lend at rates between "," and "," p.a. Subject to valuation, completed application and borrower checks."]))],null,(function(e,n){var t=n.component;e(n,1,0,null==t.barChartParams?null:t.barChartParams.count,t.displayPerc(null==t.barChartParams?null:t.barChartParams.min),t.displayPerc(null==t.barChartParams?null:t.barChartParams.max))}))}function Ae(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[["class","chart-header"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,n){e(n,0,0,n.component.messageText)}))}function Pe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","warning"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["We cannot find any Lenders"]))],null,null)}function Se(e){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{barChartRef:0}),(e()(),l["ɵand"](16777216,null,null,1,null,ke)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ae)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Pe)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](7,0,null,null,8,"div",[["class","lenders-count"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,7,"div",[["class","lenders-count-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"span",[["class","text"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Under these terms we have"])),(e()(),l["ɵeld"](11,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](12,0,null,null,1,"span",[["class","number"]],null,null,null,null,null)),(e()(),l["ɵted"](13,null,["",""])),(e()(),l["ɵeld"](14,0,null,null,1,"span",[["class","lenders"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["lenders"])),(e()(),l["ɵeld"](16,0,null,null,2,"div",[["class","chart-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](17,0,null,null,0,"div",[["class","chart-back"]],null,null,null,null,null)),(e()(),l["ɵeld"](18,0,[[1,0],["bar_chart",1]],null,0,"div",[],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,2,0,!t.messageText),e(n,4,0,!!t.messageText),e(n,6,0,t.hasNotLenders&&t.needShowWarning)}),(function(e,n){e(n,13,0,n.component.totalLenders)}))}var Re=t(198),Ie=t(193),Ee=t(98),Ne=t(223),Te=t(49),De=t(293),Ve=t(255),Fe=t(33),Le=t(84),qe=t(19),Be=t(36),je=t(45),$e=l["ɵcrt"]({encapsulation:0,styles:[[".help-message-board-template[_ngcontent-%COMP%] .loan-box[_ngcontent-%COMP%]{padding:1rem 1rem 1.5rem 3rem}.help-message-board-template[_ngcontent-%COMP%] .loan-box[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{border-radius:3px;background-color:#fff;-webkit-box-shadow:0 0 5px 0 #7b6f51;box-shadow:0 0 5px 0 #7b6f51}.help-message-board-template[_ngcontent-%COMP%] .loan-box[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%] .loan-wrapper[_ngcontent-%COMP%]{position:relative}.help-message-board-template[_ngcontent-%COMP%] .loan-box[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%] .loan-wrapper[_ngcontent-%COMP%] .loan-mask[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;top:0;left:0;z-index:1;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(55%,hsla(0,0%,100%,0)),color-stop(75%,hsla(0,0%,100%,.5)),color-stop(90%,#fff));background-image:-o-linear-gradient(top,hsla(0,0%,100%,0) 55%,hsla(0,0%,100%,.5) 75%,#fff 90%);background-image:linear-gradient(180deg,hsla(0,0%,100%,0) 55%,hsla(0,0%,100%,.5) 75%,#fff 90%)}.help-message-board-template[_ngcontent-%COMP%] .loan-box[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:1em;padding:5px 10px;color:#584d34;text-align:right}.help-message-board-template[_ngcontent-%COMP%] .msg-template.small[_ngcontent-%COMP%] .text-content{min-height:30px!important}.help-message-board-template[_ngcontent-%COMP%] .msg-template.small[_ngcontent-%COMP%] .cookie-content{padding-bottom:45px}.help-message-board-template[_ngcontent-%COMP%] .msg-template[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{padding:1.5rem 1rem 2rem 1.5rem}.help-message-board-template[_ngcontent-%COMP%] .msg-template[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] a.proceed-btn[_ngcontent-%COMP%]{font-family:LatoWebBold;font-size:15px;text-align:center;display:block;color:#fff;width:212px;height:45px;line-height:45px;border-radius:100px;cursor:pointer;background-color:#ff6500;-webkit-box-shadow:0 4px 8px 0 rgba(60,53,76,.3);box-shadow:0 4px 8px 0 rgba(60,53,76,.3);overflow:hidden;margin:auto}.help-message-board-template[_ngcontent-%COMP%] .flex-col[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.help-message-board-template[_ngcontent-%COMP%] .flex-col[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%]{margin:7px 0}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%]{opacity:0;-webkit-transition:opacity .7s;-o-transition:opacity .7s;transition:opacity .7s}.help-message-board-template[_ngcontent-%COMP%] .notification-section.active[_ngcontent-%COMP%]{opacity:1}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions[_ngcontent-%COMP%]{display:none}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions.active[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%]{z-index:1;margin:7px 0;-webkit-transition:.7s;-o-transition:.7s;transition:.7s;font-family:LatoWebBold;font-size:15px;opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%]:last-child{-webkit-transition-delay:.2s;-o-transition-delay:.2s;transition-delay:.2s}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions[_ngcontent-%COMP%] .proceed-btn.active[_ngcontent-%COMP%]{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions[_ngcontent-%COMP%] .proceed-btn.re-visit.active[_ngcontent-%COMP%]:first-child{top:135px}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions[_ngcontent-%COMP%] .proceed-btn.re-visit.active[_ngcontent-%COMP%]:last-child{top:194px}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions.default[_ngcontent-%COMP%] .proceed-btn[_ngcontent-%COMP%]{top:-414px}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions.default[_ngcontent-%COMP%] .proceed-btn.active[_ngcontent-%COMP%]:first-child{top:-10px}.help-message-board-template[_ngcontent-%COMP%] .notification-section[_ngcontent-%COMP%] .anonim-actions.default[_ngcontent-%COMP%] .proceed-btn.active[_ngcontent-%COMP%]:last-child{top:49px}.help-message-board-template[_ngcontent-%COMP%] .blank-section[_ngcontent-%COMP%]{padding:0;opacity:0;-webkit-transition:opacity .7s;-o-transition:opacity .7s;transition:opacity .7s;max-height:0}.help-message-board-template[_ngcontent-%COMP%] .blank-section.active[_ngcontent-%COMP%]{opacity:1;padding:10px 39px}.help-message-board-template[_ngcontent-%COMP%] .blank-section[_ngcontent-%COMP%] .blank-message[_ngcontent-%COMP%]{padding:12px 0}.help-message-board-template[_ngcontent-%COMP%] .blank-section[_ngcontent-%COMP%] .blank-message[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:80%;border-radius:15px;height:15px;margin:10px 0;background-color:#d6d5d2}.help-message-board-template[_ngcontent-%COMP%] .blank-section[_ngcontent-%COMP%] .blank-message[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child, .help-message-board-template[_ngcontent-%COMP%] .blank-section[_ngcontent-%COMP%] .blank-message[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{width:100%}.help-message-board-template[_ngcontent-%COMP%] video-wrapper[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;height:100%}.help-message-board-template[_ngcontent-%COMP%] .video-window-wrapper[_ngcontent-%COMP%]{position:fixed;left:498px;top:35px}.help-message-board-template[_ngcontent-%COMP%] .video-window-wrapper[_ngcontent-%COMP%] .close-window[_ngcontent-%COMP%]{position:absolute;top:-10px;right:-10px;font-size:20px;background-color:#000;color:#fff;height:20px;width:20px;text-align:center;font-size:17px;border-radius:20px;cursor:pointer}.help-message-board-template[_ngcontent-%COMP%] .message-text[_ngcontent-%COMP%] .text-content{min-height:81px!important}.help-message-board-template[_ngcontent-%COMP%] .message-text[_ngcontent-%COMP%]:not(:last-child){padding-bottom:.5rem!important}.help-message-board-template[_ngcontent-%COMP%] .button-message-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.help-message-board-template[_ngcontent-%COMP%] .button-message-wrapper[_ngcontent-%COMP%] .proceed-btn.mob[_ngcontent-%COMP%]{display:none}.help-message-board-template[_ngcontent-%COMP%] .button-message-wrapper[_ngcontent-%COMP%] .proceed-btn.cookie[_ngcontent-%COMP%]{width:180px}@media only screen and (max-width:600px){.help-message-board-template[_ngcontent-%COMP%] .button-message-wrapper[_ngcontent-%COMP%] .proceed-btn.mob[_ngcontent-%COMP%]{display:block;width:225px}.help-message-board-template[_ngcontent-%COMP%] .button-message-wrapper[_ngcontent-%COMP%] .proceed-btn.desktop[_ngcontent-%COMP%]{display:none}}.help-message-board-template[_ngcontent-%COMP%] .button-message-wrapper[_ngcontent-%COMP%] .proceed-btn.desktop[_ngcontent-%COMP%]{width:45px;font-size:19px;position:absolute;top:50%;right:10px;-webkit-transform:translateY(-38%);-ms-transform:translateY(-38%);transform:translateY(-38%)}"]],data:{animation:[{type:7,name:"openCloseAnimation",definitions:[{type:0,name:"small",styles:{type:6,styles:{opacity:0,transform:"scale(0.1) translate(-500%, 200%)"},offset:null},options:void 0},{type:0,name:"large",styles:{type:6,styles:{opacity:1,transform:"scale(1) translate(0, 0)"},offset:null},options:void 0},{type:1,expr:"small => large",animation:{type:4,styles:null,timings:"700ms ease-in"},options:null}],options:{}}]}});function Ue(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵeld"](3,0,null,0,2,"div",[["class","button-message-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"button",[["class","proceed-btn cookie"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.acceptCookie()&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["Accept & Close"]))],(function(e,n){e(n,1,0,n.component.cookieMessage)}),(function(e,n){e(n,2,0,n.component.cookieMessage.content)}))}function Ge(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){e(n,1,0,n.component.lenderWelcome1)}),(function(e,n){e(n,2,0,n.component.lenderWelcome1.content)}))}function ze(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){e(n,1,0,n.component.lenderWelcome2)}),(function(e,n){e(n,2,0,n.component.lenderWelcome2.content)}))}function We(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){e(n,1,0,n.component.lenderWelcome3)}),(function(e,n){e(n,2,0,n.component.lenderWelcome3.content)}))}function He(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){e(n,1,0,n.component.lenderWelcome4)}),(function(e,n){e(n,2,0,n.component.lenderWelcome4.content)}))}function Ye(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ge)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,ze)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,We)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,He)),l["ɵdid"](8,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.lenderWelcome1.isActive),e(n,4,0,t.lenderWelcome2.isActive),e(n,6,0,t.lenderWelcome3.isActive),e(n,8,0,t.lenderWelcome4.isActive)}),null)}function Ke(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](2,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](3,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){e(n,2,0,n.component.getMandateMessage)}),(function(e,n){e(n,3,0,n.component.getMandateMessage.content)}))}function Je(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ye)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ke)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,!t.isAuth),e(n,4,0,t.isAuth)}),null)}function Qe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){e(n,1,0,n.component.welcomeBack)}),(function(e,n){e(n,2,0,n.component.welcomeBack.content)}))}function Ze(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{animate:0}),l["ɵdid"](3,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](4,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){var t=n.component;e(n,1,0,"msg-template",e(n,2,0,t.borrowerWelcom2.needAnimate)),e(n,3,0,t.borrowerWelcom2)}),(function(e,n){e(n,4,0,n.component.borrowerWelcom2.content)}))}function Xe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,15,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{animate:0}),l["ɵdid"](3,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](4,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵeld"](5,0,null,0,10,"div",[["class","button-message-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,5,"button",[["class","proceed-btn mob"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,["./anonym/onboarding"],!1)&&l),l}),null,null)),l["ɵdid"](7,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](8,{active:0,"re-visit":1}),(e()(),l["ɵted"](-1,null,["Fill in the Simple Form"])),(e()(),l["ɵeld"](10,0,null,null,1,"sup",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["TM"])),(e()(),l["ɵeld"](12,0,null,null,3,"button",[["class","proceed-btn desktop"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,["./anonym/onboarding"],!1)&&l),l}),null,null)),l["ɵdid"](13,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](14,{active:0,"re-visit":1}),(e()(),l["ɵeld"](15,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-hand-o-right"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,1,0,"msg-template",e(n,2,0,t.borrowerWelcom3.needAnimate)),e(n,3,0,t.borrowerWelcom3),e(n,7,0,"proceed-btn mob",e(n,8,0,t.isShowButton,t.isReVisit)),e(n,13,0,"proceed-btn desktop",e(n,14,0,t.isShowButton,t.isReVisit))}),(function(e,n){e(n,4,0,n.component.borrowerWelcom3.content)}))}function en(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{animate:0}),l["ɵdid"](3,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](4,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,n){var t=n.component;e(n,1,0,"msg-template",e(n,2,0,t.borrowerWelcom4.needAnimate)),e(n,3,0,t.borrowerWelcom4)}),(function(e,n){e(n,4,0,n.component.borrowerWelcom4.content)}))}function nn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,11,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,4,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](2,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](3,{animate:0}),l["ɵdid"](4,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](5,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ze)),l["ɵdid"](7,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Xe)),l["ɵdid"](9,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,en)),l["ɵdid"](11,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,"msg-template",e(n,3,0,t.borrowerWelcom1.needAnimate)),e(n,4,0,t.borrowerWelcom1),e(n,7,0,t.borrowerWelcom2.isActive),e(n,9,0,t.borrowerWelcom3.isActive),e(n,11,0,t.borrowerWelcom4.isActive)}),(function(e,n){e(n,5,0,n.component.borrowerWelcom1.content)}))}function tn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","notification-section active"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Qe)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,nn)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.isReVisit),e(n,4,0,!t.isReVisit)}),null)}function ln(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,tn)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!n.component.isAuth)}),null)}function on(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,20,"div",[["class","notification-section active"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](2,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](3,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](5,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](6,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,2,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](8,245760,[[1,4]],0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](9,0,null,0,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,10,"div",[["class","col-md-12 anonim-actions default flex-col"]],null,null,null,null,null)),l["ɵdid"](11,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](12,{active:0}),(e()(),l["ɵeld"](13,0,null,null,3,"button",[["class","proceed-btn"],["type","button"]],null,null,null,null,null)),l["ɵdid"](14,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](15,{active:0}),(e()(),l["ɵted"](-1,null,["Create market watch segments"])),(e()(),l["ɵeld"](17,0,null,null,3,"button",[["class","proceed-btn"],["type","button"]],null,null,null,null,null)),l["ɵdid"](18,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](19,{active:0}),(e()(),l["ɵted"](-1,null,["Setup your offer bots"]))],(function(e,n){var t=n.component;e(n,2,0,t.main1Message),e(n,5,0,t.main2Message),e(n,8,0,t.main3Message),e(n,11,0,"col-md-12 anonim-actions default flex-col",e(n,12,0,!t.user)),e(n,14,0,"proceed-btn",e(n,15,0,t.isShowButton)),e(n,18,0,"proceed-btn",e(n,19,0,t.isShowButton))}),(function(e,n){var t=n.component;e(n,3,0,t.main1Message.content),e(n,6,0,t.main2Message.content),e(n,9,0,t.main3Message.content)}))}function rn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,on)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!n.component.isAuth)}),null)}function an(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{setHelpMessages:1}),(e()(),l["ɵeld"](1,0,null,null,10,"div",[["class","help-message-board-template"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ue)),l["ɵdid"](3,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](4,0,null,null,7,"div",[],null,null,null,null,null)),l["ɵdid"](5,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Je)),l["ɵdid"](7,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,ln)),l["ɵdid"](9,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,rn)),l["ɵdid"](11,16384,null,0,o.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],null,null)],(function(e,n){var t=n.component;e(n,3,0,!t.isHiddenCookieAlertBox),e(n,5,0,t.currentJourneyType),e(n,7,0,t.journeyType.Lender),e(n,9,0,t.journeyType.Broker)}),null)}var un=t(113),sn=t(352),dn=function(){function e(e,n,t){var o=this;this.onSwipeLeft=new l.EventEmitter,this.onSwipeRight=new l.EventEmitter,this.onSwipeUp=new l.EventEmitter,this.onSwipeDown=new l.EventEmitter,this.sensitivityOfSwipe=40,t.runOutsideAngular((function(){return Object(un.a)(e.nativeElement,"touchstart").pipe(Object(sn.a)(40)).subscribe((function(e){o.onTouchStart(e)}))})),t.runOutsideAngular((function(){return Object(un.a)(n.nativeWindow.document,"touchend").pipe(Object(sn.a)(40)).subscribe((function(e){o.onTouchEnd(e)}))}))}return e.prototype.onTouchStart=function(e){this.hStart=null,this.vStart=null;var n=!1;if(e.target){var t=e.target.parentNode;n=t.attributes.getNamedItem("disable-swipe");for(var l=t.attributes.getNamedItem("ix-swipe");!l&&!n&&t.parentNode&&t.parentNode.attributes;)n=(t=t.parentNode).attributes.getNamedItem("disable-swipe"),l=t.attributes.getNamedItem("ix-swipe")}n||(this.hStart=e.changedTouches[0].clientY,this.vStart=e.changedTouches[0].clientX)},e.prototype.onTouchEnd=function(e){if(this.vStart&&this.hStart){var n=e.changedTouches[0].clientX-this.vStart,t=e.changedTouches[0].clientY-this.hStart;if(Math.abs(n)>Math.abs(t)){if(Math.abs(n)0?this.onSwipeRight.emit():this.onSwipeLeft.emit()}else{if(Math.abs(t)0?this.onSwipeUp.emit():this.onSwipeDown.emit()}}},e}(),cn=t(252),pn=t(44),fn=function(){function e(e,n){var t=this;this.notificationService=e,this.windowRef=n,this.state="show",this.messageWidthNoMoreThen65=.65,this.getMaxMessageWidth=function(){return t.windowRef.nativeWindow.screen.width*t.messageWidthNoMoreThen65},this.subscription=this.notificationService.getOnCheangeStatus().subscribe((function(e){if(t.notification=e,t.notification.details)if(t.notification.details instanceof Array)t.details=[],t.notification.details.reduce((function(e,n){"string"==typeof n?e.push(n):Object.keys(n).forEach((function(t){return e.push(t+" - "+n[t])}))}),t.details);else{t.details=[];var n=t.notification.details;Object.keys(n).forEach((function(e){t.details.push(e+" - "+n[e])}))}t.state="show",t.timeId=setTimeout((function(){t.closeNotification()}),5e3)})),this.maxWidth=this.getMaxMessageWidth()}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.closeNotification()},e.prototype.closeNotification=function(){this.notification=null,clearTimeout(this.timeId)},e}(),gn=l["ɵcrt"]({encapsulation:0,styles:[[".alert[_ngcontent-%COMP%]{position:absolute;z-index:200;top:20px;right:20px;border-radius:300px}@media only screen and (max-width:650px){.alert[_ngcontent-%COMP%]{max-width:90%}}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;padding:6px;overflow:hidden}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .pgn-thumbnail[_ngcontent-%COMP%] .notification-img[_ngcontent-%COMP%]{height:48px;width:48px;border-radius:50%;background-size:cover;background-image:url(/assets/img/bot.png)}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .pgn-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{padding-left:9px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;word-break:break-all;word-wrap:break-word;font-size:13px;line-height:20px}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .pgn-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-weight:700}@media only screen and (max-width:450px){.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .pgn-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%] .message-text[_ngcontent-%COMP%]{font-size:11px}}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .pgn-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:10px;line-height:normal;list-style-type:disc;padding-left:13px}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .pgn-message[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:normal;position:relative;left:-5px}.alert[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{margin:0 5px 0 auto;background:transparent;font-size:2rem}.alert.message[_ngcontent-%COMP%]{background-color:#d2f1eb;color:#11705c;border-color:#11705c}.alert.message[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#449282}.alert.warning[_ngcontent-%COMP%]{background-color:#fdf5df;color:#947c39;border-color:#947c39}.alert.warning[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#ac9350}.alert.error[_ngcontent-%COMP%]{background-color:#fddede;color:#923535;border-color:#923535}.alert.error[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#b35e5e}"]],data:{animation:[{type:7,name:"unwrapNotification",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"show",styles:{type:6,styles:{width:"*"},offset:null},options:void 0},{type:1,expr:":enter",animation:[{type:4,styles:{type:6,styles:{opacity:1,width:60},offset:null},timings:"150ms ease-in"},{type:4,styles:null,timings:"300ms 150ms ease-in-out"}],options:null}],options:{}}]}});function hn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](2,null,["",""]))],null,(function(e,n){e(n,2,0,n.context.$implicit)}))}function mn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,hn)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.details)}),null)}function vn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,14,"div",[["class","alert"]],[[24,"@unwrapNotification",0]],null,null,null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),l["ɵeld"](2,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,1,"div",[["class","pgn-thumbnail"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,0,"div",[["class","notification-img"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,6,"div",[["class","pgn-message"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,5,"div",[["class","message-body"]],[[4,"maxWidth","px"]],null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,1,"p",[["class","message-title"]],[[8,"innerHTML",1]],null,null,null,null)),l["ɵppd"](8,1),(e()(),l["ɵeld"](9,0,null,null,0,"p",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,mn)),l["ɵdid"](11,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](12,0,null,null,2,"button",[["class","close"],["type","button"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.closeNotification()&&l),l}),null,null)),(e()(),l["ɵeld"](13,0,null,null,1,"span",[["aria-hidden","true"],["class","ng-tns-c14-4"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["×"]))],(function(e,n){var t=n.component;e(n,1,0,"alert",t.notification.status),e(n,11,0,t.notification.details)}),(function(e,n){var t=n.component;e(n,0,0,t.state),e(n,6,0,t.maxWidth),e(n,7,0,l["ɵunv"](n,7,0,e(n,8,0,l["ɵnov"](n.parent,0),t.notification.status))),e(n,9,0,t.notification.message)}))}function bn(e){return l["ɵvid"](0,[l["ɵpid"](0,o.TitleCasePipe,[]),(e()(),l["ɵand"](16777216,null,null,1,null,vn)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,n.component.notification)}),null)}var _n=t(130),yn=t(189),wn=t(22),Cn=t(148),xn=t(23);t.d(n,"a",(function(){return nt}));var On=l["ɵcrt"]({encapsulation:2,styles:[[".chatBoard-wrapper{background-color:#f2f1ed;border-radius:5px;max-width:90rem;overflow:hidden;left:40%;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53);position:relative!important;left:0!important;top:0!important;margin-top:0!important}@media (min-width:750px){.chatBoard-wrapper{height:90%;max-height:82rem;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}}@media (min-width:1200px){.chatBoard-wrapper.loan{min-width:120rem}}.chatBoard-wrapper.loan .loanRequestBlock{border-radius:5px;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px 0 rgba(0,0,0,.5)}.chatBoard-wrapper.loan .loanRequestBlock .loanSearch{font-size:2rem;font-family:LatoWeb;color:#584d34;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:4px 1rem 4px 0}@media (min-width:751px){.chatBoard-wrapper.loan .loanRequestBlock .loanSearch{padding:10px 1rem}}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan{background-color:#fff;height:100%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request{border-bottom:1px solid #bdb7a8;height:auto}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-img{padding-bottom:28%;background-size:cover!important}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info{background-color:#fff}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .cost{width:50%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .cost span{display:block;width:100%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .cost span:first-child{font-size:2rem}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .percent{width:40%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .percent span:first-child{font-size:1.7rem;color:#3e8dab}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .daysLeft{width:10%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .progress-bar{background-color:#ff6500}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info{padding:1rem;font-family:LatoWeb;font-size:1.5rem;border-bottom:1px solid #fff;background-color:#f2f1ed}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info .eye{background-color:#ff6500;position:absolute;display:none;width:55px;height:calc(100% + 2px);top:-1px;left:-56px}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info.view{position:relative;width:90%;left:55px;border:1px solid #bdb7a8}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info.view .eye{display:block;font-size:3rem;text-align:center;color:#fff}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info span{color:#584d34}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info span:first-child{color:rgba(88,77,52,.44);margin-right:1rem;max-width:60px;width:100%;display:block;float:left}@media (max-width:600px){.chatBoard-wrapper.loan{overflow:hidden;min-width:100%}}@media (max-width:1350px){.chatBoard-wrapper{top:50%;left:50%}}@media (max-width:600px){.chatBoard-wrapper{width:100%;overflow:scroll}}.chatBoard-wrapper .container-fluid{padding-left:0;padding-right:0}.chatBoard-wrapper .loanForm{margin:3rem;background-color:#fff;-webkit-box-shadow:3px 3px 10px 0 #7b6f51;box-shadow:3px 3px 10px 0 #7b6f51}@media (max-width:650px){.chatBoard-wrapper .loanForm{height:100%;overflow:scroll}}.chatBoard-wrapper .loanForm .formWrapper{width:100%;position:relative;height:100%;max-height:120px}.chatBoard-wrapper .loanForm .formWrapper .loanTitle{width:50%;height:100%;max-width:250px;font-size:2.5rem;font-family:LatoWeb;font-weight:700;color:#7b6f51;position:relative}.chatBoard-wrapper .loanForm .formWrapper .loanTitle p{position:absolute;top:50%;left:70%;width:100%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.chatBoard-wrapper .loanForm .loanDocs{padding:0 3rem;color:#584d34;font-size:1.3rem;font-family:LatoWeb}.chatBoard-wrapper .loanForm .loanDocs table{border-top:1px solid rgba(123,111,81,.29);width:100%;padding:1rem 0;margin:1rem 0}.chatBoard-wrapper .loanForm .loanDocs table tr{margin:.5rem auto}.chatBoard-wrapper .loanForm .loanDocs table span{font-weight:700;width:100%}.chatBoard-wrapper .loanForm .main-logo{position:absolute;background:transparent url(/assets/img/1.png) no-repeat 50%;border:0;height:60px;right:4rem;width:64px;cursor:pointer;float:left;top:20%}.chatBoard-wrapper .loanForm .main-logo p{text-transform:uppercase;color:#7b6f51;font-family:LatoWeb;font-weight:700;font-size:2rem;position:absolute;bottom:-2.5rem;left:0}.chatBoard-wrapper .loanDocsWrapper{overflow:auto;max-height:80rem}.actions-wrapper{height:100%;background-color:#dfded8}.actions-wrapper .action-title{padding:1.5rem;background-color:#d4d0c6}.actions-wrapper button{margin:2rem auto;width:80%;display:block}@media (max-width:650px){.actions-wrapper button{width:50%}}.left-bar .menu-bar-wrapper .user-icon{background:transparent url(/assets/img/5.png) no-repeat 50%;position:relative}.left-bar .menu-bar-wrapper .user-icon .notification{position:absolute;top:14%;right:-29%;padding:.3rem .5rem;background-color:#ff6500;border-radius:44%;font-size:1.2rem;color:#fff;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.rotate-180{-webkit-transform:rotate(180deg)!important;-ms-transform:rotate(180deg)!important;transform:rotate(180deg)!important}.start-logo{width:54px;height:57px;background-size:contain!important}@media only screen and (max-width:750px){.static-bar{position:absolute;left:-100%!important}.static-bar .left-bar{z-index:3;-webkit-transition:left .4s;-o-transition:left .4s;transition:left .4s}.static-bar .left-bar .menu-bar-wrapper{-webkit-transition:none!important;-o-transition:none!important;transition:none!important}.static-bar .board{z-index:4;-webkit-transition:left .4s;-o-transition:left .4s;transition:left .4s}.static-bar .board,.static-bar .left-bar{position:absolute;width:100%!important;left:-100%}.static-bar .toggle-view-wrapper{display:none;position:absolute;height:25px;width:60px;background:rgba(0,0,0,.27);border-radius:25px;bottom:2px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:6px;z-index:5}.static-bar .toggle-view-wrapper .point{height:8px;width:8px;border-radius:15px;background:hsla(0,0%,100%,.45098039215686275)}.static-bar.active{left:0!important}.static-bar.active .left-bar{left:0;opacity:1}.static-bar.active .toggle-view-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.static-bar.active .toggle-view-wrapper .point:first-child{background:hsla(0,0%,100%,.45098039215686275)}.static-bar.active .toggle-view-wrapper .point:last-child{background:#fff}.static-bar.active.active-board .left-bar{left:-10%;-webkit-transition:opacity 70ms;-o-transition:opacity 70ms;transition:opacity 70ms;opacity:0}.static-bar.active.active-board .board{left:0;opacity:1}.static-bar.active.active-board .toggle-view-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.static-bar.active.active-board .toggle-view-wrapper .point:first-child{background:#fff}.static-bar.active.active-board .toggle-view-wrapper .point:last-child{background:hsla(0,0%,100%,.45098039215686275)}}.left-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.left-bar .menu-bar-wrapper .user-icon.action{background:transparent url(/assets/img/5.png) no-repeat 50%;color:#ff6500}.left-bar .menu-bar-wrapper .user-icon.action .cell{font-size:2.5rem;font-weight:600;display:table-cell;text-align:center;vertical-align:middle}.register-wrapper form .form-group .flag-container{height:35px}.message-wrapper .message a{font-family:LatoWebBold,serif;color:#473c23}div[login]{top:0;position:relative;width:100%}@media only screen and (max-width:750px){div[login]{padding:0}}.page-header{display:none}@media (max-width:750px){.page-header{display:-webkit-box;display:-ms-flexbox;display:flex}}.wrapper .container-fluid .row{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wrapper .container-fluid .user-icon{border:2px solid #fff;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px 0 rgba(0,0,0,.5)}.wrapper .page-content-block{width:100%!important;overflow-x:auto;overflow-y:hidden;z-index:1;height:100%}@media only screen and (max-width:450px){.wrapper .page-content-block{overflow:hidden}}.wrapper .page-content-block::-webkit-scrollbar{width:8px;height:8px}.wrapper .page-content-block::-webkit-scrollbar-track{-webkit-box-shadow:unset;box-shadow:unset;border-radius:0;background:#645a43}.wrapper .page-content-block::-webkit-scrollbar-thumb{border-radius:4px;background:#ff6500;-webkit-box-shadow:unset;box-shadow:unset}.wrapper .page-content-block::-webkit-scrollbar-thumb:window-inactive{background:#ff6500}.wrapper .page-content-block.z-111{z-index:111}.wrapper .page-content-block.deal-view{width:100%!important}@media (max-width:750px){.wrapper .static-bar{-webkit-transition:left .5s;-o-transition:left .5s;transition:left .5s}.wrapper:not(.nav-closed) .static-bar{left:0}.wrapper .widget{max-height:100%}.wrapper .widget .widget-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:2rem}}.wrapper.nav-closed .static-bar .board,.wrapper.nav-closed .static-bar .user-icon.active:after{display:none}.wrapper.nav-closed .content-page .chatBoard-wrapper .container-fluid{padding-right:14px}@media (max-width:750px){.wrapper.nav-closed .static-bar{left:-10000px;position:absolute}.wrapper.nav-closed .page-content-block{width:100%}.wrapper.nav-closed .page-content-block .chatBoard-wrapper{top:0;left:0;bottom:0;height:100%;overflow:hidden}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter{height:100%;overflow:hidden}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter .page-header{width:100%;height:50px;background-color:#ff6500;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:2rem;font-size:2rem}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter .page-header i,.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter .page-header p{color:#fff}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter>.col-sm-8{height:calc(90% - 50px);overflow:auto;position:absolute;top:50px;left:0}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter>.col-sm-8 .loanForm{margin-left:0;margin-right:0}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter>.loanRequestBlock{height:100%}.wrapper.nav-closed .page-content-block .chatBoard-wrapper .row.no-gutter>.loanRequestBlock .wrapperLoan{height:calc(90% - 60px);overflow:auto}}.wrapper .cookie-alert-box-wraper{position:absolute;top:0;left:0;right:0;background:rgba(0,0,0,.7);z-index:1000}.wrapper .cookie-alert-box-wraper .cookie-alert-box{padding:20px 30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}@media only screen and (max-width:750px){.wrapper .cookie-alert-box-wraper .cookie-alert-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.wrapper .cookie-alert-box-wraper .cookie-alert-box .cookie-notifier{font-size:11pt;line-height:16pt;color:#fff!important;padding-bottom:5px}.wrapper .cookie-alert-box-wraper .cookie-alert-box .cookie-action{width:300px;margin-left:50px}@media only screen and (max-width:750px){.wrapper .cookie-alert-box-wraper .cookie-alert-box .cookie-action{margin-left:0}}.wrapper .cookie-alert-box-wraper .cookie-alert-box .cookie-action .proceed-btn{width:100%!important}.request{padding:1rem 1.5rem;background-color:#fff;font-size:1.5rem;font-family:LatoWeb}.progress-bar{background-color:#3e8dab;height:3px;position:absolute;bottom:-1.5px;left:0}.loan-request{min-height:10rem;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.loan-request .loan-request-wrapper{width:100%}.loan-request .loan-request-wrapper .loan-img{background:url(/assets/img/house.jpg) no-repeat;width:100%;max-width:10rem;max-height:10rem;float:left;padding-bottom:26%;background-repeat:no-repeat;background-size:cover;background-position:50%}@media (max-width:750px){.loan-request .loan-request-wrapper .loan-img{padding-bottom:40%;float:none;max-height:none;max-width:none}}.loan-request .loan-request-wrapper .loan-info{width:calc(100% - 10rem);float:right;background-color:#f2f1ed;min-height:10rem;height:100%;color:#584d34;font-family:LatoWeb}@media (max-width:750px){.loan-request .loan-request-wrapper .loan-info{width:100%}}.loan-request .loan-request-wrapper .loan-info .loan-terms,.loan-request .loan-request-wrapper .loan-info .loanLocation,.loan-request .loan-request-wrapper .loan-info .loanSpec{padding:1rem;display:-webkit-box;display:-ms-flexbox;display:flex}.loan-request .loan-request-wrapper .loan-info .loan-terms{padding:.5rem 0;border-bottom:1px solid rgba(123,111,81,.43);margin:0 1rem;border-top:1px solid rgba(123,111,81,.43);position:relative}.loan-request .loan-request-wrapper .loan-info .loan-terms div{width:20%;float:left;border-right:1px solid rgba(123,111,81,.43)}.loan-request .loan-request-wrapper .loan-info .loan-terms div:first-child{width:40%}.loan-request .loan-request-wrapper .loan-info .loan-terms div.daysLeft,.loan-request .loan-request-wrapper .loan-info .loan-terms div:last-child{border-right:none}.loan-request .loan-request-wrapper .loan-info .loan-terms .date span,.loan-request .loan-request-wrapper .loan-info .loan-terms .daysLeft span,.loan-request .loan-request-wrapper .loan-info .loan-terms .percent span{width:100%;float:left;font-family:LatoWeb;text-align:center}.loan-request .loan-request-wrapper .loan-info .loanLocation span{width:25%;float:left}.loan-request .loan-request-wrapper .loan-info .loanLocation span.country{width:50%;text-align:right}.static-bar{display:-webkit-box;display:-ms-flexbox;display:flex}.static-bar .board .notification-board{top:0}.static-bar .board .notification-board .msg-template /deep/ .message-wrapper{margin:2rem auto!important}.static-bar .board .notification-board .msg-template /deep/ .message-wrapper .message-time{padding:0 1rem 0 3rem!important}.static-bar .board .notification-board .msg-template /deep/ .message-wrapper .message{margin:2.5rem auto 1.5rem}.static-bar .board .notification-board .msg-template .message-text{padding:.5rem 2rem 0 3rem!important}.static-bar .board .notification-board .msg-template .message-text .pb0{padding-bottom:0!important}.static-bar .board .notification-board .msg-template short-widget-long-form{display:block;padding:0 2rem 0 3rem}.static-bar .board .notification-board .msg-template short-widget-long-form /deep/ .short-widget-template{padding:5px 0 0;overflow:visible}.static-bar .board .notification-board .msg-template short-widget-long-form /deep/ .header{text-align:left}.static-bar .board .notification-board .message-text.chart{padding:15px 5rem 2rem 3rem}.static-bar .board .notification-board .notification-section{opacity:0;-webkit-transition:opacity .7s;-o-transition:opacity .7s;transition:opacity .7s}.static-bar .board .notification-board .notification-section.active{opacity:1}.static-bar .board .notification-board .blank-section{padding:0;opacity:0;-webkit-transition:opacity .7s;-o-transition:opacity .7s;transition:opacity .7s;max-height:0}.static-bar .board .notification-board .blank-section.active{opacity:1;padding:10px 39px}.static-bar .board .notification-board .blank-section .blank-message{padding:12px 0}.static-bar .board .notification-board .blank-section .blank-message>*{width:80%;border-radius:15px;height:15px;margin:10px 0;background-color:#d6d5d2}.static-bar .board .notification-board .blank-section .blank-message>:first-child,.static-bar .board .notification-board .blank-section .blank-message>:last-child{width:100%}.static-bar .board .notification-board-preloader{position:absolute;top:55px;bottom:0;left:0;right:0;background:hsla(0,0%,100%,.47058823529411764);z-index:-1}.static-bar .board .notification-board-preloader.active{z-index:3}.static-bar .board .notification-board-preloader .fa-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#615640}.static-bar .left-bar{width:80px;min-width:80px;-webkit-transition:.4s .15s;-o-transition:.4s .15s;transition:.4s .15s}.static-bar .left-bar .open-bar{width:320px}@media only screen and (max-width:450px){.static-bar .left-bar .open-bar{width:100%}}.static-bar .left-bar .open-bar:hover{cursor:pointer}.static-bar .left-bar .open-bar .version-wrapper{position:relative;margin-left:10px;height:100%;width:100%}.static-bar .left-bar .open-bar .version-wrapper>span{color:#968865;position:absolute;top:50%;left:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);white-space:nowrap;-webkit-transition:opacity 50ms .15s;-o-transition:opacity 50ms .15s;transition:opacity 50ms .15s}.static-bar .left-bar .open-bar .version-wrapper>span:first-child{opacity:0}.static-bar .left-bar .open-bar .version-wrapper>span:last-child{opacity:1}.static-bar .left-bar.pinned,.static-bar .left-bar:hover{width:320px;min-width:320px}.static-bar .left-bar.pinned .menu-bar-wrapper .labels-wrapper,.static-bar .left-bar.pinned .open-bar .version-wrapper>span:first-child,.static-bar .left-bar:hover .menu-bar-wrapper .labels-wrapper,.static-bar .left-bar:hover .open-bar .version-wrapper>span:first-child{opacity:1}.static-bar .left-bar.pinned .open-bar .version-wrapper>span:last-child,.static-bar .left-bar:hover .open-bar .version-wrapper>span:last-child{opacity:0}.static-bar .left-bar.fixed{width:80px;min-width:80px}.static-bar .left-bar .menu-bar-wrapper{background-color:#584d34;width:320px}@media only screen and (max-width:450px){.static-bar .left-bar .menu-bar-wrapper{width:100%}}.static-bar .left-bar .menu-bar-wrapper .labels-wrapper{opacity:0;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}@media only screen and (max-width:600px){.static-bar .left-bar .menu-bar-wrapper .labels-wrapper{opacity:1;-webkit-transition:none;-o-transition:none;transition:none}}.static-bar .left-bar .menu-bar-wrapper .tech-block,.static-bar .left-bar .menu-bar-wrapper .user-wrapper{overflow:auto;overflow-x:hidden}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:12px;max-height:12px;margin:10px 0}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper.sticky,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper.sticky{background-color:#574d34;position:sticky;position:-webkit-sticky;top:-1px;z-index:1}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper .label,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper .label{white-space:nowrap;margin:0 15px;font-size:10px;font-weight:700;letter-spacing:5px;text-align:center;color:#7b6f51;text-shadow:0 0 10px #584d34}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper .separate-line,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper .separate-line{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper .separate-line.first,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper .separate-line.first{min-width:80px}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper .separate-line>*,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper .separate-line>*{height:100%;width:100%}.static-bar .left-bar .menu-bar-wrapper .tech-block .separate-line-wrapper .separate-line .line-up,.static-bar .left-bar .menu-bar-wrapper .user-wrapper .separate-line-wrapper .separate-line .line-up{height:11px;border-bottom:1px solid #7b6f51}.static-bar .left-bar .menu-bar-wrapper .static-icons{max-height:calc(100% - 210px - 2rem)}.static-bar .left-bar .menu-bar-wrapper .static-icons,.static-bar .left-bar .menu-bar-wrapper .tech-block{border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:initial}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:65px;cursor:pointer}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper:hover,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper:hover{background-color:#615640}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper.no-click:hover,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper.no-click:hover{background-color:initial}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper.selected .action-icon,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper.selected .action-icon{background-color:#584d34}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper.selected .action-icon i,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper.selected .action-icon i{color:#cecbc1}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .help-icon,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .help-icon{position:unset}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .main-icon:first-child,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .main-icon:first-child{margin:0 13px;width:54px;min-width:54px}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon{margin:7.5px 15px;height:50px;width:50px;min-width:50px;border-radius:50px;border:2px solid #fff;-webkit-box-shadow:rgba(0,0,0,.8) 0 0 6px;box-shadow:0 0 6px rgba(0,0,0,.8);background-color:#cecbc1;position:relative}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon.basic,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon.basic{border:none;-webkit-box-shadow:inherit;box-shadow:inherit;background-color:inherit}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon.basic i,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon.basic i{color:#fff}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon.loan-img,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon.loan-img{background-position:50%;background-repeat:no-repeat;background-size:contain;border:2px solid #fff;-webkit-box-shadow:rgba(0,0,0,.8) 0 0 6px;box-shadow:0 0 6px rgba(0,0,0,.8)}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon.peter-matthews-icon,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon.peter-matthews-icon{background-repeat:no-repeat;background-size:contain;border:2px solid #fff}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon .notifier-wrapper,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon .notifier-wrapper{position:absolute;top:-1px;right:-2px;font-size:11px;background-color:#fd6401;color:#fff;height:14px;width:14px;border-radius:7px;opacity:0;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon .notifier-wrapper.active,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon .notifier-wrapper.active{opacity:1}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon .notifier-wrapper .notifier,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon .notifier-wrapper .notifier{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .action-icon i,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .action-icon i{font-size:4rem;float:left;width:100%;color:#584d34;text-align:center;padding:1rem 0;cursor:pointer;max-width:80px;font-size:26px}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .labels-wrapper,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .labels-wrapper{color:#fff;position:relative;font-family:LatoWeb;padding-right:15px;width:100%;max-width:75%}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .labels-wrapper .label-wrapper,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .labels-wrapper .label-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:18px}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .labels-wrapper .label-wrapper>*,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .labels-wrapper .label-wrapper>*{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .labels-wrapper .label-wrapper .label,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .labels-wrapper .label-wrapper .label{-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .labels-wrapper .label-wrapper .info,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .labels-wrapper .label-wrapper .info{font-size:10px;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;background-color:#6d6248;padding:3px 10px;border-radius:8px;white-space:nowrap}.static-bar .left-bar .menu-bar-wrapper .static-icons .action-wrapper .labels-wrapper .description,.static-bar .left-bar .menu-bar-wrapper .tech-block .action-wrapper .labels-wrapper .description{font-size:10px;white-space:nowrap}.static-bar .left-bar .menu-bar-wrapper .user-icon-scroll{overflow:auto}.static-bar .left-bar .menu-bar-wrapper .tech-block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.static-bar .left-bar .menu-bar-wrapper .tech-block.is-logged{min-height:210px;overflow:hidden}.static-bar .left-bar .menu-bar-wrapper .tech-block i{max-width:80px}.static-bar .board{min-width:39rem}@media only screen and (max-width:750px){.static-bar .board{min-width:auto!important;-webkit-box-shadow:unset;box-shadow:unset}}.wrapper{position:relative}.wrapper .notification{opacity:0;position:absolute;top:35px;left:50%;width:750px;min-height:30px;max-width:90%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);z-index:0;border-radius:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.wrapper .notification.error,.wrapper .notification.message,.wrapper .notification.warning{opacity:1;z-index:1000}.wrapper .notification.error{background:#ff9fa7}.wrapper .notification.error .point{background:red}.wrapper .notification.error .message{color:#fff}.wrapper .notification.error .original-error{background:#ffbec4}.wrapper .notification.warning{background:#fff99f}.wrapper .notification.warning .point{background:#fe0}.wrapper .notification.warning .message{color:#584d34}.wrapper .notification.warning .original-error{background:#fff99f}.wrapper .notification.message{background:#afff9f}.wrapper .notification.message .point{background:#15ff00}.wrapper .notification.message .message{color:#584d34}.wrapper .notification.message .original-error{background:#afff9f}.wrapper .notification .point{height:10px;width:10px;border-radius:50%;position:absolute;top:50%;left:15px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.wrapper .notification .message-wrapper{margin:auto 10px auto auto;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 0;width:100%}.wrapper .notification .message-wrapper .message{padding:0 15px 0 40px}.wrapper .notification .message-wrapper .original-error{background:#ffbec4;border-radius:5px;padding:5px;margin:auto;width:100%;text-align:left}video-wrapper iframe{width:100%;height:100%}.lender-items{overflow-y:auto}.video-window-wrapper{position:relative;left:20px;top:35px;height:auto!important;width:566px!important}.video-window-wrapper .close-window{position:absolute;top:-10px;right:-10px;font-size:20px;background-color:#000;color:#fff;height:20px;width:20px;text-align:center;font-size:17px;border-radius:20px;cursor:pointer}.is-approved{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.79);z-index:10}.is-approved span{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ff5900;font-family:LatoWebBold,Helvetica,sans-serif;font-size:20px;white-space:nowrap}"]],data:{animation:[{type:7,name:"openCloseAnimation",definitions:[{type:0,name:"small",styles:{type:6,styles:{opacity:0,transform:"scale(0.1) translate(-500%, 200%)"},offset:null},options:void 0},{type:0,name:"large",styles:{type:6,styles:{opacity:1,transform:"scale(1) translate(0, 0)"},offset:null},options:void 0},{type:1,expr:"small => large",animation:{type:4,styles:null,timings:"700ms ease-in"},options:null}],options:{}},{type:7,name:"showHideActionPanelIcon",definitions:[{type:1,expr:":enter",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,offset:0},offset:null},{type:6,styles:{opacity:0,offset:.4},offset:null},{type:6,styles:{opacity:1,offset:1},offset:null}]},timings:"600ms ease-out"},options:null},{type:1,expr:":leave",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:1,offset:0},offset:null},{type:6,styles:{opacity:1,offset:.5},offset:null},{type:6,styles:{opacity:0,offset:1},offset:null}]},timings:"600ms ease-out"},options:null}],options:{}},{type:7,name:"routerTransition",definitions:[{type:0,name:"hide",styles:{type:6,styles:{opacity:0,transform:"scale(0.1) translate(-500%, 0)"},offset:null},options:void 0},{type:1,expr:"* <=> hide",animation:{type:4,styles:null,timings:"500ms ease-in"},options:null},{type:1,expr:"* => *",animation:[{type:11,selector:":enter, :leave",animation:{type:6,styles:{position:"fixed"},offset:null},options:{optional:!0}},{type:11,selector:":enter",animation:{type:6,styles:{transform:"translateX(100%)"},offset:null},options:{optional:!0}},{type:2,steps:[{type:11,selector:":leave",animation:{type:9,options:null},options:{optional:!0}},{type:3,steps:[{type:11,selector:":leave",animation:[{type:6,styles:{opacity:1,transform:"scale(1) translate(0, 0)"},offset:null},{type:4,styles:{type:6,styles:{opacity:0,transform:"scale(0.1) translate(-500%, 0)"},offset:null},timings:"500ms ease-in"}],options:{optional:!0}},{type:11,selector:":enter",animation:[{type:6,styles:{opacity:0,transform:"scale(0.1) translate(-500%, 0)"},offset:null},{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1) translate(0, 0)"},offset:null},timings:"500ms ease-in"}],options:{optional:!0}}],options:null},{type:11,selector:":enter",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:null}],options:{}}]}});function Mn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["private-discussion-section",""]],null,null,null,he,oe)),l["ɵdid"](1,245760,null,0,le,[ne.a,te.a,f.a,T.a],{userAvatarUrl:[0,"userAvatarUrl"],userId:[1,"userId"],conversationId:[2,"conversationId"]},null)],(function(e,n){var t=n.component;e(n,1,0,t.user.avatar,t.user.id,t.privateConversationId)}),null)}function kn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","toggle-view-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"div",[["class","point"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"div",[["class","point"]],null,null,null,null,null))],null,null)}function An(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,[""," Loans, £"," deployed"]))],null,(function(e,n){var t=n.component;e(n,1,0,t.loanCount,t.loanSumm)}))}function Pn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,[""," Loans, £"," deployed"]))],null,(function(e,n){var t=n.component;e(n,1,0,t.loanCount,t.loanSumm)}))}function Sn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","action-wrapper no-click"]],[[24,"@showHideActionPanelIcon",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.showActionPanel(t)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"a",[["class","action-icon loan-img"]],[[4,"background-image",null]],null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,5,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](5,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,Pn)),l["ɵdid"](7,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,7,0,!!t.loanCount&&!!t.user)}),(function(e,n){var t=n.component;e(n,0,0,void 0),e(n,1,0,t.actionPanelPoint.logo),e(n,5,0,t.actionPanelPoint.label)}))}function Rn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,39,"div",[["class","lender-items"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,12,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,["./","full-dealflow"])&&l),l}),null,null)),l["ɵdid"](2,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpad"](3,2),l["ɵpod"](4,{selected:0}),(e()(),l["ɵeld"](5,0,null,null,3,"div",[["class","action-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,0,"i",[["class","fa fa-th-list"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,1,"div",[["class","notifier-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,0,"span",[["class","notifier"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,4,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](11,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Dealflow"])),(e()(),l["ɵeld"](13,0,null,null,0,"span",[["class","description"]],null,null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,12,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,["./","hot-bot","setup"])&&l),l}),null,null)),l["ɵdid"](15,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpad"](16,3),l["ɵpod"](17,{selected:0}),(e()(),l["ɵeld"](18,0,null,null,3,"div",[["class","action-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,0,"i",[["class","fa fa-cogs"]],null,null,null,null,null)),(e()(),l["ɵeld"](20,0,null,null,1,"div",[["class","notifier-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](21,0,null,null,0,"span",[["class","notifier"]],null,null,null,null,null)),(e()(),l["ɵeld"](22,0,null,null,4,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["List of Hot/Bots"])),(e()(),l["ɵeld"](26,0,null,null,0,"span",[["class","description"]],null,null,null,null,null)),(e()(),l["ɵeld"](27,0,null,null,12,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,["./","loans","to-be-accepted"])&&l),l}),null,null)),l["ɵdid"](28,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpad"](29,3),l["ɵpod"](30,{selected:0}),(e()(),l["ɵeld"](31,0,null,null,3,"div",[["class","action-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](32,0,null,null,0,"i",[["class","fa fa-clock-o"]],null,null,null,null,null)),(e()(),l["ɵeld"](33,0,null,null,1,"div",[["class","notifier-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](34,0,null,null,0,"span",[["class","notifier"]],null,null,null,null,null)),(e()(),l["ɵeld"](35,0,null,null,4,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](36,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](37,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["To Be Accepted"])),(e()(),l["ɵeld"](39,0,null,null,0,"span",[["class","description"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,2,0,"action-wrapper",e(n,4,0,t.isActionSelect(e(n,3,0,"./","full-dealflow"),!0))),e(n,15,0,"action-wrapper",e(n,17,0,t.isActionSelect(e(n,16,0,"./","hot-bot","setup"),!0))),e(n,28,0,"action-wrapper",e(n,30,0,t.isActionSelect(e(n,29,0,"./","loans","to-be-accepted"),!0)))}),null)}function In(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","action-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,4,"div",[["class","notifier-wrapper"]],null,null,null,null,null)),l["ɵdid"](3,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](4,{active:0}),(e()(),l["ɵeld"](5,0,null,null,1,"span",[["class","notifier"]],null,null,null,null,null)),(e()(),l["ɵted"](6,null,["",""]))],(function(e,n){e(n,3,0,"notifier-wrapper",e(n,4,0,!!n.parent.context.$implicit.notifier))}),(function(e,n){e(n,1,0,l["ɵinlineInterpolate"](1,"fa ",n.parent.context.$implicit.faIcon,"")),e(n,6,0,n.parent.context.$implicit.notifier)}))}function En(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","info"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.parent.context.$implicit.info)}))}function Nn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.parent.context.$implicit.description)}))}function Tn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,12,"div",[["class","action-wrapper"]],[[8,"id",0]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,e.context.$implicit.route)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{selected:0}),(e()(),l["ɵand"](16777216,null,null,1,null,In)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](5,0,null,null,7,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,4,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](8,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,En)),l["ɵdid"](10,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Nn)),l["ɵdid"](12,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,1,0,"action-wrapper",e(n,2,0,t.isActionSelect(n.context.$implicit.route,!0))),e(n,4,0,t.user),e(n,10,0,!!n.context.$implicit.info),e(n,12,0,!!n.context.$implicit.info)}),(function(e,n){e(n,0,0,n.context.$implicit.id),e(n,8,0,n.context.$implicit.label)}))}function Dn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"div",[["class","separate-line-wrapper sticky"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","separate-line first"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"div",[["class","line-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,0,"div",[["class","line-down"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,2,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["FAVOURITES"])),(e()(),l["ɵeld"](7,0,null,null,2,"div",[["class","separate-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,0,"div",[["class","line-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,0,"div",[["class","line-down"]],null,null,null,null,null))],null,null)}function Vn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","info"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.parent.context.$implicit.info)}))}function Fn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,15,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,e.context.$implicit.route)&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,6,"div",[["class","action-icon basic loan-img"]],[[4,"background-image",null]],null,null,null,null)),l["ɵpid"](131072,o.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵeld"](3,0,null,null,4,"div",[["class","notifier-wrapper"]],null,null,null,null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](5,{active:0}),(e()(),l["ɵeld"](6,0,null,null,1,"span",[["class","notifier"]],null,null,null,null,null)),(e()(),l["ɵted"](7,null,["",""])),(e()(),l["ɵeld"](8,0,null,null,7,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,4,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](11,null,["",""])),(e()(),l["ɵand"](16777216,null,null,1,null,Vn)),l["ɵdid"](13,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](14,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(e()(),l["ɵted"](15,null,["",""]))],(function(e,n){e(n,4,0,"notifier-wrapper",e(n,5,0,!!n.context.$implicit.notifier)),e(n,13,0,!!n.context.$implicit.info)}),(function(e,n){e(n,1,0,l["ɵunv"](n,1,0,l["ɵnov"](n,2).transform(n.context.$implicit.faIcon))),e(n,7,0,n.context.$implicit.notifier),e(n,11,0,n.context.$implicit.label),e(n,15,0,n.context.$implicit.description)}))}function Ln(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,17,"div",[["class","user-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,9,"div",[["class","separate-line-wrapper sticky"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,2,"div",[["class","separate-line first"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,0,"div",[["class","line-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,0,"div",[["class","line-down"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,2,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["DEALS"])),(e()(),l["ɵeld"](8,0,null,null,2,"div",[["class","separate-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,0,"div",[["class","line-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](10,0,null,null,0,"div",[["class","line-down"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,2,null,Tn)),l["ɵdid"](12,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),l["ɵpid"](0,me,[]),(e()(),l["ɵand"](16777216,null,null,1,null,Dn)),l["ɵdid"](15,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Fn)),l["ɵdid"](17,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,12,0,l["ɵunv"](n,12,0,l["ɵnov"](n,13).transform(t.actions))),e(n,15,0,!!t.favorites&&t.favorites.length>0),e(n,17,0,t.favorites)}),null)}function qn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goTo(t,["./","profile"])&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","action-icon"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,0,"i",[["class","fa fa-cog"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,3,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Settings and Profile"]))],null,null)}function Bn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","action-icon basic"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"i",[["class","fa fa-sign-out"]],null,null,null,null,null))],null,null)}function jn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.logout()&&l),l}),null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Bn)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](3,0,null,null,3,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Logout"]))],(function(e,n){e(n,2,0,n.component.user)}),null)}function $n(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","request"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You requested a loan with the following parameters."])),(e()(),l["ɵeld"](4,0,null,null,1,"loan-short-widget",[],null,[[null,"onSelectLoan"]],(function(e,n,t){var l=!0;return"onSelectLoan"===n&&(l=!1!==e.component.selectLoan(t)&&l),l}),ve.b,ve.a)),l["ɵdid"](5,638976,null,0,be.a,[_e.a,w.n,C.DomSanitizer,w.a,te.a],{loan:[0,"loan"],isSingle:[1,"isSingle"],showOffers:[2,"showOffers"]},{onSelectLoan:"onSelectLoan"})],(function(e,n){e(n,5,0,n.component.loan,!0,!1)}),null)}function Un(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,0,"div",[["class","message-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,n){e(n,0,0,n.parent.parent.context.$implicit.content)}))}function Gn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"short-widget-long-form",[],null,null,null,ye.b,ye.a)),l["ɵdid"](1,49152,null,0,we.a,[C.DomSanitizer,x.a,w.n,_e.a,te.a,Ce.a,xe.a],{options:[0,"options"],size:[1,"size"],isFakeObject:[2,"isFakeObject"]},null)],(function(e,n){e(n,1,0,n.parent.parent.parent.context.$implicit.data,171,!0)}),null)}function zn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"bar-chart",[],null,null,null,Se,Me)),l["ɵdid"](1,12697600,null,0,Oe.a,[l.ElementRef],{barChartParams:[0,"barChartParams"]},null)],(function(e,n){e(n,1,0,n.parent.parent.parent.context.$implicit.data)}),null)}function Wn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,5,"div",[],null,null,null,null,null)),l["ɵdid"](2,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Gn)),l["ɵdid"](4,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,zn)),l["ɵdid"](6,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(e,n){e(n,2,0,n.parent.parent.context.$implicit.component),e(n,4,0,"ShortWidgetLongFormComponent"),e(n,6,0,"BarChartComponent")}),null)}function Hn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Un)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Wn)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,"5"!==n.parent.context.$implicit.type),e(n,4,0,"5"===n.parent.context.$implicit.type&&!n.parent.context.$implicit.error)}),null)}function Yn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"short-widget-long-form",[],null,null,null,ye.b,ye.a)),l["ɵdid"](1,49152,null,0,we.a,[C.DomSanitizer,x.a,w.n,_e.a,te.a,Ce.a,xe.a],{options:[0,"options"],size:[1,"size"],isFakeObject:[2,"isFakeObject"]},null)],(function(e,n){e(n,1,0,n.component.getWidgetOptions(n.parent.context.$implicit.content),180,!0)}),null)}function Kn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"div",[["class","message-text"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,3,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,3).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](3,671744,null,0,w.o,[w.n,w.a,o.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](4,1),(e()(),l["ɵted"](-1,null,["Go to page"]))],(function(e,n){e(n,3,0,e(n,4,0,n.parent.context.$implicit.url))}),(function(e,n){e(n,2,0,l["ɵnov"](n,3).target,l["ɵnov"](n,3).href)}))}function Jn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["lender-chart",""]],null,null,null,Re.b,Re.a)),l["ɵdid"](1,12697600,null,0,Ie.a,[xe.a,Ee.a,l.ElementRef,_e.a],{setParameters:[0,"setParameters"]},null)],(function(e,n){e(n,1,0,n.parent.context.$implicit.parameters)}),null)}function Qn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,11,"div",[["class","msg-template"]],null,null,null,E,M)),l["ɵdid"](1,245760,null,0,y.a,[w.n,C.DomSanitizer,x.a,l.ChangeDetectorRef,O.a,l.ChangeDetectorRef],{onboardMessage:[0,"onboardMessage"]},null),(e()(),l["ɵeld"](2,0,null,0,5,"div",[],null,null,null,null,null)),l["ɵdid"](3,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Hn)),l["ɵdid"](5,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Yn)),l["ɵdid"](7,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,0,1,null,Kn)),l["ɵdid"](9,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,0,1,null,Jn)),l["ɵdid"](11,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,1,0,n.context.$implicit),e(n,3,0,t.isJsonMsgContent(n.context.$implicit.content)),e(n,5,0,!1),e(n,7,0,!0),e(n,9,0,n.context.$implicit.url),e(n,11,0,n.context.$implicit.hasChart)}),null)}function Zn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,[[2,0],["board",1]],null,22,"div",[["class","board"]],[[2,"deal",null]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,10,"div",[["class","welcome-board"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,7,"div",[["class","board-header"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,3,"div",[["class","header-icon"]],[[2,"user-icon",null],[4,"background-image",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goToProfile(t)&&l),l}),null,null)),l["ɵdid"](4,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](5,{"start-logo":0}),l["ɵpid"](131072,o.AsyncPipe,[l.ChangeDetectorRef]),(e()(),l["ɵeld"](7,0,null,null,2,"div",[["class","header-desc"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](9,null,["Welcome ",""])),(e()(),l["ɵand"](16777216,null,null,1,null,$n)),l["ɵdid"](11,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](12,0,null,null,3,"div",[["class","notification-board-preloader"]],null,null,null,null,null)),l["ɵdid"](13,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](14,{active:0}),(e()(),l["ɵeld"](15,0,null,null,0,"i",[["class","fa fa-spinner fa-spin spinner fa-4x"]],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,6,"div",[["class","notification-board"],["scroll-up",""]],[[2,"has-loan",null]],[[null,"scroll"]],(function(e,n,t){var o=!0;return"scroll"===n&&(o=!1!==l["ɵnov"](e,18).scrolling(t)&&o),o}),null,null)),l["ɵdid"](17,81920,null,0,Ne.a,[l.ElementRef,Te.a],{offset:[0,"offset"]},null),l["ɵdid"](18,16384,null,0,De.a,[],{doWork:[0,"doWork"]},null),(e()(),l["ɵeld"](19,0,null,null,1,"help-message-board",[],null,[[null,"openVideo"]],(function(e,n,t){var l=!0;return"openVideo"===n&&(l=!1!==(!!t&&e.component.openVideoWindow())&&l),l}),an,$e)),l["ɵdid"](20,114688,[[1,4]],0,Ve.a,[w.n,w.a,te.a,Fe.a,Le.a,l.NgZone,qe.a,Be.a,_e.a,l.ChangeDetectorRef,je.a],null,{openVideo:"openVideo"}),(e()(),l["ɵand"](16777216,null,null,1,null,Qn)),l["ɵdid"](22,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,4,0,"header-icon",e(n,5,0,t.isStartLogo)),e(n,11,0,t.isShowLoan&&!!t.loan),e(n,13,0,"notification-board-preloader",e(n,14,0,t.isWorkingMessageRequest)),e(n,17,0,""),e(n,18,0,t.downloadNextMessages.bind(t)),e(n,20,0),e(n,22,0,t.onboardingMessages)}),(function(e,n){var t=n.component;e(n,0,0,t.isDealView),e(n,3,0,!t.isStartLogo,l["ɵunv"](n,3,1,l["ɵnov"](n,6).transform(t.userAvatar))),e(n,9,0,t.getUsername()),e(n,16,0,!!t.loan)}))}function Xn(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","is-approved"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your account is pending approval"]))],null,null)}function et(e){return l["ɵvid"](0,[l["ɵqud"](671088640,1,{helpBoard:0}),l["ɵqud"](671088640,2,{boardRef:0}),(e()(),l["ɵeld"](2,0,null,null,69,"div",[["class","wrapper layout-template"],["ix-swipe",""]],[[2,"nav-closed",null],[4,"background-color",null]],[[null,"onSwipeLeft"],[null,"onSwipeRight"]],(function(e,n,t){var l=!0,o=e.component;return"onSwipeLeft"===n&&(l=!1!==o.swipeLeft()&&l),"onSwipeRight"===n&&(l=!1!==o.swipeRight()&&l),l}),null,null)),l["ɵdid"](3,16384,null,0,dn,[l.ElementRef,xe.a,l.NgZone],null,{onSwipeLeft:"onSwipeLeft",onSwipeRight:"onSwipeRight"}),(e()(),l["ɵeld"](4,0,null,null,67,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,66,"div",[["class","row col-wrap"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Mn)),l["ɵdid"](7,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](8,0,null,null,54,"div",[["class","static-bar"]],null,null,null,null,null)),l["ɵdid"](9,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](10,{active:0}),l["ɵdid"](11,212992,null,0,cn.a,[l.ElementRef,l.Renderer2,Fe.a],{field:[0,"field"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,kn)),l["ɵdid"](13,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](14,0,null,null,46,"div",[["class","left-bar"]],null,null,null,null,null)),l["ɵdid"](15,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](16,{pinned:0,fixed:1}),(e()(),l["ɵeld"](17,0,null,null,6,"div",[["class","open-bar"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.toggleNav()&&l),l}),null,null)),(e()(),l["ɵeld"](18,0,null,null,2,"span",[["class","version-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](19,0,null,null,1,"span",[["class","version"]],null,null,null,null,null)),(e()(),l["ɵted"](20,null,["[","]"])),(e()(),l["ɵeld"](21,0,null,null,2,"span",[["class","icon-double-right arrow"]],null,null,null,null,null)),l["ɵdid"](22,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](23,{"rotate-180":0}),(e()(),l["ɵeld"](24,0,null,null,36,"div",[["class","menu-bar-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](25,0,null,null,14,"div",[["class","static-icons"]],null,null,null,null,null)),(e()(),l["ɵeld"](26,0,null,null,7,"div",[["class","action-wrapper no-click"]],null,null,null,null,null)),(e()(),l["ɵeld"](27,0,null,null,0,"a",[["class","main-icon start-logo"]],[[4,"background-image",null]],null,null,null,null)),(e()(),l["ɵeld"](28,0,null,null,5,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](29,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](30,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your Dashboard"])),(e()(),l["ɵand"](16777216,null,null,1,null,An)),l["ɵdid"](33,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Sn)),l["ɵdid"](35,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Rn)),l["ɵdid"](37,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ln)),l["ɵdid"](39,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](40,0,null,null,0,"div",[["class","user-icon-scroll"]],null,null,null,null,null)),(e()(),l["ɵeld"](41,0,null,null,19,"div",[["class","tech-block"]],null,null,null,null,null)),l["ɵdid"](42,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](43,{"is-logged":0}),(e()(),l["ɵeld"](44,0,null,null,6,"div",[["class","separate-line-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](45,0,null,null,2,"div",[["class","separate-line first"]],null,null,null,null,null)),(e()(),l["ɵeld"](46,0,null,null,0,"div",[["class","line-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](47,0,null,null,0,"div",[["class","line-down"]],null,null,null,null,null)),(e()(),l["ɵeld"](48,0,null,null,2,"div",[["class","separate-line"]],null,null,null,null,null)),(e()(),l["ɵeld"](49,0,null,null,0,"div",[["class","line-up"]],null,null,null,null,null)),(e()(),l["ɵeld"](50,0,null,null,0,"div",[["class","line-down"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,qn)),l["ɵdid"](52,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](53,0,null,null,5,"div",[["class","action-wrapper"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.goHelp()&&l),l}),null,null)),(e()(),l["ɵeld"](54,0,null,null,0,"div",[["class","help-icon action-icon basic"]],null,null,null,null,null)),(e()(),l["ɵeld"](55,0,null,null,3,"div",[["class","labels-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](56,0,null,null,2,"div",[["class","label-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](57,0,null,null,1,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Help"])),(e()(),l["ɵand"](16777216,null,null,1,null,jn)),l["ɵdid"](60,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Zn)),l["ɵdid"](62,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](63,0,null,null,6,"div",[["class","page-content-block"]],[[24,"@routerTransition",0]],[[null,"@routerTransition.done"]],(function(e,n,t){var l=!0;return"@routerTransition.done"===n&&(l=!1!==e.component.routeAnimationDone(t)&&l),l}),null,null)),l["ɵdid"](64,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](65,{"deal-view":0,"z-111":1}),(e()(),l["ɵeld"](66,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),l["ɵdid"](67,212992,null,0,w.q,[w.b,l.ViewContainerRef,l.ComponentFactoryResolver,[8,null],l.ChangeDetectorRef],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Xn)),l["ɵdid"](69,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](70,0,null,null,1,"notification",[],null,null,null,bn,gn)),l["ɵdid"](71,245760,null,0,fn,[pn.a,xe.a],null,null)],(function(e,n){var t=n.component;e(n,7,0,t.idActivePrivateDiscussion),e(n,9,0,"static-bar",e(n,10,0,t.isRootUrl)),e(n,11,0,"left"),e(n,13,0,t.user),e(n,15,0,"left-bar",e(n,16,0,t.isPinnedSidebar,t.isFixed)),e(n,22,0,"icon-double-right arrow",e(n,23,0,t.isPinnedSidebar)),e(n,33,0,!!t.loanCount&&!!t.user),e(n,35,0,"hide"==t.stateOfActionPanel),e(n,37,0,!!t.user&&"lender"===t.user.role),e(n,39,0,!!t.user),e(n,42,0,"tech-block",e(n,43,0,!!t.user)),e(n,52,0,!!t.user&&"lender"!==t.user.role),e(n,60,0,t.user),e(n,62,0,!t.isDealView),e(n,64,0,"page-content-block",e(n,65,0,t.isDealView,t.needShowVideoWindow)),e(n,67,0),e(n,69,0,!t.isApproved),e(n,71,0)}),(function(e,n){var t=n.component;e(n,2,0,t.isClosedNav,t.backgroundColor),e(n,20,0,t.buildVersion),e(n,27,0,"url(/assets/img/logo.png)"),e(n,63,0,t.routeState)}))}var nt=l["ɵccf"]("layout",_n.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"layout",[],null,null,null,et,On)),l["ɵdid"](1,12828672,null,0,_n.a,[Fe.a,qe.a,f.a,Be.a,ne.a,Ce.a,je.a,l.ChangeDetectorRef,yn.a,w.n,w.a,Ee.a,l.NgZone,xe.a,x.a,wn.a,xe.a,te.a,Cn.a,Le.a,Te.a,_e.a,xn.b],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";var l=t(0),o=t(2),r=t(1),i=t(4),a=t(14),u=t(31),s=t(111),d=t(93),c=t(11),p=t(75),f=t(92),g=t(70),h=t(20),m=t(17),v=t(19),b=function(){return(b=Object.assign||function(e){for(var n,t=1,l=arguments.length;tPlease call us on 0203 137 7630",l):n[t]&&n[t]instanceof r.NgModel&&n[t].control.setErrors(((o={})[t]=e.details[t],o))})),this.cdr.markForCheck()},e.prototype.toFinalStep=function(e){this.router.navigate(["/","lenders","full-dealflow"])},e.prototype.setDefaultUserAvatar=function(){var e=this,n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(n){e.defaultAvatar=n.target.result},t.readAsDataURL(n.response)},n.open("GET","/assets/img/default-profile.png"),n.responseType="blob",n.send()},e}(),y=t(5),w=l["ɵcrt"]({encapsulation:0,styles:[['.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-group-wrapper[_ngcontent-%COMP%]{margin:0 8px;-webkit-box-flex:0;-ms-flex:0 0 79%;flex:0 0 79%;max-width:79%}@media only screen and (max-width:600px){.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-group-wrapper[_ngcontent-%COMP%]{margin-top:10px}}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-group-wrapper.group-has-error[_ngcontent-%COMP%]{border:3px solid #ff6500;border-radius:5px;overflow:hidden}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-group-wrapper.group-has-error[_ngcontent-%COMP%] > .error-messages[_ngcontent-%COMP%]{display:block!important;background-color:#ff6500;border-bottom-left-radius:3px;border-bottom-right-radius:3px;margin-top:-3px;padding:7px 5px 5px}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-group-wrapper.group-has-error[_ngcontent-%COMP%] > .error-messages[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{color:#fff!important}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}@media only screen and (max-width:600px){.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{padding-right:8px}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{padding-left:8px}@media only screen and (max-width:600px){.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-bottom:10px}.lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .lender-register-tab-template[_ngcontent-%COMP%] .two-fields-wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{padding:0}}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.col-2.title[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.col-2.title[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .col-form-label[_ngcontent-%COMP%]{margin:0;padding:0}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%]{padding:13px 0 0;border-top:1px solid #e0ded8;margin-top:20px;margin-bottom:0}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms.has-error[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%]{border:2px solid #ff6500;border-top-left-radius:3px;border-top-right-radius:3px}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms.has-error[_ngcontent-%COMP%] > .error-messages[_ngcontent-%COMP%]{margin-top:0}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:2px 0}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:14px}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{font-family:LatoWebBold;font-size:11px;color:#ff6500}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{cursor:pointer}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%]{display:block;position:relative;cursor:pointer;font-size:22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:auto 0 auto auto;height:25px;width:25px;padding-right:25px}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee;border-radius:3px}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#fd6401}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.terms[_ngcontent-%COMP%] .terms-wrapper[_ngcontent-%COMP%] .terms-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.lender-register-tab-template[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .lender-register-tab-template[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{-webkit-box-shadow:inset 0 0 3px 0 #584d34;box-shadow:inset 0 0 3px 0 #584d34}.lender-register-tab-template[_ngcontent-%COMP%] .form-group.has-error[_ngcontent-%COMP%] > .error-messages[_ngcontent-%COMP%]{display:block!important;background-color:#ff6500;border-bottom-left-radius:3px;border-bottom-right-radius:3px;margin-top:-3px;padding:7px 5px 5px}.lender-register-tab-template[_ngcontent-%COMP%] .terms-content[_ngcontent-%COMP%]{padding-top:0;padding-left:10px;border-left:1px solid #c4c1b6;margin-top:10px;padding-right:10px;text-align:justify;max-height:200px;overflow:hidden;overflow-y:auto}.lender-register-tab-template[_ngcontent-%COMP%] .proceed[_ngcontent-%COMP%]{background-color:#f2f1ed;padding-bottom:15px}.lender-register-tab-template[_ngcontent-%COMP%] .fix-row[_ngcontent-%COMP%], .lender-register-tab-template[_ngcontent-%COMP%] .fix-row[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%], .lender-register-tab-template[_ngcontent-%COMP%] .fix-row[_ngcontent-%COMP%] .col-5[_ngcontent-%COMP%]{padding:0 7.5px}.lender-register-tab-template[_ngcontent-%COMP%] .select-wrapper-fix[_ngcontent-%COMP%] select-wrapper[_ngcontent-%COMP%] .ng-content-wrapper{padding:1px 0!important}.lender-register-tab-template[_ngcontent-%COMP%] .select-wrapper-fix[_ngcontent-%COMP%] select-wrapper[_ngcontent-%COMP%] .ng-content-wrapper input{-webkit-box-shadow:none!important;box-shadow:none!important;height:33px!important}.lender-register-tab-template[_ngcontent-%COMP%] .select-wrapper-fix[_ngcontent-%COMP%] select-wrapper[_ngcontent-%COMP%] select{color:#5e543c!important}.lender-register-tab-template[_ngcontent-%COMP%] .select-wrapper-fix.has-error[_ngcontent-%COMP%] .select-wrapper-template{border:3px solid #ff6500}.lender-register-tab-template[_ngcontent-%COMP%] .select-wrapper-fix.has-error[_ngcontent-%COMP%] input{border:none!important}.lender-register-tab-template[_ngcontent-%COMP%] .select-wrapper-fix.has-error[_ngcontent-%COMP%] .error-messages[_ngcontent-%COMP%]{margin-top:-1px}']],data:{}});function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should use only Latin symbols"]))],null,null)}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,l["ɵnov"](n.parent,17).hasError("required")),e(n,4,0,l["ɵnov"](n.parent,17).hasError("pattern"))}),null)}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["It is not valid url"]))],null,null)}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,36).errors?null:l["ɵnov"](n.parent,36).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,36).errors?null:l["ɵnov"](n.parent,36).errors.pattern)}),null)}function P(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"option",[["selected","selected"],["value",""]],null,null,null,null,null)),l["ɵdid"](1,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](2,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["-"]))],(function(e,n){e(n,1,0,""),e(n,2,0,"")}),null)}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,S)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,52)?null:l["ɵnov"](n.parent,52).errors.required)}),null)}function I(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function E(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You can use only alphabetic Latin symbols"]))],null,null)}function N(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,I)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,E)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,86)?null:l["ɵnov"](n.parent,86).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,86)?null:l["ɵnov"](n.parent,86).errors.pattern)}),null)}function T(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function D(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You can use only alphabetic Latin symbols"]))],null,null)}function V(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,T)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,D)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,102)?null:l["ɵnov"](n.parent,102).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,102)?null:l["ɵnov"](n.parent,102).errors.pattern)}),null)}function F(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,0,"div",[["class","message"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,n){e(n,1,0,n.component.errorsJSON.name)}))}function L(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function q(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should use only numeric symbols"]))],null,null)}function B(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,L)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,q)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,119).errors?null:l["ɵnov"](n.parent,119).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,119).errors?null:l["ɵnov"](n.parent,119).errors.pattern)}),null)}function j(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function $(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,null==l["ɵnov"](n.parent.parent,146).errors?null:l["ɵnov"](n.parent.parent,146).errors.username)}))}function U(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,j)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,$)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,146).errors?null:l["ɵnov"](n.parent,146).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,146).errors?null:l["ɵnov"](n.parent,146).errors.username)}),null)}function G(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function z(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["The password must be not less than 6 symbols"]))],null,null)}function W(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,G)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,z)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!(null==l["ɵnov"](n.parent,161)||null==l["ɵnov"](n.parent,161).errors||!l["ɵnov"](n.parent,161).errors.required)),e(n,4,0,!(null==l["ɵnov"](n.parent,161)||!l["ɵnov"](n.parent,161).errors.pattern))}),null)}function H(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function Y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,H)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!(null==l["ɵnov"](n.parent,175)||!l["ɵnov"](n.parent,175).errors.required))}),null)}function K(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Passwords don't match"]))],null,null)}function J(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,K)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.regModel.password!==t.regModel.confirmePassword)}),null)}function Q(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should accept terms"]))],null,null)}function Z(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should accept terms"]))],null,null)}function X(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Q)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Z)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,(null==l["ɵnov"](n.parent,197).errors?null:l["ɵnov"](n.parent,197).errors.pattern)&&!(null!=l["ɵnov"](n.parent,197).errors&&l["ɵnov"](n.parent,197).errors.required)),e(n,4,0,null==l["ɵnov"](n.parent,197).errors?null:l["ɵnov"](n.parent,197).errors.required)}),null)}function ee(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","terms-content"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Lorem ipsum dolor sit amet, adhuc hendrerit abhorreant ea sea. Vis esse tota signiferumque ei, eius docendi his ex. Usu te modo mazim veritus, verear facilisi dissentias his et, te posse audire perpetua his. Ad per natum quidam. Ex sit justo percipitur, ea mea odio posse. Quis eripuit vel ad, ad qui nulla blandit pertinax. Ea vix graecis inimicus, ad habeo deleniti vix. Verear suavitate ex quo, et mel soluta vivendum definitionem, id vim veniam liberavisse. Id aeque pericula deterruisset eam, eu vix quando labores debitis. Eos albucius expetenda in, labores efficiendi ea qui. Duo mucius nostrum insolens eu. Sit vidisse volumus intellegebat cu, augue postea similique mea eu. Sumo putent nam no, ad postea bonorum debitis mea, sed ei quidam debitis contentiones. Pro nullam veritus iracundia no, an nam consul volutpat. Meis commodo blandit cu vis, et his regione adversarium. Ei legimus apeirian complectitur sed, pri error choro alienum ex. Mei homero recusabo ea, has dicit nobis ne, eos everti hendrerit cu. Timeam labitur definitiones et usu, oratio postea sanctus ad quo, ad noster detracto conclusionemque eum. Id malis vitae vel, mei et exerci invidunt honestatis, pro periculis ocurreret delicatissimi an. Cum an numquam feugait perpetua, ex usu alia animal abhorreant, ea suavitate incorrupte eam. Te duo numquam indoctum efficiendi, ubique gubergren rationibus nam eu. Minimum iudicabit conclusionemque eu usu, ei eos habeo honestatis. Mel an nonumy regione ancillae, pri aperiri nostrud in. Per at delicata forensibus, nam no graece repudiare."]))],null,null)}function ne(e){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{username:0}),l["ɵqud"](402653184,2,{email:0}),(e()(),l["ɵeld"](2,0,null,null,208,"form",[["class","lender-register-tab-template"],["novalidate",""]],[[2,"submitted",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,4).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,4).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.register(l["ɵnov"](e,4))&&o),o}),null,null)),l["ɵdid"](3,16384,null,0,r["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](4,4210688,[["registerForm",4]],0,r.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,r.ControlContainer,null,[r.NgForm]),l["ɵdid"](6,16384,null,0,r.NgControlStatusGroup,[[4,r.ControlContainer]],null,null),(e()(),l["ɵeld"](7,0,null,null,198,"div",[["class","email-reg"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Company Name"])),(e()(),l["ɵeld"](11,0,null,null,9,"input",[["autocomplete","off"],["name","org_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,12)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,12).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,12)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,12)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.org_name=t)&&o),o}),null,null)),l["ɵdid"](12,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](13,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](14,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](17,671744,[["org_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](19,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](20,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](22,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](23,0,null,null,18,"div",[["class","form-group select-wrapper-fix"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Company Website"])),(e()(),l["ɵeld"](26,0,null,null,13,"select-wrapper",[],null,[[null,"ngOptionChanged"]],(function(e,n,t){var l=!0;return"ngOptionChanged"===n&&(l=!1!==(e.component.websiteProtocol=t)&&l),l}),a.b,a.a)),l["ɵdid"](27,114688,null,0,u.a,[],{dropdownOptions:[0,"dropdownOptions"],side:[1,"side"]},{ngOptionChanged:"ngOptionChanged"}),l["ɵpod"](28,{value:0,label:1}),l["ɵpod"](29,{value:0,label:1}),l["ɵpad"](30,2),(e()(),l["ɵeld"](31,0,null,0,8,"input",[["autocomplete","off"],["name","website_url"],["pattern","^([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$"],["type","text"]],[[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,32)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,32).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,32)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,32)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.website_url=t)&&o),o}),null,null)),l["ɵdid"](32,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](33,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](36,671744,[["website_url",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](38,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](39,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](41,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](42,0,null,null,67,"div",[["class","form-group row fix-row"]],null,null,null,null,null)),(e()(),l["ɵeld"](43,0,null,null,28,"div",[["class","form-group col-2 title"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](44,0,null,null,27,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](45,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Title "])),(e()(),l["ɵeld"](47,0,null,null,22,"select",[["name","lender_gender"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,48).onChange(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,48).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.gender=t)&&o),o}),null,null)),l["ɵdid"](48,16384,null,0,r.SelectControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](49,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.SelectControlValueAccessor]),l["ɵdid"](52,671744,[["lender_gender",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](54,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](55,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,P)),l["ɵdid"](57,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](58,0,null,null,3,"option",[["value","male"]],null,null,null,null,null)),l["ɵdid"](59,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](60,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Mr."])),(e()(),l["ɵeld"](62,0,null,null,3,"option",[["value","female"]],null,null,null,null,null)),l["ɵdid"](63,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](64,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Mrs."])),(e()(),l["ɵeld"](66,0,null,null,3,"option",[["value","single"]],null,null,null,null,null)),l["ɵdid"](67,147456,null,0,r.NgSelectOption,[l.ElementRef,l.Renderer2,[2,r.SelectControlValueAccessor]],{value:[0,"value"]},null),l["ɵdid"](68,147456,null,0,r["ɵangular_packages_forms_forms_s"],[l.ElementRef,l.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),l["ɵted"](-1,null,["Ms."])),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](71,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](72,0,null,null,37,"div",[["class","two-fields-group-wrapper"]],null,null,null,null,null)),l["ɵdid"](73,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](74,{"group-has-error":0}),(e()(),l["ɵeld"](75,0,null,null,32,"div",[["class","two-fields-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](76,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](77,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](78,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["First Name"])),(e()(),l["ɵeld"](80,0,null,null,9,"input",[["class","loanFormData"],["name","lender_first_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""],["type","text"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,81)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,81).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,81)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,81)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.first_name=t)&&o),"ngModelChange"===n&&(o=!1!==r.onNameChanged()&&o),o}),null,null)),l["ɵdid"](81,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](82,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](83,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](86,671744,[["lender_first_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](88,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](89,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,N)),l["ɵdid"](91,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](92,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](93,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](94,0,null,null,1,"label",[["class","col-form-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Last Name"])),(e()(),l["ɵeld"](96,0,null,null,9,"input",[["class","loanFormData"],["name","lender_last_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""],["type","text"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,97)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,97).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,97)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,97)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.last_name=t)&&o),"ngModelChange"===n&&(o=!1!==r.onNameChanged()&&o),o}),null,null)),l["ɵdid"](97,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](98,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](99,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](102,671744,[["lender_last_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](104,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](105,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,V)),l["ɵdid"](107,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,F)),l["ɵdid"](109,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](110,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](111,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your mobile number"])),(e()(),l["ɵeld"](113,0,null,null,9,"phone-input",[["autocomplete","off"],["name","phone"],["pattern","[\\+0-9]*"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"focused",null],[2,"filled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,n,t){var l=!0;return"ngModelChange"===n&&(l=!1!==(e.component.regModel.phone=t)&&l),l}),s.b,s.a)),l["ɵdid"](114,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](115,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵdid"](117,4308992,null,0,d.a,[[2,r.NG_VALIDATORS],[2,r.NG_ASYNC_VALIDATORS],c.a,l.ElementRef],null,null),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[d.a]),l["ɵdid"](119,671744,[["phone",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](121,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](122,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,B)),l["ɵdid"](124,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](125,0,null,null,12,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](126,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your work e-mail"])),(e()(),l["ɵeld"](128,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","email"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,129)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,129).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,129)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,129)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.email=t)&&o),"ngModelChange"===n&&(o=!1!==r.onEmailChanged()&&o),o}),null,null)),l["ɵdid"](129,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](130,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](131,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](134,671744,[[2,4],["email",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](136,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](137,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](138,0,null,null,13,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](139,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Username"])),(e()(),l["ɵeld"](141,0,null,null,8,"input",[["class","org-name"],["name","username"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,142)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,142).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,142)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,142)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.username=t)&&o),"ngModelChange"===n&&(o=!1!==r.onUsernameChanged()&&o),o}),null,null)),l["ɵdid"](142,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](143,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](146,671744,[[1,4],["username",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](148,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](149,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,U)),l["ɵdid"](151,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](152,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](153,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Password"])),(e()(),l["ɵeld"](155,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","password"],["pattern","[\\w\\'\\\"\\-_!`().~#@^*$&]{6,}"],["required",""],["type","password"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,156)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,156).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,156)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,156)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.password=t)&&o),o}),null,null)),l["ɵdid"](156,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](157,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](158,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](161,671744,[["password",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](163,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](164,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,W)),l["ɵdid"](166,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](167,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](168,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Repeat Password"])),(e()(),l["ɵeld"](170,0,null,null,8,"input",[["autocomplete","off"],["class","org-name"],["name","confirmePassword"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,171)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,171).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,171)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,171)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.confirmePassword=t)&&o),o}),null,null)),l["ɵdid"](171,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](172,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](175,671744,[["confirmePassword",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](177,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](178,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Y)),l["ɵdid"](180,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,J)),l["ɵdid"](182,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](183,0,null,null,20,"div",[["class","form-group terms"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](184,0,null,null,17,"div",[["class","terms-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](185,0,null,null,4,"div",[["class","label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Review and accept T&Cs ("])),(e()(),l["ɵeld"](187,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.openTerms(t)&&l),l}),null,null)),(e()(),l["ɵted"](-1,null,["Terms and Conditions"])),(e()(),l["ɵted"](-1,null,[")"])),(e()(),l["ɵeld"](190,0,null,null,11,"label",[["class","terms-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](191,0,null,null,9,"input",[["name","terms"],["pattern","true"],["required",""],["type","checkbox"]],[[1,"pattern",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(e,n,t){var o=!0,r=e.component;return"change"===n&&(o=!1!==l["ɵnov"](e,192).onChange(t.target.checked)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,192).onTouched()&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.terms=t)&&o),o}),null,null)),l["ɵdid"](192,16384,null,0,r.CheckboxControlValueAccessor,[l.Renderer2,l.ElementRef],null,null),l["ɵdid"](193,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵdid"](194,16384,null,0,r.CheckboxRequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.PatternValidator,r.CheckboxRequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.CheckboxControlValueAccessor]),l["ɵdid"](197,671744,[["terms",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](199,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](200,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](201,0,null,null,0,"span",[["class","checkmark"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,X)),l["ɵdid"](203,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,ee)),l["ɵdid"](205,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](206,0,null,null,4,"div",[["class","proceed"]],null,null,null,null,null)),(e()(),l["ɵeld"](207,0,null,null,3,"button",[["class","proceed-btn"],["preloader",""],["type","submit"]],null,null,null,p.b,p.a)),l["ɵdid"](208,114688,null,0,f.a,[],{isProcess:[0,"isProcess"]},null),(e()(),l["ɵeld"](209,0,null,0,1,"div",[["class","button-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Register"]))],(function(e,n){var t=n.component;e(n,13,0,""),e(n,14,0,"[a-zA-Z\\s_\\.]*"),e(n,17,0,"org_name",t.regModel.org_name),e(n,22,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,17))),e(n,27,0,e(n,30,0,e(n,28,0,"http","http://"),e(n,29,0,"https","https://")),"left"),e(n,33,0,"^([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$"),e(n,36,0,"website_url",t.regModel.website_url),e(n,41,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,36))),e(n,49,0,""),e(n,52,0,"lender_gender",t.regModel.gender),e(n,57,0,!l["ɵnov"](n,52).value),e(n,59,0,"male"),e(n,60,0,"male"),e(n,63,0,"female"),e(n,64,0,"female"),e(n,67,0,"single"),e(n,68,0,"single"),e(n,71,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,52))),e(n,73,0,"two-fields-group-wrapper",e(n,74,0,!(!t.errorsJSON||!t.errorsJSON.name||t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,86))||t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,102))))),e(n,82,0,""),e(n,83,0,"[a-zA-Z\\s_\\.]*"),e(n,86,0,"lender_first_name",t.regModel.first_name),e(n,91,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,86))),e(n,98,0,""),e(n,99,0,"[a-zA-Z\\s_\\.]*"),e(n,102,0,"lender_last_name",t.regModel.last_name),e(n,107,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,102))),e(n,109,0,!(!t.errorsJSON||!t.errorsJSON.name||t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,86))||t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,102)))),e(n,114,0,""),e(n,115,0,"[\\+0-9]*"),e(n,117,0),e(n,119,0,"phone",t.regModel.phone),e(n,124,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,119))),e(n,130,0,""),e(n,131,0,t.emailPattern),e(n,134,0,"email",t.regModel.email),e(n,143,0,""),e(n,146,0,"username",t.regModel.username),e(n,151,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,146))),e(n,157,0,""),e(n,158,0,"[\\w\\'\\\"\\-_!`().~#@^*$&]{6,}"),e(n,161,0,"password",t.regModel.password),e(n,166,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,161))),e(n,172,0,""),e(n,175,0,"confirmePassword",t.regModel.confirmePassword),e(n,180,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,175))),e(n,182,0,t.regModel.password!==t.regModel.confirmePassword&&l["ɵnov"](n,175).touched&&!t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,175))),e(n,193,0,"true"),e(n,194,0,""),e(n,197,0,"terms",t.regModel.terms),e(n,203,0,t.hasErrorInTogle(l["ɵnov"](n,4),l["ɵnov"](n,197))),e(n,205,0,t.showTerms),e(n,208,0,t.isProcess)}),(function(e,n){var t=n.component;e(n,2,0,l["ɵnov"](n,4).submitted,l["ɵnov"](n,6).ngClassUntouched,l["ɵnov"](n,6).ngClassTouched,l["ɵnov"](n,6).ngClassPristine,l["ɵnov"](n,6).ngClassDirty,l["ɵnov"](n,6).ngClassValid,l["ɵnov"](n,6).ngClassInvalid,l["ɵnov"](n,6).ngClassPending),e(n,8,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,17))),e(n,11,0,l["ɵnov"](n,13).required?"":null,l["ɵnov"](n,14).pattern?l["ɵnov"](n,14).pattern:null,l["ɵnov"](n,19).ngClassUntouched,l["ɵnov"](n,19).ngClassTouched,l["ɵnov"](n,19).ngClassPristine,l["ɵnov"](n,19).ngClassDirty,l["ɵnov"](n,19).ngClassValid,l["ɵnov"](n,19).ngClassInvalid,l["ɵnov"](n,19).ngClassPending),e(n,23,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,36))),e(n,31,0,l["ɵnov"](n,33).pattern?l["ɵnov"](n,33).pattern:null,l["ɵnov"](n,38).ngClassUntouched,l["ɵnov"](n,38).ngClassTouched,l["ɵnov"](n,38).ngClassPristine,l["ɵnov"](n,38).ngClassDirty,l["ɵnov"](n,38).ngClassValid,l["ɵnov"](n,38).ngClassInvalid,l["ɵnov"](n,38).ngClassPending),e(n,43,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,52))),e(n,47,0,l["ɵnov"](n,49).required?"":null,l["ɵnov"](n,54).ngClassUntouched,l["ɵnov"](n,54).ngClassTouched,l["ɵnov"](n,54).ngClassPristine,l["ɵnov"](n,54).ngClassDirty,l["ɵnov"](n,54).ngClassValid,l["ɵnov"](n,54).ngClassInvalid,l["ɵnov"](n,54).ngClassPending),e(n,76,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,86))),e(n,80,0,l["ɵnov"](n,82).required?"":null,l["ɵnov"](n,83).pattern?l["ɵnov"](n,83).pattern:null,l["ɵnov"](n,88).ngClassUntouched,l["ɵnov"](n,88).ngClassTouched,l["ɵnov"](n,88).ngClassPristine,l["ɵnov"](n,88).ngClassDirty,l["ɵnov"](n,88).ngClassValid,l["ɵnov"](n,88).ngClassInvalid,l["ɵnov"](n,88).ngClassPending),e(n,92,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,102))),e(n,96,0,l["ɵnov"](n,98).required?"":null,l["ɵnov"](n,99).pattern?l["ɵnov"](n,99).pattern:null,l["ɵnov"](n,104).ngClassUntouched,l["ɵnov"](n,104).ngClassTouched,l["ɵnov"](n,104).ngClassPristine,l["ɵnov"](n,104).ngClassDirty,l["ɵnov"](n,104).ngClassValid,l["ɵnov"](n,104).ngClassInvalid,l["ɵnov"](n,104).ngClassPending),e(n,110,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,119))),e(n,113,1,[l["ɵnov"](n,114).required?"":null,l["ɵnov"](n,115).pattern?l["ɵnov"](n,115).pattern:null,l["ɵnov"](n,117).isFocused,l["ɵnov"](n,117).isFilled,l["ɵnov"](n,121).ngClassUntouched,l["ɵnov"](n,121).ngClassTouched,l["ɵnov"](n,121).ngClassPristine,l["ɵnov"](n,121).ngClassDirty,l["ɵnov"](n,121).ngClassValid,l["ɵnov"](n,121).ngClassInvalid,l["ɵnov"](n,121).ngClassPending]),e(n,125,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,4).controls.email)),e(n,128,0,l["ɵnov"](n,130).required?"":null,l["ɵnov"](n,131).pattern?l["ɵnov"](n,131).pattern:null,l["ɵnov"](n,136).ngClassUntouched,l["ɵnov"](n,136).ngClassTouched,l["ɵnov"](n,136).ngClassPristine,l["ɵnov"](n,136).ngClassDirty,l["ɵnov"](n,136).ngClassValid,l["ɵnov"](n,136).ngClassInvalid,l["ɵnov"](n,136).ngClassPending),e(n,138,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,146))),e(n,141,0,l["ɵnov"](n,143).required?"":null,l["ɵnov"](n,148).ngClassUntouched,l["ɵnov"](n,148).ngClassTouched,l["ɵnov"](n,148).ngClassPristine,l["ɵnov"](n,148).ngClassDirty,l["ɵnov"](n,148).ngClassValid,l["ɵnov"](n,148).ngClassInvalid,l["ɵnov"](n,148).ngClassPending),e(n,152,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,161))),e(n,155,0,l["ɵnov"](n,157).required?"":null,l["ɵnov"](n,158).pattern?l["ɵnov"](n,158).pattern:null,l["ɵnov"](n,163).ngClassUntouched,l["ɵnov"](n,163).ngClassTouched,l["ɵnov"](n,163).ngClassPristine,l["ɵnov"](n,163).ngClassDirty,l["ɵnov"](n,163).ngClassValid,l["ɵnov"](n,163).ngClassInvalid,l["ɵnov"](n,163).ngClassPending),e(n,167,0,t.hasError(l["ɵnov"](n,4),l["ɵnov"](n,175))||t.regModel.password!==t.regModel.confirmePassword&&l["ɵnov"](n,175).touched),e(n,170,0,l["ɵnov"](n,172).required?"":null,l["ɵnov"](n,177).ngClassUntouched,l["ɵnov"](n,177).ngClassTouched,l["ɵnov"](n,177).ngClassPristine,l["ɵnov"](n,177).ngClassDirty,l["ɵnov"](n,177).ngClassValid,l["ɵnov"](n,177).ngClassInvalid,l["ɵnov"](n,177).ngClassPending),e(n,183,0,t.hasErrorInTogle(l["ɵnov"](n,4),l["ɵnov"](n,197))),e(n,191,0,l["ɵnov"](n,193).pattern?l["ɵnov"](n,193).pattern:null,l["ɵnov"](n,194).required?"":null,l["ɵnov"](n,199).ngClassUntouched,l["ɵnov"](n,199).ngClassTouched,l["ɵnov"](n,199).ngClassPristine,l["ɵnov"](n,199).ngClassDirty,l["ɵnov"](n,199).ngClassValid,l["ɵnov"](n,199).ngClassInvalid,l["ɵnov"](n,199).ngClassPending)}))}var te=t(54),le=t(69),oe=t(33),re=t(45),ie=t(125),ae=t(127),ue=t(131),se=t(24),de=t(83),ce=t(36),pe=t(34),fe=t(15),ge=t(84);t.d(n,"a",(function(){return $e}));var he=l["ɵcrt"]({encapsulation:2,styles:[[".content-page .register-wrapper form .inputWrapp,.content-page .register-wrapper form .label-wrap+.input-field{width:60%;display:inline-block}.content-page .register-wrapper form .inputWrapp input{width:100%!important}.content-page .register-wrapper .reg-info{width:100%}@media only screen and (max-width:750px){.content-page .register-wrapper .reg-info{max-height:calc(100vh - 94px);overflow:scroll;overflow-x:hidden}}.button-label{position:relative;float:left;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.content-page .register-wrapper{top:0!important}.content-page .register-wrapper:not(.widget){max-height:75%}.content-page .register-wrapper.email-registration:not(.widget){max-height:86%}.content-page .register-wrapper .label-wrap{font-size:1.3rem}.content-page .register-wrapper .label-wrap.inline{float:left}.content-page .register-wrapper.email-registration{height:auto}.content-page .register-wrapper.email-registration .proceed{padding-bottom:0}.content-page .register-wrapper.final-step{height:650px}.content-page .register-wrapper.final-step .proceed,.content-page .register-wrapper.social-registration .proceed{padding-bottom:0}.content-page .register-wrapper .switch-register span{cursor:pointer}.content-page .register-wrapper .switch-register .social{width:49%}.content-page .register-wrapper .switch-register .email.active,.content-page .register-wrapper .switch-register .social.active{background-color:#fff}@media (max-height:450px){.content-page .register-wrapper .email-wrapper{height:100%}}.content-page .register-wrapper .email-wrapper .email-reg{padding:1.5rem 2rem}.content-page .register-wrapper .email-wrapper .email-reg .proceed{background-color:#fff;padding-top:5px}.content-page .register-wrapper .email-wrapper .email-reg .proceed .link{color:#584d34;margin:8px 0 15px;font-size:14px;display:block;font-weight:600}.content-page .register-wrapper .email-wrapper .email-reg .user-name .sex{display:inline-block;width:15%}.content-page .register-wrapper .email-wrapper .email-reg .user-name .sex input{width:80%}.content-page .register-wrapper .email-wrapper .email-reg .user-name .sex select{height:35px;font-size:1.5rem;width:40px;-webkit-appearance:none;-moz-appearance:none;text-indent:5px;border-radius:3px;border:1px solid #ccc}.content-page .register-wrapper .email-wrapper .email-reg .user-name .first-name{display:inline-block;width:35%;margin-right:1.5rem}.content-page .register-wrapper .email-wrapper .email-reg .user-name .first-name input{width:100%}.content-page .register-wrapper .email-wrapper .email-reg .user-name .first-name label{margin-bottom:0}.content-page .register-wrapper .email-wrapper .email-reg .user-name .last-name{display:inline-block;width:45%}.content-page .register-wrapper .email-wrapper .email-reg .user-name .last-name input{width:100%}.content-page .register-wrapper .email-wrapper .email-reg .user-name .last-name label{margin-bottom:0}.content-page .register-wrapper .email-wrapper .email-reg>.error-messages{background-color:#fd6401;color:#fff;border-radius:2px;max-height:0;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.content-page .register-wrapper .email-wrapper .email-reg>.error-messages.active{max-height:22px}.content-page .register-wrapper .email-wrapper .email-reg>.error-messages>.message{padding:5px;text-align:center}.content-page .register-wrapper .reg-info .area input.area-operation,.content-page .register-wrapper .reg-info .org input.area-operation,.content-page .register-wrapper .reg-info .orig-fee input.area-operation,.content-page .register-wrapper .reg-info .phone input.area-operation,.content-page .register-wrapper .reg-info .pref-email input.area-operation,.content-page .register-wrapper .reg-info .red-fee input.area-operation,.content-page .register-wrapper .reg-info .surname input.area-operation,.content-page .register-wrapper .reg-info .your-name input.area-operation{position:relative;height:3rem;border:none}.content-page .register-wrapper .reg-info.final,.switch-register .social.active{background-color:#fff}.social-wrapper .social-button{font-family:LatoWeb,serif;font-size:21px;font-weight:700;text-align:right;color:#fff;line-height:30px;padding:10px 15px!important;width:340px;border-radius:5px;cursor:pointer}.social-wrapper .social-button.text{background-color:#fff;color:#584d34;text-align:center;width:auto}.social-wrapper .social-button i{float:left;font-size:3rem;color:#fff}.content-page .register-wrapper .reg-info .area .add-area{height:-webkit-fit-content!important;height:-moz-fit-content!important;height:fit-content!important}.content-page .register-wrapper .reg-info .area tag-input{border:1px solid #ccc;-webkit-box-shadow:inset 0 0 2px 0 #584d34;box-shadow:inset 0 0 2px 0 #584d34;border-radius:3px;font-size:1.5rem}.content-page .register-wrapper .reg-info .area tag-input .ng2-tags-container{padding:2px}.content-page .register-wrapper .reg-info .area .ng2-tag-input.ng2-tag-input--focused{border-bottom:none}.content-page .register-wrapper .reg-info .area .ng2-tag-input{padding:0;border-bottom:none;font-family:sans-serif}.content-page .register-wrapper .reg-info .area .ng2-tag-input .tag__text{font-family:sans-serif}.content-page .register-wrapper .reg-info .area .ng2-tag-input input{border:none;-webkit-box-shadow:none;box-shadow:none}.content-page .register-wrapper .reg-info .area .ng2-tag-input input.ng2-tag-input__text-input{font-family:sans-serif}.content-page .register-wrapper .reg-info .area .ng2-tag-input tag{height:26px;line-height:26px}.content-page .register-wrapper .reg-info .area .ng2-tag-input tag delete-icon svg{height:26px}.content-page .register-wrapper .reg-info .area .ng2-tag-input tag delete-icon:hover{-webkit-transform:scale(1.3) translateY(-2px);-ms-transform:scale(1.3) translateY(-2px);transform:scale(1.3) translateY(-2px)}.login-template.content-page{padding:36px 35px;overflow:hidden;width:100%}@media only screen and (max-width:750px){.login-template.content-page{padding:0;width:100%}}.login-template.content-page .register-wrapper{z-index:1}@media only screen and (max-width:750px){.login-template.content-page .register-wrapper{width:100%!important;left:0!important;top:0!important}}.login-template.content-page .register-wrapper.email-registration{height:100%!important;z-index:1}@media (min-height:742px){.login-template.content-page .register-wrapper.email-registration.lenders{height:734px!important}}@media only screen and (max-width:750px){.login-template.content-page .register-wrapper.email-registration.lenders{height:100%!important}}@media (min-height:605px){.login-template.content-page .register-wrapper.email-registration.brokers{height:auto!important}}.login-template.content-page .register-wrapper:not(.widget){left:0;max-height:none}.login-template.content-page .reg-info{overflow:auto;overflow-x:hidden}.login-template.content-page .reg-info.reg-tab{height:auto}.login-template widget-title{padding:10px 15px}"]],data:{animation:[{type:7,name:"openCloseAnimation",definitions:[{type:0,name:"small",styles:{type:6,styles:{opacity:0,transform:"scale(0.1) translate(-300%, 0)",left:"360px","z-index":0},offset:null},options:void 0},{type:0,name:"large",styles:{type:6,styles:{opacity:1,transform:"scale(1) translate(0, 0)"},offset:null},options:void 0},{type:1,expr:"small <=> large",animation:{type:4,styles:null,timings:"500ms ease-in"},options:null}],options:{}}]}});function me(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"span",[["class","email"]],[[2,"active",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.defaultReg()&&l),l}),null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Register"]))],null,(function(e,n){e(n,0,0,!n.component.socialRegister)}))}function ve(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,n.context.$implicit)}))}function be(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","form-group has-error"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,ve)),l["ɵdid"](3,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,3,0,n.component.errors)}),null)}function _e(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ye(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function we(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"lender-register-tab",[],null,null,null,ne,w)),l["ɵdid"](1,114688,null,0,_,[y.n,g.a,l.ChangeDetectorRef,h.a,m.a,y.a,v.a,c.a],null,null)],(function(e,n){e(n,1,0)}),null)}function Ce(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function xe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should use only Latin symbols"]))],null,null)}function Oe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ce)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,xe)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,l["ɵnov"](n.parent,15).hasError("required")),e(n,4,0,l["ɵnov"](n.parent,15).hasError("pattern"))}),null)}function Me(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function ke(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should use only Latin symbols"]))],null,null)}function Ae(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Me)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,ke)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,l["ɵnov"](n.parent,30).hasError("required")),e(n,4,0,l["ɵnov"](n.parent,30).hasError("pattern"))}),null)}function Pe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function Se(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](1,null,["",""]))],null,(function(e,n){e(n,1,0,l["ɵnov"](n.parent.parent,58).errors.username)}))}function Re(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["You should use Latin symbols and numeric"]))],null,null)}function Ie(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,6,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Pe)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Se)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Re)),l["ɵdid"](6,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,58).errors?null:l["ɵnov"](n.parent,58).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,58).errors?null:l["ɵnov"](n.parent,58).errors.username),e(n,6,0,null==l["ɵnov"](n.parent,58).errors?null:l["ɵnov"](n.parent,58).errors.pattern)}),null)}function Ee(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function Ne(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your password must be at least 8 characters long"]))],null,null)}function Te(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Ee)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Ne)),l["ɵdid"](4,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!(null==l["ɵnov"](n.parent,2).controls.password||!l["ɵnov"](n.parent,2).controls.password.errors.required)),e(n,4,0,!(null==l["ɵnov"](n.parent,2).controls.password||!l["ɵnov"](n.parent,2).controls.password.errors.pattern))}),null)}function De(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function Ve(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,De)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,!(null==l["ɵnov"](n.parent,2).controls.confirmePassword||!l["ɵnov"](n.parent,2).controls.confirmePassword.errors.required))}),null)}function Fe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Passwords don't match"]))],null,null)}function Le(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,Fe)),l["ɵdid"](2,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.regModel.password!==t.regModel.confirmePassword)}),null)}function qe(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,99,"form",[["novalidate",""]],[[2,"submitted",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,2).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,2).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.register(l["ɵnov"](e,2))&&o),o}),null,null)),l["ɵdid"](1,16384,null,0,r["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](2,4210688,[["registerForm",4]],0,r.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,r.ControlContainer,null,[r.NgForm]),l["ɵdid"](4,16384,null,0,r.NgControlStatusGroup,[[4,r.ControlContainer]],null,null),(e()(),l["ɵeld"](5,0,null,null,94,"div",[["class","email-reg"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["First Name"])),(e()(),l["ɵeld"](9,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","first_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,10)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,10).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,10)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,10)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.first_name=t)&&o),o}),null,null)),l["ɵdid"](10,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](11,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](12,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](15,671744,[["first_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](17,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](18,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Oe)),l["ɵdid"](20,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](21,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](22,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Last Name"])),(e()(),l["ɵeld"](24,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","last_name"],["pattern","[a-zA-Z\\s_\\.]*"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,25)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,25).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,25)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,25)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.last_name=t)&&o),o}),null,null)),l["ɵdid"](25,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](26,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](27,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](30,671744,[["last_name",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](32,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](33,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Ae)),l["ɵdid"](35,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](36,0,null,null,12,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](37,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Email"])),(e()(),l["ɵeld"](39,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","email"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,40)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,40).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,40)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,40)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.email=t)&&o),"ngModelChange"===n&&(o=!1!==r.onEmailChanged()&&o),o}),null,null)),l["ɵdid"](40,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](41,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](42,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](45,671744,[[3,4],["email",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](47,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](48,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵeld"](49,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](50,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Username"])),(e()(),l["ɵeld"](52,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","username"],["pattern","[a-zA-Z][a-zA-Z\\s0-9_]*"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,53)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,53).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,53)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,53)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.username=t)&&o),"ngModelChange"===n&&(o=!1!==r.onUsernameChanged()&&o),o}),null,null)),l["ɵdid"](53,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](54,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](55,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](58,671744,[[2,4],["username",4]],0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](60,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](61,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Ie)),l["ɵdid"](63,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](64,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](65,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Password"])),(e()(),l["ɵeld"](67,0,null,null,9,"input",[["autocomplete","off"],["class","org-name"],["name","password"],["required",""],["type","password"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,68)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,68).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,68)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,68)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.password=t)&&o),o}),null,null)),l["ɵdid"](68,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](69,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](70,540672,null,0,r.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e,n){return[e,n]}),[r.RequiredValidator,r.PatternValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](73,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](75,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](76,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Te)),l["ɵdid"](78,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](79,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](80,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Repeat Password"])),(e()(),l["ɵeld"](82,0,null,null,8,"input",[["autocomplete","off"],["class","email"],["name","confirmePassword"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,83)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,83).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,83)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,83)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.regModel.confirmePassword=t)&&o),o}),null,null)),l["ɵdid"](83,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](84,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](87,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](89,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](90,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,Ve)),l["ɵdid"](92,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,Le)),l["ɵdid"](94,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](95,0,null,null,4,"div",[["class","proceed"]],null,null,null,null,null)),(e()(),l["ɵeld"](96,0,null,null,3,"button",[["class","proceed-btn"],["preloader",""],["type","submit"]],null,null,null,p.b,p.a)),l["ɵdid"](97,114688,null,0,f.a,[],{isProcess:[0,"isProcess"]},null),(e()(),l["ɵeld"](98,0,null,0,1,"div",[["class","button-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Register"]))],(function(e,n){var t=n.component;e(n,11,0,""),e(n,12,0,"[a-zA-Z\\s_\\.]*"),e(n,15,0,"first_name",t.regModel.first_name),e(n,20,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,15))),e(n,26,0,""),e(n,27,0,"[a-zA-Z\\s_\\.]*"),e(n,30,0,"last_name",t.regModel.last_name),e(n,35,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,30))),e(n,41,0,""),e(n,42,0,t.emailPattern),e(n,45,0,"email",t.regModel.email),e(n,54,0,""),e(n,55,0,"[a-zA-Z][a-zA-Z\\s0-9_]*"),e(n,58,0,"username",t.regModel.username),e(n,63,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,58))),e(n,69,0,""),e(n,70,0,t.passwordPattern),e(n,73,0,"password",t.regModel.password),e(n,78,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.password)),e(n,84,0,""),e(n,87,0,"confirmePassword",t.regModel.confirmePassword),e(n,92,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.confirmePassword)),e(n,94,0,t.regModel.password!==t.regModel.confirmePassword&&l["ɵnov"](n,2).controls.confirmePassword.touched),e(n,97,0,t.isProcess)}),(function(e,n){var t=n.component;e(n,0,0,l["ɵnov"](n,2).submitted,l["ɵnov"](n,4).ngClassUntouched,l["ɵnov"](n,4).ngClassTouched,l["ɵnov"](n,4).ngClassPristine,l["ɵnov"](n,4).ngClassDirty,l["ɵnov"](n,4).ngClassValid,l["ɵnov"](n,4).ngClassInvalid,l["ɵnov"](n,4).ngClassPending),e(n,6,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.first_name)),e(n,9,0,l["ɵnov"](n,11).required?"":null,l["ɵnov"](n,12).pattern?l["ɵnov"](n,12).pattern:null,l["ɵnov"](n,17).ngClassUntouched,l["ɵnov"](n,17).ngClassTouched,l["ɵnov"](n,17).ngClassPristine,l["ɵnov"](n,17).ngClassDirty,l["ɵnov"](n,17).ngClassValid,l["ɵnov"](n,17).ngClassInvalid,l["ɵnov"](n,17).ngClassPending),e(n,21,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.last_name)),e(n,24,0,l["ɵnov"](n,26).required?"":null,l["ɵnov"](n,27).pattern?l["ɵnov"](n,27).pattern:null,l["ɵnov"](n,32).ngClassUntouched,l["ɵnov"](n,32).ngClassTouched,l["ɵnov"](n,32).ngClassPristine,l["ɵnov"](n,32).ngClassDirty,l["ɵnov"](n,32).ngClassValid,l["ɵnov"](n,32).ngClassInvalid,l["ɵnov"](n,32).ngClassPending),e(n,36,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.email)),e(n,39,0,l["ɵnov"](n,41).required?"":null,l["ɵnov"](n,42).pattern?l["ɵnov"](n,42).pattern:null,l["ɵnov"](n,47).ngClassUntouched,l["ɵnov"](n,47).ngClassTouched,l["ɵnov"](n,47).ngClassPristine,l["ɵnov"](n,47).ngClassDirty,l["ɵnov"](n,47).ngClassValid,l["ɵnov"](n,47).ngClassInvalid,l["ɵnov"](n,47).ngClassPending),e(n,49,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.username)),e(n,52,0,l["ɵnov"](n,54).required?"":null,l["ɵnov"](n,55).pattern?l["ɵnov"](n,55).pattern:null,l["ɵnov"](n,60).ngClassUntouched,l["ɵnov"](n,60).ngClassTouched,l["ɵnov"](n,60).ngClassPristine,l["ɵnov"](n,60).ngClassDirty,l["ɵnov"](n,60).ngClassValid,l["ɵnov"](n,60).ngClassInvalid,l["ɵnov"](n,60).ngClassPending),e(n,64,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.password)),e(n,67,0,l["ɵnov"](n,69).required?"":null,l["ɵnov"](n,70).pattern?l["ɵnov"](n,70).pattern:null,l["ɵnov"](n,75).ngClassUntouched,l["ɵnov"](n,75).ngClassTouched,l["ɵnov"](n,75).ngClassPristine,l["ɵnov"](n,75).ngClassDirty,l["ɵnov"](n,75).ngClassValid,l["ɵnov"](n,75).ngClassInvalid,l["ɵnov"](n,75).ngClassPending),e(n,79,0,t.hasError(l["ɵnov"](n,2),l["ɵnov"](n,2).controls.confirmePassword)||t.regModel.password!==t.regModel.confirmePassword&&l["ɵnov"](n,2).controls.confirmePassword.touched),e(n,82,0,l["ɵnov"](n,84).required?"":null,l["ɵnov"](n,89).ngClassUntouched,l["ɵnov"](n,89).ngClassTouched,l["ɵnov"](n,89).ngClassPristine,l["ɵnov"](n,89).ngClassDirty,l["ɵnov"](n,89).ngClassValid,l["ɵnov"](n,89).ngClassInvalid,l["ɵnov"](n,89).ngClassPending)}))}function Be(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","reg-info reg-tab"]],[[2,"visibility-none-flow",null]],null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,6,"div",[["class","email-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,5,"div",[],null,null,null,null,null)),l["ɵdid"](3,16384,null,0,o.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,we)),l["ɵdid"](5,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,qe)),l["ɵdid"](7,278528,null,0,o.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,o.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(e,n){e(n,3,0,n.component.whichArea),e(n,5,0,"lender"),e(n,7,0,"broker")}),(function(e,n){e(n,0,0,n.component.socialRegister)}))}function je(e){return l["ɵvid"](2,[l["ɵqud"](402653184,1,{loginForm:0}),l["ɵqud"](671088640,2,{username:0}),l["ɵqud"](671088640,3,{email:0}),(e()(),l["ɵeld"](3,0,null,null,65,"div",[["class","content-page login-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,62,"div",[],[[8,"className",0],[2,"email-registration",null],[2,"social-registration",null]],null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"widget-title",[["label","Welcome"]],null,null,null,te.b,te.a)),l["ɵdid"](6,180224,null,0,le.a,[l.ElementRef,oe.a,l.Renderer,re.a],{label:[0,"label"]},null),(e()(),l["ɵeld"](7,0,null,null,5,"div",[["class","switch-register"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,2,"span",[["class","social"]],[[2,"active",null]],[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.socialReg()&&l),l}),null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Login"])),(e()(),l["ɵand"](16777216,null,null,1,null,me)),l["ɵdid"](12,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](13,0,null,null,51,"div",[["class","reg-info"]],[[2,"visibility-none-flow",null]],null,null,null,null)),(e()(),l["ɵeld"](14,0,null,null,50,"div",[["class","email-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](15,0,null,null,49,"form",[["novalidate",""]],[[2,"submitted",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,17).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,17).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.loginWithEmail(l["ɵnov"](e,17))&&o),o}),null,null)),l["ɵdid"](16,16384,null,0,r["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](17,4210688,[[1,4],["loginForm",4]],0,r.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,r.ControlContainer,null,[r.NgForm]),l["ɵdid"](19,16384,null,0,r.NgControlStatusGroup,[[4,r.ControlContainer]],null,null),(e()(),l["ɵeld"](20,0,null,null,44,"div",[["class","email-reg"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,be)),l["ɵdid"](22,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](23,0,null,null,13,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](24,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Username/Email"])),(e()(),l["ɵeld"](26,0,null,null,8,"input",[["class","org-name"],["name","organization"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,27)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,27).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,27)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,27)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.username=t)&&o),o}),null,null)),l["ɵdid"](27,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](28,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](31,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](33,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](34,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,_e)),l["ɵdid"](36,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](37,0,null,null,13,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](38,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Password"])),(e()(),l["ɵeld"](40,0,null,null,8,"input",[["autocomplete","off"],["class","email"],["name","password"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,41)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,41).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,41)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,41)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.model.password=t)&&o),o}),null,null)),l["ɵdid"](41,16384,null,0,r.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,r.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](42,16384,null,0,r.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,r.NG_VALIDATORS,(function(e){return[e]}),[r.RequiredValidator]),l["ɵprd"](1024,null,r.NG_VALUE_ACCESSOR,(function(e){return[e]}),[r.DefaultValueAccessor]),l["ɵdid"](45,671744,null,0,r.NgModel,[[2,r.ControlContainer],[6,r.NG_VALIDATORS],[8,null],[6,r.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,r.NgControl,null,[r.NgModel]),l["ɵdid"](47,16384,null,0,r.NgControlStatus,[[4,r.NgControl]],null,null),l["ɵdid"](48,16384,null,0,i.a,[l.ElementRef,r.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,ye)),l["ɵdid"](50,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](51,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),l["ɵdid"](52,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](53,{active:0}),(e()(),l["ɵeld"](54,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](55,null,["",""])),(e()(),l["ɵeld"](56,0,null,null,8,"div",[["class","proceed"]],null,null,null,null,null)),(e()(),l["ɵeld"](57,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,58).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](58,671744,null,0,y.o,[y.n,y.a,o.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](59,2),(e()(),l["ɵted"](-1,null,["Forgot password"])),(e()(),l["ɵeld"](61,0,null,null,3,"button",[["class","proceed-btn"],["preloader",""],["type","submit"]],null,null,null,p.b,p.a)),l["ɵdid"](62,114688,null,0,f.a,[],{isProcess:[0,"isProcess"]},null),(e()(),l["ɵeld"](63,0,null,0,1,"div",[["class","button-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Login"])),(e()(),l["ɵand"](16777216,null,null,1,null,Be)),l["ɵdid"](66,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](67,0,null,null,1,"terms-window",[["class","inner"]],[[24,"@openCloseAnimation",0]],null,null,ie.c,ie.a)),l["ɵdid"](68,114688,null,0,ae.a,[h.a],null,null)],(function(e,n){var t=n.component;e(n,6,0,"Welcome"),e(n,12,0,"leeplender"!=t.whichArea&&"borrower"!=t.whichArea),e(n,22,0,t.errors&&t.errors.length>0),e(n,28,0,""),e(n,31,0,"organization",t.model.username),e(n,36,0,t.hasError(l["ɵnov"](n,17),l["ɵnov"](n,17).controls.organization)),e(n,42,0,""),e(n,45,0,"password",t.model.password),e(n,50,0,t.hasError(l["ɵnov"](n,17),l["ɵnov"](n,17).controls.password)),e(n,52,0,"error-messages",e(n,53,0,t.isIncorrectCredentials)),e(n,58,0,e(n,59,0,"../","forgot-password")),e(n,62,0,t.isProcess),e(n,66,0,"leeplender"!=t.whichArea&&"borrower"==t.whichArea),e(n,68,0)}),(function(e,n){var t=n.component;e(n,4,0,l["ɵinlineInterpolate"](1,"register-wrapper ",t.currentJourney,""),!t.socialRegister,t.socialRegister),e(n,8,0,t.socialRegister),e(n,13,0,!t.socialRegister),e(n,15,0,l["ɵnov"](n,17).submitted,l["ɵnov"](n,19).ngClassUntouched,l["ɵnov"](n,19).ngClassTouched,l["ɵnov"](n,19).ngClassPristine,l["ɵnov"](n,19).ngClassDirty,l["ɵnov"](n,19).ngClassValid,l["ɵnov"](n,19).ngClassInvalid,l["ɵnov"](n,19).ngClassPending),e(n,23,0,t.hasError(l["ɵnov"](n,17),l["ɵnov"](n,17).controls.organization)),e(n,26,0,l["ɵnov"](n,28).required?"":null,l["ɵnov"](n,33).ngClassUntouched,l["ɵnov"](n,33).ngClassTouched,l["ɵnov"](n,33).ngClassPristine,l["ɵnov"](n,33).ngClassDirty,l["ɵnov"](n,33).ngClassValid,l["ɵnov"](n,33).ngClassInvalid,l["ɵnov"](n,33).ngClassPending),e(n,37,0,t.hasError(l["ɵnov"](n,17),l["ɵnov"](n,17).controls.password)),e(n,40,0,l["ɵnov"](n,42).required?"":null,l["ɵnov"](n,47).ngClassUntouched,l["ɵnov"](n,47).ngClassTouched,l["ɵnov"](n,47).ngClassPristine,l["ɵnov"](n,47).ngClassDirty,l["ɵnov"](n,47).ngClassValid,l["ɵnov"](n,47).ngClassInvalid,l["ɵnov"](n,47).ngClassPending),e(n,55,0,t.errorMessage),e(n,57,0,l["ɵnov"](n,58).target,l["ɵnov"](n,58).href),e(n,67,0,t.stateTermsWindow)}))}var $e=l["ɵccf"]("[login]",ue.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["login",""]],null,null,null,je,he)),l["ɵdid"](1,4440064,null,0,ue.a,[m.a,y.n,oe.a,se.a,de.a,v.a,ce.a,pe.a,h.a,re.a,y.a,fe.a,ge.a,l.ChangeDetectorRef,c.a],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";var l={id:"id",alias:"alias",borrower_type:"borrower_type",is_uk_resident:"is_uk_resident",is_permanent_resident:"is_permanent_resident",first_name:"first_name",middle_name:"middle_name",last_name:"last_name",previous_name:"previous_name",nationality:"nationality",birth_date:"birth_date",gender:"gender",marital_status:"marital_status",email:"email",picture:"picture",no_of_dependents:"no_of_dependents",years_in_uk:"years_in_uk",mobile_phone:"mobile_phone",any_bankruptcies:"any_bankruptcies",any_ccjs:"any_ccjs",any_arrears:"any_arrears",any_defaults:"any_defaults",any_payday_loans:"any_payday_loans",any_debt_management:"any_debt_management",total_outstanding_balances:"total_outstanding_balances",total_value_properties:"total_value_properties",total_number_properties:"total_number_properties",nature_of_business:"nature_of_business",any_more_info:"any_more_info"};t.d(n,"a",(function(){return l}))},function(e,n,t){"use strict";var l=t(0),o=t(54),r=t(69),i=t(33),a=t(45),u=t(134);t.d(n,"a",(function(){return c}));var s=l["ɵcrt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{top:0;position:absolute;width:100%}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%]{display:inline-block;top:0;bottom:auto;height:100%;position:relative;-webkit-animation:slideInFromBottom .5s ease-out 0s 1;animation:slideInFromBottom .5s ease-out 0s 1}@media only screen and (max-width:750px){[_nghost-%COMP%] .content-page[_ngcontent-%COMP%]{padding:0}}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%]{width:40rem;background-color:#f2f1ed;border-radius:5px;position:absolute;overflow:hidden;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53)}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper.help[_ngcontent-%COMP%]{top:3.6rem!important;left:1.5rem!important;position:relative;-webkit-transform:none;-ms-transform:none;transform:none;left:5rem;margin-top:0}@media only screen and (max-width:750px){[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper.help[_ngcontent-%COMP%]{top:0!important;left:0!important;width:100%!important}}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper.help[_ngcontent-%COMP%] widget-title[_ngcontent-%COMP%]{padding:10px 15px}@media (max-height:450px),(max-width:450px){[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper.help[_ngcontent-%COMP%] widget-title[_ngcontent-%COMP%]{padding:13px 20px}}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .reg-title[_ngcontent-%COMP%]{font-family:LatoWeb;font-size:24px;font-weight:700;text-align:left;color:#584d34;position:relative;height:50px}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .help-content[_ngcontent-%COMP%]{background-color:#fff;padding:25px 15px}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .help-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-top:5px}[_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .help-content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .help-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .help-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .content-page[_ngcontent-%COMP%] .register-wrapper[_ngcontent-%COMP%] .help-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:LatoWeb;padding-top:5px}[_nghost-%COMP%] a[href][_ngcontent-%COMP%], [_nghost-%COMP%] a[href][_ngcontent-%COMP%]:visited{color:#ff6500}[_nghost-%COMP%] a[href].tel[_ngcontent-%COMP%]{color:#408aa1}"]],data:{}});function d(e){return l["ɵvid"](2,[(e()(),l["ɵeld"](0,0,null,null,18,"div",[["class","col-sm-12 col-xl-7 content-page"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,17,"div",[["class","register-wrapper help"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,1,"widget-title",[["label","Help"]],null,null,null,o.b,o.a)),l["ɵdid"](3,180224,null,0,r.a,[l.ElementRef,i.a,l.Renderer,a.a],{label:[0,"label"]},null),(e()(),l["ɵeld"](4,0,null,null,14,"div",[["class","help-content"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["If you require further assistance"])),(e()(),l["ɵeld"](7,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Call: "])),(e()(),l["ɵeld"](9,0,null,null,1,"a",[["class","tel"],["href","tel:020 3137 7630"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["020 3137 7630"])),(e()(),l["ɵeld"](11,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Email: "])),(e()(),l["ɵeld"](13,0,null,null,1,"a",[["href","mailto:support@brydg.com"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["support@brydg.com"])),(e()(),l["ɵeld"](15,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["The Brydg Privacy Promise: "])),(e()(),l["ɵeld"](17,0,null,null,1,"a",[["href","https://brydg.com/privacy"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["https://brydg.com/privacy"]))],(function(e,n){e(n,3,0,"Help")}),null)}var c=l["ɵccf"]("help-page",u.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"help-page",[],null,null,null,d,s)),l["ɵdid"](1,114688,null,0,u.a,[],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";var l=t(0),o=t(5),r=t(2),i=t(1),a=t(4),u=t(75),s=t(92),d=t(54),c=t(69),p=t(33),f=t(45),g=t(133),h=t(19),m=t(11);t.d(n,"a",(function(){return S}));var v=l["ɵcrt"]({encapsulation:0,styles:[[".content-page.confirm-reset-password[_ngcontent-%COMP%]{position:relative!important;padding-top:36px!important;width:100%!important;background-color:inherit;-webkit-box-shadow:unset;box-shadow:unset}@media only screen and (max-width:600px){.content-page.confirm-reset-password[_ngcontent-%COMP%]{padding-top:0!important;width:100%}}.register-wrapper.confirm-reset-password[_ngcontent-%COMP%]{top:0;-webkit-transform:none;-ms-transform:none;transform:none;left:2rem;margin-top:0}.confirm-reset-password[_ngcontent-%COMP%]{width:40rem;background-color:#f2f1ed;border-radius:5px;position:relative;overflow:hidden;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53)}.confirm-reset-password[_ngcontent-%COMP%] .confirm-reset-password-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.confirm-reset-password[_ngcontent-%COMP%] .confirm-reset-password-wrapper[_ngcontent-%COMP%] .reg-title[_ngcontent-%COMP%]{font-family:LatoWeb;font-size:24px;font-weight:700;text-align:left;color:#584d34;position:relative;height:50px}.confirm-reset-password[_ngcontent-%COMP%] .confirm-reset-password-wrapper[_ngcontent-%COMP%] .reg-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0 2rem;pointer-events:none;position:absolute;top:50%;left:25%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.confirm-reset-password[_ngcontent-%COMP%] .confirm-reset-password-wrapper[_ngcontent-%COMP%] .confirm-reset-password-info[_ngcontent-%COMP%]{overflow:hidden;width:100%}.confirm-reset-password[_ngcontent-%COMP%] .confirm-reset-password-wrapper[_ngcontent-%COMP%] .confirm-reset-password-info[_ngcontent-%COMP%] .email-wrapper[_ngcontent-%COMP%] .email-reg[_ngcontent-%COMP%] .confirm-reset-password-action[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.confirm-reset-password[_ngcontent-%COMP%] .confirm-reset-password-wrapper[_ngcontent-%COMP%] .confirm-reset-password-info[_ngcontent-%COMP%] .email-wrapper[_ngcontent-%COMP%] .email-reg[_ngcontent-%COMP%] .confirm-reset-password-action[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{color:#584d34;margin:8px 0 15px;font-size:14px;display:block;font-weight:600}.confirm-reset-password[_ngcontent-%COMP%] widget-title[_ngcontent-%COMP%]{padding:10px 15px}.confirm-reset-password[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{font-size:18px;font-weight:400;position:relative;float:left;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.confirm-reset-password[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%]{height:123px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:20px;font-family:LatoWebBold}.confirm-reset-password[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%]{padding-top:15px}.confirm-reset-password[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{color:#584d34;margin:8px 0 15px;font-size:14px;display:block;font-weight:600}.confirm-reset-password[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{cursor:pointer}"]],data:{}});function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"div",[["class","result-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your new password has been set."])),(e()(),l["ɵeld"](3,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Please go to the login page."])),(e()(),l["ɵeld"](5,0,null,null,4,"div",[["class","forgot-password-action"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,7).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](7,671744,null,0,o.o,[o.n,o.a,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](8,2),(e()(),l["ɵted"](-1,null,["Back to Login"]))],(function(e,n){e(n,7,0,e(n,8,0,"../../../../","login"))}),(function(e,n){e(n,6,0,l["ɵnov"](n,7).target,l["ɵnov"](n,7).href)}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","result-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Oops! Something went wrong"])),(e()(),l["ɵeld"](3,0,null,null,4,"div",[["class","forgot-password-action"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,5).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](5,671744,null,0,o.o,[o.n,o.a,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](6,2),(e()(),l["ɵted"](-1,null,["Back to Login"]))],(function(e,n){e(n,5,0,e(n,6,0,"../../../../","login"))}),(function(e,n){e(n,4,0,l["ɵnov"](n,5).target,l["ɵnov"](n,5).href)}))}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Your password must be at least 8 characters long"]))],null,null)}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](4,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,16).errors?null:l["ɵnov"](n.parent,16).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,16).errors?null:l["ɵnov"](n.parent,16).errors.pattern)}),null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,30).errors?null:l["ɵnov"](n.parent,30).errors.required)}),null)}function M(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Passwords don't match"]))],null,null)}function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,M)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,2,0,t.sendModel.new_password1!==t.sendModel.new_password2)}),null)}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,46,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,45,"form",[["novalidate",""]],[[2,"submitted",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,3).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,3).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.resetPassword(l["ɵnov"](e,3))&&o),o}),null,null)),l["ɵdid"](2,16384,null,0,i["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](3,4210688,[["resetForm",4]],0,i.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,i.ControlContainer,null,[i.NgForm]),l["ɵdid"](5,16384,null,0,i.NgControlStatusGroup,[[4,i.ControlContainer]],null,null),(e()(),l["ɵeld"](6,0,null,null,40,"div",[["class","email-reg"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["New password"])),(e()(),l["ɵeld"](10,0,null,null,9,"input",[["autocomplete","false"],["class","org-name"],["name","new_password1"],["required",""],["type","password"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,11)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,11).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,11)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,11)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.sendModel.new_password1=t)&&o),o}),null,null)),l["ɵdid"](11,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](12,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](13,540672,null,0,i.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e,n){return[e,n]}),[i.RequiredValidator,i.PatternValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.DefaultValueAccessor]),l["ɵdid"](16,671744,[["new_password1Model",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](18,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](19,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](21,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](22,0,null,null,15,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Repeat new password"])),(e()(),l["ɵeld"](25,0,null,null,8,"input",[["autocomplete","false"],["class","org-name"],["name","new_password2"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,26)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,26).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,26)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,26)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.sendModel.new_password2=t)&&o),o}),null,null)),l["ɵdid"](26,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](27,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e){return[e]}),[i.RequiredValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.DefaultValueAccessor]),l["ɵdid"](30,671744,[["new_password2Model",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](32,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](33,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](35,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](37,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](38,0,null,null,8,"div",[["class","confirm-reset-password-action"]],null,null,null,null,null)),(e()(),l["ɵeld"](39,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,40).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](40,671744,null,0,o.o,[o.n,o.a,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](41,2),(e()(),l["ɵted"](-1,null,["Login"])),(e()(),l["ɵeld"](43,0,null,null,3,"button",[["class","proceed-btn"],["preloader",""],["type","submit"]],null,null,null,u.b,u.a)),l["ɵdid"](44,114688,null,0,s.a,[],{isProcess:[0,"isProcess"]},null),(e()(),l["ɵeld"](45,0,null,0,1,"div",[["class","button-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Send"]))],(function(e,n){var t=n.component;e(n,12,0,""),e(n,13,0,t.passwordPattern),e(n,16,0,"new_password1",t.sendModel.new_password1),e(n,21,0,t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,16))),e(n,27,0,""),e(n,30,0,"new_password2",t.sendModel.new_password2),e(n,35,0,t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,30))),e(n,37,0,t.sendModel.new_password1!==t.sendModel.new_password2&&l["ɵnov"](n,30).touched&&!t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,30))),e(n,40,0,e(n,41,0,"../../../../","login")),e(n,44,0,t.isProcess)}),(function(e,n){var t=n.component;e(n,1,0,l["ɵnov"](n,3).submitted,l["ɵnov"](n,5).ngClassUntouched,l["ɵnov"](n,5).ngClassTouched,l["ɵnov"](n,5).ngClassPristine,l["ɵnov"](n,5).ngClassDirty,l["ɵnov"](n,5).ngClassValid,l["ɵnov"](n,5).ngClassInvalid,l["ɵnov"](n,5).ngClassPending),e(n,7,0,t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,16))),e(n,10,0,l["ɵnov"](n,12).required?"":null,l["ɵnov"](n,13).pattern?l["ɵnov"](n,13).pattern:null,l["ɵnov"](n,18).ngClassUntouched,l["ɵnov"](n,18).ngClassTouched,l["ɵnov"](n,18).ngClassPristine,l["ɵnov"](n,18).ngClassDirty,l["ɵnov"](n,18).ngClassValid,l["ɵnov"](n,18).ngClassInvalid,l["ɵnov"](n,18).ngClassPending),e(n,22,0,t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,30))||t.sendModel.new_password1!==t.sendModel.new_password2&&l["ɵnov"](n,30).touched),e(n,25,0,l["ɵnov"](n,27).required?"":null,l["ɵnov"](n,32).ngClassUntouched,l["ɵnov"](n,32).ngClassTouched,l["ɵnov"](n,32).ngClassPristine,l["ɵnov"](n,32).ngClassDirty,l["ɵnov"](n,32).ngClassValid,l["ɵnov"](n,32).ngClassInvalid,l["ɵnov"](n,32).ngClassPending),e(n,39,0,l["ɵnov"](n,40).target,l["ɵnov"](n,40).href)}))}function P(e){return l["ɵvid"](2,[(e()(),l["ɵeld"](0,0,null,null,14,"div",[["class","content-page confirm-reset-password"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,13,"div",[["class","register-wrapper confirm-reset-password"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,12,"div",[["class","confirm-reset-password-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,1,"widget-title",[["label","Confirm Reset Password"]],null,null,null,d.b,d.a)),l["ɵdid"](4,180224,null,0,c.a,[l.ElementRef,p.a,l.Renderer,f.a],{label:[0,"label"]},null),(e()(),l["ɵeld"](5,0,null,null,9,"div",[["class","confirm-reset-password-info"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,8,"div",[["class","email-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,7,"div",[],null,null,null,null,null)),l["ɵdid"](8,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](10,278528,null,0,r.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](12,278528,null,0,r.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](14,16384,null,0,r.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,r.NgSwitch],null,null)],(function(e,n){var t=n.component;e(n,4,0,"Confirm Reset Password"),e(n,8,0,t.success),e(n,10,0,!0),e(n,12,0,!1)}),null)}var S=l["ɵccf"]("confirm-reset-password",g.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"confirm-reset-password",[],null,null,null,P,v)),l["ɵdid"](1,114688,null,0,g.a,[h.a,l.ChangeDetectorRef,o.a,m.a],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";var l=t(0),o=t(5),r=t(2),i=t(1),a=t(4),u=t(75),s=t(92),d=t(54),c=t(69),p=t(33),f=t(45),g=t(132),h=t(19),m=t(11);t.d(n,"a",(function(){return M}));var v=l["ɵcrt"]({encapsulation:0,styles:[[".content-page.forgot-password[_ngcontent-%COMP%]{position:relative!important;padding-top:36px!important;padding-left:15px;width:100%}@media only screen and (max-width:750px){.content-page.forgot-password[_ngcontent-%COMP%]{padding-top:0!important;padding-left:0!important;width:100%}}@media only screen and (max-width:750px){.register-wrapper[_ngcontent-%COMP%]{width:100%!important;left:0!important}}.register-wrapper.forgot-password-template[_ngcontent-%COMP%]{top:0;-webkit-transform:none;-ms-transform:none;transform:none;left:2rem;margin-top:0}.forgot-password-template[_ngcontent-%COMP%]{width:40rem;background-color:#f2f1ed;border-radius:5px;position:relative;overflow:hidden;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53)}.forgot-password-template[_ngcontent-%COMP%] .forgot-password-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.forgot-password-template[_ngcontent-%COMP%] .forgot-password-wrapper[_ngcontent-%COMP%] .reg-title[_ngcontent-%COMP%]{font-family:LatoWeb;font-size:24px;font-weight:700;text-align:left;color:#584d34;position:relative;height:50px}.forgot-password-template[_ngcontent-%COMP%] .forgot-password-wrapper[_ngcontent-%COMP%] .reg-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0 2rem;pointer-events:none;position:absolute;top:50%;left:25%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.forgot-password-template[_ngcontent-%COMP%] .forgot-password-wrapper[_ngcontent-%COMP%] .forgot-password-info[_ngcontent-%COMP%]{overflow:hidden;width:100%}.forgot-password-template[_ngcontent-%COMP%] .forgot-password-wrapper[_ngcontent-%COMP%] .forgot-password-info[_ngcontent-%COMP%] .email-wrapper[_ngcontent-%COMP%] .email-reg[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.forgot-password-template[_ngcontent-%COMP%] .forgot-password-wrapper[_ngcontent-%COMP%] .forgot-password-info[_ngcontent-%COMP%] .email-wrapper[_ngcontent-%COMP%] .email-reg[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{color:#584d34;margin:8px 0 15px;font-size:14px;display:block;font-weight:600}.forgot-password-template[_ngcontent-%COMP%] widget-title[_ngcontent-%COMP%]{padding:10px 15px}.forgot-password-template[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{font-size:18px;font-weight:400;position:relative;float:left;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.forgot-password-template[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%]{height:123px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:20px;font-family:LatoWebBold}.forgot-password-template[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%]{padding-top:15px}.forgot-password-template[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{color:#584d34;margin:8px 0 15px;font-size:14px;display:block;font-weight:600}.forgot-password-template[_ngcontent-%COMP%] .result-wrapper[_ngcontent-%COMP%] .forgot-password-action[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover{cursor:pointer}"]],data:{}});function b(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"div",[["class","result-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["A password reset link has been sent to your email."])),(e()(),l["ɵeld"](3,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Please check your email."])),(e()(),l["ɵeld"](5,0,null,null,4,"div",[["class","forgot-password-action"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,7).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](7,671744,null,0,o.o,[o.n,o.a,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](8,2),(e()(),l["ɵted"](-1,null,["Back to Login"]))],(function(e,n){e(n,7,0,e(n,8,0,"../","login"))}),(function(e,n){e(n,6,0,l["ɵnov"](n,7).target,l["ɵnov"](n,7).href)}))}function _(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,7,"div",[["class","result-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Oops! Something went wrong"])),(e()(),l["ɵeld"](3,0,null,null,4,"div",[["class","forgot-password-action"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,5).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](5,671744,null,0,o.o,[o.n,o.a,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](6,2),(e()(),l["ɵted"](-1,null,["Back to Login"]))],(function(e,n){e(n,5,0,e(n,6,0,"../","login"))}),(function(e,n){e(n,4,0,l["ɵnov"](n,5).target,l["ɵnov"](n,5).href)}))}function y(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This field is required"]))],null,null)}function w(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["This email is not valid"]))],null,null)}function C(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,4,"div",[["class","error-messages"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,y)),l["ɵdid"](2,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,w)),l["ɵdid"](4,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){e(n,2,0,null==l["ɵnov"](n.parent,16).errors?null:l["ɵnov"](n.parent,16).errors.required),e(n,4,0,null==l["ɵnov"](n.parent,16).errors?null:l["ɵnov"](n.parent,16).errors.pattern)}),null)}function x(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,30,"div",[],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,29,"form",[["novalidate",""]],[[2,"submitted",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(e,n,t){var o=!0,r=e.component;return"submit"===n&&(o=!1!==l["ɵnov"](e,3).onSubmit(t)&&o),"reset"===n&&(o=!1!==l["ɵnov"](e,3).onReset()&&o),"ngSubmit"===n&&(o=!1!==r.resetPassword(l["ɵnov"](e,3))&&o),o}),null,null)),l["ɵdid"](2,16384,null,0,i["ɵangular_packages_forms_forms_bh"],[],null,null),l["ɵdid"](3,4210688,[["loginForm",4]],0,i.NgForm,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),l["ɵprd"](2048,null,i.ControlContainer,null,[i.NgForm]),l["ɵdid"](5,16384,null,0,i.NgControlStatusGroup,[[4,i.ControlContainer]],null,null),(e()(),l["ɵeld"](6,0,null,null,24,"div",[["class","email-reg"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,14,"div",[["class","form-group"]],[[2,"has-error",null]],null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Email"])),(e()(),l["ɵeld"](10,0,null,null,9,"input",[["autocomplete","false"],["class","org-name"],["name","email"],["required",""],["type","text"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,n,t){var o=!0,r=e.component;return"input"===n&&(o=!1!==l["ɵnov"](e,11)._handleInput(t.target.value)&&o),"blur"===n&&(o=!1!==l["ɵnov"](e,11).onTouched()&&o),"compositionstart"===n&&(o=!1!==l["ɵnov"](e,11)._compositionStart()&&o),"compositionend"===n&&(o=!1!==l["ɵnov"](e,11)._compositionEnd(t.target.value)&&o),"ngModelChange"===n&&(o=!1!==(r.email=t)&&o),o}),null,null)),l["ɵdid"](11,16384,null,0,i.DefaultValueAccessor,[l.Renderer2,l.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),l["ɵdid"](12,16384,null,0,i.RequiredValidator,[],{required:[0,"required"]},null),l["ɵdid"](13,540672,null,0,i.PatternValidator,[],{pattern:[0,"pattern"]},null),l["ɵprd"](1024,null,i.NG_VALIDATORS,(function(e,n){return[e,n]}),[i.RequiredValidator,i.PatternValidator]),l["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.DefaultValueAccessor]),l["ɵdid"](16,671744,[["emaiModel",4]],0,i.NgModel,[[2,i.ControlContainer],[6,i.NG_VALIDATORS],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),l["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),l["ɵdid"](18,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),l["ɵdid"](19,16384,null,0,a.a,[l.ElementRef,i.NgModel],null,null),(e()(),l["ɵand"](16777216,null,null,1,null,C)),l["ɵdid"](21,16384,null,0,r.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](22,0,null,null,8,"div",[["class","forgot-password-action"]],null,null,null,null,null)),(e()(),l["ɵeld"](23,0,null,null,3,"a",[["class","link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,n,t){var o=!0;return"click"===n&&(o=!1!==l["ɵnov"](e,24).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&o),o}),null,null)),l["ɵdid"](24,671744,null,0,o.o,[o.n,o.a,r.LocationStrategy],{routerLink:[0,"routerLink"]},null),l["ɵpad"](25,2),(e()(),l["ɵted"](-1,null,["Login"])),(e()(),l["ɵeld"](27,0,null,null,3,"button",[["class","proceed-btn"],["preloader",""],["type","submit"]],null,null,null,u.b,u.a)),l["ɵdid"](28,114688,null,0,s.a,[],{isProcess:[0,"isProcess"]},null),(e()(),l["ɵeld"](29,0,null,0,1,"div",[["class","button-label"]],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Send"]))],(function(e,n){var t=n.component;e(n,12,0,""),e(n,13,0,t.emailPattern),e(n,16,0,"email",t.email),e(n,21,0,t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,16))),e(n,24,0,e(n,25,0,"../","login")),e(n,28,0,t.isProcess)}),(function(e,n){var t=n.component;e(n,1,0,l["ɵnov"](n,3).submitted,l["ɵnov"](n,5).ngClassUntouched,l["ɵnov"](n,5).ngClassTouched,l["ɵnov"](n,5).ngClassPristine,l["ɵnov"](n,5).ngClassDirty,l["ɵnov"](n,5).ngClassValid,l["ɵnov"](n,5).ngClassInvalid,l["ɵnov"](n,5).ngClassPending),e(n,7,0,t.hasError(l["ɵnov"](n,3),l["ɵnov"](n,16))),e(n,10,0,l["ɵnov"](n,12).required?"":null,l["ɵnov"](n,13).pattern?l["ɵnov"](n,13).pattern:null,l["ɵnov"](n,18).ngClassUntouched,l["ɵnov"](n,18).ngClassTouched,l["ɵnov"](n,18).ngClassPristine,l["ɵnov"](n,18).ngClassDirty,l["ɵnov"](n,18).ngClassValid,l["ɵnov"](n,18).ngClassInvalid,l["ɵnov"](n,18).ngClassPending),e(n,23,0,l["ɵnov"](n,24).target,l["ɵnov"](n,24).href)}))}function O(e){return l["ɵvid"](2,[(e()(),l["ɵeld"](0,0,null,null,14,"div",[["class","content-page forgot-password"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,13,"div",[["class","register-wrapper forgot-password-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,12,"div",[["class","forgot-password-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,1,"widget-title",[["label","Forgot Password"]],null,null,null,d.b,d.a)),l["ɵdid"](4,180224,null,0,c.a,[l.ElementRef,p.a,l.Renderer,f.a],{label:[0,"label"]},null),(e()(),l["ɵeld"](5,0,null,null,9,"div",[["class","forgot-password-info"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,8,"div",[["class","email-wrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,7,"div",[],null,null,null,null,null)),l["ɵdid"](8,16384,null,0,r.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,b)),l["ɵdid"](10,278528,null,0,r.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,_)),l["ɵdid"](12,278528,null,0,r.NgSwitchCase,[l.ViewContainerRef,l.TemplateRef,r.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,x)),l["ɵdid"](14,16384,null,0,r.NgSwitchDefault,[l.ViewContainerRef,l.TemplateRef,r.NgSwitch],null,null)],(function(e,n){var t=n.component;e(n,4,0,"Forgot Password"),e(n,8,0,t.success),e(n,10,0,!0),e(n,12,0,!1)}),null)}var M=l["ɵccf"]("forgot-password",g.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"forgot-password",[],null,null,null,O,v)),l["ɵdid"](1,114688,null,0,g.a,[h.a,l.ChangeDetectorRef,m.a],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,t){var l={"app/borrower/borrower.module.ngfactory":[820,5],"app/introducer/introducer.module.ngfactory":[822,6],"app/leeplender/leeplender.module.ngfactory":[821,1,7],"app/lender/lender.module.ngfactory":[819,1,8]};function o(e){if(!t.o(l,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=l[e],o=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(o)}))}o.keys=function(){return Object.keys(l)},o.id=533,e.exports=o},function(e,n,t){e.exports=function(e){function n(l){if(t[l])return t[l].exports;var o=t[l]={exports:{},id:l,loaded:!1};return e[l].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=t(3);Object.defineProperty(n,"conformToMask",{enumerable:!0,get:function(){return l(o).default}});var r=t(2);Object.defineProperty(n,"adjustCaretPosition",{enumerable:!0,get:function(){return l(r).default}});var i=t(5);Object.defineProperty(n,"createTextMaskInputElement",{enumerable:!0,get:function(){return l(i).default}})},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.placeholderChar="_",n.strFunction="function"},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n=e.previousConformedValue,o=void 0===n?l:n,r=e.previousPlaceholder,i=void 0===r?l:r,a=e.currentCaretPosition,u=void 0===a?0:a,s=e.conformedValue,d=e.rawValue,c=e.placeholderChar,p=e.placeholder,f=e.indexesOfPipedChars,g=void 0===f?t:f,h=e.caretTrapIndexes,m=void 0===h?t:h;if(0===u||!d.length)return 0;var v=o.length,b=p.length,_=s.length,y=d.length-v,w=y>0;if(y>1&&!w&&0!==v)return u;var C=0,x=void 0,O=void 0;if(!w||o!==s&&s!==p){var M=s.toLowerCase(),k=d.toLowerCase().substr(0,u).split(l).filter((function(e){return-1!==M.indexOf(e)}));O=k[k.length-1];var A=i.substr(0,k.length).split(l).filter((function(e){return e!==c})).length,P=p.substr(0,k.length).split(l).filter((function(e){return e!==c})).length;!w&&(P!==A||void 0!==i[k.length-1]&&void 0!==p[k.length-2]&&i[k.length-1]!==c&&i[k.length-1]!==p[k.length-1]&&i[k.length-1]===p[k.length-2])&&A>0&&p.indexOf(O)>-1&&void 0!==d[u]&&(x=!0,O=d[u]);for(var S=g.map((function(e){return M[e]})).filter((function(e){return e===O})).length,R=k.filter((function(e){return e===O})).length,I=p.substr(0,p.indexOf(c)).split(l).filter((function(e,n){return e===O&&d[n]!==e})).length+R+S+(x?1:0),E=0,N=0;N<_&&(C=N+1,M[N]===O&&E++,!(E>=I));N++);}else C=u-y;if(w){for(var T=C,D=C;D<=b;D++)if(p[D]===c&&(T=D),p[D]===c||-1!==m.indexOf(D)||D===b)return T}else if(x){for(var V=C-1;V>=0;V--)if(s[V]===O||-1!==m.indexOf(V)||0===V)return V}else for(var F=C;F>=0;F--)if(p[F-1]===c||-1!==m.indexOf(F)||0===F)return F};var t=[],l=""},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,o.isArray)(n)){if((void 0===n?"undefined":l(n))!==r.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");n=n(e,t),n=(0,o.processCaretTraps)(n).maskWithoutCaretTraps}var u=t.guide,s=void 0===u||u,d=t.previousConformedValue,c=void 0===d?a:d,p=t.placeholderChar,f=void 0===p?r.placeholderChar:p,g=t.placeholder,h=void 0===g?(0,o.convertMaskToPlaceholder)(n,f):g,m=t.keepCharPositions,v=!1===s&&void 0!==c,b=e.length,_=c.length,y=h.length,w=n.length,C=b-_,x=C>0,O=t.currentCaretPosition+(x?-C:0),M=O+Math.abs(C);if(!0===m&&!x){for(var k=a,A=O;A=O&&n=0;S--){var R=P[S].char;R!==f&&R===h[S>=O&&_===w?S-C:S]&&P.splice(S,1)}var I=a,E=!1;e:for(var N=0;N0)for(;P.length>0;){var D=P.shift(),V=D.char,F=D.isNew;if(V===f&&!0!==v){I+=f;continue e}if(n[N].test(V)){if(!0===m&&!1!==F&&c!==a&&!1!==s&&x){for(var L=P.length,q=null,B=0;B0&&void 0!==arguments[0]?arguments[0]:r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.placeholderChar;if(!l(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(n))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(n)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?n:e})).join("")},n.isArray=l,n.isString=function(e){return"string"==typeof e||e instanceof String},n.isNumber=function(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)},n.isNil=function(e){return null==e},n.processCaretTraps=function(e){for(var n=[],t=void 0;-1!==(t=e.indexOf(i));)n.push(t),e.splice(t,1);return{maskWithoutCaretTraps:e,indexes:n}};var o=t(1),r=[],i="[]"},function(e,n,t){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}function o(e,n){document.activeElement===e&&(g?h((function(){return e.setSelectionRange(n,n,p)}),0):e.setSelectionRange(n,n,p))}Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:e,p=l.inputElement,g=l.mask,h=l.guide,m=l.pipe,v=l.placeholderChar,b=void 0===v?d.placeholderChar:v,_=l.keepCharPositions,y=void 0!==_&&_,w=l.showMask,C=void 0!==w&&w;if(void 0===t&&(t=p.value),t!==n.previousConformedValue){(void 0===g?"undefined":i(g))===f&&void 0!==g.pipe&&void 0!==g.mask&&(m=g.pipe,g=g.mask);var x=void 0,O=void 0;if(g instanceof Array&&(x=(0,s.convertMaskToPlaceholder)(g,b)),!1!==g){var M=function(e){if((0,s.isString)(e))return e;if((0,s.isNumber)(e))return String(e);if(null==e)return c;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}(t),k=p.selectionEnd,A=n.previousConformedValue,P=n.previousPlaceholder,S=void 0;if((void 0===g?"undefined":i(g))===d.strFunction){if(!1===(O=g(M,{currentCaretPosition:k,previousConformedValue:A,placeholderChar:b})))return;var R=(0,s.processCaretTraps)(O);S=R.indexes,x=(0,s.convertMaskToPlaceholder)(O=R.maskWithoutCaretTraps,b)}else O=g;var I={previousConformedValue:A,guide:h,placeholderChar:b,pipe:m,placeholder:x,currentCaretPosition:k,keepCharPositions:y},E=(0,u.default)(M,O,I).conformedValue,N=(void 0===m?"undefined":i(m))===d.strFunction,T={};N&&(!1===(T=m(E,r({rawValue:M},I)))?T={value:A,rejected:!0}:(0,s.isString)(T)&&(T={value:T}));var D=N?T.value:E,V=(0,a.default)({previousConformedValue:A,previousPlaceholder:P,conformedValue:D,placeholder:x,rawValue:M,currentCaretPosition:k,placeholderChar:b,indexesOfPipedChars:T.indexesOfPipedChars,caretTrapIndexes:S}),F=D===x&&0===V?C?x:c:D;n.previousConformedValue=F,n.previousPlaceholder=x,p.value!==F&&(p.value=F,o(p,V))}}}}};var a=l(t(2)),u=l(t(3)),s=t(4),d=t(1),c="",p="none",f="object",g="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),h="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])},function(e,n,t){var l=t(536);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==l(e)?e.split(""):Object(e)}},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n,t){"use strict";var l=t(538),o=t(338),r=t(786),i=t(246),a=t(275),u=t(787),s=t(545),d=t(795),c=t(222)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,n,t,g,h,m,v){u(t,n,g);var b,_,y,w=function(e){if(!p&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new t(this,e)}}return function(){return new t(this,e)}},C=n+" Iterator",x="values"==h,O=!1,M=e.prototype,k=M[c]||M["@@iterator"]||h&&M[h],A=k||w(h),P=h?x?w("entries"):A:void 0,S="Array"==n&&M.entries||k;if(S&&(y=d(S.call(new e)))!==Object.prototype&&y.next&&(s(y,C,!0),l||"function"==typeof y[c]||i(y,c,f)),x&&k&&"values"!==k.name&&(O=!0,A=function(){return k.call(this)}),l&&!v||!p&&!O&&M[c]||i(M,c,A),a[n]=A,a[C]=f,h)if(b={values:x?A:w("values"),keys:m?A:w("keys"),entries:P},v)for(_ in b)_ in M||r(M,_,b[_]);else o(o.P+o.F*(p||O),n,b);return b}},function(e,n){e.exports=!0},function(e,n,t){var l=t(339),o=t(220).document,r=l(o)&&l(o.createElement);e.exports=function(e){return r?o.createElement(e):{}}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){var l=t(790),o=t(544);e.exports=Object.keys||function(e){return l(e,o)}},function(e,n,t){var l=t(221),o=t(220),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,n){return r[e]||(r[e]=void 0!==n?n:{})})("versions",[]).push({version:l.version,mode:t(538)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,n){var t=0,l=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+l).toString(36))}},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n,t){var l=t(276).f,o=t(278),r=t(222)("toStringTag");e.exports=function(e,n,t){e&&!o(e=t?e:e.prototype,r)&&l(e,r,{configurable:!0,value:n})}},function(e,n,t){var l=t(337);e.exports=function(e){return Object(l(e))}},function(e,n,t){var l=t(548).BufferBuilder,o=t(548).binaryFeatures;function r(e){this.index=0,this.dataBuffer=e,this.dataView=new Uint8Array(this.dataBuffer),this.length=this.dataBuffer.byteLength}function i(){this.bufferBuilder=new l}function a(e){var n=e.charCodeAt(0);return n<=2047?"00":n<=65535?"000":n<=2097151?"0000":n<=67108863?"00000":"000000"}e.exports={unpack:function(e){return new r(e).unpack()},pack:function(e){var n=new i;return n.pack(e),n.getBuffer()}},r.prototype.unpack=function(){var e,n=this.unpack_uint8();if(n<128)return n;if((224^n)<32)return(224^n)-32;if((e=160^n)<=15)return this.unpack_raw(e);if((e=176^n)<=15)return this.unpack_string(e);if((e=144^n)<=15)return this.unpack_array(e);if((e=128^n)<=15)return this.unpack_map(e);switch(n){case 192:return null;case 193:return;case 194:return!1;case 195:return!0;case 202:return this.unpack_float();case 203:return this.unpack_double();case 204:return this.unpack_uint8();case 205:return this.unpack_uint16();case 206:return this.unpack_uint32();case 207:return this.unpack_uint64();case 208:return this.unpack_int8();case 209:return this.unpack_int16();case 210:return this.unpack_int32();case 211:return this.unpack_int64();case 212:case 213:case 214:case 215:return;case 216:return e=this.unpack_uint16(),this.unpack_string(e);case 217:return e=this.unpack_uint32(),this.unpack_string(e);case 218:return e=this.unpack_uint16(),this.unpack_raw(e);case 219:return e=this.unpack_uint32(),this.unpack_raw(e);case 220:return e=this.unpack_uint16(),this.unpack_array(e);case 221:return e=this.unpack_uint32(),this.unpack_array(e);case 222:return e=this.unpack_uint16(),this.unpack_map(e);case 223:return e=this.unpack_uint32(),this.unpack_map(e)}},r.prototype.unpack_uint8=function(){var e=255&this.dataView[this.index];return this.index++,e},r.prototype.unpack_uint16=function(){var e=this.read(2),n=256*(255&e[0])+(255&e[1]);return this.index+=2,n},r.prototype.unpack_uint32=function(){var e=this.read(4),n=256*(256*(256*e[0]+e[1])+e[2])+e[3];return this.index+=4,n},r.prototype.unpack_uint64=function(){var e=this.read(8),n=256*(256*(256*(256*(256*(256*(256*e[0]+e[1])+e[2])+e[3])+e[4])+e[5])+e[6])+e[7];return this.index+=8,n},r.prototype.unpack_int8=function(){var e=this.unpack_uint8();return e<128?e:e-256},r.prototype.unpack_int16=function(){var e=this.unpack_uint16();return e<32768?e:e-65536},r.prototype.unpack_int32=function(){var e=this.unpack_uint32();return e>31?1:-1)*(8388607&e|8388608)*Math.pow(2,(e>>23&255)-127-23)},r.prototype.unpack_double=function(){var e=this.unpack_uint32(),n=this.unpack_uint32(),t=(e>>20&2047)-1023;return(0==e>>31?1:-1)*((1048575&e|1048576)*Math.pow(2,t-20)+n*Math.pow(2,t-52))},r.prototype.read=function(e){var n=this.index;if(n+e<=this.length)return this.dataView.subarray(n,n+e);throw new Error("BinaryPackFailure: read index out of range")},i.prototype.getBuffer=function(){return this.bufferBuilder.getBuffer()},i.prototype.pack=function(e){var n=typeof e;if("string"==n)this.pack_string(e);else if("number"==n)Math.floor(e)===e?this.pack_integer(e):this.pack_double(e);else if("boolean"==n)!0===e?this.bufferBuilder.append(195):!1===e&&this.bufferBuilder.append(194);else if("undefined"==n)this.bufferBuilder.append(192);else{if("object"!=n)throw new Error('Type "'+n+'" not yet supported');if(null===e)this.bufferBuilder.append(192);else{var t=e.constructor;if(t==Array)this.pack_array(e);else if(t==Blob||t==File)this.pack_bin(e);else if(t==ArrayBuffer)this.pack_bin(o.useArrayBufferView?new Uint8Array(e):e);else if("BYTES_PER_ELEMENT"in e)this.pack_bin(o.useArrayBufferView?new Uint8Array(e.buffer):e.buffer);else if(t==Object)this.pack_object(e);else if(t==Date)this.pack_string(e.toString());else{if("function"!=typeof e.toBinaryPack)throw new Error('Type "'+t.toString()+'" not yet supported');this.bufferBuilder.append(e.toBinaryPack())}}}this.bufferBuilder.flush()},i.prototype.pack_bin=function(e){var n=e.length||e.byteLength||e.size;if(n<=15)this.pack_uint8(160+n);else if(n<=65535)this.bufferBuilder.append(218),this.pack_uint16(n);else{if(!(n<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(219),this.pack_uint32(n)}this.bufferBuilder.append(e)},i.prototype.pack_string=function(e){var n=function(e){return e.length>600?new Blob([e]).size:e.replace(/[^\u0000-\u007F]/g,a).length}(e);if(n<=15)this.pack_uint8(176+n);else if(n<=65535)this.bufferBuilder.append(216),this.pack_uint16(n);else{if(!(n<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(217),this.pack_uint32(n)}this.bufferBuilder.append(e)},i.prototype.pack_array=function(e){var n=e.length;if(n<=15)this.pack_uint8(144+n);else if(n<=65535)this.bufferBuilder.append(220),this.pack_uint16(n);else{if(!(n<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(221),this.pack_uint32(n)}for(var t=0;t>8),this.bufferBuilder.append(255&e)},i.prototype.pack_uint32=function(e){var n=4294967295&e;this.bufferBuilder.append((4278190080&n)>>>24),this.bufferBuilder.append((16711680&n)>>>16),this.bufferBuilder.append((65280&n)>>>8),this.bufferBuilder.append(255&n)},i.prototype.pack_uint64=function(e){var n=e/Math.pow(2,32),t=e%Math.pow(2,32);this.bufferBuilder.append((4278190080&n)>>>24),this.bufferBuilder.append((16711680&n)>>>16),this.bufferBuilder.append((65280&n)>>>8),this.bufferBuilder.append(255&n),this.bufferBuilder.append((4278190080&t)>>>24),this.bufferBuilder.append((16711680&t)>>>16),this.bufferBuilder.append((65280&t)>>>8),this.bufferBuilder.append(255&t)},i.prototype.pack_int8=function(e){this.bufferBuilder.append(255&e)},i.prototype.pack_int16=function(e){this.bufferBuilder.append((65280&e)>>8),this.bufferBuilder.append(255&e)},i.prototype.pack_int32=function(e){this.bufferBuilder.append(e>>>24&255),this.bufferBuilder.append((16711680&e)>>>16),this.bufferBuilder.append((65280&e)>>>8),this.bufferBuilder.append(255&e)},i.prototype.pack_int64=function(e){var n=Math.floor(e/Math.pow(2,32)),t=e%Math.pow(2,32);this.bufferBuilder.append((4278190080&n)>>>24),this.bufferBuilder.append((16711680&n)>>>16),this.bufferBuilder.append((65280&n)>>>8),this.bufferBuilder.append(255&n),this.bufferBuilder.append((4278190080&t)>>>24),this.bufferBuilder.append((16711680&t)>>>16),this.bufferBuilder.append((65280&t)>>>8),this.bufferBuilder.append(255&t)}},function(e,n){var t={};t.useBlobBuilder=function(){try{return new Blob([]),!1}catch(e){return!0}}(),t.useArrayBufferView=!t.useBlobBuilder&&function(){try{return 0===new Blob([new Uint8Array([])]).size}catch(e){return!0}}(),e.exports.binaryFeatures=t;var l=e.exports.BlobBuilder;function o(){this._pieces=[],this._parts=[]}"undefined"!=typeof window&&(l=e.exports.BlobBuilder=window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder||window.BlobBuilder),o.prototype.append=function(e){"number"==typeof e?this._pieces.push(e):(this.flush(),this._parts.push(e))},o.prototype.flush=function(){if(this._pieces.length>0){var e=new Uint8Array(this._pieces);t.useArrayBufferView||(e=e.buffer),this._parts.push(e),this._pieces=[]}},o.prototype.getBuffer=function(){if(this.flush(),t.useBlobBuilder){for(var e=new l,n=0,o=this._parts.length;ndiv{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.chatBoard-wrapper.dealview .loanChat .chat-header{display:flow-root;background-color:#c1bdb0}.chatBoard-wrapper.dealview .loanChat .chat-controls{background-color:#7b6f51}.chatBoard-wrapper.dealview .status{background-color:#306070;display:flow-root;font-size:1.5rem}.chatBoard-wrapper.dealview .status p{float:right;padding:.5rem;color:hsla(0,0%,100%,.54)}.chatBoard-wrapper.dealview .loanChat .chat-header .videoSettings .status p i,.chatBoard-wrapper.dealview .status p .loanChat .chat-header .videoSettings i,.chatBoard-wrapper.dealview .status p span{color:#fff}.chatBoard-wrapper.dealview .users-controls{min-height:3rem;background-color:#44899f;position:relative}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper{position:absolute;top:-2rem;display:-webkit-box;display:-ms-flexbox;display:flex;left:1rem}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic{margin:0 .2rem}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic img{height:28px;width:28px;margin:.5rem 0;border-radius:50px}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info{background-color:#fff;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53);z-index:2;position:absolute;padding:1.5rem;border-radius:5px;min-width:200px}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info:after{content:"";display:block;position:absolute;top:-5px;width:10px;height:10px;background:#fff;border-right:1px solid #cad5e0;border-bottom:1px solid #cad5e0;-webkit-transform:rotate(-140deg);-ms-transform:rotate(-140deg);transform:rotate(-140deg)}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info p{color:#584d34;font-size:1.3rem;font-family:LatoWeb;font-weight:600}.chatBoard-wrapper.dealview .loanChat .chat-header .videoSettings .users-controls .userpic-wrapper .userpic .userpic-info i,.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info .loanChat .chat-header .videoSettings i,.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info span{color:#584d34;margin:.5rem 0;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info .messagebtn-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;float:left;width:50%}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info .messagebtn-wrapper .messagebtn{background-color:#ff6500;border-radius:50px;width:20px;height:20px;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex}.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info .messagebtn-wrapper .messagebtn i{color:#fff;margin:auto}.chatBoard-wrapper.dealview .loanChat .chat-header .videoSettings .users-controls .userpic-wrapper .userpic .userpic-info .messagebtn-wrapper i,.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info .messagebtn-wrapper .loanChat .chat-header .videoSettings i,.chatBoard-wrapper.dealview .users-controls .userpic-wrapper .userpic .userpic-info .messagebtn-wrapper span{display:inline-block;width:auto;background-color:#dfded8;color:#584d34;font-weight:600;font-size:.9rem;border-radius:50px;position:absolute;padding:.5rem .5rem .5rem 1.5rem;top:-4px;left:8px;text-align:right}.chatBoard-wrapper.dealview .board.deal .notification-board.small{height:49%}.chatBoard-wrapper.dealview .add-message{position:relative;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53)}.chatBoard-wrapper.dealview .add-message textarea{border:none;margin:1px;width:calc(100% - 2px)}.chatBoard-wrapper.dealview .add-message .type-controls{padding:1rem;background-color:#fff}.chatBoard-wrapper.dealview .add-message .type-controls img{width:20px}.chatBoard-wrapper.dealview .add-message .type-controls img:not(:first-child){float:right}.chatBoard-wrapper.dealview .add-message .email-notification{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:rgba(68,137,159,.54);border-radius:5px;font-size:1.5rem;width:95%;color:#fff;top:1rem;left:1rem;padding:1rem 0}.chatBoard-wrapper.dealview .add-message .email-notification p{font-size:1rem}.chatBoard-wrapper.dealview .add-message .email-notification i:first-child{margin:auto auto auto .5rem}.chatBoard-wrapper.dealview .add-message .email-notification i{margin:auto .5rem auto auto}.board.private{height:100%}.board.private .request{background-color:#f2f1ed;color:#584d34;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex}.board.private .request i{margin:auto 0 auto auto;color:rgba(123,111,81,.5)}.board.private .search{background-color:#d4d0c6;color:#584d34;font-weight:600;background-image:none;position:relative}.board.private .search:after{content:"";display:block;position:absolute;width:20px;height:20px;background:#d4d0c6;left:40%;bottom:-9px;z-index:1;-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.board.private .search p{font-size:1rem}.board.private .search .iconWrapp,.board.private .search p{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.board.private .search .iconWrapp{background-color:#584d34;color:hsla(0,0%,100%,.64);border-radius:50px;width:18px;height:18px}.board.private .search .iconWrapp:not(:first-child){margin-left:1.5rem}.board.private .search .iconWrapp:last-child{float:right}.board.private .search .iconWrapp i{margin:auto;font-size:1.2rem}.board.private .notification-board .proceed button{background-color:#d4d0c6;color:#584d34;font-weight:600}.board.private .notification-board .message-wrapper .activeButtons{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;border-radius:50px;-webkit-box-shadow:0 0 8px 0 rgba(60,53,76,.3);box-shadow:0 0 8px 0 rgba(60,53,76,.3);bottom:-9px;height:20px;width:60px;background-color:#fff;left:38%;color:#584d34}.board.private .notification-board .message-wrapper .activeButtons i{margin:auto;cursor:pointer}.board.private .notification-board .message-wrapper .activeButtons .focus-icon{-webkit-box-shadow:0 0 4px 0 rgba(60,53,76,.5);box-shadow:0 0 4px 0 rgba(60,53,76,.5);border-radius:50px;display:-webkit-box;display:-ms-flexbox;display:flex;width:20px}.dealOfferDocsWrapper{padding:.5rem 2rem 3rem 3rem;height:100%;width:100%;max-width:100%;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}@media only screen and (max-width:750px){.dealOfferDocsWrapper{padding:0}}.dealOfferDocsWrapper .loanForm.offer-content{padding:2rem;margin:0;height:100%;overflow:hidden}.dealOfferDocsWrapper .loanForm.offer-content iframe{height:100%;width:100%;border:none}.deal-template.content-page{padding:25px 0 25px 25px}@media (max-height:450px),(max-width:450px){.deal-template.content-page{padding:0}}.deal-template.content-page .chatBoard-wrapper{min-height:100%;max-height:100%}.deal-template.content-page .chatBoard-wrapper .deal-window{margin:0}.deal-template.content-page .chatBoard-wrapper .deal-window .dealBlock{padding-left:0;max-width:390px}.oip-wrapper{min-width:330px}@media only screen and (max-width:750px){.oip-wrapper{min-width:100%;position:absolute;padding:0;right:0;height:100%;width:100%;margin-right:-105%;top:0;-webkit-transition:.5s;-o-transition:.5s;transition:.5s}.oip-wrapper.rightActive{margin-right:0;z-index:3;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53)}}.tab-container{margin:0;padding:0;max-height:35px}.tab-container ul.tabs{margin:0;list-style-type:none;line-height:35px;max-height:35px;overflow:hidden;display:inline-block;padding:0 10px}.tab-container ul.tabs>li{float:left;margin:5px -10px 0;border-top-right-radius:25px 170px;border-top-left-radius:20px 90px;padding:0 30px 0 25px;height:170px;background:#ddd;position:relative;-webkit-box-shadow:0 10px 20px rgba(0,0,0,.5);box-shadow:0 10px 20px rgba(0,0,0,.5);max-width:200px}.tab-container ul.tabs>li:hover{cursor:pointer}.tab-container ul.tabs>li:after,.tab-container ul.tabs>li:before{content:"";display:block;background:transparent;height:40px;width:40px;border:10px solid;border-radius:100%;top:0;position:absolute}.tab-container ul.tabs>li:before{border-color:transparent #ddd transparent transparent;-webkit-transform:rotate(48deg);-ms-transform:rotate(48deg);transform:rotate(48deg);left:-23px}.tab-container ul.tabs>li:after{border-color:transparent transparent transparent #ddd;-webkit-transform:rotate(-48deg);-ms-transform:rotate(-48deg);transform:rotate(-48deg);right:-17px}.tab-container ul.tabs>li.active{z-index:2;background:#ff6500;color:#fff;font-family:LatoWeb}.tab-container ul.tabs>li.active:before{border-color:transparent #ff6500 transparent transparent}.tab-container ul.tabs>li.active:after{border-color:transparent transparent transparent #ff6500}.borrowers-wrapper{-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;height:calc(100% - 20px)}.borrowers-wrapper,.borrowers-wrapper .vertical-tabs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal}.borrowers-wrapper .vertical-tabs{background-color:#44899f;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-writing-mode:vertical-lr;-ms-writing-mode:tb-lr;writing-mode:vertical-lr;-webkit-writing-mode:tb-lr;writing-mode:tb-lr;-webkit-transform:scale(-1);-ms-transform:scale(-1);transform:scale(-1);text-align:center;width:35px;min-width:35px;line-height:25px;font-weight:700;font-variant:small-caps;padding:6px}.borrowers-wrapper .vertical-tabs .borrower-tab{padding:1em 0;border-top:1px solid #fff;color:#fff;font-family:LatoWeb;letter-spacing:.7px}.borrowers-wrapper .vertical-tabs .borrower-tab.active{text-decoration:underline}.borrowers-wrapper .vertical-tabs .borrower-tab .chatBoard-wrapper .loanChat .chat-header .videoSettings i,.borrowers-wrapper .vertical-tabs .borrower-tab span,.chatBoard-wrapper .loanChat .chat-header .videoSettings .borrowers-wrapper .vertical-tabs .borrower-tab i{text-decoration:none}.borrowers-wrapper .vertical-tabs .borrower-tab .chatBoard-wrapper .loanChat .chat-header .videoSettings i.corporate,.borrowers-wrapper .vertical-tabs .borrower-tab span.corporate,.chatBoard-wrapper .loanChat .chat-header .videoSettings .borrowers-wrapper .vertical-tabs .borrower-tab i.corporate{color:#ff6500}.borrowers-wrapper .vertical-tabs .borrower-tab:hover{background-color:hsla(0,0%,100%,.25);cursor:pointer}.borrowers-wrapper .offer-content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.quick-offer-wrapper{min-width:330px}loan-short-widget{width:100%}']],data:{}});function k(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"li",[],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onChangeTab(t,e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](2,{active:0}),(e()(),l["ɵted"](3,null,["",""]))],(function(e,n){e(n,1,0,e(n,2,0,n.context.$implicit.active))}),(function(e,n){e(n,3,0,n.context.$implicit.name)}))}function A(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,5,"div",[["class","borrower-tab"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onChangeBorrowerTab(t,e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](2,{active:0}),(e()(),l["ɵeld"](3,0,null,null,1,"span",[],[[8,"className",0]],null,null,null,null)),(e()(),l["ɵted"](-1,null,["● "])),(e()(),l["ɵted"](5,null,["",""]))],(function(e,n){e(n,1,0,"borrower-tab",e(n,2,0,n.context.$implicit.active))}),(function(e,n){e(n,3,0,l["ɵinlineInterpolate"](1,"",n.context.$implicit.type,"")),e(n,5,0,n.context.$implicit.name)}))}function P(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,2,"div",[["class","vertical-tabs"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,A)),l["ɵdid"](2,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,2,0,n.component.borrowerTabs)}),null)}function S(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,9,"div",[["class","col-md-6 col-xl-5 dealOfferDocsWrapper"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,3,"div",[["class","tab-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,2,"ul",[["class","tabs clearfix"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,k)),l["ɵdid"](4,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),l["ɵeld"](5,0,null,null,4,"div",[["class","borrowers-wrapper"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,P)),l["ɵdid"](7,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](8,0,null,null,1,"div",[["class","loanForm offer-content"]],null,null,null,null,null)),l["ɵdid"](9,606208,null,0,r,[l.ElementRef],{html:[0,"html"]},null)],(function(e,n){var t=n.component;e(n,4,0,t.tabs),e(n,7,0,null==t.activeTab?null:t.activeTab.showAdditionalTab),e(n,9,0,null==t.activeTab?null:t.activeTab.html)}),null)}function R(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","oip-wrapper"]],null,null,null,null,null)),l["ɵdid"](1,212992,null,0,i.a,[l.ElementRef,l.Renderer2,a.a],{field:[0,"field"]},null),(e()(),l["ɵeld"](2,0,null,null,1,"quick-offer",[],null,null,null,u.b,u.a)),l["ɵdid"](3,638976,null,0,s.a,[d.a,d.n,c.a,a.a,p.a,f.a],{loanId:[0,"loanId"],summaryModel:[1,"summaryModel"],calculatedModel:[2,"calculatedModel"],model:[3,"model"],interestRate:[4,"interestRate"]},null)],(function(e,n){var t=n.component;e(n,1,0,"right"),e(n,3,0,t.loan.id,t.summaryModel,t.calculatedModel,t.model,t.interestRate)}),null)}function I(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,17,"div",[["class","content-page deal-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,16,"div",[["class","chatBoard-wrapper video loan left-zero"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,15,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,14,"div",[["class","row no-gutter justify-content-between deal-window"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,9,"div",[["class","col-md-6 col-xl-4 dealBlock"]],null,null,null,null,null)),l["ɵdid"](5,212992,null,0,i.a,[l.ElementRef,l.Renderer2,a.a],{field:[0,"field"]},null),(e()(),l["ɵeld"](6,0,null,null,7,"div",[["class","board deal"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,6,"div",[["class","welcome-board"]],null,null,null,null,null)),(e()(),l["ɵeld"](8,0,null,null,2,"div",[["class","request"]],null,null,null,null,null)),(e()(),l["ɵeld"](9,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),l["ɵted"](-1,null,["Project Timeline: In Valuation"])),(e()(),l["ɵeld"](11,0,null,null,2,"div",[["class","loan-request"]],null,null,null,null,null)),(e()(),l["ɵeld"](12,0,null,null,1,"loan-short-widget",[],null,null,null,g.b,g.a)),l["ɵdid"](13,638976,null,0,h.a,[m.a,d.n,v.DomSanitizer,d.a,b.a],{loan:[0,"loan"],isSingle:[1,"isSingle"],showOffers:[2,"showOffers"],showEditButton:[3,"showEditButton"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,S)),l["ɵdid"](15,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,R)),l["ɵdid"](17,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,n){var t=n.component;e(n,5,0,"left"),e(n,13,0,t.loan,!0,!1,!t.hasOIP),e(n,15,0,!t.videoCallStarted),e(n,17,0,t.hasOIP)}),null)}var E=l["ɵccf"]("[deal-view]",_.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["deal-view",""]],null,null,null,I,M)),l["ɵdid"](1,114688,null,0,_.a,[y.a,d.n,d.a,w.a,C.a,x.a,O.a,p.a],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";var l=t(0),o=t(2),r=t(54),i=t(69),a=t(33),u=t(45),s=t(100),d=t(22),c=t(5),p=t(34),f=t(36),g=t(39);t.d(n,"a",(function(){return _}));var h=l["ɵcrt"]({encapsulation:0,styles:[['.offers-form-template.content-page[_ngcontent-%COMP%]{height:100%;padding-top:15px}@media (max-width:450px){.offers-form-template.content-page[_ngcontent-%COMP%]{padding-top:0}}.offers-form-template[_ngcontent-%COMP%] .row.no-gutter.justify-content-between[_ngcontent-%COMP%]{padding:0;margin:0;height:100%}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper.fix[_ngcontent-%COMP%]{height:100%!important;position:unset!important;max-height:100%!important;padding:10px 15px!important;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] widget-title[_ngcontent-%COMP%]{padding:0}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%]{margin:0;padding:0;max-height:35px}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%]{margin:0;list-style-type:none;line-height:35px;max-height:35px;overflow:hidden;display:inline-block;padding:0 10px}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{float:left;margin:5px -10px 0;border-top-right-radius:25px 170px;border-top-left-radius:20px 90px;padding:0 30px 0 25px;height:170px;background:#ddd;position:relative;-webkit-box-shadow:0 10px 20px rgba(0,0,0,.5);box-shadow:0 10px 20px rgba(0,0,0,.5);max-width:200px}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{cursor:pointer}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:after, .offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:"";display:block;background:transparent;height:40px;width:40px;border:10px solid;border-radius:100%;top:0;position:absolute}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{border-color:transparent #ddd transparent transparent;-webkit-transform:rotate(48deg);-ms-transform:rotate(48deg);transform:rotate(48deg);left:-23px}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:after{border-color:transparent transparent transparent #ddd;-webkit-transform:rotate(-48deg);-ms-transform:rotate(-48deg);transform:rotate(-48deg);right:-17px}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]{z-index:2;background:#ff6500;color:#fff;font-family:LatoWeb}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]:before{border-color:transparent #ff6500 transparent transparent}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] ul.tabs[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]:after{border-color:transparent transparent transparent #ff6500}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .clearfix[_ngcontent-%COMP%]:after, .offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .clearfix[_ngcontent-%COMP%]:before{content:"";display:table}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .clearfix[_ngcontent-%COMP%]:after{clear:both}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .clearfix[_ngcontent-%COMP%]{zoom:1}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .loanForm.offer-content[_ngcontent-%COMP%]{margin:0!important;padding:0;height:100%;overflow:hidden}.offers-form-template[_ngcontent-%COMP%] .offerDocsWrapper[_ngcontent-%COMP%] .loanForm.offer-content[_ngcontent-%COMP%] iframe{border:none;padding:10px;height:100%;width:100%}.offers-form-template[_ngcontent-%COMP%] .chatBoard-wrapper[_ngcontent-%COMP%]{overflow-x:hidden;width:100%!important;position:absolute;left:50%;max-width:none!important;min-width:0!important;height:100%!important;top:0!important;margin-top:0!important}@media (min-width:750px){.offers-form-template[_ngcontent-%COMP%] .chatBoard-wrapper[_ngcontent-%COMP%]{width:90rem!important;-webkit-transform:translateY(0)!important;-ms-transform:translateY(0)!important;transform:translateY(0)!important;top:0!important;max-height:95%!important}}.offers-form-template[_ngcontent-%COMP%] .chatBoard-wrapper[_ngcontent-%COMP%] .loanChat[_ngcontent-%COMP%]{padding:0;-webkit-transition:.5s;-o-transition:.5s;transition:.5s}.offers-form-template[_ngcontent-%COMP%] .chatBoard-wrapper[_ngcontent-%COMP%] .loanChat[_ngcontent-%COMP%] .loanChat{width:100%}@media (max-width:1200px){.offers-form-template[_ngcontent-%COMP%] .chatBoard-wrapper[_ngcontent-%COMP%] .loanChat[_ngcontent-%COMP%]{position:absolute;max-width:30rem;padding:0;right:0;height:100%;margin-right:-100%;top:0}.offers-form-template[_ngcontent-%COMP%] .chatBoard-wrapper[_ngcontent-%COMP%] .loanChat.rightActive[_ngcontent-%COMP%]{margin-right:0;z-index:2;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53)}}.offers-form-template[_ngcontent-%COMP%] .get-offer-btn[_ngcontent-%COMP%]{cursor:pointer;background-color:#ff6500;padding:.5rem 1rem;color:#fff;border-radius:15px;font-size:1.2rem;font-family:LatoWebBold;position:absolute;right:0;top:0}.offers-form-template[_ngcontent-%COMP%] .get-offer-btn.disabled[_ngcontent-%COMP%]{background-color:#cacaca;cursor:not-allowed}']],data:{}});function m(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"li",[],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.onChangeTab(t,e.context.$implicit)&&l),l}),null,null)),l["ɵdid"](1,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{ngClass:[0,"ngClass"]},null),l["ɵpod"](2,{active:0}),(e()(),l["ɵted"](3,null,["Offer #",""]))],(function(e,n){e(n,1,0,e(n,2,0,n.context.$implicit===n.component.selectedOffer))}),(function(e,n){e(n,3,0,n.component.selectedLoan.loan_offers.length-n.context.index)}))}function v(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,3,"div",[["class","tab-container"]],null,null,null,null,null)),(e()(),l["ɵeld"](1,0,null,null,2,"ul",[["class","tabs clearfix"]],null,null,null,null,null)),(e()(),l["ɵand"](16777216,null,null,1,null,m)),l["ɵdid"](3,278528,null,0,o.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){e(n,3,0,n.component.selectedLoan.loan_offers)}),null)}function b(e){return l["ɵvid"](0,[l["ɵqud"](402653184,1,{offerContent:0}),(e()(),l["ɵeld"](1,0,null,null,13,"div",[["class","content-page col-sm-12 offers-form-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,12,"div",[["class","chatBoard-wrapper loan alone"]],null,null,null,null,null)),(e()(),l["ɵeld"](3,0,null,null,11,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),l["ɵeld"](4,0,null,null,10,"div",[["class","row no-gutter justify-content-between"]],null,null,null,null,null)),(e()(),l["ɵeld"](5,0,null,null,9,"div",[["class","col-md-12 col-xl-12 offerDocsWrapper fix"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,5,"widget-title",[["label","Offers"]],null,null,null,r.b,r.a)),l["ɵdid"](7,180224,null,0,i.a,[l.ElementRef,a.a,l.Renderer,u.a],{label:[0,"label"]},null),(e()(),l["ɵeld"](8,0,null,0,3,"span",[["class","get-offer-btn"]],null,[[null,"click"]],(function(e,n,t){var l=!0;return"click"===n&&(l=!1!==e.component.openPdf()&&l),l}),null,null)),l["ɵdid"](9,278528,null,0,o.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](10,{disabled:0}),(e()(),l["ɵted"](-1,null,["Download PDF"])),(e()(),l["ɵand"](16777216,null,null,1,null,v)),l["ɵdid"](13,16384,null,0,o.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["ɵeld"](14,0,[[1,0],["offerContent",1]],null,0,"div",[["class","loanForm offer-content"]],null,null,null,null,null))],(function(e,n){var t=n.component;e(n,7,0,"Offers"),e(n,9,0,"get-offer-btn",e(n,10,0,!(null!=t.selectedOffer&&t.selectedOffer.file_name))),e(n,13,0,!!t.selectedLoan)}),null)}var _=l["ɵccf"]("offers-form",s.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"offers-form",[],null,null,null,b,h)),l["ɵdid"](1,114688,null,0,s.a,[d.a,c.a,p.a,f.a,g.a,c.n],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";var l=t(0),o=t(167),r=t(165),i=t(20),a=t(5),u=t(13),s=t(15),d=t(2),c=t(54),p=t(69),f=t(33),g=t(45),h=t(293),m=t(99),v=t(36),b=t(24),_=t(17),y=t(19),w=t(22),C=t(34);t.d(n,"a",(function(){return k}));var x=l["ɵcrt"]({encapsulation:2,styles:[["#menuToggle{padding:.5rem;top:50%;right:0;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);z-index:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#menuToggle,#menuToggle input{display:block;position:absolute}#menuToggle input{cursor:pointer;opacity:0;z-index:2;-webkit-touch-callout:none}#menuToggle span{display:block;width:18px;height:3px;margin-bottom:3px;position:relative;background:#7b6f51;border-radius:3px}#menuToggle span:first-child{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}#menuToggle span:nth-last-child(2){-webkit-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%}.chatBoard-wrapper{background-color:#f2f1ed;border-radius:5px;max-width:90rem;overflow:hidden;left:40%;-webkit-box-shadow:0 0 18px 3px rgba(0,0,0,.53);box-shadow:0 0 18px 3px rgba(0,0,0,.53);position:relative!important;left:0!important;top:0!important;margin-top:0!important}@media (min-width:750px){.chatBoard-wrapper{height:90%;max-height:82rem;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}}@media (min-width:1200px){.chatBoard-wrapper.loan{min-width:120rem}}.chatBoard-wrapper.loan .loanRequestBlock{border-radius:5px;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.5);box-shadow:0 2px 4px 0 rgba(0,0,0,.5)}.chatBoard-wrapper.loan .loanRequestBlock .loanSearch{font-size:2rem;font-family:LatoWeb;color:#584d34;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:4px 1rem 4px 0}@media (min-width:751px){.chatBoard-wrapper.loan .loanRequestBlock .loanSearch{padding:10px 1rem}}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan{background-color:#fff;height:100%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request{border-bottom:1px solid #bdb7a8;height:auto}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-img{padding-bottom:28%;background-size:cover!important}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info{background-color:#fff}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .cost{width:50%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .cost span{display:block;width:100%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .cost span:first-child{font-size:2rem}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .percent{width:40%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .percent span:first-child{font-size:1.7rem;color:#3e8dab}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .daysLeft{width:10%}.chatBoard-wrapper.loan .loanRequestBlock .wrapperLoan .loan-request .loan-info .progress-bar{background-color:#ff6500}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info{padding:1rem;font-family:LatoWeb;font-size:1.5rem;border-bottom:1px solid #fff;background-color:#f2f1ed}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info .eye{background-color:#ff6500;position:absolute;display:none;width:55px;height:calc(100% + 2px);top:-1px;left:-56px}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info.view{position:relative;width:90%;left:55px;border:1px solid #bdb7a8}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info.view .eye{display:block;font-size:3rem;text-align:center;color:#fff}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info span{color:#584d34}.chatBoard-wrapper.loan .loanRequestBlock .loan-short-info span:first-child{color:rgba(88,77,52,.44);margin-right:1rem;max-width:60px;width:100%;display:block;float:left}@media (max-width:600px){.chatBoard-wrapper.loan{overflow:hidden;min-width:100%}}@media (max-width:1350px){.chatBoard-wrapper{top:50%;left:50%}}@media (max-width:600px){.chatBoard-wrapper{width:100%;overflow:scroll}}.chatBoard-wrapper .container-fluid{padding-left:0;padding-right:0}.chatBoard-wrapper .loanForm{margin:3rem;background-color:#fff;-webkit-box-shadow:3px 3px 10px 0 #7b6f51;box-shadow:3px 3px 10px 0 #7b6f51}@media (max-width:650px){.chatBoard-wrapper .loanForm{height:100%;overflow:scroll}}.chatBoard-wrapper .loanForm .formWrapper{width:100%;position:relative;height:100%;max-height:120px}.chatBoard-wrapper .loanForm .formWrapper .loanTitle{width:50%;height:100%;max-width:250px;font-size:2.5rem;font-family:LatoWeb;font-weight:700;color:#7b6f51;position:relative}.chatBoard-wrapper .loanForm .formWrapper .loanTitle p{position:absolute;top:50%;left:70%;width:100%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.chatBoard-wrapper .loanForm .loanDocs{padding:0 3rem;color:#584d34;font-size:1.3rem;font-family:LatoWeb}.chatBoard-wrapper .loanForm .loanDocs table{border-top:1px solid rgba(123,111,81,.29);width:100%;padding:1rem 0;margin:1rem 0}.chatBoard-wrapper .loanForm .loanDocs table tr{margin:.5rem auto}.chatBoard-wrapper .loanForm .loanDocs table span{font-weight:700;width:100%}.chatBoard-wrapper .loanForm .main-logo{position:absolute;background:transparent url(/assets/img/1.png) no-repeat 50%;border:0;height:60px;right:4rem;width:64px;cursor:pointer;float:left;top:20%}.chatBoard-wrapper .loanForm .main-logo p{text-transform:uppercase;color:#7b6f51;font-family:LatoWeb;font-weight:700;font-size:2rem;position:absolute;bottom:-2.5rem;left:0}.chatBoard-wrapper .loanDocsWrapper{overflow:auto;max-height:80rem}.actions-wrapper{height:100%;background-color:#dfded8}.actions-wrapper .action-title{padding:1.5rem;background-color:#d4d0c6}.actions-wrapper button{margin:2rem auto;width:80%;display:block}@media (max-width:650px){.actions-wrapper button{width:50%}}.left-bar .menu-bar-wrapper .user-icon{background:transparent url(/assets/img/5.png) no-repeat 50%;position:relative}.left-bar .menu-bar-wrapper .user-icon .notification{position:absolute;top:14%;right:-29%;padding:.3rem .5rem;background-color:#ff6500;border-radius:44%;font-size:1.2rem;color:#fff;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.board .notification-board .message-wrapper.loan{width:90%;padding:2rem 2rem 1rem 3rem}.board .notification-board .message-wrapper .user-logo{background:transparent no-repeat 50%}.board .notification-board .message-wrapper .message p{font-size:1.4rem}.board .notification-board .message-wrapper .message-time{color:#9f9da3}.board .notification-board .message-wrapper textarea{width:100%;border:1px solid #ccc;margin:.5rem auto}.proceed-btn{margin:0 auto;display:block;cursor:pointer;font-family:LatoWebBold;font-size:15px}.request{padding:1rem 1.5rem;background-color:#fff;font-size:1.5rem;font-family:LatoWeb}.progress-bar{background-color:#3e8dab;height:3px;position:absolute;bottom:-1.5px;left:0}.loan-request{min-height:10rem;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;cursor:pointer}.loan-request .loan-request-wrapper{width:100%}.loan-request .loan-request-wrapper .loan-img{background:url(/assets/img/house.jpg) no-repeat;width:100%;max-width:10rem;max-height:10rem;float:left;padding-bottom:26%;background-repeat:no-repeat;background-size:cover;background-position:50%}@media (max-width:750px){.loan-request .loan-request-wrapper .loan-img{padding-bottom:40%;float:none;max-height:none;max-width:none}}.loan-request .loan-request-wrapper .loan-info{width:calc(100% - 10rem);float:right;height:100%;background-color:#f2f1ed;min-height:10rem;color:#584d34;font-family:LatoWeb}@media (max-width:750px){.loan-request .loan-request-wrapper .loan-info{width:100%;overflow:auto}}.loan-request .loan-request-wrapper .loan-info .loan-terms,.loan-request .loan-request-wrapper .loan-info .loanLocation,.loan-request .loan-request-wrapper .loan-info .loanSpec{padding:.9rem;display:-webkit-box;display:-ms-flexbox;display:flex}.loan-request .loan-request-wrapper .loan-info .loan-terms{padding:.5rem 0;border-bottom:1px solid rgba(123,111,81,.43);margin:0 1rem;border-top:1px solid rgba(123,111,81,.43);position:relative}.loan-request .loan-request-wrapper .loan-info .loan-terms div{width:20%;float:left;border-right:1px solid rgba(123,111,81,.43)}.loan-request .loan-request-wrapper .loan-info .loan-terms div:first-child{width:40%}.loan-request .loan-request-wrapper .loan-info .loan-terms div.daysLeft,.loan-request .loan-request-wrapper .loan-info .loan-terms div:last-child{border-right:none}.loan-request .loan-request-wrapper .loan-info .loan-terms .date span,.loan-request .loan-request-wrapper .loan-info .loan-terms .daysLeft span,.loan-request .loan-request-wrapper .loan-info .loan-terms .percent span{width:100%;float:left;font-family:LatoWeb;text-align:center}.loan-request .loan-request-wrapper .loan-info .loanLocation span{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;width:25%;float:left}.loan-request .loan-request-wrapper .loan-info .loanLocation span.country{width:50%;text-align:right}.row.no-gutter.justify-content-between{height:100%}.row.no-gutter.justify-content-between .col-md-12.loanRequestBlock{padding-right:0;height:100%}.row.no-gutter.justify-content-between .col-md-12.loanRequestBlock .wrapperLoan{overflow-y:auto;overflow-x:hidden;height:calc(100% - 42px)}@media (max-height:450px),(max-width:450px){.row.no-gutter.justify-content-between .col-md-12.loanRequestBlock .wrapperLoan{height:calc(100vh - 42px)}}.row.no-gutter.justify-content-between .loanDocsWrapper{padding-left:0;padding-right:0}.row.no-gutter.justify-content-between .loanDocsWrapper .new-message{position:relative;height:80px}.row.no-gutter.justify-content-between .loanDocsWrapper .new-message textarea{height:100%;width:100%}.row.no-gutter.justify-content-between .loanDocsWrapper .new-message textarea:focus{border:2px solid #ff6500;outline:none}.row.no-gutter.justify-content-between .loanDocsWrapper .new-message .type-controls{position:absolute;width:100%;bottom:0}#offer-in-principle.wrapper{max-width:670px;margin:0 auto;color:#7b6e51}#offer-in-principle .offer-intro{padding:40px 0}#offer-in-principle .offer-intro h1{font-size:55px;font-weight:300}#offer-in-principle .offer-intro h2{font-size:55px;font-weight:700}#offer-in-principle .offer-content{-webkit-box-shadow:0 0 10px #555;box-shadow:0 0 10px #555;padding:150px 50px 50px 70px}#offer-in-principle .offer-content h3{font-size:42px;font-weight:900;width:190px;margin-bottom:40px;float:left}#offer-in-principle .offer-content-address{font-size:12px;font-weight:700;float:left;padding-top:10px;margin-left:30px}#offer-in-principle .offer-content-intro{font-size:12px;border-bottom:1px solid #e5e2dc;margin-bottom:15px;margin-top:130px}#offer-in-principle .offer-content-intro p{margin-bottom:15px}#offer-in-principle .offer-content-summary table{width:100%;font-size:12px;border-collapse:collapse;border-spacing:0}#offer-in-principle .offer-content-summary tr td{padding-top:5px;padding-bottom:5px;width:50%}#offer-in-principle .offer-content-summary tr.separator>td{padding-bottom:15px;border-bottom:1px solid #e5e2dc}#offer-in-principle .offer-content-summary tr.padding>td{padding-top:15px}#offer-in-principle .offer-content-summary tr.strong>td{font-weight:700}#offer-in-principle .offer-content-summary p{font-size:12px;padding-top:15px;line-height:20px}#offer-in-principle .offer-section{background:#fff;-webkit-box-shadow:0 0 10px #555;box-shadow:0 0 10px #555}#offer-in-principle .offer-section .offer-heading{margin:0;padding:20px;font-size:18px;font-weight:700;color:#7b6e51;cursor:pointer}#offer-in-principle .offer-section .section-content{display:none;background:#fff;padding:20px 50px 55px 70px;color:#7b6e51}#offer-in-principle .offer-section.active .section-content{display:block;padding:3rem}#offer-in-principle .offer-section .section-content p{margin:0;margin-bottom:20px!important;color:#7b6e51;font-size:12px}#offer-in-principle .offer-section .section-content li{font-size:12px;padding:3px 0;list-style:outside disc}#offer-in-principle .offer-section .section-content.borough-guide{padding:20px 50px 55px}#offer-in-principle .offer-section .fasttrack ul{padding-left:40px}#offer-in-principle .offer-section .fasttrack ul:first-of-type{margin-bottom:20px}#offer-in-principle .offer-section .terms ol{margin-bottom:20px;padding:0 0 0 20px}#offer-in-principle .offer-section .terms ol li{list-style-type:lower-alpha;line-height:1.65em}#offer-in-principle .offer-content{padding:3rem;overflow:hidden;word-wrap:break-word;word-break:break-word}#offer-in-principle h3.offer-heading{width:100%;font-size:2.5rem}.chatBoard-wrapper.loan.alone{min-width:395px;width:auto;width:100%;max-width:40rem}@media (min-width:1200px){.chatBoard-wrapper.loan.alone{min-width:395px}}.loanRequestBlock.alone{-webkit-box-flex:1;-ms-flex:1 1 96.5%;flex:1 1 96.5%;min-width:96.5%;max-width:96.5%}.loan-short-info{padding:1rem;font-family:LatoWeb;font-size:1.5rem;border-bottom:1px solid #fff;background-color:#f2f1ed;cursor:pointer}.loan-short-info .eye{background-color:#ff6500;position:absolute;display:none;width:55px;height:calc(100% + 2px);top:-1px;left:-56px}.loan-short-info.view{position:relative;width:90%;left:55px;border:1px solid #bdb7a8}.loan-short-info.view .eye{display:block;font-size:3rem;text-align:center;color:#fff}.loan-short-info span{color:#584d34}.loan-short-info span:first-child{color:rgba(88,77,52,.44);margin-right:1rem;max-width:60px;width:100%;display:block;float:left}.offerDocsWrapper.fix{height:100%!important;position:unset!important;max-height:100%!important;padding:3rem 2rem 3rem 3rem!important}.offerDocsWrapper .loanForm.offer-content{margin:0!important;padding:1.5rem;height:100%}.offerDocsWrapper .loanForm.offer-content iframe{height:100%;width:100%;border:none}.request-template.content-page{padding-top:36px}@media (max-width:750px){.request-template.content-page{padding-top:0}}@media (max-height:450px),(max-width:450px){.request-template .chatBoard-wrapper.loan.alone{min-width:auto;max-width:inherit}.request-template .chatBoard-wrapper.loan.alone .row.no-gutter.justify-content-between{margin:0}.request-template .chatBoard-wrapper.loan.alone .row.no-gutter.justify-content-between .loanRequestBlock.alone{padding:0}}.request-template widget-title{padding:10px 15px}.request-template .loan-request-preloader{position:absolute;top:42px;bottom:0;left:0;right:0;background-color:hsla(0,0%,100%,.47058823529411764);z-index:1;display:none}.request-template .loan-request-preloader.active{display:block}.request-template .loan-request-preloader .fa-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"]],data:{}});function O(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"loan-short-widget",[],null,[[null,"onSelectLoan"],[null,"onSelectOffer"]],(function(e,n,t){var l=!0,o=e.component;return"onSelectLoan"===n&&(l=!1!==o.selectLoan(t)&&l),"onSelectOffer"===n&&(l=!1!==o.activateOffer(t)&&l),l}),o.b,o.a)),l["ɵdid"](1,638976,null,0,r.a,[i.a,a.n,u.DomSanitizer,a.a,s.a],{loan:[0,"loan"],isSingle:[1,"isSingle"],showOffers:[2,"showOffers"]},{onSelectLoan:"onSelectLoan",onSelectOffer:"onSelectOffer"})],(function(e,n){e(n,1,0,n.context.$implicit,!1,n.component.isCollectingOffers())}),null)}function M(e){return l["ɵvid"](2,[l["ɵqud"](402653184,1,{offerContent:0}),(e()(),l["ɵeld"](1,0,null,null,18,"div",[["class","content-page col-sm-12 request-template"]],null,null,null,null,null)),(e()(),l["ɵeld"](2,0,null,null,17,"div",[["class","chatBoard-wrapper loan"]],null,null,null,null,null)),l["ɵdid"](3,278528,null,0,d.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](4,{alone:0}),(e()(),l["ɵeld"](5,0,null,null,14,"div",[["class","container-fluid"]],null,null,null,null,null)),(e()(),l["ɵeld"](6,0,null,null,13,"div",[["class","row no-gutter justify-content-between"]],null,null,null,null,null)),(e()(),l["ɵeld"](7,0,null,null,12,"div",[["class","col-md-12 col-xl-4 loanRequestBlock"]],null,null,null,null,null)),l["ɵdid"](8,278528,null,0,d.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](9,{alone:0}),(e()(),l["ɵeld"](10,0,null,null,1,"widget-title",[],null,[[null,"onSearchStringChange"]],(function(e,n,t){var l=!0;return"onSearchStringChange"===n&&(l=!1!==e.component.filterLoans(t)&&l),l}),c.b,c.a)),l["ɵdid"](11,180224,null,0,p.a,[l.ElementRef,f.a,l.Renderer,g.a],{label:[0,"label"],showSearch:[1,"showSearch"]},{onSearchStringChange:"onSearchStringChange"}),(e()(),l["ɵeld"](12,0,null,null,3,"div",[["class","loan-request-preloader"]],null,null,null,null,null)),l["ɵdid"](13,278528,null,0,d.NgClass,[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["ɵpod"](14,{active:0}),(e()(),l["ɵeld"](15,0,null,null,0,"i",[["class","fa fa-spinner fa-spin spinner fa-4x"]],null,null,null,null,null)),(e()(),l["ɵeld"](16,0,null,null,3,"div",[["class","wrapperLoan"]],null,[[null,"scroll"]],(function(e,n,t){var o=!0;return"scroll"===n&&(o=!1!==l["ɵnov"](e,17).scrolling(t)&&o),o}),null,null)),l["ɵdid"](17,16384,null,0,h.a,[],{doWork:[0,"doWork"]},null),(e()(),l["ɵand"](16777216,null,null,1,null,O)),l["ɵdid"](19,278528,null,0,d.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,n){var t=n.component;e(n,3,0,"chatBoard-wrapper loan",e(n,4,0,t.checkAlone())),e(n,8,0,"col-md-12 col-xl-4 loanRequestBlock",e(n,9,0,t.checkAlone())),e(n,11,0,t.title,!0),e(n,13,0,"loan-request-preloader",e(n,14,0,t.isWorkingLoanRequest)),e(n,17,0,t.downloadNextLoans.bind(t)),e(n,19,0,t.filtredloans)}),null)}var k=l["ɵccf"]("[loan-requests]",m.a,(function(e){return l["ɵvid"](0,[(e()(),l["ɵeld"](0,0,null,null,1,"div",[["loan-requests",""]],null,null,null,M,x)),l["ɵdid"](1,4440064,null,0,m.a,[l.LOCALE_ID,v.a,a.a,b.a,f.a,_.a,a.n,y.a,w.a,C.a,f.a,s.a,l.ChangeDetectorRef],null,null)],(function(e,n){e(n,1,0)}),null)}),{},{},[])},function(e,n,t){"use strict";n.__esModule=!0,n.default=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}},function(e,n,t){"use strict";n.__esModule=!0;var l,o=(l=t(807))&&l.__esModule?l:{default:l};n.default=function(){function e(e,n){for(var t=0;t-1}))}else if(this.options.excludeCountries.length){var n=this.options.excludeCountries.map((function(e){return e.toLowerCase()}));this.countries=s.filter((function(e){return-1===n.indexOf(e.iso2)}))}else this.countries=s},_processCountryCodes:function(){this.countryCodes={};for(var e=0;e",{class:n})),this.flagsContainer=e("
",{class:"flag-container"}).insertBefore(this.telInput);var t=e("
",{class:"selected-flag"});t.appendTo(this.flagsContainer),this.selectedFlagInner=e("
",{class:"iti-flag"}).appendTo(t),this.options.separateDialCode&&(this.selectedDialCode=e("
",{class:"selected-dial-code"}).appendTo(t)),this.options.allowDropdown?(t.attr("tabindex","0"),e("
",{class:"iti-arrow"}).appendTo(t),this.countryList=e("
    ",{class:"country-list hide"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"preferred"),e("
  • ",{class:"divider"}).appendTo(this.countryList)),this._appendListItems(this.countries,""),this.countryListItems=this.countryList.children(".country"),this.options.dropdownContainer?this.dropdown=e("
    ",{class:"intl-tel-input iti-container"}).append(this.countryList):this.countryList.appendTo(this.flagsContainer)):this.countryListItems=e()},_appendListItems:function(e,n){for(var t="",l=0;l",t+="
    ",t+=""+o.name+"",t+="+"+o.dialCode+"",t+="
  • "}this.countryList.append(t)},_setInitialState:function(){var e=this.telInput.val();this._getDialCode(e)&&!this._isRegionlessNanp(e)?this._updateFlagFromNumber(e):"auto"!==this.options.initialCountry&&(this.options.initialCountry?this._setFlag(this.options.initialCountry.toLowerCase()):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,e||this._setFlag(this.defaultCountry)),e||this.options.nationalMode||this.options.autoHideDialCode||this.options.separateDialCode||this.telInput.val("+"+this.selectedCountryData.dialCode)),e&&this._updateValFromNumber(e)},_initListeners:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initFocusListeners(),this.options.allowDropdown&&this._initDropdownListeners()},_initDropdownListeners:function(){var e=this,n=this.telInput.closest("label");n.length&&n.on("click"+this.ns,(function(n){e.countryList.hasClass("hide")?e.telInput.focus():n.preventDefault()})),this.selectedFlagInner.parent().on("click"+this.ns,(function(n){!e.countryList.hasClass("hide")||e.telInput.prop("disabled")||e.telInput.prop("readonly")||e._showDropdown()})),this.flagsContainer.on("keydown"+e.ns,(function(n){!e.countryList.hasClass("hide")||38!=n.which&&40!=n.which&&32!=n.which&&13!=n.which||(n.preventDefault(),n.stopPropagation(),e._showDropdown()),9==n.which&&e._closeDropdown()}))},_initRequests:function(){var t=this;this.options.utilsScript?e.fn[o].windowLoaded?e.fn[o].loadUtils(this.options.utilsScript,this.utilsScriptDeferred):e(n).on("load",(function(){e.fn[o].loadUtils(t.options.utilsScript,t.utilsScriptDeferred)})):this.utilsScriptDeferred.resolve(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.autoCountryDeferred.resolve()},_loadAutoCountry:function(){e.fn[o].autoCountry?this.handleAutoCountry():e.fn[o].startedLoadingAutoCountry||(e.fn[o].startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((function(n){e.fn[o].autoCountry=n.toLowerCase(),setTimeout((function(){e(".intl-tel-input input").intlTelInput("handleAutoCountry")}))})))},_initKeyListeners:function(){var e=this;this.telInput.on("keyup"+this.ns,(function(){e._updateFlagFromNumber(e.telInput.val())&&e._triggerCountryChange()})),this.telInput.on("cut"+this.ns+" paste"+this.ns,(function(){setTimeout((function(){e._updateFlagFromNumber(e.telInput.val())&&e._triggerCountryChange()}))}))},_cap:function(e){var n=this.telInput.attr("maxlength");return n&&e.length>n?e.substr(0,n):e},_initFocusListeners:function(){var n=this;this.telInput.on("mousedown"+this.ns,(function(e){n.telInput.is(":focus")||n.telInput.val()||(e.preventDefault(),n.telInput.focus())})),this.telInput.on("focus"+this.ns,(function(e){n.telInput.val()||n.telInput.prop("readonly")||!n.selectedCountryData.dialCode||(n.telInput.val("+"+n.selectedCountryData.dialCode),n.telInput.one("keypress.plus"+n.ns,(function(e){43==e.which&&n.telInput.val("")})),setTimeout((function(){var e=n.telInput[0];if(n.isGoodBrowser){var t=n.telInput.val().length;e.setSelectionRange(t,t)}})))}));var t=this.telInput.prop("form");t&&e(t).on("submit"+this.ns,(function(){n._removeEmptyDialCode()})),this.telInput.on("blur"+this.ns,(function(){n._removeEmptyDialCode()}))},_removeEmptyDialCode:function(){var e=this.telInput.val();if("+"==e.charAt(0)){var n=this._getNumeric(e);n&&this.selectedCountryData.dialCode!=n||this.telInput.val("")}this.telInput.off("keypress.plus"+this.ns)},_getNumeric:function(e){return e.replace(/\D/g,"")},_showDropdown:function(){this._setDropdownPosition();var e=this.countryList.children(".active");e.length&&(this._highlightListItem(e),this._scrollTo(e)),this._bindDropdownListeners(),this.selectedFlagInner.children(".iti-arrow").addClass("up")},_setDropdownPosition:function(){var t=this;if(this.options.dropdownContainer&&this.dropdown.appendTo(this.options.dropdownContainer),this.dropdownHeight=this.countryList.removeClass("hide").outerHeight(),!this.isMobile){var l=this.telInput.offset(),o=l.top,r=e(n).scrollTop(),i=o+this.telInput.outerHeight()+this.dropdownHeightr;if(this.countryList.toggleClass("dropup",!i&&a),this.options.dropdownContainer){var u=!i&&a?0:this.telInput.innerHeight();this.dropdown.css({top:o+u,left:l.left}),e(n).on("scroll"+this.ns,(function(){t._closeDropdown()}))}}},_bindDropdownListeners:function(){var n=this;this.countryList.on("mouseover"+this.ns,".country",(function(t){n._highlightListItem(e(this))})),this.countryList.on("click"+this.ns,".country",(function(t){n._selectListItem(e(this))}));var l=!0;e("html").on("click"+this.ns,(function(e){l||n._closeDropdown(),l=!1}));var o="",r=null;e(t).on("keydown"+this.ns,(function(e){e.preventDefault(),38==e.which||40==e.which?n._handleUpDownKey(e.which):13==e.which?n._handleEnterKey():27==e.which?n._closeDropdown():(e.which>=65&&e.which<=90||32==e.which)&&(r&&clearTimeout(r),o+=String.fromCharCode(e.which),n._searchForCountry(o),r=setTimeout((function(){o=""}),1e3))}))},_handleUpDownKey:function(e){var n=this.countryList.children(".highlight").first(),t=38==e?n.prev():n.next();t.length&&(t.hasClass("divider")&&(t=38==e?t.prev():t.next()),this._highlightListItem(t),this._scrollTo(t))},_handleEnterKey:function(){var e=this.countryList.children(".highlight").first();e.length&&this._selectListItem(e)},_searchForCountry:function(e){for(var n=0;n-1,a="+1"==t&&o.length>=4;if(("1"!=this.selectedCountryData.dialCode||!this._isRegionlessNanp(o))&&(!i||a))for(var u=0;u-1}return!1},_highlightListItem:function(e){this.countryListItems.removeClass("highlight"),e.addClass("highlight")},_getCountryData:function(e,n,t){for(var l=n?s:this.countries,o=0;or&&(n&&(s+=d),t.scrollTop(s-(l-i)))},_updateDialCode:function(e,n){var t,l=this.telInput.val();if(e="+"+e,"+"==l.charAt(0)){var o=this._getDialCode(l);t=o?l.replace(o,e):e}else{if(this.options.nationalMode||this.options.separateDialCode)return;if(l)t=e+l;else{if(!n&&this.options.autoHideDialCode)return;t=e}}this.telInput.val(t)},_getDialCode:function(n){var t="";if("+"==n.charAt(0))for(var l="",o=0;o=e.length?(this._t=void 0,o(1)):o(0,"keys"==n?t:"values"==n?e[t]:[t,e[t]])}),"values"),r.Arguments=r.Array,l("keys"),l("values"),l("entries")},function(e,n){e.exports=function(){}},function(e,n){e.exports=function(e,n){return{value:n,done:!!e}}},function(e,n,t){var l=t(783);e.exports=function(e,n,t){if(l(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,l){return e.call(n,t,l)};case 3:return function(t,l,o){return e.call(n,t,l,o)}}return function(){return e.apply(n,arguments)}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,n,t){e.exports=!t(247)&&!t(340)((function(){return 7!=Object.defineProperty(t(539)("div"),"a",{get:function(){return 7}}).a}))},function(e,n,t){var l=t(339);e.exports=function(e,n){if(!l(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!l(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!l(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!l(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,n,t){e.exports=t(246)},function(e,n,t){"use strict";var l=t(788),o=t(540),r=t(545),i={};t(246)(i,t(222)("iterator"),(function(){return this})),e.exports=function(e,n,t){e.prototype=l(i,{next:o(1,t)}),r(e,n+" Iterator")}},function(e,n,t){var l=t(277),o=t(789),r=t(544),i=t(342)("IE_PROTO"),a=function(){},u=function(){var e,n=t(539)("iframe"),l=r.length;for(n.style.display="none",t(794).appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("