%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/notapproved-usrKEY/1d4b37fa199ec766587ac4e2cde59c69/ibxkey/KeyBank Online_files/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/notapproved-usrKEY/1d4b37fa199ec766587ac4e2cde59c69/ibxkey/KeyBank Online_files/bundle.js(1).download

!function(e,t){"use strict";function n(){var e=y.splice(0,y.length);for(Xe=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)p(e[n],t)}function o(e){return function(t){Pe(t)&&(p(t,e),le.length&&r(t.querySelectorAll(le),e))}}function l(e){var t=Be.call(e,"is"),n=e.nodeName.toUpperCase(),r=ie.call(re,t?ee+t.toUpperCase():Y+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<le.indexOf(e+'[is="'+t+'"]')}function i(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,l=e[G]||2,a=e[W]||3;!rt||o&&o!==t||!t[B]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==l&&n!==a)||t[B](r,n===l?null:e.prevValue,n===a?null:e.newValue)}function s(e){var t=o(e);return function(e){y.push(t,e.target),Xe&&clearTimeout(Xe),Xe=setTimeout(n,1)}}function u(e){nt&&(nt=!1,e.currentTarget.removeEventListener(X,u)),le.length&&r((e.target||H).querySelectorAll(le),e.detail===$?$:_),Ue&&function(){for(var e,t=0,n=Re.length;t<n;t++)ae.contains(e=Re[t])||(n--,Re.splice(t--,1),p(e,$))}()}function c(e,t){var n=this;je.call(n,e,t),C.call(n,{target:n})}function m(e,t,n){var r=t.apply(e,n),o=l(r);return-1<o&&D(r,oe[o]),n.pop()&&le.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)D(t=e[n],oe[l(t)])}(r.querySelectorAll(le)),r}function d(e,t){Se(e,t),A?A.observe(e,We):(tt&&(e.setAttribute=c,e[P]=N(e),e[R](Q,C)),e[R](z,i)),e[Z]&&rt&&(e.created=!0,e[Z](),e.created=!1)}function f(e){throw new Error("A "+e+" type is already registered")}function p(e,t){var n,r,o=l(e);-1<o&&!$e.call(e,"TEMPLATE")&&(I(e,oe[o]),o=0,t!==_||e[_]?t!==$||e[$]||(e[_]=!1,e[$]=!0,r="disconnected",o=1):(e[$]=!1,e[_]=!0,r="connected",o=1,Ue&&ie.call(Re,e)<0&&Re.push(e)),o&&(n=e[t+k]||e[r+k])&&n.call(e))}function h(){}function T(e,t,n){var r=n&&n[x]||"",o=t.prototype,l=Ae(o),a=t.observedAttributes||de,i={prototype:l};Ve(l,Z,{value:function(){if(be)be=!1;else if(!this[Me]){this[Me]=!0,new t(this),o[Z]&&o[Z].call(this);var e=ye[Oe.get(t)];(!ve||e.create.length>1)&&E(this)}}}),Ve(l,B,{value:function(e){-1<ie.call(a,e)&&o[B]&&o[B].apply(this,arguments)}}),o[J]&&Ve(l,q,{value:o[J]}),o[j]&&Ve(l,K,{value:o[j]}),r&&(i[x]=r),e=e.toUpperCase(),ye[e]={constructor:t,create:r?[r,Ne(e)]:[e]},Oe.set(t,e),H[U](e.toLowerCase(),i),v(e),Ce[e].r()}function L(e){var t=ye[e.toUpperCase()];return t&&t.constructor}function M(e){return"string"==typeof e?e:e&&e.is||""}function E(e){for(var t,n=e[B],r=n?e.attributes:de,o=r.length;o--;)n.call(e,(t=r[o]).name||t.nodeName,null,t.value||t.nodeValue)}function v(e){return(e=e.toUpperCase())in Ce||(Ce[e]={},Ce[e].p=new we(function(t){Ce[e].r=t})),Ce[e].p}function g(){Ee&&delete e.customElements,me(e,"customElements",{configurable:!0,value:new h}),me(e,"CustomElementRegistry",{configurable:!0,value:h});for(var t=b.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[Me]||(be=!0,t=ye[Oe.get(e.constructor)],(e=(r=ve&&1===t.create.length)?Reflect.construct(n,de,t.constructor):H.createElement.apply(H,t.create))[Me]=!0,be=!1,r||E(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){me(n,Me,{value:e[t]})}}}(t[n]));H.createElement=function(e,t){var n=M(t);return n?Ge.call(this,e,Ne(n)):Ge.call(this,e)},Qe||(et=!0,H[U](""))}var H=e.document,w=e.Object,b=function(e){var t,n,r,o,l=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in i||(i[e]=(i[e]||[]).concat(t),i[t]=i[t.toUpperCase()]=e)},i=(w.create||w)(null),s={};for(n in e)for(o in e[n])for(i[o]=r=e[n][o],t=0;t<r.length;t++)i[r[t].toLowerCase()]=i[r[t].toUpperCase()]=o;return s.get=function(e){return"string"==typeof e?i[e]||(l.test(e)?[]:""):function(e){var t,n=[];for(t in i)e.test(t)&&n.push(t);return n}(e)},s.set=function(e,t){return l.test(e)?a(e,t):a(t,e),s},s}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var y,C,O,N,A,S,I,D,F,U="registerElement",V=1e5*e.Math.random()>>0,P="__"+U+V,R="addEventListener",_="attached",k="Callback",$="detached",x="extends",B="attributeChanged"+k,q=_+k,J="connected"+k,j="disconnected"+k,Z="created"+k,K=$+k,G="ADDITION",W="REMOVAL",z="DOMAttrModified",X="DOMContentLoaded",Q="DOMSubtreeModified",Y="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],oe=[],le="",ae=H.documentElement,ie=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},se=w.prototype,ue=se.hasOwnProperty,ce=se.isPrototypeOf,me=w.defineProperty,de=[],fe=w.getOwnPropertyDescriptor,pe=w.getOwnPropertyNames,he=w.getPrototypeOf,Te=w.setPrototypeOf,Le=!!w.__proto__,Me="__dreCEv1",Ee=e.customElements,ve=!/^force/.test(t.type)&&!!(Ee&&Ee.define&&Ee.get&&Ee.whenDefined),ge=w.create||w,He=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ie.call(t,e)]},set:function(r,o){(e=ie.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},be=!1,ye=ge(null),Ce=ge(null),Oe=new He,Ne=function(e){return e.toLowerCase()},Ae=w.create||function e(t){return t?(e.prototype=t,new e):this},Se=Te||(Le?function(e,t){return e.__proto__=t,e}:pe&&fe?function(){function e(e,t){for(var n,r=pe(t),o=0,l=r.length;o<l;o++)ue.call(e,n=r[o])||me(e,n,fe(t,n))}return function(t,n){do{e(t,n)}while((n=he(n))&&!ce.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),Ie=e.MutationObserver||e.WebKitMutationObserver,De=e.HTMLAnchorElement,Fe=(e.HTMLElement||e.Element||e.Node).prototype,Ue=!ce.call(Fe,ae),Ve=Ue?function(e,t,n){return e[t]=n.value,e}:me,Pe=Ue?function(e){return 1===e.nodeType}:function(e){return ce.call(Fe,e)},Re=Ue&&[],_e=Fe.attachShadow,ke=Fe.cloneNode,$e=Fe.closest||function(e){for(var t=this;t&&t.nodeName!==e;)t=t.parentNode;return t},xe=Fe.dispatchEvent,Be=Fe.getAttribute,qe=Fe.hasAttribute,Je=Fe.removeAttribute,je=Fe.setAttribute,Ze=H.createElement,Ke=H.importNode,Ge=Ze,We=Ie&&{attributes:!0,characterData:!0,attributeOldValue:!0},ze=Ie||function(e){tt=!1,ae.removeEventListener(z,ze)},Xe=0,Qe=U in H&&!/^force-all/.test(t.type),Ye=!0,et=!1,tt=!0,nt=!0,rt=!0;if(Ie&&((F=H.createElement("div")).innerHTML="<div><div></div></div>",new Ie(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(F=fe(Fe,"innerHTML"))&&F.set;n&&me(Fe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),F=null}).observe(F,{childList:!0,subtree:!0}),F.innerHTML=""),Qe||(Te||Le?(I=function(e,t){ce.call(t,e)||d(e,t)},D=d):D=I=function(e,t){e[P]||(e[P]=w(!0),d(e,t))},Ue?(tt=!1,function(){var e=fe(Fe,R),t=e.value,n=function(e){var t=new CustomEvent(z,{bubbles:!0});t.attrName=e,t.prevValue=Be.call(this,e),t.newValue=null,t[W]=t.attrChange=2,Je.call(this,e),xe.call(this,t)},r=function(e,t){var n=qe.call(this,e),r=n&&Be.call(this,e),o=new CustomEvent(z,{bubbles:!0});je.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[G]=o.attrChange=0,xe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[P],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(z,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[G]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,xe.call(n,t))};e.value=function(e,l,a){e===z&&this[B]&&this.setAttribute!==r&&(this[P]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,l,a)},me(Fe,R,e)}()):Ie||(ae[R](z,ze),ae.setAttribute(P,1),ae.removeAttribute(P),tt&&(C=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[P],o[P]=n=N(o),n){if(!(r in t))return O(0,o,r,t[r],n[r],G);if(n[r]!==t[r])return O(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return O(2,o,r,t[r],n[r],W)}},O=function(e,t,n,r,o,l){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[l]=e,i(a)},N=function(e){for(var t,n,r={},o=e.attributes,l=0,a=o.length;l<a;l++)"setAttribute"!==(n=(t=o[l]).name)&&(r[n]=t.value);return r})),H[U]=function(e,t){if(n=e.toUpperCase(),Ye&&(Ye=!1,Ie?(A=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new Ie(function(r){for(var o,l,a,i=0,s=r.length;i<s;i++)"childList"===(o=r[i]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(l=o.target,rt&&l[B]&&"style"!==o.attributeName&&(a=Be.call(l,o.attributeName))!==o.oldValue&&l[B](o.attributeName,o.oldValue,a))})}(o(_),o($)),(S=function(e){return A.observe(e,{childList:!0,subtree:!0}),e})(H),_e&&(Fe.attachShadow=function(){return S(_e.apply(this,arguments))})):(y=[],H[R]("DOMNodeInserted",s(_)),H[R]("DOMNodeRemoved",s($))),H[R](X,u),H[R]("readystatechange",u),H.importNode=function(e,t){switch(e.nodeType){case 1:return m(H,Ke,[e,!!t]);case 11:for(var n=H.createDocumentFragment(),r=e.childNodes,o=r.length,l=0;l<o;l++)n.appendChild(H.importNode(r[l],!!t));return n;default:return ke.call(e,!!t)}},Fe.cloneNode=function(e){return m(this,ke,[!!e])}),et)return et=!1;if(-2<ie.call(re,ee+n)+ie.call(re,Y+n)&&f(e),!te.test(n)||-1<ie.call(ne,n))throw new Error("The type "+e+" is invalid");var n,l,a=function(){return c?H.createElement(d,n):H.createElement(d)},i=t||se,c=ue.call(i,x),d=c?t[x].toUpperCase():n;return c&&-1<ie.call(re,Y+d)&&f(d),l=re.push((c?ee:Y)+n)-1,le=le.concat(le.length?",":"",c?d+'[is="'+e.toLowerCase()+'"]':d),a.prototype=oe[l]=ue.call(i,"prototype")?i.prototype:Ae(Fe),le.length&&r(H.querySelectorAll(le),_),a},H.createElement=Ge=function(e,t){var n=M(t),r=n?Ze.call(H,e,Ne(n)):Ze.call(H,e),o=""+e,l=ie.call(re,(n?ee:Y)+(n||o).toUpperCase()),i=-1<l;return n&&(r.setAttribute("is",n=n.toLowerCase()),i&&(i=a(o.toUpperCase(),n))),rt=!H.createElement.innerHTMLHelper,i&&D(r,oe[l]),r}),addEventListener("beforeunload",function(){delete H.createElement,delete H.importNode,delete H[U]},!1),h.prototype={constructor:h,define:ve?function(e,t,n){if(n)T(e,t,n);else{var r=e.toUpperCase();ye[r]={constructor:t,create:[r]},Oe.set(t,r),Ee.define(e,t)}}:T,get:ve?function(e){return Ee.get(e)||L(e)}:L,whenDefined:ve?function(e){return we.race([Ee.whenDefined(e),v(e)])}:v},!Ee||/^force/.test(t.type))g();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[x]="a",(t.prototype=Ae(De.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(H.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}(function e(){return Reflect.construct(De,[],e)},{},"document-register-element-a"+V)}catch(ot){g()}if(!t.noBuiltIn)try{if(Ze.call(H,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(lt){Ne=function(e){return{is:e.toLowerCase()}}}}(window),function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement={HTMLElement:function(){return Reflect.construct(e,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()}(),window.amtUiContainer=null;var amtLogs=!1;window.setSpinnerStatus=function(e){e?$("#amtShell").length>0?$("#amtShell").attr({spinner:e}):window.amtUiContainer&&(window.amtUiContainer.append($("<amt-ui-shell id='amtShell'></amt-ui-shell>")),$("#amtShell").attr("spinner",e)):console.error("no valid spinner status found")},window.sendMessageToHandler=function(e){if(e){var t=(e=JSON.parse(e)).session?e.session:"",n=e.channel?e.channel:"";e.message&&(e.message.msgId=10*Math.random()+"");var r=e.message?JSON.stringify(e.message):"";$("#amtShell").length>0?$("#amtShell").attr({channel:n,session:t,message:r,spinner:"NIL"}):(window.amtUiContainer.append($("<amt-ui-shell id='amtShell' channel= '"+n+"' session= '"+t+"'></amt-ui-shell>")),$("#amtShell").attr({message:r,spinner:"NIL"}))}else console.error("no valid session found")},window.sendMessageToTimeoutHandler=function(e){if(e){var t=(e=JSON.parse(e)).session?e.session:"",n=e.channel?e.channel:"",r=e.message?JSON.stringify(e.message):"";$("#amtTimeoutShell").length>0?$("#amtTimeoutShell").attr({channel:n,session:t,message:r,spinner:"NIL"}):(window.amtUiTimeoutBannerContainer.append($("<amt-ui-shell id='amtTimeoutShell' channel= '"+n+"' session= '"+t+"'></amt-ui-shell>")),$("#amtTimeoutShell").attr({message:r,spinner:"NIL"}))}else console.error("no valid session found")},window.sendMessageToSDK=function(e,t,n){if(t=JSON.stringify(t),e)switch(n){case"WEB":case"MOBILE_ANDROID":window.KeyJSInterface[e](t);break;case"MOBILE_IOS":window.webkit.messageHandlers[e].postMessage(t)}},window.resetUiHandler=function(){window.amtUiContainer&&window.amtUiContainer.empty()};;!function(n){var e={};function t(l){if(e[l])return e[l].exports;var r=e[l]={i:l,l:!1,exports:{}};return n[l].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=n,t.c=e,t.d=function(n,e,l){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:l})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var l=Object.create(null);if(t.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var r in n)t.d(l,r,(function(e){return n[e]}).bind(null,r));return l},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=1)}({1:function(n,e,t){n.exports=t("gmml")},gmml:function(n,e,t){"use strict";t.r(e);var l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)};function r(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var o=function(){return(o=Object.assign||function(n){for(var e,t=1,l=arguments.length;t<l;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}).apply(this,arguments)};function i(n,e,t,l){var r,o=arguments.length,i=o<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,e,t,l);else for(var s=n.length-1;s>=0;s--)(r=n[s])&&(i=(o<3?r(i):o>3?r(e,t,i):r(e,t))||i);return o>3&&i&&Object.defineProperty(e,t,i),i}function s(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)}function u(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],l=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&l>=n.length&&(n=void 0),{value:n&&n[l++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var l,r,o=t.call(n),i=[];try{for(;(void 0===e||e-- >0)&&!(l=o.next()).done;)i.push(l.value)}catch(s){r={error:s}}finally{try{l&&!l.done&&(t=o.return)&&t.call(o)}finally{if(r)throw r.error}}return i}function c(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(a(arguments[e]));return n}var p=Array.isArray||function(n){return n&&"number"==typeof n.length};function d(n){return null!=n&&"object"==typeof n}function h(n){return"function"==typeof n}var f,g={e:{}};function m(){try{return f.apply(this,arguments)}catch(n){return g.e=n,g}}function y(n){return f=n,m}function v(n){return Error.call(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map(function(n,e){return e+1+") "+n.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=n,this}v.prototype=Object.create(Error.prototype);var b=v,_=function(){function n(n){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}var e;return n.prototype.unsubscribe=function(){var n,e=!1;if(!this.closed){var t=this._parent,l=this._parents,r=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var i=-1,s=l?l.length:0;t;)t.remove(this),t=++i<s&&l[i]||null;if(h(r)&&y(r).call(this)===g&&(e=!0,n=n||(g.e instanceof b?w(g.e.errors):[g.e])),p(o))for(i=-1,s=o.length;++i<s;){var u=o[i];if(d(u)&&y(u.unsubscribe).call(u)===g){e=!0,n=n||[];var a=g.e;a instanceof b?n=n.concat(w(a.errors)):n.push(a)}}if(e)throw new b(n)}},n.prototype.add=function(e){if(!e||e===n.EMPTY)return n.EMPTY;if(e===this)return this;var t=e;switch(typeof e){case"function":t=new n(e);case"object":if(t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if("function"!=typeof t._addParent){var l=t;(t=new n)._subscriptions=[l]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(t),t._addParent(this),t},n.prototype.remove=function(n){var e=this._subscriptions;if(e){var t=e.indexOf(n);-1!==t&&e.splice(t,1)}},n.prototype._addParent=function(n){var e=this._parent,t=this._parents;e&&e!==n?t?-1===t.indexOf(n)&&t.push(n):this._parents=[n]:this._parent=n},n.EMPTY=((e=new n).closed=!0,e),n}();function w(n){return n.reduce(function(n,e){return n.concat(e instanceof b?e.errors:e)},[])}var C=!1,k={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){C=n},get useDeprecatedSynchronousErrorHandling(){return C}};function E(n){setTimeout(function(){throw n})}var S={closed:!0,next:function(n){},error:function(n){if(k.useDeprecatedSynchronousErrorHandling)throw n;E(n)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),x=function(n){function e(t,l,r){var o=n.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,o._parentSubscription=null,arguments.length){case 0:o.destination=S;break;case 1:if(!t){o.destination=S;break}if("object"==typeof t){t instanceof e?(o.syncErrorThrowable=t.syncErrorThrowable,o.destination=t,t.add(o)):(o.syncErrorThrowable=!0,o.destination=new O(o,t));break}default:o.syncErrorThrowable=!0,o.destination=new O(o,t,l,r)}return o}return r(e,n),e.prototype[T]=function(){return this},e.create=function(n,t,l){var r=new e(n,t,l);return r.syncErrorThrowable=!1,r},e.prototype.next=function(n){this.isStopped||this._next(n)},e.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this))},e.prototype._next=function(n){this.destination.next(n)},e.prototype._error=function(n){this.destination.error(n),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var n=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=n,this._parents=e,this._parentSubscription=null,this},e}(_),O=function(n){function e(e,t,l,r){var o,i=n.call(this)||this;i._parentSubscriber=e;var s=i;return h(t)?o=t:t&&(o=t.next,l=t.error,r=t.complete,t!==S&&(h((s=Object.create(t)).unsubscribe)&&i.add(s.unsubscribe.bind(s)),s.unsubscribe=i.unsubscribe.bind(i))),i._context=s,i._next=o,i._error=l,i._complete=r,i}return r(e,n),e.prototype.next=function(n){if(!this.isStopped&&this._next){var e=this._parentSubscriber;k.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}},e.prototype.error=function(n){if(!this.isStopped){var e=this._parentSubscriber,t=k.useDeprecatedSynchronousErrorHandling;if(this._error)t&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)t?(e.syncErrorValue=n,e.syncErrorThrown=!0):E(n),this.unsubscribe();else{if(this.unsubscribe(),t)throw n;E(n)}}},e.prototype.complete=function(){var n=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var t=function(){return n._complete.call(n._context)};k.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(n,e){try{n.call(this._context,e)}catch(t){if(this.unsubscribe(),k.useDeprecatedSynchronousErrorHandling)throw t;E(t)}},e.prototype.__tryOrSetError=function(n,e,t){if(!k.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,t)}catch(l){return k.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=l,n.syncErrorThrown=!0,!0):(E(l),!0)}return!1},e.prototype._unsubscribe=function(){var n=this._parentSubscriber;this._context=null,this._parentSubscriber=null,n.unsubscribe()},e}(x),A="function"==typeof Symbol&&Symbol.observable||"@@observable";var I=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(n,e,t){var l=this.operator,r=function(n,e,t){if(n){if(n instanceof x)return n;if(n[T])return n[T]()}return n||e||t?new x(n,e,t):new x(S)}(n,e,t);if(l?l.call(r,this.source):r.add(this.source||k.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),k.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){k.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=e),function(n){for(;n;){var e=n.destination;if(n.closed||n.isStopped)return!1;n=e&&e instanceof x?e:null}return!0}(n)?n.error(e):console.warn(e)}},n.prototype.forEach=function(n,e){var t=this;return new(e=P(e))(function(e,l){var r;r=t.subscribe(function(e){try{n(e)}catch(t){l(t),r&&r.unsubscribe()}},l,e)})},n.prototype._subscribe=function(n){var e=this.source;return e&&e.subscribe(n)},n.prototype[A]=function(){return this},n.prototype.pipe=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return 0===n.length?this:((t=n)?1===t.length?t[0]:function(n){return t.reduce(function(n,e){return e(n)},n)}:function(){})(this);var t},n.prototype.toPromise=function(n){var e=this;return new(n=P(n))(function(n,t){var l;e.subscribe(function(n){return l=n},function(n){return t(n)},function(){return n(l)})})},n.create=function(e){return new n(e)},n}();function P(n){if(n||(n=k.Promise||Promise),!n)throw new Error("no Promise impl found");return n}function M(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}M.prototype=Object.create(Error.prototype);var N=M,L=function(n){function e(e,t){var l=n.call(this)||this;return l.subject=e,l.subscriber=t,l.closed=!1,l}return r(e,n),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var n=this.subject,e=n.observers;if(this.subject=null,e&&0!==e.length&&!n.isStopped&&!n.closed){var t=e.indexOf(this.subscriber);-1!==t&&e.splice(t,1)}}},e}(_),D=function(n){function e(e){var t=n.call(this,e)||this;return t.destination=e,t}return r(e,n),e}(x),R=function(n){function e(){var e=n.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r(e,n),e.prototype[T]=function(){return new D(this)},e.prototype.lift=function(n){var e=new U(this,this);return e.operator=n,e},e.prototype.next=function(n){if(this.closed)throw new N;if(!this.isStopped)for(var e=this.observers,t=e.length,l=e.slice(),r=0;r<t;r++)l[r].next(n)},e.prototype.error=function(n){if(this.closed)throw new N;this.hasError=!0,this.thrownError=n,this.isStopped=!0;for(var e=this.observers,t=e.length,l=e.slice(),r=0;r<t;r++)l[r].error(n);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new N;this.isStopped=!0;for(var n=this.observers,e=n.length,t=n.slice(),l=0;l<e;l++)t[l].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new N;return n.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(n){if(this.closed)throw new N;return this.hasError?(n.error(this.thrownError),_.EMPTY):this.isStopped?(n.complete(),_.EMPTY):(this.observers.push(n),new L(this,n))},e.prototype.asObservable=function(){var n=new I;return n.source=this,n},e.create=function(n,e){return new U(n,e)},e}(I),U=function(n){function e(e,t){var l=n.call(this)||this;return l.destination=e,l.source=t,l}return r(e,n),e.prototype.next=function(n){var e=this.destination;e&&e.next&&e.next(n)},e.prototype.error=function(n){var e=this.destination;e&&e.error&&this.destination.error(n)},e.prototype.complete=function(){var n=this.destination;n&&n.complete&&this.destination.complete()},e.prototype._subscribe=function(n){return this.source?this.source.subscribe(n):_.EMPTY},e}(R);function j(n){return n&&"function"==typeof n.schedule}var V=function(n){function e(e,t,l){var r=n.call(this)||this;return r.parent=e,r.outerValue=t,r.outerIndex=l,r.index=0,r}return r(e,n),e.prototype._next=function(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)},e.prototype._error=function(n){this.parent.notifyError(n,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(x),F=function(n){return function(e){for(var t=0,l=n.length;t<l&&!e.closed;t++)e.next(n[t]);e.closed||e.complete()}},H=function(n){return function(e){return n.then(function(n){e.closed||(e.next(n),e.complete())},function(n){return e.error(n)}).then(null,E),e}};function B(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var q=B(),Q=function(n){return function(e){for(var t=n[q]();;){var l=t.next();if(l.done){e.complete();break}if(e.next(l.value),e.closed)break}return"function"==typeof t.return&&e.add(function(){t.return&&t.return()}),e}},z=function(n){return function(e){var t=n[A]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)}},K=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n};function W(n){return n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}var G=function(n){if(n instanceof I)return function(e){return n._isScalar?(e.next(n.value),void e.complete()):n.subscribe(e)};if(n&&"function"==typeof n[A])return z(n);if(K(n))return F(n);if(W(n))return H(n);if(n&&"function"==typeof n[q])return Q(n);var e=d(n)?"an invalid object":"'"+n+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Z(n,e,t,l,r){if(void 0===r&&(r=new V(n,t,l)),!r.closed)return G(e)(r)}var Y=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.notifyNext=function(n,e,t,l,r){this.destination.next(e)},e.prototype.notifyError=function(n,e){this.destination.error(n)},e.prototype.notifyComplete=function(n){this.destination.complete()},e}(x);function J(n,e){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new $(n,e))}}var $=function(){function n(n,e){this.project=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new X(n,this.project,this.thisArg))},n}(),X=function(n){function e(e,t,l){var r=n.call(this,e)||this;return r.project=t,r.count=0,r.thisArg=l||r,r}return r(e,n),e.prototype._next=function(n){var e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(x);function nn(n,e){return new I(e?function(t){var l=new _,r=0;return l.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||l.add(this.schedule())):t.complete()})),l}:F(n))}function en(n,e){if(!e)return n instanceof I?n:new I(G(n));if(null!=n){if(function(n){return n&&"function"==typeof n[A]}(n))return function(n,e){return new I(e?function(t){var l=new _;return l.add(e.schedule(function(){var r=n[A]();l.add(r.subscribe({next:function(n){l.add(e.schedule(function(){return t.next(n)}))},error:function(n){l.add(e.schedule(function(){return t.error(n)}))},complete:function(){l.add(e.schedule(function(){return t.complete()}))}}))})),l}:z(n))}(n,e);if(W(n))return function(n,e){return new I(e?function(t){var l=new _;return l.add(e.schedule(function(){return n.then(function(n){l.add(e.schedule(function(){t.next(n),l.add(e.schedule(function(){return t.complete()}))}))},function(n){l.add(e.schedule(function(){return t.error(n)}))})})),l}:H(n))}(n,e);if(K(n))return nn(n,e);if(function(n){return n&&"function"==typeof n[q]}(n)||"string"==typeof n)return function(n,e){if(!n)throw new Error("Iterable cannot be null");return new I(e?function(t){var l,r=new _;return r.add(function(){l&&"function"==typeof l.return&&l.return()}),r.add(e.schedule(function(){l=n[q](),r.add(e.schedule(function(){if(!t.closed){var n,e;try{var r=l.next();n=r.value,e=r.done}catch(o){return void t.error(o)}e?t.complete():(t.next(n),this.schedule())}}))})),r}:Q(n))}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function tn(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof e?function(l){return l.pipe(tn(function(t,l){return en(n(t,l)).pipe(J(function(n,r){return e(t,n,l,r)}))},t))}:("number"==typeof e&&(t=e),function(e){return e.lift(new ln(n,t))})}var ln=function(){function n(n,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=n,this.concurrent=e}return n.prototype.call=function(n,e){return e.subscribe(new rn(n,this.project,this.concurrent))},n}(),rn=function(n){function e(e,t,l){void 0===l&&(l=Number.POSITIVE_INFINITY);var r=n.call(this,e)||this;return r.project=t,r.concurrent=l,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return r(e,n),e.prototype._next=function(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)},e.prototype._tryNext=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this.active++,this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=new V(this,void 0,void 0);this.destination.add(l),Z(this,n,e,t,l)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,r){this.destination.next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.remove(n),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Y);function on(n){return n}function sn(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=Number.POSITIVE_INFINITY,l=null,r=n[n.length-1];return j(r)?(l=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof r&&(t=n.pop()),null===l&&1===n.length&&n[0]instanceof I?n[0]:function(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),tn(on,n)}(t)(nn(n,l))}function un(){return function(n){return n.lift(new an(n))}}var an=function(){function n(n){this.connectable=n}return n.prototype.call=function(n,e){var t=this.connectable;t._refCount++;var l=new cn(n,t),r=e.subscribe(l);return l.closed||(l.connection=t.connect()),r},n}(),cn=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return r(e,n),e.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var e=n._refCount;if(e<=0)this.connection=null;else if(n._refCount=e-1,e>1)this.connection=null;else{var t=this.connection,l=n._connection;this.connection=null,!l||t&&l!==t||l.unsubscribe()}}else this.connection=null},e}(x),pn=function(n){function e(e,t){var l=n.call(this)||this;return l.source=e,l.subjectFactory=t,l._refCount=0,l._isComplete=!1,l}return r(e,n),e.prototype._subscribe=function(n){return this.getSubject().subscribe(n)},e.prototype.getSubject=function(){var n=this._subject;return n&&!n.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var n=this._connection;return n||(this._isComplete=!1,(n=this._connection=new _).add(this.source.subscribe(new hn(this.getSubject(),this))),n.closed?(this._connection=null,n=_.EMPTY):this._connection=n),n},e.prototype.refCount=function(){return un()(this)},e}(I).prototype,dn={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:pn._subscribe},_isComplete:{value:pn._isComplete,writable:!0},getSubject:{value:pn.getSubject},connect:{value:pn.connect},refCount:{value:pn.refCount}},hn=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return r(e,n),e.prototype._error=function(e){this._unsubscribe(),n.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}},e}(D);function fn(){return new R}function gn(n){for(var e in n)if(n[e]===gn)return e;throw Error("Could not find renamed property on target object.")}var mn=gn({ngComponentDef:gn}),yn=gn({ngInjectableDef:gn}),vn=gn({ngInjectorDef:gn}),bn=gn({ngModuleDef:gn}),_n=gn({__NG_ELEMENT_ID__:gn});function wn(n){return{providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Cn(n){return n&&n.hasOwnProperty(yn)?n[yn]:null}function kn(n){return n&&n.hasOwnProperty(vn)?n[vn]:null}var En=function(){function n(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?wn({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return n.prototype.toString=function(){return"InjectionToken "+this._desc},n}(),Sn="__parameters__";function Tn(n,e,t){var l=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n){var l=n.apply(void 0,c(e));for(var r in l)this[r]=l[r]}}}(e);function r(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof r)return l.apply(this,e),this;var o=new((n=r).bind.apply(n,c([void 0],e)));return i.annotation=o,i;function i(n,e,t){for(var l=n.hasOwnProperty(Sn)?n[Sn]:Object.defineProperty(n,Sn,{value:[]})[Sn];l.length<=t;)l.push(null);return(l[t]=l[t]||[]).push(o),n}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r}var xn="undefined"!=typeof window&&window,On="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,An="undefined"!=typeof global&&global||xn||On,In=Promise.resolve(0),Pn=null;function Mn(){if(!Pn){var n=An.Symbol;if(n&&n.iterator)Pn=n.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),t=0;t<e.length;++t){var l=e[t];"entries"!==l&&"size"!==l&&Map.prototype[l]===Map.prototype.entries&&(Pn=l)}}return Pn}function Nn(n){"undefined"==typeof Zone?In.then(function(){n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}function Ln(n,e){return n===e||"number"==typeof n&&"number"==typeof e&&isNaN(n)&&isNaN(e)}function Dn(n){if("string"==typeof n)return n;if(n instanceof Array)return"["+n.map(Dn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return""+n.overriddenName;if(n.name)return""+n.name;var e=n.toString();if(null==e)return""+e;var t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}var Rn=gn({__forward_ref__:gn});function Un(n){return n.__forward_ref__=Un,n.toString=function(){return Dn(this())},n}function jn(n){var e=n;return"function"==typeof e&&e.hasOwnProperty(Rn)&&e.__forward_ref__===Un?e():n}var Vn=function(n){return n[n.Emulated=0]="Emulated",n[n.Native=1]="Native",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}({}),Fn=0,Hn=1,Bn=2,qn=3,Qn=5,zn=6,Kn=7,Wn=8,Gn=9,Zn=10,Yn=11,Jn=12,$n=13,Xn=15,ne=17,ee=18,te=0,le=1,re=6,oe=8,ie="__ngContext__",se=8,ue=8,ae=9,ce=-1,pe=function(){return function(n,e,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t}}(),de=pe.prototype;function he(n){return"function"==typeof n?n.name||n:"string"==typeof n?n:null==n?"":"object"==typeof n&&"function"==typeof n.type?n.type.name||n.type:""+n}function fe(n){for(;Array.isArray(n);)n=n[Qn];return n}function ge(n,e){return fe(e[n.index])}function me(n,e){var t=e[n];return t.length>=ee?t:t[Qn]}function ye(n){return null!==n.template}function ve(n){return n[ie]}function be(n){var e=ve(n);return e?Array.isArray(e)?e:e.lView:null}function _e(n){return 32767&n}function we(n,e){for(var t=n>>16,l=e;t>0;)l=l[ne],t--;return l}var Ce=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(An);function ke(n){for(var e=n[zn];e&&2===e.type;)e=(n=n[ne])[zn];return n}var Ee,Se,Te,xe,Oe=Tn("Inject",function(n){return{token:n}}),Ae=Tn("Optional"),Ie=Tn("Self"),Pe=Tn("SkipSelf"),Me=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}({}),Ne=void 0;function Le(n){var e=Ne;return Ne=n,e}function De(n){var e=Ee;return Ee=n,e}function Re(n,e){return void 0===e&&(e=Me.Default),(Ee||function(n,e){if(void 0===e&&(e=Me.Default),void 0===Ne)throw new Error("inject() must be called from an injection context");return null===Ne?Ue(n,void 0,e):Ne.get(n,e&Me.Optional?null:void 0,e)})(n,e)}function Ue(n,e,t){var l=Cn(n);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(t&Me.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+Dn(n)+"]")}function je(n){for(var e=[],t=0;t<n.length;t++){var l=n[t];if(Array.isArray(l)){if(0===l.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=Me.Default,i=0;i<l.length;i++){var s=l[i];s instanceof Ae||"Optional"===s.ngMetadataName?o|=Me.Optional:s instanceof Pe||"SkipSelf"===s.ngMetadataName?o|=Me.SkipSelf:s instanceof Ie||"Self"===s.ngMetadataName?o|=Me.Self:r=s instanceof Oe?s.token:s}e.push(Re(r,o))}else e.push(Re(l))}return e}function Ve(n,e,t){n.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(t,n.afterContentInit),n.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(t,n.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(t,n.afterContentChecked))}function Fe(n,e,t){n.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(t,n.afterViewInit),n.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(t,n.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(t,n.afterViewChecked))}function He(n,e,t){null!=n.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(t,n.onDestroy)}function Be(n,e,t,l){if(!l){var r=2&n[Hn]?e:t;r&&qe(n,r)}}function qe(n,e){for(var t=0;t<e.length;t+=2)e[t+1].call(n[e[t]])}function Qe(){return xe}function ze(){return Se}function Ke(n){Se=n}function We(n,e){Se=n,xe=e}function Ge(){return Te}function Ze(n){Te=n}function Ye(n){return void 0===n&&(n=xe),1==(1&n[Hn])}var Je=!1;function $e(){return Je}function Xe(n){Je=n}var nt=!0;function et(){return nt}function tt(n){nt=n}function lt(n,e){var t=xe;n&&(nt=n[Fn].firstTemplatePass);return Se=e,Te=!0,xe=n,t}function rt(n){var e=xe[Fn];Ye(xe)?xe[Hn]&=-2:(Be(xe,e.viewHooks,e.viewCheckHooks,Je),xe[Hn]&=-11,xe[Hn]|=32,xe[Kn]=e.bindingStartIndex),lt(n,null)}var ot=!0;function it(n){var e=ot;return ot=n,e}var st=255,ut=0;function at(n,e){n.push(0,0,0,0,0,0,0,0,e)}function ct(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null==e[n.injectorIndex+ue]?-1:n.injectorIndex}function pt(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var t=e[zn],l=1;t&&-1===t.injectorIndex;)t=(e=e[ne])?e[zn]:null,l++;return t?t.injectorIndex|l<<16:-1}var dt={};function ht(n,e,t,l,r,o){var i=e[Fn],s=i.data[n+se],u=function(n,e,t,l,r){for(var o=n.providerIndexes,i=e[Fn].data,s=65535&o,u=n.directiveStart,a=o>>16,c=r?s+a:n.directiveEnd,p=l?s:s+a;p<c;p++){var d=i[p];if(p<u&&t===d||p>=u&&d.type===t)return p}if(r){var h=i[u];if(h&&ye(h)&&h.type===t)return u}return null}(s,e,t,null==l?function(n){return 1==(1&n.flags)}(s)&&ot:l!=i&&3===s.type,r&Me.Host&&o===s);return null!==u?ft(i.data,e,u,s):dt}function ft(n,e,t,l){var r,o=e[t];if(null!=(r=o)&&"object"==typeof r&&Object.getPrototypeOf(r)==de){var i=o;if(i.resolving)throw new Error("Circular dep for "+he(n[t]));var s=it(i.canSeeViewProviders);i.resolving=!0;var u=void 0;i.injectImpl&&(u=De(i.injectImpl));var a=ze(),c=Qe();We(l,e);try{o=e[t]=i.factory(null,n,e,l)}finally{i.injectImpl&&De(u),it(s),i.resolving=!1,We(a,c)}}return o}function gt(n,e,t){var l=64&n,r=32&n;return!!((128&n?l?r?t[e+7]:t[e+6]:r?t[e+5]:t[e+4]:l?r?t[e+3]:t[e+2]:r?t[e+1]:t[e])&1<<n)}function mt(n,e){return!(n&Me.Self||n&Me.Host&&e)}var yt=function(){function n(n,e){this._tNode=n,this._lView=e}return n.prototype.get=function(n,e){return function(n,e,t,l,r){if(void 0===l&&(l=Me.Default),n){var o=function(n){if("string"==typeof n)return n.charCodeAt(0)||0;var e=n[_n];return"number"==typeof e?e&st:e}(t);if("function"==typeof o){var i=ze(),s=Qe();We(n,e);try{var u=o();if(null!=u||l&Me.Optional)return u;throw new Error("No provider for "+he(t)+"!")}finally{We(i,s)}}else if("number"==typeof o){var a=null,c=ct(n,e),p=ce,d=l&Me.Host?ke(e)[zn]:null;for((-1===c||l&Me.SkipSelf)&&(p=-1===c?pt(n,e):e[c+ue],mt(l,!1)?(a=e[Fn],c=_e(p),e=we(p,e)):c=-1);-1!==c;){p=e[c+ue];var h=e[Fn];if(gt(o,c,h.data)){var f=ht(c,e,t,a,l,d);if(f!==dt)return f}mt(l,e[Fn].data[c+se]===d)&&gt(o,c,e)?(a=h,c=_e(p),e=we(p,e)):c=-1}}}if(l&Me.Optional&&void 0===r&&(r=null),0==(l&(Me.Self|Me.Host))){var g=e[Zn];return g?g.get(t,r,l&Me.Optional):Ue(t,r,l&Me.Optional)}if(l&Me.Optional)return r;throw new Error("NodeInjector: NOT_FOUND ["+he(t)+"]")}(this._tNode,this._lView,n,void 0,e)},n}();function vt(n,e){n[ie]=e}var bt=/([A-Z])/g;function _t(n){try{return null!=n?n.toString().slice(0,30):n}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function wt(n,e){var t=Et(n),l=Et(e);return t&&l?function(n,e,t){for(var l=n[Mn()](),r=e[Mn()]();;){var o=l.next(),i=r.next();if(o.done&&i.done)return!0;if(o.done||i.done)return!1;if(!t(o.value,i.value))return!1}}(n,e,wt):!(t||!n||"object"!=typeof n&&"function"!=typeof n||l||!e||"object"!=typeof e&&"function"!=typeof e)||Ln(n,e)}var Ct=function(){function n(n){this.wrapped=n}return n.wrap=function(e){return new n(e)},n.unwrap=function(e){return n.isWrapped(e)?e.wrapped:e},n.isWrapped=function(e){return e instanceof n},n}(),kt=function(){function n(n,e,t){this.previousValue=n,this.currentValue=e,this.firstChange=t}return n.prototype.isFirstChange=function(){return this.firstChange},n}();function Et(n){return!!St(n)&&(Array.isArray(n)||!(n instanceof Map)&&Mn()in n)}function St(n){return null!==n&&("function"==typeof n||"object"==typeof n)}var Tt={},xt="ngProjectAs";function Ot(n){return!!n.listen}var At={createRenderer:function(n,e){return document}},It=[];function Pt(n,e,t,l,r){0===n?Ot(e)?e.insertBefore(t,l,r):t.insertBefore(l,r,!0):1===n?Ot(e)?e.removeChild(t,l):t.removeChild(l):2===n&&e.destroyNode(l)}function Mt(n){var e=n[Fn].childIndex;return-1===e?null:n[e]}function Nt(n,e){var t;return n.length>=ee&&(t=n[zn])&&2===t.type?function(e,t){if(-1===e.index){var l=n[Xn];return l>-1?n[Bn][l]:null}return n[Bn][e.parent.index]}(t):n[Bn]===e?null:n[Bn]}function Lt(n){if(n.length>=ee){var e=n;!function(n){var e,t=n[Fn];null!=t&&null!=(e=t.destroyHooks)&&qe(n,e)}(e),(r=(l=e)[Fn]&&l[Fn].pipeDestroyHooks)&&qe(l,r),function(n){var e=n[Fn].cleanup;if(null!=e){for(var t=n[Wn],l=0;l<e.length-1;l+=2)if("string"==typeof e[l]){var r=t[e[l+2]],o=fe(n[e[l+1]]),i=e[l+3];"boolean"==typeof i?o.removeEventListener(e[l],r,i):i>=0?t[i]():t[-i].unsubscribe(),l+=2}else"number"==typeof e[l]?(0,t[e[l]])():e[l].call(t[e[l+1]]);n[Wn]=null}}(e);var t=e[zn];t&&3===t.type&&Ot(e[Jn])&&e[Jn].destroy()}var l,r}var Dt="@",Rt=Promise.resolve(null);function Ut(n){var e=n[Fn];if(e.firstTemplatePass=!1,tt(!1),!Ye(n)){var t=$e();(function(n,e,t){!t&&32&n[Hn]&&(Be(n,e.initHooks,e.checkHooks,t),n[Hn]&=-33)})(n,e,t),function(n){for(var e=Mt(n);null!==e;e=e[qn])if(e.length<ee&&-1===e[te])for(var t=e,l=0;l<t[le].length;l++){var r=t[le][l];Ft(r,r[Fn],r[Gn])}}(n),function(n){if(null!=n.contentQueries)for(var e=0;e<n.contentQueries.length;e+=2){var t=n.contentQueries[e];n.data[t].contentQueriesRefresh(t-ee,n.contentQueries[e+1])}}(e),Be(n,e.contentHooks,e.contentCheckHooks,t),function(n,e){if(n.expandoInstructions)for(var t=e[Kn]=n.expandoStartIndex,l=-1,r=-1,o=0;o<n.expandoInstructions.length;o++){var i=n.expandoInstructions[o];if("number"==typeof i)if(i<=0){r=-i;var s=n.expandoInstructions[++o];l=t+=ae+s}else t+=i;else null!==i&&(e[Kn]=t,i(2,fe(e[l]),r)),l++}}(e,n)}!function(n){if(null!=n)for(var e=0;e<n.length;e++)void 0,void 0,16==(16&(t=me(n[e],Qe()))[Hn])&&12&t[Hn]&&(function(n){for(var e=n[Fn],t=n.length;t<e.blueprint.length;t++)n[t]=e.blueprint[t]}(t),Yt(t,t[Gn]));var t}(e.components)}function jt(n,e,t,l,r,o,i,s){var u=e.blueprint.slice();return u[Hn]=51|l,u[Bn]=u[ne]=n,u[Gn]=t,u[Yn]=r||n&&n[Yn],u[Jn]=o||n&&n[Jn],u[$n]=i||n&&n[$n]||null,u[Zn]=s||n&&n[Zn]||null,u}function Vt(n,e,t,l,r){var o=Qe(),i=o[Fn],s=n+ee;o[s]=t;var u=i.data[s];null==u&&(u=i.data[s]=Kt(o,e,s,l,r,null));var a=ze(),c=Ge();return a&&(!c||null!=a.child||null===u.parent&&2!==a.type?c||(a.next=u):a.child=u),null==i.firstChild&&(i.firstChild=u),Ke(u),Ze(!0),u}function Ft(n,e,t){var l,r=Ge(),o=ze();if(Ze(!0),Ke(null),128&n[Hn])Wt(function(n){for(var e=Array.isArray(n)?n:be(n);e&&!(128&e[Hn]);)e=e[Bn];return e}(n)[Gn]);else try{Ze(!0),Ke(null),l=lt(n,n[zn]),Qt(),e.template(Bt(n),t),n[Fn].firstTemplatePass=!1,tt(!1),Ut(n)}finally{rt(l),Ze(r),Ke(o)}}function Ht(n,e,t){var l=n[Yn],r=lt(n,n[zn]),o=!$e();try{o&&l.begin&&l.begin(),Ye(n)&&(t&&(Qt(),t(1,e)),Ut(n),n[Hn]&=-2),t&&t(2,e),Ut(n)}finally{o&&l.end&&l.end(),rt(r)}}function Bt(n){return Ye(n)?1:2}var qt=null;function Qt(){qt=null}function zt(n,e,t,l,r,o,i){var s=ee+t,u=s+l,a=function(n,e){var t=new Array(e).fill(null,0,n).fill(Tt,n);return t[Xn]=-1,t[Kn]=n,t}(s,u);return a[Fn]={id:n,blueprint:a,template:e,viewQuery:i,node:null,data:a.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:u,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null}}function Kt(n,e,t,l,r,o){var i=ze(),s=Ge()?i:i&&i.parent,u=s&&n&&s!==n[zn]?s:null;return{type:e,index:t,injectorIndex:u?u.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,flags:0,providerIndexes:0,tagName:l,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:u,detached:null,stylingTemplate:null,projection:null}}function Wt(n){for(var e=0;e<n.components.length;e++){var t=n.components[e];Ht(be(t),t)}}function Gt(n,e){var t=n[Yn];t.begin&&t.begin(),Ye(n)&&Yt(n,e),Yt(n,e),t.end&&t.end()}function Zt(n){Wt(n[Gn])}function Yt(n,e){var t=n[Fn],l=lt(n,n[zn]),r=t.template,o=t.viewQuery;try{Qt(),function(e,t,l){e&&Ye(n)&&e(1,l)}(o,0,e),r(Bt(n),e),Ut(n),function(e,t,l){e&&!Ye(n)&&e(2,l)}(o,0,e)}finally{rt(l)}}var Jt=Rt;function $t(n,e,t,l,r,o){Te=!1,Se=null;var i,s=t[Fn],u=jt(t,(i=e.template).ngPrivateData||(i.ngPrivateData=zt(-1,i,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?8:4,l,r,o),a=Vt(0,3,n,null,null);return s.firstTemplatePass&&(function(n,e,t){var l="string"!=typeof t?t[_n]:t.charCodeAt(0)||0;null==l&&(l=t[_n]=ut++);var r=l&st,o=1<<r,i=64&r,s=32&r,u=e.data;128&r?i?s?u[n+7]|=o:u[n+6]|=o:s?u[n+5]|=o:u[n+4]|=o:i?s?u[n+3]|=o:u[n+2]|=o:s?u[n+1]|=o:u[n]|=o}(function(n,e){var t=ct(n,e);if(-1!==t)return t;var l=e[Fn];l.firstTemplatePass&&(n.injectorIndex=e.length,at(l.data,n),at(e,null),at(l.blueprint,null));var r=pt(n,e),o=_e(r),i=we(r,e),s=n.injectorIndex;if(r!==ce)for(var u=i[Fn].data,a=0;a<8;a++)e[s+a]=i[o+a]|u[o+a];return e[s+ue]=r,s}(a,t),t[Fn],e.type),a.flags=1,function(n,e,t){n.flags=1&n.flags,n.directiveStart=e,n.directiveEnd=e+1,n.providerIndexes=e}(a,t.length),function(n){var e=Qe()[Fn];(e.components||(e.components=[])).push(n.index)}(a)),u[Qn]=t[ee],u[zn]=a,t[ee]=u}function Xt(n,e,t,l,r){var o=t[Fn],i=function(n,e,t){var l=ze();n.firstTemplatePass&&(t.providersResolver&&t.providersResolver(t),function(n,e,t){var r=-(l.index-ee),o=n.data.length-(65535&l.providerIndexes);(n.expandoInstructions||(n.expandoInstructions=[])).push(r,o,1)}(n),function(n,e,t,l){n.data.push(t);var r=new pe(l,ye(t),null);n.blueprint.push(r),e.push(r)}(n,e,t,t.factory));var r=ft(n.data,e,e.length-1,l);return function(n,e,t,l){var r=ge(e,n);vt(t,n),r&&vt(r,n),null!=l.attributes&&3==e.type&&function(n,e){for(var t=Qe()[Jn],l=Ot(t),r=0;r<e.length;){var o=e[r++];if("number"==typeof o){if(0!==o)break;var i=e[r++],s=e[r++],u=e[r++];l?t.setAttribute(n,s,u,i):n.setAttributeNS(i,s,u)}else u=e[r++],o!==xt&&(o[0]===Dt?l&&t.setProperty(n,o,u):l?t.setAttribute(n,o,u):n.setAttribute(o,u))}}(r,l.attributes)}(e,l,r,t),r}(o,t,e);if(l.components.push(i),n[Gn]=i,r&&r.forEach(function(n){return n(i,e)}),o.firstTemplatePass&&e.hostBindings){var s=ze();e.hostBindings(1,i,s.index-ee)}return i}function nl(n,e){return{components:[],scheduler:n||Ce,clean:Jt,playerHandler:e||null,flags:0}}function el(n,e){var t,l,r,o,i=be(n)[Fn],s=i.data.length-1;t=s,r=e.doCheck,o=i,(l=e.onInit)&&(o.initHooks||(o.initHooks=[])).push(t,l),r&&((o.initHooks||(o.initHooks=[])).push(t,r),(o.checkHooks||(o.checkHooks=[])).push(t,r)),function(n,e){if(n.firstTemplatePass)for(var t=e.directiveStart,l=e.directiveEnd;t<l;t++){var r=n.data[t];Ve(r,n,t),Fe(r,n,t),He(r,n,t)}}(i,{directiveStart:s,directiveEnd:s+1})}function tl(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]}var ll="__source",rl=new Object,ol=rl,il=new En("INJECTOR"),sl=function(){function n(){}return n.prototype.get=function(n,e){if(void 0===e&&(e=rl),e===rl)throw new Error("NullInjectorError: No provider for "+Dn(n)+"!");return e},n}(),ul=function(){function n(){}return n.create=function(n,e){return Array.isArray(n)?new vl(n,e):new vl(n.providers,n.parent,n.name||null)},n.THROW_IF_NOT_FOUND=rl,n.NULL=new sl,n.ngInjectableDef=wn({providedIn:"any",factory:function(){return Re(il)}}),n.__NG_ELEMENT_ID__=function(){return al()},n}(),al=tl,cl=function(n){return n},pl=[],dl=cl,hl=function(){return Array.prototype.slice.call(arguments)},fl=gn({provide:String,useValue:gn}),gl=ul.NULL,ml=/\n/gm,yl="\u0275",vl=function(){function n(n,e,t){void 0===e&&(e=gl),void 0===t&&(t=null),this.parent=e,this.source=t;var l=this._records=new Map;l.set(ul,{token:ul,fn:cl,deps:pl,value:this,useNew:!1}),l.set(il,{token:il,fn:cl,deps:pl,value:this,useNew:!1}),function n(e,t){if(t)if((t=jn(t))instanceof Array)for(var l=0;l<t.length;l++)n(e,t[l]);else{if("function"==typeof t)throw wl("Function/Class not supported",t);if(!t||"object"!=typeof t||!t.provide)throw wl("Unexpected provider",t);var r=jn(t.provide),o=function(n){var e=function(n){var e=pl,t=n.deps;if(t&&t.length){e=[];for(var l=0;l<t.length;l++){var r=6;if((u=jn(t[l]))instanceof Array)for(var o=0,i=u;o<i.length;o++){var s=i[o];s instanceof Ae||s==Ae?r|=1:s instanceof Pe||s==Pe?r&=-3:s instanceof Ie||s==Ie?r&=-5:u=s instanceof Oe?s.token:jn(s)}e.push({token:u,options:r})}}else if(n.useExisting){var u;e=[{token:u=jn(n.useExisting),options:6}]}else if(!(t||fl in n))throw wl("'deps' required",n);return e}(n),t=cl,l=pl,r=!1,o=jn(n.provide);if(fl in n)l=n.useValue;else if(n.useFactory)t=n.useFactory;else if(n.useExisting);else if(n.useClass)r=!0,t=jn(n.useClass);else{if("function"!=typeof o)throw wl("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",n);r=!0,t=o}return{deps:e,fn:t,useNew:r,value:l}}(t);if(!0===t.multi){var i=e.get(r);if(i){if(i.fn!==hl)throw bl(r)}else e.set(r,i={token:t.provide,deps:[],useNew:!1,fn:hl,value:pl});i.deps.push({token:r=t,options:6})}var s=e.get(r);if(s&&s.fn==hl)throw bl(r);e.set(r,o)}}(l,n)}return n.prototype.get=function(n,e,t){void 0===t&&(t=Me.Default);var l=this._records.get(n);try{return function n(e,t,l,r,o,i){try{return function(e,t,l,r,o,i){var s,u;if(!t||i&Me.SkipSelf)i&Me.Self||(u=r.get(e,o,Me.Default));else{if((u=t.value)==dl)throw Error(yl+"Circular dependency");if(u===pl){t.value=dl;var a=t.useNew,p=t.fn,d=t.deps,h=pl;if(d.length){h=[];for(var f=0;f<d.length;f++){var g=d[f],m=g.options,y=2&m?l.get(g.token):void 0;h.push(n(g.token,y,l,y||4&m?r:gl,1&m?null:ul.THROW_IF_NOT_FOUND,Me.Default))}}t.value=u=a?new((s=p).bind.apply(s,c([void 0],h))):p.apply(void 0,h)}}return u}(e,t,l,r,o,i)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(e),t&&t.value==dl&&(t.value=pl),s}}(n,l,this._records,this.parent,e,t)}catch(o){var r=o.ngTempTokenPath;throw n[ll]&&r.unshift(n[ll]),o.message=_l("\n"+o.message,r,this.source),o.ngTokenPath=r,o.ngTempTokenPath=null,o}},n.prototype.toString=function(){var n=[];return this._records.forEach(function(e,t){return n.push(Dn(t))}),"StaticInjector["+n.join(", ")+"]"},n}();function bl(n){return wl("Cannot mix multi providers and regular providers",n)}function _l(n,e,t){void 0===t&&(t=null),n=n&&"\n"===n.charAt(0)&&n.charAt(1)==yl?n.substr(2):n;var l=Dn(e);if(e instanceof Array)l=e.map(Dn).join(" -> ");else if("object"==typeof e){var r=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];r.push(o+":"+("string"==typeof i?JSON.stringify(i):Dn(i)))}l="{"+r.join(", ")+"}"}return"StaticInjectorError"+(t?"("+t+")":"")+"["+l+"]: "+n.replace(ml,"\n  ")}function wl(n,e){return new Error(_l(n,e))}var Cl=new En("The presence of this token marks an injector as being the root injector."),kl={},El={},Sl=[],Tl=void 0;function xl(){return void 0===Tl&&(Tl=new sl),Tl}var Ol=function(){function n(n,e,t){var l=this;this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var r=[];Pl([n],function(n){return l.processInjectorType(n,[],r)}),e&&Pl(e,function(t){return l.processProvider(t,n,e)}),this.records.set(il,Il(void 0,this)),this.isRootInjector=this.records.has(Cl),this.injectorDefTypes.forEach(function(n){return l.get(n)})}return n.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(n){return n.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},n.prototype.get=function(n,e,t){void 0===e&&(e=ol),void 0===t&&(t=Me.Default),this.assertNotDestroyed();var l,r=Le(this);try{if(!(t&Me.SkipSelf)){var o=this.records.get(n);if(void 0===o){var i=("function"==typeof(l=n)||"object"==typeof l&&l instanceof En)&&Cn(n);i&&this.injectableDefInScope(i)&&(o=Il(Al(n),kl),this.records.set(n,o))}if(void 0!==o)return this.hydrate(n,o)}return(t&Me.Self?xl():this.parent).get(n,e)}finally{Le(r)}},n.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},n.prototype.processInjectorType=function(n,e,t){var l=this;if(n=jn(n)){var r=kn(n),o=null==r&&n.ngModule||void 0,i=void 0===o?n:o,s=-1!==t.indexOf(i),u=void 0!==o&&n.providers||Sl;if(void 0!==o&&(r=kn(o)),null!=r){if(this.injectorDefTypes.add(i),this.records.set(i,Il(r.factory,kl)),null!=r.imports&&!s){t.push(i);try{Pl(r.imports,function(n){return l.processInjectorType(n,e,t)})}finally{}}var a=r.providers;if(null!=a&&!s){var c=n;Pl(a,function(n){return l.processProvider(n,c,a)})}var p=n.ngModule;Pl(u,function(n){return l.processProvider(n,p,u)})}}},n.prototype.processProvider=function(n,e,t){var l=Nl(n=jn(n))?n:jn(n&&n.provide),r=function(n,e,t){var l=function(n,e,t){var l,r=void 0;if(Nl(n))return Al(jn(n));if(Ml(n))r=function(){return jn(n.useValue)};else if((l=n)&&l.useExisting)r=function(){return Re(jn(n.useExisting))};else if(n&&n.useFactory)r=function(){return n.useFactory.apply(n,c(je(n.deps||[])))};else{var o=jn(n&&(n.useClass||n.provide));if(!o){var i="";throw e&&t&&(i=" - only instances of Provider and Type are allowed, got: ["+t.map(function(e){return e==n?"?"+n+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Dn(e)+"'"+i)}if(!n.deps)return Al(o);r=function(){return new(o.bind.apply(o,c([void 0],je(n.deps))))}}return r}(n,e,t);return Ml(n)?Il(void 0,n.useValue):Il(l,kl)}(n,e,t);if(Nl(n)||!0!==n.multi){var o=this.records.get(l);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+Dn(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=Il(void 0,kl,!0)).factory=function(){return je(i.multi)},this.records.set(l,i);l=n,i.multi.push(n)}this.records.set(l,r)},n.prototype.hydrate=function(n,e){if(e.value===El)throw new Error("Cannot instantiate cyclic dependency! "+Dn(n));var t;return e.value===kl&&(e.value=El,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(t=e.value)&&null!=t&&t.ngOnDestroy&&"function"==typeof t.ngOnDestroy&&this.onDestroy.add(e.value),e.value},n.prototype.injectableDefInScope=function(n){return!!n.providedIn&&("string"==typeof n.providedIn?"any"===n.providedIn||"root"===n.providedIn&&this.isRootInjector:this.injectorDefTypes.has(n.providedIn))},n}();function Al(n){var e=Cn(n);if(null===e){var t=kn(n);if(null!==t)return t.factory;if(n instanceof En)throw new Error("Token "+Dn(n)+" is missing an ngInjectableDef definition.");if(n instanceof Function){var l=n.length;if(l>0){var r=new Array(l).fill("?");throw new Error("Can't resolve all parameters for "+Dn(n)+": ("+r.join(", ")+").")}return function(){return new n}}throw new Error("unreachable")}return e.factory}function Il(n,e,t){return void 0===t&&(t=!1),{factory:n,value:e,multi:t?[]:void 0}}function Pl(n,e){n.forEach(function(n){return Array.isArray(n)?Pl(n,e):e(n)})}function Ml(n){return n&&"object"==typeof n&&fl in n}function Nl(n){return"function"==typeof n}var Ll=function(){return function(){}}(),Dl=function(){return function(){}}();function Rl(n){var e=Error("No component factory found for "+Dn(n)+". Did you add it to @NgModule.entryComponents?");return e[jl]=n,e}var Ul,jl="ngComponent",Vl=function(){function n(){}return n.prototype.resolveComponentFactory=function(n){throw Rl(n)},n}(),Fl=function(){function n(){}return n.NULL=new Vl,n}(),Hl=function(){function n(n,e,t){this._parent=e,this._ngModule=t,this._factories=new Map;for(var l=0;l<n.length;l++){var r=n[l];this._factories.set(r.componentType,r)}}return n.prototype.resolveComponentFactory=function(n){var e=this._factories.get(n);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(n)),!e)throw Rl(n);return new Bl(e,this._ngModule)},n}(),Bl=function(n){function e(e,t){var l=n.call(this)||this;return l.factory=e,l.ngModule=t,l.selector=e.selector,l.componentType=e.componentType,l.ngContentSelectors=e.ngContentSelectors,l.inputs=e.inputs,l.outputs=e.outputs,l}return r(e,n),e.prototype.create=function(n,e,t,l){return this.factory.create(n,e,t,l||this.ngModule)},e}(Dl),ql=function(){return function(){}}(),Ql=function(){return function(){}}(),zl=function(n){function e(e){var t=n.call(this,e,null,-1)||this;return t._view=e,t}return r(e,n),e.prototype.detectChanges=function(){Zt(this._view)},e.prototype.checkNoChanges=function(){!function(n){Xe(!0);try{Zt(n)}finally{Xe(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(function(){function n(n,e,t){this._context=e,this._componentIndex=t,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=n}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return null==this._lView[Qn]?function n(e,t,l){for(var r=t.child;r;)l.push(ge(r,e)),4===r.type&&n(e,r,l),r=r.next;return l}(this._lView,this._lView[zn],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 64==(64&this._lView[Hn])},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var n=this._viewContainerRef.indexOf(this);n>-1&&this._viewContainerRef.detach(n),this._viewContainerRef=null}var e,t;Ot(t=(e=this._lView)[Jn])&&t.destroyNode&&function(n,t,l,r,o){for(var i=e[Fn].node,s=-1,u=e,a=i.child;a;){var c=null;if(3===a.type){Pt(2,l,null,ge(a,u),o);var p=u[a.index];g=p,Array.isArray(g)&&g.length===oe&&Pt(2,l,null,p[re],o)}else if(0===a.type){var d=u[a.index];Pt(2,l,null,d[re],o),d[le].length&&(c=(u=d[le][0])[Fn].node,o=d[re])}else if(1===a.type){var h=ke(u),f=h[zn].projection[a.projection];It[++s]=a,It[++s]=u,f&&(c=(u=h[Bn])[Fn].data[f.index])}else c=a.child;if(null===c)for(null===a.next&&2&a.flags&&(u=It[s--],a=It[s--]),c=a.next;!c;){if(null===(a=a.parent||u[Fn].node)||a===i)return null;0===a.type&&(o=(u=u[Bn])[a.index][re]),c=2===a.type&&u[qn]?(u=u[qn])[Fn].node:a.next}a=c}var g}(0,0,t),function(n){if(-1===n[Fn].childIndex)return Lt(n);for(var e=Mt(n);e;){var t=null;if(e.length>=ee?e[Fn].childIndex>-1&&(t=Mt(e)):e[le].length&&(t=e[le][0]),null==t){for(;e&&!e[qn]&&e!==n;)Lt(e),e=Nt(e,n);Lt(e||n),t=e&&e[qn]}e=t}}(e),e[Hn]|=64},n.prototype.onDestroy=function(n){var e,t;t=n,function(n){return n[Wn]||(n[Wn]=[])}(e=this._lView).push(t),e[Fn].firstTemplatePass&&function(n){return n[Fn].cleanup||(n[Fn].cleanup=[])}(e).push(e[Wn].length-1,null)},n.prototype.markForCheck=function(){!function(n){for(;n&&!(128&n[Hn]);)n[Hn]|=8,n=n[Bn];var e,t,l;n[Hn]|=8,l=0===(e=n[Gn]).flags,e.flags|=1,l&&e.clean==Rt&&(e.clean=new Promise(function(n){return t=n}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,Wt(e)),2&e.flags){e.flags&=-3;var n=e.playerHandler;n&&n.flushPlayers()}e.clean=Rt,t(null)}))}(this._lView)},n.prototype.detach=function(){this._lView[Hn]&=-17},n.prototype.reattach=function(){this._lView[Hn]|=16},n.prototype.detectChanges=function(){Gt(this._lView,this.context)},n.prototype.checkNoChanges=function(){!function(n){Xe(!0);try{!function(n){Gt(function(n){var e,t=ve(n);if(Array.isArray(t)){var l=function(n,e){var t=n[Fn].components;if(t)for(var l=0;l<t.length;l++){var r=t[l];if(me(r,n)[Gn]===e)return r}else if(me(ee,n)[Gn]===e)return ee;return-1}(t,n);(r=function(n,e,t){return{lView:n,nodeIndex:e,native:t,component:void 0,directives:void 0,localRefs:void 0}}(t,l,(e=me(l,t))[Qn])).component=n,vt(n,r),vt(r.native,r)}else{var r;e=me((r=t).nodeIndex,r.lView)}return e}(n),n)}(n)}finally{Xe(!1)}}(this.context)},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n.prototype.detachFromAppRef=function(){this._appRef=null},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype._lookUpContext=function(){return this._context=this._lView[Bn][this._componentIndex]},n}()),Kl=function(){function n(n){this.nativeElement=n}return n.__NG_ELEMENT_ID__=function(){return Wl(n)},n}(),Wl=tl,Gl=function(){return function(){}}(),Zl=function(){return function(){}}(),Yl=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({}),Jl=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return $l()},n}(),$l=tl,Xl=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}({}),nr=function(){return function(){}}(),er=new(function(){return function(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}())("7.2.16"),tr=function(n){function e(e){var t=n.call(this)||this;return t.ngModule=e,t}return r(e,n),e.prototype.resolveComponentFactory=function(n){return new sr(n[mn]||null,this.ngModule)},e}(Fl);function lr(n){var e=[];for(var t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}var rr=new En("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return nl(Re(or))}}),or=new En("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ce}}),ir={},sr=function(n){function e(e,t){var l=n.call(this)||this;return l.componentDef=e,l.ngModule=t,l.componentType=e.type,l.selector=e.selectors[0][0],l.ngContentSelectors=[],l}return r(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){return lr(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return lr(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){var o,i,s,u,a=void 0===t,c=(l=l||this.ngModule)?function(n,e){return{get:function(t,l){var r=n.get(t,ir);return r!==ir||l===ir?r:e.get(t,l)}}}(n,l.injector):n,p=c.get(Zl,At),d=c.get(nr,null),h=a?(s=this.selector,Ot(u=p.createRenderer(null,this.componentDef)||Qe()[Jn])?u.createElement(s,qt):null===qt?u.createElement(s):u.createElementNS(qt,s)):(o=t,i=p.createRenderer(null,null),"string"==typeof o?Ot(i)?i.selectRootElement(o):i.querySelector(o):o),f=this.componentDef.onPush?136:132,g=a?nl():c.get(rr),m=p.createRenderer(h,this.componentDef);t&&h&&(Ot(m)?m.setAttribute(h,"ng-version",er.full):h.setAttribute("ng-version",er.full));var y,v,b=jt(null,zt(-1,null,1,0,null,null,null),g,f,p,m,d,c),_=lt(b,null);try{p.begin&&p.begin();var w=$t(h,this.componentDef,b,p,m);if(v=b[Fn].data[0+ee],e)for(var C=0,k=b[Fn],E=v.projection=[],S=0;S<e.length;S++){for(var T=e[S],x=null,O=null,A=0;A<T.length;A++){k.firstTemplatePass&&(k.expandoStartIndex++,k.blueprint.splice(++C+ee,0,null),k.data.splice(C+ee,0,null),b.splice(C+ee,0,null));var I=Vt(C,3,T[A],null,null);O?O.next=I:x=I,O=I}E.push(x)}y=Xt(w,this.componentDef,b,g,[el]),function(n,e,t){var l=n[Fn],r=et();n[14]?n[14][qn]=t:r&&(l.childIndex=e),n[14]=t}(b,ee,w),Ut(b)}finally{rt(_),p.end&&p.end()}var P=new ur(this.componentType,y,function(n,e,t){return Ul||(Ul=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e}(Kl)),new Ul(ge(e,t))}(0,v,b),b,v);return a&&(P.hostView._tViewNode.child=v),P},e}(Dl),ur=function(n){function e(e,t,l,r,o){var i,s=n.call(this)||this;return s.location=l,s._rootLView=r,s._tNode=o,s.destroyCbs=[],s.instance=t,s.hostView=s.changeDetectorRef=new zl(r),s.hostView._tViewNode=(-1,null==(i=r)[Fn].node&&(i[Fn].node=Kt(i,2,-1,null,null,null)),i[zn]=i[Fn].node),s.componentType=e,s}return r(e,n),Object.defineProperty(e.prototype,"injector",{get:function(){return new yt(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(n){return n()}),this.destroyCbs=null,this.hostView.destroy()},e.prototype.onDestroy=function(n){this.destroyCbs.push(n)},e}(Ll),ar=!0,cr=!1;function pr(){return cr=!0,ar}var dr=function(){function n(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(n){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return n.prototype.getInertBodyElement_XHR=function(n){n="<body><remove></remove>"+n+"</body>";try{n=encodeURI(n)}catch(l){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+n,!1),e.send(void 0);var t=e.response.body;return t.removeChild(t.firstChild),t},n.prototype.getInertBodyElement_DOMParser=function(n){n="<body><remove></remove>"+n+"</body>";try{var e=(new window.DOMParser).parseFromString(n,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},n.prototype.getInertBodyElement_InertDocument=function(n){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=n,e):(this.inertBodyElement.innerHTML=n,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},n.prototype.stripCustomNsAttrs=function(n){for(var e=n.attributes,t=e.length-1;0<t;t--){var l=e.item(t).name;"xmlns:ns1"!==l&&0!==l.indexOf("ns1:")||n.removeAttribute(l)}for(var r=n.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling},n}(),hr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,fr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function gr(n){return(n=String(n)).match(hr)||n.match(fr)?n:(pr()&&console.warn("WARNING: sanitizing unsafe URL value "+n+" (see http://g.co/ng/security#xss)"),"unsafe:"+n)}function mr(n){var e,t,l={};try{for(var r=u(n.split(",")),o=r.next();!o.done;o=r.next())l[o.value]=!0}catch(i){e={error:i}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return l}function yr(){for(var n,e,t=[],l=0;l<arguments.length;l++)t[l]=arguments[l];var r={};try{for(var o=u(t),i=o.next();!i.done;i=o.next()){var s=i.value;for(var a in s)s.hasOwnProperty(a)&&(r[a]=!0)}}catch(c){n={error:c}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(n)throw n.error}}return r}var vr,br=mr("area,br,col,hr,img,wbr"),_r=mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wr=mr("rp,rt"),Cr=yr(wr,_r),kr=yr(br,yr(_r,mr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yr(wr,mr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cr),Er=mr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sr=mr("srcset"),Tr=yr(Er,Sr,mr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),xr=mr("script,style,template"),Or=function(){function n(){this.sanitizedSomething=!1,this.buf=[]}return n.prototype.sanitizeChildren=function(n){for(var e=n.firstChild,t=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?t=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,t&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var l=this.checkClobberedElement(e,e.nextSibling);if(l){e=l;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},n.prototype.startElement=function(n){var e,t=n.nodeName.toLowerCase();if(!kr.hasOwnProperty(t))return this.sanitizedSomething=!0,!xr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var l=n.attributes,r=0;r<l.length;r++){var o=l.item(r),i=o.name,s=i.toLowerCase();if(Tr.hasOwnProperty(s)){var u=o.value;Er[s]&&(u=gr(u)),Sr[s]&&(e=u,u=(e=String(e)).split(",").map(function(n){return gr(n.trim())}).join(", ")),this.buf.push(" ",i,'="',Pr(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},n.prototype.endElement=function(n){var e=n.nodeName.toLowerCase();kr.hasOwnProperty(e)&&!br.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},n.prototype.chars=function(n){this.buf.push(Pr(n))},n.prototype.checkClobberedElement=function(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+n.outerHTML);return e},n}(),Ar=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ir=/([^\#-~ |!])/g;function Pr(n){return n.replace(/&/g,"&amp;").replace(Ar,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Ir,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Mr(n){return"content"in n&&function(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Nr={provide:Fl,useClass:tr,deps:[ql]},Lr=function(n){function e(e,t){var l=n.call(this)||this;l._parent=t,l._bootstrapComponents=[],l.injector=l,l.destroyCbs=[];var r=function(n,t){var l=e[bn]||null;return l}();return l._bootstrapComponents=r.bootstrap,l._r3Injector=function(n,e,t){return void 0===e&&(e=null),void 0===t&&(t=null),e=e||xl(),new Ol(n,t,e)}(e,t,[{provide:ql,useValue:l},Nr]),l.instance=l.get(e),l}return r(e,n),e.prototype.get=function(n,e,t){return void 0===e&&(e=ul.THROW_IF_NOT_FOUND),void 0===t&&(t=Me.Default),n===ul||n===ql||n===il?this:this._r3Injector.get(n,e,t)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Fl)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(n){return n()}),this.destroyCbs=null},e.prototype.onDestroy=function(n){this.destroyCbs.push(n)},e}(ql);!function(n){function e(e){var t=n.call(this)||this;return t.moduleType=e,t}r(e,n),e.prototype.create=function(n){return new Lr(this.moduleType,n)}}(Ql);var Dr=function(n){function e(e){void 0===e&&(e=!1);var t=n.call(this)||this;return t.__isAsync=e,t}return r(e,n),e.prototype.emit=function(e){n.prototype.next.call(this,e)},e.prototype.subscribe=function(e,t,l){var r,o=function(n){return null},i=function(){return null};e&&"object"==typeof e?(r=this.__isAsync?function(n){setTimeout(function(){return e.next(n)})}:function(n){e.next(n)},e.error&&(o=this.__isAsync?function(n){setTimeout(function(){return e.error(n)})}:function(n){e.error(n)}),e.complete&&(i=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(r=this.__isAsync?function(n){setTimeout(function(){return e(n)})}:function(n){e(n)},t&&(o=this.__isAsync?function(n){setTimeout(function(){return t(n)})}:function(n){t(n)}),l&&(i=this.__isAsync?function(){setTimeout(function(){return l()})}:function(){l()}));var s=n.prototype.subscribe.call(this,r,o,i);return e instanceof _&&e.add(s),s},e}(R),Rr=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Ur(n,Kl)},n}(),Ur=tl,jr=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"),Vr=/^url\(([^)]+)\)$/,Fr="ngDebugContext",Hr="ngOriginalError",Br="ngErrorLogger";function qr(n){return n[Fr]}function Qr(n){return n[Hr]}function zr(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];n.error.apply(n,c(e))}var Kr=function(){function n(){this._console=console}return n.prototype.handleError=function(n){var e=this._findOriginalError(n),t=this._findContext(n),l=function(n){return n[Br]||zr}(n);l(this._console,"ERROR",n),e&&l(this._console,"ORIGINAL ERROR",e),t&&l(this._console,"ERROR CONTEXT",t)},n.prototype._findContext=function(n){return n?qr(n)?qr(n):this._findContext(Qr(n)):null},n.prototype._findOriginalError=function(n){for(var e=Qr(n);e&&Qr(e);)e=Qr(e);return e},n}();function Wr(n){return!!n&&"function"==typeof n.then}function Gr(n){return!!n&&"function"==typeof n.subscribe}var Zr=new En("Application Initializer"),Yr=function(){function n(n){var e=this;this.appInits=n,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(n,t){e.resolve=n,e.reject=t})}return n.prototype.runInitializers=function(){var n=this;if(!this.initialized){var e=[],t=function(){n.done=!0,n.resolve()};if(this.appInits)for(var l=0;l<this.appInits.length;l++){var r=this.appInits[l]();Wr(r)&&e.push(r)}Promise.all(e).then(function(){t()}).catch(function(e){n.reject(e)}),0===e.length&&t(),this.initialized=!0}},n}(),Jr=new En("AppId");function $r(){return""+Xr()+Xr()+Xr()}function Xr(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var no=new En("Platform Initializer"),eo=new En("Platform ID"),to=new En("appBootstrapListener"),lo=function(){function n(){}return n.prototype.log=function(n){console.log(n)},n.prototype.warn=function(n){console.warn(n)},n}();function ro(){throw new Error("Runtime compiler is not loaded")}var oo,io,so=ro,uo=ro,ao=ro,co=ro,po=function(){function n(){this.compileModuleSync=so,this.compileModuleAsync=uo,this.compileModuleAndAllComponentsSync=ao,this.compileModuleAndAllComponentsAsync=co}return n.prototype.clearCache=function(){},n.prototype.clearCacheFor=function(n){},n.prototype.getModuleId=function(n){},n}(),ho=function(){return function(){}}();function fo(){var n=An.wtf;return!(!n||!(oo=n.trace)||(io=oo.events,0))}var go=fo();function mo(n,e){return null}var yo=go?function(n,e){return void 0===e&&(e=null),io.createScope(n,e)}:function(n,e){return mo},vo=go?function(n,e){return oo.leaveScope(n,e),e}:function(n,e){return e},bo=function(){function n(n){var e,t=n.enableLongStackTrace,l=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dr(!1),this.onMicrotaskEmpty=new Dr(!1),this.onStable=new Dr(!1),this.onError=new Dr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,t,l,r,o,i){try{return ko(e),n.invokeTask(l,r,o,i)}finally{Eo(e)}},onInvoke:function(n,t,l,r,o,i,s){try{return ko(e),n.invoke(l,r,o,i,s)}finally{Eo(e)}},onHasTask:function(n,t,l,r){n.hasTask(l,r),t===l&&("microTask"==r.change?(e.hasPendingMicrotasks=r.microTask,Co(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:function(n,t,l,r){return n.handleError(l,r),e.runOutsideAngular(function(){return e.onError.emit(r)}),!1}})}return n.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},n.assertInAngularZone=function(){if(!n.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},n.assertNotInAngularZone=function(){if(n.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},n.prototype.run=function(n,e,t){return this._inner.run(n,e,t)},n.prototype.runTask=function(n,e,t,l){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+l,n,wo,_o,_o);try{return r.runTask(o,e,t)}finally{r.cancelTask(o)}},n.prototype.runGuarded=function(n,e,t){return this._inner.runGuarded(n,e,t)},n.prototype.runOutsideAngular=function(n){return this._outer.run(n)},n}();function _o(){}var wo={};function Co(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(function(){return n.onStable.emit(null)})}finally{n.isStable=!0}}}function ko(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Eo(n){n._nesting--,Co(n)}var So,To=function(){function n(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dr,this.onMicrotaskEmpty=new Dr,this.onStable=new Dr,this.onError=new Dr}return n.prototype.run=function(n){return n()},n.prototype.runGuarded=function(n){return n()},n.prototype.runOutsideAngular=function(n){return n()},n.prototype.runTask=function(n){return n()},n}(),xo=function(){function n(n){var e=this;this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return n.prototype._watchAngularEvents=function(){var n=this;this._ngZone.onUnstable.subscribe({next:function(){n._didWork=!0,n._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){n._ngZone.onStable.subscribe({next:function(){bo.assertNotInAngularZone(),Nn(function(){n._isZoneStable=!0,n._runCallbacksIfReady()})}})})},n.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},n.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},n.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},n.prototype._runCallbacksIfReady=function(){var n=this;if(this.isStable())Nn(function(){for(;0!==n._callbacks.length;){var e=n._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(n._didWork)}n._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(n){return!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)}),this._didWork=!0}},n.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(n){return{source:n.source,creationLocation:n.creationLocation,data:n.data}}):[]},n.prototype.addCallback=function(n,e,t){var l=this,r=-1;e&&e>0&&(r=setTimeout(function(){l._callbacks=l._callbacks.filter(function(n){return n.timeoutId!==r}),n(l._didWork,l.getPendingTasks())},e)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:t})},n.prototype.whenStable=function(n,e,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(n,e,t),this._runCallbacksIfReady()},n.prototype.getPendingRequestCount=function(){return this._pendingCount},n.prototype.findProviders=function(n,e,t){return[]},n}(),Oo=function(){function n(){this._applications=new Map,Ao.addToWindow(this)}return n.prototype.registerApplication=function(n,e){this._applications.set(n,e)},n.prototype.unregisterApplication=function(n){this._applications.delete(n)},n.prototype.unregisterAllApplications=function(){this._applications.clear()},n.prototype.getTestability=function(n){return this._applications.get(n)||null},n.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},n.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},n.prototype.findTestabilityInTree=function(n,e){return void 0===e&&(e=!0),Ao.findTestabilityInTree(this,n,e)},i([s("design:paramtypes",[])],n)}(),Ao=new(function(){function n(){}return n.prototype.addToWindow=function(n){},n.prototype.findTestabilityInTree=function(n,e,t){return null},n}()),Io=new En("AllowMultipleToken"),Po=function(){return function(n,e){this.name=n,this.token=e}}();function Mo(n,e,t){void 0===t&&(t=[]);var l="Platform: "+e,r=new En(l);return function(e){void 0===e&&(e=[]);var o=No();if(!o||o.injector.get(Io,!1))if(n)n(t.concat(e).concat({provide:r,useValue:!0}));else{var i=t.concat(e).concat({provide:r,useValue:!0});!function(n){if(So&&!So.destroyed&&!So.injector.get(Io,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");So=n.get(Lo);var e=n.get(no,null);e&&e.forEach(function(n){return n()})}(ul.create({providers:i,name:l}))}return function(n){var e=No();if(!e)throw new Error("No platform exists!");if(!e.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function No(){return So&&!So.destroyed?So:null}var Lo=function(){function n(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return n.prototype.bootstrapModuleFactory=function(n,e){var t,l=this,r="noop"===(t=e?e.ngZone:void 0)?new To:("zone.js"===t?void 0:t)||new bo({enableLongStackTrace:pr()}),o=[{provide:bo,useValue:r}];return r.run(function(){var e=ul.create({providers:o,parent:l.injector,name:n.moduleType.name}),t=n.create(e),i=t.injector.get(Kr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return t.onDestroy(function(){return Uo(l._modules,t)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(n){i.handleError(n)}})}),function(n,e,r){try{var o=((i=t.injector.get(Yr)).runInitializers(),i.donePromise.then(function(){return l._moduleDoBootstrap(t),t}));return Wr(o)?o.catch(function(t){throw e.runOutsideAngular(function(){return n.handleError(t)}),t}):o}catch(s){throw e.runOutsideAngular(function(){return n.handleError(s)}),s}var i}(i,r)})},n.prototype.bootstrapModule=function(n,e){var t=this;void 0===e&&(e=[]);var l=Do({},e);return function(n,e,t){return n.get(ho).createCompiler([e]).compileModuleAsync(t)}(this.injector,l,n).then(function(n){return t.bootstrapModuleFactory(n,l)})},n.prototype._moduleDoBootstrap=function(n){var e=n.injector.get(Ro);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(n){return e.bootstrap(n)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module "+Dn(n.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');n.instance.ngDoBootstrap(e)}this._modules.push(n)},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},Object.defineProperty(n.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(n){return n.destroy()}),this._destroyListeners.forEach(function(n){return n()}),this._destroyed=!0},Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),n}();function Do(n,e){return Array.isArray(e)?e.reduce(Do,n):o({},n,e)}var Ro=function(){function n(n,e,t,l,r,o){var i=this;this._zone=n,this._console=e,this._injector=t,this._exceptionHandler=l,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=pr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){i._zone.run(function(){i.tick()})}});var s=new I(function(n){i._stable=i._zone.isStable&&!i._zone.hasPendingMacrotasks&&!i._zone.hasPendingMicrotasks,i._zone.runOutsideAngular(function(){n.next(i._stable),n.complete()})}),u=new I(function(n){var e;i._zone.runOutsideAngular(function(){e=i._zone.onStable.subscribe(function(){bo.assertNotInAngularZone(),Nn(function(){i._stable||i._zone.hasPendingMacrotasks||i._zone.hasPendingMicrotasks||(i._stable=!0,n.next(!0))})})});var t=i._zone.onUnstable.subscribe(function(){bo.assertInAngularZone(),i._stable&&(i._stable=!1,i._zone.runOutsideAngular(function(){n.next(!1)}))});return function(){e.unsubscribe(),t.unsubscribe()}});this.isStable=sn(s,u.pipe(function(n){return un()((e=fn,function(n){var t;t="function"==typeof e?e:function(){return e};var l=Object.create(n,dn);return l.source=n,l.subjectFactory=t,l})(n));var e}))}var e;return e=n,n.prototype.bootstrap=function(n,e){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=n instanceof Dl?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(t.componentType);var r=t instanceof Bl?null:this._injector.get(ql),o=t.create(ul.NULL,[],e||t.selector,r);o.onDestroy(function(){l._unloadComponent(o)});var i=o.injector.get(xo,null);return i&&o.injector.get(Oo).registerApplication(o.location.nativeElement,i),this._loadComponent(o),pr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},n.prototype.tick=function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(n){return n.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(n){return n.checkNoChanges()})}catch(l){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(l)})}finally{this._runningTick=!1,vo(t)}},n.prototype.attachView=function(n){var e=n;this._views.push(e),e.attachToAppRef(this)},n.prototype.detachView=function(n){var e=n;Uo(this._views,e),e.detachFromAppRef()},n.prototype._loadComponent=function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(to,[]).concat(this._bootstrapListeners).forEach(function(e){return e(n)})},n.prototype._unloadComponent=function(n){this.detachView(n.hostView),Uo(this.components,n)},n.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(n){return n.destroy()})},Object.defineProperty(n.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),n._tickScope=yo("ApplicationRef#tick()"),n}();function Uo(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}var jo,Vo=function(){function n(){this.dirty=!0,this._results=[],this.changes=new Dr,this.length=0}return n.prototype.map=function(n){return this._results.map(n)},n.prototype.filter=function(n){return this._results.filter(n)},n.prototype.find=function(n){return this._results.find(n)},n.prototype.reduce=function(n,e){return this._results.reduce(n,e)},n.prototype.forEach=function(n){this._results.forEach(n)},n.prototype.some=function(n){return this._results.some(n)},n.prototype.toArray=function(){return this._results.slice()},n.prototype[Mn()]=function(){return this._results[Mn()]()},n.prototype.toString=function(){return this._results.toString()},n.prototype.reset=function(n){this._results=function n(e){return e.reduce(function(e,t){var l=Array.isArray(t)?n(t):t;return e.concat(l)},[])}(n),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},n.prototype.notifyOnChanges=function(){this.changes.emit(this)},n.prototype.setDirty=function(){this.dirty=!0},n.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},n}(),Fo=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Ho(n,Kl)},n}(),Ho=tl,Bo=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return qo()},n}(),qo=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]},Qo=(r(function(){return null!==jo&&jo.apply(this,arguments)||this},jo=Bo),function(){return function(n,e){this.name=n,this.callback=e}}()),zo=function(){function n(n,e,t){this.listeners=[],this.parent=null,this._debugContext=t,this.nativeNode=n,e&&e instanceof Ko&&e.addChild(this)}return Object.defineProperty(n.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),n}(),Ko=function(n){function e(e,t,l){var r=n.call(this,e,t,l)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return r(e,n),e.prototype.addChild=function(n){n&&(this.childNodes.push(n),n.parent=this)},e.prototype.removeChild=function(n){var e=this.childNodes.indexOf(n);-1!==e&&(n.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(n,e){var t,l=this,r=this.childNodes.indexOf(n);-1!==r&&((t=this.childNodes).splice.apply(t,c([r+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),n.parent=l}))},e.prototype.insertBefore=function(n,e){var t=this.childNodes.indexOf(n);-1===t?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(t,0,e))},e.prototype.query=function(n){return this.queryAll(n)[0]||null},e.prototype.queryAll=function(n){var e=[];return function n(e,t,l){e.childNodes.forEach(function(e){e instanceof Ko&&(t(e)&&l.push(e),n(e,t,l))})}(this,n,e),e},e.prototype.queryAllNodes=function(n){var e=[];return function n(e,t,l){e instanceof Ko&&e.childNodes.forEach(function(e){t(e)&&l.push(e),e instanceof Ko&&n(e,t,l)})}(this,n,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(n){return n instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(n,e){this.listeners.forEach(function(t){t.name==n&&t.callback(e)})},e}(zo),Wo=new Map,Go=function(n){return Wo.get(n)||null};function Zo(n){Wo.set(n.nativeNode,n)}var Yo=function(){function n(){}return n.prototype.supports=function(n){return Et(n)},n.prototype.create=function(n){return new $o(n)},n}(),Jo=function(n,e){return e},$o=function(){function n(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||Jo}return n.prototype.forEachItem=function(n){var e;for(e=this._itHead;null!==e;e=e._next)n(e)},n.prototype.forEachOperation=function(n){for(var e=this._itHead,t=this._removalsHead,l=0,r=null;e||t;){var o=!t||e&&e.currentIndex<ti(t,l,r)?e:t,i=ti(o,l,r),s=o.currentIndex;if(o===t)l--,t=t._nextRemoved;else if(e=e._next,null==o.previousIndex)l++;else{r||(r=[]);var u=i-l,a=s-l;if(u!=a){for(var c=0;c<u;c++){var p=c<r.length?r[c]:r[c]=0,d=p+c;a<=d&&d<u&&(r[c]=p+1)}r[o.previousIndex]=a-u}}i!==s&&n(o,i,s)}},n.prototype.forEachPreviousItem=function(n){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)},n.prototype.forEachAddedItem=function(n){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)},n.prototype.forEachMovedItem=function(n){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)},n.prototype.forEachRemovedItem=function(n){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)},n.prototype.forEachIdentityChange=function(n){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)},n.prototype.diff=function(n){if(null==n&&(n=[]),!Et(n))throw new Error("Error trying to diff '"+Dn(n)+"'. Only arrays and iterables are allowed");return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var e=this;this._reset();var t,l,r,o=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(var s=0;s<this.length;s++)r=this._trackByFn(s,l=n[s]),null!==o&&Ln(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,l,r,s)),Ln(o.item,l)||this._addIdentityChange(o,l)):(o=this._mismatch(o,l,r,s),i=!0),o=o._next}else t=0,function(n,e){if(Array.isArray(n))for(var t=0;t<n.length;t++)e(n[t]);else for(var l=n[Mn()](),r=void 0;!(r=l.next()).done;)e(r.value)}(n,function(n){r=e._trackByFn(t,n),null!==o&&Ln(o.trackById,r)?(i&&(o=e._verifyReinsertion(o,n,r,t)),Ln(o.item,n)||e._addIdentityChange(o,n)):(o=e._mismatch(o,n,r,t),i=!0),o=o._next,t++}),this.length=t;return this._truncate(o),this.collection=n,this.isDirty},Object.defineProperty(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),n.prototype._reset=function(){if(this.isDirty){var n=void 0,e=void 0;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=e)n.previousIndex=n.currentIndex,e=n._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},n.prototype._mismatch=function(n,e,t,l){var r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(t,l))?(Ln(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,l)):null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null))?(Ln(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,l)):n=this._addAfter(new Xo(e,t),r,l),n},n.prototype._verifyReinsertion=function(n,e,t,l){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null);return null!==r?n=this._reinsertAfter(r,n._prev,l):n.currentIndex!=l&&(n.currentIndex=l,this._addToMoves(n,l)),n},n.prototype._truncate=function(n){for(;null!==n;){var e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},n.prototype._reinsertAfter=function(n,e,t){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);var l=n._prevRemoved,r=n._nextRemoved;return null===l?this._removalsHead=r:l._nextRemoved=r,null===r?this._removalsTail=l:r._prevRemoved=l,this._insertAfter(n,e,t),this._addToMoves(n,t),n},n.prototype._moveAfter=function(n,e,t){return this._unlink(n),this._insertAfter(n,e,t),this._addToMoves(n,t),n},n.prototype._addAfter=function(n,e,t){return this._insertAfter(n,e,t),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n},n.prototype._insertAfter=function(n,e,t){var l=null===e?this._itHead:e._next;return n._next=l,n._prev=e,null===l?this._itTail=n:l._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new ei),this._linkedRecords.put(n),n.currentIndex=t,n},n.prototype._remove=function(n){return this._addToRemovals(this._unlink(n))},n.prototype._unlink=function(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);var e=n._prev,t=n._next;return null===e?this._itHead=t:e._next=t,null===t?this._itTail=e:t._prev=e,n},n.prototype._addToMoves=function(n,e){return n.previousIndex===e?n:(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n,n)},n.prototype._addToRemovals=function(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ei),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n},n.prototype._addIdentityChange=function(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n},n}(),Xo=function(){return function(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),ni=function(){function n(){this._head=null,this._tail=null}return n.prototype.add=function(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)},n.prototype.get=function(n,e){var t;for(t=this._head;null!==t;t=t._nextDup)if((null===e||e<=t.currentIndex)&&Ln(t.trackById,n))return t;return null},n.prototype.remove=function(n){var e=n._prevDup,t=n._nextDup;return null===e?this._head=t:e._nextDup=t,null===t?this._tail=e:t._prevDup=e,null===this._head},n}(),ei=function(){function n(){this.map=new Map}return n.prototype.put=function(n){var e=n.trackById,t=this.map.get(e);t||(t=new ni,this.map.set(e,t)),t.add(n)},n.prototype.get=function(n,e){var t=this.map.get(n);return t?t.get(n,e):null},n.prototype.remove=function(n){var e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n},Object.defineProperty(n.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),n.prototype.clear=function(){this.map.clear()},n}();function ti(n,e,t){var l=n.previousIndex;if(null===l)return l;var r=0;return t&&l<t.length&&(r=t[l]),l+e+r}var li=function(){function n(){}return n.prototype.supports=function(n){return n instanceof Map||St(n)},n.prototype.create=function(){return new ri},n}(),ri=function(){function n(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),n.prototype.forEachItem=function(n){var e;for(e=this._mapHead;null!==e;e=e._next)n(e)},n.prototype.forEachPreviousItem=function(n){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)},n.prototype.forEachChangedItem=function(n){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)},n.prototype.forEachAddedItem=function(n){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)},n.prototype.forEachRemovedItem=function(n){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)},n.prototype.diff=function(n){if(n){if(!(n instanceof Map||St(n)))throw new Error("Error trying to diff '"+Dn(n)+"'. Only maps and objects are allowed")}else n=new Map;return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var e=this;this._reset();var t=this._mapHead;if(this._appendAfter=null,this._forEach(n,function(n,l){if(t&&t.key===l)e._maybeAddToChanges(t,n),e._appendAfter=t,t=t._next;else{var r=e._getOrCreateRecordForKey(l,n);t=e._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(var l=t;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},n.prototype._insertBeforeOrAppend=function(n,e){if(n){var t=n._prev;return e._next=n,e._prev=t,n._prev=e,t&&(t._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},n.prototype._getOrCreateRecordForKey=function(n,e){if(this._records.has(n)){var t=this._records.get(n);this._maybeAddToChanges(t,e);var l=t._prev,r=t._next;return l&&(l._next=r),r&&(r._prev=l),t._next=null,t._prev=null,t}var o=new oi(n);return this._records.set(n,o),o.currentValue=e,this._addToAdditions(o),o},n.prototype._reset=function(){if(this.isDirty){var n=void 0;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},n.prototype._maybeAddToChanges=function(n,e){Ln(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))},n.prototype._addToAdditions=function(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)},n.prototype._addToChanges=function(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)},n.prototype._forEach=function(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(function(t){return e(n[t],t)})},n}(),oi=function(){return function(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),ii=function(){function n(n){this.factories=n}return n.create=function(e,t){if(null!=t){var l=t.factories.slice();e=e.concat(l)}return new n(e)},n.extend=function(e){return{provide:n,useFactory:function(t){if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return n.create(e,t)},deps:[[n,new Pe,new Ae]]}},n.prototype.find=function(n){var e,t=this.factories.find(function(e){return e.supports(n)});if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'")},n.ngInjectableDef=wn({providedIn:"root",factory:function(){return new n([new Yo])}}),n}(),si=function(){function n(n){this.factories=n}return n.create=function(e,t){if(t){var l=t.factories.slice();e=e.concat(l)}return new n(e)},n.extend=function(e){return{provide:n,useFactory:function(t){if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return n.create(e,t)},deps:[[n,new Pe,new Ae]]}},n.prototype.find=function(n){var e=this.factories.find(function(e){return e.supports(n)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+n+"'")},n.ngInjectableDef=wn({providedIn:"root",factory:function(){return new n([new li])}}),n}(),ui=[new li],ai=new ii([new Yo]),ci=new si(ui),pi=Mo(null,"core",[{provide:eo,useValue:"unknown"},{provide:Lo,deps:[ul]},{provide:Oo,deps:[]},{provide:lo,deps:[]}]),di=new En("LocaleId");function hi(){return ai}function fi(){return ci}function gi(n){return n||"en-US"}var mi=function(){return function(n){}}();function yi(n,e,t){var l=n.state,r=1792&l;return r===e?(n.state=-1793&l|t,n.initIndex=-1,!0):r===t}function vi(n,e,t){return(1792&n.state)===e&&n.initIndex<=t&&(n.initIndex=t+1,!0)}function bi(n,e){return n.nodes[e]}function _i(n,e){return n.nodes[e]}function wi(n,e){return n.nodes[e]}function Ci(n,e){return n.nodes[e]}function ki(n,e){return n.nodes[e]}var Ei={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Si(n,e,t,l){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+t+"'.";return l&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(n,e){var t=new Error(n);return Ti(t,e),t}(r,n)}function Ti(n,e){n[Fr]=e,n[Br]=e.logError.bind(e)}function xi(n){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+n)}var Oi=function(){},Ai=new Map;function Ii(n){var e=Ai.get(n);return e||(e=Dn(n)+"_"+Ai.size,Ai.set(n,e)),e}function Pi(n,e,t,l){if(Ct.isWrapped(l)){l=Ct.unwrap(l);var r=n.def.nodes[e].bindingIndex+t,o=Ct.unwrap(n.oldValues[r]);n.oldValues[r]=new Ct(o)}return l}var Mi="$$undefined",Ni="$$empty";function Li(n){return{id:Mi,styles:n.styles,encapsulation:n.encapsulation,data:n.data}}var Di=0;function Ri(n,e,t,l){return!(!(2&n.state)&&Ln(n.oldValues[e.bindingIndex+t],l))}function Ui(n,e,t,l){return!!Ri(n,e,t,l)&&(n.oldValues[e.bindingIndex+t]=l,!0)}function ji(n,e,t,l){var r=n.oldValues[e.bindingIndex+t];if(1&n.state||!wt(r,l)){var o=e.bindings[t].name;throw Si(Ei.createDebugContext(n,e.nodeIndex),o+": "+r,o+": "+l,0!=(1&n.state))}}function Vi(n){for(var e=n;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Fi(n,e){for(var t=n;t&&t!==e;)t.state|=64,t=t.viewContainerParent||t.parent}function Hi(n,e,t,l){try{return Vi(33554432&n.def.nodes[e].flags?_i(n,e).componentView:n),Ei.handleEvent(n,e,t,l)}catch(r){n.root.errorHandler.handleError(r)}}function Bi(n){return n.parent?_i(n.parent,n.parentNodeDef.nodeIndex):null}function qi(n){return n.parent?n.parentNodeDef.parent:null}function Qi(n,e){switch(201347067&e.flags){case 1:return _i(n,e.nodeIndex).renderElement;case 2:return bi(n,e.nodeIndex).renderText}}function zi(n){return!!n.parent&&!!(32768&n.parentNodeDef.flags)}function Ki(n){return!(!n.parent||32768&n.parentNodeDef.flags)}function Wi(n){return 1<<n%32}function Gi(n){var e={},t=0,l={};return n&&n.forEach(function(n){var r=a(n,2),o=r[0],i=r[1];"number"==typeof o?(e[o]=i,t|=Wi(o)):l[o]=i}),{matchedQueries:e,references:l,matchedQueryIds:t}}function Zi(n,e){return n.map(function(n){var t,l,r;return Array.isArray(n)?(r=(t=a(n,2))[0],l=t[1]):(r=0,l=n),l&&("function"==typeof l||"object"==typeof l)&&e&&Object.defineProperty(l,ll,{value:e,configurable:!0}),{flags:r,token:l,tokenKey:Ii(l)}})}function Yi(n,e,t){var l=t.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===Vn.Native?_i(n,t.renderParent.nodeIndex).renderElement:void 0:e}var Ji=new WeakMap;function $i(n){var e=Ji.get(n);return e||((e=n(function(){return Oi})).factory=n,Ji.set(n,e)),e}function Xi(n,e,t,l,r){3===e&&(t=n.renderer.parentNode(Qi(n,n.def.lastRenderRootNode))),ns(n,e,0,n.def.nodes.length-1,t,l,r)}function ns(n,e,t,l,r,o,i){for(var s=t;s<=l;s++){var u=n.def.nodes[s];11&u.flags&&ts(n,u,e,r,o,i),s+=u.childCount}}function es(n,e,t,l,r,o){for(var i=n;i&&!zi(i);)i=i.parent;for(var s=i.parent,u=qi(i),a=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=a;c++){var p=s.def.nodes[c];p.ngContentIndex===e&&ts(s,p,t,l,r,o),c+=p.childCount}if(!s.parent){var d=n.root.projectableNodes[e];if(d)for(c=0;c<d.length;c++)ls(n,d[c],t,l,r,o)}}function ts(n,e,t,l,r,o){if(8&e.flags)es(n,e.ngContent.index,t,l,r,o);else{var i=Qi(n,e);if(3===t&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&ls(n,i,t,l,r,o),32&e.bindingFlags&&ls(_i(n,e.nodeIndex).componentView,i,t,l,r,o)):ls(n,i,t,l,r,o),16777216&e.flags)for(var s=_i(n,e.nodeIndex).viewContainer._embeddedViews,u=0;u<s.length;u++)Xi(s[u],t,l,r,o);1&e.flags&&!e.element.name&&ns(n,t,e.nodeIndex+1,e.nodeIndex+e.childCount,l,r,o)}}function ls(n,e,t,l,r,o){var i=n.renderer;switch(t){case 1:i.appendChild(l,e);break;case 2:i.insertBefore(l,e,r);break;case 3:i.removeChild(l,e);break;case 0:o.push(e)}}var rs=/^:([^:]+):(.+)$/;function os(n){if(":"===n[0]){var e=n.match(rs);return[e[1],e[2]]}return["",n]}function is(n){for(var e=0,t=0;t<n.length;t++)e|=n[t].flags;return e}function ss(n,e,t,l,r,o,i,s,u,a,c,p,d,h,f,g,m,y,v,b){switch(n){case 1:return e+us(t)+l;case 2:return e+us(t)+l+us(r)+o;case 3:return e+us(t)+l+us(r)+o+us(i)+s;case 4:return e+us(t)+l+us(r)+o+us(i)+s+us(u)+a;case 5:return e+us(t)+l+us(r)+o+us(i)+s+us(u)+a+us(c)+p;case 6:return e+us(t)+l+us(r)+o+us(i)+s+us(u)+a+us(c)+p+us(d)+h;case 7:return e+us(t)+l+us(r)+o+us(i)+s+us(u)+a+us(c)+p+us(d)+h+us(f)+g;case 8:return e+us(t)+l+us(r)+o+us(i)+s+us(u)+a+us(c)+p+us(d)+h+us(f)+g+us(m)+y;case 9:return e+us(t)+l+us(r)+o+us(i)+s+us(u)+a+us(c)+p+us(d)+h+us(f)+g+us(m)+y+us(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function us(n){return null!=n?n.toString():""}function as(n,e,t,l,r,o){n|=1;var i=Gi(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:n,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i.matchedQueries,matchedQueryIds:i.matchedQueryIds,references:i.references,ngContentIndex:t,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?$i(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Oi},provider:null,text:null,query:null,ngContent:null}}function cs(n,e,t,l,r,o,i,s,u,c,p,d){var h;void 0===i&&(i=[]),c||(c=Oi);var f=Gi(t),g=f.matchedQueries,m=f.references,y=f.matchedQueryIds,v=null,b=null;o&&(v=(h=a(os(o),2))[0],b=h[1]),s=s||[];for(var _=new Array(s.length),w=0;w<s.length;w++){var C=a(s[w],3),k=C[0],E=C[2],S=a(os(C[1]),2),T=S[0],x=S[1],O=void 0,A=void 0;switch(15&k){case 4:A=E;break;case 1:case 8:O=E}_[w]={flags:k,ns:T,name:x,nonMinifiedName:x,securityContext:O,suffix:A}}u=u||[];var I=new Array(u.length);for(w=0;w<u.length;w++){var P=a(u[w],2);I[w]={type:0,target:P[0],eventName:P[1],propName:null}}var M=(i=i||[]).map(function(n){var e=a(n,2),t=e[1],l=a(os(e[0]),2);return[l[0],l[1],t]});return d=function(n){if(n&&n.id===Mi){var e=null!=n.encapsulation&&n.encapsulation!==Vn.None||n.styles.length||Object.keys(n.data).length;n.id=e?"c"+Di++:Ni}return n&&n.id===Ni&&(n=null),n||null}(d),p&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:g,matchedQueryIds:y,references:m,ngContentIndex:l,childCount:r,bindings:_,bindingFlags:is(_),outputs:I,element:{ns:v,name:b,attrs:M,template:null,componentProvider:null,componentView:p||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Oi},provider:null,text:null,query:null,ngContent:null}}function ps(n,e,t){var l,r=t.element,o=n.root.selectorOrNode,i=n.renderer;if(n.parent||!o){l=r.name?i.createElement(r.name,r.ns):i.createComment("");var s=Yi(n,e,t);s&&i.appendChild(s,l)}else l=i.selectRootElement(o,!!r.componentRendererType&&r.componentRendererType.encapsulation===Vn.ShadowDom);if(r.attrs)for(var u=0;u<r.attrs.length;u++){var c=a(r.attrs[u],3);i.setAttribute(l,c[1],c[2],c[0])}return l}function ds(n,e,t,l){for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=hs(n,t.nodeIndex,(p=o.eventName,(c=o.target)?c+":"+p:p)),s=o.target,u=n;"component"===o.target&&(s=null,u=e);var a=u.renderer.listen(s||l,o.eventName,i);n.disposables[t.outputIndex+r]=a}var c,p}function hs(n,e,t){return function(l){return Hi(n,e,t,l)}}function fs(n,e,t,l){if(!Ui(n,e,t,l))return!1;var r=e.bindings[t],o=_i(n,e.nodeIndex),i=o.renderElement,s=r.name;switch(15&r.flags){case 1:!function(n,e,t,l,r,o){var i=e.securityContext,s=i?n.root.sanitizer.sanitize(i,o):o;s=null!=s?s.toString():null;var u=n.renderer;null!=o?u.setAttribute(t,r,s,l):u.removeAttribute(t,r,l)}(n,r,i,r.ns,s,l);break;case 2:!function(n,e,t,l){var r=n.renderer;l?r.addClass(e,t):r.removeClass(e,t)}(n,i,s,l);break;case 4:!function(n,e,t,l,r){var o=n.root.sanitizer.sanitize(Xl.STYLE,r);if(null!=o){o=o.toString();var i=e.suffix;null!=i&&(o+=i)}else o=null;var s=n.renderer;null!=o?s.setStyle(t,l,o):s.removeStyle(t,l)}(n,r,i,s,l);break;case 8:!function(n,e,t,l,r){var o=e.securityContext,i=o?n.root.sanitizer.sanitize(o,r):r;n.renderer.setProperty(t,l,i)}(33554432&e.flags&&32&r.flags?o.componentView:n,r,i,s,l)}return!0}var gs=new Object,ms=Ii(ul),ys=Ii(il),vs=Ii(ql);function bs(n,e,t,l){return t=jn(t),{index:-1,deps:Zi(l,Dn(e)),flags:n,token:e,value:t}}function _s(n,e,t){void 0===t&&(t=ul.THROW_IF_NOT_FOUND);var l,r,o=Le(n);try{if(8&e.flags)return e.token;if(2&e.flags&&(t=null),1&e.flags)return n._parent.get(e.token,t);var i=e.tokenKey;switch(i){case ms:case ys:case vs:return n}var s,u=n._def.providersByKey[i];if(u){var a=n._providers[u.index];return void 0===a&&(a=n._providers[u.index]=ws(n,u)),a===gs?void 0:a}if((s=Cn(e.token))&&(l=n,null!=(r=s).providedIn&&(function(n,e){return n._def.modules.indexOf(r.providedIn)>-1}(l)||"root"===r.providedIn&&l._def.isRoot))){var c=n._providers.length;return n._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},n._providers[c]=gs,n._providers[c]=ws(n,n._def.providersByKey[e.tokenKey])}return 4&e.flags?t:n._parent.get(e.token,t)}finally{Le(o)}}function ws(n,e){var t;switch(201347067&e.flags){case 512:t=function(n,e,t){var l=t.length;switch(l){case 0:return new e;case 1:return new e(_s(n,t[0]));case 2:return new e(_s(n,t[0]),_s(n,t[1]));case 3:return new e(_s(n,t[0]),_s(n,t[1]),_s(n,t[2]));default:for(var r=new Array(l),o=0;o<l;o++)r[o]=_s(n,t[o]);return new(e.bind.apply(e,c([void 0],r)))}}(n,e.value,e.deps);break;case 1024:t=function(n,e,t){var l=t.length;switch(l){case 0:return e();case 1:return e(_s(n,t[0]));case 2:return e(_s(n,t[0]),_s(n,t[1]));case 3:return e(_s(n,t[0]),_s(n,t[1]),_s(n,t[2]));default:for(var r=Array(l),o=0;o<l;o++)r[o]=_s(n,t[o]);return e.apply(void 0,c(r))}}(n,e.value,e.deps);break;case 2048:t=_s(n,e.deps[0]);break;case 256:t=e.value}return t===gs||null==t||"object"!=typeof t||131072&e.flags||"function"!=typeof t.ngOnDestroy||(e.flags|=131072),void 0===t?gs:t}function Cs(n,e){var t=n.viewContainer._embeddedViews;if((null==e||e>=t.length)&&(e=t.length-1),e<0)return null;var l=t[e];return l.viewContainerParent=null,Ts(t,e),Ei.dirtyParentQueries(l),Es(l),l}function ks(n,e,t){var l=e?Qi(e,e.def.lastRenderRootNode):n.renderElement,r=t.renderer.parentNode(l),o=t.renderer.nextSibling(l);Xi(t,2,r,o,void 0)}function Es(n){Xi(n,3,null,null,void 0)}function Ss(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function Ts(n,e){e>=n.length-1?n.pop():n.splice(e,1)}var xs=new Object;function Os(n,e,t,l,r,o){return new As(n,e,t,l,r,o)}var As=function(n){function e(e,t,l,r,o,i){var s=n.call(this)||this;return s.selector=e,s.componentType=t,s._inputs=r,s._outputs=o,s.ngContentSelectors=i,s.viewDefFactory=l,s}return r(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){var n=[],e=this._inputs;for(var t in e)n.push({propName:t,templateName:e[t]});return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var n=[];for(var e in this._outputs)n.push({propName:e,templateName:this._outputs[e]});return n},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){if(!l)throw new Error("ngModule should be provided");var r=$i(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,i=Ei.createRootView(n,e||[],t,r,l,xs),s=wi(i,o).instance;return t&&i.renderer.setAttribute(_i(i,0).renderElement,"ng-version",er.full),new Is(i,new Ls(i),s)},e}(Dl),Is=function(n){function e(e,t,l){var r=n.call(this)||this;return r._view=e,r._viewRef=t,r._component=l,r._elDef=r._view.def.nodes[0],r.hostView=t,r.changeDetectorRef=t,r.instance=l,r}return r(e,n),Object.defineProperty(e.prototype,"location",{get:function(){return new Kl(_i(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new js(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(n){this._viewRef.onDestroy(n)},e}(Ll);function Ps(n,e,t){return new Ms(n,e,t)}var Ms=function(){function n(n,e,t){this._view=n,this._elDef=e,this._data=t,this._embeddedViews=[]}return Object.defineProperty(n.prototype,"element",{get:function(){return new Kl(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new js(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){for(var n=this._view,e=this._elDef.parent;!e&&n;)e=qi(n),n=n.parent;return n?new js(n,e):new js(this._view,null)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(var n=this._embeddedViews.length-1;n>=0;n--){var e=Cs(this._data,n);Ei.destroyView(e)}},n.prototype.get=function(n){var e=this._embeddedViews[n];if(e){var t=new Ls(e);return t.attachToViewContainerRef(this),t}return null},Object.defineProperty(n.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(n,e,t){var l=n.createEmbeddedView(e||{});return this.insert(l,t),l},n.prototype.createComponent=function(n,e,t,l,r){var o=t||this.parentInjector;r||n instanceof Bl||(r=o.get(ql));var i=n.create(o,l,void 0,r);return this.insert(i.hostView,e),i},n.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t,l,r,o,i=n;return o=(t=this._data).viewContainer._embeddedViews,null==(l=e)&&(l=o.length),(r=i._view).viewContainerParent=this._view,Ss(o,l,r),function(n,e){var t=Bi(e);if(t&&t!==n&&!(16&e.state)){e.state|=16;var l=t.template._projectedViews;l||(l=t.template._projectedViews=[]),l.push(e),function(n,t){if(!(4&t.flags)){e.parent.def.nodeFlags|=4,t.flags|=4;for(var l=t.parent;l;)l.childFlags|=4,l=l.parent}}(0,e.parentNodeDef)}}(t,r),Ei.dirtyParentQueries(r),ks(t,l>0?o[l-1]:null,r),i.attachToViewContainerRef(this),n},n.prototype.move=function(n,e){if(n.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t,l,r,o,i,s=this._embeddedViews.indexOf(n._view);return r=e,i=(o=(t=this._data).viewContainer._embeddedViews)[l=s],Ts(o,l),null==r&&(r=o.length),Ss(o,r,i),Ei.dirtyParentQueries(i),Es(i),ks(t,r>0?o[r-1]:null,i),n},n.prototype.indexOf=function(n){return this._embeddedViews.indexOf(n._view)},n.prototype.remove=function(n){var e=Cs(this._data,n);e&&Ei.destroyView(e)},n.prototype.detach=function(n){var e=Cs(this._data,n);return e?new Ls(e):null},n}();function Ns(n){return new Ls(n)}var Ls=function(){function n(n){this._view=n,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return Xi(this._view,0,void 0,void 0,n=[]),n;var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),n.prototype.markForCheck=function(){Vi(this._view)},n.prototype.detach=function(){this._view.state&=-5},n.prototype.detectChanges=function(){var n=this._view.root.rendererFactory;n.begin&&n.begin();try{Ei.checkAndUpdateView(this._view)}finally{n.end&&n.end()}},n.prototype.checkNoChanges=function(){Ei.checkNoChangesView(this._view)},n.prototype.reattach=function(){this._view.state|=4},n.prototype.onDestroy=function(n){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(n)},n.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ei.destroyView(this._view)},n.prototype.detachFromAppRef=function(){this._appRef=null,Es(this._view),Ei.dirtyParentQueries(this._view)},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n}();function Ds(n,e){return new Rs(n,e)}var Rs=function(n){function e(e,t){var l=n.call(this)||this;return l._parentView=e,l._def=t,l}return r(e,n),e.prototype.createEmbeddedView=function(n){return new Ls(Ei.createEmbeddedView(this._parentView,this._def,this._def.element.template,n))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Kl(_i(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Rr);function Us(n,e){return new js(n,e)}var js=function(){function n(n,e){this.view=n,this.elDef=e}return n.prototype.get=function(n,e){return void 0===e&&(e=ul.THROW_IF_NOT_FOUND),Ei.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:n,tokenKey:Ii(n)},e)},n}();function Vs(n,e){var t=n.def.nodes[e];if(1&t.flags){var l=_i(n,t.nodeIndex);return t.element.template?l.template:l.renderElement}if(2&t.flags)return bi(n,t.nodeIndex).renderText;if(20240&t.flags)return wi(n,t.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Fs(n){return new Hs(n.renderer)}var Hs=function(){function n(n){this.delegate=n}return n.prototype.selectRootElement=function(n){return this.delegate.selectRootElement(n)},n.prototype.createElement=function(n,e){var t=a(os(e),2),l=this.delegate.createElement(t[1],t[0]);return n&&this.delegate.appendChild(n,l),l},n.prototype.createViewRoot=function(n){return n},n.prototype.createTemplateAnchor=function(n){var e=this.delegate.createComment("");return n&&this.delegate.appendChild(n,e),e},n.prototype.createText=function(n,e){var t=this.delegate.createText(e);return n&&this.delegate.appendChild(n,t),t},n.prototype.projectNodes=function(n,e){for(var t=0;t<e.length;t++)this.delegate.appendChild(n,e[t])},n.prototype.attachViewAfter=function(n,e){for(var t=this.delegate.parentNode(n),l=this.delegate.nextSibling(n),r=0;r<e.length;r++)this.delegate.insertBefore(t,e[r],l)},n.prototype.detachView=function(n){for(var e=0;e<n.length;e++){var t=n[e],l=this.delegate.parentNode(t);this.delegate.removeChild(l,t)}},n.prototype.destroyView=function(n,e){for(var t=0;t<e.length;t++)this.delegate.destroyNode(e[t])},n.prototype.listen=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.listenGlobal=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.setElementProperty=function(n,e,t){this.delegate.setProperty(n,e,t)},n.prototype.setElementAttribute=function(n,e,t){var l=a(os(e),2),r=l[0],o=l[1];null!=t?this.delegate.setAttribute(n,o,t,r):this.delegate.removeAttribute(n,o,r)},n.prototype.setBindingDebugInfo=function(n,e,t){},n.prototype.setElementClass=function(n,e,t){t?this.delegate.addClass(n,e):this.delegate.removeClass(n,e)},n.prototype.setElementStyle=function(n,e,t){null!=t?this.delegate.setStyle(n,e,t):this.delegate.removeStyle(n,e)},n.prototype.invokeElementMethod=function(n,e,t){n[e].apply(n,t)},n.prototype.setText=function(n,e){this.delegate.setValue(n,e)},n.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},n}();function Bs(n,e,t,l){return new qs(n,e,t,l)}var qs=function(){function n(n,e,t,l){this._moduleType=n,this._parent=e,this._bootstrapComponents=t,this._def=l,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(n){for(var e=n._def,t=n._providers=new Array(e.providers.length),l=0;l<e.providers.length;l++){var r=e.providers[l];4096&r.flags||void 0===t[l]&&(t[l]=ws(n,r))}}(this)}return n.prototype.get=function(n,e,t){void 0===e&&(e=ul.THROW_IF_NOT_FOUND),void 0===t&&(t=Me.Default);var l=0;return t&Me.SkipSelf?l|=1:t&Me.Self&&(l|=4),_s(this,{token:n,tokenKey:Ii(n),flags:l},e)},Object.defineProperty(n.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentFactoryResolver",{get:function(){return this.get(Fl)},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Dn(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(n,e){for(var t=n._def,l=new Set,r=0;r<t.providers.length;r++)if(131072&t.providers[r].flags){var o=n._providers[r];if(o&&o!==gs){var i=o.ngOnDestroy;"function"!=typeof i||l.has(o)||(i.apply(o),l.add(o))}}}(this),this._destroyListeners.forEach(function(n){return n()})},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},n}(),Qs=Ii(Gl),zs=Ii(Jl),Ks=Ii(Kl),Ws=Ii(Fo),Gs=Ii(Rr),Zs=Ii(Bo),Ys=Ii(ul),Js=Ii(il);function $s(n,e,t,l,r,o,i,s){var u=[];if(i)for(var c in i){var p=a(i[c],2);u[p[0]]={flags:8,name:c,nonMinifiedName:p[1],ns:null,securityContext:null,suffix:null}}var d=[];if(s)for(var h in s)d.push({type:1,propName:h,target:null,eventName:s[h]});return eu(n,e|=16384,t,l,r,r,o,u,d)}function Xs(n,e,t){return eu(-1,n|=16,null,0,e,e,t)}function nu(n,e,t,l,r){return eu(-1,n,e,0,t,l,r)}function eu(n,e,t,l,r,o,i,s,u){var a=Gi(t),c=a.matchedQueries,p=a.references,d=a.matchedQueryIds;u||(u=[]),s||(s=[]),o=jn(o);var h=Zi(i,Dn(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:p,ngContentIndex:-1,childCount:l,bindings:s,bindingFlags:is(s),outputs:u,element:null,provider:{token:r,value:o,deps:h},text:null,query:null,ngContent:null}}function tu(n,e){return iu(n,e)}function lu(n,e){for(var t=n;t.parent&&!zi(t);)t=t.parent;return su(t.parent,qi(t),!0,e.provider.value,e.provider.deps)}function ru(n,e){var t=su(n,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var l=0;l<e.outputs.length;l++){var r=e.outputs[l],o=t[r.propName];if(!Gr(o))throw new Error("@Output "+r.propName+" not initialized in '"+t.constructor.name+"'.");var i=o.subscribe(ou(n,e.parent.nodeIndex,r.eventName));n.disposables[e.outputIndex+l]=i.unsubscribe.bind(i)}return t}function ou(n,e,t){return function(l){return Hi(n,e,t,l)}}function iu(n,e){var t=(8192&e.flags)>0,l=e.provider;switch(201347067&e.flags){case 512:return su(n,e.parent,t,l.value,l.deps);case 1024:return function(n,e,t,l,r){var o=r.length;switch(o){case 0:return l();case 1:return l(au(n,e,t,r[0]));case 2:return l(au(n,e,t,r[0]),au(n,e,t,r[1]));case 3:return l(au(n,e,t,r[0]),au(n,e,t,r[1]),au(n,e,t,r[2]));default:for(var i=Array(o),s=0;s<o;s++)i[s]=au(n,e,t,r[s]);return l.apply(void 0,c(i))}}(n,e.parent,t,l.value,l.deps);case 2048:return au(n,e.parent,t,l.deps[0]);case 256:return l.value}}function su(n,e,t,l,r){var o=r.length;switch(o){case 0:return new l;case 1:return new l(au(n,e,t,r[0]));case 2:return new l(au(n,e,t,r[0]),au(n,e,t,r[1]));case 3:return new l(au(n,e,t,r[0]),au(n,e,t,r[1]),au(n,e,t,r[2]));default:for(var i=new Array(o),s=0;s<o;s++)i[s]=au(n,e,t,r[s]);return new(l.bind.apply(l,c([void 0],i)))}}var uu={};function au(n,e,t,l,r){if(void 0===r&&(r=ul.THROW_IF_NOT_FOUND),8&l.flags)return l.token;var o=n;2&l.flags&&(r=null);var i=l.tokenKey;i===Zs&&(t=!(!e||!e.element.componentView)),e&&1&l.flags&&(t=!1,e=e.parent);for(var s=n;s;){if(e)switch(i){case Qs:return Fs(cu(s,e,t));case zs:return cu(s,e,t).renderer;case Ks:return new Kl(_i(s,e.nodeIndex).renderElement);case Ws:return _i(s,e.nodeIndex).viewContainer;case Gs:if(e.element.template)return _i(s,e.nodeIndex).template;break;case Zs:return Ns(cu(s,e,t));case Ys:case Js:return Us(s,e);default:var u=(t?e.element.allProviders:e.element.publicProviders)[i];if(u){var a=wi(s,u.nodeIndex);return a||(a={instance:iu(s,u)},s.nodes[u.nodeIndex]=a),a.instance}}t=zi(s),e=qi(s),s=s.parent,4&l.flags&&(s=null)}var c=o.root.injector.get(l.token,uu);return c!==uu||r===uu?c:o.root.ngModule.injector.get(l.token,r)}function cu(n,e,t){var l;if(t)l=_i(n,e.nodeIndex).componentView;else for(l=n;l.parent&&!zi(l);)l=l.parent;return l}function pu(n,e,t,l,r,o){if(32768&t.flags){var i=_i(n,t.parent.nodeIndex).componentView;2&i.def.flags&&(i.state|=8)}if(e.instance[t.bindings[l].name]=r,524288&t.flags){o=o||{};var s=Ct.unwrap(n.oldValues[t.bindingIndex+l]);o[t.bindings[l].nonMinifiedName]=new kt(s,r,0!=(2&n.state))}return n.oldValues[t.bindingIndex+l]=r,o}function du(n,e){if(n.def.nodeFlags&e)for(var t=n.def.nodes,l=0,r=0;r<t.length;r++){var o=t[r],i=o.parent;for(!i&&o.flags&e&&fu(n,r,o.flags&e,l++),0==(o.childFlags&e)&&(r+=o.childCount);i&&1&i.flags&&r===i.nodeIndex+i.childCount;)i.directChildFlags&e&&(l=hu(n,i,e,l)),i=i.parent}}function hu(n,e,t,l){for(var r=e.nodeIndex+1;r<=e.nodeIndex+e.childCount;r++){var o=n.def.nodes[r];o.flags&t&&fu(n,r,o.flags&t,l++),r+=o.childCount}return l}function fu(n,e,t,l){var r=wi(n,e);if(r){var o=r.instance;o&&(Ei.setCurrentNode(n,e),1048576&t&&vi(n,512,l)&&o.ngAfterContentInit(),2097152&t&&o.ngAfterContentChecked(),4194304&t&&vi(n,768,l)&&o.ngAfterViewInit(),8388608&t&&o.ngAfterViewChecked(),131072&t&&o.ngOnDestroy())}}function gu(n,e,t){var l=[];for(var r in t)l.push({propName:r,bindingType:t[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Wi(e),bindings:l},ngContent:null}}function mu(n){for(var e=n.def.nodeMatchedQueries;n.parent&&Ki(n);){var t=n.parentNodeDef;n=n.parent;for(var l=t.nodeIndex+t.childCount,r=0;r<=l;r++)67108864&(o=n.def.nodes[r]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&ki(n,r).setDirty(),!(1&o.flags&&r+o.childCount<t.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(r+=o.childCount)}if(134217728&n.def.nodeFlags)for(r=0;r<n.def.nodes.length;r++){var o;134217728&(o=n.def.nodes[r]).flags&&536870912&o.flags&&ki(n,r).setDirty(),r+=o.childCount}}function yu(n,e){var t=ki(n,e.nodeIndex);if(t.dirty){var l,r=void 0;if(67108864&e.flags){var o=e.parent.parent;r=vu(n,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),l=wi(n,e.parent.nodeIndex).instance}else 134217728&e.flags&&(r=vu(n,0,n.def.nodes.length-1,e.query,[]),l=n.component);t.reset(r);for(var i=e.query.bindings,s=!1,u=0;u<i.length;u++){var a=i[u],c=void 0;switch(a.bindingType){case 0:c=t.first;break;case 1:c=t,s=!0}l[a.propName]=c}s&&t.notifyOnChanges()}}function vu(n,e,t,l,r){for(var o=e;o<=t;o++){var i=n.def.nodes[o],s=i.matchedQueries[l.id];if(null!=s&&r.push(bu(n,i,s)),1&i.flags&&i.element.template&&(i.element.template.nodeMatchedQueries&l.filterId)===l.filterId){var u=_i(n,o);if((i.childMatchedQueries&l.filterId)===l.filterId&&(vu(n,o+1,o+i.childCount,l,r),o+=i.childCount),16777216&i.flags)for(var a=u.viewContainer._embeddedViews,c=0;c<a.length;c++){var p=a[c],d=Bi(p);d&&d===u&&vu(p,0,p.def.nodes.length-1,l,r)}var h=u.template._projectedViews;if(h)for(c=0;c<h.length;c++){var f=h[c];vu(f,0,f.def.nodes.length-1,l,r)}}(i.childMatchedQueries&l.filterId)!==l.filterId&&(o+=i.childCount)}return r}function bu(n,e,t){if(null!=t)switch(t){case 1:return _i(n,e.nodeIndex).renderElement;case 0:return new Kl(_i(n,e.nodeIndex).renderElement);case 2:return _i(n,e.nodeIndex).template;case 3:return _i(n,e.nodeIndex).viewContainer;case 4:return wi(n,e.nodeIndex).instance}}function _u(n,e,t){var l=Yi(n,e,t);l&&es(n,t.ngContent.index,1,l,null,void 0)}function wu(n,e){return ku(128,n,new Array(e+1))}function Cu(n,e){for(var t=Object.keys(e),l=t.length,r=new Array(l),o=0;o<l;o++){var i=t[o];r[e[i]]=i}return ku(64,n,r)}function ku(n,e,t){for(var l=new Array(t.length),r=0;r<t.length;r++){var o=t[r];l[r]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:l,bindingFlags:is(l),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Eu(n,e,t){for(var l=new Array(t.length-1),r=1;r<t.length;r++)l[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:t[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:l,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:t[0]},query:null,ngContent:null}}function Su(n,e,t){var l,r=n.renderer;l=r.createText(t.text.prefix);var o=Yi(n,e,t);return o&&r.appendChild(o,l),{renderText:l}}function Tu(n,e){return(null!=n?n.toString():"")+e.suffix}function xu(n,e,t,l){for(var r=0,o=0,i=0,s=0,u=0,a=null,c=null,p=!1,d=!1,h=null,f=0;f<e.length;f++){var g=e[f];if(g.nodeIndex=f,g.parent=a,g.bindingIndex=r,g.outputIndex=o,g.renderParent=c,i|=g.flags,u|=g.matchedQueryIds,g.element){var m=g.element;m.publicProviders=a?a.element.publicProviders:Object.create(null),m.allProviders=m.publicProviders,p=!1,d=!1,g.element.template&&(u|=g.element.template.nodeMatchedQueries)}if(Au(a,g,e.length),r+=g.bindings.length,o+=g.outputs.length,!c&&3&g.flags&&(h=g),20224&g.flags){p||(p=!0,a.element.publicProviders=Object.create(a.element.publicProviders),a.element.allProviders=a.element.publicProviders);var y=0!=(32768&g.flags);0==(8192&g.flags)||y?a.element.publicProviders[Ii(g.provider.token)]=g:(d||(d=!0,a.element.allProviders=Object.create(a.element.publicProviders)),a.element.allProviders[Ii(g.provider.token)]=g),y&&(a.element.componentProvider=g)}if(a?(a.childFlags|=g.flags,a.directChildFlags|=g.flags,a.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(a.childMatchedQueries|=g.element.template.nodeMatchedQueries)):s|=g.flags,g.childCount>0)a=g,Ou(g)||(c=g);else for(;a&&f===a.nodeIndex+a.childCount;){var v=a.parent;v&&(v.childFlags|=a.childFlags,v.childMatchedQueries|=a.childMatchedQueries),c=(a=v)&&Ou(a)?a.renderParent:a}}return{factory:null,nodeFlags:i,rootNodeFlags:s,nodeMatchedQueries:u,flags:n,nodes:e,updateDirectives:t||Oi,updateRenderer:l||Oi,handleEvent:function(n,t,l,r){return e[t].element.handleEvent(n,l,r)},bindingCount:r,outputCount:o,lastRenderRootNode:h}}function Ou(n){return 0!=(1&n.flags)&&null===n.element.name}function Au(n,e,t){var l=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(n?n.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!n||0==(16384&n.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&n)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var r=n?n.nodeIndex+n.childCount:t-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Iu(n,e,t,l){var r=Nu(n.root,n.renderer,n,e,t);return Lu(r,n.component,l),Du(r),r}function Pu(n,e,t){var l=Nu(n,n.renderer,null,null,e);return Lu(l,t,t),Du(l),l}function Mu(n,e,t,l){var r,o=e.element.componentRendererType;return r=o?n.root.rendererFactory.createRenderer(l,o):n.root.renderer,Nu(n.root,r,n,e.element.componentProvider,t)}function Nu(n,e,t,l,r){var o=new Array(r.nodes.length),i=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:t,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:o,state:13,root:n,renderer:e,oldValues:new Array(r.bindingCount),disposables:i,initIndex:-1}}function Lu(n,e,t){n.component=e,n.context=t}function Du(n){var e;zi(n)&&(e=_i(n.parent,n.parentNodeDef.parent.nodeIndex).renderElement);for(var t=n.def,l=n.nodes,r=0;r<t.nodes.length;r++){var o=t.nodes[r];Ei.setCurrentNode(n,r);var i=void 0;switch(201347067&o.flags){case 1:var s=ps(n,e,o),u=void 0;if(33554432&o.flags){var a=$i(o.element.componentView);u=Ei.createComponentView(n,o,a,s)}ds(n,u,o,s),i={renderElement:s,componentView:u,viewContainer:null,template:o.element.template?Ds(n,o):void 0},16777216&o.flags&&(i.viewContainer=Ps(n,o,i));break;case 2:i=Su(n,e,o);break;case 512:case 1024:case 2048:case 256:(i=l[r])||4096&o.flags||(i={instance:tu(n,o)});break;case 16:i={instance:lu(n,o)};break;case 16384:(i=l[r])||(i={instance:ru(n,o)}),32768&o.flags&&Lu(_i(n,o.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new Vo;break;case 8:_u(n,e,o),i=void 0}l[r]=i}Qu(n,qu.CreateViewNodes),Gu(n,201326592,268435456,0)}function Ru(n){Vu(n),Ei.updateDirectives(n,1),zu(n,qu.CheckNoChanges),Ei.updateRenderer(n,1),Qu(n,qu.CheckNoChanges),n.state&=-97}function Uu(n){1&n.state?(n.state&=-2,n.state|=2):n.state&=-3,yi(n,0,256),Vu(n),Ei.updateDirectives(n,0),zu(n,qu.CheckAndUpdate),Gu(n,67108864,536870912,0);var e=yi(n,256,512);du(n,2097152|(e?1048576:0)),Ei.updateRenderer(n,0),Qu(n,qu.CheckAndUpdate),Gu(n,134217728,536870912,0),du(n,8388608|((e=yi(n,512,768))?4194304:0)),2&n.def.flags&&(n.state&=-9),n.state&=-97,yi(n,768,1024)}function ju(n,e,t,l,r,o,i,s,u,a,p,d,h){return 0===t?function(n,e,t,l,r,o,i,s,u,a,c,p){switch(201347067&e.flags){case 1:return function(n,e,t,l,r,o,i,s,u,a,c,p){var d=e.bindings.length,h=!1;return d>0&&fs(n,e,0,t)&&(h=!0),d>1&&fs(n,e,1,l)&&(h=!0),d>2&&fs(n,e,2,r)&&(h=!0),d>3&&fs(n,e,3,o)&&(h=!0),d>4&&fs(n,e,4,i)&&(h=!0),d>5&&fs(n,e,5,s)&&(h=!0),d>6&&fs(n,e,6,u)&&(h=!0),d>7&&fs(n,e,7,a)&&(h=!0),d>8&&fs(n,e,8,c)&&(h=!0),d>9&&fs(n,e,9,p)&&(h=!0),h}(n,e,t,l,r,o,i,s,u,a,c,p);case 2:return function(n,e,t,l,r,o,i,s,u,a,c,p){var d=!1,h=e.bindings,f=h.length;if(f>0&&Ui(n,e,0,t)&&(d=!0),f>1&&Ui(n,e,1,l)&&(d=!0),f>2&&Ui(n,e,2,r)&&(d=!0),f>3&&Ui(n,e,3,o)&&(d=!0),f>4&&Ui(n,e,4,i)&&(d=!0),f>5&&Ui(n,e,5,s)&&(d=!0),f>6&&Ui(n,e,6,u)&&(d=!0),f>7&&Ui(n,e,7,a)&&(d=!0),f>8&&Ui(n,e,8,c)&&(d=!0),f>9&&Ui(n,e,9,p)&&(d=!0),d){var g=e.text.prefix;f>0&&(g+=Tu(t,h[0])),f>1&&(g+=Tu(l,h[1])),f>2&&(g+=Tu(r,h[2])),f>3&&(g+=Tu(o,h[3])),f>4&&(g+=Tu(i,h[4])),f>5&&(g+=Tu(s,h[5])),f>6&&(g+=Tu(u,h[6])),f>7&&(g+=Tu(a,h[7])),f>8&&(g+=Tu(c,h[8])),f>9&&(g+=Tu(p,h[9]));var m=bi(n,e.nodeIndex).renderText;n.renderer.setValue(m,g)}return d}(n,e,t,l,r,o,i,s,u,a,c,p);case 16384:return function(n,e,t,l,r,o,i,s,u,a,c,p){var d=wi(n,e.nodeIndex),h=d.instance,f=!1,g=void 0,m=e.bindings.length;return m>0&&Ri(n,e,0,t)&&(f=!0,g=pu(n,d,e,0,t,g)),m>1&&Ri(n,e,1,l)&&(f=!0,g=pu(n,d,e,1,l,g)),m>2&&Ri(n,e,2,r)&&(f=!0,g=pu(n,d,e,2,r,g)),m>3&&Ri(n,e,3,o)&&(f=!0,g=pu(n,d,e,3,o,g)),m>4&&Ri(n,e,4,i)&&(f=!0,g=pu(n,d,e,4,i,g)),m>5&&Ri(n,e,5,s)&&(f=!0,g=pu(n,d,e,5,s,g)),m>6&&Ri(n,e,6,u)&&(f=!0,g=pu(n,d,e,6,u,g)),m>7&&Ri(n,e,7,a)&&(f=!0,g=pu(n,d,e,7,a,g)),m>8&&Ri(n,e,8,c)&&(f=!0,g=pu(n,d,e,8,c,g)),m>9&&Ri(n,e,9,p)&&(f=!0,g=pu(n,d,e,9,p,g)),g&&h.ngOnChanges(g),65536&e.flags&&vi(n,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),f}(n,e,t,l,r,o,i,s,u,a,c,p);case 32:case 64:case 128:return function(n,e,t,l,r,o,i,s,u,a,c,p){var d=e.bindings,h=!1,f=d.length;if(f>0&&Ui(n,e,0,t)&&(h=!0),f>1&&Ui(n,e,1,l)&&(h=!0),f>2&&Ui(n,e,2,r)&&(h=!0),f>3&&Ui(n,e,3,o)&&(h=!0),f>4&&Ui(n,e,4,i)&&(h=!0),f>5&&Ui(n,e,5,s)&&(h=!0),f>6&&Ui(n,e,6,u)&&(h=!0),f>7&&Ui(n,e,7,a)&&(h=!0),f>8&&Ui(n,e,8,c)&&(h=!0),f>9&&Ui(n,e,9,p)&&(h=!0),h){var g=Ci(n,e.nodeIndex),m=void 0;switch(201347067&e.flags){case 32:m=new Array(d.length),f>0&&(m[0]=t),f>1&&(m[1]=l),f>2&&(m[2]=r),f>3&&(m[3]=o),f>4&&(m[4]=i),f>5&&(m[5]=s),f>6&&(m[6]=u),f>7&&(m[7]=a),f>8&&(m[8]=c),f>9&&(m[9]=p);break;case 64:m={},f>0&&(m[d[0].name]=t),f>1&&(m[d[1].name]=l),f>2&&(m[d[2].name]=r),f>3&&(m[d[3].name]=o),f>4&&(m[d[4].name]=i),f>5&&(m[d[5].name]=s),f>6&&(m[d[6].name]=u),f>7&&(m[d[7].name]=a),f>8&&(m[d[8].name]=c),f>9&&(m[d[9].name]=p);break;case 128:var y=t;switch(f){case 1:m=y.transform(t);break;case 2:m=y.transform(l);break;case 3:m=y.transform(l,r);break;case 4:m=y.transform(l,r,o);break;case 5:m=y.transform(l,r,o,i);break;case 6:m=y.transform(l,r,o,i,s);break;case 7:m=y.transform(l,r,o,i,s,u);break;case 8:m=y.transform(l,r,o,i,s,u,a);break;case 9:m=y.transform(l,r,o,i,s,u,a,c);break;case 10:m=y.transform(l,r,o,i,s,u,a,c,p)}}g.value=m}return h}(n,e,t,l,r,o,i,s,u,a,c,p);default:throw"unreachable"}}(n,e,l,r,o,i,s,u,a,p,d,h):function(n,e,t){switch(201347067&e.flags){case 1:return function(n,e,t){for(var l=!1,r=0;r<t.length;r++)fs(n,e,r,t[r])&&(l=!0);return l}(n,e,t);case 2:return function(n,e,t){for(var l=e.bindings,r=!1,o=0;o<t.length;o++)Ui(n,e,o,t[o])&&(r=!0);if(r){var i="";for(o=0;o<t.length;o++)i+=Tu(t[o],l[o]);i=e.text.prefix+i;var s=bi(n,e.nodeIndex).renderText;n.renderer.setValue(s,i)}return r}(n,e,t);case 16384:return function(n,e,t){for(var l=wi(n,e.nodeIndex),r=l.instance,o=!1,i=void 0,s=0;s<t.length;s++)Ri(n,e,s,t[s])&&(o=!0,i=pu(n,l,e,s,t[s],i));return i&&r.ngOnChanges(i),65536&e.flags&&vi(n,256,e.nodeIndex)&&r.ngOnInit(),262144&e.flags&&r.ngDoCheck(),o}(n,e,t);case 32:case 64:case 128:return function(n,e,t){for(var l=e.bindings,r=!1,o=0;o<t.length;o++)Ui(n,e,o,t[o])&&(r=!0);if(r){var i=Ci(n,e.nodeIndex),s=void 0;switch(201347067&e.flags){case 32:s=t;break;case 64:for(s={},o=0;o<t.length;o++)s[l[o].name]=t[o];break;case 128:var u=t[0],a=t.slice(1);s=u.transform.apply(u,c(a))}i.value=s}return r}(n,e,t);default:throw"unreachable"}}(n,e,l)}function Vu(n){var e=n.def;if(4&e.nodeFlags)for(var t=0;t<e.nodes.length;t++){var l=e.nodes[t];if(4&l.flags){var r=_i(n,t).template._projectedViews;if(r)for(var o=0;o<r.length;o++){var i=r[o];i.state|=32,Fi(i,n)}}else 0==(4&l.childFlags)&&(t+=l.childCount)}}function Fu(n,e,t,l,r,o,i,s,u,a,c,p,d){return 0===t?function(n,e,t,l,r,o,i,s,u,a,c,p){var d=e.bindings.length;d>0&&ji(n,e,0,t),d>1&&ji(n,e,1,l),d>2&&ji(n,e,2,r),d>3&&ji(n,e,3,o),d>4&&ji(n,e,4,i),d>5&&ji(n,e,5,s),d>6&&ji(n,e,6,u),d>7&&ji(n,e,7,a),d>8&&ji(n,e,8,c),d>9&&ji(n,e,9,p)}(n,e,l,r,o,i,s,u,a,c,p,d):function(n,e,t){for(var l=0;l<t.length;l++)ji(n,e,l,t[l])}(n,e,l),!1}function Hu(n,e){if(ki(n,e.nodeIndex).dirty)throw Si(Ei.createDebugContext(n,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&n.state))}function Bu(n){if(!(128&n.state)){if(zu(n,qu.Destroy),Qu(n,qu.Destroy),du(n,131072),n.disposables)for(var e=0;e<n.disposables.length;e++)n.disposables[e]();!function(n){if(16&n.state){var e=Bi(n);if(e){var t=e.template._projectedViews;t&&(Ts(t,t.indexOf(n)),Ei.dirtyParentQueries(n))}}}(n),n.renderer.destroyNode&&function(n){for(var e=n.def.nodes.length,t=0;t<e;t++){var l=n.def.nodes[t];1&l.flags?n.renderer.destroyNode(_i(n,t).renderElement):2&l.flags?n.renderer.destroyNode(bi(n,t).renderText):(67108864&l.flags||134217728&l.flags)&&ki(n,t).destroy()}}(n),zi(n)&&n.renderer.destroy(),n.state|=128}}var qu=function(n){return n[n.CreateViewNodes=0]="CreateViewNodes",n[n.CheckNoChanges=1]="CheckNoChanges",n[n.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",n[n.CheckAndUpdate=3]="CheckAndUpdate",n[n.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",n[n.Destroy=5]="Destroy",n}({});function Qu(n,e){var t=n.def;if(33554432&t.nodeFlags)for(var l=0;l<t.nodes.length;l++){var r=t.nodes[l];33554432&r.flags?Ku(_i(n,l).componentView,e):0==(33554432&r.childFlags)&&(l+=r.childCount)}}function zu(n,e){var t=n.def;if(16777216&t.nodeFlags)for(var l=0;l<t.nodes.length;l++){var r=t.nodes[l];if(16777216&r.flags)for(var o=_i(n,l).viewContainer._embeddedViews,i=0;i<o.length;i++)Ku(o[i],e);else 0==(16777216&r.childFlags)&&(l+=r.childCount)}}function Ku(n,e){var t=n.state;switch(e){case qu.CheckNoChanges:0==(128&t)&&(12==(12&t)?Ru(n):64&t&&Wu(n,qu.CheckNoChangesProjectedViews));break;case qu.CheckNoChangesProjectedViews:0==(128&t)&&(32&t?Ru(n):64&t&&Wu(n,e));break;case qu.CheckAndUpdate:0==(128&t)&&(12==(12&t)?Uu(n):64&t&&Wu(n,qu.CheckAndUpdateProjectedViews));break;case qu.CheckAndUpdateProjectedViews:0==(128&t)&&(32&t?Uu(n):64&t&&Wu(n,e));break;case qu.Destroy:Bu(n);break;case qu.CreateViewNodes:Du(n)}}function Wu(n,e){zu(n,e),Qu(n,e)}function Gu(n,e,t,l){if(n.def.nodeFlags&e&&n.def.nodeFlags&t)for(var r=n.def.nodes.length,o=0;o<r;o++){var i=n.def.nodes[o];if(i.flags&e&&i.flags&t)switch(Ei.setCurrentNode(n,i.nodeIndex),l){case 0:yu(n,i);break;case 1:Hu(n,i)}i.childFlags&e&&i.childFlags&t||(o+=i.childCount)}}var Zu=!1;function Yu(n,e,t,l,r,o){var i=r.injector.get(Zl);return Pu($u(n,r,i,e,t),l,o)}function Ju(n,e,t,l,r,o){var i=r.injector.get(Zl),s=$u(n,r,new Ia(i),e,t),u=ua(l);return Oa(ya.create,Pu,null,[s,u,o])}function $u(n,e,t,l,r){var o=e.injector.get(nr),i=e.injector.get(Kr),s=t.createRenderer(null,null);return{ngModule:e,injector:n,projectableNodes:l,selectorOrNode:r,sanitizer:o,rendererFactory:t,renderer:s,errorHandler:i}}function Xu(n,e,t,l){var r=ua(t);return Oa(ya.create,Iu,null,[n,e,r,l])}function na(n,e,t,l){return t=ra.get(e.element.componentProvider.provider.token)||ua(t),Oa(ya.create,Mu,null,[n,e,t,l])}function ea(n,e,t,l){return Bs(n,e,t,function(n){var e=function(n){var e=!1,t=!1;return 0===ta.size?{hasOverrides:e,hasDeprecatedOverrides:t}:(n.providers.forEach(function(n){var l=ta.get(n.token);3840&n.flags&&l&&(e=!0,t=t||l.deprecatedBehavior)}),n.modules.forEach(function(n){la.forEach(function(l,r){Cn(r).providedIn===n&&(e=!0,t=t||l.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:t})}(n),t=e.hasDeprecatedOverrides;return e.hasOverrides?(function(n){for(var e=0;e<n.providers.length;e++){var l=n.providers[e];t&&(l.flags|=4096);var r=ta.get(l.token);r&&(l.flags=-3841&l.flags|r.flags,l.deps=Zi(r.deps),l.value=r.value)}if(la.size>0){var o=new Set(n.modules);la.forEach(function(e,l){if(o.has(Cn(l).providedIn)){var r={token:l,flags:e.flags|(t?4096:0),deps:Zi(e.deps),value:e.value,index:n.providers.length};n.providers.push(r),n.providersByKey[Ii(l)]=r}})}}(n=n.factory(function(){return Oi})),n):n}(l))}var ta=new Map,la=new Map,ra=new Map;function oa(n){var e;ta.set(n.token,n),"function"==typeof n.token&&(e=Cn(n.token))&&"function"==typeof e.providedIn&&la.set(n.token,n)}function ia(n,e){var t=$i(e.viewDefFactory),l=$i(t.nodes[0].element.componentView);ra.set(n,l)}function sa(){ta.clear(),la.clear(),ra.clear()}function ua(n){if(0===ta.size)return n;var e=function(n){for(var e=[],t=null,l=0;l<n.nodes.length;l++){var r=n.nodes[l];1&r.flags&&(t=r),t&&3840&r.flags&&ta.has(r.provider.token)&&(e.push(t.nodeIndex),t=null)}return e}(n);if(0===e.length)return n;n=n.factory(function(){return Oi});for(var t=0;t<e.length;t++)l(n,e[t]);return n;function l(n,e){for(var t=e+1;t<n.nodes.length;t++){var l=n.nodes[t];if(1&l.flags)return;if(3840&l.flags){var r=l.provider,o=ta.get(r.token);o&&(l.flags=-3841&l.flags|o.flags,r.deps=Zi(o.deps),r.value=o.value)}}}}function aa(n,e,t,l,r,o,i,s,u,a,c,p,d){var h=n.def.nodes[e];return ju(n,h,t,l,r,o,i,s,u,a,c,p,d),224&h.flags?Ci(n,e).value:void 0}function ca(n,e,t,l,r,o,i,s,u,a,c,p,d){var h=n.def.nodes[e];return Fu(n,h,t,l,r,o,i,s,u,a,c,p,d),224&h.flags?Ci(n,e).value:void 0}function pa(n){return Oa(ya.detectChanges,Uu,null,[n])}function da(n){return Oa(ya.checkNoChanges,Ru,null,[n])}function ha(n){return Oa(ya.destroy,Bu,null,[n])}var fa,ga,ma,ya=function(n){return n[n.create=0]="create",n[n.detectChanges=1]="detectChanges",n[n.checkNoChanges=2]="checkNoChanges",n[n.destroy=3]="destroy",n[n.handleEvent=4]="handleEvent",n}({});function va(n,e){ga=n,ma=e}function ba(n,e,t,l){return va(n,e),Oa(ya.handleEvent,n.def.handleEvent,null,[n,e,t,l])}function _a(n,e){if(128&n.state)throw xi(ya[fa]);return va(n,Ea(n,0)),n.def.updateDirectives(function(n,t,l){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var i=n.def.nodes[t];return 0===e?Ca(n,i,l,r):ka(n,i,l,r),16384&i.flags&&va(n,Ea(n,t)),224&i.flags?Ci(n,i.nodeIndex).value:void 0},n)}function wa(n,e){if(128&n.state)throw xi(ya[fa]);return va(n,Sa(n,0)),n.def.updateRenderer(function(n,t,l){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var i=n.def.nodes[t];return 0===e?Ca(n,i,l,r):ka(n,i,l,r),3&i.flags&&va(n,Sa(n,t)),224&i.flags?Ci(n,i.nodeIndex).value:void 0},n)}function Ca(n,e,t,l){if(ju.apply(void 0,c([n,e,t],l))){var r=1===t?l[0]:l;if(16384&e.flags){for(var o={},i=0;i<e.bindings.length;i++){var s=e.bindings[i],u=r[i];8&s.flags&&(o[(h=s.nonMinifiedName,"ng-reflect-"+h.replace(/[$@]/g,"_").replace(bt,function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return"-"+n[1].toLowerCase()}))]=_t(u))}var a=e.parent,p=_i(n,a.nodeIndex).renderElement;if(a.element.name)for(var d in o)null!=(u=o[d])?n.renderer.setAttribute(p,d,u):n.renderer.removeAttribute(p,d);else n.renderer.setValue(p,"bindings="+JSON.stringify(o,null,2))}}var h}function ka(n,e,t,l){Fu.apply(void 0,c([n,e,t],l))}function Ea(n,e){for(var t=e;t<n.def.nodes.length;t++){var l=n.def.nodes[t];if(16384&l.flags&&l.bindings&&l.bindings.length)return t}return null}function Sa(n,e){for(var t=e;t<n.def.nodes.length;t++){var l=n.def.nodes[t];if(3&l.flags&&l.bindings&&l.bindings.length)return t}return null}var Ta=function(){function n(n,e){this.view=n,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=n.def.nodes[e];for(var t=this.nodeDef,l=n;t&&0==(1&t.flags);)t=t.parent;if(!t)for(;!t&&l;)t=qi(l),l=l.parent;this.elDef=t,this.elView=l}return Object.defineProperty(n.prototype,"elOrCompView",{get:function(){return _i(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return Us(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){var n=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var t=this.elView.def.nodes[e];20224&t.flags&&n.push(t.provider.token),e+=t.childCount}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){var n={};if(this.elDef){xa(this.elView,this.elDef,n);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var t=this.elView.def.nodes[e];20224&t.flags&&xa(this.elView,t,n),e+=t.childCount}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderElement",{get:function(){var n=function(n){for(;n&&!zi(n);)n=n.parent;return n.parent?_i(n.parent,qi(n).nodeIndex):null}(this.elOrCompView);return n?n.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Qi(this.view,this.nodeDef):Qi(this.elView,this.elDef)},enumerable:!0,configurable:!0}),n.prototype.logError=function(n){for(var e,t,l=[],r=1;r<arguments.length;r++)l[r-1]=arguments[r];2&this.nodeDef.flags?(e=this.view.def,t=this.nodeDef.nodeIndex):(e=this.elView.def,t=this.elDef.nodeIndex);var o=function(n,e){for(var t=-1,l=0;l<=e;l++)3&n.nodes[l].flags&&t++;return t}(e,t),i=-1;e.factory(function(){var e;return++i===o?(e=n.error).bind.apply(e,c([n],l)):Oi}),i<o&&(n.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),n.error.apply(n,c(l)))},n}();function xa(n,e,t){for(var l in e.references)t[l]=bu(n,e,e.references[l])}function Oa(n,e,t,l){var r=fa,o=ga,i=ma;try{fa=n;var s=e.apply(t,l);return ga=o,ma=i,fa=r,s}catch(u){if(qr(u)||!ga)throw u;throw function(n,e){return n instanceof Error||(n=new Error(n.toString())),Ti(n,e),n}(u,Aa())}}function Aa(){return ga?new Ta(ga,ma):null}var Ia=function(){function n(n){this.delegate=n}return n.prototype.createRenderer=function(n,e){return new Pa(this.delegate.createRenderer(n,e))},n.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},n.prototype.end=function(){this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},n}(),Pa=function(){function n(n){this.delegate=n,this.debugContextFactory=Aa,this.data=this.delegate.data}return n.prototype.createDebugContext=function(n){return this.debugContextFactory(n)},n.prototype.destroyNode=function(n){!function(n){Wo.delete(n.nativeNode)}(Go(n)),this.delegate.destroyNode&&this.delegate.destroyNode(n)},n.prototype.destroy=function(){this.delegate.destroy()},n.prototype.createElement=function(n,e){var t=this.delegate.createElement(n,e),l=this.createDebugContext(t);if(l){var r=new Ko(t,null,l);r.name=n,Zo(r)}return t},n.prototype.createComment=function(n){var e=this.delegate.createComment(n),t=this.createDebugContext(e);return t&&Zo(new zo(e,null,t)),e},n.prototype.createText=function(n){var e=this.delegate.createText(n),t=this.createDebugContext(e);return t&&Zo(new zo(e,null,t)),e},n.prototype.appendChild=function(n,e){var t=Go(n),l=Go(e);t&&l&&t instanceof Ko&&t.addChild(l),this.delegate.appendChild(n,e)},n.prototype.insertBefore=function(n,e,t){var l=Go(n),r=Go(e),o=Go(t);l&&r&&l instanceof Ko&&l.insertBefore(o,r),this.delegate.insertBefore(n,e,t)},n.prototype.removeChild=function(n,e){var t=Go(n),l=Go(e);t&&l&&t instanceof Ko&&t.removeChild(l),this.delegate.removeChild(n,e)},n.prototype.selectRootElement=function(n,e){var t=this.delegate.selectRootElement(n,e),l=Aa();return l&&Zo(new Ko(t,null,l)),t},n.prototype.setAttribute=function(n,e,t,l){var r=Go(n);r&&r instanceof Ko&&(r.attributes[l?l+":"+e:e]=t),this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){var l=Go(n);l&&l instanceof Ko&&(l.attributes[t?t+":"+e:e]=null),this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){var t=Go(n);t&&t instanceof Ko&&(t.classes[e]=!0),this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){var t=Go(n);t&&t instanceof Ko&&(t.classes[e]=!1),this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){var r=Go(n);r&&r instanceof Ko&&(r.styles[e]=t),this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){var l=Go(n);l&&l instanceof Ko&&(l.styles[e]=null),this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){var l=Go(n);l&&l instanceof Ko&&(l.properties[e]=t),this.delegate.setProperty(n,e,t)},n.prototype.listen=function(n,e,t){if("string"!=typeof n){var l=Go(n);l&&l.listeners.push(new Qo(e,t))}return this.delegate.listen(n,e,t)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setValue=function(n,e){return this.delegate.setValue(n,e)},n}();function Ma(n,e,t){return new Na(n,e,t)}var Na=function(n){function e(e,t,l){var r=n.call(this)||this;return r.moduleType=e,r._bootstrapComponents=t,r._ngModuleDefFactory=l,r}return r(e,n),e.prototype.create=function(n){!function(){if(!Zu){Zu=!0;var n=pr()?{setCurrentNode:va,createRootView:Ju,createEmbeddedView:Xu,createComponentView:na,createNgModuleRef:ea,overrideProvider:oa,overrideComponentView:ia,clearOverrides:sa,checkAndUpdateView:pa,checkNoChangesView:da,destroyView:ha,createDebugContext:function(n,e){return new Ta(n,e)},handleEvent:ba,updateDirectives:_a,updateRenderer:wa}:{setCurrentNode:function(){},createRootView:Yu,createEmbeddedView:Iu,createComponentView:Mu,createNgModuleRef:Bs,overrideProvider:Oi,overrideComponentView:Oi,clearOverrides:Oi,checkAndUpdateView:Uu,checkNoChangesView:Ru,destroyView:Bu,createDebugContext:function(n,e){return new Ta(n,e)},handleEvent:function(n,e,t,l){return n.def.handleEvent(n,e,t,l)},updateDirectives:function(n,e){return n.def.updateDirectives(0===e?aa:ca,n)},updateRenderer:function(n,e){return n.def.updateRenderer(0===e?aa:ca,n)}};Ei.setCurrentNode=n.setCurrentNode,Ei.createRootView=n.createRootView,Ei.createEmbeddedView=n.createEmbeddedView,Ei.createComponentView=n.createComponentView,Ei.createNgModuleRef=n.createNgModuleRef,Ei.overrideProvider=n.overrideProvider,Ei.overrideComponentView=n.overrideComponentView,Ei.clearOverrides=n.clearOverrides,Ei.checkAndUpdateView=n.checkAndUpdateView,Ei.checkNoChangesView=n.checkNoChangesView,Ei.destroyView=n.destroyView,Ei.resolveDep=au,Ei.createDebugContext=n.createDebugContext,Ei.handleEvent=n.handleEvent,Ei.updateDirectives=n.updateDirectives,Ei.updateRenderer=n.updateRenderer,Ei.dirtyParentQueries=mu}}();var e=function(n){var e=Array.from(n.providers),t=Array.from(n.modules),l={};for(var r in n.providersByKey)l[r]=n.providersByKey[r];return{factory:n.factory,isRoot:n.isRoot,providers:e,modules:t,providersByKey:l}}($i(this._ngModuleDefFactory));return Ei.createNgModuleRef(this.moduleType,n||ul.NULL,this._bootstrapComponents,e)},e}(Ql),La=Element.prototype,Da=La.matches||La.matchesSelector||La.mozMatchesSelector||La.msMatchesSelector||La.oMatchesSelector||La.webkitMatchesSelector,Ra={schedule:function(n,e){var t=setTimeout(n,e);return function(){return clearTimeout(t)}},scheduleBeforeRender:function(n){if("undefined"==typeof window)return Ra.schedule(n,0);if(void 0===window.requestAnimationFrame)return Ra.schedule(n,16);var e=window.requestAnimationFrame(n);return function(){return window.cancelAnimationFrame(e)}}};function Ua(n,e,t){var l=t;return function(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some(function(e,t){return!("*"===e||!function(e,t){return Da.call(n,t)}(0,e)||(l=t,0))}),l}var ja=function(){function n(n,e){this.component=n,this.injector=e,this.componentFactory=e.get(Fl).resolveComponentFactory(n)}return n.prototype.create=function(n){return new Va(this.componentFactory,n)},n}(),Va=function(){function n(n,e){this.componentFactory=n,this.injector=e,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.uninitializedInputs=new Set}return n.prototype.connect=function(n){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);this.componentRef||this.initializeComponent(n)},n.prototype.disconnect=function(){var n=this;this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Ra.schedule(function(){n.componentRef&&(n.componentRef.destroy(),n.componentRef=null)},10))},n.prototype.getInputValue=function(n){return this.componentRef?this.componentRef.instance[n]:this.initialInputValues.get(n)},n.prototype.setInputValue=function(n,e){var t,l;(t=e)===(l=this.getInputValue(n))||t!=t&&l!=l||(this.componentRef?(this.recordInputChange(n,e),this.componentRef.instance[n]=e,this.scheduleDetectChanges()):this.initialInputValues.set(n,e))},n.prototype.initializeComponent=function(n){var e=ul.create({providers:[],parent:this.injector}),t=function(e,t){var l=n.childNodes,r=t.map(function(){return[]}),o=-1;t.some(function(n,e){return"*"===n&&(o=e,!0)});for(var i=0,s=l.length;i<s;++i){var u=l[i],a=Ua(u,t,o);-1!==a&&r[a].push(u)}return r}(0,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,t,n),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(Ro).attachView(this.componentRef.hostView)},n.prototype.initializeInputs=function(){var n=this;this.componentFactory.inputs.forEach(function(e){var t=e.propName,l=n.initialInputValues.get(t);l?n.setInputValue(t,l):n.uninitializedInputs.add(t)}),this.initialInputValues.clear()},n.prototype.initializeOutputs=function(){var n=this,e=this.componentFactory.outputs.map(function(e){var t=e.templateName;return n.componentRef.instance[e.propName].pipe(J(function(n){return{name:t,value:n}}))});this.events=sn.apply(void 0,c(e))},n.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var n=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(n)}},n.prototype.scheduleDetectChanges=function(){var n=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ra.scheduleBeforeRender(function(){n.scheduledChangeDetectionFn=null,n.detectChanges()}))},n.prototype.recordInputChange=function(n,e){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var t=this.inputChanges[n];if(t)t.currentValue=e;else{var l=this.uninitializedInputs.has(n);this.uninitializedInputs.delete(n);var r=l?void 0:this.getInputValue(n);this.inputChanges[n]=new kt(r,e,l)}}},n.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},n}(),Fa=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.ngElementEventsSubscription=null,e}return r(e,n),e}(HTMLElement);function Ha(n,e){var t=function(n,t){return e.injector.get(Fl).resolveComponentFactory(n).inputs}(n),l=e.strategyFactory||new ja(n,e.injector),o=function(n){var e={};return n.forEach(function(n){var t,l=n.propName;e[(t=n.templateName,t.replace(/[A-Z]/g,function(n){return"-"+n.toLowerCase()}))]=l}),e}(t),i=function(n){function t(t){var r=n.call(this)||this;return r.ngElementStrategy=l.create(t||e.injector),r}return r(t,n),t.prototype.attributeChangedCallback=function(n,t,r,i){this.ngElementStrategy||(this.ngElementStrategy=l.create(e.injector)),this.ngElementStrategy.setInputValue(o[n],r)},t.prototype.connectedCallback=function(){var n=this;this.ngElementStrategy||(this.ngElementStrategy=l.create(e.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(function(e){var t=function(e,t,l){if("function"!=typeof CustomEvent){var r=n.ownerDocument.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,l),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:l})}(0,e.name,e.value);n.dispatchEvent(t)})},t.prototype.disconnectedCallback=function(){this.ngElementStrategy&&this.ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)},t.observedAttributes=Object.keys(o),t}(Fa);return t.map(function(n){return n.propName}).forEach(function(n){Object.defineProperty(i.prototype,n,{get:function(){return this.ngElementStrategy.getInputValue(n)},set:function(e){this.ngElementStrategy.setInputValue(n,e)},configurable:!0,enumerable:!0})}),i}var Ba=function(){function n(){var n=this;this.onLoadingObserver=null,this.onLoading=new I(function(e){n.onLoadingObserver=e}),this.onCompleteObserver=null,this.onComplete=new I(function(e){n.onCompleteObserver=e})}return n.prototype.showLoader=function(){null!=this.onLoadingObserver&&this.onLoadingObserver.next(!0)},n.prototype.hideLoader=function(){null!=this.onCompleteObserver&&this.onCompleteObserver.next(!0)},n.ngInjectableDef=wn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),qa=function(){function n(n){this.loaderService=n,this.loadStatus="LOADING",this._window=window,this.spinner="OFF",this.uiHandlerConfig={}}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){if(this.message){var e=JSON.parse(this.message);this.uiHandlerConfig=e.uiHandlerConfig?JSON.parse(this._window.atob(e.uiHandlerConfig)):{};var t=document.getElementById("amtUishellContainerHeader");t&&null!=t&&(t.classList.remove("mars-signon_header-viewportcoverspace"),this.uiHandlerConfig&&this.uiHandlerConfig.viewPortCoverEnabled&&t.classList.add("mars-signon_header-viewportcoverspace"))}"ON"==this.spinner?this.loaderService.showLoader():"OFF"==this.spinner?this.loaderService.hideLoader():(this.loaderService.hideLoader(),this.loadStatus=""==this.session||null==this.session?"ERROR":"SUCCESS")},n}(),Qa=function(){function n(n,e){this.strategy=n,this.injector=e,this.ngZone=this.injector.get(bo)}return n.prototype.connect=function(n){var e=this;this.runInZone(function(){e.strategy.connect(n)}),this.events=this.strategy.events},n.prototype.disconnect=function(){var n=this;this.runInZone(function(){n.strategy.disconnect()})},n.prototype.getInputValue=function(n){var e=this;return this.runInZone(function(){return e.strategy.getInputValue(n)})},n.prototype.setInputValue=function(n,e){var t=this;this.runInZone(function(){t.strategy.setInputValue(n,e)})},n.prototype.runInZone=function(n){return this.ngZone.run(n)},n}(),za=function(){function n(n,e){this.component=n,this.injector=e,this.ngElement=Ha(this.component,{injector:this.injector}),customElements.define(this.generateName(),this.ngElement)}return n.prototype.string4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},n.prototype.generateName=function(){var e="dummy-name-n";return e=e+(n.counter+"")+"-"+this.string4()+this.string4()+this.string4()+"-"+this.string4()+this.string4()+"-"+this.string4(),n.counter++,e},n.prototype.create=function(n){var e=new this.ngElement(this.injector),t=e.ngElementStrategy;return e=null,new Qa(t,this.injector)},n.counter=1,n}(),Ka=function(){function n(n){var e=new za(qa,n),t=Ha(qa,{injector:n,strategyFactory:e});customElements.define("amt-ui-shell",t)}return n.prototype.ngDoBootstrap=function(){},n}(),Wa=new I(function(n){return n.complete()}),Ga=function(n){function e(e,t){var l=n.call(this,e)||this;l.sources=t,l.completed=0,l.haveValues=0;var r=t.length;l.values=new Array(r);for(var o=0;o<r;o++){var i=Z(l,t[o],null,o);i&&l.add(i)}return l}return r(e,n),e.prototype.notifyNext=function(n,e,t,l,r){this.values[t]=e,r._hasValue||(r._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(n){var e=this.destination,t=this.haveValues,l=this.values,r=l.length;n._hasValue?(this.completed++,this.completed===r&&(t===r&&e.next(l),e.complete())):e.complete()},e}(Y),Za=function(){return function(){}}(),Ya=void 0,Ja=["en",[["a","p"],["AM","PM"],Ya],[["AM","PM"],Ya,Ya],[["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"]],Ya,[["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"]],Ya,[["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}",Ya,"{1} 'at' {0}",Ya],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(n){var e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}],$a={},Xa=function(n){return n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other",n}({}),nc=new En("UseV4Plurals"),ec=function(){return function(){}}(),tc=function(n){function e(e,t){var l=n.call(this)||this;return l.locale=e,l.deprecatedPluralFn=t,l}return r(e,n),e.prototype.getPluralCategory=function(n,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,n):function(n){return function(n){var e=n.toLowerCase().replace(/_/g,"-"),t=$a[e];if(t)return t;var l=e.split("-")[0];if(t=$a[l])return t;if("en"===l)return Ja;throw new Error('Missing locale data for the locale "'+n+'".')}(n)[18]}(e||this.locale)(n)){case Xa.Zero:return"zero";case Xa.One:return"one";case Xa.Two:return"two";case Xa.Few:return"few";case Xa.Many:return"many";default:return"other"}},e}(ec);function lc(n,e){var t,l;e=encodeURIComponent(e);try{for(var r=u(n.split(";")),o=r.next();!o.done;o=r.next()){var i=o.value,s=i.indexOf("="),c=a(-1==s?[i,""]:[i.slice(0,s),i.slice(s+1)],2),p=c[1];if(c[0].trim()===e)return decodeURIComponent(p)}}catch(d){t={error:d}}finally{try{o&&!o.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return null}var rc=function(){function n(n,e,t,l){this._iterableDiffers=n,this._keyValueDiffers=e,this._ngEl=t,this._renderer=l,this._initialClasses=[]}return Object.defineProperty(n.prototype,"klass",{set:function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClass",{set:function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Et(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},n.prototype._applyKeyValueChanges=function(n){var e=this;n.forEachAddedItem(function(n){return e._toggleClass(n.key,n.currentValue)}),n.forEachChangedItem(function(n){return e._toggleClass(n.key,n.currentValue)}),n.forEachRemovedItem(function(n){n.previousValue&&e._toggleClass(n.key,!1)})},n.prototype._applyIterableChanges=function(n){var e=this;n.forEachAddedItem(function(n){if("string"!=typeof n.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Dn(n.item));e._toggleClass(n.item,!0)}),n.forEachRemovedItem(function(n){return e._toggleClass(n.item,!1)})},n.prototype._applyClasses=function(n){var e=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(n){return e._toggleClass(n,!0)}):Object.keys(n).forEach(function(t){return e._toggleClass(t,!!n[t])}))},n.prototype._removeClasses=function(n){var e=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(n){return e._toggleClass(n,!1)}):Object.keys(n).forEach(function(n){return e._toggleClass(n,!1)}))},n.prototype._toggleClass=function(n,e){var t=this;(n=n.trim())&&n.split(/\s+/g).forEach(function(n){e?t._renderer.addClass(t._ngEl.nativeElement,n):t._renderer.removeClass(t._ngEl.nativeElement,n)})},n}(),oc=function(){function n(n,e,t,l){this.$implicit=n,this.ngForOf=e,this.index=t,this.count=l}return Object.defineProperty(n.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),n}(),ic=function(){function n(n,e,t){this._viewContainer=n,this._template=e,this._differs=t,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(n.prototype,"ngForOf",{set:function(n){this._ngForOf=n,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(n){pr()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTemplate",{set:function(n){n&&(this._template=n)},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(l){throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}},n.prototype._applyChanges=function(n){var e=this,t=[];n.forEachOperation(function(n,l,r){if(null==n.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new oc(null,e._ngForOf,-1,-1),r),i=new sc(n,o);t.push(i)}else null==r?e._viewContainer.remove(l):(o=e._viewContainer.get(l),e._viewContainer.move(o,r),i=new sc(n,o),t.push(i))});for(var l=0;l<t.length;l++)this._perViewChange(t[l].view,t[l].record);l=0;for(var r=this._viewContainer.length;l<r;l++){var o=this._viewContainer.get(l);o.context.index=l,o.context.count=r,o.context.ngForOf=this._ngForOf}n.forEachIdentityChange(function(n){e._viewContainer.get(n.currentIndex).context.$implicit=n.item})},n.prototype._perViewChange=function(n,e){n.context.$implicit=e.item},n.ngTemplateContextGuard=function(n,e){return!0},n}(),sc=function(){return function(n,e){this.record=n,this.view=e}}(),uc=function(){function n(n,e){this._viewContainer=n,this._context=new ac,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(n.prototype,"ngIf",{set:function(n){this._context.$implicit=this._context.ngIf=n,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfThen",{set:function(n){cc("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfElse",{set:function(n){cc("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),n.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},n.ngTemplateGuard_ngIf=function(n,e){return!0},n}(),ac=function(){return function(){this.$implicit=null,this.ngIf=null}}();function cc(n,e){if(e&&!e.createEmbeddedView)throw new Error(n+" must be a TemplateRef, but received '"+Dn(e)+"'.")}var pc=function(){function n(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}return n.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},n.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},n.prototype.enforceState=function(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()},n}(),dc=function(){function n(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(n.prototype,"ngSwitch",{set:function(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),n.prototype._addCase=function(){return this._caseCount++},n.prototype._addDefault=function(n){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(n)},n.prototype._matchCase=function(n){var e=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},n.prototype._updateDefaultCases=function(n){if(this._defaultViews&&n!==this._defaultUsed){this._defaultUsed=n;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(n)}},n}(),hc=function(){function n(n,e,t){this.ngSwitch=t,t._addCase(),this._view=new pc(n,e)}return n.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},n}(),fc=function(){function n(n){this.differs=n,this.keyValues=[]}return n.prototype.transform=function(n,e){var t=this;if(void 0===e&&(e=gc),!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());var l=this.differ.diff(n);return l&&(this.keyValues=[],l.forEachItem(function(n){t.keyValues.push({key:n.key,value:n.currentValue})}),this.keyValues.sort(e)),this.keyValues},n}();function gc(n,e){var t=n.key,l=e.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 t<l?-1:1;if("number"==typeof t&&"number"==typeof l)return t-l;if("boolean"==typeof t&&"boolean"==typeof l)return t<l?-1:1;var r=String(t),o=String(l);return r==o?0:r<o?-1:1}var mc=function(){return function(){}}(),yc=new En("DocumentToken"),vc="server",bc=null;function _c(){return bc}var wc,Cc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},kc={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ec={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};An.Node&&(wc=An.Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))});var Sc,Tc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.parse=function(n){throw new Error("parse not implemented")},e.makeCurrent=function(){var n;n=new e,bc||(bc=n)},e.prototype.hasProperty=function(n,e){return e in n},e.prototype.setProperty=function(n,e,t){n[e]=t},e.prototype.getProperty=function(n,e){return n[e]},e.prototype.invoke=function(n,e,t){var l;(l=n)[e].apply(l,c(t))},e.prototype.logError=function(n){window.console&&(console.error?console.error(n):console.log(n))},e.prototype.log=function(n){window.console&&window.console.log&&window.console.log(n)},e.prototype.logGroup=function(n){window.console&&window.console.group&&window.console.group(n)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Cc},enumerable:!0,configurable:!0}),e.prototype.contains=function(n,e){return wc.call(n,e)},e.prototype.querySelector=function(n,e){return n.querySelector(e)},e.prototype.querySelectorAll=function(n,e){return n.querySelectorAll(e)},e.prototype.on=function(n,e,t){n.addEventListener(e,t,!1)},e.prototype.onAndCancel=function(n,e,t){return n.addEventListener(e,t,!1),function(){n.removeEventListener(e,t,!1)}},e.prototype.dispatchEvent=function(n,e){n.dispatchEvent(e)},e.prototype.createMouseEvent=function(n){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(n,!0,!0),e},e.prototype.createEvent=function(n){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(n,!0,!0),e},e.prototype.preventDefault=function(n){n.preventDefault(),n.returnValue=!1},e.prototype.isPrevented=function(n){return n.defaultPrevented||null!=n.returnValue&&!n.returnValue},e.prototype.getInnerHTML=function(n){return n.innerHTML},e.prototype.getTemplateContent=function(n){return"content"in n&&this.isTemplateElement(n)?n.content:null},e.prototype.getOuterHTML=function(n){return n.outerHTML},e.prototype.nodeName=function(n){return n.nodeName},e.prototype.nodeValue=function(n){return n.nodeValue},e.prototype.type=function(n){return n.type},e.prototype.content=function(n){return this.hasProperty(n,"content")?n.content:n},e.prototype.firstChild=function(n){return n.firstChild},e.prototype.nextSibling=function(n){return n.nextSibling},e.prototype.parentElement=function(n){return n.parentNode},e.prototype.childNodes=function(n){return n.childNodes},e.prototype.childNodesAsList=function(n){for(var e=n.childNodes,t=new Array(e.length),l=0;l<e.length;l++)t[l]=e[l];return t},e.prototype.clearNodes=function(n){for(;n.firstChild;)n.removeChild(n.firstChild)},e.prototype.appendChild=function(n,e){n.appendChild(e)},e.prototype.removeChild=function(n,e){n.removeChild(e)},e.prototype.replaceChild=function(n,e,t){n.replaceChild(e,t)},e.prototype.remove=function(n){return n.parentNode&&n.parentNode.removeChild(n),n},e.prototype.insertBefore=function(n,e,t){n.insertBefore(t,e)},e.prototype.insertAllBefore=function(n,e,t){t.forEach(function(t){return n.insertBefore(t,e)})},e.prototype.insertAfter=function(n,e,t){n.insertBefore(t,e.nextSibling)},e.prototype.setInnerHTML=function(n,e){n.innerHTML=e},e.prototype.getText=function(n){return n.textContent},e.prototype.setText=function(n,e){n.textContent=e},e.prototype.getValue=function(n){return n.value},e.prototype.setValue=function(n,e){n.value=e},e.prototype.getChecked=function(n){return n.checked},e.prototype.setChecked=function(n,e){n.checked=e},e.prototype.createComment=function(n){return this.getDefaultDocument().createComment(n)},e.prototype.createTemplate=function(n){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=n,e},e.prototype.createElement=function(n,e){return(e=e||this.getDefaultDocument()).createElement(n)},e.prototype.createElementNS=function(n,e,t){return(t=t||this.getDefaultDocument()).createElementNS(n,e)},e.prototype.createTextNode=function(n,e){return(e=e||this.getDefaultDocument()).createTextNode(n)},e.prototype.createScriptTag=function(n,e,t){var l=(t=t||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(n,e),l},e.prototype.createStyleElement=function(n,e){var t=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(t,this.createTextNode(n,e)),t},e.prototype.createShadowRoot=function(n){return n.createShadowRoot()},e.prototype.getShadowRoot=function(n){return n.shadowRoot},e.prototype.getHost=function(n){return n.host},e.prototype.clone=function(n){return n.cloneNode(!0)},e.prototype.getElementsByClassName=function(n,e){return n.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(n,e){return n.getElementsByTagName(e)},e.prototype.classList=function(n){return Array.prototype.slice.call(n.classList,0)},e.prototype.addClass=function(n,e){n.classList.add(e)},e.prototype.removeClass=function(n,e){n.classList.remove(e)},e.prototype.hasClass=function(n,e){return n.classList.contains(e)},e.prototype.setStyle=function(n,e,t){n.style[e]=t},e.prototype.removeStyle=function(n,e){n.style[e]=""},e.prototype.getStyle=function(n,e){return n.style[e]},e.prototype.hasStyle=function(n,e,t){var l=this.getStyle(n,e)||"";return t?l==t:l.length>0},e.prototype.tagName=function(n){return n.tagName},e.prototype.attributeMap=function(n){for(var e=new Map,t=n.attributes,l=0;l<t.length;l++){var r=t.item(l);e.set(r.name,r.value)}return e},e.prototype.hasAttribute=function(n,e){return n.hasAttribute(e)},e.prototype.hasAttributeNS=function(n,e,t){return n.hasAttributeNS(e,t)},e.prototype.getAttribute=function(n,e){return n.getAttribute(e)},e.prototype.getAttributeNS=function(n,e,t){return n.getAttributeNS(e,t)},e.prototype.setAttribute=function(n,e,t){n.setAttribute(e,t)},e.prototype.setAttributeNS=function(n,e,t,l){n.setAttributeNS(e,t,l)},e.prototype.removeAttribute=function(n,e){n.removeAttribute(e)},e.prototype.removeAttributeNS=function(n,e,t){n.removeAttributeNS(e,t)},e.prototype.templateAwareRoot=function(n){return this.isTemplateElement(n)?this.content(n):n},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(n){try{return n.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(n){return n.title},e.prototype.setTitle=function(n,e){n.title=e||""},e.prototype.elementMatches=function(n,e){return!!this.isElementNode(n)&&(n.matches&&n.matches(e)||n.msMatchesSelector&&n.msMatchesSelector(e)||n.webkitMatchesSelector&&n.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(n){return this.isElementNode(n)&&"TEMPLATE"===n.nodeName},e.prototype.isTextNode=function(n){return n.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(n){return n.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(n){return n.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(n){return null!=n.shadowRoot&&n instanceof HTMLElement},e.prototype.isShadowRoot=function(n){return n instanceof DocumentFragment},e.prototype.importIntoDoc=function(n){return document.importNode(this.templateAwareRoot(n),!0)},e.prototype.adoptNode=function(n){return document.adoptNode(n)},e.prototype.getHref=function(n){return n.getAttribute("href")},e.prototype.getEventKey=function(n){var e=n.key;if(null==e){if(null==(e=n.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&Ec.hasOwnProperty(e)&&(e=Ec[e]))}return kc[e]||e},e.prototype.getGlobalEventTarget=function(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(n){var e,t=xc||(xc=document.querySelector("base"))?xc.getAttribute("href"):null;return null==t?null:(e=t,Sc||(Sc=document.createElement("a")),Sc.setAttribute("href",e),"/"===Sc.pathname.charAt(0)?Sc.pathname:"/"+Sc.pathname)},e.prototype.resetBaseElement=function(){xc=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(n,e,t){this.setAttribute(n,"data-"+e,t)},e.prototype.getData=function(n,e){return this.getAttribute(n,"data-"+e)},e.prototype.getComputedStyle=function(n){return getComputedStyle(n)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(n){return lc(document.cookie,n)},e.prototype.setCookie=function(n,e){document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(e)},e}(function(n){function e(){var e=n.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var t=e.createElement("div",document);if(null!=e.getStyle(t,"animationName"))e._animationPrefix="";else for(var l=["Webkit","Moz","O","ms"],r=0;r<l.length;r++)if(null!=e.getStyle(t,l[r]+"AnimationName")){e._animationPrefix="-"+l[r].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(n){null!=e.getStyle(t,n)&&(e._transitionEnd=o[n])})}catch(i){e._animationPrefix=null,e._transitionEnd=null}return e}return r(e,n),e.prototype.getDistributedNodes=function(n){return n.getDistributedNodes()},e.prototype.resolveAndSetHref=function(n,e,t){n.href=null==t?e:e+"/../"+t},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function n(){this.resourceLoaderType=null}return Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(n){this._attrToPropMap=n},enumerable:!0,configurable:!0}),n}())),xc=null,Oc=yc;function Ac(){return!!window.history.pushState}var Ic=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._init(),t}var t;return r(e,n),e.prototype._init=function(){this.location=_c().getLocation(),this._history=_c().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return _c().getBaseHref(this._doc)},e.prototype.onPopState=function(n){_c().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",n,!1)},e.prototype.onHashChange=function(n){_c().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",n,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(n){this.location.pathname=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(n,e,t){Ac()?this._history.pushState(n,e,t):this.location.hash=t},e.prototype.replaceState=function(n,e,t){Ac()?this._history.replaceState(n,e,t):this.location.hash=t},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},i([(t=Oe(Oc),function(n,e){t(n,e,0)}),s("design:paramtypes",[Object])],e)}(Za),Pc=new En("TRANSITION_ID"),Mc=[{provide:Zr,useFactory:function(n,e,t){return function(){t.get(Yr).donePromise.then(function(){var t=_c();Array.prototype.slice.apply(t.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return t.getAttribute(e,"ng-transition")===n}).forEach(function(n){return t.remove(n)})})}},deps:[Pc,Oc,ul],multi:!0}],Nc=function(){function n(){}return n.init=function(){var e;e=new n,Ao=e},n.prototype.addToWindow=function(n){An.getAngularTestability=function(e,t){void 0===t&&(t=!0);var l=n.findTestabilityInTree(e,t);if(null==l)throw new Error("Could not find testability for element.");return l},An.getAllAngularTestabilities=function(){return n.getAllTestabilities()},An.getAllAngularRootElements=function(){return n.getAllRootElements()},An.frameworkStabilizers||(An.frameworkStabilizers=[]),An.frameworkStabilizers.push(function(n){var e=An.getAllAngularTestabilities(),t=e.length,l=!1,r=function(e){l=l||e,0==--t&&n(l)};e.forEach(function(n){n.whenStable(r)})})},n.prototype.findTestabilityInTree=function(n,e,t){if(null==e)return null;var l=n.getTestability(e);return null!=l?l:t?_c().isShadowRoot(e)?this.findTestabilityInTree(n,_c().getHost(e),!0):this.findTestabilityInTree(n,_c().parentElement(e),!0):null},n}();function Lc(n,e){"undefined"!=typeof COMPILED&&COMPILED||((An.ng=An.ng||{})[n]=e)}var Dc={ApplicationRef:Ro,NgZone:bo};function Rc(n){return Go(n)}var Uc=new En("EventManagerPlugins"),jc=function(){function n(n,e){var t=this;this._zone=e,this._eventNameToPlugin=new Map,n.forEach(function(n){return n.manager=t}),this._plugins=n.slice().reverse()}return n.prototype.addEventListener=function(n,e,t){return this._findPluginFor(e).addEventListener(n,e,t)},n.prototype.addGlobalEventListener=function(n,e,t){return this._findPluginFor(e).addGlobalEventListener(n,e,t)},n.prototype.getZone=function(){return this._zone},n.prototype._findPluginFor=function(n){var e=this._eventNameToPlugin.get(n);if(e)return e;for(var t=this._plugins,l=0;l<t.length;l++){var r=t[l];if(r.supports(n))return this._eventNameToPlugin.set(n,r),r}throw new Error("No event manager plugin found for event "+n)},n}(),Vc=function(){function n(n){this._doc=n}return n.prototype.addGlobalEventListener=function(n,e,t){var l=_c().getGlobalEventTarget(this._doc,n);if(!l)throw new Error("Unsupported event target "+l+" for event "+e);return this.addEventListener(l,e,t)},n}(),Fc=function(){function n(){this._stylesSet=new Set}return n.prototype.addStyles=function(n){var e=this,t=new Set;n.forEach(function(n){e._stylesSet.has(n)||(e._stylesSet.add(n),t.add(n))}),this.onStylesAdded(t)},n.prototype.onStylesAdded=function(n){},n.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},n}(),Hc=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._hostNodes=new Set,t._styleNodes=new Set,t._hostNodes.add(e.head),t}return r(e,n),e.prototype._addStylesToHost=function(n,e){var t=this;n.forEach(function(n){var l=t._doc.createElement("style");l.textContent=n,t._styleNodes.add(e.appendChild(l))})},e.prototype.addHost=function(n){this._addStylesToHost(this._stylesSet,n),this._hostNodes.add(n)},e.prototype.removeHost=function(n){this._hostNodes.delete(n)},e.prototype.onStylesAdded=function(n){var e=this;this._hostNodes.forEach(function(t){return e._addStylesToHost(n,t)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(n){return _c().remove(n)})},e}(Fc),Bc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},qc=/%COMP%/g,Qc="_nghost-%COMP%",zc="_ngcontent-%COMP%";function Kc(n,e,t){for(var l=0;l<e.length;l++){var r=e[l];Array.isArray(r)?Kc(n,r,t):(r=r.replace(qc,n),t.push(r))}return t}function Wc(n){return function(e){!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}var Gc=function(){function n(n,e,t){this.eventManager=n,this.sharedStylesHost=e,this.appId=t,this.rendererByCompId=new Map,this.defaultRenderer=new Zc(n)}return n.prototype.createRenderer=function(n,e){if(!n||!e)return this.defaultRenderer;switch(e.encapsulation){case Vn.Emulated:var t=this.rendererByCompId.get(e.id);return t||(t=new Xc(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,t)),t.applyToHost(n),t;case Vn.Native:case Vn.ShadowDom:return new np(this.eventManager,this.sharedStylesHost,n,e);default:if(!this.rendererByCompId.has(e.id)){var l=Kc(e.id,e.styles,[]);this.sharedStylesHost.addStyles(l),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},n.prototype.begin=function(){},n.prototype.end=function(){},n}(),Zc=function(){function n(n){this.eventManager=n,this.data=Object.create(null)}return n.prototype.destroy=function(){},n.prototype.createElement=function(n,e){return e?document.createElementNS(Bc[e],n):document.createElement(n)},n.prototype.createComment=function(n){return document.createComment(n)},n.prototype.createText=function(n){return document.createTextNode(n)},n.prototype.appendChild=function(n,e){n.appendChild(e)},n.prototype.insertBefore=function(n,e,t){n&&n.insertBefore(e,t)},n.prototype.removeChild=function(n,e){n&&n.removeChild(e)},n.prototype.selectRootElement=function(n,e){var t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error('The selector "'+n+'" did not match any elements');return e||(t.textContent=""),t},n.prototype.parentNode=function(n){return n.parentNode},n.prototype.nextSibling=function(n){return n.nextSibling},n.prototype.setAttribute=function(n,e,t,l){if(l){e=l+":"+e;var r=Bc[l];r?n.setAttributeNS(r,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)},n.prototype.removeAttribute=function(n,e,t){if(t){var l=Bc[t];l?n.removeAttributeNS(l,e):n.removeAttribute(t+":"+e)}else n.removeAttribute(e)},n.prototype.addClass=function(n,e){n.classList.add(e)},n.prototype.removeClass=function(n,e){n.classList.remove(e)},n.prototype.setStyle=function(n,e,t,l){l&Yl.DashCase?n.style.setProperty(e,t,l&Yl.Important?"important":""):n.style[e]=t},n.prototype.removeStyle=function(n,e,t){t&Yl.DashCase?n.style.removeProperty(e):n.style[e]=""},n.prototype.setProperty=function(n,e,t){Jc(e,"property"),n[e]=t},n.prototype.setValue=function(n,e){n.nodeValue=e},n.prototype.listen=function(n,e,t){return Jc(e,"listener"),"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,Wc(t)):this.eventManager.addEventListener(n,e,Wc(t))},n}(),Yc="@".charCodeAt(0);function Jc(n,e){if(n.charCodeAt(0)===Yc)throw new Error("Found the synthetic "+e+" "+n+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var $c,Xc=function(n){function e(e,t,l,r){var o=n.call(this,e)||this;o.component=l;var i=Kc(r+"-"+l.id,l.styles,[]);return t.addStyles(i),o.contentAttr=zc.replace(qc,r+"-"+l.id),o.hostAttr=Qc.replace(qc,r+"-"+l.id),o}return r(e,n),e.prototype.applyToHost=function(e){n.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,t){var l=n.prototype.createElement.call(this,e,t);return n.prototype.setAttribute.call(this,l,this.contentAttr,""),l},e}(Zc),np=function(n){function e(e,t,l,r){var o=n.call(this,e)||this;o.sharedStylesHost=t,o.hostEl=l,o.component=r,o.shadowRoot=r.encapsulation===Vn.ShadowDom?l.attachShadow({mode:"open"}):l.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var i=Kc(r.id,r.styles,[]),s=0;s<i.length;s++){var u=document.createElement("style");u.textContent=i[s],o.shadowRoot.appendChild(u)}return o}return r(e,n),e.prototype.nodeOrShadowRoot=function(n){return n===this.hostEl?this.shadowRoot:n},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,t){return n.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.insertBefore=function(e,t,l){return n.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),t,l)},e.prototype.removeChild=function(e,t){return n.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(n.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(Zc),ep="undefined"!=typeof Zone&&Zone.__symbol__||function(n){return"__zone_symbol__"+n},tp=ep("addEventListener"),lp=ep("removeEventListener"),rp={},op="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[ep("BLACK_LISTED_EVENTS")]&&($c={});var ip=function(n){return!!$c&&$c.hasOwnProperty(n)},sp=function(n){var e=rp[n.type];if(e){var t=this[e];if(t){var l=[n];if(1===t.length)return(i=t[0]).zone!==Zone.current?i.zone.run(i.handler,this,l):i.handler.apply(this,l);for(var r=t.slice(),o=0;o<r.length&&!0!==n[op];o++){var i;(i=r[o]).zone!==Zone.current?i.zone.run(i.handler,this,l):i.handler.apply(this,l)}}}},up=function(n){function e(e,t,l){var r=n.call(this,e)||this;return r.ngZone=t,l&&function(n){return n===vc}(l)||r.patchEvent(),r}return r(e,n),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var n=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[op]=!0),n&&n.apply(this,arguments)}}},e.prototype.supports=function(n){return!0},e.prototype.addEventListener=function(n,e,t){var l=this,r=t;if(!n[tp]||bo.isInAngularZone()&&!ip(e))n.addEventListener(e,r,!1);else{var o=rp[e];o||(o=rp[e]=ep("ANGULAR"+e+"FALSE"));var i=n[o],s=i&&i.length>0;i||(i=n[o]=[]);var u=ip(e)?Zone.root:Zone.current;if(0===i.length)i.push({zone:u,handler:r});else{for(var a=!1,c=0;c<i.length;c++)if(i[c].handler===r){a=!0;break}a||i.push({zone:u,handler:r})}s||n[tp](e,sp,!1)}return function(){return l.removeEventListener(n,e,r)}},e.prototype.removeEventListener=function(n,e,t){var l=n[lp];if(!l)return n.removeEventListener.apply(n,[e,t,!1]);var r=rp[e],o=r&&n[r];if(!o)return n.removeEventListener.apply(n,[e,t,!1]);for(var i=!1,s=0;s<o.length;s++)if(o[s].handler===t){i=!0,o.splice(s,1);break}i?0===o.length&&l.apply(n,[e,sp,!1]):n.removeEventListener.apply(n,[e,t,!1])},e}(Vc),ap={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},cp=new En("HammerGestureConfig"),pp=new En("HammerLoader"),dp=function(){function n(){this.events=[],this.overrides={}}return n.prototype.buildHammer=function(n){var e=new Hammer(n,this.options);for(var t in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(t).set(this.overrides[t]);return e},n}(),hp=function(n){function e(e,t,l,r){var o=n.call(this,e)||this;return o._config=t,o.console=l,o.loader=r,o}return r(e,n),e.prototype.supports=function(n){return!(!ap.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+n+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(n,e,t){var l=this,r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var o=!1,i=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return l.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=function(){});o||(i=l.addEventListener(n,e,t))}).catch(function(){l.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),i=function(){}}),function(){i()}}return r.runOutsideAngular(function(){var o=l._config.buildHammer(n),i=function(n){r.runGuarded(function(){t(n)})};return o.on(e,i),function(){o.off(e,i),"function"==typeof o.destroy&&o.destroy()}})},e.prototype.isCustomEvent=function(n){return this._config.events.indexOf(n)>-1},e}(Vc),fp=["alt","control","meta","shift"],gp={alt:function(n){return n.altKey},control:function(n){return n.ctrlKey},meta:function(n){return n.metaKey},shift:function(n){return n.shiftKey}},mp=function(n){function e(e){return n.call(this,e)||this}var t;return r(e,n),t=e,e.prototype.supports=function(n){return null!=t.parseEventName(n)},e.prototype.addEventListener=function(n,e,l){var r=t.parseEventName(e),o=t.eventCallback(r.fullKey,l,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return _c().onAndCancel(n,r.domEventName,o)})},e.parseEventName=function(n){var e=n.toLowerCase().split("."),l=e.shift();if(0===e.length||"keydown"!==l&&"keyup"!==l)return null;var r=t._normalizeKey(e.pop()),o="";if(fp.forEach(function(n){var t=e.indexOf(n);t>-1&&(e.splice(t,1),o+=n+".")}),o+=r,0!=e.length||0===r.length)return null;var i={};return i.domEventName=l,i.fullKey=o,i},e.getEventFullKey=function(n){var e="",t=_c().getEventKey(n);return" "===(t=t.toLowerCase())?t="space":"."===t&&(t="dot"),fp.forEach(function(l){l!=t&&(0,gp[l])(n)&&(e+=l+".")}),e+=t},e.eventCallback=function(n,e,l){return function(r){t.getEventFullKey(r)===n&&l.runGuarded(function(){return e(r)})}},e._normalizeKey=function(n){switch(n){case"esc":return"escape";default:return n}},e}(Vc),yp=function(){return function(){}}(),vp=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t}return r(e,n),e.prototype.sanitize=function(n,e){if(null==e)return null;switch(n){case Xl.NONE:return e;case Xl.HTML:return e instanceof _p?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(n,e){var t=null;try{vr=vr||new dr(n);var l=e?String(e):"";t=vr.getInertBodyElement(l);var r=5,o=l;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,l=o,o=t.innerHTML,t=vr.getInertBodyElement(l)}while(l!==o);var i=new Or,s=i.sanitizeChildren(Mr(t)||t);return pr()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(t)for(var u=Mr(t)||t;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(e)));case Xl.STYLE:return e instanceof wp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(n){if(!(n=String(n).trim()))return"";var e=n.match(Vr);return e&&gr(e[1])===e[1]||n.match(jr)&&function(n){for(var e=!0,t=!0,l=0;l<n.length;l++){var r=n.charAt(l);"'"===r&&t?e=!e:'"'===r&&e&&(t=!t)}return e&&t}(n)?n:(pr()&&console.warn("WARNING: sanitizing unsafe style value "+n+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case Xl.SCRIPT:if(e instanceof Cp)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case Xl.URL:return e instanceof Ep||e instanceof kp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),gr(String(e)));case Xl.RESOURCE_URL:if(e instanceof Ep)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+n+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(n,e){if(n instanceof bp)throw new Error("Required a safe "+e+", got a "+n.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(n){return new _p(n)},e.prototype.bypassSecurityTrustStyle=function(n){return new wp(n)},e.prototype.bypassSecurityTrustScript=function(n){return new Cp(n)},e.prototype.bypassSecurityTrustUrl=function(n){return new kp(n)},e.prototype.bypassSecurityTrustResourceUrl=function(n){return new Ep(n)},e}(yp),bp=function(){function n(n){this.changingThisBreaksApplicationSecurity=n}return n.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},n}(),_p=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.getTypeName=function(){return"HTML"},e}(bp),wp=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.getTypeName=function(){return"Style"},e}(bp),Cp=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.getTypeName=function(){return"Script"},e}(bp),kp=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.getTypeName=function(){return"URL"},e}(bp),Ep=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.getTypeName=function(){return"ResourceURL"},e}(bp),Sp=Mo(pi,"browser",[{provide:eo,useValue:"browser"},{provide:no,useValue:function(){Tc.makeCurrent(),Nc.init()},multi:!0},{provide:Za,useClass:Ic,deps:[Oc]},{provide:Oc,useFactory:function(){return document},deps:[]}]);function Tp(){return new Kr}var xp=function(){function n(n){if(n)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 e;return e=n,n.withServerTransition=function(n){return{ngModule:e,providers:[{provide:Jr,useValue:n.appId},{provide:Pc,useExisting:Jr},Mc]}},n}();"undefined"!=typeof window&&window;var Op=function(){function n(){}return Object.defineProperty(n.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n.prototype.reset=function(n){void 0===n&&(n=void 0),this.control&&this.control.reset(n)},n.prototype.hasError=function(n,e){return!!this.control&&this.control.hasError(n,e)},n.prototype.getError=function(n,e){return this.control?this.control.getError(n,e):null},n}(),Ap=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Op);function Ip(n){return null==n||0===n.length}var Pp=new En("NgValidators"),Mp=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Np=function(){function n(){}return n.min=function(n){return function(e){if(Ip(e.value)||Ip(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}},n.max=function(n){return function(e){if(Ip(e.value)||Ip(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}},n.required=function(n){return Ip(n.value)?{required:!0}:null},n.requiredTrue=function(n){return!0===n.value?null:{required:!0}},n.email=function(n){return Ip(n.value)?null:Mp.test(n.value)?null:{email:!0}},n.minLength=function(n){return function(e){if(Ip(e.value))return null;var t=e.value?e.value.length:0;return t<n?{minlength:{requiredLength:n,actualLength:t}}:null}},n.maxLength=function(n){return function(e){var t=e.value?e.value.length:0;return t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}},n.pattern=function(e){return e?("string"==typeof e?(l="","^"!==e.charAt(0)&&(l+="^"),l+=e,"$"!==e.charAt(e.length-1)&&(l+="$"),t=new RegExp(l)):(l=e.toString(),t=e),function(n){if(Ip(n.value))return null;var e=n.value;return t.test(e)?null:{pattern:{requiredPattern:l,actualValue:e}}}):n.nullValidator;var t,l},n.nullValidator=function(n){return null},n.compose=function(n){if(!n)return null;var e=n.filter(Lp);return 0==e.length?null:function(n){return Rp(function(n,t){return e.map(function(e){return e(n)})}(n))}},n.composeAsync=function(n){if(!n)return null;var e=n.filter(Lp);return 0==e.length?null:function(n){return function n(){for(var e,t=[],l=0;l<arguments.length;l++)t[l]=arguments[l];return"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&p(t[0])&&(t=t[0]),0===t.length?Wa:e?n(t).pipe(J(function(n){return e.apply(void 0,n)})):new I(function(n){return new Ga(n,t)})}(function(n,t){return e.map(function(e){return e(n)})}(n).map(Dp)).pipe(J(Rp))}},n}();function Lp(n){return null!=n}function Dp(n){var e=Wr(n)?en(n):n;if(!Gr(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Rp(n){var e=n.reduce(function(n,e){return null!=e?o({},n,e):n},{});return 0===Object.keys(e).length?null:e}var Up=new En("NgValueAccessor"),jp=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"checked",n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),Vp=new En("CompositionEventMode"),Fp=function(){function n(n,e,t){var l;this._renderer=n,this._elementRef=e,this._compositionMode=t,this.onChange=function(n){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(l=_c()?_c().getUserAgent():"",!/android (\d+)/.test(l.toLowerCase())))}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._handleInput=function(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)},n.prototype._compositionStart=function(){this._composing=!0},n.prototype._compositionEnd=function(n){this._composing=!1,this._compositionMode&&this.onChange(n)},n}();function Hp(n){return n.validate?function(e){return n.validate(e)}:n}function Bp(n){return n.validate?function(e){return n.validate(e)}:n}var qp=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=function(e){n(""==e?null:parseFloat(e))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}();function Qp(){throw new Error("unimplemented")}var zp=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return r(e,n),Object.defineProperty(e.prototype,"validator",{get:function(){return Qp()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Qp()},enumerable:!0,configurable:!0}),e}(Op),Kp=function(){function n(){this._accessors=[]}return n.prototype.add=function(n,e){this._accessors.push([n,e])},n.prototype.remove=function(n){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===n)return void this._accessors.splice(e,1)},n.prototype.select=function(n){var e=this;this._accessors.forEach(function(t){e._isSameGroup(t,n)&&t[1]!==n&&t[1].fireUncheck(n.value)})},n.prototype._isSameGroup=function(n,e){return!!n[0].control&&n[0]._parent===e._control._parent&&n[1].name===e.name},n}(),Wp=function(){function n(n,e,t,l){this._renderer=n,this._elementRef=e,this._registry=t,this._injector=l,this.onChange=function(){},this.onTouched=function(){}}return n.prototype.ngOnInit=function(){this._control=this._injector.get(zp),this._checkName(),this._registry.add(this._control,this)},n.prototype.ngOnDestroy=function(){this._registry.remove(this)},n.prototype.writeValue=function(n){this._state=n===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},n.prototype.registerOnChange=function(n){var e=this;this._fn=n,this.onChange=function(){n(e.value),e._registry.select(e)}},n.prototype.fireUncheck=function(n){this.writeValue(n)},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},n.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: <input type="radio" formControlName="food" name="food">\n    ')},n}(),Gp='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',Zp='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';function Yp(n,e){return c(e.path,[n])}function Jp(n,e){n||Xp(e,"Cannot find control with"),e.valueAccessor||Xp(e,"No value accessor for form control with"),n.validator=Np.compose([n.validator,e.validator]),n.asyncValidator=Np.composeAsync([n.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(n.value),function(n,e){e.valueAccessor.registerOnChange(function(t){n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&$p(n,e)})}(n,e),function(n,e){n.registerOnChange(function(n,t){e.valueAccessor.writeValue(n),t&&e.viewToModelUpdate(n)})}(n,e),function(n,e){e.valueAccessor.registerOnTouched(function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&$p(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),e.valueAccessor.setDisabledState&&n.registerOnDisabledChange(function(n){e.valueAccessor.setDisabledState(n)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return n.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return n.updateValueAndValidity()})})}function $p(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Xp(n,e){var t;throw t=n.path.length>1?"path: '"+n.path.join(" -> ")+"'":n.path[0]?"name: '"+n.path+"'":"unspecified name attribute",new Error(e+" "+t)}function nd(n){return null!=n?Np.compose(n.map(Hp)):null}function ed(n){return null!=n?Np.composeAsync(n.map(Bp)):null}var td=[jp,function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(n))},n.prototype.registerOnChange=function(n){this.onChange=function(e){n(""==e?null:parseFloat(e))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),qp,function(){function n(n,e){this._renderer=n,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=Ln}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){this.value=n;var e=this._getOptionId(n);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var t=function(n,e){return null==n?""+e:(e&&"object"==typeof e&&(e="Object"),(n+": "+e).slice(0,50))}(e,n);this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},n.prototype.registerOnChange=function(n){var e=this;this.onChange=function(t){e.value=e._getOptionValue(t),n(e.value)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(){return(this._idCounter++).toString()},n.prototype._getOptionId=function(n){var e,t;try{for(var l=u(Array.from(this._optionMap.keys())),r=l.next();!r.done;r=l.next()){var o=r.value;if(this._compareWith(this._optionMap.get(o),n))return o}}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return null},n.prototype._getOptionValue=function(n){var e=function(n){return n.split(":")[0]}(n);return this._optionMap.has(e)?this._optionMap.get(e):n},n}(),function(){function n(n,e){this._renderer=n,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=Ln}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){var e,t=this;if(this.value=n,Array.isArray(n)){var l=n.map(function(n){return t._getOptionId(n)});e=function(n,e){n._setSelected(l.indexOf(e.toString())>-1)}}else e=function(n,e){n._setSelected(!1)};this._optionMap.forEach(e)},n.prototype.registerOnChange=function(n){var e=this;this.onChange=function(t){var l=[];if(t.hasOwnProperty("selectedOptions"))for(var r=t.selectedOptions,o=0;o<r.length;o++){var i=r.item(o),s=e._getOptionValue(i.value);l.push(s)}else for(r=t.options,o=0;o<r.length;o++)(i=r.item(o)).selected&&(s=e._getOptionValue(i.value),l.push(s));e.value=l,n(l)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(n){var e=(this._idCounter++).toString();return this._optionMap.set(e,n),e},n.prototype._getOptionId=function(n){var e,t;try{for(var l=u(Array.from(this._optionMap.keys())),r=l.next();!r.done;r=l.next()){var o=r.value;if(this._compareWith(this._optionMap.get(o)._value,n))return o}}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return null},n.prototype._getOptionValue=function(n){var e=function(n){return n.split(":")[0]}(n);return this._optionMap.has(e)?this._optionMap.get(e)._value:n},n}(),Wp],ld=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return Yp(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return nd(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return ed(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Ap),rd=function(n){function e(e){return n.call(this,e)||this}return r(e,n),e}(function(){function n(n){this._cd=n}return Object.defineProperty(n.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),n}());function od(n){var e=sd(n)?n.validators:n;return Array.isArray(e)?nd(e):e||null}function id(n,e){var t=sd(e)?e.asyncValidators:n;return Array.isArray(t)?ed(t):t||null}function sd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var ud=function(){function n(n,e){this.validator=n,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),n.prototype.setValidators=function(n){this.validator=od(n)},n.prototype.setAsyncValidators=function(n){this.asyncValidator=id(n)},n.prototype.clearValidators=function(){this.validator=null},n.prototype.clearAsyncValidators=function(){this.asyncValidator=null},n.prototype.markAsTouched=function(n){void 0===n&&(n={}),this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)},n.prototype.markAsUntouched=function(n){void 0===n&&(n={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(n){n.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype.markAsDirty=function(n){void 0===n&&(n={}),this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)},n.prototype.markAsPristine=function(n){void 0===n&&(n={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(n){n.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype.markAsPending=function(n){void 0===n&&(n={}),this.status="PENDING",!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)},n.prototype.disable=function(n){void 0===n&&(n={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(o({},n,{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(n),this._onDisabledChange.forEach(function(n){return n(!0)})},n.prototype.enable=function(n){void 0===n&&(n={}),this.status="VALID",this._forEachChild(function(e){e.enable(o({},n,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(n),this._onDisabledChange.forEach(function(n){return n(!1)})},n.prototype._updateAncestors=function(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),this._parent._updatePristine(),this._parent._updateTouched())},n.prototype.setParent=function(n){this._parent=n},n.prototype.updateValueAndValidity=function(n){void 0===n&&(n={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)},n.prototype._updateTreeValidity=function(n){void 0===n&&(n={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(n)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})},n.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},n.prototype._runValidator=function(){return this.validator?this.validator(this):null},n.prototype._runAsyncValidator=function(n){var e=this;if(this.asyncValidator){this.status="PENDING";var t=Dp(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(function(t){return e.setErrors(t,{emitEvent:n})})}},n.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},n.prototype.setErrors=function(n,e){void 0===e&&(e={}),this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)},n.prototype.get=function(n){return function(n,e,t){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(n,e){return n instanceof cd?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof pd&&n.at(e)||null},n))}(this,n)},n.prototype.getError=function(n,e){var t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null},n.prototype.hasError=function(n,e){return!!this.getError(n,e)},Object.defineProperty(n.prototype,"root",{get:function(){for(var n=this;n._parent;)n=n._parent;return n},enumerable:!0,configurable:!0}),n.prototype._updateControlsErrors=function(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)},n.prototype._initObservables=function(){this.valueChanges=new Dr,this.statusChanges=new Dr},n.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},n.prototype._anyControlsHaveStatus=function(n){return this._anyControls(function(e){return e.status===n})},n.prototype._anyControlsDirty=function(){return this._anyControls(function(n){return n.dirty})},n.prototype._anyControlsTouched=function(){return this._anyControls(function(n){return n.touched})},n.prototype._updatePristine=function(n){void 0===n&&(n={}),this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype._updateTouched=function(n){void 0===n&&(n={}),this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype._isBoxedValue=function(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n},n.prototype._registerOnCollectionChange=function(n){this._onCollectionChange=n},n.prototype._setUpdateStrategy=function(n){sd(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)},n}(),ad=function(n){function e(e,t,l){void 0===e&&(e=null);var r=n.call(this,od(t),id(l,t))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(t),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return r(e,n),e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(n){return n(t.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){void 0===e&&(e={}),this.setValue(n,e)},e.prototype.reset=function(n,e){void 0===n&&(n=null),void 0===e&&(e={}),this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(n){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(n){this._onChange.push(n)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(n){this._onDisabledChange.push(n)},e.prototype._forEachChild=function(n){},e.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))},e.prototype._applyFormState=function(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n},e}(ud),cd=function(n){function e(e,t,l){var r=n.call(this,od(t),id(l,t))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(t),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(e,n),e.prototype.registerControl=function(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(n,e){this.registerControl(n,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),delete this.controls[n],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(n,e){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled},e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this._checkAllValuesPresent(n),Object.keys(n).forEach(function(l){t._throwIfControlMissing(l),t.controls[l].setValue(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){var t=this;void 0===e&&(e={}),Object.keys(n).forEach(function(l){t.controls[l]&&t.controls[l].patchValue(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(n,e){void 0===n&&(n={}),void 0===e&&(e={}),this._forEachChild(function(t,l){t.reset(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(n,e,t){return n[t]=e instanceof ad?e.value:e.getRawValue(),n})},e.prototype._syncPendingControls=function(){var n=this._reduceChildren(!1,function(n,e){return!!e._syncPendingControls()||n});return n&&this.updateValueAndValidity({onlySelf:!0}),n},e.prototype._throwIfControlMissing=function(n){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[n])throw new Error("Cannot find form control with name: "+n+".")},e.prototype._forEachChild=function(n){var e=this;Object.keys(this.controls).forEach(function(t){return n(e.controls[t],t)})},e.prototype._setUpControls=function(){var n=this;this._forEachChild(function(e){e.setParent(n),e._registerOnCollectionChange(n._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(n){var e=this,t=!1;return this._forEachChild(function(l,r){t=t||e.contains(r)&&n(l)}),t},e.prototype._reduceValue=function(){var n=this;return this._reduceChildren({},function(e,t,l){return(t.enabled||n.disabled)&&(e[l]=t.value),e})},e.prototype._reduceChildren=function(n,e){var t=n;return this._forEachChild(function(n,l){t=e(t,n,l)}),t},e.prototype._allControlsDisabled=function(){var n,e;try{for(var t=u(Object.keys(this.controls)),l=t.next();!l.done;l=t.next())if(this.controls[l.value].enabled)return!1}catch(r){n={error:r}}finally{try{l&&!l.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control with name: '"+t+"'.")})},e}(ud),pd=function(n){function e(e,t,l){var r=n.call(this,od(t),id(l,t))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(t),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(e,n),e.prototype.at=function(n){return this.controls[n]},e.prototype.push=function(n){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(n,e){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),this.updateValueAndValidity()},e.prototype.setControl=function(n,e){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this._checkAllValuesPresent(n),n.forEach(function(n,l){t._throwIfControlMissing(l),t.at(l).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){var t=this;void 0===e&&(e={}),n.forEach(function(n,l){t.at(l)&&t.at(l).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(n,e){void 0===n&&(n=[]),void 0===e&&(e={}),this._forEachChild(function(t,l){t.reset(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(n){return n instanceof ad?n.value:n.getRawValue()})},e.prototype._syncPendingControls=function(){var n=this.controls.reduce(function(n,e){return!!e._syncPendingControls()||n},!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n},e.prototype._throwIfControlMissing=function(n){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(n))throw new Error("Cannot find form control at index "+n)},e.prototype._forEachChild=function(n){this.controls.forEach(function(e,t){n(e,t)})},e.prototype._updateValue=function(){var n=this;this.value=this.controls.filter(function(e){return e.enabled||n.disabled}).map(function(n){return n.value})},e.prototype._anyControls=function(n){return this.controls.some(function(e){return e.enabled&&n(e)})},e.prototype._setUpControls=function(){var n=this;this._forEachChild(function(e){return n._registerControl(e)})},e.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control at index: "+t+".")})},e.prototype._allControlsDisabled=function(){var n,e;try{for(var t=u(this.controls),l=t.next();!l.done;l=t.next())if(l.value.enabled)return!1}catch(r){n={error:r}}finally{try{l&&!l.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)},e}(ud),dd=Promise.resolve(null),hd=function(n){function e(e,t){var l=n.call(this)||this;return l.submitted=!1,l._directives=[],l.ngSubmit=new Dr,l.form=new cd({},nd(e),ed(t)),l}return r(e,n),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(n){var e=this;dd.then(function(){var t=e._findContainer(n.path);n.control=t.registerControl(n.name,n.control),Jp(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(n)})},e.prototype.getControl=function(n){return this.form.get(n.path)},e.prototype.removeControl=function(n){var e=this;dd.then(function(){var t,l,r=e._findContainer(n.path);r&&r.removeControl(n.name),(l=(t=e._directives).indexOf(n))>-1&&t.splice(l,1)})},e.prototype.addFormGroup=function(n){var e=this;dd.then(function(){var t=e._findContainer(n.path),l=new cd({});(function(n,e){null==n&&Xp(e,"Cannot find control with"),n.validator=Np.compose([n.validator,e.validator]),n.asyncValidator=Np.composeAsync([n.asyncValidator,e.asyncValidator])})(l,n),t.registerControl(n.name,l),l.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(n){var e=this;dd.then(function(){var t=e._findContainer(n.path);t&&t.removeControl(n.name)})},e.prototype.getFormGroup=function(n){return this.form.get(n.path)},e.prototype.updateModel=function(n,e){var t=this;dd.then(function(){t.form.get(n.path).setValue(e)})},e.prototype.setValue=function(n){this.control.setValue(n)},e.prototype.onSubmit=function(n){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(function(n){var e=n.control;"submit"===e.updateOn&&e._pendingChange&&(n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(n),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(n){return n.pop(),n.length?this.form.get(n):this.form},e}(Ap),fd=function(){function n(){}return n.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      \n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });\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    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ')},n.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      "+Gp+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Zp)},n.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: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},n.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      "+Gp+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Zp)},n.ngFormWarning=function(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")},n}(),gd=new En("NgFormSelectorWarning"),md=function(n){function e(e,t,l){var r=n.call(this)||this;return r._parent=e,r._validators=t,r._asyncValidators=l,r}var t;return r(e,n),t=e,e.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof hd||fd.modelGroupParentException()},e}(ld),yd=Promise.resolve(null),vd=function(n){function e(e,t,l,r){var o=n.call(this)||this;return o.control=new ad,o._registered=!1,o.update=new Dr,o._parent=e,o._rawValidators=t||[],o._rawAsyncValidators=l||[],o.valueAccessor=function(n,e){if(!e)return null;Array.isArray(e)||Xp(n,"Value accessor was not provided as an array for form control with");var t=void 0,l=void 0,r=void 0;return e.forEach(function(e){var o;e.constructor===Fp?t=e:(o=e,td.some(function(n){return o.constructor===n})?(l&&Xp(n,"More than one built-in value accessor matches form control with"),l=e):(r&&Xp(n,"More than one custom value accessor matches form control with"),r=e))}),r||l||t||(Xp(n,"No valid value accessor for form control with"),null)}(o,r),o}return r(e,n),e.prototype.ngOnChanges=function(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),function(n,e){if(!n.hasOwnProperty("model"))return!1;var t=n.model;return!!t.isFirstChange()||!Ln(e,t.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Yp(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return nd(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return ed(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){Jp(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof md)&&this._parent instanceof ld?fd.formGroupNameException():this._parent instanceof md||this._parent instanceof hd||fd.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||fd.missingNameException()},e.prototype._updateValue=function(n){var e=this;yd.then(function(){e.control.setValue(n,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(n){var e=this,t=n.isDisabled.currentValue,l=""===t||t&&"false"!==t;yd.then(function(){l&&!e.control.disabled?e.control.disable():!l&&e.control.disabled&&e.control.enable()})},e}(zp),bd=function(){function n(){}return Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=null!=n&&!1!==n&&""+n!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),n.prototype.validate=function(n){return this.required?Np.required(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n}(),_d=function(){function n(){}return n.prototype.ngOnChanges=function(n){"maxlength"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return null!=this.maxlength?this._validator(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=Np.maxLength(parseInt(this.maxlength,10))},n}(),wd=function(){function n(){}return n.prototype.ngOnChanges=function(n){"pattern"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return this._validator(n)},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=Np.pattern(this.pattern)},n}(),Cd=function(){return function(){}}(),kd=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:gd,useValue:n.warnOnDeprecatedNgFormSelector}]}},n}(),Ed=function(){var n={TRACE:0,DEBUG:1,INFO:2,LOG:3,WARN:4,ERROR:5,OFF:6};return n[n.TRACE]="TRACE",n[n.DEBUG]="DEBUG",n[n.INFO]="INFO",n[n.LOG]="LOG",n[n.WARN]="WARN",n[n.ERROR]="ERROR",n[n.OFF]="OFF",n}(),Sd=["TRACE","DEBUG","INFO","LOG","WARN","ERROR","OFF"],Td=function(){function n(n){this.fileName="",this.fileName=n,this._isIE=!(-1===navigator.userAgent.indexOf("MSIE")&&!navigator.userAgent.match(/Trident\//)&&!navigator.userAgent.match(/Edge\//))}return n.getInstance=function(e){return null==n.loggerInstances[e]?n.loggerInstances[e]=new n(e):n.loggerInstances[e]},n.initialize=function(e){n.loggerConfig=e},n.prototype.trace=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._log(Ed.TRACE,n,e)},n.prototype.log=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._log(Ed.LOG,n,e)},n.prototype.debug=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._log(Ed.DEBUG,n,e)},n.prototype.info=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._log(Ed.INFO,n,e)},n.prototype.warning=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._log(Ed.WARN,n,e)},n.prototype.error=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];this._log(Ed.ERROR,n,e)},n.prototype.timeStamp=function(){var n=new Date;return n.getMonth()+1+"/"+n.getDate()+"/"+n.getFullYear()+" @ "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()},n.prototype.prepareMetaString=function(n,e,t){return n+" "+e+" "+t},n.prototype.getColor=function(n){switch(n){case Ed.TRACE:return"blue";case Ed.DEBUG:return"teal";case Ed.INFO:case Ed.LOG:return"gray";case Ed.WARN:case Ed.ERROR:return"red";case Ed.OFF:default:return}},n.prototype._log=function(e,t,l){if(void 0===l&&(l=[]),!(e<n.loggerConfig.level)){var r=this.getColor(e),o=this.prepareMetaString(this.timeStamp(),this.fileName,Sd[e]);switch(l=l||[],e){case Ed.WARN:this._isIE?console.warn.apply(console,c(["%c"+o,t],l)):console.warn.apply(console,c(["%c"+o,"color:"+r,t],l));break;case Ed.ERROR:this._isIE?console.error.apply(console,c(["%c"+o,t],l)):console.error.apply(console,c(["%c"+o,"color:"+r,t],l));break;case Ed.INFO:this._isIE?console.info.apply(console,c(["%c"+o,t],l)):console.info.apply(console,c(["%c"+o,"color:"+r,t],l));break;case Ed.TRACE:this._isIE?console.trace.apply(console,c(["%c"+o,t],l)):console.trace.apply(console,c(["%c"+o,"color:"+r,t],l));break;case Ed.DEBUG:this._isIE?console.debug.apply(console,c(["%c"+o,t],l)):console.debug.apply(console,c(["%c"+o,"color:"+r,t],l));break;default:this._isIE?console.log.apply(console,c(["%c"+o,t],l)):console.log.apply(console,c(["%c"+o,"color:"+r,t],l))}}},n.loggerConfig={level:Ed.OFF},n.loggerInstances={},n}(),xd=function(){function n(){this.SESSION_MODE="AGENT",this.stubEnabled=!1,this.docEnabled=!1,this.logEnabled=!1,this.urls={baseAuthUrl:"",baseUnAuthUrl:"",sdlUrl:"",contentsUrl:"",settingsUrl:"",rootUrl:"",localAssetsPaths:"images/"},this.stubUrls={baseAuthUrl:"mocks/json/",baseUnAuthUrl:"mocks/json/",sdlUrl:"mocks/sdl/",contentsUrl:"mocks/sdl/",settingsUrl:"mocks/sdl/",rootUrl:""},this.apiBaseUrls={baseAuthUrl:"/mbl/api/",baseUnAuthUrl:"/mbl/api/",sdlUrl:"/ibxolb/sdl/resources/olb/p1/",contentsUrl:"/ibxcontents/banking/login/contents/",settingsUrl:"/ibxcontents/banking/login/settings/staging/",rootUrl:""}}return n.ngInjectableDef=wn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Od=function(){function n(n){this.config=n,this._window=window}return n.prototype.pageLoadStart=function(n){this._window.KeyCommonTkt&&this._window.KeyCommonTkt.analytics.pageLoadStart(n)},n.prototype.push=function(n){this._window.KeyCommonTkt&&this._window.KeyCommonTkt.analytics.push(n)},n.prototype.pushError=function(n){this._window.KeyCommonTkt&&this._window.KeyCommonTkt.analytics.push(n)},n.prototype.pageLoadComplete=function(){this._window.KeyCommonTkt&&this._window.KeyCommonTkt.analytics.pageLoadComplete()},n.ngInjectableDef=wn({factory:function(){return new n(Re(xd))},token:n,providedIn:"root"}),n}(),Ad=function(){function n(n,e,t){this.renderer=n,this.loaderService=e,this.analyticsService=t,this.logger=Td.getInstance("PasswordAuthComponent"),this._window=window,this.pwd="",this.channel="WEB",this.message="",this.showErrorMsg=!1,this.errorMessage="",this.uiHandlerConfig={},this.authenticateInProgress=!1,this.basePath="",this.passwordType="password",this.analyticsService.pageLoadStart({pageCategory:"login",pageName:"password"}),this.analyticsService.push({event:"login|display|password"})}return n.prototype.ngAfterViewInit=function(){this.analyticsService.pageLoadComplete()},n.prototype.ngOnChanges=function(n){if(this.message){var e=JSON.parse(this.message);this.uiHandlerConfig=e.uiHandlerConfig?JSON.parse(this._window.atob(e.uiHandlerConfig)):{},this.basePath=this.uiHandlerConfig.baseUrl,this.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,e.error&&(this.showErrorMsg=!0,this.errorMessage=this.appMessagesAndLabels.incorrectPasswordLbl,this.authenticateInProgress=!1)}},n.prototype.showHidePassword=function(n){this.passwordType=n.target.checked?"text":"password"},n.prototype.authenticate=function(){this._window.sendMessageToSDK("pwdSubmit",{password:this.pwd},this.channel)},n.prototype.cancel=function(){this._window.sendMessageToSDK("pwdCancel",{status:0},this.channel)},n.prototype.navigateToForgotPwd=function(){},n}(),Id=Li({encapsulation:2,styles:[],data:{}});function Pd(n){return xu(0,[(n()(),cs(0,0,null,null,43,"div",[["class","password-auth-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","password-auth-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"a",[["class","cancel-btn"],["data-analytics-login","cancel"],["href","javascript:void(0)"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancel()&&l),l},null,null)),(n()(),cs(7,0,null,null,36,"div",[["class","password-auth-wrapper"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,35,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,7,"div",[["class","col-12"]],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(10,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(12,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(13,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(14,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,0,"p",[["class","kds-alert__description"],["x-ms-format-detection","none"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(17,0,null,null,12,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),cs(18,0,null,null,0,"h3",[["class","mt-2"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(19,0,null,null,10,"div",[["class","kds-form__field-group mt-3"]],null,null,null,null,null)),(n()(),cs(20,0,null,null,1,"label",[["class","kds-form__label"],["for","logPwdTxt"]],null,null,null,null,null)),(n()(),cs(21,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(22,0,[["logPwdTxt",1]],null,7,"input",[["autocapitalize","off"],["autocorrect","off"],["autofocus",""],["class","kds-form__input"],["data-test","log_pwd_txt"],["id","logPwdTxt"],["name","inputPassword"],["placeholder","Password"],["required",""]],[[8,"type",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,"keydown.enter"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,23)._compositionEnd(t.target.value)&&l),"keydown.enter"===e&&(l=!1!==r.authenticate()&&l),"ngModelChange"===e&&(l=!1!==(r.pwd=t)&&l),l},null,null)),$s(23,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(24,16384,null,0,bd,[],{required:[0,"required"]},null),nu(1024,null,Pp,function(n){return[n]},[bd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(27,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(29,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(30,0,null,null,9,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),cs(31,0,null,null,8,"label",[["class","kds-form__checkbox"],["for","logUidRem"]],null,null,null,null,null)),(n()(),cs(32,0,null,null,0,"input",[["class","kds-form__checkbox-input"],["data-analytics","action_cl|rememberMe"],["data-test","si_show_pin"],["id","logUidRem"],["type","checkbox"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.showHidePassword(t)&&l),l},null,null)),(n()(),cs(33,0,null,null,6,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),cs(34,0,null,null,4,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),cs(35,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"]],null,null,null,null,null)),(n()(),cs(36,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(37,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"]],null,null,null,null,null)),(n()(),cs(38,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(39,0,null,null,0,"span",[["class","kds-form__checkbox-text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(40,0,null,null,1,"div",[["class","col-6 offset-6 text-right"]],null,null,null,null,null)),(n()(),cs(41,0,null,null,0,"a",[["hidden",""],["href","javascript:void(0)"],["title","Forgot Password"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.navigateToForgotPwd()&&l),l},null,null)),(n()(),cs(42,0,null,null,1,"div",[["class","col-12 mt-4"]],null,null,null,null,null)),(n()(),cs(43,0,null,null,0,"button",[["class","kds-button kds-button--primary btn-block"],["data-analytics-login","done"],["data-test","log_sbt_btn"]],[[8,"disabled",0],[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(r.authenticate(),l=0!=(r.authenticateInProgress=!0)&&l),l},null,null))],function(n,e){var t=e.component;n(e,24,0,""),n(e,27,0,"inputPassword",t.pwd)},function(n,e){var t=e.component;n(e,4,0,t.appMessagesAndLabels.passwordTxt),n(e,6,0,t.appMessagesAndLabels.cancelBtn),n(e,9,0,!t.showErrorMsg),n(e,16,0,t.errorMessage),n(e,18,0,t.appMessagesAndLabels.enterPasswordLbl),n(e,21,0,t.appMessagesAndLabels.passwordTxt),n(e,22,0,ss(1,"",t.passwordType,""),Vs(e,24).required?"":null,Vs(e,29).ngClassUntouched,Vs(e,29).ngClassTouched,Vs(e,29).ngClassPristine,Vs(e,29).ngClassDirty,Vs(e,29).ngClassValid,Vs(e,29).ngClassInvalid,Vs(e,29).ngClassPending),n(e,36,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#check"),n(e,38,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#minus"),n(e,39,0,t.appMessagesAndLabels.showPasswordLbl),n(e,41,0,t.appMessagesAndLabels.forgotPasswordTxt),n(e,43,0,t.authenticateInProgress,!t.pwd,t.appMessagesAndLabels.continueBtn)})}var Md=function(){function n(n){this.analyticsService=n,this.logger=Td.getInstance("AuthenticatorListComponent"),this._window=window,this.channel="WEB",this.message="",this.authenticators=[],this.contents={},this.uiHandlerConfig={},this.showCancelBtn=!0,this.contents.labelsAndMessages={blockListAuthCodes:"328-,3285,32858,328-58",blockListCodeErr:"You've entered the phone number from which you received the code. The actual code is four digits and appears inside the text message.",systemErr:"System Error. Please try again in a few minutes.",systemLoadErr:"Please accept our apology if you're having trouble accessing digital banking. We're working hard to resolve the problem. While we do that, please feel free to contact 1-800-KEY2YOU (539-2968); we'll be happy to provide options to help you with your banking needs.  Thank you again for your understanding.",invalideAuthCodeErr:"You have entered an invalid code.",securityQuestionErrorMsg:"The answer you have provided is not the same as what we have on file.",optionsDescriptionMsg:"For added security, You must authenticate your identity. Please select your preferred method.",lockoutTextErr:"Your Online Banking account is restricted. To verify your identity and gain access, please call us at 1-800-539-1539.",outOfBandOptionLbl:"One Time Passcode",securityOptionLbl:"Security Questions",callCenterOptionLbl:"For more assistance, call us at <a href='javascript:void(0);' title='1-800-539-1539' onclick='window.location=\"tel:1-800-539-1539\"'>1-800-539-1539</a>.",receiveSecurityCodeGeneralMsg:"<h3>Receive a Security Code</h3><p>Select a method to send your code. Enter the code you receive on the next screen.</p>",securityCodeSentGeneralMsg:"We sent a One Time Security Code",enterOtpCodeLbl:"Enter Passcode",requestNewOtpCodeLbl:"Request a New Code",enterSecurityCodeLbl:"Answer a Security Question",verificationTtl:"Verification"},this.analyticsService.pageLoadStart({pageCategory:"stepup",pageName:"verification"}),this.analyticsService.push({event:"stepup|display|verification"})}return n.prototype.ngAfterViewInit=function(){this.analyticsService.pageLoadComplete()},n.prototype.ngOnChanges=function(n){var e=this;if(this.message){var t=JSON.parse(this.message);this.uiHandlerConfig=t.uiHandlerConfig?JSON.parse(this._window.atob(t.uiHandlerConfig)):{},this.contents.labelsAndMessages=this.uiHandlerConfig.labelsAndMessages?this.uiHandlerConfig.labelsAndMessages:this.contents.labelsAndMessages,t.result&&"FAILURE"==t.result?this.onError(t.data):t.authList.forEach(function(n){switch(n.toLowerCase()){case"otp":e.authenticators.push(e.contents.labelsAndMessages.outOfBandOptionLbl);break;case"question":case"questions":e.authenticators.push(e.contents.labelsAndMessages.securityOptionLbl);break;case"fido2":e.authenticators.push(e.contents.labelsAndMessages.bindId);break;case"otac":e.authenticators.push(e.contents.labelsAndMessages.oneTimeAccessCode);break;default:e.authenticators.push(n)}})}},n.prototype.getModifiedAuthenticators=function(n){var e=this;return n.map(function(n){switch(n.toUpperCase()){case"OTP":case"QUESTION":n=e.contents.labelsAndMessages.outOfBandOptionLbl}})},n.prototype.authenticatorSelected=function(n){this._window.sendMessageToSDK("selectAuthenticator",n,this.channel)},n.prototype.cancelAuthenticator=function(){this._window.sendMessageToSDK("cancelAuthenticator",{status:0},this.channel)},n.prototype.onError=function(n){},n}(),Nd=Li({encapsulation:2,styles:[],data:{}});function Ld(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"a",[["data-analytics-login","cancel"],["href","javascript:void(0)"],["title","Step Up Cancel"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancelAuthenticator()&&l),l},null,null)),(n()(),Eu(-1,null,["Cancel"]))],null,null)}function Dd(n){return xu(0,[(n()(),cs(0,0,null,null,2,"button",[["class","kds-button kds-button--default btn-block justify-content-start"],["data-analytics-login","otp,security questions"],["role","button"],["type","button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticatorSelected(n.context.index)&&l),l},null,null)),(n()(),cs(1,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Eu(2,null,["",""]))],null,function(n,e){n(e,2,0,e.context.$implicit)})}function Rd(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","mt-4"],["data-analytics-login","call"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.contents.labelsAndMessages.callCenterOptionLbl)})}function Ud(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","mt-4"],["data-analytics-login","call"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.contents.labelsAndMessages.callCenterOptionSimpleLbl)})}function jd(n){return xu(0,[(n()(),cs(0,0,null,null,16,"div",[["class","stepup-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","stepup-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,Ld)),$s(6,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(7,0,null,null,9,"div",[["class","stepup-wrapper"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,7,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(10,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,Dd)),$s(12,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),(n()(),as(16777216,null,null,1,null,Rd)),$s(14,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Ud)),$s(16,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,6,0,t.showCancelBtn),n(e,12,0,t.authenticators),n(e,14,0,"WEB"===t.channel),n(e,16,0,"WEB"!==t.channel)},function(n,e){var t=e.component;n(e,4,0,t.contents.labelsAndMessages.verificationTtl),n(e,10,0,t.contents.labelsAndMessages.optionsDescriptionMsg)})}var Vd=function(){function n(n){this.el=n}return n.prototype.ngAfterContentInit=function(){var n=this;setTimeout(function(){n.el.nativeElement.focus()},500)},n}(),Fd=function(){function n(){this.date=Number(new Date)}return n.prototype.loadSecurityQuestionsUrl=function(n){return n.baseUrl+"tfa/api/ext/v1/stepups/questions/retrieve"},n.prototype.postSecurityQuestionAnswerUrl=function(n){return n.baseUrl+"tfa/api/ext/v1/stepups/questions/answer"},n.prototype.getStepUpCheckUrl=function(n,e){return e.stubsEnabled?e.baseUrl+"ibxolb/amt-tkt/amt-mocks/json/initStepUp":e.baseUrl+"mbl/api/auth/v1/users/stepup/"+n.operationName},n.prototype.getSecurityCodeUrl=function(n,e){return e.stubsEnabled?e.baseUrl+"ibxolb/amt-tkt/amt-mocks/json/getSecurityCode":e.baseUrl+"mbl/api/auth/v1/users/stepup/challenge/"+n.currentStepUpType+"/"+n.operationName+"?deliveryType="+n.deliveryType+"&deliveryFormat="+n.deliveryFormat},n.prototype.postSecurityCodeUrl=function(n,e){return e.stubsEnabled?n.securityCode&&"6666"==n.securityCode?e.baseUrl+"ibxolb/amt-tkt/amt-mocks/postSecurityCodeError":e.baseUrl+"ibxolb/amt-tkt/amt-mocks/json/postSecurityCode":e.baseUrl+"mbl/api/auth/v1/users/stepup/challenge/"+n.currentStepUpType+"/"+n.operationName},n.prototype.getSecurityQuestionsUrl=function(n,e){return e.stubsEnabled?e.baseUrl+"ibxolb/amt-tkt/amt-mocks/json/tamQuestions":e.baseUrl+"mbl/api/auth/v1/users/stepup/challenge/"+n.currentStepUpType+"/"+n.operationName},n.prototype.postSecurityAnswerUrl=function(n,e){return e.stubsEnabled?n.securityQuestionAnswerText&&"error"==n.securityQuestionAnswerText?e.baseUrl+"ibxolb/amt-tkt/amt-mocks/json/postTamQuestionError":e.baseUrl+"ibxolb/amt-tkt/amt-mocks/json/postTamQuestion":e.baseUrl+"mbl/api/auth/v1/users/stepup/challenge/"+n.currentStepUpType+"/"+n.operationName},n.ngInjectableDef=wn({factory:function(){return new n},token:n,providedIn:"root"}),n}();function Hd(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t,l,r=n[n.length-1];switch(j(r)?n.pop():r=void 0,n.length){case 0:return function(n){return n?function(n){return new I(function(e){return n.schedule(function(){return e.complete()})})}(n):Wa}(r);case 1:return r?nn(n,r):(t=n[0],(l=new I(function(n){n.next(t),n.complete()}))._isScalar=!0,l.value=t,l);default:return nn(n,r)}}var Bd=function(){function n(n,e){this.predicate=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new qd(n,this.predicate,this.thisArg))},n}(),qd=function(n){function e(e,t,l){var r=n.call(this,e)||this;return r.predicate=t,r.thisArg=l,r.count=0,r}return r(e,n),e.prototype._next=function(n){var e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(n)},e}(x),Qd=function(){return function(){}}(),zd=function(){return function(){}}(),Kd=function(){function n(n){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?function(){e.headers=new Map,n.split("\n").forEach(function(n){var t=n.indexOf(":");if(t>0){var l=n.slice(0,t),r=l.toLowerCase(),o=n.slice(t+1).trim();e.maybeSetNormalizedName(l,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}})}:function(){e.headers=new Map,Object.keys(n).forEach(function(t){var l=n[t],r=t.toLowerCase();"string"==typeof l&&(l=[l]),l.length>0&&(e.headers.set(r,l),e.maybeSetNormalizedName(t,r))})}:this.headers=new Map}return n.prototype.has=function(n){return this.init(),this.headers.has(n.toLowerCase())},n.prototype.get=function(n){this.init();var e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null},n.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},n.prototype.getAll=function(n){return this.init(),this.headers.get(n.toLowerCase())||null},n.prototype.append=function(n,e){return this.clone({name:n,value:e,op:"a"})},n.prototype.set=function(n,e){return this.clone({name:n,value:e,op:"s"})},n.prototype.delete=function(n,e){return this.clone({name:n,value:e,op:"d"})},n.prototype.maybeSetNormalizedName=function(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)},n.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(n){return e.applyUpdate(n)}),this.lazyUpdate=null))},n.prototype.copyFrom=function(n){var e=this;n.init(),Array.from(n.headers.keys()).forEach(function(t){e.headers.set(t,n.headers.get(t)),e.normalizedNames.set(t,n.normalizedNames.get(t))})},n.prototype.clone=function(e){var t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t},n.prototype.applyUpdate=function(n){var e=n.name.toLowerCase();switch(n.op){case"a":case"s":var t=n.value;if("string"==typeof t&&(t=[t]),0===t.length)return;this.maybeSetNormalizedName(n.name,e);var l=("a"===n.op?this.headers.get(e):void 0)||[];l.push.apply(l,c(t)),this.headers.set(e,l);break;case"d":var r=n.value;if(r){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(n){return-1===r.indexOf(n)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},n.prototype.forEach=function(n){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(t){return n(e.normalizedNames.get(t),e.headers.get(t))})},n}(),Wd=function(){function n(){}return n.prototype.encodeKey=function(n){return Gd(n)},n.prototype.encodeValue=function(n){return Gd(n)},n.prototype.decodeKey=function(n){return decodeURIComponent(n)},n.prototype.decodeValue=function(n){return decodeURIComponent(n)},n}();function Gd(n){return encodeURIComponent(n).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 Zd=function(){function n(n){void 0===n&&(n={});var e,t,l,r=this;if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Wd,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=n.fromString,t=this.encoder,l=new Map,e.length>0&&e.split("&").forEach(function(n){var e=n.indexOf("="),r=a(-1==e?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,e)),t.decodeValue(n.slice(e+1))],2),o=r[0],i=r[1],s=l.get(o)||[];s.push(i),l.set(o,s)}),l)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var t=n.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return n.prototype.has=function(n){return this.init(),this.map.has(n)},n.prototype.get=function(n){this.init();var e=this.map.get(n);return e?e[0]:null},n.prototype.getAll=function(n){return this.init(),this.map.get(n)||null},n.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},n.prototype.append=function(n,e){return this.clone({param:n,value:e,op:"a"})},n.prototype.set=function(n,e){return this.clone({param:n,value:e,op:"s"})},n.prototype.delete=function(n,e){return this.clone({param:n,value:e,op:"d"})},n.prototype.toString=function(){var n=this;return this.init(),this.keys().map(function(e){var t=n.encoder.encodeKey(e);return n.map.get(e).map(function(e){return t+"="+n.encoder.encodeValue(e)}).join("&")}).join("&")},n.prototype.clone=function(e){var t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t},n.prototype.init=function(){var n=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return n.map.set(e,n.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var t=("a"===e.op?n.map.get(e.param):void 0)||[];t.push(e.value),n.map.set(e.param,t);break;case"d":if(void 0===e.value){n.map.delete(e.param);break}var l=n.map.get(e.param)||[],r=l.indexOf(e.value);-1!==r&&l.splice(r,1),l.length>0?n.map.set(e.param,l):n.map.delete(e.param)}}),this.cloneFrom=this.updates=null)},n}();function Yd(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function Jd(n){return"undefined"!=typeof Blob&&n instanceof Blob}function $d(n){return"undefined"!=typeof FormData&&n instanceof FormData}var Xd=function(){function n(n,e,t,l){var r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function(n){switch(n){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,r=l):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Kd),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":i<e.length-1?"&":"")+o}}else this.params=new Zd,this.urlWithParams=e}return n.prototype.serializeBody=function(){return null===this.body?null:Yd(this.body)||Jd(this.body)||$d(this.body)||"string"==typeof this.body?this.body:this.body instanceof Zd?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},n.prototype.detectContentTypeHeader=function(){return null===this.body?null:$d(this.body)?null:Jd(this.body)?this.body.type||null:Yd(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Zd?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},n.prototype.clone=function(e){void 0===e&&(e={});var t=e.method||this.method,l=e.url||this.url,r=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,i=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,u=e.headers||this.headers,a=e.params||this.params;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce(function(n,t){return n.set(t,e.setHeaders[t])},u)),e.setParams&&(a=Object.keys(e.setParams).reduce(function(n,t){return n.set(t,e.setParams[t])},a)),new n(t,l,o,{params:a,headers:u,reportProgress:s,responseType:r,withCredentials:i})},n}(),nh=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}({}),eh=function(){return function(n,e,t){void 0===e&&(e=200),void 0===t&&(t="OK"),this.headers=n.headers||new Kd,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}(),th=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=nh.ResponseHeader,t}return r(e,n),e.prototype.clone=function(n){return void 0===n&&(n={}),new e({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},e}(eh),lh=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=nh.Response,t.body=void 0!==e.body?e.body:null,t}return r(e,n),e.prototype.clone=function(n){return void 0===n&&(n={}),new e({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},e}(eh),rh=function(n){function e(e){var t=n.call(this,e,0,"Unknown Error")||this;return t.name="HttpErrorResponse",t.ok=!1,t.message=t.status>=200&&t.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,t.error=e.error||null,t}return r(e,n),e}(eh);function oh(n,e){return{body:e,headers:n.headers,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var ih=function(){function n(n){this.handler=n}return n.prototype.request=function(n,e,t){var l,r=this;if(void 0===t&&(t={}),n instanceof Xd)l=n;else{var o;o=t.headers instanceof Kd?t.headers:new Kd(t.headers);var i=void 0;t.params&&(i=t.params instanceof Zd?t.params:new Zd({fromObject:t.params})),l=new Xd(n,e,void 0!==t.body?t.body:null,{headers:o,params:i,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials})}var s=Hd(l).pipe(tn(function(n){return r.handler.handle(n)},void 0,1));if(n instanceof Xd||"events"===t.observe)return s;var u,a=s.pipe((u=function(n){return n instanceof lh},function(n){return n.lift(new Bd(u,void 0))}));switch(t.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return a.pipe(J(function(n){if(null!==n.body&&!(n.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return n.body}));case"blob":return a.pipe(J(function(n){if(null!==n.body&&!(n.body instanceof Blob))throw new Error("Response is not a Blob.");return n.body}));case"text":return a.pipe(J(function(n){if(null!==n.body&&"string"!=typeof n.body)throw new Error("Response is not a string.");return n.body}));case"json":default:return a.pipe(J(function(n){return n.body}))}case"response":return a;default:throw new Error("Unreachable: unhandled observe type "+t.observe+"}")}},n.prototype.delete=function(n,e){return void 0===e&&(e={}),this.request("DELETE",n,e)},n.prototype.get=function(n,e){return void 0===e&&(e={}),this.request("GET",n,e)},n.prototype.head=function(n,e){return void 0===e&&(e={}),this.request("HEAD",n,e)},n.prototype.jsonp=function(n,e){return this.request("JSONP",n,{params:(new Zd).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},n.prototype.options=function(n,e){return void 0===e&&(e={}),this.request("OPTIONS",n,e)},n.prototype.patch=function(n,e,t){return void 0===t&&(t={}),this.request("PATCH",n,oh(t,e))},n.prototype.post=function(n,e,t){return void 0===t&&(t={}),this.request("POST",n,oh(t,e))},n.prototype.put=function(n,e,t){return void 0===t&&(t={}),this.request("PUT",n,oh(t,e))},n}(),sh=function(){function n(n,e){this.next=n,this.interceptor=e}return n.prototype.handle=function(n){return this.interceptor.intercept(n,this.next)},n}(),uh=new En("HTTP_INTERCEPTORS"),ah=function(){function n(){}return n.prototype.intercept=function(n,e){return e.handle(n)},n}(),ch=/^\)\]\}',?\n/,ph=function(){return function(){}}(),dh=function(){function n(){}return n.prototype.build=function(){return new XMLHttpRequest},n}(),hh=function(){function n(n){this.xhrFactory=n}return n.prototype.handle=function(n){var e=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new I(function(t){var l=e.xhrFactory.build();if(l.open(n.method,n.urlWithParams),n.withCredentials&&(l.withCredentials=!0),n.headers.forEach(function(n,e){return l.setRequestHeader(n,e.join(","))}),n.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var r=n.detectContentTypeHeader();null!==r&&l.setRequestHeader("Content-Type",r)}if(n.responseType){var o=n.responseType.toLowerCase();l.responseType="json"!==o?o:"text"}var i=n.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===l.status?204:l.status,t=l.statusText||"OK",r=new Kd(l.getAllResponseHeaders()),o=function(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(l)||n.url;return s=new th({headers:r,status:e,statusText:t,url:o})},a=function(){var e=u(),r=e.headers,o=e.status,i=e.statusText,s=e.url,a=null;204!==o&&(a=void 0===l.response?l.responseText:l.response),0===o&&(o=a?200:0);var c=o>=200&&o<300;if("json"===n.responseType&&"string"==typeof a){var p=a;a=a.replace(ch,"");try{a=""!==a?JSON.parse(a):null}catch(d){a=p,c&&(c=!1,a={error:d,text:a})}}c?(t.next(new lh({body:a,headers:r,status:o,statusText:i,url:s||void 0})),t.complete()):t.error(new rh({error:a,headers:r,status:o,statusText:i,url:s||void 0}))},c=function(n){var e=u().url,r=new rh({error:n,status:l.status||0,statusText:l.statusText||"Unknown Error",url:e||void 0});t.error(r)},p=!1,d=function(e){p||(t.next(u()),p=!0);var r={type:nh.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===n.responseType&&l.responseText&&(r.partialText=l.responseText),t.next(r)},h=function(n){var e={type:nh.UploadProgress,loaded:n.loaded};n.lengthComputable&&(e.total=n.total),t.next(e)};return l.addEventListener("load",a),l.addEventListener("error",c),n.reportProgress&&(l.addEventListener("progress",d),null!==i&&l.upload&&l.upload.addEventListener("progress",h)),l.send(i),t.next({type:nh.Sent}),function(){l.removeEventListener("error",c),l.removeEventListener("load",a),n.reportProgress&&(l.removeEventListener("progress",d),null!==i&&l.upload&&l.upload.removeEventListener("progress",h)),l.abort()}})},n}(),fh=new En("XSRF_COOKIE_NAME"),gh=new En("XSRF_HEADER_NAME"),mh=function(){return function(){}}(),yh=function(){function n(n,e,t){this.doc=n,this.platform=e,this.cookieName=t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return n.prototype.getToken=function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=lc(n,this.cookieName),this.lastCookieString=n),this.lastToken},n}(),vh=function(){function n(n,e){this.tokenService=n,this.headerName=e}return n.prototype.intercept=function(n,e){var t=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e.handle(n);var l=this.tokenService.getToken();return null===l||n.headers.has(this.headerName)||(n=n.clone({headers:n.headers.set(this.headerName,l)})),e.handle(n)},n}(),bh=function(){function n(n,e){this.backend=n,this.injector=e,this.chain=null}return n.prototype.handle=function(n){if(null===this.chain){var e=this.injector.get(uh,[]);this.chain=e.reduceRight(function(n,e){return new sh(n,e)},this.backend)}return this.chain.handle(n)},n}(),_h=function(){function n(){}var e;return e=n,n.disable=function(){return{ngModule:e,providers:[{provide:vh,useClass:ah}]}},n.withOptions=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[n.cookieName?{provide:fh,useValue:n.cookieName}:[],n.headerName?{provide:gh,useValue:n.headerName}:[]]}},n}(),wh=function(){return function(){}}();function Ch(n,e){return new I(e?function(t){return e.schedule(kh,0,{error:n,subscriber:t})}:function(e){return e.error(n)})}function kh(n){n.subscriber.error(n.error)}function Eh(n){return function(e){var t=new Sh(n),l=e.lift(t);return t.caught=l}}var Sh=function(){function n(n){this.selector=n}return n.prototype.call=function(n,e){return e.subscribe(new Th(n,this.selector,this.caught))},n}(),Th=function(n){function e(e,t,l){var r=n.call(this,e)||this;return r.selector=t,r.caught=l,r}return r(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=void 0;try{t=this.selector(e,this.caught)}catch(r){return void n.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var l=new V(this,void 0,void 0);this.add(l),Z(this,t,void 0,void 0,l)}},e}(Y);function xh(n){return function(e){return e.lift(new Oh(n))}}var Oh=function(){function n(n){this.callback=n}return n.prototype.call=function(n,e){return e.subscribe(new Ah(n,this.callback))},n}(),Ah=function(n){function e(e,t){var l=n.call(this,e)||this;return l.add(new _(t)),l}return r(e,n),e}(x),Ih=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l.pending=!1,l}return r(e,n),e.prototype.schedule=function(n,e){if(void 0===e&&(e=0),this.closed)return this;this.state=n;var t=this.id,l=this.scheduler;return null!=t&&(this.id=this.recycleAsyncId(l,t,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(l,this.id,e),this},e.prototype.requestAsyncId=function(n,e,t){return void 0===t&&(t=0),setInterval(n.flush.bind(n,this),t)},e.prototype.recycleAsyncId=function(n,e,t){if(void 0===t&&(t=0),null!==t&&this.delay===t&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(n,e);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(n,e){var t=!1,l=void 0;try{this.work(n)}catch(r){t=!0,l=!!r&&r||new Error(r)}if(t)return this.unsubscribe(),l},e.prototype._unsubscribe=function(){var n=this.id,e=this.scheduler,t=e.actions,l=t.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&t.splice(l,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null},e}(function(n){function e(e,t){return n.call(this)||this}return r(e,n),e.prototype.schedule=function(n,e){return void 0===e&&(e=0),this},e}(_)),Ph=function(){function n(e,t){void 0===t&&(t=n.now),this.SchedulerAction=e,this.now=t}return n.prototype.schedule=function(n,e,t){return void 0===e&&(e=0),new this.SchedulerAction(this,n).schedule(t,e)},n.now=function(){return Date.now()},n}(),Mh=new(function(n){function e(t,l){void 0===l&&(l=Ph.now);var r=n.call(this,t,function(){return e.delegate&&e.delegate!==r?e.delegate.now():l()})||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return r(e,n),e.prototype.schedule=function(t,l,r){return void 0===l&&(l=0),e.delegate&&e.delegate!==this?e.delegate.schedule(t,l,r):n.prototype.schedule.call(this,t,l,r)},e.prototype.flush=function(n){var e=this.actions;if(this.active)e.push(n);else{var t;this.active=!0;do{if(t=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,t){for(;n=e.shift();)n.unsubscribe();throw t}}},e}(Ph))(Ih);function Nh(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}Nh.prototype=Object.create(Error.prototype);var Lh=Nh,Dh=function(){function n(n,e,t,l){this.waitFor=n,this.absoluteTimeout=e,this.withObservable=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new Rh(n,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},n}(),Rh=function(n){function e(e,t,l,r,o){var i=n.call(this,e)||this;return i.absoluteTimeout=t,i.waitFor=l,i.withObservable=r,i.scheduler=o,i.action=null,i.scheduleTimeout(),i}return r(e,n),e.dispatchTimeout=function(n){var e=n.withObservable;n._unsubscribeAndRecycle(),n.add(Z(n,e))},e.prototype.scheduleTimeout=function(){var n=this.action;n?this.action=n.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),n.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(Y),Uh=function(){function n(){this.stubEnabled=!1}return n.prototype.config=function(n){this.stubEnabled=n.stubEnabled},n.ngInjectableDef=wn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),jh=function(n){function e(e,t){var l=n.call(this,{status:e,error:t})||this;return l.data={},l.data=t,l}return r(e,n),e}(rh),Vh=function(n){function e(e){var t=n.call(this,{customParams:e})||this;return t.customParams=e,t}return r(e,n),e}(Zd),Fh=function(n){function e(e,t){var l=n.call(this,t)||this;return l.config=e,l.logger=Td.getInstance("HttpService"),l.onLoadingObserver=null,l.onLoading=new I(function(n){l.onLoadingObserver=n}),l.onCompleteObserver=null,l.onComplete=new I(function(n){l.onCompleteObserver=n}),l.intercepterFunc=null,l}return r(e,n),e.prototype.registerIntercepter=function(n){this.intercepterFunc=n},e.prototype.executeIntercepter=function(n){return null!==this.intercepterFunc?this.intercepterFunc(n):Hd(n)},e.prototype.getDefaultRequestOptions=function(n){return{headers:new Kd({"Content-Type":"application/json"}),withCredentials:!0,params:new Vh(n)}},e.prototype.get=function(e,t){var l=this;null!=this.onLoadingObserver&&this.onLoadingObserver.next(!0);var r=this.getDefaultRequestOptions(t);return this.config.stubEnabled?this.getStubResponse(e,r):n.prototype.get.call(this,e,r).pipe(Eh(this.onCatch),J(this.extractData),xh(function(){l.onEnd()}))},e.prototype.post=function(e,t,l){var r=this;null!=this.onLoadingObserver&&this.onLoadingObserver.next(!0);var o=this.getDefaultRequestOptions(l);return this.config.stubEnabled?this.getStubResponse(e,o):n.prototype.post.call(this,e,t,o).pipe(Eh(this.onCatch),J(this.extractData),xh(function(){r.onEnd()}))},e.prototype.put=function(e,t,l){var r=this;null!=this.onLoadingObserver&&this.onLoadingObserver.next(!0);var o=this.getDefaultRequestOptions(l);return this.config.stubEnabled?this.getStubResponse(e,o):n.prototype.put.call(this,e,t,o).pipe(Eh(this.onCatch),J(this.extractData),xh(function(){r.onEnd()}))},e.prototype.delete=function(e,t){var l=this;null!=this.onLoadingObserver&&this.onLoadingObserver.next(!0);var r=this.getDefaultRequestOptions(t);return this.config.stubEnabled?this.getStubResponse(e,r):n.prototype.delete.call(this,e,r).pipe(Eh(this.onCatch),J(this.extractData),xh(function(){l.onEnd()}))},e.prototype.upload=function(){},e.prototype.download=function(){},e.prototype.getStubResponse=function(e,t){var l=this;return n.prototype.get.call(this,e,t).pipe(Eh(this.onCatch),J(this.extractData),J(this.modifyResponse),xh(function(){l.onEnd()}))},e.prototype.modifyResponse=function(n){if(n&&n.data&&n.data.mockHttpStatus&&200!==n.data.mockHttpStatus&&"200"!==n.data.mockHttpStatus)throw new jh(n.data.mockHttpStatus,n.data.data);return n},e.prototype.onCatch=function(n,e){return Ch(n)},e.prototype.extractData=function(n){return n&&n.status?{status:n.status,data:n}:{status:200,data:n}},e.prototype.onEnd=function(){null!=this.onCompleteObserver&&this.onCompleteObserver.next(!0)},e.ngInjectableDef=wn({factory:function(){return new e(Re(Uh),Re(Qd))},token:e,providedIn:"root"}),e}(ih),Hh=function(n){function e(e,t){var l=n.call(this,{status:e,body:t})||this;return l.data={},l.data=t,l}return r(e,n),e}(lh),Bh=function(){function n(n){this.httpService=n,this.logger=Td.getInstance("HttpService")}return n.prototype.intercept=function(n,e){var t=this;return this.httpService.executeIntercepter(n).pipe(tn(function(l){var r,o,i=l&&null!=l.headers.get("timeout")?l.headers.get("timeout"):2e4;return e.handle(l).pipe((r=Number(i),void 0===o&&(o=Mh),function(n,e,t){return void 0===t&&(t=Mh),function(l){var r,o=(r=n)instanceof Date&&!isNaN(+r),i=o?+n-t.now():Math.abs(n);return l.lift(new Dh(i,o,e,t))}}(r,Ch(new Lh),o)),J(function(n){return n instanceof lh&&t.logger.debug("response intercepted but not modified"),n}),Eh(function(e){if(e instanceof rh){var l=null==e.error.text?e.error:e.error.text,r=t.checkAndModifyErrorResponse(n.params,{status:e.status,data:l});if(t.logger.debug("modified error response",r),void 0===r)throw new jh(e.status,l);if(void 0!==r.isInValidResponse)throw new jh(r.status,r);if(200==e.status)return Hd(new Hh(r.status,r));throw new jh(e.status,r)}throw t.logger.debug("invalid http response  it could be timeout or any other"),new jh(-1,{data:"invalid error response (or) timedout request (or) unknown"})}))}))},n.prototype.checkAndModifyErrorResponse=function(n,e){if(n.customParams&&n.customParams.noResponseCheckRequired)return e.data;if("string"!=typeof e.data)return e.data;var t={isCustomError:!1,customErrorMessage:"",customErrorMessageTitle:"",isMaintenanceError:!1,resourceBlockedError:!1,status:e.status,isInValidResponse:!1};if(t.isCustomError=-1!=e.data.toUpperCase().indexOf("<CODE>SERVICE TEMPORARILY UNAVAILABLE</CODE>"),t.isCustomError){var l=document.createElement("html");l.innerHTML=e.data,t.customErrorMessage=l.getElementsByTagName("message")?l.getElementsByTagName("message")[0].innerHTML:"System is temporarily Unavailable. Please try again Later",t.customErrorMessageTitle=l.getElementsByTagName("messageTitle")?l.getElementsByTagName("messageTitle")[0].innerHTML:"Error."}return t.isMaintenanceError=-1!=e.data.toUpperCase().indexOf("ONLINE BANKING IS CURRENTLY UNAVAILABLE")||-1!=e.data.toUpperCase().indexOf("SERVICE UNAVAILABLE"),t.resourceBlockedError=-1!=e.data.toUpperCase().indexOf("THE REQUESTED URL WAS REJECTED")||-1!=e.data.toUpperCase().indexOf("AN ERROR HAS OCCURRED"),t.status=t.isMaintenanceError||t.resourceBlockedError||t.isCustomError?-1:e.status,t.isInValidResponse=t.isMaintenanceError||t.resourceBlockedError||t.isCustomError,t},n}(),qh=function(){function n(n,e){this.httpService=n,this.apiSettings=e,this.logger=Td.getInstance("SecurityQuestionsAuthService")}return n.prototype.loadSecurityQuestions=function(n,e){var t=this;return this.logger.log("Load security questions"),this.httpService.post(this.apiSettings.loadSecurityQuestionsUrl(n),e).pipe(J(function(n){return!!n.data&&(t.logger.log("security questions successfully loaded",n.data),n.data)}))},n.prototype.submitSecurityQuestionAnswer=function(n,e){var t=this;return this.logger.log("Post Security questions"),this.httpService.post(this.apiSettings.postSecurityQuestionAnswerUrl(n),e).pipe(J(function(n){return!!n.data&&(t.logger.log("security questions answer validated successfully",n.data),n.data)}))},n.ngInjectableDef=wn({factory:function(){return new n(Re(Fh),Re(Fd))},token:n,providedIn:"root"}),n}(),Qh=function(){function n(n,e,t){this.securityQuestionsAuthService=n,this.loaderService=e,this.analyticsService=t,this.logger=Td.getInstance("SecurityQuestionsAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.isSecurityQuestionLoaded=!1,this.authError=!1,this.systemError=!1,this.analyticsService.pageLoadStart({pageCategory:"stepup",pageName:"security question"}),this.analyticsService.push({event:"stepup|display|security question"})}return n.prototype.ngAfterViewInit=function(){this.analyticsService.pageLoadComplete()},n.prototype.ngOnChanges=function(n){this.authError=!1,this.systemError=!1,this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesLabels=this.uiHandlerConfig.labelsAndMessages,this.messageObj.error?(this.systemError=!0,this.errorMessage=this.messageObj.error):(!this.messageObj.recentErrorCode||"401"!=this.messageObj.recentErrorCode&&401!=this.messageObj.recentErrorCode||(this.authError=!0,this.errorMessage=this.uiHandlerConfig.labelsAndMessages.securityQuestionErrorMsg),this.messageObj.placeholderToken&&this.loadSecurityQuestions()))},n.prototype.loadSecurityQuestions=function(){var n=this;this.securityQuestionsAuthService.loadSecurityQuestions(this.uiHandlerConfig,{userId:this.messageObj.userName,appId:this.messageObj.appId,sessionId:this.messageObj.sessionId,placeholderToken:this.messageObj.placeholderToken,securePlaceholderHash:this.messageObj.securePlaceholderHash}).subscribe(function(e){n.logger.log("Security Questions loaded successfully",e),n.securityQuestion=e,n.securityQuestion.challengeQuestionText||(n.systemError=!0,n.errorMessage=n.uiHandlerConfig.labelsAndMessages.systemErr)},function(e){n.handleError(e),n.logger.log("Security Questions load failure",e)})},n.prototype.submitAnswer=function(){var n=this;this.securityQuestionsAuthService.submitSecurityQuestionAnswer(this.uiHandlerConfig,{userId:this.messageObj.userName,appId:this.messageObj.appId,sessionId:this.messageObj.sessionId,placeholderToken:this.messageObj.placeholderToken,securePlaceholderHash:this.messageObj.securePlaceholderHash,correlationId:this.securityQuestion.correlationId,questionId:this.securityQuestion.questionId,questionAnswer:this.securityQuestion.answer}).subscribe(function(e){n.logger.log("Security question answer validated successfully",e),n.authSuccess({placeholderToken:e.placeholderToken})},function(e){n.handleError(e),n.logger.log("Security question answer validation failure",e)})},n.prototype.handleError=function(n){switch(n.status){case 401:this.authFailure(n.status);break;case 421:case 423:this.authFailure(n.status);break;default:this.systemError=!0,this.errorMessage=this.uiHandlerConfig.labelsAndMessages.systemErr}},n.prototype.authSuccess=function(n){this._window.sendMessageToSDK("secAuthSuccess",n,this.channel)},n.prototype.authFailure=function(n){this._window.sendMessageToSDK("secAuthFailure",{errorCode:n},this.channel),this.analyticsService.pushError({event:"stepup|error|security question",error:{errorMsg:n}})},n.prototype.authLocked=function(n){this._window.sendMessageToSDK("secAuthLocked",{errorCode:n},this.channel)},n.prototype.authCancel=function(){this._window.sendMessageToSDK("secAuthCancel",{},this.channel)},n.prototype.selectOtherAuthenticationMethod=function(){this._window.sendMessageToSDK("secSelAnotherAuth",{},this.channel)},n.prototype.blockCopy=function(n){n.preventDefault()},n}(),zh=Li({encapsulation:2,styles:[],data:{}});function Kh(n){return xu(0,[(n()(),cs(0,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,2,"div",[["class","col-12 col-xs-12 kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,1,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","sq_plswait_msg"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,3,0,e.component.appMessagesLabels.pleaseWaitLbl)})}function Wh(n){return xu(0,[(n()(),cs(0,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,12,"div",[["class","col-12 col-xs-12 kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","sq_answer_lbl"]],null,null,null,null,null)),(n()(),Eu(4,null,["",""])),(n()(),cs(5,0,null,null,8,"input",[["appAutoFocus",""],["autocapitalize","off"],["autocorrect","off"],["class","kds-form__input"],["data-test","sq_answer_input"],["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,"keyup.enter"],[null,"copy"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,6)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,6).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,6)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,6)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.securityQuestion.answer=t)&&l),"keyup.enter"===e&&(l=!1!==r.submitAnswer()&&l),"copy"===e&&(l=!1!==r.blockCopy(t)&&l),l},null,null)),$s(6,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(7,16384,null,0,bd,[],{required:[0,"required"]},null),nu(1024,null,Pp,function(n){return[n]},[bd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(10,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(12,16384,null,0,rd,[[4,zp]],null,null),$s(13,1064960,null,0,Vd,[Kl],{appAutoFocus:[0,"appAutoFocus"]},null)],function(n,e){var t=e.component;n(e,7,0,""),n(e,10,0,t.securityQuestion.answer),n(e,13,0,"")},function(n,e){n(e,4,0,e.component.securityQuestion.challengeQuestionText),n(e,5,0,Vs(e,7).required?"":null,Vs(e,12).ngClassUntouched,Vs(e,12).ngClassTouched,Vs(e,12).ngClassPristine,Vs(e,12).ngClassDirty,Vs(e,12).ngClassValid,Vs(e,12).ngClassInvalid,Vs(e,12).ngClassPending)})}function Gh(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,0,"button",[["class","kds-button kds-button--primary kds-button--small mr-2"],["data-analytics-login","submit"],["data-test","sq_submit_btn"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.submitAnswer()&&l),l},null,null))],null,function(n,e){n(e,2,0,e.component.appMessagesLabels.submitBtn)})}function Zh(n){return xu(0,[(n()(),cs(0,0,null,null,33,"div",[["class","stepup-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","stepup-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"h5",[["data-test","sq_title"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"a",[["class","cancel-btn"],["data-analytics-login","cancel"],["href","javascript:void(0)"],["title","Security Question Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authCancel()&&l),l},null,null)),(n()(),cs(7,0,null,null,26,"div",[["class","stepup-wrapper"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,25,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,24,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,Kh)),$s(11,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(12,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(13,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(14,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(17,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(18,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(19,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_autherror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(20,0,null,null,9,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(21,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(22,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(23,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(24,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(25,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(26,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(27,0,null,null,0,"span",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(28,0,null,null,1,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(29,0,null,null,0,"button",[["class","kds-button kds-button--primary kds-button--small kds-button--block"],["data-test","sq_otherauth_btn"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authCancel()&&l),l},null,null)),(n()(),as(16777216,null,null,1,null,Wh)),$s(31,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Gh)),$s(33,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,11,0,!t.authError&&!t.systemError&&!t.securityQuestion),n(e,31,0,t.securityQuestion&&!t.systemError),n(e,33,0,t.securityQuestion&&!t.systemError)},function(n,e){var t=e.component;n(e,4,0,t.appMessagesLabels.securityQuestionLbl),n(e,6,0,t.appMessagesLabels.cancelBtn),n(e,12,0,!t.authError),n(e,19,0,t.errorMessage),n(e,20,0,!t.systemError),n(e,27,0,t.errorMessage),n(e,29,0,t.appMessagesLabels.tryOtherAuthBtn)})}var Yh=function(){function n(){}return n.prototype.transform=function(n,e){return 2==e||3==e?n:n.length<10?n:"XXX-XXX-"+n.substr(n.length-4)},n}(),Jh=function(){function n(n,e){this.loaderService=n,this.analyticsService=e,this.logger=Td.getInstance("otpAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.authError=!1,this.currentStep="OTP_LIST",this.textTarget=[],this.callTarget=[],this.miscOtpTargets=[],this.securityCode="",this.otpInProgress=!1,this.authType="otp",this.analyticsService.pageLoadStart({pageCategory:"stepup",pageName:"otp request"}),this.analyticsService.push({event:"stepup|display|otp request"})}return n.prototype.ngAfterViewInit=function(){this.analyticsService.pageLoadComplete()},n.prototype.ngOnChanges=function(n){if(this.textTarget=[],this.callTarget=[],this.miscOtpTargets=[],this.authError=!1,this.securityCode="",this.message){if(this.messageObj=JSON.parse(this.message),this.currentStep=this.messageObj.step,this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesLabels=this.uiHandlerConfig.labelsAndMessages,this.possibleTargets=this.messageObj.possibleTargets,this.authType=this.messageObj.authType,"OTP_ENTRY"==this.currentStep&&(this.analyticsService.pageLoadStart({pageCategory:"stepup",pageName:"otp"}),this.analyticsService.push({event:"stepup|display|otp enter"}),this.analyticsService.pageLoadComplete(),this.selectedTarget||(this.selectedTarget=this.messageObj.selectedTarget?this.messageObj.selectedTarget:{})),0!=this.possibleTargets.length)for(var e=0;e<this.possibleTargets.length;e++)1==this.possibleTargets[e]._channel?this.possibleTargets[e]._channelIndex?this.textTarget[this.possibleTargets[e]._channelIndex]=this.possibleTargets[e]:this.textTarget.push(this.possibleTargets[e]):4==this.possibleTargets[e]._channel?this.possibleTargets[e]._channelIndex?this.callTarget[this.possibleTargets[e]._channelIndex]=this.possibleTargets[e]:this.callTarget.push(this.possibleTargets[e]):this.miscOtpTargets.push(this.possibleTargets[e]);this.messageObj.error&&""!=this.messageObj.error&&(this.authError=!0,1==this.messageObj.error._errorCode?this.messageObj.error._data.additional_data&&1==this.messageObj.error._data.additional_data.additional_error_code?this.errorMessage=this.uiHandlerConfig.labelsAndMessages.stepupOutOfBandErrMsgForSessionExpireMsg:(this.errorMessage=this.uiHandlerConfig.labelsAndMessages.stepupOutOfBandErrMsg,this.otpInProgress=!1):this.errorMessage=this.uiHandlerConfig.labelsAndMessages.systemErr,this.analyticsService.pushError({event:"stepup|error|otp enter",error:{errorMsg:this.errorMessage}}))}},n.prototype.sendCode=function(n,e){this.selectedTarget=n,this._window.sendMessageToSDK("otpSendCode",n,this.channel)},n.prototype.requestCode=function(){this._window.sendMessageToSDK("otpResendCode","",this.channel)},n.prototype.submitAuthCode=function(){this._window.sendMessageToSDK("otpSubmitAuthCode",{otp:this.securityCode},this.channel)},n.prototype.authCancel=function(){"OTP_LIST"==this.currentStep?this._window.sendMessageToSDK("otpAuthCancel",{},this.channel):this.currentStep="OTP_LIST"},n.prototype.numberOnly=function(n){var e=n.which?n.which:n.keyCode;return!(e>31&&(e<48||e>57))},n.prototype.selectOtherAuthenticationMethod=function(){this._window.sendMessageToSDK("selectOtherAuthenticationMethod",{},this.channel)},n}(),$h=Li({encapsulation:2,styles:[],data:{}});function Xh(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,3,"div",[["class","col-6 col-xs-6 col-md-6"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"h5",[["class","phone-title"]],null,null,null,null,null)),(n()(),Eu(3,null,[" ","",""])),wu(4,2),(n()(),cs(5,0,null,null,2,"div",[["class","col-6 col-xs-6 col-md-6 text-right"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--default kds-button--small otp-call"],["data-analytics-login","call"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==r.sendCode(r.callTarget[n.context.index],"call")&&l),l},null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small otp-text"],["data-analytics-login","text"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.sendCode(n.context.$implicit,"text")&&l),l},null,null)),(n()(),cs(8,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(9,0,null,null,0,"div",[["class","border-bottom pt-3 mb-3"]],null,null,null,null,null))],null,function(n,e){var t=e.component,l=t.appMessagesLabels.phoneLbl,r=Pi(e,3,1,n(e,4,0,Vs(e.parent.parent,0),e.context.$implicit._description,1));n(e,3,0,l,r),n(e,6,0,t.appMessagesLabels.otpCallLbl),n(e,7,0,t.appMessagesLabels.otpTextLbl)})}function nf(n){return xu(0,[(n()(),cs(0,0,null,null,8,"ngContainer",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,7,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"div",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"h5",[["class","phone-title"]],null,null,null,null,null)),(n()(),Eu(4,null,[" Email: ",""])),wu(5,2),(n()(),cs(6,0,null,null,2,"div",[["class","col-sm-4 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,1,"button",[["class","kds-button kds-button--default kds-button--small otp-text float-right"],["data-analytics-login","text"],["role","button"],["type","button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.sendCode(n.parent.context.$implicit,"email")&&l),l},null,null)),(n()(),Eu(-1,null,["Send email"]))],null,function(n,e){var t=Pi(e,4,0,n(e,5,0,Vs(e.parent.parent.parent,0),e.parent.context.$implicit._description,2));n(e,4,0,t)})}function ef(n){return xu(0,[(n()(),cs(0,0,null,null,8,"ngContainer",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,7,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"div",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"h5",[["class","phone-title"]],null,null,null,null,null)),(n()(),Eu(4,null,["Mobile Push: ",""])),wu(5,2),(n()(),cs(6,0,null,null,2,"div",[["class","col-sm-4 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,1,"button",[["class","kds-button kds-button--default kds-button--small otp-text float-right"],["data-analytics-login","text"],["role","button"],["type","button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.sendCode(n.parent.context.$implicit,"push")&&l),l},null,null)),(n()(),Eu(-1,null,["Mobile Push"]))],null,function(n,e){var t=Pi(e,4,0,n(e,5,0,Vs(e.parent.parent.parent,0),e.parent.context.$implicit._description,3));n(e,4,0,t)})}function tf(n){return xu(0,[(n()(),cs(0,0,null,null,8,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"ngContainer",[],null,null,null,null,null)),$s(2,16384,null,0,dc,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),as(16777216,null,null,1,null,nf)),$s(4,278528,null,0,hc,[Fo,Rr,dc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),as(16777216,null,null,1,null,ef)),$s(6,278528,null,0,hc,[Fo,Rr,dc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),cs(7,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(8,0,null,null,0,"div",[["class","border-bottom pt-3 mb-3"]],null,null,null,null,null))],function(n,e){n(e,2,0,e.context.$implicit._channel),n(e,4,0,2),n(e,6,0,3)},null)}function lf(n){return xu(0,[(n()(),cs(0,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,Xh)),$s(3,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),(n()(),as(16777216,null,null,1,null,tf)),$s(5,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),(n()(),cs(6,0,null,null,1,"p",[["class","mt-2"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),Eu(-1,null,["."]))],function(n,e){var t=e.component;n(e,3,0,t.textTarget),n(e,5,0,t.miscOtpTargets)},function(n,e){var t=e.component;n(e,1,0,t.appMessagesLabels.otpCodeSlectionDescriptionMsg),n(e,6,0,t.appMessagesLabels.otpRatesDescriptionMsg)})}function rf(n){return xu(0,[(n()(),cs(0,0,null,null,9,"input",[["appAutoFocus",""],["class","ssn-input kds-form__input"],["maxlength","6"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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,"keypress"],[null,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,1)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,1).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,1)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,1)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.securityCode=t)&&l),"keypress"===e&&(l=!1!==r.numberOnly(t)&&l),"keydown.enter"===e&&(l=!1!==r.submitAuthCode()&&l),l},null,null)),$s(1,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(2,16384,null,0,bd,[],{required:[0,"required"]},null),$s(3,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(6,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(8,16384,null,0,rd,[[4,zp]],null,null),$s(9,1064960,null,0,Vd,[Kl],{appAutoFocus:[0,"appAutoFocus"]},null)],function(n,e){var t=e.component;n(e,2,0,""),n(e,3,0,"6"),n(e,6,0,t.securityCode),n(e,9,0,"")},function(n,e){n(e,0,0,Vs(e,2).required?"":null,Vs(e,3).maxlength?Vs(e,3).maxlength:null,Vs(e,8).ngClassUntouched,Vs(e,8).ngClassTouched,Vs(e,8).ngClassPristine,Vs(e,8).ngClassDirty,Vs(e,8).ngClassValid,Vs(e,8).ngClassInvalid,Vs(e,8).ngClassPending)})}function of(n){return xu(0,[(n()(),cs(0,0,null,null,10,"input",[["appAutoFocus",""],["class","kds-form__input"],["inputmode","numeric"],["maxlength","6"],["pattern","[0-9]*"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,1)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,1).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,1)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,1)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.securityCode=t)&&l),"keydown.enter"===e&&(l=!1!==r.submitAuthCode()&&l),l},null,null)),$s(1,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(2,16384,null,0,bd,[],{required:[0,"required"]},null),$s(3,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(4,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(7,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(9,16384,null,0,rd,[[4,zp]],null,null),$s(10,1064960,null,0,Vd,[Kl],{appAutoFocus:[0,"appAutoFocus"]},null)],function(n,e){var t=e.component;n(e,2,0,""),n(e,3,0,"6"),n(e,4,0,"[0-9]*"),n(e,7,0,t.securityCode),n(e,10,0,"")},function(n,e){n(e,0,0,Vs(e,2).required?"":null,Vs(e,3).maxlength?Vs(e,3).maxlength:null,Vs(e,4).pattern?Vs(e,4).pattern:null,Vs(e,9).ngClassUntouched,Vs(e,9).ngClassTouched,Vs(e,9).ngClassPristine,Vs(e,9).ngClassDirty,Vs(e,9).ngClassValid,Vs(e,9).ngClassInvalid,Vs(e,9).ngClassPending)})}function sf(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","mt-4"],["data-analytics-login","call"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.appMessagesLabels.callCenterOptionLbl)})}function uf(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","mt-4"],["data-analytics-login","call"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.appMessagesLabels.callCenterOptionSimpleLbl)})}function af(n){return xu(0,[(n()(),cs(0,0,null,null,22,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,21,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,4,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),cs(5,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),Eu(6,null,[""," ","."])),wu(7,2),(n()(),cs(8,0,null,null,7,"div",[["class","col-12 col-xs-12 col-md-7"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,6,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(10,0,null,null,1,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,rf)),$s(13,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,of)),$s(15,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(16,0,null,null,6,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(17,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--primary kds-button--small"],["data-analytics-login","continue"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(r.submitAuthCode(),l=0!=(r.otpInProgress=!0)&&l),l},null,null)),(n()(),cs(18,0,null,null,0,"button",[["class","kds-button kds-button--flat kds-button--small"],["data-analytics-login","request a new code"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode()&&l),l},null,null)),(n()(),as(16777216,null,null,1,null,sf)),$s(20,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,uf)),$s(22,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,13,0,"WEB"===t.channel),n(e,15,0,"WEB"!==t.channel),n(e,20,0,"WEB"===t.channel),n(e,22,0,"WEB"!==t.channel)},function(n,e){var t=e.component,l=t.appMessagesLabels.otpConfirmationDescriptionMsg,r=Pi(e,6,1,n(e,7,0,Vs(e.parent,0),t.selectedTarget._description,t.selectedTarget._channel));n(e,6,0,l,r),n(e,11,0,t.appMessagesLabels.enterOtpCodeLbl),n(e,17,0,t.otpInProgress,t.securityCode.length<4,t.appMessagesLabels.continueBtn),n(e,18,0,t.appMessagesLabels.requestNewOtpCodeLbl)})}function cf(n){return xu(0,[Xs(0,Yh,[]),(n()(),cs(1,0,null,null,19,"div",[["class","stepup-container"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,5,"div",[["class","stepup-header"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,"h5",[["data-test","sq_title"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(6,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"a",[["class","cancel-btn"],["data-analytics-login","cancel"],["href","javascript:void(0)"],["title","OTP Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authCancel()&&l),l},null,null)),(n()(),cs(8,0,null,null,12,"div",[["class","stepup-wrapper"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(10,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(12,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(13,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(14,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,lf)),$s(18,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,af)),$s(20,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,18,0,"OTP_LIST"==t.currentStep),n(e,20,0,"OTP_ENTRY"==t.currentStep)},function(n,e){var t=e.component;n(e,5,0,t.appMessagesLabels.outOfBandOptionLbl),n(e,7,0,t.appMessagesLabels.cancelBtn),n(e,9,0,!t.authError),n(e,16,0,t.errorMessage)})}var pf=function(){function n(n,e){this.loaderService=n,this.analyticsService=e,this.logger=Td.getInstance("otacAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.authError=!1,this.currentStep="OTAC",this.securityCode="",this.otacInProgress=!1,this.analyticsService.pageLoadStart({pageCategory:"stepup",pageName:"otac request"}),this.analyticsService.push({event:"stepup|display|otac request"})}return n.prototype.ngAfterViewInit=function(){this.analyticsService.pageLoadComplete()},n.prototype.ngOnChanges=function(n){this.authError=!1,this.securityCode="",this.message&&(this.messageObj=JSON.parse(this.message),this.currentStep=this.messageObj.step,this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesLabels=this.uiHandlerConfig.labelsAndMessages,this.analyticsService.pageLoadStart({pageCategory:"stepup",pageName:"otac"}),this.analyticsService.push({event:"stepup|display|otac enter"}),this.analyticsService.pageLoadComplete(),this.messageObj.error&&""!=this.messageObj.error&&(this.authError=!0,1==this.messageObj.error._errorCode?this.messageObj.error._data.additional_data&&1==this.messageObj.error._data.additional_data.additional_error_code?this.errorMessage=this.uiHandlerConfig.labelsAndMessages.stepupOutOfBandErrMsgForSessionExpireMsg:(this.errorMessage=this.uiHandlerConfig.labelsAndMessages.stepupOutOfBandErrMsg,this.otacInProgress=!1):this.errorMessage=this.uiHandlerConfig.labelsAndMessages.systemErr,this.analyticsService.pushError({event:"stepup|error|otac enter",error:{errorMsg:this.errorMessage}})))},n.prototype.submitAuthCode=function(){this._window.sendMessageToSDK("otpSubmitAuthCode",{otp:this.securityCode},this.channel)},n.prototype.authCancel=function(){this._window.sendMessageToSDK("otpAuthCancel",{},this.channel)},n.prototype.numberOnly=function(n){var e=n.which?n.which:n.keyCode;return!(e>31&&(e<48||e>57))},n}(),df=Li({encapsulation:2,styles:[],data:{}});function hf(n){return xu(0,[(n()(),cs(0,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,7,0,e.component.errorMessage)})}function ff(n){return xu(0,[(n()(),cs(0,0,null,null,9,"input",[["appAutoFocus",""],["class","ssn-input kds-form__input"],["maxlength","12"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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,"keypress"],[null,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,1)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,1).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,1)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,1)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.securityCode=t)&&l),"keypress"===e&&(l=!1!==r.numberOnly(t)&&l),"keydown.enter"===e&&(l=!1!==r.submitAuthCode()&&l),l},null,null)),$s(1,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(2,16384,null,0,bd,[],{required:[0,"required"]},null),$s(3,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(6,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(8,16384,null,0,rd,[[4,zp]],null,null),$s(9,1064960,null,0,Vd,[Kl],{appAutoFocus:[0,"appAutoFocus"]},null)],function(n,e){var t=e.component;n(e,2,0,""),n(e,3,0,"12"),n(e,6,0,t.securityCode),n(e,9,0,"")},function(n,e){n(e,0,0,Vs(e,2).required?"":null,Vs(e,3).maxlength?Vs(e,3).maxlength:null,Vs(e,8).ngClassUntouched,Vs(e,8).ngClassTouched,Vs(e,8).ngClassPristine,Vs(e,8).ngClassDirty,Vs(e,8).ngClassValid,Vs(e,8).ngClassInvalid,Vs(e,8).ngClassPending)})}function gf(n){return xu(0,[(n()(),cs(0,0,null,null,10,"input",[["appAutoFocus",""],["class","kds-form__input"],["inputmode","numeric"],["maxlength","12"],["pattern","[0-9]*"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,1)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,1).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,1)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,1)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.securityCode=t)&&l),"keydown.enter"===e&&(l=!1!==r.submitAuthCode()&&l),l},null,null)),$s(1,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(2,16384,null,0,bd,[],{required:[0,"required"]},null),$s(3,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(4,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(7,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(9,16384,null,0,rd,[[4,zp]],null,null),$s(10,1064960,null,0,Vd,[Kl],{appAutoFocus:[0,"appAutoFocus"]},null)],function(n,e){var t=e.component;n(e,2,0,""),n(e,3,0,"12"),n(e,4,0,"[0-9]*"),n(e,7,0,t.securityCode),n(e,10,0,"")},function(n,e){n(e,0,0,Vs(e,2).required?"":null,Vs(e,3).maxlength?Vs(e,3).maxlength:null,Vs(e,4).pattern?Vs(e,4).pattern:null,Vs(e,9).ngClassUntouched,Vs(e,9).ngClassTouched,Vs(e,9).ngClassPristine,Vs(e,9).ngClassDirty,Vs(e,9).ngClassValid,Vs(e,9).ngClassInvalid,Vs(e,9).ngClassPending)})}function mf(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","mt-4"],["data-analytics-login","text"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.appMessagesLabels.callCenterOptionLbl)})}function yf(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","mt-4"],["data-analytics-login","text"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.appMessagesLabels.callCenterOptionSimpleLbl)})}function vf(n){return xu(0,[(n()(),cs(0,0,null,null,25,"div",[["class","stepup-container container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","row stepup-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"h5",[["data-test","sq_title"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(4,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,"a",[["class","cancel-btn pt-1"],["data-analytics-login","cancel"],["href","javascript:void(0)"],["title","OTAC Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authCancel()&&l),l},null,null)),(n()(),cs(6,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,18,"div",[["class","col-12 col-xs-12 stepup-wrapper"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,hf)),$s(9,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(10,0,null,null,9,"div",[["class","col-12 col-xs-12 col-md-10"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,8,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(12,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Eu(-1,null,["Please enter your One-Time Access Code."])),(n()(),cs(14,0,null,null,1,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,ff)),$s(17,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,gf)),$s(19,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(20,0,null,null,5,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(21,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--primary kds-button--small"],["data-analytics-login","continue"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(r.submitAuthCode(),l=0!=(r.otacInProgress=!0)&&l),l},null,null)),(n()(),as(16777216,null,null,1,null,mf)),$s(23,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,yf)),$s(25,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,9,0,t.authError),n(e,17,0,"WEB"===t.channel),n(e,19,0,"WEB"!==t.channel),n(e,23,0,"WEB"===t.channel),n(e,25,0,"WEB"!==t.channel)},function(n,e){var t=e.component;n(e,3,0,t.appMessagesLabels.oneTimeAccessCode),n(e,5,0,t.appMessagesLabels.cancelBtn),n(e,15,0,t.appMessagesLabels.enterOtacCodeLbl),n(e,21,0,t.otacInProgress,t.securityCode.length<9,t.appMessagesLabels.continueBtn)})}var bf=function(){function n(){this.logger=Td.getInstance("ChangePasswordComponent"),this._window=window,this.channel="WEB",this.message="",this.currentPassword="",this.password="",this.confirmPassword="",this.showText=!1,this.messageObj={},this.uiHandlerConfig={},this.formSessionName="",this.authError=!1,this.userId="",this.validationResult={pwd1LengthValidationLbl:!1,pwd2MinOneNumberValidationLbl:!1,pwd3MinOnLetterValidationLbl:!1,pwd5UserAndPasswordMatchLbl:!1,pwd6ConsecutiveCharMatchLbl:!1,pwd4SpecialCharLbl:!1,pwdMatchLbl:!1},this.formName="",this.showPassword="password",this.pwdRulesNotMatched=!0,this.resetPasswordValidation()}return n.prototype.ngOnChanges=function(n){this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,this.formSessionName=this.messageObj.formContext,this.formTitle(),this.messageObj.error&&(this.authError=!0,this.errorMessage=this.getErrorMessage()),this.pwdRulesNotMatched=!0,this.userId=this.messageObj.userId)},n.prototype.ngAfterViewInit=function(){"Change_Password_Session"==this.formSessionName&&this.currentPwdTxt&&this.currentPwdTxt.nativeElement?this.currentPwdTxt.nativeElement.focus():this.newPwdTxt&&this.newPwdTxt.nativeElement&&this.newPwdTxt.nativeElement.focus()},n.prototype.formTitle=function(){var n="";switch(this.formSessionName){case"Change_Password_Session":n=this.appMessagesAndLabels.changePasswordTxt;break;case"Forgot_Password_Session":n=this.appMessagesAndLabels.forgotPasswordTxt;break;case"User_Unlock_Session":case"Force_Password_Change_Session":n=this.appMessagesAndLabels.changePasswordTxt}this.formName=n},n.prototype.isAnAcceptablePassword=function(){var n=!0;if(this.password===this.confirmPassword){for(var e in this.validationResult)if(!this.validationResult[e]){n=!1;break}return n}return this.logger.log("Password and confirm password not matches"),!1},n.prototype.validatePasswordRules=function(n){var e=n.length>=8,t=/^(?=.*[0-9])+/g.test(n),l=/^(?=.*[a-zA-Z])+/g.test(n),r=/^(?=.*[!@\$%\^&\*])+/g.test(n),o=/^[a-zA-Z0-9!@$%^&*]+$/.test(n),i=!/\s/g.test(n),s=r&&o&&i,u=this.userId.toUpperCase()!==n.toUpperCase(),a=n.length>3&&!/(.)\1\1/.test(n);this.validationResult={pwd1LengthValidationLbl:e,pwd2MinOneNumberValidationLbl:t,pwd3MinOnLetterValidationLbl:l,pwd5UserAndPasswordMatchLbl:u,pwd6ConsecutiveCharMatchLbl:a,pwd4SpecialCharLbl:s,pwdMatchLbl:this.password.length&&this.confirmPassword.length&&this.password===this.confirmPassword},this.isPasswordRulesMatched()},n.prototype.isPasswordRulesMatched=function(){var n=!1;if("Change_Password_Session"!=this.formSessionName||this.currentPassword&&this.password.length&&this.confirmPassword.length){for(var e in this.validationResult)if(!this.validationResult[e]){n=!0;break}}else n=!0;this.pwdRulesNotMatched=n},n.prototype.resetPasswordValidation=function(){this.validationResult={pwd1LengthValidationLbl:!1,pwd2MinOneNumberValidationLbl:!1,pwd3MinOnLetterValidationLbl:!1,pwd5UserAndPasswordMatchLbl:!1,pwd6ConsecutiveCharMatchLbl:!1,pwd4SpecialCharLbl:!1,pwdMatchLbl:!1}},n.prototype.onPwdChange=function(n){this.authError=!1,this.validatePasswordRules(n)},n.prototype.onCurrentPwdChange=function(n){this.authError=!1,this.validatePasswordRules(this.password)},n.prototype.authenticate=function(){this.isAnAcceptablePassword()&&!this.pwdRulesNotMatched&&("Change_Password_Session"===this.formSessionName?this.currentPassword===this.confirmPassword?(this.resetPasswordValidation(),this.pwdRulesNotMatched=!0,this.authError=!0,this.errorMessage=this.appMessagesAndLabels.oldAndNewSamePasswordError,this.scrollToTop()):(this.pwdRulesNotMatched=!0,this._window.sendMessageToSDK("pwdChangeFormSessionSubmit",{currentPassword:this.currentPassword,password:this.confirmPassword},this.channel)):(this.pwdRulesNotMatched=!0,this._window.sendMessageToSDK("pwdChangeFormSessionSubmit",{password:this.confirmPassword},this.channel)))},n.prototype.cancel=function(){this._window.sendMessageToSDK("pwdChangeFormSessionCancel",{},this.channel)},n.prototype.onShowHidePassword=function(n){this.showPassword=n.target.checked?"text":"password"},n.prototype.getErrorMessage=function(){var n=this.appMessagesAndLabels.systemErr;switch(this.messageObj.error.status){case"DUPLICATE_ERROR":n=this.appMessagesAndLabels.changePasswordDuplicateError;break;case"VALIDATION_ERROR":n=this.appMessagesAndLabels.changePasswordValidationError;break;case"INVALID_CURRENT_PASSWORD":n=this.appMessagesAndLabels.changePasswordInvalidPasswordError;break;case"LOCKED":n=this.appMessagesAndLabels.changePasswordLockedError}return this.scrollToTop(),n},n.prototype.scrollToTop=function(){"WEB"!==this.channel&&window.scrollTo(0,0)},n}(),_f=Li({encapsulation:2,styles:[],data:{}});function wf(n){return xu(0,[(n()(),cs(0,0,null,null,13,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,11,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"label",[["class","kds-form__label"],["for","current-password"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],null,null,null,null,null)),(n()(),Eu(-1,null,["Current Password"])),(n()(),cs(5,0,[[1,0],["currentPwdTxt",1]],null,7,"input",[["autocapitalize","off"],["autocomplete","new-password"],["autocorrect","off"],["class","kds-form__input"],["data-test","current-pwd"],["id","current-password"],["maxlength","30"],["name","password"]],[[8,"type",0],[1,"maxlength",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,"input"],[null,"ngModelChange"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,6)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,6).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,6)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,6)._compositionEnd(t.target.value)&&l),"input"===e&&(l=!1!==r.isPasswordRulesMatched()&&l),"ngModelChange"===e&&(l=!1!==(r.currentPassword=t)&&l),"input"===e&&(l=!1!==r.onCurrentPwdChange(t.target.value)&&l),l},null,null)),$s(6,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(7,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n){return[n]},[_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(10,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(12,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(13,0,null,null,0,"hr",[],null,null,null,null,null))],function(n,e){var t=e.component;n(e,7,0,"30"),n(e,10,0,"password",t.currentPassword)},function(n,e){n(e,5,0,ss(1,"",e.component.showPassword,""),Vs(e,7).maxlength?Vs(e,7).maxlength:null,Vs(e,12).ngClassUntouched,Vs(e,12).ngClassTouched,Vs(e,12).ngClassPristine,Vs(e,12).ngClassDirty,Vs(e,12).ngClassValid,Vs(e,12).ngClassInvalid,Vs(e,12).ngClassPending)})}function Cf(n){return xu(0,[(n()(),cs(0,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m pwd-validation-tick-icon"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#check"],["class","pwd-validation-tick-icon"]],null,null,null,null,null))],null,null)}function kf(n){return xu(0,[(n()(),cs(0,0,null,null,5,"li",[],null,null,null,null,null)),$s(1,278528,null,0,rc,[ii,si,Kl,Jl],{ngClass:[0,"ngClass"]},null),Cu(2,{"pwd-tick":0}),(n()(),as(16777216,null,null,1,null,Cf)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(5,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){var t=n(e,2,0,e.context.$implicit.value);n(e,1,0,t),n(e,4,0,e.context.$implicit.value)},function(n,e){n(e,5,0,e.component.appMessagesAndLabels[e.context.$implicit.key])})}function Ef(n){return xu(0,[(n()(),cs(0,0,null,null,60,"div",[["class","changepwd-wrapper"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(2,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(9,0,null,null,51,"div",[["class","row"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,wf)),$s(11,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(12,0,null,null,1,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(13,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(14,0,null,null,38,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,11,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,1,"label",[["class","kds-form__label"],["for","new-password"]],null,null,null,null,null)),(n()(),cs(17,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(18,0,[[2,0],["newPwdTxt",1]],null,8,"input",[["autocapitalize","off"],["autocomplete","new-password"],["autocorrect","off"],["class","kds-form__input"],["data-test","new-pwd"],["id","new-password"],["maxlength","30"],["name","password"],["required",""]],[[8,"type",0],[1,"required",0],[1,"maxlength",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(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,19)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,19).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,19)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,19)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.password=t)&&l),"input"===e&&(l=!1!==r.onPwdChange(t.target.value)&&l),l},null,null)),$s(19,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(20,16384,null,0,bd,[],{required:[0,"required"]},null),$s(21,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(24,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(26,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(27,0,null,null,11,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(28,0,null,null,1,"label",[["class","kds-form__label"],["for","confirm-new-password"]],null,null,null,null,null)),(n()(),cs(29,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(30,0,null,null,8,"input",[["autocapitalize","off"],["autocorrect","off"],["class","kds-form__input"],["data-test","confirm-new-pwd"],["id","confirm-new-password"],["maxlength","30"],["required",""]],[[8,"type",0],[1,"required",0],[1,"maxlength",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,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,31)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,31).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,31)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,31)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.confirmPassword=t)&&l),"keydown.enter"===e&&(l=!1!==r.authenticate()&&l),"input"===e&&(l=!1!==r.onPwdChange(t.target.value)&&l),l},null,null)),$s(31,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(32,16384,null,0,bd,[],{required:[0,"required"]},null),$s(33,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(36,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(38,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(39,0,null,null,13,"label",[["class","kds-form__checkbox changepwd-showtxt"],["for","i-accept-the-terms-and-conditions--36602"]],null,null,null,null,null)),(n()(),cs(40,0,null,null,5,"input",[["class","kds-form__checkbox-input"],["id","i-accept-the-terms-and-conditions--36602"],["type","checkbox"]],[[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(n,e,t){var l=!0,r=n.component;return"change"===e&&(l=!1!==Vs(n,41).onChange(t.target.checked)&&l),"blur"===e&&(l=!1!==Vs(n,41).onTouched()&&l),"change"===e&&(l=!1!==r.onShowHidePassword(t)&&l),"ngModelChange"===e&&(l=!1!==(r.showText=t)&&l),l},null,null)),$s(41,16384,null,0,jp,[Jl,Kl],null,null),nu(1024,null,Up,function(n){return[n]},[jp]),$s(43,671744,null,0,vd,[[8,null],[8,null],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(45,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(46,0,null,null,6,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),cs(47,0,null,null,4,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),cs(48,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(49,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#check"]],null,null,null,null,null)),(n()(),cs(50,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(51,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#minus"]],null,null,null,null,null)),(n()(),cs(52,0,null,null,0,"span",[["class","kds-form__checkbox-text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(53,0,null,null,1,"div",[["class","col-12 col-xs-12 text-right"]],null,null,null,null,null)),(n()(),cs(54,0,null,null,0,"button",[["class","kds-button kds-button--primary"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticate()&&l),l},null,null)),(n()(),cs(55,0,null,null,5,"div",[["class","col-12 col-xs-12 newpwd-require-block"]],null,null,null,null,null)),(n()(),cs(56,0,null,null,3,"ul",[],null,null,null,null,null)),(n()(),as(16777216,null,null,2,null,kf)),$s(58,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),Xs(0,fc,[si]),(n()(),cs(60,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){var t=e.component;n(e,11,0,"Change_Password_Session"==t.formSessionName),n(e,20,0,""),n(e,21,0,"30"),n(e,24,0,"password",t.password),n(e,32,0,""),n(e,33,0,"30"),n(e,36,0,t.confirmPassword),n(e,43,0,t.showText),n(e,58,0,Pi(e,58,0,Vs(e,59).transform(t.validationResult)))},function(n,e){var t=e.component;n(e,1,0,!t.authError),n(e,8,0,t.errorMessage),n(e,13,0,t.appMessagesAndLabels.createNewPasswordLbl),n(e,17,0,t.appMessagesAndLabels.newPasswordLbl),n(e,18,0,ss(1,"",t.showPassword,""),Vs(e,20).required?"":null,Vs(e,21).maxlength?Vs(e,21).maxlength:null,Vs(e,26).ngClassUntouched,Vs(e,26).ngClassTouched,Vs(e,26).ngClassPristine,Vs(e,26).ngClassDirty,Vs(e,26).ngClassValid,Vs(e,26).ngClassInvalid,Vs(e,26).ngClassPending),n(e,29,0,t.appMessagesAndLabels.confirmPasswordLbl),n(e,30,0,ss(1,"",t.showPassword,""),Vs(e,32).required?"":null,Vs(e,33).maxlength?Vs(e,33).maxlength:null,Vs(e,38).ngClassUntouched,Vs(e,38).ngClassTouched,Vs(e,38).ngClassPristine,Vs(e,38).ngClassDirty,Vs(e,38).ngClassValid,Vs(e,38).ngClassInvalid,Vs(e,38).ngClassPending),n(e,40,0,Vs(e,45).ngClassUntouched,Vs(e,45).ngClassTouched,Vs(e,45).ngClassPristine,Vs(e,45).ngClassDirty,Vs(e,45).ngClassValid,Vs(e,45).ngClassInvalid,Vs(e,45).ngClassPending),n(e,52,0,t.appMessagesAndLabels.showTextChk),n(e,54,0,t.pwdRulesNotMatched,t.appMessagesAndLabels.submitBtn),n(e,60,0,t.appMessagesAndLabels.caseSensitiveNote)})}function Sf(n){return xu(0,[gu(671088640,1,{currentPwdTxt:0}),gu(671088640,2,{newPwdTxt:0}),(n()(),cs(2,0,null,null,9,"div",[["class","changepwd-container mb-4"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,6,"div",[["class","changepwd-header"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,5,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,2,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Eu(7,null,["",""])),(n()(),cs(8,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,0,"a",[["class","cancel-btn"],["href","javascript:void(0)"],["title","Change Password Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancel()&&l),l},null,null)),(n()(),as(16777216,null,null,1,null,Ef)),$s(11,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,11,0,"Change_Password_Session"==t.formSessionName||"Forgot_Password_Session"==t.formSessionName||"User_Unlock_Session"==t.formSessionName||"Force_Password_Change_Session"==t.formSessionName)},function(n,e){var t=e.component;n(e,7,0,t.formName),n(e,9,0,t.appMessagesAndLabels.cancelBtn)})}var Tf=function(){function n(){this.logger=Td.getInstance("ForgotUserIDComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.formSessionName="",this.formName="",this.selectedAuthMethod="d",this.formError=!1,this.accountNumber="",this.debitCardNumber="",this.debitPin="",this.passwordType="password",this.isKEY=!1,this._window.KeyCommonTkt.analytics.pageLoadStart({pageCategory:"login",pageName:"account verification",subCategory:"forgot credentials",subCategory2:"user id"}),this._window.KeyCommonTkt.analytics.push({event:"forgot user|display|account verification"})}return n.prototype.ngOnChanges=function(n){this.isKEY=this._window.KeyCommonTkt.getBrandIdentifier()===this._window.KeyCommonTkt.BRAND_KEY,this.selectedAuthMethod=this.isKEY?"d":"a",this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,this.formSessionName=this.messageObj.formContext,this.formTitle(),this.messageObj.error&&(this.formError=!0,this.errorMessage=this.getErrorMessage()))},n.prototype.ngAfterViewInit=function(){this._window.KeyCommonTkt.analytics.pageLoadComplete()},n.prototype.formTitle=function(){var n="";"Forgot_UserId_Session"==this.formSessionName&&(n="Verification"),this.formName=n},n.prototype.formDataSubmit=function(){"Forgot_UserId_Session"===this.formSessionName&&this._window.sendMessageToSDK("forgotUserIdFormSessionSubmit",{method:this.selectedAuthMethod,accountNumber:this.accountNumber,debitCard:this.debitCardNumber,pin:this.debitPin},this.channel)},n.prototype.cancel=function(){this._window.sendMessageToSDK("forgotUserIdFormSessionCancel",{},this.channel)},n.prototype.showHideData=function(n){this.passwordType=n.target.checked?"text":"password"},n.prototype.switchAuthMethod=function(n){this.selectedAuthMethod=n.target.value,"d"==this.selectedAuthMethod&&(this.passwordType="password")},n.prototype.getErrorMessage=function(){return this.appMessagesAndLabels.systemErr},n.prototype.navigateForgotApp=function(){this.cancel()},n.prototype.onContinue=function(){this.formDataSubmit()},n.prototype.numberOnly=function(n){var e=n.which?n.which:n.keyCode;return!(e>31&&(e<48||e>57))},n.prototype.alphaNumericOnly=function(n){var e=n.which?n.which:n.keyCode;return e>47&&e<58||e>64&&e<91||e>96&&e<123},n}(),xf=Li({encapsulation:2,styles:[],data:{}});function Of(n){return xu(0,[(n()(),cs(0,0,null,null,5,"label",[["class","kds-form__radio-button mt-1"],["for","credit-card"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"input",[["class","kds-form__radio-button-input"],["id","credit-card"],["name","method"],["type","radio"],["value","d"]],[[8,"checked",0]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.switchAuthMethod(t)&&l),l},null,null)),(n()(),cs(2,0,null,null,3,"span",[["class","kds-form__radio-button-visible-wrap"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"span",[["class","kds-form__radio-button-visual"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,"span",[["class","kds-form__radio-button-text "]],null,null,null,null,null)),(n()(),Eu(-1,null,["Debit card number"]))],null,function(n,e){n(e,1,0,"d"==e.component.selectedAuthMethod)})}function Af(n){return xu(0,[(n()(),cs(0,0,null,null,28,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,13,"div",[["class","kds-form__field-group mt-1"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"label",[["class","kds-form__label"],["for","logPwdTxt"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","si_pwd_lbl"]],null,null,null,null,null)),(n()(),Eu(-1,null,["Debit Card (Last 4 Digits)"])),(n()(),cs(5,0,null,null,9,"input",[["autocapitalize","off"],["autocorrect","off"],["autofocus",""],["class","ssn-input kds-form__input"],["inputmode","numeric"],["maxlength","4"],["name","inputDebitCard"],["pattern","[0-9]*"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,6)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,6).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,6)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,6)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.debitCardNumber=t)&&l),"keypress"===e&&(l=!1!==r.numberOnly(t)&&l),l},null,null)),$s(6,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(7,16384,null,0,bd,[],{required:[0,"required"]},null),$s(8,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(9,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(12,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(14,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(15,0,null,null,13,"div",[["class","kds-form__field-group mt-1"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,2,"label",[["class","kds-form__label"],["for","logPwdTxt"]],null,null,null,null,null)),(n()(),cs(17,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","si_pwd_lbl"]],null,null,null,null,null)),(n()(),Eu(-1,null,["Debit card PIN"])),(n()(),cs(19,0,[["logPwdTxt",1]],null,9,"input",[["autocapitalize","off"],["autocorrect","off"],["class","ssn-input kds-form__input"],["data-test","log_pwd_txt"],["id","logPwdTxt"],["inputmode","numeric"],["maxlength","4"],["name","inputPin"],["pattern","[0-9]*"],["required",""]],[[8,"type",0],[1,"required",0],[1,"maxlength",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,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,20)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.debitPin=t)&&l),"keypress"===e&&(l=!1!==r.numberOnly(t)&&l),l},null,null)),$s(20,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(21,16384,null,0,bd,[],{required:[0,"required"]},null),$s(22,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(23,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(26,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(28,16384,null,0,rd,[[4,zp]],null,null)],function(n,e){var t=e.component;n(e,7,0,""),n(e,8,0,"4"),n(e,9,0,"[0-9]*"),n(e,12,0,"inputDebitCard",t.debitCardNumber),n(e,21,0,""),n(e,22,0,"4"),n(e,23,0,"[0-9]*"),n(e,26,0,"inputPin",t.debitPin)},function(n,e){var t=e.component;n(e,5,0,Vs(e,7).required?"":null,Vs(e,8).maxlength?Vs(e,8).maxlength:null,Vs(e,9).pattern?Vs(e,9).pattern:null,Vs(e,14).ngClassUntouched,Vs(e,14).ngClassTouched,Vs(e,14).ngClassPristine,Vs(e,14).ngClassDirty,Vs(e,14).ngClassValid,Vs(e,14).ngClassInvalid,Vs(e,14).ngClassPending),n(e,19,1,[ss(1,"",t.passwordType,""),Vs(e,21).required?"":null,Vs(e,22).maxlength?Vs(e,22).maxlength:null,Vs(e,23).pattern?Vs(e,23).pattern:null,Vs(e,28).ngClassUntouched,Vs(e,28).ngClassTouched,Vs(e,28).ngClassPristine,Vs(e,28).ngClassDirty,Vs(e,28).ngClassValid,Vs(e,28).ngClassInvalid,Vs(e,28).ngClassPending])})}function If(n){return xu(0,[(n()(),cs(0,0,null,null,14,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,13,"div",[["class","kds-form__field-group mt-1"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"label",[["class","kds-form__label"],["for","logPwdTxt"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","si_pwd_lbl"]],null,null,null,null,null)),(n()(),Eu(-1,null,["Account or Credit card number"])),(n()(),cs(5,0,[["logPwdTxt",1]],null,9,"input",[["autocapitalize","off"],["autocorrect","off"],["autofocus",""],["class","ssn-input kds-form__input"],["data-test","log_pwd_txt"],["id","logPwdTxt"],["inputmode","numeric"],["maxlength","21"],["name","inputAccountNumber"],["pattern","[0-9]*"],["required",""]],[[8,"type",0],[1,"required",0],[1,"maxlength",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,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,6)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,6).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,6)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,6)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.accountNumber=t)&&l),"keypress"===e&&(l=!1!==r.alphaNumericOnly(t)&&l),l},null,null)),$s(6,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(7,16384,null,0,bd,[],{required:[0,"required"]},null),$s(8,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(9,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(12,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(14,16384,null,0,rd,[[4,zp]],null,null)],function(n,e){var t=e.component;n(e,7,0,""),n(e,8,0,"21"),n(e,9,0,"[0-9]*"),n(e,12,0,"inputAccountNumber",t.accountNumber)},function(n,e){n(e,5,1,[ss(1,"",e.component.passwordType,""),Vs(e,7).required?"":null,Vs(e,8).maxlength?Vs(e,8).maxlength:null,Vs(e,9).pattern?Vs(e,9).pattern:null,Vs(e,14).ngClassUntouched,Vs(e,14).ngClassTouched,Vs(e,14).ngClassPristine,Vs(e,14).ngClassDirty,Vs(e,14).ngClassValid,Vs(e,14).ngClassInvalid,Vs(e,14).ngClassPending])})}function Pf(n){return xu(0,[(n()(),cs(0,0,null,null,9,"label",[["class","kds-form__checkbox mt-1"],["for","logUidRem"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"input",[["class","kds-form__checkbox-input"],["data-analytics","action_cl|rememberMe"],["data-test","si_show_pin"],["id","logUidRem"],["type","checkbox"]],[[8,"checked",0]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.showHideData(t)&&l),l},null,null)),(n()(),cs(2,0,null,null,7,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,4,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#check"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#minus"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,1,"span",[["class","kds-form__checkbox-text"]],null,null,null,null,null)),(n()(),Eu(-1,null,[" Show account number"]))],null,function(n,e){n(e,1,0,"text"===e.component.passwordType)})}function Mf(n){return xu(0,[(n()(),cs(0,0,null,null,36,"div",[["class","forgotuid-wrapper"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(2,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(9,0,null,null,14,"div",[["class","forgot-method-select-block"]],null,null,null,null,null)),(n()(),cs(10,0,null,null,13,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Eu(-1,null,["We can still help you regain access to online banking by verifying your identity with some account info. "])),(n()(),cs(13,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Eu(-1,null,["Choose one of the options below to begin"])),(n()(),cs(15,0,null,null,8,"fieldset",[["class","kds-form__radio-button-group kds-form__radio-button-group--horizontal"],["role","radiogroup"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,Of)),$s(17,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(18,0,null,null,5,"label",[["class","kds-form__radio-button mt-1"],["for","account-number"]],null,null,null,null,null)),(n()(),cs(19,0,null,null,0,"input",[["class","kds-form__radio-button-input"],["id","account-number"],["name","method"],["type","radio"],["value","a"]],[[8,"checked",0]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.switchAuthMethod(t)&&l),l},null,null)),(n()(),cs(20,0,null,null,3,"span",[["class","kds-form__radio-button-visible-wrap"]],null,null,null,null,null)),(n()(),cs(21,0,null,null,0,"span",[["class","kds-form__radio-button-visual"]],null,null,null,null,null)),(n()(),cs(22,0,null,null,1,"span",[["class","kds-form__radio-button-text"]],null,null,null,null,null)),(n()(),Eu(-1,null,["Account or Credit card number"])),(n()(),cs(24,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(25,0,null,null,2,"div",[["class","col-sm-12 col-md-6"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,Af)),$s(27,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(28,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(29,0,null,null,2,"div",[["class","col-sm-12 col-md-6"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,If)),$s(31,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Pf)),$s(33,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(34,0,null,null,2,"div",[["class","forgotuid-button-block"]],null,null,null,null,null)),(n()(),cs(35,0,null,null,0,"button",[["class","kds-button kds-button--default mr-2"],["data-analytics-login","cancel"],["id","cancel"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.navigateForgotApp()&&l),l},null,null)),(n()(),cs(36,0,null,null,0,"button",[["class","kds-button kds-button--primary"],["data-analytics-login","next"],["id","continue"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onContinue()&&l),l},null,null))],function(n,e){var t=e.component;n(e,17,0,t.isKEY),n(e,27,0,"d"===t.selectedAuthMethod&&t.isKEY),n(e,31,0,"a"===t.selectedAuthMethod),n(e,33,0,"a"===t.selectedAuthMethod)},function(n,e){var t=e.component;n(e,1,0,!t.formError),n(e,8,0,t.errorMessage),n(e,19,0,"a"==t.selectedAuthMethod),n(e,35,0,t.appMessagesAndLabels.cancelBtn),n(e,36,0,"d"==t.selectedAuthMethod&&(t.debitPin.length<4||t.debitCardNumber.length<4)||"a"==t.selectedAuthMethod&&!t.accountNumber,t.appMessagesAndLabels.continueBtn)})}function Nf(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","forgotuid-container mb-4"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,6,"div",[["class","forgotuid-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,5,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"a",[["class","cancel-btn"],["data-analytics-login","cancel"],["href","javascript:void(0)"],["title","Forgot User ID Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancel()&&l),l},null,null)),(n()(),as(16777216,null,null,1,null,Mf)),$s(9,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(10,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){n(e,9,0,"Forgot_UserId_Session"==e.component.formSessionName)},function(n,e){var t=e.component;n(e,5,0,t.formName),n(e,7,0,t.appMessagesAndLabels.cancelBtn),n(e,10,0,t.appMessagesAndLabels.contactAccountCardNumberMsg)})}var Lf=function(){function n(){this.logger=Td.getInstance("ConfirmationDialog"),this._window=window,this.messageObj={},this.uiHandlerConfig={},this.contents={},this.channel="WEB",this.message="",this.logger.log("inside confirmation dialog"),this.contents.labelsAndMessages={blockListAuthCodes:"328-,3285,32858,328-58",blockListCodeErr:"You've entered the phone number from which you received the code. The actual code is four digits and appears inside the text message.",systemErr:"System Error. Please try again in a few minutes.",systemLoadErr:"Please accept our apology if you're having trouble accessing digital banking. We're working hard to resolve the problem. While we do that, please feel free to contact 1-800-KEY2YOU (539-2968); we'll be happy to provide options to help you with your banking needs.  Thank you again for your understanding.",invalideAuthCodeErr:"You have entered an invalid code.",securityQuestionErrorMsg:"The answer you have provided is not the same as what we have on file.",optionsDescriptionMsg:"For added security, You must authenticate your identity. Please select your preferred method.",lockoutTextErr:"Your Online Banking account is restricted. To verify your identity and gain access, please call us at 1-800-539-1539.",outOfBandOptionLbl:"One Time Passcode",securityOptionLbl:"Security Questions",callCenterOptionLbl:"For more assistance, call us at <a href='javascript:void(0);' title='1-800-539-1539' onclick='window.location=\"tel:1-800-539-1539\"'>1-800-539-1539</a>.",receiveSecurityCodeGeneralMsg:"<h3>Receive a Security Code</h3><p>Select a method to send your code. Enter the code you receive on the next screen.</p>",securityCodeSentGeneralMsg:"We sent a One Time Security Code",enterOtpCodeLbl:"Enter Passcode",requestNewOtpCodeLbl:"Request a New Code",enterSecurityCodeLbl:"Answer a Security Question",verificationTtl:"Verification",forgotPasswordContinueOnlineBankingBtnText:"Go to KeyBank Online",forgotUserIdSuccessContinue:"Sign On",forgotUserIdSuccessTitle:"Congratulations",passwordSuccessfullDialogText:"You've successfully updated your password.",resetPasswordBtn:"Reset Password",signOnNowBtn:"Sign On Now",cancelBtn:"Cancel",forgotUserIdSuccessDialogText:"Success! We were able to identify you as an online banking client. Your User ID is - "}}return n.prototype.ngOnInit=function(){this.logger.log("forgots page initialized"),this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.contents.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,this.prepareDialog()),"RetrieveUserId_SuccessDialog_Text_Login"!==this.messageObj.dialog.dialogText&&"RetrieveUserId_SuccessForgot_Password"!==this.messageObj.dialog.continueLabel||(this._window.KeyCommonTkt.analytics.pageLoadStart({pageCategory:"login",pageName:"recover success",subCategory:"forgot credentials",subCategory2:"user id"}),this._window.KeyCommonTkt.analytics.push({event:"forgot user|display|recover success"}))},n.prototype.prepareDialog=function(){switch(this.dialogInformation={title:this.messageObj.dialog.title,dialogText:this.messageObj.dialog.dialogText,continueLabel:"Yes",cancelLabel:"No"},this.messageObj.dialog.dialogText){case"UserSelfUnlock_Complete_Text":case"Forgot_Password_Complete_Text":this.dialogInformation.dialogText=this.contents.appMessagesAndLabels.passwordSuccessfullDialogText;break;case"UserSelfUnlock_ChangePassword_Text":this.dialogInformation.dialogText=this.contents.appMessagesAndLabels.unlockAccountTtl;break;case"RetrieveUserId_SuccessDialog_Text":case"RetrieveUserId_SuccessDialog_Text_Login":var n=this.messageObj.dialog.title.toUpperCase();n.length<=13&&0===n.indexOf("MERGER")&&(n=n.split("MERGER")[1]),this.dialogInformation.dialogText=this.contents.appMessagesAndLabels.forgotUserIdSuccessDialogText.replace("{USER_ID}",n);break;default:this.dialogInformation.dialogText=this.messageObj.dialog.dialogText}switch(this.messageObj.dialog.continueLabel){case"UserSelfUnlock_Complete_Login":case"Forgot_Password_Complete_Login":this.dialogInformation.continueLabel=this.contents.appMessagesAndLabels.forgotPasswordContinueOnlineBankingBtnText;break;case"UserSelfUnlock_ChangePassword":this.dialogInformation.continueLabel=this.contents.appMessagesAndLabels.resetPasswordBtn;break;case"RetrieveUserId_SuccessNextAction_Login":this.dialogInformation.continueLabel=this.contents.appMessagesAndLabels.signOnNowBtn;break;case"RetrieveUserId_SuccessForgot_Password":this.dialogInformation.continueLabel=this.contents.appMessagesAndLabels.resetPasswordBtn;break;default:this.dialogInformation.continueLabel=this.messageObj.dialog.continueLabel}switch(this.messageObj.dialog.cancelLabel){case"UserSelfUnlock_Complete_Exit":case"Forgot_Password_Complete_Exit":this.dialogInformation.cancelLabel=this.contents.appMessagesAndLabels.cancelBtn;break;case"UserSelfUnlock_ChangePassword_Login":case"RetrieveUserId_SuccessNextAction_Login":this.dialogInformation.cancelLabel=this.contents.appMessagesAndLabels.signOnNowBtn;break;default:this.dialogInformation.cancelLabel=this.messageObj.dialog.cancelLabel}},n.prototype.ngAfterViewInit=function(){this._window.KeyCommonTkt.analytics.pageLoadComplete()},n.prototype.onContinueClicked=function(){this._window.sendMessageToSDK("onContinue",{},this.channel)},n.prototype.onCancelClicked=function(){this._window.sendMessageToSDK("onCancel",{},this.channel)},n}(),Df=Li({encapsulation:2,styles:[],data:{}});function Rf(n){return xu(0,[(n()(),cs(0,0,null,null,7,"div",[["class","forgot-confirmation-container forgot-unlock-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(2,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(3,0,null,null,4,"div",[["class","forgot-button-block"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onContinueClicked()&&l),l},null,null)),(n()(),cs(6,0,null,null,0,"p",[["class","mt-4"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--default mr-2 d-block"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClicked()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.dialogInformation.dialogText),n(e,2,0,t.contents.appMessagesAndLabels.unlockAccountSignOnTtl),n(e,4,0,t.contents.appMessagesAndLabels.didYouForgotLbl),n(e,5,0,t.dialogInformation.continueLabel),n(e,6,0,t.contents.appMessagesAndLabels.alreadyKnownPasswordLbl),n(e,7,0,t.dialogInformation.cancelLabel)})}function Uf(n){return xu(0,[(n()(),cs(0,0,null,null,5,"div",[["class","forgot-confirmation-container forgot-unlock-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(2,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(3,0,null,null,2,"div",[["class","forgot-button-block "]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"button",[["class","kds-button kds-button--default mr-2 d-none"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClicked()&&l),l},null,null)),(n()(),cs(5,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onContinueClicked()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.dialogInformation.dialogText),n(e,2,0,t.contents.appMessagesAndLabels.forgotPasswordSignOnTlt),n(e,4,0,t.dialogInformation.cancelLabel),n(e,5,0,t.dialogInformation.continueLabel)})}function jf(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","forgot-confirmation-container forgot-unlock-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,4,"div",[["class","forgot-button-block "]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onContinueClicked()&&l),l},null,null)),(n()(),cs(8,0,null,null,0,"p",[["class","mt-4"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(9,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClicked()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.contents.appMessagesAndLabels.forgotUserIdSuccessTitle),n(e,4,0,t.dialogInformation.dialogText),n(e,6,0,t.contents.appMessagesAndLabels.didYouForgotLbl),n(e,7,0,t.dialogInformation.continueLabel),n(e,8,0,t.contents.appMessagesAndLabels.forgotPasswordSignOnTlt),n(e,9,0,t.dialogInformation.cancelLabel)})}function Vf(n){return xu(0,[(n()(),cs(0,0,null,null,7,"div",[["class","forgot-confirmation-container forgot-unlock-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,2,"div",[["class","forgot-button-block "]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[["class","mt-4"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["data-analytics-login","sign on"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onContinueClicked()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.contents.appMessagesAndLabels.forgotUserIdSuccessTitle),n(e,4,0,t.dialogInformation.dialogText),n(e,6,0,t.contents.appMessagesAndLabels.forgotPasswordSignOnTlt),n(e,7,0,t.dialogInformation.continueLabel)})}function Ff(n){return xu(0,[(n()(),as(16777216,null,null,1,null,Rf)),$s(1,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Uf)),$s(3,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,jf)),$s(5,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Vf)),$s(7,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,"UserSelfUnlock_ChangePassword_Text"===t.messageObj.dialog.dialogText),n(e,3,0,"UserSelfUnlock_Complete_Text"===t.messageObj.dialog.dialogText||"Forgot_Password_Complete_Text"===t.messageObj.dialog.dialogText),n(e,5,0,"RetrieveUserId_SuccessDialog_Text"===t.messageObj.dialog.dialogText),n(e,7,0,"RetrieveUserId_SuccessDialog_Text_Login"===t.messageObj.dialog.dialogText)},null)}var Hf=function(){function n(){this.logger=Td.getInstance("PatternAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.authError=!1}return n.prototype.ngOnChanges=function(n){this.authError=!1,this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesLabels=this.uiHandlerConfig.labelsAndMessages,this.minimuPaternLength=this.messageObj.minimuPaternLength,this.messageObj.error?this.errorMessage=this.messageObj.error:this.loadPatternUI())},n.prototype.loadPatternUI=function(){console.log("We need minimum ",this.minimuPaternLength," pattern digits")},n.prototype.submitPattern=function(){this._window.sendMessageToSDK("patternSubmit",{pattern:this.patternStr},this.channel)},n.prototype.cancelPattern=function(){this._window.sendMessageToSDK("patternAuthCancel",{},this.channel)},n.prototype.handleError=function(n){switch(n.status){case 401:break;case 421:case 423:break;default:this.errorMessage=this.uiHandlerConfig.labelsAndMessages.systemErr}},n}(),Bf=Li({encapsulation:2,styles:[],data:{}});function qf(n){return xu(0,[(n()(),cs(0,0,null,null,31,"div",[["class","stepup-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","stepup-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"h5",[["data-test","sq_title"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"a",[["class","cancel-btn"],["href","javascript:void(0)"],["title","Pattern Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancelPattern()&&l),l},null,null)),(n()(),cs(7,0,null,null,24,"div",[["class","stepup-wrapper"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,23,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,22,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(10,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(11,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(12,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(13,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(14,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(17,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_autherror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(18,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(19,0,null,null,9,"div",[["class","col-12 col-xs-12 kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(20,0,null,null,2,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(21,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"],["data-test","sq_answer_lbl"]],null,null,null,null,null)),(n()(),Eu(-1,null,["Give your pattern data"])),(n()(),cs(23,0,null,null,5,"input",[["class","kds-form__input"],["data-test","sq_answer_input"],["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.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,24)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,24).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,24)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,24)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.patternStr=t)&&l),"keyup.enter"===e&&(l=!1!==r.submitPattern()&&l),l},null,null)),$s(24,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(26,671744,null,0,vd,[[8,null],[8,null],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(28,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(29,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(30,0,null,null,1,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(31,0,null,null,0,"button",[["class","kds-button kds-button--primary kds-button--small mr-2"],["data-test","sq_submit_btn"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.submitPattern()&&l),l},null,null))],function(n,e){n(e,26,0,e.component.patternStr)},function(n,e){var t=e.component;n(e,4,0,t.appMessagesLabels.patternAuthenticator),n(e,6,0,t.appMessagesLabels.cancelBtn),n(e,10,0,!t.authError),n(e,17,0,t.errorMessage),n(e,23,0,Vs(e,28).ngClassUntouched,Vs(e,28).ngClassTouched,Vs(e,28).ngClassPristine,Vs(e,28).ngClassDirty,Vs(e,28).ngClassValid,Vs(e,28).ngClassInvalid,Vs(e,28).ngClassPending),n(e,31,0,t.appMessagesLabels.submitBtn)})}var Qf=function(){function n(n,e){this.renderer=n,this.loaderService=e,this.logger=Td.getInstance("PinAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.errorMessage="",this.authError=!1,this.showErrorMsg=!1,this.showPinSetup=!1,this.pinMask=!0,this.basePath="",this.showAuthenticateError=!1,this.isPinSetupLoaded=!1,this.registerAuthPinInProgress=!1,this.isPinSetupLoaded=!0}return n.prototype.ngOnChanges=function(n){if(this.message){var e=JSON.parse(this.message);this.uiHandlerConfig=e.uiHandlerConfig?JSON.parse(this._window.atob(e.uiHandlerConfig)):{},this.commonMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,this.basePath=this.uiHandlerConfig.baseUrl,this.mode=e.mode,this.pinMaxLen=e.pinMaxLen,e.error&&(this.showAuthenticateError=!0,this.errorMessage=1==e.errorCode?this.commonMessagesAndLabels.pinMismatchErr:5==e.errorCode?this.commonMessagesAndLabels.pinPreviouslyUsedErr:this.commonMessagesAndLabels.pinGenericErr)}this.registerAuthPinInProgress=!1},n.prototype.ngAfterViewInit=function(){this.newPin&&this.newPin.nativeElement&&this.newPin.nativeElement.focus()},n.prototype.skipPin=function(){this.cancelPin()},n.prototype.showHidePin=function(){this.pinMask=!this.pinMask},n.prototype.closePin=function(){this.cancelPin()},n.prototype.registerPin=function(){if(0===this.pin.length||0===this.confirmPin.length||this.pin.length!=this.pinMaxLen||this.confirmPin.length!=this.pinMaxLen||this.pin!==this.confirmPin||this.registerAuthPinInProgress)return!1;this.submitPin()},n.prototype.authenticateUsingPin=function(){this.submitPin()},n.prototype.validatePin=function(n,e){var t=this;this.showAuthenticateError=!1,setTimeout(function(){if(n.target.value=n.target.value.replace(/[^0-9]*/g,""),n.target.value.length>t.pinMaxLen)return n.target.value=n.target.value.substring(0,n.target.value.length-1),!1},0)},n.prototype.submitPin=function(){this.pin&&!this.registerAuthPinInProgress&&(this.registerAuthPinInProgress=!0,this._window.sendMessageToSDK("pinSubmit",{pin:this.pin},this.channel))},n.prototype.cancelPin=function(){this._window.sendMessageToSDK("pinCancel",{status:0},this.channel)},n.prototype.navigateToForgotPin=function(){},n}(),zf=Li({encapsulation:2,styles:[],data:{}});function Kf(n){return xu(0,[(n()(),cs(0,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(6,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","si_error_msg"],["x-ms-format-detection","none"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,5,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#alert"),n(e,7,0,t.errorMessage)})}function Wf(n){return xu(0,[(n()(),cs(0,0,null,null,43,"div",[["class","mars_pin--container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,42,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"div",[["class","col-xs-12 "]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,Kf)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(5,0,null,null,38,"div",[["class","mars_pin_setup--container"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,34,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"h1",[["class","mt-0"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(8,0,null,null,0,"h4",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(9,0,null,null,10,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(10,0,null,null,0,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(11,0,[[1,0],["newPin",1]],null,8,"input",[["autocomplete","off"],["autocorrect","off"],["class","kds-form__input "],["id","pinTextField"],["inputmode","numeric"],["pattern","[0-9]*"],["type","text"]],[[1,"maxLength",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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,13)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,13).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,13)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,13)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.pin=t)&&l),"keyup"===e&&(l=!1!==r.validatePin(t)&&l),l},null,null)),$s(12,278528,null,0,rc,[ii,si,Kl,Jl],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),$s(13,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(14,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n){return[n]},[wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(17,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(19,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(20,0,null,null,11,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(21,0,null,null,1,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(22,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(23,0,[["newConfirmPin",1]],null,8,"input",[["autocomplete","off"],["autocorrect","off"],["class","kds-form__input"],["id","confirmPinTextField"],["inputmode","numeric"],["pattern","[0-9]*"],["type","text"]],[[1,"maxLength",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,"keyup"],[null,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,25)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.confirmPin=t)&&l),"keyup"===e&&(l=!1!==r.validatePin(t)&&l),"keydown.enter"===e&&(l=!1!==r.registerPin()&&l),l},null,null)),$s(24,278528,null,0,rc,[ii,si,Kl,Jl],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),$s(25,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(26,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n){return[n]},[wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(29,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(31,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(32,0,null,null,8,"label",[["class","kds-form__checkbox"],["for","logUidRem"]],null,null,null,null,null)),(n()(),cs(33,0,null,null,0,"input",[["class","kds-form__checkbox-input"],["data-analytics","action_cl|rememberMe"],["data-test","si_show_pin"],["id","logUidRem"],["type","checkbox"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.showHidePin()&&l),l},null,null)),(n()(),cs(34,0,null,null,6,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),cs(35,0,null,null,4,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),cs(36,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"]],null,null,null,null,null)),(n()(),cs(37,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(38,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"]],null,null,null,null,null)),(n()(),cs(39,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(40,0,null,null,0,"span",[["class","kds-form__checkbox-text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(41,0,null,null,2,"div",[["class","col-sm-12 mt-5"]],null,null,null,null,null)),(n()(),cs(42,0,null,null,0,"button",[["class","kds-button kds-button--primary kds-button--block mb-4"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.registerPin()&&l),l},null,null)),(n()(),cs(43,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--block"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.skipPin()&&l),l},null,null))],function(n,e){var t=e.component;n(e,4,0,t.showAuthenticateError),n(e,12,0,"kds-form__input ",t.pinMask?"mars_pin-inputmask":"mars_pin-inputnomask"),n(e,14,0,"[0-9]*"),n(e,17,0,t.pin),n(e,24,0,"kds-form__input",t.pinMask?"mars_pin-inputmask":"mars_pin-inputnomask"),n(e,26,0,"[0-9]*"),n(e,29,0,t.confirmPin)},function(n,e){var t=e.component;n(e,7,0,t.commonMessagesAndLabels.createSecurePinLbl),n(e,8,0,t.commonMessagesAndLabels.enterNewSixDigitLbl),n(e,11,0,t.pinMaxLen,Vs(e,14).pattern?Vs(e,14).pattern:null,Vs(e,19).ngClassUntouched,Vs(e,19).ngClassTouched,Vs(e,19).ngClassPristine,Vs(e,19).ngClassDirty,Vs(e,19).ngClassValid,Vs(e,19).ngClassInvalid,Vs(e,19).ngClassPending),n(e,22,0,t.commonMessagesAndLabels.confirmPinLbl),n(e,23,0,t.pinMaxLen,Vs(e,26).pattern?Vs(e,26).pattern:null,Vs(e,31).ngClassUntouched,Vs(e,31).ngClassTouched,Vs(e,31).ngClassPristine,Vs(e,31).ngClassDirty,Vs(e,31).ngClassValid,Vs(e,31).ngClassInvalid,Vs(e,31).ngClassPending),n(e,37,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#check"),n(e,39,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#minus"),n(e,40,0,t.commonMessagesAndLabels.showPinLbl),n(e,42,0,0===Vs(e,11).value.length||0===Vs(e,23).value.length||Vs(e,11).value.length!=t.pinMaxLen||Vs(e,23).value.length!=t.pinMaxLen||Vs(e,11).value!==Vs(e,23).value||t.registerAuthPinInProgress,t.commonMessagesAndLabels.addNewPinBtn),n(e,43,0,t.commonMessagesAndLabels.noThanks)})}function Gf(n){return xu(0,[(n()(),cs(0,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(6,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","si_error_msg"],["x-ms-format-detection","none"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,5,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#alert"),n(e,7,0,t.errorMessage)})}function Zf(n){return xu(0,[(n()(),cs(0,0,null,null,28,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,27,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"div",[["class","col-xs-12 "]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,Gf)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(5,0,null,null,2,"div",[["class","col-sm-4 col-sm-offset-8 text-right mb-4"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,1,"a",[["data-test","si_userid_nav"],["href","javascript:void(0);"],["title","Go Back to User ID"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.closePin()&&l),l},null,null)),(n()(),cs(7,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(8,0,null,null,20,"div",[["class","col-xs-12"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,9,"div",[["class","kds-form__field-group mb-5 mars_pin_auth--container "]],null,null,null,null,null)),(n()(),cs(10,0,null,null,1,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(12,0,[[1,0],["newPin",1]],null,6,"input",[["autocomplete","off"],["autocorrect","off"],["class","kds-form__input"],["id","loginPinTextField"],["inputmode","numeric"],["type","text"]],[[1,"maxLength",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,"keyup"],[null,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,14)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,14).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,14)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,14)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.pin=t)&&l),"keyup"===e&&(l=!1!==r.validatePin(t)&&l),"keydown.enter"===e&&(l=!1!==r.authenticateUsingPin()&&l),l},null,null)),$s(13,278528,null,0,rc,[ii,si,Kl,Jl],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),$s(14,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(16,671744,null,0,vd,[[8,null],[8,null],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(18,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(19,0,null,null,8,"label",[["class","kds-form__checkbox mt-5"],["for","logUidRem"]],null,null,null,null,null)),(n()(),cs(20,0,null,null,0,"input",[["class","kds-form__checkbox-input"],["data-analytics","action_cl|rememberMe"],["data-test","si_show_pin"],["id","logUidRem"],["type","checkbox"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.showHidePin()&&l),l},null,null)),(n()(),cs(21,0,null,null,6,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),cs(22,0,null,null,4,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),cs(23,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"]],null,null,null,null,null)),(n()(),cs(24,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(25,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"]],null,null,null,null,null)),(n()(),cs(26,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(27,0,null,null,0,"span",[["class","kds-form__checkbox-text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(28,0,null,null,0,"button",[["class","kds-button kds-button--primary kds-button--block mt-5 mb-4"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticateUsingPin()&&l),l},null,null))],function(n,e){var t=e.component;n(e,4,0,t.showAuthenticateError),n(e,13,0,"kds-form__input",t.pinMask?"mars_pin-inputmask":"mars_pin-inputnomask"),n(e,16,0,t.pin)},function(n,e){var t=e.component;n(e,7,0,t.commonMessagesAndLabels.cancelBtn),n(e,11,0,t.commonMessagesAndLabels.sixDigitpinLbl),n(e,12,0,t.pinMaxLen,Vs(e,18).ngClassUntouched,Vs(e,18).ngClassTouched,Vs(e,18).ngClassPristine,Vs(e,18).ngClassDirty,Vs(e,18).ngClassValid,Vs(e,18).ngClassInvalid,Vs(e,18).ngClassPending),n(e,24,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#check"),n(e,26,0,t.basePath+"ibxolb/login-mobile/images/kds.svg#minus"),n(e,27,0,t.commonMessagesAndLabels.showPinLbl),n(e,28,0,0===Vs(e,12).value.length||Vs(e,12).value.length!=t.pinMaxLen||t.registerAuthPinInProgress,t.commonMessagesAndLabels.continueBtn)})}function Yf(n){return xu(0,[gu(671088640,1,{newPin:0}),(n()(),as(16777216,null,null,1,null,Wf)),$s(2,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Zf)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.isPinSetupLoaded&&"ENROLLMENT"==t.mode),n(e,4,0,"PIN_AUTH"==t.mode)},null)}var Jf=function(){function n(){}return n.MBL_STEPUP_TYPE_TAM="SECURITY_QUESTIONS",n.MBL_STEPUP_TYPE_OUTOFBAND="OUT_OF_BAND",n.STEPUP_OUTOFBAND="OUT_OF_BAND",n.STEPUP_TAM="SECURITY_QUESTIONS",n.STEPUP_AUTH_SUCCESS="stepUpAuthSuccess",n.STEPUP_INIT_FAILURE="stepUpInitFailure",n.STEPUP_AUTH_FAILURE="stepUpAuthFailure",n.STEPUP_NOT_REQUIRED="stepUpNotRequired",n.STEPUP_ABORTED="stepUpAborted",n.STEPUP_LOCKED="stepUpLocked",n.STEPUP_STATUS_LOCKED=421,n.STEPUP_STATUS_UNLOCK=406,n.STEPUP_INVALID_CODE=401,n.STEPUP_BLOCKED_CODE=321,n.STEPUP_STATUS_DO_NOTHING=0,n.OPERATION_LOGIN_BY_PASSWORD="users.login.password",n.STEPUP_UNKNOWN_ERROR="UNKNOWN_ERROR",n.STEPUP_ABORT="ABORT",n.STEUP_AUTH_FAILURE="AUTH_FAILURE",n}(),$f=function(){function n(n,e,t,l,r,o,i,s,u,a,c,p,d,h,f,g,m){this.stepUpTypesAvailable=[],this.stepUpTypes=[],this.workFlowId=e?e.workFlowId:null,this.nextStep=e?e.nextStep:null,this.operationName=n?n.operationName:null,this.mobilePhone=n?n.mobilePhone:null,this.businessPhone=n?n.businessPhone:null,this.homePhone=n?n.homePhone:null,this.emailAddress=n?n.emailAddress:null,this.businessEmailAddress=n?n.businessEmailAddress:null,this.stepUpTypeAllowed=n?n.stepUpTypeAllowed:null,this.steppedUp=n?n.steppedUp:null,this.stepUpUiSharedView=!!e&&e.stepUpUiSharedView,null!=this.stepUpTypeAllowed&&this.setStepUpType()}return n.prototype.setStepUpType=function(){if(0==this.stepUpTypes.length)for(var n=0,e=this.stepUpTypeAllowed;n<e.length;n++){var t=e[n];t==Jf.MBL_STEPUP_TYPE_OUTOFBAND?this.stepUpTypes.push(Jf.STEPUP_OUTOFBAND):t==Jf.MBL_STEPUP_TYPE_TAM&&this.stepUpTypes.push(Jf.STEPUP_TAM)}},n.prototype.setSecurityQuestion=function(n){this.securityQuestionText=n.questionText?n.questionText:"",this.securityQuestionKey=n.questionKey?n.questionKey:"",this.securityQuestionAnswerText=n.answerText?n.answerText:"",this.securityQuestionAnswerKey=n.answerKey?n.answerKey:""},n.prototype.updateStepUpObj=function(n){n&&(n.stepUpOptions&&(this.operationName=n.stepUpOptions.operationName?n.stepUpOptions.operationName:this.operationName,this.mobilePhone=n.stepUpOptions.mobilePhone?n.stepUpOptions.mobilePhone:this.mobilePhone,this.businessPhone=n.stepUpOptions.businessPhone?n.stepUpOptions.businessPhone:this.businessPhone,this.homePhone=n.stepUpOptions.homePhone?n.stepUpOptions.homePhone:this.homePhone,this.emailAddress=n.stepUpOptions.emailAddress?n.stepUpOptions.emailAddress:this.emailAddress,this.businessEmailAddress=n.stepUpOptions.businessEmailAddress?n.stepUpOptions.businessEmailAddress:this.businessEmailAddress,this.stepUpTypeAllowed=n.stepUpOptions.stepUpTypeAllowed?n.stepUpOptions.stepUpTypeAllowed:this.stepUpTypeAllowed,this.steppedUp=n.stepUpOptions?n.stepUpOptions.steppedUp:this.steppedUp),this.workFlowId=n.workFlowId?n.workFlowId:this.workFlowId,this.nextStep=n.nextStep?n.nextStep:this.nextStep,this.securityCode=n.securityCode?n.securityCode:this.securityCode,this.deliveryFormat=n.deliveryFormat?n.deliveryFormat:this.deliveryFormat,this.currentStepUpType==Jf.STEPUP_TAM&&n.challengeQuestions&&this.setSecurityQuestion(n.challengeQuestions[0]),null!=this.stepUpTypeAllowed&&this.setStepUpType())},n.prototype.getCodeSubmitJson=function(){return{workFlowId:this.workFlowId,challengeAnswers:[{questionKey:this.deliveryFormat,answerText:this.securityCode}]}},n.prototype.buildQuestion=function(){return{questionKey:this.securityQuestionKey,questionText:this.securityQuestionText,answerKey:this.securityQuestionAnswerKey,answerText:this.securityQuestionAnswerText}},n.prototype.getSecurityAnswersSubmitJson=function(){return{workFlowId:this.workFlowId,challengeAnswers:[this.buildQuestion()]}},n}(),Xf=function(){function n(n,e,t){this.httpService=n,this.httpConfig=e,this.apiSettings=t,this.logger=Td.getInstance("StepUpService"),this._window=window}return n.prototype.initHttpClient=function(n,e){var t=this;this.httpConfig.config({stubEnabled:n.stubsEnabled}),this.logger.log("stub enabled--"+n.stubsEnabled),this.httpService.registerIntercepter(function(l){return en(new Promise(function(r,o){l=l.clone(n.isCsrMode?{setHeaders:{"Content-Type":"application/json",CHANNEL:"IBX","If-Modified-Since":"0","Cache-Control":"no-cache,no-store",Pragma:"no-cache",CHANNEL_SESSIONID:t.getCookie("_k_uid")}}:{setHeaders:{"Content-Type":"application/json",CHANNEL:"WEB"==e?"DWB":"DMA","If-Modified-Since":"0","Cache-Control":"no-cache,no-store",Pragma:"no-cache",CHANNEL_SESSIONID:t._window.KeyAmtTkt.getSessionId()}});var i=t._window.KeyAmtTkt.getAuthToken();i&&""!=i&&(l=l.clone({setHeaders:{AMT_AUTH_TOKEN:i}})),r(l=l.clone({setHeaders:{WEB_DEVICE_DATA:t._window.KeyPlatformTkt.deviceService.getDeviceData()}}))}))})},n.prototype.initStepUp=function(n,e,t){var l=this;return this.stepUpObj=new $f(n,e),this.httpService.get(this.apiSettings.getStepUpCheckUrl(n,t)).pipe(J(function(n){return n.data&&(l.stepUpObj.updateStepUpObj(n.data),l.stepUpObj.stepUpTypesAvailable=l.stepUpObj.stepUpTypes),l.stepUpObj}))},n.prototype.requestAuthCode=function(n){var e=this;return this.httpService.get(this.apiSettings.getSecurityCodeUrl(this.stepUpObj,n)).pipe(J(function(n){return!!n.data&&(e.logger.log("otp retrived successfully",n.data),!0)}))},n.prototype.submitAuthCode=function(n){var e=this;return this.httpService.post(this.apiSettings.postSecurityCodeUrl(this.stepUpObj,n),this.stepUpObj.getCodeSubmitJson()).pipe(J(function(n){if(!n.data)return!1;e.logger.log("otp successfully submitted",n.data),e.stepUpObj.updateStepUpObj(n.data)}))},n.prototype.requestSecurityQuestions=function(n){var e=this;return this.httpService.get(this.apiSettings.getSecurityQuestionsUrl(this.stepUpObj,n)).pipe(J(function(n){return!(!n.data||!n.data.challengeQuestions)&&(e.logger.log("security question loaded successfully",n.data.challengeQuestions),e.stepUpObj.updateStepUpObj(n.data),e.stepUpObj)}))},n.prototype.submitSecurityAnswer=function(n){var e=this;return this.httpService.post(this.apiSettings.postSecurityAnswerUrl(this.stepUpObj,n),this.stepUpObj.getSecurityAnswersSubmitJson()).pipe(J(function(n){return!!n.data&&(e.logger.log("security question submitted successfully",n.data),e.stepUpObj.updateStepUpObj(n.data),n.data)}))},n.prototype.getCookie=function(n){for(var e=n+"=",t=document.cookie.split(";"),l=0;l<t.length;l++){for(var r=t[l];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(e))return r.substring(e.length,r.length)}return""},n.ngInjectableDef=wn({factory:function(){return new n(Re(Fh),Re(Uh),Re(Fd))},token:n,providedIn:"root"}),n}(),ng=function(){function n(n){this.stepUpService=n,this.logger=Td.getInstance("StepUpComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.securityQuestionAnswerError=!1,this.invalidOtpError=!1,this.blockedOtpError=!1,this.showCancelBtn=!1}return n.prototype.ngOnChanges=function(n){this.message&&(this.messageObj=JSON.parse(this.message),this.amtConfig=this.messageObj.amtConfig?JSON.parse(this._window.atob(this.messageObj.amtConfig)):{},this.stepUpConfig=this.messageObj.stepUpConfig?JSON.parse(this._window.atob(this.messageObj.stepUpConfig)):{},this.loadStepUpOptions())},n.prototype.loadStepUpOptions=function(){var n=this;null!=this.amtConfig.labelsAndMessages&&null!=this.amtConfig.labelsAndMessages.blockListAuthCodes||(this.amtConfig.labelsAndMessages={blockListAuthCodes:"328-,3285,32858,328-58",blockListCodeErr:"You've entered the phone number from which you received the code. The actual code is four digits and appears inside the text message.",systemErr:"System Error. Please try again in a few minutes.",systemLoadErr:"Please accept our apology if you're having trouble accessing digital banking. We're working hard to resolve the problem. While we do that, please feel free to contact 1-800-KEY2YOU (539-2968); we'll be happy to provide options to help you with your banking needs.  Thank you again for your understanding.",invalideAuthCodeErr:"You have entered an invalid code.",securityQuestionErrorMsg:"The answer you have provided is not the same as what we have on file.",optionsDescriptionMsg:"For added security, You must authenticate your identity. Please select your preferred method.",lockoutTextErr:"Your Online Banking account is restricted. To verify your identity and gain access, please call us at 1-800-539-1539.",outOfBandOptionLbl:"One Time Passcode",securityOptionLbl:"Security Questions",callCenterOptionLbl:"For more assistance, <a href='javascript:void(0);' title='1-800-539-1539' onclick='window.location=\"tel:1-800-539-1539\"'>1-800-539-1539</a>.",receiveSecurityCodeGeneralMsg:"<h3>Receive a Security Code</h3><p>Select a method to send your code. Enter the code you receive on the next screen.</p>",securityCodeSentGeneralMsg:"We sent a One Time Security Code",enterOtpCodeLbl:"Enter Passcode",requestNewOtpCodeLbl:"Request a New Code",enterSecurityCodeLbl:"Answer a Security Question"}),this.showCancelBtn="users.login.password"===this.stepUpConfig.operationName,this.stepUpService.initHttpClient(this.amtConfig,this.channel),this.stepUpInitListener=this.stepUpService.initStepUp({operationName:this.stepUpConfig.operationName},{},this.amtConfig).subscribe(function(e){n.logger.log("step-up successful"),n.stepUp=e,"undefined"==n.stepUp.steppedUp?n.currentStep="ERROR":0==n.stepUp.steppedUp?n.currentStep="ALL_OPTIONS":n.stepUpComplete()},function(e){n.logger.log("step-up failure"),n.stepUpError(Jf.STEPUP_INIT_FAILURE)})},n.prototype.showStepUpType=function(n){this.stepUp.currentStepUpType=n,n==Jf.STEPUP_OUTOFBAND?this.showOTP():n==Jf.STEPUP_TAM&&this.loadSecurityQuestions(!1,!1)},n.prototype.showOTP=function(){this.currentStep="OTP_LIST"},n.prototype.showSecurityQuestions=function(){this.currentStep="SECURITY_QUESTIONS"},n.prototype.loadSecurityQuestions=function(n,e){var t=this;if(this.securityQuestionAnswerError=e,!n&&this.stepUp.securityQuestionText&&this.stepUp.securityQuestionText.length>0)return this.logger.log("Security Questions loaded from cache"),this.focusSecurityQuestionsText(),void this.showSecurityQuestions();this.stepUpRequestSecQuestionsListener=this.stepUpService.requestSecurityQuestions(this.amtConfig).subscribe(function(n){t.logger.log("Security Questions loaded successfully"),t.stepUp=n,t.focusSecurityQuestionsText(),t.showSecurityQuestions()},function(n){t.logger.log("Security Questions load failure",n),t.isUserLocked(n.status)?t.stepUpError(Jf.STEPUP_LOCKED):t.stepUpError(Jf.STEPUP_INIT_FAILURE)})},n.prototype.submitSecurityAnswer=function(){var n=this;0!==this.stepUp.securityQuestionAnswerText.length&&(this.stepUpSubmitSecQuestionsListener=this.stepUpService.submitSecurityAnswer(this.amtConfig).subscribe(function(e){n.logger.log("Security question answer authenticated successfully"),e&&e.nextStep&&("CHALLENGE"==e.nextStep||"CHALLENGE_ANSWERS"==e.nextStep)?(n.logger.log("forcing the user challenge again."),n.securityQuestionAnswerError=!0,n.loadSecurityQuestions(!0,!0),n.focusSecurityQuestionsText()):e&&e.nextStep&&"COMPLETE"==e.nextStep?(n.securityQuestionAnswerError=!1,n.stepUpComplete()):n.stepUpError(Jf.STEPUP_AUTH_FAILURE)},function(e){n.logger.log("Security question answer authentication failure",e),n.isUserLocked(e.status)?n.stepUpError(Jf.STEPUP_LOCKED):n.stepUpError(Jf.STEPUP_AUTH_FAILURE)}))},n.prototype.requestCode=function(n,e){var t=this;this.blockedOtpError=!1,this.invalidOtpError=!1,n&&e&&(this.stepUp.deliveryType=e,this.stepUp.deliveryFormat=n),this.stepUpAuthCodeRequestListener=this.stepUpService.requestAuthCode(this.amtConfig).subscribe(function(n){t.stepUp.securityCode="",t.focusSecurityCode(),t.logger.log("OTP requested successfully"),t.currentStep="OTP_ENTRY"},function(n){t.isUserLocked(n.status)?t.stepUpError(Jf.STEPUP_LOCKED):t.stepUpError(Jf.STEPUP_INIT_FAILURE),t.logger.log("OTP requested failure")})},n.prototype.submitAuthCode=function(){var n=this;if(this.stepUp.securityCode&&this.amtConfig.labelsAndMessages.blockListAuthCodes){for(var e=!1,t=0,l=this.amtConfig.labelsAndMessages.blockListAuthCodes.split(",");t<l.length;t++){var r=l[t];r&&0!=r.length&&(this.stepUp.securityCode!=r&&this.stepUp.securityCode!=r.substring(0,4)||(e=!0))}if(e)return this.invalidOtpError=!1,void(this.blockedOtpError=!0);this.blockedOtpError=!1,this.stepUpAuthCodeSubmitListener=this.stepUpService.submitAuthCode(this.amtConfig).subscribe(function(e){n.logger.log("OTP authenticated successfully"),n.invalidOtpError=!1,n.stepUpComplete()},function(e){n.logger.log("OTP authentication failure",e),n.stepUp.securityCode="",n.isUserLocked(e.status)?n.stepUpError(Jf.STEPUP_LOCKED):e.status==Jf.STEPUP_INVALID_CODE?(n.focusSecurityCode(),n.blockedOtpError=!1,n.invalidOtpError=!0):n.stepUpError(Jf.STEPUP_AUTH_FAILURE)})}},n.prototype.focusSecurityQuestionsText=function(){var n=this;setTimeout(function(){n.securityQuestionAnswerText.nativeElement.focus()},0)},n.prototype.focusSecurityCode=function(){var n=this;setTimeout(function(){n.securityCode.nativeElement.focus()},0)},n.prototype.abortStepUp=function(){this.stepUpError(Jf.STEPUP_ABORTED)},n.prototype.stepUpError=function(n){this.logger.log(n);var e=this.amtConfig.labelsAndMessages.systemLoadErr,t=Jf.STEPUP_UNKNOWN_ERROR;switch(n){case Jf.STEPUP_AUTH_FAILURE:case Jf.STEPUP_STATUS_UNLOCK:e=this.amtConfig.labelsAndMessages.lockoutTextErr,t=Jf.STEUP_AUTH_FAILURE;break;case Jf.STEPUP_ABORTED:e=this.amtConfig.labelsAndMessages.systemLoadErr,t=Jf.STEPUP_ABORT;break;case Jf.STEPUP_INIT_FAILURE:e=this.amtConfig.labelsAndMessages.systemLoadErr,t=Jf.STEPUP_INIT_FAILURE;break;case Jf.STEPUP_LOCKED:e=this.amtConfig.labelsAndMessages.systemLoadErr,t=Jf.STEPUP_LOCKED;break;default:e=this.amtConfig.labelsAndMessages.systemLoadErr,t=Jf.STEPUP_UNKNOWN_ERROR}this._window.KeyAmtTkt.onStepUpFailure({code:n,description:t,message:e})},n.prototype.stepUpComplete=function(){this._window.KeyAmtTkt.onStepUpSuccess(Jf.STEPUP_AUTH_SUCCESS)},n.prototype.movePrevious=function(){switch(this.currentStep){case"ALL_OPTIONS":this.stepUpError(Jf.STEPUP_ABORTED);break;case"OTP_LIST":this.currentStep="ALL_OPTIONS";break;case"OTP_ENTRY":this.currentStep="OTP_LIST";break;case"SECURITY_QUESTIONS":this.currentStep="ALL_OPTIONS"}this.stepUp.currentStepUpType=""},n.prototype.numberOnly=function(n){var e=n.which?n.which:n.keyCode;return!(e>31&&(e<48||e>57))},n.prototype.isUserLocked=function(n){return 421===n||406===n},n.prototype.ngOnDestroy=function(){this.stepUpInitListener&&this.stepUpInitListener.unsubscribe(),this.stepUpRequestSecQuestionsListener&&this.stepUpRequestSecQuestionsListener.unsubscribe(),this.stepUpSubmitSecQuestionsListener&&this.stepUpSubmitSecQuestionsListener.unsubscribe(),this.stepUpAuthCodeRequestListener&&this.stepUpAuthCodeRequestListener.unsubscribe(),this.stepUpAuthCodeSubmitListener&&this.stepUpAuthCodeSubmitListener.unsubscribe()},n}(),eg=Li({encapsulation:2,styles:[],data:{}});function tg(n){return xu(0,[(n()(),cs(0,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.verificationTtl)})}function lg(n){return xu(0,[(n()(),cs(0,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.outOfBandOptionLbl)})}function rg(n){return xu(0,[(n()(),cs(0,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.securityOptionLbl)})}function og(n){return xu(0,[(n()(),cs(0,0,null,null,1,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"a",[["href","javascript:void(0)"],["title","Step Up Cancel"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.movePrevious()&&l),l},null,null))],null,function(n,e){n(e,1,0,e.component.amtConfig.labelsAndMessages.cancelBtn)})}function ig(n){return xu(0,[(n()(),cs(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.outOfBandOptionLbl)})}function sg(n){return xu(0,[(n()(),cs(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.securityOptionLbl)})}function ug(n){return xu(0,[(n()(),cs(0,0,null,null,4,"button",[["class","kds-button kds-button--default btn-block justify-content-start"],["role","button"],["type","button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.showStepUpType(n.context.$implicit)&&l),l},null,null)),(n()(),as(16777216,null,null,1,null,ig)),$s(2,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,sg)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,2,0,"OUT_OF_BAND"==e.context.$implicit),n(e,4,0,"SECURITY_QUESTIONS"==e.context.$implicit)},null)}function ag(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","alloption-callcenter-lbl"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.callCenterOptionLbl)})}function cg(n){return xu(0,[(n()(),cs(0,0,null,null,0,"p",[["class","alloption-callcenter-lbl"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.amtConfig.labelsAndMessages.callCenterOptionSimpleLbl)})}function pg(n){return xu(0,[(n()(),cs(0,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,7,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,ug)),$s(4,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),(n()(),as(16777216,null,null,1,null,ag)),$s(6,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,cg)),$s(8,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,4,0,t.stepUp.stepUpTypesAvailable),n(e,6,0,"WEB"===t.channel),n(e,8,0,"WEB"!==t.channel)},function(n,e){n(e,2,0,e.component.amtConfig.labelsAndMessages.optionsDescriptionMsg)})}function dg(n){return xu(0,[(n()(),cs(0,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","col-5 col-xs-6 col-md-6 stepup-otp-options"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"h5",[],null,null,null,null,null)),(n()(),Eu(3,null,["",""])),(n()(),cs(4,0,null,null,1,"span",[["class","stepup-otpoption-value"]],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,2,"div",[["class","col-7 col-xs-6 col-md-6 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("VOICE","Mobile")&&l),l},null,null)),(n()(),cs(8,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("SMS","Mobile")&&l),l},null,null)),(n()(),cs(9,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(10,0,null,null,0,"div",[["class","alloption-border-bottom"]],null,null,null,null,null))],null,function(n,e){var t=e.component;n(e,3,0,t.amtConfig.labelsAndMessages.mobileLbl),n(e,5,0,t.stepUp.mobilePhone),n(e,7,0,t.amtConfig.labelsAndMessages.otpCallBtn),n(e,8,0,t.amtConfig.labelsAndMessages.otpTextBtn)})}function hg(n){return xu(0,[(n()(),cs(0,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","col-5 col-xs-6 col-md-6 stepup-otp-options"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"h5",[],null,null,null,null,null)),(n()(),Eu(3,null,["",""])),(n()(),cs(4,0,null,null,1,"span",[["class","stepup-otpoption-value"]],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,2,"div",[["class","col-7 col-xs-6 col-md-6 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("VOICE","Home")&&l),l},null,null)),(n()(),cs(8,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("SMS","Home")&&l),l},null,null)),(n()(),cs(9,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(10,0,null,null,0,"div",[["class","alloption-border-bottom"]],null,null,null,null,null))],null,function(n,e){var t=e.component;n(e,3,0,t.amtConfig.labelsAndMessages.homeLbl),n(e,5,0,t.stepUp.homePhone),n(e,7,0,t.amtConfig.labelsAndMessages.otpCallBtn),n(e,8,0,t.amtConfig.labelsAndMessages.otpTextBtn)})}function fg(n){return xu(0,[(n()(),cs(0,0,null,null,10,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","col-5 col-xs-6 col-md-6 stepup-otp-options"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"h5",[],null,null,null,null,null)),(n()(),Eu(3,null,[""," "])),(n()(),cs(4,0,null,null,1,"span",[["class","stepup-otpoption-value"]],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,2,"div",[["class","col-7 col-xs-6 col-md-6 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("VOICE","Business")&&l),l},null,null)),(n()(),cs(8,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("SMS","Business")&&l),l},null,null)),(n()(),cs(9,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(10,0,null,null,0,"div",[["class","alloption-border-bottom"]],null,null,null,null,null))],null,function(n,e){var t=e.component;n(e,3,0,t.amtConfig.labelsAndMessages.workLbl),n(e,5,0,t.stepUp.businessPhone),n(e,7,0,t.amtConfig.labelsAndMessages.otpCallBtn),n(e,8,0,t.amtConfig.labelsAndMessages.otpTextBtn)})}function gg(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","col-7 col-xs-7 stepup-otp-options"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"h5",[],null,null,null,null,null)),(n()(),Eu(3,null,[""," "])),(n()(),cs(4,0,null,null,1,"span",[["class","stepup-otpoption-value"]],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,1,"div",[["class","col-5 col-xs-5 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("Email","Personal")&&l),l},null,null)),(n()(),cs(8,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(9,0,null,null,0,"div",[["class","alloption-border-bottom"]],null,null,null,null,null))],null,function(n,e){var t=e.component;n(e,3,0,t.amtConfig.labelsAndMessages.emailLbl),n(e,5,0,t.stepUp.emailAddress),n(e,7,0,t.amtConfig.labelsAndMessages.otpEmailBtn)})}function mg(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","row "]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","col-7 col-xs-7 stepup-otp-options"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"h5",[],null,null,null,null,null)),(n()(),Eu(3,null,[""," "])),(n()(),cs(4,0,null,null,1,"span",[["class","stepup-otpoption-value"]],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,1,"div",[["class","col-5 col-xs-5 text-right"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode("Email","Business")&&l),l},null,null)),(n()(),cs(8,0,null,null,1,"div",[["class","col-12 col-xs-12 "]],null,null,null,null,null)),(n()(),cs(9,0,null,null,0,"div",[["class","alloption-border-bottom"]],null,null,null,null,null))],null,function(n,e){var t=e.component;n(e,3,0,t.amtConfig.labelsAndMessages.emailLbl),n(e,5,0,t.stepUp.businessEmailAddress),n(e,7,0,t.amtConfig.labelsAndMessages.otpEmailBtn)})}function yg(n){return xu(0,[(n()(),cs(0,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,12,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,dg)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,hg)),$s(6,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,fg)),$s(8,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,gg)),$s(10,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,mg)),$s(12,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(13,0,null,null,0,"p",[["class","mt-2"]],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){var t=e.component;n(e,4,0,t.stepUp.mobilePhone),n(e,6,0,t.stepUp.homePhone),n(e,8,0,t.stepUp.businessPhone),n(e,10,0,t.stepUp.emailAddress),n(e,12,0,t.stepUp.businessEmailAddress)},function(n,e){var t=e.component;n(e,2,0,t.amtConfig.labelsAndMessages.receiveSecurityCodeGeneralMsg),n(e,13,0,t.amtConfig.labelsAndMessages.otpRatesDescriptionMsg)})}function vg(n){return xu(0,[(n()(),cs(0,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[["class","kds-alert__description"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,6,0,e.component.amtConfig.labelsAndMessages.invalideAuthCodeErr)})}function bg(n){return xu(0,[(n()(),cs(0,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[["class","kds-alert__description"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,6,0,e.component.amtConfig.labelsAndMessages.blockListCodeErr)})}function _g(n){return xu(0,[(n()(),cs(0,0,[[1,0],["securityCode",1]],null,9,"input",[["class","kds-form__input"],["inputmode","numeric"],["maxlength","6"],["pattern","[0-9]*"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,1)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,1).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,1)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,1)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.stepUp.securityCode=t)&&l),"keypress"===e&&(l=!1!==r.numberOnly(t)&&l),l},null,null)),$s(1,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(2,16384,null,0,bd,[],{required:[0,"required"]},null),$s(3,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(4,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(7,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(9,16384,null,0,rd,[[4,zp]],null,null)],function(n,e){var t=e.component;n(e,2,0,""),n(e,3,0,"6"),n(e,4,0,"[0-9]*"),n(e,7,0,t.stepUp.securityCode)},function(n,e){n(e,0,0,Vs(e,2).required?"":null,Vs(e,3).maxlength?Vs(e,3).maxlength:null,Vs(e,4).pattern?Vs(e,4).pattern:null,Vs(e,9).ngClassUntouched,Vs(e,9).ngClassTouched,Vs(e,9).ngClassPristine,Vs(e,9).ngClassDirty,Vs(e,9).ngClassValid,Vs(e,9).ngClassInvalid,Vs(e,9).ngClassPending)})}function wg(n){return xu(0,[(n()(),cs(0,0,[[1,0],["securityCode",1]],null,9,"input",[["class","kds-form__input"],["inputmode","numeric"],["maxlength","6"],["pattern","[0-9]*"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",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(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,1)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,1).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,1)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,1)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.stepUp.securityCode=t)&&l),l},null,null)),$s(1,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(2,16384,null,0,bd,[],{required:[0,"required"]},null),$s(3,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),$s(4,540672,null,0,wd,[],{pattern:[0,"pattern"]},null),nu(1024,null,Pp,function(n,e,t){return[n,e,t]},[bd,_d,wd]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(7,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(9,16384,null,0,rd,[[4,zp]],null,null)],function(n,e){var t=e.component;n(e,2,0,""),n(e,3,0,"6"),n(e,4,0,"[0-9]*"),n(e,7,0,t.stepUp.securityCode)},function(n,e){n(e,0,0,Vs(e,2).required?"":null,Vs(e,3).maxlength?Vs(e,3).maxlength:null,Vs(e,4).pattern?Vs(e,4).pattern:null,Vs(e,9).ngClassUntouched,Vs(e,9).ngClassTouched,Vs(e,9).ngClassPristine,Vs(e,9).ngClassDirty,Vs(e,9).ngClassValid,Vs(e,9).ngClassInvalid,Vs(e,9).ngClassPending)})}function Cg(n){return xu(0,[(n()(),cs(0,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,14,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,vg)),$s(3,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,bg)),$s(5,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(6,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(7,0,null,null,6,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,1,"label",[["class","kds-form__label"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,0,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),as(16777216,null,null,1,null,_g)),$s(11,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,wg)),$s(13,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(14,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--primary kds-button--small"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.submitAuthCode()&&l),l},null,null)),(n()(),cs(15,0,null,null,0,"button",[["class","kds-button kds-button--flat kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.requestCode()&&l),l},null,null))],function(n,e){var t=e.component;n(e,3,0,t.invalidOtpError),n(e,5,0,t.blockedOtpError),n(e,11,0,"WEB"===t.channel),n(e,13,0,"WEB"!==t.channel)},function(n,e){var t=e.component;n(e,6,0,t.amtConfig.labelsAndMessages.securityCodeSentGeneralMsg),n(e,9,0,t.amtConfig.labelsAndMessages.enterOtpCodeLbl),n(e,14,0,t.stepUp.securityCode.length<4,t.amtConfig.labelsAndMessages.continueBtn),n(e,15,0,t.amtConfig.labelsAndMessages.requestNewOtpCodeLbl)})}function kg(n){return xu(0,[(n()(),cs(0,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,":svg:use",[[":xlink:href","images/kds.svg#alert"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[["class","kds-alert__description"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,6,0,e.component.amtConfig.labelsAndMessages.securityQuestionErrorMsg)})}function Eg(n){return xu(0,[(n()(),cs(0,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,14,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,kg)),$s(3,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(4,0,null,null,0,"h3",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,9,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,2,"label",[["class","kds-form__label"],["for","stepupSecurityQuestion"],["id","stepupSecurityQuestionLbl"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,1,"span",[["class","kds-form__label-cell kds-form__label-cell--text"]],null,null,null,null,null)),(n()(),Eu(8,null,["",""])),(n()(),cs(9,0,[[2,0],["securityQuestionAnswerText",1]],null,5,"input",[["aria-labelledby","stepupSecurityQuestionLbl"],["autocapitalize","off"],["autocorrect","off"],["class","kds-form__input"],["id","stepupSecurityQuestion"],["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.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,10)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,10).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,10)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,10)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.stepUp.securityQuestionAnswerText=t)&&l),"keyup.enter"===e&&(l=!1!==r.submitSecurityAnswer()&&l),l},null,null)),$s(10,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(12,671744,null,0,vd,[[8,null],[8,null],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(14,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(15,0,null,null,0,"button",[["class","stepup-btn-right kds-button kds-button--primary kds-button--small"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.submitSecurityAnswer()&&l),l},null,null))],function(n,e){var t=e.component;n(e,3,0,t.securityQuestionAnswerError),n(e,12,0,t.stepUp.securityQuestionAnswerText)},function(n,e){var t=e.component;n(e,4,0,t.amtConfig.labelsAndMessages.enterSecurityCodeLbl),n(e,8,0,t.stepUp.securityQuestionText),n(e,9,0,Vs(e,14).ngClassUntouched,Vs(e,14).ngClassTouched,Vs(e,14).ngClassPristine,Vs(e,14).ngClassDirty,Vs(e,14).ngClassValid,Vs(e,14).ngClassInvalid,Vs(e,14).ngClassPending),n(e,15,0,t.stepUp.securityQuestionAnswerText.length<1,t.amtConfig.labelsAndMessages.submitBtn)})}function Sg(n){return xu(0,[(n()(),cs(0,0,null,null,1,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,1,0,e.component.amtConfig.labelsAndMessages.systemErr)})}function Tg(n){return xu(0,[(n()(),cs(0,0,null,null,22,"div",[["class","stepup-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,10,"div",[["class","stepup-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,6,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,tg)),$s(5,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,lg)),$s(7,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,rg)),$s(9,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,og)),$s(11,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(12,0,null,null,10,"div",[["class","stepup-wrapper"]],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,pg)),$s(14,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,yg)),$s(16,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Cg)),$s(18,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Eg)),$s(20,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,Sg)),$s(22,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,5,0,"OUT_OF_BAND"!=t.stepUp.currentStepUpType&&"SECURITY_QUESTIONS"!=t.stepUp.currentStepUpType),n(e,7,0,"OUT_OF_BAND"==t.stepUp.currentStepUpType),n(e,9,0,"SECURITY_QUESTIONS"==t.stepUp.currentStepUpType),n(e,11,0,"ALL_OPTIONS"!=t.currentStep||t.showCancelBtn),n(e,14,0,"ALL_OPTIONS"==t.currentStep),n(e,16,0,"OTP_LIST"==t.currentStep),n(e,18,0,"OTP_ENTRY"==t.currentStep),n(e,20,0,"SECURITY_QUESTIONS"==t.currentStep),n(e,22,0,"ERROR"==t.currentStep)},null)}function xg(n){return xu(0,[gu(671088640,1,{securityCode:0}),gu(671088640,2,{securityQuestionAnswerText:0}),(n()(),as(16777216,null,null,1,null,Tg)),$s(3,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.currentStep)},null)}var Og=function(){function n(){var n=this;this.timeInterval=1e3,this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.amtConfig={},this.timer=setInterval(function(){n.counter--,0===n.counter&&n.logoutClick()},this.timeInterval)}return n.prototype.ngOnChanges=function(n){this.message&&(this.messageObj=JSON.parse(this.message),this.amtConfig=this.messageObj.amtConfig?JSON.parse(this._window.atob(this.messageObj.amtConfig)):{},this.counter=this.messageObj.counter?Number(this.messageObj.counter):180,this.loadMessageOptions())},n.prototype.loadMessageOptions=function(){null!=this.amtConfig.labelsAndMessages&&null!=this.amtConfig.labelsAndMessages.blockListAuthCodes||(this.amtConfig.labelsAndMessages={sessionQuesion:"<h2>Do you want to continue?</h2><p>Your session is about to expire due to inactivity. Please confirm if you want to continue, or you will be logged out automatically.</p>",continueSession:"Continue Session",logoutLbl:"Log Out Now"})},n.prototype.continueSessionClick=function(){this.clearInterval(),this._window.KeyAmtTkt.onUserSessionContinue()},n.prototype.logoutClick=function(){this.clearInterval(),this._window.KeyAmtTkt.onUserSessionEnd()},n.prototype.clearInterval=function(){this.timer&&clearInterval(this.timer)},n}(),Ag=Li({encapsulation:2,styles:[],data:{}});function Ig(n){return xu(0,[(n()(),cs(0,0,null,null,0,"div",[["class","timeout-blur-bg"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,11,"section",[["class","timeout"],["id","timeoutBanner"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,10,"div",[["class","container"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,3,"div",[["class","col-xs-9 col-sm-10 col-md-10 col-lg-11"]],null,null,null,null,null)),(n()(),cs(5,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(6,0,null,null,0,"button",[["class","kds-button kds-button--default"],["id","continuesession"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.continueSessionClick()&&l),l},null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--default"],["id","logout"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.logoutClick()&&l),l},null,null)),(n()(),cs(8,0,null,null,4,"div",[["class","col-xs-3 col-sm-2 col-md-2 col-lg-1"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,3,"div",[["class","timeout-count pull-right"]],null,null,null,null,null)),(n()(),Eu(10,null,[" ",""])),(n()(),cs(11,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Eu(-1,null,["seconds"]))],null,function(n,e){var t=e.component;n(e,5,0,t.amtConfig.labelsAndMessages.sessionQuesion),n(e,6,0,t.amtConfig.labelsAndMessages.continueSession),n(e,7,0,t.amtConfig.labelsAndMessages.logoutLbl),n(e,10,0,t.counter)})}var Pg=function(){function n(n,e){this.renderer=n,this.loaderService=e,this.logger=Td.getInstance("BiometricAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.showErrorMsg=!1,this.errorMessage="",this.uiHandlerConfig={}}return n.prototype.ngOnChanges=function(n){if(this.message){var e=JSON.parse(this.message);this.uiHandlerConfig=e.uiHandlerConfig?JSON.parse(this._window.atob(e.uiHandlerConfig)):{},this.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,e.error&&(this.showErrorMsg=!0)}},n}(),Mg=Li({encapsulation:2,styles:[],data:{}});function Ng(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","stepup-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,4,"div",[["class","stepup-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"div",[["class","col-8 col-xs-8"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"h5",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,0,"div",[["class","col-4 col-xs-4 text-right"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,3,"div",[["class","stepup-wrapper"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,1,"div",[["class","col-12"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,0,"h3",[["class","mt-2"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){n(e,4,0,"Biometric"),n(e,9,0,"Please authenticate")})}var Lg=function(){function n(){this.logger=Td.getInstance("ProspectCreateComponent"),this._window=window,this.channel="WEB",this.message="",this.prospectUserid="",this.password="",this.confirmPassword="",this.showText=!1,this.messageObj={},this.uiHandlerConfig={},this.formSessionName="",this.authError=!1,this.disclosureAccepted=!1,this.showUserNameRules=!1,this.showPasswordRules=!1,this.showConfirmPasswordRules=!1,this.userId="",this.imagePath="",this.validationResult={pwd1LengthValidationLbl:!1,pwd2MinOneNumberValidationLbl:!1,pwd3MinOnLetterValidationLbl:!1,pwd5UserAndPasswordMatchLbl:!1,pwd6ConsecutiveCharMatchLbl:!1,pwd4SpecialCharLbl:!1,pwdMatchLbl:!1},this.uNameValidationResult={uNameLengthLbl:!1,uNameOneNumberLbl:!1,uNameNoSpecialCharLbl:!1,uNameConsectiveCharMatchLbl:!1},this.formName="",this.formSubText="",this.showPassword="password",this.pwdRulesNotMatched=!0,this.resetPasswordValidation()}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,this.imagePath=this.uiHandlerConfig.imageUrl,this.formSessionName=this.messageObj.formContext,this.formTitle(),this.messageObj.error&&(this.authError=!0,this.errorMessage=this.getErrorMessage(),this.pwdRulesNotMatched=!0),this.userId=this.messageObj.userId)},n.prototype.ngAfterViewInit=function(){"Prospect_Create_Account"==this.formSessionName&&this.userNameTxt&&this.userNameTxt.nativeElement?this.userNameTxt.nativeElement.focus():this.newPwdTxt&&this.newPwdTxt.nativeElement&&this.newPwdTxt.nativeElement.focus()},n.prototype.formTitle=function(){this.formName=this.appMessagesAndLabels.prospectCreateTxt,this.formSubText=this.appMessagesAndLabels.prospcetCreateSubTxt},n.prototype.isAnAcceptablePassword=function(){var n=!0;if(this.password===this.confirmPassword){for(var e in this.validationResult)if(!this.validationResult[e]){n=!1;break}return n}return this.logger.log("Password and confirm password not matches"),!1},n.prototype.isAnAcceptableUserName=function(){var n=!0;for(var e in this.uNameValidationResult)if(!this.uNameValidationResult[e]){n=!1;break}return n},n.prototype.validateUserNameRules=function(n){var e=n.length>=9&&n.length<=20,t=/^(?=.*[0-9])+/g.test(n),l=/^(?=.*[a-zA-Z])+/g.test(n),r=/^(?=.*[!@#$%^&*\(\)_\-+=\[\]{}|\\<>,.?\/;:"'~`])+/g.test(n),o=/^(.)\1*$/.test(n)||/\d{10}/.test(n);this.validationResult.pwd5UserAndPasswordMatchLbl=this.password.length>=8&&n.toUpperCase()!==this.password.toUpperCase();var i=/\s/g.test(n);this.uNameValidationResult={uNameLengthLbl:e,uNameOneNumberLbl:9==n.length?t&&l:l,uNameNoSpecialCharLbl:e&&!r&&!i,uNameConsectiveCharMatchLbl:e&&!o},this.isuNameRulesMatched(),this.isPasswordRulesMatched()},n.prototype.validatePasswordRules=function(n){var e=n.length>=8,t=/^(?=.*[0-9])+/g.test(n),l=/^(?=.*[a-zA-Z])+/g.test(n),r=/^(?=.*[!@\$%\^&\*])+/g.test(n),o=/^[a-zA-Z0-9!@$%^&*]+$/.test(n),i=!/\s/g.test(n),s=r&&o&&i,u=e&&this.prospectUserid.toUpperCase()!==n.toUpperCase(),a=n.length>3&&!/(.)\1\1/.test(n);this.validationResult={pwd1LengthValidationLbl:e,pwd2MinOneNumberValidationLbl:t,pwd3MinOnLetterValidationLbl:l,pwd5UserAndPasswordMatchLbl:u,pwd6ConsecutiveCharMatchLbl:a,pwd4SpecialCharLbl:s,pwdMatchLbl:this.password.length&&this.confirmPassword.length&&this.password===this.confirmPassword},this.isPasswordRulesMatched()},n.prototype.isPasswordRulesMatched=function(){var n=!1;if(this.userId&&this.userId.length&&this.password.length&&this.confirmPassword.length){for(var e in this.validationResult)if(!this.validationResult[e]){n=!0;break}}else n=!0;this.pwdRulesNotMatched=n},n.prototype.isuNameRulesMatched=function(){var n=!1;if(this.userId&&this.userId.length){for(var e in this.uNameValidationResult)if(!this.uNameValidationResult[e]){n=!0;break}}else n=!0;this.uNameRulesNotMatched=n},n.prototype.resetPasswordValidation=function(){this.validationResult={pwd1LengthValidationLbl:!1,pwd2MinOneNumberValidationLbl:!1,pwd3MinOnLetterValidationLbl:!1,pwd5UserAndPasswordMatchLbl:!1,pwd6ConsecutiveCharMatchLbl:!1,pwd4SpecialCharLbl:!1,pwdMatchLbl:!1}},n.prototype.resetUserNameValidation=function(){this.uNameValidationResult={uNameLengthLbl:!1,uNameOneNumberLbl:!1,uNameNoSpecialCharLbl:!1,uNameConsectiveCharMatchLbl:!1}},n.prototype.onPwdChange=function(n){this.authError=!1,this.validatePasswordRules(n)},n.prototype.onConfirmPwdChange=function(n){this.authError=!1,this.validationResult.pwdMatchLbl=this.password.length&&this.confirmPassword.length&&this.password===this.confirmPassword,this.isPasswordRulesMatched()},n.prototype.onUsernameChange=function(n){this.authError=!1,this.validateUserNameRules(n)},n.prototype.authenticate=function(){this.isAnAcceptablePassword()&&!this.pwdRulesNotMatched&&this.isAnAcceptableUserName()&&this.disclosureAccepted&&"Prospect_Create_Account"===this.formSessionName&&this._window.sendMessageToSDK("prospectCreateFormSessionSubmit",{prospectUserid:this.prospectUserid,prospectPassword:this.confirmPassword},this.channel)},n.prototype.cancel=function(){this._window.sendMessageToSDK("prospectCreateFormSessionCancel",{},this.channel)},n.prototype.onShowHidePassword=function(n){this.showPassword=n.target.checked?"text":"password"},n.prototype.getErrorMessage=function(){var n=this.appMessagesAndLabels.systemErr;switch(this.messageObj.error.status){case"DUPLICATE_ERROR":n=this.appMessagesAndLabels.prospectCreateDuplicateError;break;case"VALIDATION_ERROR":n=this.appMessagesAndLabels.prospectCreateValidationError;break;case"LOCKED":n=this.appMessagesAndLabels.prospectCreateLockedError;break;default:n=this.appMessagesAndLabels.prospectCreateDefaultError}return n},n.prototype.acceptDisclosure=function(n){this.disclosureAccepted=n.target.checked},n.prototype.onFocus=function(n){this.showUserNameRules=this.uNameRulesNotMatched||"prospect-username"===n.id,this.showPasswordRules="new-password"===n.id,this.showConfirmPasswordRules="confirm-new-password"===n.id,"new-password"===n.id&&this.validatePasswordRules(n.value)},n.prototype.onBlur=function(n){switch(n.id){case"prospect-username":this.uNameRulesNotMatched||(this.showUserNameRules=!1);break;case"new-password":this.showPasswordRules=!1;break;case"confirm-new-password":this.showConfirmPasswordRules=!0}},n}(),Dg=Li({encapsulation:2,styles:[],data:{}});function Rg(n){return xu(0,[(n()(),cs(0,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m pwd-validation-tick-icon"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,":svg:use",[["class","pwd-validation-tick-icon"]],[[1,":xlink:href",0]],null,null,null,null))],null,function(n,e){n(e,1,0,e.component.imagePath+"kds.svg#check")})}function Ug(n){return xu(0,[(n()(),cs(0,0,null,null,5,"li",[],null,null,null,null,null)),$s(1,278528,null,0,rc,[ii,si,Kl,Jl],{ngClass:[0,"ngClass"]},null),Cu(2,{"pwd-tick":0}),(n()(),as(16777216,null,null,1,null,Rg)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(5,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){var t=n(e,2,0,e.context.$implicit.value);n(e,1,0,t),n(e,4,0,e.context.$implicit.value)},function(n,e){n(e,5,0,e.component.appMessagesAndLabels[e.context.$implicit.key])})}function jg(n){return xu(0,[(n()(),cs(0,0,null,null,4,"div",[["class","col-12 col-xs-12 newpwd-require-block"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,3,"ul",[],null,null,null,null,null)),(n()(),as(16777216,null,null,2,null,Ug)),$s(3,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),Xs(0,fc,[si])],function(n,e){var t=e.component;n(e,3,0,Pi(e,3,0,Vs(e,4).transform(t.uNameValidationResult)))},null)}function Vg(n){return xu(0,[(n()(),cs(0,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m pwd-validation-tick-icon"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,":svg:use",[["class","pwd-validation-tick-icon"]],[[1,":xlink:href",0]],null,null,null,null))],null,function(n,e){n(e,1,0,e.component.imagePath+"kds.svg#check")})}function Fg(n){return xu(0,[(n()(),cs(0,0,null,null,5,"li",[],null,null,null,null,null)),$s(1,278528,null,0,rc,[ii,si,Kl,Jl],{ngClass:[0,"ngClass"]},null),Cu(2,{"pwd-tick":0}),(n()(),as(16777216,null,null,1,null,Vg)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(5,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],function(n,e){var t=n(e,2,0,e.context.$implicit.value);n(e,1,0,t),n(e,4,0,e.context.$implicit.value)},function(n,e){n(e,5,0,e.component.appMessagesAndLabels[e.context.$implicit.key])})}function Hg(n){return xu(0,[(n()(),cs(0,0,null,null,4,"div",[["class","col-12 col-xs-12 newpwd-require-block"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,3,"ul",[],null,null,null,null,null)),(n()(),as(16777216,null,null,2,null,Fg)),$s(3,278528,null,0,ic,[Fo,Rr,ii],{ngForOf:[0,"ngForOf"]},null),Xs(0,fc,[si])],function(n,e){var t=e.component;n(e,3,0,Pi(e,3,0,Vs(e,4).transform(t.validationResult)))},null)}function Bg(n){return xu(0,[gu(402653184,1,{userNameTxt:0}),gu(402653184,2,{newPwdTxt:0}),(n()(),cs(2,0,null,null,72,"div",[["class","prospectcreate-container mb-4"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,2,"div",[["class","col-12 col-xs-12 text-center"]],null,null,null,null,null)),(n()(),cs(4,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Eu(5,null,["",""])),(n()(),cs(6,0,null,null,68,"div",[["class","prospectcreate-wrapper"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,9,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(8,0,null,null,8,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(10,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(12,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(13,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(14,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(15,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(17,0,null,null,57,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(18,0,null,null,1,"div",[["class","col-12 col-xs-12 prospectcreate-sub-header text-center"]],null,null,null,null,null)),(n()(),cs(19,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(20,0,null,null,11,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(21,0,null,null,8,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(22,0,[[1,0],["userNameTxt",1]],null,7,"input",[["autocapitalize","off"],["autocorrect","off"],["class","kds-form__input"],["data-test","user-name"],["id","prospect-username"],["maxlength","20"],["type","text"]],[[8,"placeholder",0],[1,"maxlength",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,"focus"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,23)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.prospectUserid=t)&&l),"input"===e&&(l=!1!==r.onUsernameChange(t.target.value)&&l),"focus"===e&&(l=!1!==r.onFocus(t.target)&&l),"blur"===e&&(l=!1!==r.onBlur(t.target)&&l),l},null,null)),$s(23,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(24,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n){return[n]},[_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(27,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(29,16384,null,0,rd,[[4,zp]],null,null),(n()(),as(16777216,null,null,1,null,jg)),$s(31,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(32,0,null,null,21,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(33,0,null,null,20,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(34,0,[[2,0],["newPwdTxt",1]],null,8,"input",[["autocapitalize","off"],["autocorrect","off"],["class","kds-form__input"],["data-test","new-pwd"],["id","new-password"],["maxlength","30"],["required",""]],[[8,"type",0],[8,"placeholder",0],[1,"required",0],[1,"maxlength",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,"focus"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,35)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,35).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,35)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,35)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.password=t)&&l),"input"===e&&(l=!1!==r.onPwdChange(t.target.value)&&l),"focus"===e&&(l=!1!==r.onFocus(t.target)&&l),"blur"===e&&(l=!1!==r.onBlur(t.target)&&l),l},null,null)),$s(35,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(36,16384,null,0,bd,[],{required:[0,"required"]},null),$s(37,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(40,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(42,16384,null,0,rd,[[4,zp]],null,null),(n()(),as(16777216,null,null,1,null,Hg)),$s(44,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),cs(45,0,null,null,8,"input",[["autocapitalize","off"],["autocorrect","off"],["class","kds-form__input"],["data-test","confirm-new-pwd"],["id","confirm-new-password"],["maxlength","30"],["required",""]],[[8,"type",0],[8,"placeholder",0],[1,"required",0],[1,"maxlength",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,"keydown.enter"],[null,"input"],[null,"focus"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,46)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,46).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,46)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,46)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.confirmPassword=t)&&l),"keydown.enter"===e&&(l=!1!==r.authenticate()&&l),"input"===e&&(l=!1!==r.onConfirmPwdChange(t.target.value)&&l),"focus"===e&&(l=!1!==r.onFocus(t.target)&&l),"blur"===e&&(l=!1!==r.onBlur(t.target)&&l),l},null,null)),$s(46,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(47,16384,null,0,bd,[],{required:[0,"required"]},null),$s(48,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(51,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(53,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(54,0,null,null,0,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(55,0,null,null,14,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(56,0,null,null,13,"label",[["class","kds-form__checkbox prospectcreate-showtxt"],["for","i-accept-the-terms-and-conditions--36602"]],null,null,null,null,null)),(n()(),cs(57,0,null,null,5,"input",[["class","kds-form__checkbox-input"],["id","i-accept-the-terms-and-conditions--36602"],["type","checkbox"]],[[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(n,e,t){var l=!0,r=n.component;return"change"===e&&(l=!1!==Vs(n,58).onChange(t.target.checked)&&l),"blur"===e&&(l=!1!==Vs(n,58).onTouched()&&l),"ngModelChange"===e&&(l=!1!==(r.disclosureAccepted=t)&&l),l},null,null)),$s(58,16384,null,0,jp,[Jl,Kl],null,null),nu(1024,null,Up,function(n){return[n]},[jp]),$s(60,671744,null,0,vd,[[8,null],[8,null],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(62,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(63,0,null,null,6,"span",[["class","kds-form__checkbox-visible-wrap"]],null,null,null,null,null)),(n()(),cs(64,0,null,null,4,"span",[["class","kds-form__checkbox-visual"]],null,null,null,null,null)),(n()(),cs(65,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--checked"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(66,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(67,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-icon--m kds-form__checkbox-icon kds-form__checkbox-icon--indeterminate"],["focusable","false"]],null,null,null,null,null)),(n()(),cs(68,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(69,0,null,null,0,"span",[["class","kds-form__checkbox-text prospectcreate-disclosure"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(70,0,null,null,4,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(71,0,null,null,1,"div",[["class","col-6 col-xs-6 text-center"]],null,null,null,null,null)),(n()(),cs(72,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancel()&&l),l},null,null)),(n()(),cs(73,0,null,null,1,"div",[["class","col-6 col-xs-6 text-center"]],null,null,null,null,null)),(n()(),cs(74,0,null,null,0,"button",[["class","kds-button kds-button--primary kds-button--small"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticate()&&l),l},null,null))],function(n,e){var t=e.component;n(e,24,0,"20"),n(e,27,0,t.prospectUserid),n(e,31,0,t.showUserNameRules),n(e,36,0,""),n(e,37,0,"30"),n(e,40,0,t.password),n(e,44,0,t.showPasswordRules||t.showConfirmPasswordRules),n(e,47,0,""),n(e,48,0,"30"),n(e,51,0,t.confirmPassword),n(e,60,0,t.disclosureAccepted)},function(n,e){var t=e.component;n(e,5,0,t.formName),n(e,9,0,!t.authError),n(e,14,0,t.imagePath+"kds.svg#alert"),n(e,16,0,t.errorMessage),n(e,19,0,t.appMessagesAndLabels.prospectCreateSubTxt),n(e,22,0,t.appMessagesAndLabels.userIDLbl,Vs(e,24).maxlength?Vs(e,24).maxlength:null,Vs(e,29).ngClassUntouched,Vs(e,29).ngClassTouched,Vs(e,29).ngClassPristine,Vs(e,29).ngClassDirty,Vs(e,29).ngClassValid,Vs(e,29).ngClassInvalid,Vs(e,29).ngClassPending),n(e,34,1,[ss(1,"",t.showPassword,""),t.appMessagesAndLabels.passwordTxt,Vs(e,36).required?"":null,Vs(e,37).maxlength?Vs(e,37).maxlength:null,Vs(e,42).ngClassUntouched,Vs(e,42).ngClassTouched,Vs(e,42).ngClassPristine,Vs(e,42).ngClassDirty,Vs(e,42).ngClassValid,Vs(e,42).ngClassInvalid,Vs(e,42).ngClassPending]),n(e,45,1,[ss(1,"",t.showPassword,""),t.appMessagesAndLabels.confirmPasswordLbl,Vs(e,47).required?"":null,Vs(e,48).maxlength?Vs(e,48).maxlength:null,Vs(e,53).ngClassUntouched,Vs(e,53).ngClassTouched,Vs(e,53).ngClassPristine,Vs(e,53).ngClassDirty,Vs(e,53).ngClassValid,Vs(e,53).ngClassInvalid,Vs(e,53).ngClassPending]),n(e,57,0,Vs(e,62).ngClassUntouched,Vs(e,62).ngClassTouched,Vs(e,62).ngClassPristine,Vs(e,62).ngClassDirty,Vs(e,62).ngClassValid,Vs(e,62).ngClassInvalid,Vs(e,62).ngClassPending),n(e,66,0,t.imagePath+"kds.svg#check"),n(e,68,0,t.imagePath+"kds.svg#minus"),n(e,69,0,t.appMessagesAndLabels.prospectCreateDisclosure),n(e,72,0,t.appMessagesAndLabels.cancelBtn),n(e,74,0,t.uNameRulesNotMatched||t.pwdRulesNotMatched||!t.disclosureAccepted,t.appMessagesAndLabels.continueBtn)})}var qg=function(){function n(n){this.loaderService=n,this.logger=Td.getInstance("phoneDOBAuthComponent"),this._window=window,this.channel="WEB",this.message="",this.messageObj={},this.uiHandlerConfig={},this.authError=!1,this.dob="",this.phoneNbr="",this.reformattedDob="",this.reformattedPhone="",this.errorCount=0,this.imagePath=""}return n.prototype.ngOnChanges=function(n){this.authError=!1,this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,this.formSessionName=this.messageObj.formContext,this.formName=this.appMessagesAndLabels.nonCredentialLoginSubHeader,this.imagePath=this.uiHandlerConfig.imageUrl,this.messageObj.error&&(this.authError=!0,this.errorMessage=this.getErrorMessage(),this.errorCount=this.errorCount+1))},n.prototype.authenticate=function(){this.reformatData(),this.dataIsValid()&&this._window.sendMessageToSDK("phoneDOBAuthFormSessionSubmit",{userName:this.origApplicationID,dobLogin:this.reformattedDob,primaryPhoneNumberLogin:this.reformattedPhone},this.channel)},n.prototype.authCancel=function(){this._window.sendMessageToSDK("phoneDOBAuthFormSessionCancel",{},this.channel)},n.prototype.dataIsValid=function(){var n=/^(.)\1*$/.test(this.reformattedPhone),e=/^(.)\1*$/.test(this.reformattedDob),t=!isNaN(Number(this.reformattedPhone)),l=!isNaN(Number(this.reformattedDob)),r=t?this.reformattedPhone.substr(0,1):"0",o=new Date,i=new Date(this.dob),s=this.reformattedDob.substr(0,4),u=!isNaN(i.getFullYear())&&Number(s)>1899&&Number(s)<o.getFullYear();return!e&&l&&u?!(n||!t||"0"===r||"1"===r)||(this.authError=!0,this.errorMessage=this.appMessagesAndLabels.nonCredentialPhoneError,!1):(this.authError=!0,this.errorMessage=this.appMessagesAndLabels.nonCredentialDobError,!1)},n.prototype.numberOnly=function(n){this.authError=!1;var e=n.which?n.which:n.keyCode;return!(e>31&&(e<48||e>57))},n.prototype.dobOnly=function(n){this.authError=!1;var e=n.which?n.which:n.keyCode;return 2==this.dob.length||5==this.dob.length?47!=e&&this.numberOnly(n)?(this.dob=this.dob.concat("/"),!0):47==e:this.numberOnly(n)},n.prototype.phoneOnly=function(n){var e=n.which?n.which:n.keyCode;return 3==this.phoneNbr.length||7==this.phoneNbr.length?45!=e&&this.numberOnly(n)?(this.phoneNbr=this.phoneNbr.concat("-"),!0):45==e:this.numberOnly(n)},n.prototype.reformatData=function(){this.reformattedDob=this.dob.substring(6,10).concat(this.dob.substring(0,2)).concat(this.dob.substring(3,5)),this.reformattedPhone=this.phoneNbr.substring(0,3).concat(this.phoneNbr.substring(4,7)).concat(this.phoneNbr.substring(8,12))},n.prototype.autoFormat=function(n,e){var t=n.target.value;if(/^\d+$/.test(t))if("phone"===e&&10==t.length){var l=t.substr(0,3),r=t.substr(3,3),o=t.substr(6,4);this.phoneNbr=l.concat("-").concat(r).concat("-").concat(o)}else if("dob"===e&&8==t.length){var i=t.substr(0,2),s=t.substr(2,2),u=t.substr(4,4);this.dob=i.concat("/").concat(s).concat("/").concat(u)}},n.prototype.getErrorMessage=function(){return this.appMessagesAndLabels.nonCredentialError},n}(),Qg=Li({encapsulation:2,styles:[],data:{}});function zg(n){return xu(0,[(n()(),cs(0,0,null,null,45,"div",[["class","phone-dob-auth-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,6,"div",[["class","phone-dob-auth-header"]],null,null,null,null,null)),(n()(),cs(2,0,null,null,2,"div",[["class","col-12 col-xs-12 phone-dob-auth-header text-center"]],null,null,null,null,null)),(n()(),cs(3,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Eu(4,null,["",""])),(n()(),cs(5,0,null,null,2,"div",[["class","col-12 col-xs-12 text-center"]],null,null,null,null,null)),(n()(),cs(6,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Eu(7,null,["",""])),(n()(),cs(8,0,null,null,37,"div",[["class","phone-dob-auth-wrapper"]],null,null,null,null,null)),(n()(),cs(9,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(10,0,null,null,18,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(11,0,null,null,7,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),cs(12,0,null,null,6,"div",[["class","kds-alert"]],null,null,null,null,null)),(n()(),cs(13,0,null,null,5,"div",[["class","kds-alert__content kds-alert__content--warning"]],null,null,null,null,null)),(n()(),cs(14,0,null,null,2,"div",[["class","kds-alert__cell kds-alert__cell--indicator"]],null,null,null,null,null)),(n()(),cs(15,0,null,null,1,":svg:svg",[["aria-hidden","true"],["class","kds-icon kds-alert__indicator"]],null,null,null,null,null)),(n()(),cs(16,0,null,null,0,":svg:use",[],[[1,":xlink:href",0]],null,null,null,null)),(n()(),cs(17,0,null,null,1,"div",[["class","kds-alert__cell kds-alert__cell--body"]],null,null,null,null,null)),(n()(),cs(18,0,null,null,0,"p",[["class","kds-alert__description"],["data-test","sq_syserror_msg"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(19,0,null,null,9,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(20,0,null,null,8,"input",[["autofocus",""],["class","kds-form__input"],["maxlength","10"],["required",""],["type","text"]],[[8,"placeholder",0],[1,"required",0],[1,"maxlength",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,"keypress"],[null,"change"],[null,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,21)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,21).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,21)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,21)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.dob=t)&&l),"keypress"===e&&(l=!1!==r.dobOnly(t)&&l),"change"===e&&(l=!1!==r.autoFormat(t,"dob")&&l),"keydown.enter"===e&&(l=!1!==r.authenticate()&&l),l},null,null)),$s(21,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(22,16384,null,0,bd,[],{required:[0,"required"]},null),$s(23,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(26,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(28,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(29,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(30,0,null,null,10,"div",[["class","col-12 col-xs-12"]],null,null,null,null,null)),(n()(),cs(31,0,null,null,9,"div",[["class","kds-form__field-group"]],null,null,null,null,null)),(n()(),cs(32,0,null,null,8,"input",[["class","kds-form__input"],["maxlength","12"],["required",""],["type","text"]],[[8,"placeholder",0],[1,"required",0],[1,"maxlength",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,"keypress"],[null,"change"],[null,"keydown.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==Vs(n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==Vs(n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==Vs(n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==Vs(n,33)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.phoneNbr=t)&&l),"keypress"===e&&(l=!1!==r.phoneOnly(t)&&l),"change"===e&&(l=!1!==r.autoFormat(t,"phone")&&l),"keydown.enter"===e&&(l=!1!==r.authenticate()&&l),l},null,null)),$s(33,16384,null,0,Fp,[Jl,Kl,[2,Vp]],null,null),$s(34,16384,null,0,bd,[],{required:[0,"required"]},null),$s(35,540672,null,0,_d,[],{maxlength:[0,"maxlength"]},null),nu(1024,null,Pp,function(n,e){return[n,e]},[bd,_d]),nu(1024,null,Up,function(n){return[n]},[Fp]),$s(38,671744,null,0,vd,[[8,null],[6,Pp],[8,null],[6,Up]],{model:[0,"model"]},{update:"ngModelChange"}),nu(2048,null,zp,null,[vd]),$s(40,16384,null,0,rd,[[4,zp]],null,null),(n()(),cs(41,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),cs(42,0,null,null,1,"div",[["class","col-6 col-xs-6 text-center"]],null,null,null,null,null)),(n()(),cs(43,0,null,null,0,"button",[["class","kds-button kds-button--default kds-button--small"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authCancel()&&l),l},null,null)),(n()(),cs(44,0,null,null,1,"div",[["class","col-6 col-xs-6 text-center"]],null,null,null,null,null)),(n()(),cs(45,0,null,null,0,"button",[["class","phone-dob-auth-btn-right kds-button kds-button--primary kds-button--small"],["role","button"],["type","button"]],[[8,"disabled",0],[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.authenticate()&&l),l},null,null))],function(n,e){var t=e.component;n(e,22,0,""),n(e,23,0,"10"),n(e,26,0,t.dob),n(e,34,0,""),n(e,35,0,"12"),n(e,38,0,t.phoneNbr)},function(n,e){var t=e.component;n(e,4,0,t.appMessagesAndLabels.nonCredentialLoginHeader),n(e,7,0,t.formName),n(e,11,0,!t.authError),n(e,16,0,t.imagePath+"kds.svg#alert"),n(e,18,0,t.errorMessage),n(e,20,0,t.appMessagesAndLabels.enterDobLbl,Vs(e,22).required?"":null,Vs(e,23).maxlength?Vs(e,23).maxlength:null,Vs(e,28).ngClassUntouched,Vs(e,28).ngClassTouched,Vs(e,28).ngClassPristine,Vs(e,28).ngClassDirty,Vs(e,28).ngClassValid,Vs(e,28).ngClassInvalid,Vs(e,28).ngClassPending),n(e,32,0,t.appMessagesAndLabels.enterPhoneLbl,Vs(e,34).required?"":null,Vs(e,35).maxlength?Vs(e,35).maxlength:null,Vs(e,40).ngClassUntouched,Vs(e,40).ngClassTouched,Vs(e,40).ngClassPristine,Vs(e,40).ngClassDirty,Vs(e,40).ngClassValid,Vs(e,40).ngClassInvalid,Vs(e,40).ngClassPending),n(e,43,0,t.appMessagesAndLabels.cancelBtn),n(e,45,0,t.phoneNbr.length<12||t.dob.length<10,t.appMessagesAndLabels.continueBtn)})}var Kg=function(){function n(){this.logger=Td.getInstance("bindidstepup"),this._window=window,this.messageObj={},this.uiHandlerConfig={},this.contents={},this.channel="WEB",this.message="",this.logger.log("inside bindID stepup dialog")}return n.prototype.ngOnInit=function(){this.logger.log("BindID stepup page initialized"),this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.contents.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,"authentication"==this.messageObj.mode?this.prepareStepUPDialog():this.prepareRegisterDialog())},n.prototype.prepareStepUPDialog=function(){this.dialogInformation={title:"Authentication required",dialogHeader:"Please use your BindID authenticator to continue.",dialogActionText:'You can use "Open BindID" below to override Pop-Up blocker',dialogCancelText:"Click cancel to use other authenticators",continueLabel:"Open BindID",cancelLabel:"Cancel"}},n.prototype.prepareRegisterDialog=function(){this.dialogInformation={title:"Authentication Registration",dialogHeader:"Please use your personal device register with BindID",dialogActionText:'You can use "Open BindID" below to override Pop-Up blocker',dialogCancelText:"Note: Bind ID device can be shared between multiple providers",continueLabel:"Open BindID",cancelLabel:"Cancel"}},n.prototype.ngAfterViewInit=function(){this.logger.log("BindID stepup page view init")},n.prototype.onOpenBindId=function(){this._window.sendMessageToSDK("onOpenBindId",{},this.channel)},n.prototype.onCancelClicked=function(){this._window.sendMessageToSDK("onBindIDCancel",{},this.channel)},n}(),Wg=Li({encapsulation:2,styles:[],data:{}});function Gg(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","forgot-confirmation-container forgot-unlock-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,4,"div",[["class","forgot-button-block "]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onOpenBindId()&&l),l},null,null)),(n()(),cs(8,0,null,null,0,"p",[["class","mt-4"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(9,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClicked()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.dialogInformation.title),n(e,4,0,t.dialogInformation.dialogHeader),n(e,6,0,t.dialogInformation.dialogActionText),n(e,7,0,t.dialogInformation.continueLabel),n(e,8,0,t.dialogInformation.dialogCancelText),n(e,9,0,t.dialogInformation.cancelLabel)})}var Zg=function(){function n(){this.logger=Td.getInstance("bindidregistration"),this._window=window,this.messageObj={},this.uiHandlerConfig={},this.contents={},this.channel="WEB",this.message="",this.logger.log("inside bindID stepup dialog")}return n.prototype.ngOnInit=function(){this.logger.log("BindID stepup page initialized"),this.message&&(this.messageObj=JSON.parse(this.message),this.uiHandlerConfig=this.messageObj.uiHandlerConfig?JSON.parse(this._window.atob(this.messageObj.uiHandlerConfig)):{},this.contents.appMessagesAndLabels=this.uiHandlerConfig.labelsAndMessages,"authentication"==this.messageObj.mode?this.prepareStepUPDialog():this.prepareRegisterDialog())},n.prototype.prepareStepUPDialog=function(){this.dialogInformation={title:"Authentication required",dialogHeader:"Please use your BindID authenticator to continue.",dialogActionText:'You can use "Open BindID" below to override Pop-Up blocker',dialogCancelText:"Click cancel to use other authenticators",continueLabel:"Open BindID",cancelLabel:"Cancel"}},n.prototype.prepareRegisterDialog=function(){this.dialogInformation={title:"Authentication Registration",dialogHeader:"Please use your personal device register with BindID",dialogActionText:'You can use "Open BindID" below to override Pop-Up blocker',dialogCancelText:"Note: Bind ID device can be shared between multiple providers",continueLabel:"Open BindID",cancelLabel:"Cancel"}},n.prototype.ngAfterViewInit=function(){this.logger.log("BindID stepup page view init")},n.prototype.onOpenBindId=function(){this.startQRCode()},n.prototype.onCancelClicked=function(){this._window.sendMessageToSDK("bindIdRegisterFormSessionCancel",{},this.channel)},n.prototype.startQRCode=function(){this._window.sendMessageToSDK("onOpenBindId",{},this.channel)},n}(),Yg=Li({encapsulation:2,styles:[],data:{}});function Jg(n){return xu(0,[(n()(),cs(0,0,null,null,9,"div",[["class","forgot-confirmation-container forgot-unlock-container"]],null,null,null,null,null)),(n()(),cs(1,0,null,null,0,"h2",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),cs(4,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(5,0,null,null,4,"div",[["class","forgot-button-block "]],null,null,null,null,null)),(n()(),cs(6,0,null,null,0,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(7,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onOpenBindId()&&l),l},null,null)),(n()(),cs(8,0,null,null,0,"p",[["class","mt-4"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),cs(9,0,null,null,0,"button",[["class","kds-button kds-button--primary d-block mt-4"],["role","button"],["type","button"]],[[8,"innerHTML",1]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClicked()&&l),l},null,null))],null,function(n,e){var t=e.component;n(e,1,0,t.dialogInformation.title),n(e,4,0,t.dialogInformation.dialogHeader),n(e,6,0,t.dialogInformation.dialogActionText),n(e,7,0,t.dialogInformation.continueLabel),n(e,8,0,t.dialogInformation.dialogCancelText),n(e,9,0,t.dialogInformation.cancelLabel)})}var $g=function(){function n(n,e){this.httpService=n,this.loaderService=e,this.loadingOn=!1}return n.prototype.ngOnInit=function(){var n=this;this.httpService.onLoading.subscribe(function(e){n.loadingOn=!0}),this.httpService.onComplete.subscribe(function(e){n.loadingOn=!1}),this.loaderService.onLoading.subscribe(function(e){n.loadingOn=!0}),this.loaderService.onComplete.subscribe(function(e){n.loadingOn=!1})},n}(),Xg=Li({encapsulation:2,styles:[],data:{}});function nm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[["class","loading-overlay"]],null,null,null,null,null)),$s(1,278528,null,0,rc,[ii,si,Kl,Jl],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Cu(2,{show:0,hide:1}),(n()(),cs(3,0,null,null,4,"div",[["class","cool-loader-container"]],null,null,null,null,null)),$s(4,278528,null,0,rc,[ii,si,Kl,Jl],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Cu(5,{hide:0,"":1}),(n()(),cs(6,0,null,null,1,":svg:svg",[["class","spinner-large"],["height","56"],["width","56"]],null,null,null,null,null)),(n()(),cs(7,0,null,null,0,":svg:circle",[["class","spinner-large-circle"],["cx","28"],["cy","28"],["r","25"]],null,null,null,null,null))],function(n,e){var t=e.component,l=n(e,2,0,t.loadingOn,!t.loadingOn);n(e,1,0,"loading-overlay",l);var r=n(e,5,0,!t.loadingOn,t.loadingOn);n(e,4,0,"cool-loader-container",r)},null)}var em=Li({encapsulation:0,styles:[[".mars-signon_header-viewportcoverspace[_ngcontent-%COMP%]{padding-top:35px}.mars-signon_header-viewportcoverspace[_ngcontent-%COMP%]:after{margin-top:35px}.mars-signon_footer-viewportcoverspace[_ngcontent-%COMP%]{padding-bottom:20px}"]],data:{}});function tm(n){return xu(0,[(n()(),cs(0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Eu(-1,null,[" Error! unknown session identifer\n"]))],null,null)}function lm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"password-auth",[],null,null,null,Pd,Id)),$s(2,4767744,null,0,Ad,[Gl,Ba,Od],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function rm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"authenticator-list",[],null,null,null,jd,Nd)),$s(2,4767744,null,0,Md,[Od],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function om(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"security-questions-auth",[],null,null,null,Zh,zh)),$s(2,4767744,null,0,Qh,[qh,Ba,Od],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function im(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"app-otp-auth",[],null,null,null,cf,$h)),$s(2,4767744,null,0,Jh,[Ba,Od],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function sm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"app-otac-auth",[],null,null,null,vf,df)),$s(2,4767744,null,0,pf,[Ba,Od],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function um(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"change-password",[],null,null,null,Sf,_f)),$s(2,4767744,null,0,bf,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function am(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"forgot-userid",[],null,null,null,Nf,xf)),$s(2,4767744,null,0,Tf,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function cm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"confirmation-dialog",[],null,null,null,Ff,Df)),$s(2,4308992,null,0,Lf,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function pm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"pattern-auth",[],null,null,null,qf,Bf)),$s(2,573440,null,0,Hf,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function dm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"pin-auth",[],null,null,null,Yf,zf)),$s(2,4767744,null,0,Qf,[Gl,Ba],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function hm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"step-up",[],null,null,null,xg,eg)),$s(2,704512,null,0,ng,[Xf],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function fm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"timeout-banner",[],null,null,null,Ig,Ag)),$s(2,573440,null,0,Og,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function gm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"biometric-auth",[],null,null,null,Ng,Mg)),$s(2,573440,null,0,Pg,[Gl,Ba],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function mm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"prospect-create",[],null,null,null,Bg,Dg)),$s(2,4833280,null,0,Lg,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function ym(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"phone-dob-auth",[],null,null,null,zg,Qg)),$s(2,573440,null,0,qg,[Ba],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function vm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"bindid-stepup",[],null,null,null,Gg,Wg)),$s(2,4308992,null,0,Kg,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function bm(n){return xu(0,[(n()(),cs(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),cs(1,0,null,null,1,"bindid-registration",[],null,null,null,Jg,Yg)),$s(2,4308992,null,0,Zg,[],{channel:[0,"channel"],message:[1,"message"]},null)],function(n,e){var t=e.component;n(e,2,0,t.channel,t.message)},null)}function _m(n){return xu(0,[(n()(),cs(0,0,null,null,34,"div",[],null,null,null,null,null)),(n()(),as(16777216,null,null,1,null,lm)),$s(2,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,rm)),$s(4,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,om)),$s(6,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,im)),$s(8,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,sm)),$s(10,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,um)),$s(12,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,am)),$s(14,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,cm)),$s(16,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,pm)),$s(18,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,dm)),$s(20,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,hm)),$s(22,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,fm)),$s(24,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,gm)),$s(26,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,mm)),$s(28,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,ym)),$s(30,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,vm)),$s(32,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,bm)),$s(34,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,"PASSWORD"==t.session),n(e,4,0,"AUTHENTICATOR_LIST"==t.session),n(e,6,0,"SECURITY_QUESTIONS"==t.session),n(e,8,0,"OTP"==t.session),n(e,10,0,"OTAC"==t.session),n(e,12,0,"CHANGE_PASSWORD"==t.session),n(e,14,0,"FORGOT_USERID"==t.session),n(e,16,0,"CONFIRMATION_DIALOG"==t.session),n(e,18,0,"PATTERN_AUTH_SESSION"==t.session),n(e,20,0,"PIN_AUTH_SESSION"==t.session),n(e,22,0,"STEP_UP"==t.session),n(e,24,0,"TIMEOUT_BANNER"==t.session),n(e,26,0,"BIOMETRIC_AUTH_SESSION"==t.session),n(e,28,0,"PROSPECT_CREATE"==t.session),n(e,30,0,"PHONE_DOB_AUTH"==t.session),n(e,32,0,"BINDID_STEPUP"==t.session),n(e,34,0,"BINDID_REGISTRATION"==t.session)},null)}function wm(n){return xu(0,[(n()(),cs(0,0,null,null,1,"cool-loader",[],null,null,null,nm,Xg)),$s(1,114688,null,0,$g,[Fh,Ba],null,null),(n()(),as(16777216,null,null,1,null,tm)),$s(3,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null),(n()(),as(16777216,null,null,1,null,_m)),$s(5,16384,null,0,uc,[Fo,Rr],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0),n(e,3,0,"ERROR"==t.loadStatus),n(e,5,0,"SUCCESS"==t.loadStatus)},null)}function Cm(n){return xu(0,[(n()(),cs(0,0,null,null,1,"app-shell",[],null,null,null,wm,em)),$s(1,638976,null,0,qa,[Ba],null,null)],function(n,e){n(e,1,0)},null)}var km=Os("app-shell",qa,Cm,{session:"session",channel:"channel",message:"message",spinner:"spinner"},{},[]),Em=function(){return function(){}}(),Sm=function(){return function(){}}(),Tm="*";function xm(n,e){return void 0===e&&(e=null),{type:2,steps:n,options:e}}function Om(n){return{type:6,styles:n,offset:null}}function Am(n){Promise.resolve(null).then(n)}var Im=function(){function n(n,e){void 0===n&&(n=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=n+e}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.init=function(){},n.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},n.prototype.triggerMicrotask=function(){var n=this;Am(function(){return n._onFinish()})},n.prototype._onStart=function(){this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[]},n.prototype.pause=function(){},n.prototype.restart=function(){},n.prototype.finish=function(){this._onFinish()},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype.reset=function(){},n.prototype.setPosition=function(n){},n.prototype.getPosition=function(){return 0},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n}(),Pm=function(){function n(n){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;var t=0,l=0,r=0,o=this.players.length;0==o?Am(function(){return e._onFinish()}):this.players.forEach(function(n){n.onDone(function(){++t==o&&e._onFinish()}),n.onDestroy(function(){++l==o&&e._onDestroy()}),n.onStart(function(){++r==o&&e._onStart()})}),this.totalTime=this.players.reduce(function(n,e){return Math.max(n,e.totalTime)},0)}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])},n.prototype.init=function(){this.players.forEach(function(n){return n.init()})},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[])},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(n){return n.play()})},n.prototype.pause=function(){this.players.forEach(function(n){return n.pause()})},n.prototype.restart=function(){this.players.forEach(function(n){return n.restart()})},n.prototype.finish=function(){this._onFinish(),this.players.forEach(function(n){return n.finish()})},n.prototype.destroy=function(){this._onDestroy()},n.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(n){return n.destroy()}),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype.reset=function(){this.players.forEach(function(n){return n.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype.setPosition=function(n){var e=n*this.totalTime;this.players.forEach(function(n){var t=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(t)})},n.prototype.getPosition=function(){var n=0;return this.players.forEach(function(e){var t=e.getPosition();n=Math.min(t,n)}),n},n.prototype.beforeDestroy=function(){this.players.forEach(function(n){n.beforeDestroy&&n.beforeDestroy()})},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n}(),Mm="!";function Nm(){return"undefined"!=typeof process}function Lm(n){switch(n.length){case 0:return new Im;case 1:return n[0];default:return new Pm(n)}}function Dm(n,e,t,l,r,o){void 0===r&&(r={}),void 0===o&&(o={});var i=[],s=[],u=-1,a=null;if(l.forEach(function(n){var t=n.offset,l=t==u,c=l&&a||{};Object.keys(n).forEach(function(t){var l=t,s=n[t];if("offset"!==t)switch(l=e.normalizePropertyName(l,i),s){case Mm:s=r[t];break;case Tm:s=o[t];break;default:s=e.normalizeStyleValue(t,l,s,i)}c[l]=s}),l||s.push(c),a=c,u=t}),i.length)throw new Error("Unable to animate due to the following errors:\n - "+i.join("\n - "));return s}function Rm(n,e,t,l){switch(e){case"start":n.onStart(function(){return l(t&&Um(t,"start",n))});break;case"done":n.onDone(function(){return l(t&&Um(t,"done",n))});break;case"destroy":n.onDestroy(function(){return l(t&&Um(t,"destroy",n))})}}function Um(n,e,t){var l=t.totalTime,r=jm(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==l?n.totalTime:l,!!t.disabled),o=n._data;return null!=o&&(r._data=o),r}function jm(n,e,t,l,r,o,i){return void 0===r&&(r=""),void 0===o&&(o=0),{element:n,triggerName:e,fromState:t,toState:l,phaseName:r,totalTime:o,disabled:!!i}}function Vm(n,e,t){var l;return n instanceof Map?(l=n.get(e))||n.set(e,l=t):(l=n[e])||(l=n[e]=t),l}function Fm(n){var e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}var Hm=function(n,e){return!1},Bm=function(n,e){return!1},qm=function(n,e,t){return[]},Qm=Nm();if(Qm||"undefined"!=typeof Element){if(Hm=function(n,e){return n.contains(e)},Qm||Element.prototype.matches)Bm=function(n,e){return n.matches(e)};else{var zm=Element.prototype,Km=zm.matchesSelector||zm.mozMatchesSelector||zm.msMatchesSelector||zm.oMatchesSelector||zm.webkitMatchesSelector;Km&&(Bm=function(n,e){return Km.apply(n,[e])})}qm=function(n,e,t){var l=[];if(t)l.push.apply(l,c(n.querySelectorAll(e)));else{var r=n.querySelector(e);r&&l.push(r)}return l}}var Wm=null,Gm=!1;function Zm(n){Wm||(Wm=("undefined"!=typeof document?document.body:null)||{},Gm=!!Wm.style&&"WebkitAppearance"in Wm.style);var e=!0;return Wm.style&&!function(n){return"ebkit"==n.substring(1,6)}(n)&&!(e=n in Wm.style)&&Gm&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Wm.style),e}var Ym=Bm,Jm=Hm,$m=qm;function Xm(n){var e={};return Object.keys(n).forEach(function(t){var l=t.replace(/([a-z])([A-Z])/g,"$1-$2");e[l]=n[t]}),e}var ny=function(){function n(){}return n.prototype.validateStyleProperty=function(n){return Zm(n)},n.prototype.matchesElement=function(n,e){return Ym(n,e)},n.prototype.containsElement=function(n,e){return Jm(n,e)},n.prototype.query=function(n,e,t){return $m(n,e,t)},n.prototype.computeStyle=function(n,e,t){return t||""},n.prototype.animate=function(n,e,t,l,r,o,i){return void 0===o&&(o=[]),new Im(t,l)},n}(),ey=function(){function n(){}return n.NOOP=new ny,n}(),ty=1e3;function ly(n){if("number"==typeof n)return n;var e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ry(parseFloat(e[1]),e[2])}function ry(n,e){switch(e){case"s":return n*ty;default:return n}}function oy(n,e,t){return n.hasOwnProperty("duration")?n:function(n,e,t){var l,r=0,o="";if("string"==typeof n){var i=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push('The provided timing value "'+n+'" is invalid.'),{duration:0,delay:0,easing:""};l=ry(parseFloat(i[1]),i[2]);var s=i[3];null!=s&&(r=ry(parseFloat(s),i[4]));var u=i[5];u&&(o=u)}else l=n;if(!t){var a=!1,c=e.length;l<0&&(e.push("Duration values below 0 are not allowed for this animation step."),a=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&e.splice(c,0,'The provided timing value "'+n+'" is invalid.')}return{duration:l,delay:r,easing:o}}(n,e,t)}function iy(n,e){return void 0===e&&(e={}),Object.keys(n).forEach(function(t){e[t]=n[t]}),e}function sy(n,e,t){if(void 0===t&&(t={}),e)for(var l in n)t[l]=n[l];else iy(n,t);return t}function uy(n,e,t){return t?e+":"+t+";":""}function ay(n){for(var e="",t=0;t<n.style.length;t++)e+=uy(0,l=n.style.item(t),n.style.getPropertyValue(l));for(var l in n.style)n.style.hasOwnProperty(l)&&!l.startsWith("_")&&(e+=uy(0,l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n.style[l]));n.setAttribute("style",e)}function cy(n,e,t){n.style&&(Object.keys(e).forEach(function(l){var r=vy(l);t&&!t.hasOwnProperty(l)&&(t[l]=n.style[r]),n.style[r]=e[l]}),Nm()&&ay(n))}function py(n,e){n.style&&(Object.keys(e).forEach(function(e){var t=vy(e);n.style[t]=""}),Nm()&&ay(n))}function dy(n){return Array.isArray(n)?1==n.length?n[0]:xm(n):n}var hy=new RegExp("{{\\s*(.+?)\\s*}}","g");function fy(n){var e=[];if("string"==typeof n){for(var t=n.toString(),l=void 0;l=hy.exec(t);)e.push(l[1]);hy.lastIndex=0}return e}function gy(n,e,t){var l=n.toString(),r=l.replace(hy,function(n,l){var r=e[l];return e.hasOwnProperty(l)||(t.push("Please provide a value for the animation param "+l),r=""),r.toString()});return r==l?n:r}function my(n){for(var e=[],t=n.next();!t.done;)e.push(t.value),t=n.next();return e}var yy=/-+([a-z0-9])/g;function vy(n){return n.replace(yy,function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n[1].toUpperCase()})}function by(n,e){return 0===n||0===e}function _y(n,e,t){var l=Object.keys(t);if(l.length&&e.length){var r=e[0],o=[];if(l.forEach(function(n){r.hasOwnProperty(n)||o.push(n),r[n]=t[n]}),o.length)for(var i=function(){var t=e[s];o.forEach(function(e){t[e]=Cy(n,e)})},s=1;s<e.length;s++)i()}return e}function wy(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Cy(n,e){return window.getComputedStyle(n)[e]}var ky="*",Ey=new Set(["true","1"]),Sy=new Set(["false","0"]);function Ty(n,e){var t=Ey.has(n)||Sy.has(n),l=Ey.has(e)||Sy.has(e);return function(r,o){var i=n==ky||n==r,s=e==ky||e==o;return!i&&t&&"boolean"==typeof r&&(i=r?Ey.has(n):Sy.has(n)),!s&&l&&"boolean"==typeof o&&(s=o?Ey.has(e):Sy.has(e)),i&&s}}var xy=new RegExp("s*:selfs*,?","g");function Oy(n,e,t){return new Ay(n).build(e,t)}var Ay=function(){function n(n){this._driver=n}return n.prototype.build=function(n,e){var t=new Iy(e);return this._resetContextStyleTimingState(t),wy(this,dy(n),t)},n.prototype._resetContextStyleTimingState=function(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0},n.prototype.visitTrigger=function(n,e){var t=this,l=e.queryCount=0,r=e.depCount=0,o=[],i=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(function(n){if(t._resetContextStyleTimingState(e),0==n.type){var s=n,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(n){s.name=n,o.push(t.visitState(s,e))}),s.name=u}else if(1==n.type){var a=t.visitTransition(n,e);l+=a.queryCount,r+=a.depCount,i.push(a)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:o,transitions:i,queryCount:l,depCount:r,options:null}},n.prototype.visitState=function(n,e){var t=this.visitStyle(n.styles,e),l=n.options&&n.options.params||null;if(t.containsDynamicStyles){var r=new Set,o=l||{};if(t.styles.forEach(function(n){if(Py(n)){var e=n;Object.keys(e).forEach(function(n){fy(e[n]).forEach(function(n){o.hasOwnProperty(n)||r.add(n)})})}}),r.size){var i=my(r.values());e.errors.push('state("'+n.name+'", ...) must define default values for all the following style substitutions: '+i.join(", "))}}return{type:0,name:n.name,style:t,options:l?{params:l}:null}},n.prototype.visitTransition=function(n,e){e.queryCount=0,e.depCount=0;var t,l,r,o=wy(this,dy(n.animation),e);return{type:1,matchers:(t=n.expr,l=e.errors,r=[],"string"==typeof t?t.split(/\s*,\s*/).forEach(function(n){return function(n,e,t){if(":"==n[0]){var l=function(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(n,e){return parseFloat(e)>parseFloat(n)};case":decrement":return function(n,e){return parseFloat(e)<parseFloat(n)};default:return e.push('The transition alias value "'+n+'" is not supported'),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}var r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push('The provided transition expression "'+n+'" is not supported'),e;var o=r[1],i=r[2],s=r[3];e.push(Ty(o,s)),"<"!=i[0]||o==ky&&s==ky||e.push(Ty(s,o))}(n,r,l)}):r.push(t),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:My(n.options)}},n.prototype.visitSequence=function(n,e){var t=this;return{type:2,steps:n.steps.map(function(n){return wy(t,n,e)}),options:My(n.options)}},n.prototype.visitGroup=function(n,e){var t=this,l=e.currentTime,r=0,o=n.steps.map(function(n){e.currentTime=l;var o=wy(t,n,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:My(n.options)}},n.prototype.visitAnimate=function(n,e){var t,l=function(n,e){var t=null;if(n.hasOwnProperty("duration"))t=n;else if("number"==typeof n)return Ny(oy(n,e).duration,0,"");var l=n;if(l.split(/\s+/).some(function(n){return"{"==n.charAt(0)&&"{"==n.charAt(1)})){var r=Ny(0,0,"");return r.dynamic=!0,r.strValue=l,r}return Ny((t=t||oy(l,e)).duration,t.delay,t.easing)}(n.timings,e.errors);e.currentAnimateTimings=l;var r=n.styles?n.styles:Om({});if(5==r.type)t=this.visitKeyframes(r,e);else{var o=n.styles,i=!1;if(!o){i=!0;var s={};l.easing&&(s.easing=l.easing),o=Om(s)}e.currentTime+=l.duration+l.delay;var u=this.visitStyle(o,e);u.isEmptyStep=i,t=u}return e.currentAnimateTimings=null,{type:4,timings:l,style:t,options:null}},n.prototype.visitStyle=function(n,e){var t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t},n.prototype._makeStyleAst=function(n,e){var t=[];Array.isArray(n.styles)?n.styles.forEach(function(n){"string"==typeof n?n==Tm?t.push(n):e.errors.push("The provided style string value "+n+" is not allowed."):t.push(n)}):t.push(n.styles);var l=!1,r=null;return t.forEach(function(n){if(Py(n)){var e=n,t=e.easing;if(t&&(r=t,delete e.easing),!l)for(var o in e)if(e[o].toString().indexOf("{{")>=0){l=!0;break}}}),{type:6,styles:t,easing:r,offset:n.offset,containsDynamicStyles:l,options:null}},n.prototype._validateStyleAst=function(n,e){var t=this,l=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;l&&o>0&&(o-=l.duration+l.delay),n.styles.forEach(function(n){"string"!=typeof n&&Object.keys(n).forEach(function(l){if(t._driver.validateStyleProperty(l)){var i,s,u,a=e.collectedStyles[e.currentQuerySelector],c=a[l],p=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(e.errors.push('The CSS property "'+l+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),p=!1),o=c.startTime),p&&(a[l]={startTime:o,endTime:r}),e.options&&(i=e.errors,s=e.options.params||{},(u=fy(n[l])).length&&u.forEach(function(n){s.hasOwnProperty(n)||i.push("Unable to resolve the local animation param "+n+" in the given list of values")}))}else e.errors.push('The provided animation property "'+l+'" is not a supported CSS property for animations')})})},n.prototype.visitKeyframes=function(n,e){var t=this,l={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),l;var r=0,o=[],i=!1,s=!1,u=0,a=n.steps.map(function(n){var l=t._makeStyleAst(n,e),a=null!=l.offset?l.offset:function(n){if("string"==typeof n)return null;var e=null;if(Array.isArray(n))n.forEach(function(n){if(Py(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}});else if(Py(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}return e}(l.styles),c=0;return null!=a&&(r++,c=l.offset=a),s=s||c<0||c>1,i=i||c<u,u=c,o.push(c),l});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=n.steps.length,p=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(p=1/(c-1));var d=c-1,h=e.currentTime,f=e.currentAnimateTimings,g=f.duration;return a.forEach(function(n,r){var i=p>0?r==d?1:p*r:o[r],s=i*g;e.currentTime=h+f.delay+s,f.duration=s,t._validateStyleAst(n,e),n.offset=i,l.styles.push(n)}),l},n.prototype.visitReference=function(n,e){return{type:8,animation:wy(this,dy(n.animation),e),options:My(n.options)}},n.prototype.visitAnimateChild=function(n,e){return e.depCount++,{type:9,options:My(n.options)}},n.prototype.visitAnimateRef=function(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:My(n.options)}},n.prototype.visitQuery=function(n,e){var t=e.currentQuerySelector,l=n.options||{};e.queryCount++,e.currentQuery=n;var r=a(function(n){var e=!!n.split(/\s*,\s*/).find(function(n){return":self"==n});return e&&(n=n.replace(xy,"")),[n=n.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(n){return".ng-trigger-"+n.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(n.selector),2),o=r[0],i=r[1];e.currentQuerySelector=t.length?t+" "+o:o,Vm(e.collectedStyles,e.currentQuerySelector,{});var s=wy(this,dy(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:o,limit:l.limit||0,optional:!!l.optional,includeSelf:i,animation:s,originalSelector:n.selector,options:My(n.options)}},n.prototype.visitStagger=function(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var t="full"===n.timings?{duration:0,delay:0,easing:"full"}:oy(n.timings,e.errors,!0);return{type:12,animation:wy(this,dy(n.animation),e),timings:t,options:null}},n}(),Iy=function(){return function(n){this.errors=n,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 Py(n){return!Array.isArray(n)&&"object"==typeof n}function My(n){var e;return n?(n=iy(n)).params&&(n.params=(e=n.params)?iy(e):null):n={},n}function Ny(n,e,t){return{duration:n,delay:e,easing:t}}function Ly(n,e,t,l,r,o,i,s){return void 0===i&&(i=null),void 0===s&&(s=!1),{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:l,duration:r,delay:o,totalTime:r+o,easing:i,subTimeline:s}}var Dy=function(){function n(){this._map=new Map}return n.prototype.consume=function(n){var e=this._map.get(n);return e?this._map.delete(n):e=[],e},n.prototype.append=function(n,e){var t=this._map.get(n);t||this._map.set(n,t=[]),t.push.apply(t,c(e))},n.prototype.has=function(n){return this._map.has(n)},n.prototype.clear=function(){this._map.clear()},n}(),Ry=new RegExp(":enter","g"),Uy=new RegExp(":leave","g");function jy(n,e,t,l,r,o,i,s,u,a){return void 0===o&&(o={}),void 0===i&&(i={}),void 0===a&&(a=[]),(new Vy).buildKeyframes(n,e,t,l,r,o,i,s,u,a)}var Vy=function(){function n(){}return n.prototype.buildKeyframes=function(n,e,t,l,r,o,i,s,u,a){void 0===a&&(a=[]),u=u||new Dy;var c=new Hy(n,e,u,l,r,a,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),wy(this,t,c);var p=c.timelines.filter(function(n){return n.containsAnimation()});if(p.length&&Object.keys(i).length){var d=p[p.length-1];d.allowOnlyTimelineStyles()||d.setStyles([i],null,c.errors,s)}return p.length?p.map(function(n){return n.buildKeyframes()}):[Ly(e,[],[],[],0,0,"",!1)]},n.prototype.visitTrigger=function(n,e){},n.prototype.visitState=function(n,e){},n.prototype.visitTransition=function(n,e){},n.prototype.visitAnimateChild=function(n,e){var t=e.subInstructions.consume(e.element);if(t){var l=e.createSubContext(n.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(t,l,l.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=n},n.prototype.visitAnimateRef=function(n,e){var t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n},n.prototype._visitSubInstructions=function(n,e,t){var l=e.currentTimeline.currentTime,r=null!=t.duration?ly(t.duration):null,o=null!=t.delay?ly(t.delay):null;return 0!==r&&n.forEach(function(n){var t=e.appendInstructionToTimeline(n,r,o);l=Math.max(l,t.duration+t.delay)}),l},n.prototype.visitReference=function(n,e){e.updateOptions(n.options,!0),wy(this,n.animation,e),e.previousNode=n},n.prototype.visitSequence=function(n,e){var t=this,l=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Fy);var i=ly(o.delay);r.delayNextStep(i)}n.steps.length&&(n.steps.forEach(function(n){return wy(t,n,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>l&&r.transformIntoNewTimeline()),e.previousNode=n},n.prototype.visitGroup=function(n,e){var t=this,l=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?ly(n.options.delay):0;n.steps.forEach(function(i){var s=e.createSubContext(n.options);o&&s.delayNextStep(o),wy(t,i,s),r=Math.max(r,s.currentTimeline.currentTime),l.push(s.currentTimeline)}),l.forEach(function(n){return e.currentTimeline.mergeTimelineCollectedStyles(n)}),e.transformIntoNewTimeline(r),e.previousNode=n},n.prototype._visitTiming=function(n,e){if(n.dynamic){var t=n.strValue;return oy(e.params?gy(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}},n.prototype.visitAnimate=function(n,e){var t=e.currentAnimateTimings=this._visitTiming(n.timings,e),l=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),l.snapshotCurrentStyles());var r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(t.duration),this.visitStyle(r,e),l.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n},n.prototype.visitStyle=function(n,e){var t=e.currentTimeline,l=e.currentAnimateTimings;!l&&t.getCurrentStyleProperties().length&&t.forwardFrame();var r=l&&l.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(r):t.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n},n.prototype.visitKeyframes=function(n,e){var t=e.currentAnimateTimings,l=e.currentTimeline.duration,r=t.duration,o=e.createSubContext().currentTimeline;o.easing=t.easing,n.styles.forEach(function(n){o.forwardTime((n.offset||0)*r),o.setStyles(n.styles,n.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(l+r),e.previousNode=n},n.prototype.visitQuery=function(n,e){var t=this,l=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?ly(r.delay):0;o&&(6===e.previousNode.type||0==l&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Fy);var i=l,s=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(l,r){e.currentQueryIndex=r;var s=e.createSubContext(n.options,l);o&&s.delayNextStep(o),l===e.element&&(u=s.currentTimeline),wy(t,n.animation,s),s.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n},n.prototype.visitStagger=function(n,e){var t=e.parentContext,l=e.currentTimeline,r=n.timings,o=Math.abs(r.duration),i=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=i-s;break;case"full":s=t.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var a=u.currentTime;wy(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=l.currentTime-a+(l.startTime-t.currentTimeline.startTime)},n}(),Fy={},Hy=function(){function n(n,e,t,l,r,o,i,s){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=l,this._leaveClassName=r,this.errors=o,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Fy,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new By(this._driver,e,0),i.push(this.currentTimeline)}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.updateOptions=function(n,e){var t=this;if(n){var l=n,r=this.options;null!=l.duration&&(r.duration=ly(l.duration)),null!=l.delay&&(r.delay=ly(l.delay));var o=l.params;if(o){var i=r.params;i||(i=this.options.params={}),Object.keys(o).forEach(function(n){e&&i.hasOwnProperty(n)||(i[n]=gy(o[n],i,t.errors))})}}},n.prototype._copyOptions=function(){var n={};if(this.options){var e=this.options.params;if(e){var t=n.params={};Object.keys(e).forEach(function(n){t[n]=e[n]})}}return n},n.prototype.createSubContext=function(e,t,l){void 0===e&&(e=null);var r=t||this.element,o=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,l||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},n.prototype.transformIntoNewTimeline=function(n){return this.previousNode=Fy,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline},n.prototype.appendInstructionToTimeline=function(n,e,t){var l={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},r=new qy(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,l,n.stretchStartingKeyframe);return this.timelines.push(r),l},n.prototype.incrementTime=function(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)},n.prototype.delayNextStep=function(n){n>0&&this.currentTimeline.delayNextStep(n)},n.prototype.invokeQuery=function(n,e,t,l,r,o){var i=[];if(l&&i.push(this.element),n.length>0){n=(n=n.replace(Ry,"."+this._enterClassName)).replace(Uy,"."+this._leaveClassName);var s=this._driver.query(this.element,n,1!=t);0!==t&&(s=t<0?s.slice(s.length+t,s.length):s.slice(0,t)),i.push.apply(i,c(s))}return r||0!=i.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),i},n}(),By=function(){function n(n,e,t,l){this._driver=n,this.element=e,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return n.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},n.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(n.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),n.prototype.delayNextStep=function(n){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n},n.prototype.fork=function(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)},n.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))},n.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},n.prototype.forwardTime=function(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()},n.prototype._updateStyle=function(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}},n.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},n.prototype.applyEmptyStep=function(n){var e=this;n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(function(n){e._backFill[n]=e._globalTimelineStyles[n]||Tm,e._currentKeyframe[n]=Tm}),this._currentEmptyStepKeyframe=this._currentKeyframe},n.prototype.setStyles=function(n,e,t,l){var r=this;e&&(this._previousKeyframe.easing=e);var o=l&&l.params||{},i=function(n,e){var t,l={};return n.forEach(function(n){"*"===n?(t=t||Object.keys(e)).forEach(function(n){l[n]=Tm}):sy(n,!1,l)}),l}(n,this._globalTimelineStyles);Object.keys(i).forEach(function(n){var e=gy(i[n],o,t);r._pendingStyles[n]=e,r._localTimelineStyles.hasOwnProperty(n)||(r._backFill[n]=r._globalTimelineStyles.hasOwnProperty(n)?r._globalTimelineStyles[n]:Tm),r._updateStyle(n,e)})},n.prototype.applyStylesToKeyframe=function(){var n=this,e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(function(t){n._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(function(e){n._currentKeyframe.hasOwnProperty(e)||(n._currentKeyframe[e]=n._localTimelineStyles[e])}))},n.prototype.snapshotCurrentStyles=function(){var n=this;Object.keys(this._localTimelineStyles).forEach(function(e){var t=n._localTimelineStyles[e];n._pendingStyles[e]=t,n._updateStyle(e,t)})},n.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(n.prototype,"properties",{get:function(){var n=[];for(var e in this._currentKeyframe)n.push(e);return n},enumerable:!0,configurable:!0}),n.prototype.mergeTimelineCollectedStyles=function(n){var e=this;Object.keys(n._styleSummary).forEach(function(t){var l=e._styleSummary[t],r=n._styleSummary[t];(!l||r.time>l.time)&&e._updateStyle(t,r.value)})},n.prototype.buildKeyframes=function(){var n=this;this.applyStylesToKeyframe();var e=new Set,t=new Set,l=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,i){var s=sy(o,!0);Object.keys(s).forEach(function(n){var l=s[n];l==Mm?e.add(n):l==Tm&&t.add(n)}),l||(s.offset=i/n.duration),r.push(s)});var o=e.size?my(e.values()):[],i=t.size?my(t.values()):[];if(l){var s=r[0],u=iy(s);s.offset=0,u.offset=1,r=[s,u]}return Ly(this.element,r,o,i,this.duration,this.startTime,this.easing,!1)},n}(),qy=function(n){function e(e,t,l,r,o,i,s){void 0===s&&(s=!1);var u=n.call(this,e,t,i.delay)||this;return u.element=t,u.keyframes=l,u.preStyleProps=r,u.postStyleProps=o,u._stretchStartingKeyframe=s,u.timings={duration:i.duration,delay:i.delay,easing:i.easing},u}return r(e,n),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var n=this.keyframes,e=this.timings,t=e.delay,l=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&t){var o=[],i=l+t,s=t/i,u=sy(n[0],!1);u.offset=0,o.push(u);var a=sy(n[0],!1);a.offset=Qy(s),o.push(a);for(var c=n.length-1,p=1;p<=c;p++){var d=sy(n[p],!1);d.offset=Qy((t+d.offset*l)/i),o.push(d)}l=i,t=0,r="",n=o}return Ly(this.element,n,this.preStyleProps,this.postStyleProps,l,t,r,!0)},e}(By);function Qy(n,e){void 0===e&&(e=3);var t=Math.pow(10,e-1);return Math.round(n*t)/t}var zy=function(){return function(){}}(),Ky=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return r(e,n),e.prototype.normalizePropertyName=function(n,e){return vy(n)},e.prototype.normalizeStyleValue=function(n,e,t,l){var r="",o=t.toString().trim();if(Wy[e]&&0!==t&&"0"!==t)if("number"==typeof t)r="px";else{var i=t.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&0==i[1].length&&l.push("Please provide a CSS unit value for "+n+":"+t)}return o+r},e}(zy),Wy=Gy("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(","));function Gy(n){var e={};return n.forEach(function(n){return e[n]=!0}),e}function Zy(n,e,t,l,r,o,i,s,u,a,c,p,d){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:l,toStyles:i,timelines:s,queriedElements:u,preStyleProps:a,postStyleProps:c,totalTime:p,errors:d}}var Yy={},Jy=function(){function n(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}return n.prototype.match=function(n,e,t,l){return function(n,e,t,l,r){return n.some(function(n){return n(e,t,l,r)})}(this.ast.matchers,n,e,t,l)},n.prototype.buildStyles=function(n,e,t){var l=this._stateStyles["*"],r=this._stateStyles[n],o=l?l.buildStyles(e,t):{};return r?r.buildStyles(e,t):o},n.prototype.build=function(n,e,t,l,r,i,s,u,a,c){var p=[],d=this.ast.options&&this.ast.options.params||Yy,h=this.buildStyles(t,s&&s.params||Yy,p),f=u&&u.params||Yy,g=this.buildStyles(l,f,p),m=new Set,y=new Map,v=new Map,b="void"===l,_={params:o({},d,f)},w=c?[]:jy(n,e,this.ast.animation,r,i,h,g,_,a,p),C=0;if(w.forEach(function(n){C=Math.max(n.duration+n.delay,C)}),p.length)return Zy(e,this._triggerName,t,l,b,h,g,[],[],y,v,C,p);w.forEach(function(n){var t=n.element,l=Vm(y,t,{});n.preStyleProps.forEach(function(n){return l[n]=!0});var r=Vm(v,t,{});n.postStyleProps.forEach(function(n){return r[n]=!0}),t!==e&&m.add(t)});var k=my(m.values());return Zy(e,this._triggerName,t,l,b,h,g,w,k,y,v,C)},n}(),$y=function(){function n(n,e){this.styles=n,this.defaultParams=e}return n.prototype.buildStyles=function(n,e){var t={},l=iy(this.defaultParams);return Object.keys(n).forEach(function(e){var t=n[e];null!=t&&(l[e]=t)}),this.styles.styles.forEach(function(n){if("string"!=typeof n){var r=n;Object.keys(r).forEach(function(n){var o=r[n];o.length>1&&(o=gy(o,l,e)),t[n]=o})}}),t},n}(),Xy=function(){function n(n,e){var t=this;this.name=n,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(n){t.states[n.name]=new $y(n.style,n.options&&n.options.params||{})}),nv(this.states,"true","1"),nv(this.states,"false","0"),e.transitions.forEach(function(e){t.transitionFactories.push(new Jy(n,e,t.states))}),this.fallbackTransition=new Jy(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(n,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(n.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),n.prototype.matchTransition=function(n,e,t,l){return this.transitionFactories.find(function(r){return r.match(n,e,t,l)})||null},n.prototype.matchStyles=function(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)},n}();function nv(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}var ev=new Dy,tv=function(){function n(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return n.prototype.register=function(n,e){var t=[],l=Oy(this._driver,e,t);if(t.length)throw new Error("Unable to build the animation due to the following errors: "+t.join("\n"));this._animations[n]=l},n.prototype._buildPlayer=function(n,e,t){var l=n.element,r=Dm(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(l,r,n.duration,n.delay,n.easing,[],!0)},n.prototype.create=function(n,e,t){var l=this;void 0===t&&(t={});var r,o=[],i=this._animations[n],s=new Map;if(i?(r=jy(this._driver,e,i,"ng-enter","ng-leave",{},{},t,ev,o)).forEach(function(n){var e=Vm(s,n.element,{});n.postStyleProps.forEach(function(n){return e[n]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),r=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(n,e){Object.keys(n).forEach(function(t){n[t]=l._driver.computeStyle(e,t,Tm)})});var u=Lm(r.map(function(n){var e=s.get(n.element);return l._buildPlayer(n,{},e)}));return this._playersById[n]=u,u.onDestroy(function(){return l.destroy(n)}),this.players.push(u),u},n.prototype.destroy=function(n){var e=this._getPlayer(n);e.destroy(),delete this._playersById[n];var t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)},n.prototype._getPlayer=function(n){var e=this._playersById[n];if(!e)throw new Error("Unable to find the timeline player referenced by "+n);return e},n.prototype.listen=function(n,e,t,l){var r=jm(e,"","","");return Rm(this._getPlayer(n),t,r,l),function(){}},n.prototype.command=function(n,e,t,l){if("register"!=t)if("create"!=t){var r=this._getPlayer(n);switch(t){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(n)}}else this.create(n,e,l[0]||{});else this.register(n,l[0])},n}(),lv=[],rv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ov={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},iv="__ng_removed",sv=function(){function n(n,e){void 0===e&&(e=""),this.namespaceId=e;var t=n&&n.hasOwnProperty("value");if(this.value=function(n){return null!=n?n:null}(t?n.value:n),t){var l=iy(n);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.absorbOptions=function(n){var e=n.params;if(e){var t=this.options.params;Object.keys(e).forEach(function(n){null==t[n]&&(t[n]=e[n])})}},n}(),uv=new sv("void"),av=function(){function n(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,yv(e,this._hostClassName)}return n.prototype.listen=function(n,e,t,l){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+t+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==t||0==t.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(r=t)&&"done"!=r)throw new Error('The provided animation trigger event "'+t+'" for the animation trigger "'+e+'" is not supported!');var i=Vm(this._elementListeners,n,[]),s={name:e,phase:t,callback:l};i.push(s);var u=Vm(this._engine.statesByElement,n,{});return u.hasOwnProperty(e)||(yv(n,"ng-trigger"),yv(n,"ng-trigger-"+e),u[e]=uv),function(){o._engine.afterFlush(function(){var n=i.indexOf(s);n>=0&&i.splice(n,1),o._triggers[e]||delete u[e]})}},n.prototype.register=function(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)},n.prototype._getTrigger=function(n){var e=this._triggers[n];if(!e)throw new Error('The provided animation trigger "'+n+'" has not been registered!');return e},n.prototype.trigger=function(n,e,t,l){var r=this;void 0===l&&(l=!0);var o=this._getTrigger(e),i=new pv(this.id,e,n),s=this._engine.statesByElement.get(n);s||(yv(n,"ng-trigger"),yv(n,"ng-trigger-"+e),this._engine.statesByElement.set(n,s={}));var u=s[e],a=new sv(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&u&&a.absorbOptions(u.options),s[e]=a,u||(u=uv),"void"===a.value||u.value!==a.value){var c=Vm(this._engine.playersByElement,n,[]);c.forEach(function(n){n.namespaceId==r.id&&n.triggerName==e&&n.queued&&n.destroy()});var p=o.matchTransition(u.value,a.value,n,a.params),d=!1;if(!p){if(!l)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:p,fromState:u,toState:a,player:i,isFallbackTransition:d}),d||(yv(n,"ng-animate-queued"),i.onStart(function(){vv(n,"ng-animate-queued")})),i.onDone(function(){var e=r.players.indexOf(i);e>=0&&r.players.splice(e,1);var t=r._engine.playersByElement.get(n);if(t){var l=t.indexOf(i);l>=0&&t.splice(l,1)}}),this.players.push(i),c.push(i),i}if(!function(n,e){var t=Object.keys(n),l=Object.keys(e);if(t.length!=l.length)return!1;for(var r=0;r<t.length;r++){var o=t[r];if(!e.hasOwnProperty(o)||n[o]!==e[o])return!1}return!0}(u.params,a.params)){var h=[],f=o.matchStyles(u.value,u.params,h),g=o.matchStyles(a.value,a.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(function(){py(n,f),cy(n,g)})}},n.prototype.deregister=function(n){var e=this;delete this._triggers[n],this._engine.statesByElement.forEach(function(e,t){delete e[n]}),this._elementListeners.forEach(function(t,l){e._elementListeners.set(l,t.filter(function(e){return e.name!=n}))})},n.prototype.clearElementCache=function(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);var e=this._engine.playersByElement.get(n);e&&(e.forEach(function(n){return n.destroy()}),this._engine.playersByElement.delete(n))},n.prototype._signalRemovalForInnerTriggers=function(n,e,t){var l=this;void 0===t&&(t=!1),this._engine.driver.query(n,".ng-trigger",!0).forEach(function(n){if(!n[iv]){var t=l._engine.fetchNamespacesByElement(n);t.size?t.forEach(function(t){return t.triggerLeaveAnimation(n,e,!1,!0)}):l.clearElementCache(n)}})},n.prototype.triggerLeaveAnimation=function(n,e,t,l){var r=this,o=this._engine.statesByElement.get(n);if(o){var i=[];if(Object.keys(o).forEach(function(e){if(r._triggers[e]){var t=r.trigger(n,e,"void",l);t&&i.push(t)}}),i.length)return this._engine.markElementAsRemoved(this.id,n,!0,e),t&&Lm(i).onDone(function(){return r._engine.processLeaveNode(n)}),!0}return!1},n.prototype.prepareLeaveAnimationListeners=function(n){var e=this,t=this._elementListeners.get(n);if(t){var l=new Set;t.forEach(function(t){var r=t.name;if(!l.has(r)){l.add(r);var o=e._triggers[r].fallbackTransition,i=e._engine.statesByElement.get(n)[r]||uv,s=new sv("void"),u=new pv(e.id,r,n);e._engine.totalQueuedPlayers++,e._queue.push({element:n,triggerName:r,transition:o,fromState:i,toState:s,player:u,isFallbackTransition:!0})}})}},n.prototype.removeNode=function(n,e){var t=this,l=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e,!0),!this.triggerLeaveAnimation(n,e,!0)){var r=!1;if(l.totalAnimations){var o=l.players.length?l.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else for(var i=n;i=i.parentNode;)if(l.statesByElement.get(i)){r=!0;break}}this.prepareLeaveAnimationListeners(n),r?l.markElementAsRemoved(this.id,n,!1,e):(l.afterFlush(function(){return t.clearElementCache(n)}),l.destroyInnerAnimations(n),l._onRemovalComplete(n,e))}},n.prototype.insertNode=function(n,e){yv(n,this._hostClassName)},n.prototype.drainQueuedTransitions=function(n){var e=this,t=[];return this._queue.forEach(function(l){var r=l.player;if(!r.destroyed){var o=l.element,i=e._elementListeners.get(o);i&&i.forEach(function(e){if(e.name==l.triggerName){var t=jm(o,l.triggerName,l.fromState.value,l.toState.value);t._data=n,Rm(l.player,e.phase,t,e.callback)}}),r.markedForDestroy?e._engine.afterFlush(function(){r.destroy()}):t.push(l)}}),this._queue=[],t.sort(function(n,t){var l=n.transition.ast.depCount,r=t.transition.ast.depCount;return 0==l||0==r?l-r:e._engine.driver.containsElement(n.element,t.element)?1:-1})},n.prototype.destroy=function(n){this.players.forEach(function(n){return n.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,n)},n.prototype.elementContainsData=function(n){var e=!1;return this._elementListeners.has(n)&&(e=!0),!!this._queue.find(function(e){return e.element===n})||e},n}(),cv=function(){function n(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(n,e){}}return n.prototype._onRemovalComplete=function(n,e){this.onRemovalComplete(n,e)},Object.defineProperty(n.prototype,"queuedPlayers",{get:function(){var n=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&n.push(e)})}),n},enumerable:!0,configurable:!0}),n.prototype.createNamespace=function(n,e){var t=new av(n,e,this);return e.parentNode?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t},n.prototype._balanceNamespaceList=function(n,e){var t=this._namespaceList.length-1;if(t>=0){for(var l=!1,r=t;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,n),l=!0;break}l||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n},n.prototype.register=function(n,e){var t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t},n.prototype.registerTrigger=function(n,e,t){var l=this._namespaceLookup[n];l&&l.register(e,t)&&this.totalAnimations++},n.prototype.destroy=function(n,e){var t=this;if(n){var l=this._fetchNamespace(n);this.afterFlush(function(){t.namespacesByHostElement.delete(l.hostElement),delete t._namespaceLookup[n];var e=t._namespaceList.indexOf(l);e>=0&&t._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return l.destroy(e)})}},n.prototype._fetchNamespace=function(n){return this._namespaceLookup[n]},n.prototype.fetchNamespacesByElement=function(n){var e=new Set,t=this.statesByElement.get(n);if(t)for(var l=Object.keys(t),r=0;r<l.length;r++){var o=t[l[r]].namespaceId;if(o){var i=this._fetchNamespace(o);i&&e.add(i)}}return e},n.prototype.trigger=function(n,e,t,l){if(dv(e)){var r=this._fetchNamespace(n);if(r)return r.trigger(e,t,l),!0}return!1},n.prototype.insertNode=function(n,e,t,l){if(dv(e)){var r=e[iv];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(n){var i=this._fetchNamespace(n);i&&i.insertNode(e,t)}l&&this.collectEnterElement(e)}},n.prototype.collectEnterElement=function(n){this.collectedEnterElements.push(n)},n.prototype.markElementAsDisabled=function(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),yv(n,"ng-animate-disabled")):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),vv(n,"ng-animate-disabled"))},n.prototype.removeNode=function(n,e,t){if(dv(e)){var l=n?this._fetchNamespace(n):null;l?l.removeNode(e,t):this.markElementAsRemoved(n,e,!1,t)}else this._onRemovalComplete(e,t)},n.prototype.markElementAsRemoved=function(n,e,t,l){this.collectedLeaveElements.push(e),e[iv]={namespaceId:n,setForRemoval:l,hasAnimation:t,removedBeforeQueried:!1}},n.prototype.listen=function(n,e,t,l,r){return dv(e)?this._fetchNamespace(n).listen(e,t,l,r):function(){}},n.prototype._buildInstruction=function(n,e,t,l,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,l,n.fromState.options,n.toState.options,e,r)},n.prototype.destroyInnerAnimations=function(n){var e=this,t=this.driver.query(n,".ng-trigger",!0);t.forEach(function(n){return e.destroyActiveAnimationsForElement(n)}),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,".ng-animating",!0)).forEach(function(n){return e.finishActiveQueriedAnimationOnElement(n)})},n.prototype.destroyActiveAnimationsForElement=function(n){var e=this.playersByElement.get(n);e&&e.forEach(function(n){n.queued?n.markedForDestroy=!0:n.destroy()})},n.prototype.finishActiveQueriedAnimationOnElement=function(n){var e=this.playersByQueriedElement.get(n);e&&e.forEach(function(n){return n.finish()})},n.prototype.whenRenderingDone=function(){var n=this;return new Promise(function(e){if(n.players.length)return Lm(n.players).onDone(function(){return e()});e()})},n.prototype.processLeaveNode=function(n){var e=this,t=n[iv];if(t&&t.setForRemoval){if(n[iv]=rv,t.namespaceId){this.destroyInnerAnimations(n);var l=this._fetchNamespace(t.namespaceId);l&&l.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}this.driver.matchesElement(n,".ng-animate-disabled")&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(n,!1)})},n.prototype.flush=function(n){var e=this;void 0===n&&(n=-1);var t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(n,t){return e._balanceNamespaceList(n,t)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var l=0;l<this.collectedEnterElements.length;l++)yv(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{t=this._flushAnimations(r,n)}finally{for(l=0;l<r.length;l++)r[l]()}}else for(l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(n){return n()}),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],t.length?Lm(t).onDone(function(){o.forEach(function(n){return n()})}):o.forEach(function(n){return n()})}},n.prototype.reportError=function(n){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+n.join("\n"))},n.prototype._flushAnimations=function(n,e){var t=this,l=new Dy,r=[],i=new Map,s=[],u=new Map,a=new Map,p=new Map,d=new Set;this.disabledNodes.forEach(function(n){d.add(n);for(var e=t.driver.query(n,".ng-animate-queued",!0),l=0;l<e.length;l++)d.add(e[l])});var h=this.bodyNode,f=Array.from(this.statesByElement.keys()),g=gv(f,this.collectedEnterElements),m=new Map,y=0;g.forEach(function(n,e){var t="ng-enter"+y++;m.set(e,t),n.forEach(function(n){return yv(n,t)})});for(var v=[],b=new Set,_=new Set,w=0;w<this.collectedLeaveElements.length;w++)(j=(U=this.collectedLeaveElements[w])[iv])&&j.setForRemoval&&(v.push(U),b.add(U),j.hasAnimation?this.driver.query(U,".ng-star-inserted",!0).forEach(function(n){return b.add(n)}):_.add(U));var C=new Map,k=gv(f,Array.from(b));k.forEach(function(n,e){var t="ng-leave"+y++;C.set(e,t),n.forEach(function(n){return yv(n,t)})}),n.push(function(){g.forEach(function(n,e){var t=m.get(e);n.forEach(function(n){return vv(n,t)})}),k.forEach(function(n,e){var t=C.get(e);n.forEach(function(n){return vv(n,t)})}),v.forEach(function(n){t.processLeaveNode(n)})});for(var E=[],S=[],T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(e).forEach(function(n){var e=n.player,o=n.element;if(E.push(e),t.collectedEnterElements.length){var i=o[iv];if(i&&i.setForMove)return void e.destroy()}var c=!h||!t.driver.containsElement(h,o),d=C.get(o),f=m.get(o),g=t._buildInstruction(n,l,f,d,c);if(g.errors&&g.errors.length)S.push(g);else{if(c)return e.onStart(function(){return py(o,g.fromStyles)}),e.onDestroy(function(){return cy(o,g.toStyles)}),void r.push(e);if(n.isFallbackTransition)return e.onStart(function(){return py(o,g.fromStyles)}),e.onDestroy(function(){return cy(o,g.toStyles)}),void r.push(e);g.timelines.forEach(function(n){return n.stretchStartingKeyframe=!0}),l.append(o,g.timelines),s.push({instruction:g,player:e,element:o}),g.queriedElements.forEach(function(n){return Vm(u,n,[]).push(e)}),g.preStyleProps.forEach(function(n,e){var t=Object.keys(n);if(t.length){var l=a.get(e);l||a.set(e,l=new Set),t.forEach(function(n){return l.add(n)})}}),g.postStyleProps.forEach(function(n,e){var t=Object.keys(n),l=p.get(e);l||p.set(e,l=new Set),t.forEach(function(n){return l.add(n)})})}});if(S.length){var x=[];S.forEach(function(n){x.push("@"+n.triggerName+" has failed due to:\n"),n.errors.forEach(function(n){return x.push("- "+n+"\n")})}),E.forEach(function(n){return n.destroy()}),this.reportError(x)}var O=new Map,A=new Map;s.forEach(function(n){var e=n.element;l.has(e)&&(A.set(e,e),t._beforeAnimationBuild(n.player.namespaceId,n.instruction,O))}),r.forEach(function(n){var e=n.element;t._getPreviousPlayers(e,!1,n.namespaceId,n.triggerName,null).forEach(function(n){Vm(O,e,[]).push(n),n.destroy()})});var I=v.filter(function(n){return _v(n,a,p)}),P=new Map;fv(P,this.driver,_,p,Tm).forEach(function(n){_v(n,a,p)&&I.push(n)});var M=new Map;g.forEach(function(n,e){fv(M,t.driver,new Set(n),a,Mm)}),I.forEach(function(n){var e=P.get(n),t=M.get(n);P.set(n,o({},e,t))});var N=[],L=[],D={};s.forEach(function(n){var e=n.element,o=n.player,s=n.instruction;if(l.has(e)){if(d.has(e))return o.onDestroy(function(){return cy(e,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var u=D;if(A.size>1){for(var a=e,c=[];a=a.parentNode;){var p=A.get(a);if(p){u=p;break}c.push(a)}c.forEach(function(n){return A.set(n,u)})}var h=t._buildAnimation(o.namespaceId,s,O,i,M,P);if(o.setRealPlayer(h),u===D)N.push(o);else{var f=t.playersByElement.get(u);f&&f.length&&(o.parentPlayer=Lm(f)),r.push(o)}}else py(e,s.fromStyles),o.onDestroy(function(){return cy(e,s.toStyles)}),L.push(o),d.has(e)&&r.push(o)}),L.forEach(function(n){var e=i.get(n.element);if(e&&e.length){var t=Lm(e);n.setRealPlayer(t)}}),r.forEach(function(n){n.parentPlayer?n.syncPlayerEvents(n.parentPlayer):n.destroy()});for(var R=0;R<v.length;R++){var U,j=(U=v[R])[iv];if(vv(U,"ng-leave"),!j||!j.hasAnimation){var V=[];if(u.size){var F=u.get(U);F&&F.length&&V.push.apply(V,c(F));for(var H=this.driver.query(U,".ng-animating",!0),B=0;B<H.length;B++){var q=u.get(H[B]);q&&q.length&&V.push.apply(V,c(q))}}var Q=V.filter(function(n){return!n.destroyed});Q.length?bv(this,U,Q):this.processLeaveNode(U)}}return v.length=0,N.forEach(function(n){t.players.push(n),n.onDone(function(){n.destroy();var e=t.players.indexOf(n);t.players.splice(e,1)}),n.play()}),N},n.prototype.elementContainsData=function(n,e){var t=!1,l=e[iv];return l&&l.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t},n.prototype.afterFlush=function(n){this._flushFns.push(n)},n.prototype.afterFlushAnimationsDone=function(n){this._whenQuietFns.push(n)},n.prototype._getPreviousPlayers=function(n,e,t,l,r){var o=[];if(e){var i=this.playersByQueriedElement.get(n);i&&(o=i)}else{var s=this.playersByElement.get(n);if(s){var u=!r||"void"==r;s.forEach(function(n){n.queued||(u||n.triggerName==l)&&o.push(n)})}}return(t||l)&&(o=o.filter(function(n){return!(t&&t!=n.namespaceId||l&&l!=n.triggerName)})),o},n.prototype._beforeAnimationBuild=function(n,e,t){var l,r,o=e.element,i=e.isRemovalTransition?void 0:n,s=e.isRemovalTransition?void 0:e.triggerName,a=function(n){var l=n.element,r=l!==o,u=Vm(t,l,[]);c._getPreviousPlayers(l,r,i,s,e.toState).forEach(function(n){var e=n.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),n.destroy(),u.push(n)})},c=this;try{for(var p=u(e.timelines),d=p.next();!d.done;d=p.next())a(d.value)}catch(h){l={error:h}}finally{try{d&&!d.done&&(r=p.return)&&r.call(p)}finally{if(l)throw l.error}}py(o,e.fromStyles)},n.prototype._buildAnimation=function(n,e,t,l,r,o){var i=this,s=e.triggerName,u=e.element,a=[],c=new Set,p=new Set,d=e.timelines.map(function(e){var d=e.element;c.add(d);var h=d[iv];if(h&&h.removedBeforeQueried)return new Im(e.duration,e.delay);var f,g,m=d!==u,y=(f=(t.get(d)||lv).map(function(n){return n.getRealPlayer()}),g=[],function n(e,t){for(var l=0;l<e.length;l++){var r=e[l];r instanceof Pm?n(r.players,t):t.push(r)}}(f,g),g).filter(function(n){return!!n.element&&n.element===d}),v=r.get(d),b=o.get(d),_=Dm(0,i._normalizer,0,e.keyframes,v,b),w=i._buildPlayer(e,_,y);if(e.subTimeline&&l&&p.add(d),m){var C=new pv(n,s,d);C.setRealPlayer(w),a.push(C)}return w});a.forEach(function(n){Vm(i.playersByQueriedElement,n.element,[]).push(n),n.onDone(function(){return function(n,e,t){var l;if(n instanceof Map){if(l=n.get(e)){if(l.length){var r=l.indexOf(t);l.splice(r,1)}0==l.length&&n.delete(e)}}else(l=n[e])&&(l.length&&(r=l.indexOf(t),l.splice(r,1)),0==l.length&&delete n[e]);return l}(i.playersByQueriedElement,n.element,n)})}),c.forEach(function(n){return yv(n,"ng-animating")});var h=Lm(d);return h.onDestroy(function(){c.forEach(function(n){return vv(n,"ng-animating")}),cy(u,e.toStyles)}),p.forEach(function(n){Vm(l,n,[]).push(h)}),h},n.prototype._buildPlayer=function(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new Im(n.duration,n.delay)},n}(),pv=function(){function n(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Im,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return n.prototype.setRealPlayer=function(n){var e=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(function(t){e._queuedCallbacks[t].forEach(function(e){return Rm(n,t,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)},n.prototype.getRealPlayer=function(){return this._player},n.prototype.overrideTotalTime=function(n){this.totalTime=n},n.prototype.syncPlayerEvents=function(n){var e=this,t=this._player;t.triggerCallback&&n.onStart(function(){return t.triggerCallback("start")}),n.onDone(function(){return e.finish()}),n.onDestroy(function(){return e.destroy()})},n.prototype._queueEvent=function(n,e){Vm(this._queuedCallbacks,n,[]).push(e)},n.prototype.onDone=function(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)},n.prototype.onStart=function(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)},n.prototype.onDestroy=function(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)},n.prototype.init=function(){this._player.init()},n.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},n.prototype.play=function(){!this.queued&&this._player.play()},n.prototype.pause=function(){!this.queued&&this._player.pause()},n.prototype.restart=function(){!this.queued&&this._player.restart()},n.prototype.finish=function(){this._player.finish()},n.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},n.prototype.reset=function(){!this.queued&&this._player.reset()},n.prototype.setPosition=function(n){this.queued||this._player.setPosition(n)},n.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},n.prototype.triggerCallback=function(n){var e=this._player;e.triggerCallback&&e.triggerCallback(n)},n}();function dv(n){return n&&1===n.nodeType}function hv(n,e){var t=n.style.display;return n.style.display=null!=e?e:"none",t}function fv(n,e,t,l,r){var o=[];t.forEach(function(n){return o.push(hv(n))});var i=[];l.forEach(function(t,l){var o={};t.forEach(function(n){var t=o[n]=e.computeStyle(l,n,r);t&&0!=t.length||(l[iv]=ov,i.push(l))}),n.set(l,o)});var s=0;return t.forEach(function(n){return hv(n,o[s++])}),i}function gv(n,e){var t=new Map;if(n.forEach(function(n){return t.set(n,[])}),0==e.length)return t;var l=new Set(e),r=new Map;return e.forEach(function(n){var e=function n(e){if(!e)return 1;var o=r.get(e);if(o)return o;var i=e.parentNode;return o=t.has(i)?i:l.has(i)?1:n(i),r.set(e,o),o}(n);1!==e&&t.get(e).push(n)}),t}var mv="$$classes";function yv(n,e){if(n.classList)n.classList.add(e);else{var t=n[mv];t||(t=n[mv]={}),t[e]=!0}}function vv(n,e){if(n.classList)n.classList.remove(e);else{var t=n[mv];t&&delete t[e]}}function bv(n,e,t){Lm(t).onDone(function(){return n.processLeaveNode(e)})}function _v(n,e,t){var l=t.get(n);if(!l)return!1;var r=e.get(n);return r?l.forEach(function(n){return r.add(n)}):e.set(n,l),t.delete(n),!0}var wv=function(){function n(n,e,t){var l=this;this.bodyNode=n,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(n,e){},this._transitionEngine=new cv(n,e,t),this._timelineEngine=new tv(n,e,t),this._transitionEngine.onRemovalComplete=function(n,e){return l.onRemovalComplete(n,e)}}return n.prototype.registerTrigger=function(n,e,t,l,r){var o=n+"-"+l,i=this._triggerCache[o];if(!i){var s=[],u=Oy(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'+l+'" has failed to build due to the following errors:\n - '+s.join("\n - "));i=function(n,e){return new Xy(n,e)}(l,u),this._triggerCache[o]=i}this._transitionEngine.registerTrigger(e,l,i)},n.prototype.register=function(n,e){this._transitionEngine.register(n,e)},n.prototype.destroy=function(n,e){this._transitionEngine.destroy(n,e)},n.prototype.onInsert=function(n,e,t,l){this._transitionEngine.insertNode(n,e,t,l)},n.prototype.onRemove=function(n,e,t){this._transitionEngine.removeNode(n,e,t)},n.prototype.disableAnimations=function(n,e){this._transitionEngine.markElementAsDisabled(n,e)},n.prototype.process=function(n,e,t,l){if("@"==t.charAt(0)){var r=a(Fm(t),2);this._timelineEngine.command(r[0],e,r[1],l)}else this._transitionEngine.trigger(n,e,t,l)},n.prototype.listen=function(n,e,t,l,r){if("@"==t.charAt(0)){var o=a(Fm(t),2);return this._timelineEngine.listen(o[0],e,o[1],r)}return this._transitionEngine.listen(n,e,t,l,r)},n.prototype.flush=function(n){void 0===n&&(n=-1),this._transitionEngine.flush(n)},Object.defineProperty(n.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),n.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},n}();function Cv(n,e){var t=null,l=null;return Array.isArray(e)&&e.length?(t=Ev(e[0]),e.length>1&&(l=Ev(e[e.length-1]))):e&&(t=Ev(e)),t||l?new kv(n,t,l):null}var kv=function(){function n(e,t,l){this._element=e,this._startStyles=t,this._endStyles=l,this._state=0;var r=n.initialStylesByElement.get(e);r||n.initialStylesByElement.set(e,r={}),this._initialStyles=r}return n.prototype.start=function(){this._state<1&&(this._startStyles&&cy(this._element,this._startStyles,this._initialStyles),this._state=1)},n.prototype.finish=function(){this.start(),this._state<2&&(cy(this._element,this._initialStyles),this._endStyles&&(cy(this._element,this._endStyles),this._endStyles=null),this._state=1)},n.prototype.destroy=function(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(py(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(py(this._element,this._endStyles),this._endStyles=null),cy(this._element,this._initialStyles),this._state=3)},n.initialStylesByElement=new WeakMap,n}();function Ev(n){for(var e=null,t=Object.keys(n),l=0;l<t.length;l++){var r=t[l];Sv(r)&&((e=e||{})[r]=n[r])}return e}function Sv(n){return"display"===n||"position"===n}var Tv="animation",xv="animationend",Ov=function(){function n(n,e,t,l,r,o,i){var s=this;this._element=n,this._name=e,this._duration=t,this._delay=l,this._easing=r,this._fillMode=o,this._onDoneFn=i,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(n){return s._handleCallback(n)}}return n.prototype.apply=function(){var n,e,t;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(t=Lv(n=this._element,"").trim()).length&&(function(n,e){for(var t=0;t<n.length;t++)","===n.charAt(t)&&0}(t),e=t+", "+e),Nv(n,"",e),Mv(this._element,this._eventFn,!1),this._startTime=Date.now()},n.prototype.pause=function(){Av(this._element,this._name,"paused")},n.prototype.resume=function(){Av(this._element,this._name,"running")},n.prototype.setPosition=function(n){var e=Iv(this._element,this._name);this._position=n*this._duration,Nv(this._element,"Delay","-"+this._position+"ms",e)},n.prototype.getPosition=function(){return this._position},n.prototype._handleCallback=function(n){var e=n._ngTestManualTimestamp||Date.now(),t=1e3*parseFloat(n.elapsedTime.toFixed(3));n.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&t>=this._duration&&this.finish()},n.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Mv(this._element,this._eventFn,!0))},n.prototype.destroy=function(){var n,e,t,l;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(l=Pv(t=Lv(n=this._element,"").split(","),e))>=0&&(t.splice(l,1),Nv(n,"",t.join(","))))},n}();function Av(n,e,t){Nv(n,"PlayState",t,Iv(n,e))}function Iv(n,e){var t=Lv(n,"");return t.indexOf(",")>0?Pv(t.split(","),e):Pv([t],e)}function Pv(n,e){for(var t=0;t<n.length;t++)if(n[t].indexOf(e)>=0)return t;return-1}function Mv(n,e,t){t?n.removeEventListener(xv,e):n.addEventListener(xv,e)}function Nv(n,e,t,l){var r=Tv+e;if(null!=l){var o=n.style[r];if(o.length){var i=o.split(",");i[l]=t,t=i.join(",")}}n.style[r]=t}function Lv(n,e){return n.style[Tv+e]}var Dv="linear",Rv=function(){function n(n,e,t,l,r,o,i,s){this.element=n,this.keyframes=e,this.animationName=t,this._duration=l,this._delay=r,this._finalStyles=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Dv,this.totalTime=l+r,this._buildStyler()}return n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[]},n.prototype._flushStartFns=function(){this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[]},n.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},n.prototype.setPosition=function(n){this._styler.setPosition(n)},n.prototype.getPosition=function(){return this._styler.getPosition()},n.prototype.hasStarted=function(){return this._state>=2},n.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},n.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},n.prototype.pause=function(){this.init(),this._styler.pause()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},n.prototype._buildStyler=function(){var n=this;this._styler=new Ov(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return n.finish()})},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n.prototype.beforeDestroy=function(){var n=this;this.init();var e={};if(this.hasStarted()){var t=this._state>=3;Object.keys(this._finalStyles).forEach(function(l){"offset"!=l&&(e[l]=t?n._finalStyles[l]:Cy(n.element,l))})}this.currentSnapshot=e},n}(),Uv=function(n){function e(e,t){var l=n.call(this)||this;return l.element=e,l._startingStyles={},l.__initialized=!1,l._styles=Xm(t),l}return r(e,n),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(n){e._startingStyles[n]=e.element.style[n]}),n.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(n){return e.element.style.setProperty(n,e._styles[n])}),n.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(n){var t=e._startingStyles[n];t?e.element.style.setProperty(n,t):e.element.style.removeProperty(n)}),this._startingStyles=null,n.prototype.destroy.call(this))},e}(Im),jv=function(){function n(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return n.prototype.validateStyleProperty=function(n){return Zm(n)},n.prototype.matchesElement=function(n,e){return Ym(n,e)},n.prototype.containsElement=function(n,e){return Jm(n,e)},n.prototype.query=function(n,e,t){return $m(n,e,t)},n.prototype.computeStyle=function(n,e,t){return window.getComputedStyle(n)[e]},n.prototype.buildKeyframeElement=function(n,e,t){t=t.map(function(n){return Xm(n)});var l="@keyframes "+e+" {\n",r="";t.forEach(function(n){r=" ";var e=parseFloat(n.offset);l+=""+r+100*e+"% {\n",r+=" ",Object.keys(n).forEach(function(e){var t=n[e];switch(e){case"offset":return;case"easing":return void(t&&(l+=r+"animation-timing-function: "+t+";\n"));default:return void(l+=""+r+e+": "+t+";\n")}}),l+=r+"}\n"}),l+="}\n";var o=document.createElement("style");return o.innerHTML=l,o},n.prototype.animate=function(n,e,t,l,r,o,i){void 0===o&&(o=[]),i&&this._notifyFaultyScrubber();var s=o.filter(function(n){return n instanceof Rv}),u={};by(t,l)&&s.forEach(function(n){var e=n.currentSnapshot;Object.keys(e).forEach(function(n){return u[n]=e[n]})});var a=function(n){var e={};return n&&(Array.isArray(n)?n:[n]).forEach(function(n){Object.keys(n).forEach(function(t){"offset"!=t&&"easing"!=t&&(e[t]=n[t])})}),e}(e=_y(n,e,u));if(0==t)return new Uv(n,a);var c="gen_css_kf_"+this._count++,p=this.buildKeyframeElement(n,c,e);document.querySelector("head").appendChild(p);var d=Cv(n,e),h=new Rv(n,e,c,t,l,r,a,d);return h.onDestroy(function(){var n;(n=p).parentNode.removeChild(n)}),h},n.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},n}(),Vv=function(){function n(n,e,t,l){this.element=n,this.keyframes=e,this.options=t,this._specialStyles=l,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 n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])},n.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},n.prototype._buildPlayer=function(){var n=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return n._onFinish()})}},n.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},n.prototype._triggerWebAnimation=function(n,e,t){return n.animate(e,t)},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},n.prototype.pause=function(){this.init(),this.domPlayer.pause()},n.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},n.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.hasStarted=function(){return this._started},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype.setPosition=function(n){this.domPlayer.currentTime=n*this.time},n.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(n.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),n.prototype.beforeDestroy=function(){var n=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(t){"offset"!=t&&(e[t]=n._finished?n._finalKeyframe[t]:Cy(n.element,t))}),this.currentSnapshot=e},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n}(),Fv=function(){function n(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Hv().toString()),this._cssKeyframesDriver=new jv}return n.prototype.validateStyleProperty=function(n){return Zm(n)},n.prototype.matchesElement=function(n,e){return Ym(n,e)},n.prototype.containsElement=function(n,e){return Jm(n,e)},n.prototype.query=function(n,e,t){return $m(n,e,t)},n.prototype.computeStyle=function(n,e,t){return window.getComputedStyle(n)[e]},n.prototype.overrideWebAnimationsSupport=function(n){this._isNativeImpl=n},n.prototype.animate=function(n,e,t,l,r,o,i){if(void 0===o&&(o=[]),!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(n,e,t,l,r,o);var s={duration:t,delay:l,fill:0==l?"both":"forwards"};r&&(s.easing=r);var u={},a=o.filter(function(n){return n instanceof Vv});by(t,l)&&a.forEach(function(n){var e=n.currentSnapshot;Object.keys(e).forEach(function(n){return u[n]=e[n]})});var c=Cv(n,e=_y(n,e=e.map(function(n){return sy(n,!1)}),u));return new Vv(n,e,s,c)},n}();function Hv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Bv=function(n){function e(e,t){var l=n.call(this)||this;return l._nextAnimationId=0,l._renderer=e.createRenderer(t.body,{id:"0",encapsulation:Vn.None,styles:[],data:{animation:[]}}),l}return r(e,n),e.prototype.build=function(n){var e=this._nextAnimationId.toString();this._nextAnimationId++;var t=Array.isArray(n)?xm(n):n;return zv(this._renderer,null,e,"register",[t]),new qv(e,this._renderer)},e}(Em),qv=function(n){function e(e,t){var l=n.call(this)||this;return l._id=e,l._renderer=t,l}return r(e,n),e.prototype.create=function(n,e){return new Qv(this._id,n,e||{},this._renderer)},e}(Sm),Qv=function(){function n(n,e,t,l){this.id=n,this.element=e,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return n.prototype._listen=function(n,e){return this._renderer.listen(this.element,"@@"+this.id+":"+n,e)},n.prototype._command=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return zv(this._renderer,this.element,this.id,n,e)},n.prototype.onDone=function(n){this._listen("done",n)},n.prototype.onStart=function(n){this._listen("start",n)},n.prototype.onDestroy=function(n){this._listen("destroy",n)},n.prototype.init=function(){this._command("init")},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this._command("play"),this._started=!0},n.prototype.pause=function(){this._command("pause")},n.prototype.restart=function(){this._command("restart")},n.prototype.finish=function(){this._command("finish")},n.prototype.destroy=function(){this._command("destroy")},n.prototype.reset=function(){this._command("reset")},n.prototype.setPosition=function(n){this._command("setPosition",n)},n.prototype.getPosition=function(){return 0},n}();function zv(n,e,t,l,r){return n.setProperty(e,"@@"+t+":"+l,r)}var Kv=function(){function n(n,e,t){this.delegate=n,this.engine=e,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(n,e){e&&e.parentNode(n)&&e.removeChild(n.parentNode,n)}}return n.prototype.createRenderer=function(n,e){var t=this,l=this.delegate.createRenderer(n,e);if(!(n&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(l);return r||(r=new Wv("",l,this.engine),this._rendererCache.set(l,r)),r}var o=e.id,i=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(i,n),e.data.animation.forEach(function(e){return t.engine.registerTrigger(o,i,n,e.name,e)}),new Gv(this,i,l,this.engine)},n.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},n.prototype._scheduleCountTask=function(){var n=this;this.promise.then(function(){n._microtaskId++})},n.prototype.scheduleListenerCallback=function(n,e,t){var l=this;n>=0&&n<this._microtaskId?this._zone.run(function(){return e(t)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){l._zone.run(function(){l._animationCallbacksBuffer.forEach(function(n){var e=a(n,2);(0,e[0])(e[1])}),l._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,t]))},n.prototype.end=function(){var n=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){n._scheduleCountTask(),n.engine.flush(n._microtaskId)}),this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},n}(),Wv=function(){function n(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?function(n){return e.destroyNode(n)}:null}return Object.defineProperty(n.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},n.prototype.createElement=function(n,e){return this.delegate.createElement(n,e)},n.prototype.createComment=function(n){return this.delegate.createComment(n)},n.prototype.createText=function(n){return this.delegate.createText(n)},n.prototype.appendChild=function(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)},n.prototype.insertBefore=function(n,e,t){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,!0)},n.prototype.removeChild=function(n,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},n.prototype.selectRootElement=function(n,e){return this.delegate.selectRootElement(n,e)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setAttribute=function(n,e,t,l){this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)},n.prototype.setValue=function(n,e){this.delegate.setValue(n,e)},n.prototype.listen=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.disableAnimations=function(n,e){this.engine.disableAnimations(n,e)},n}(),Gv=function(n){function e(e,t,l,r){var o=n.call(this,t,l,r)||this;return o.factory=e,o.namespaceId=t,o}return r(e,n),e.prototype.setProperty=function(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)},e.prototype.listen=function(n,e,t){var l,r,o,i=this;if("@"==e.charAt(0)){var s=function(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(n),u=e.substr(1),c="";return"@"!=u.charAt(0)&&(u=(l=a((r=u,o=r.indexOf("."),[r.substring(0,o),r.substr(o+1)]),2))[0],c=l[1]),this.engine.listen(this.namespaceId,s,u,c,function(n){i.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(n,e,t)},e}(Wv),Zv=function(n){function e(e,t,l){return n.call(this,e.body,t,l)||this}return r(e,n),e}(wv);function Yv(){return"function"==typeof Hv()?new Fv:new jv}function Jv(){return new Ky}function $v(n,e,t){return new Kv(n,e,t)}var Xv=new En("AnimationModuleType"),nb=function(){return function(){}}(),eb=function(){function n(){}return n.prototype.build=function(){return new XMLHttpRequest},n}(),tb=function(n){return n[n.Get=0]="Get",n[n.Post=1]="Post",n[n.Put=2]="Put",n[n.Delete=3]="Delete",n[n.Options=4]="Options",n[n.Head=5]="Head",n[n.Patch=6]="Patch",n}({}),lb=function(n){return n[n.Basic=0]="Basic",n[n.Cors=1]="Cors",n[n.Default=2]="Default",n[n.Error=3]="Error",n[n.Opaque=4]="Opaque",n}({}),rb=function(n){return n[n.NONE=0]="NONE",n[n.JSON=1]="JSON",n[n.FORM=2]="FORM",n[n.FORM_DATA=3]="FORM_DATA",n[n.TEXT=4]="TEXT",n[n.BLOB=5]="BLOB",n[n.ARRAY_BUFFER=6]="ARRAY_BUFFER",n}({}),ob=function(n){return n[n.Text=0]="Text",n[n.Json=1]="Json",n[n.ArrayBuffer=2]="ArrayBuffer",n[n.Blob=3]="Blob",n}({}),ib=function(){function n(e){var t=this;this._headers=new Map,this._normalizedNames=new Map,e&&(e instanceof n?e.forEach(function(n,e){n.forEach(function(n){return t.append(e,n)})}):Object.keys(e).forEach(function(n){var l=Array.isArray(e[n])?e[n]:[e[n]];t.delete(n),l.forEach(function(e){return t.append(n,e)})}))}return n.fromResponseHeaderString=function(e){var t=new n;return e.split("\n").forEach(function(n){var e=n.indexOf(":");if(e>0){var l=n.slice(0,e),r=n.slice(e+1).trim();t.set(l,r)}}),t},n.prototype.append=function(n,e){var t=this.getAll(n);null===t?this.set(n,e):t.push(e)},n.prototype.delete=function(n){var e=n.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},n.prototype.forEach=function(n){var e=this;this._headers.forEach(function(t,l){return n(t,e._normalizedNames.get(l),e._headers)})},n.prototype.get=function(n){var e=this.getAll(n);return null===e?null:e.length>0?e[0]:null},n.prototype.has=function(n){return this._headers.has(n.toLowerCase())},n.prototype.keys=function(){return Array.from(this._normalizedNames.values())},n.prototype.set=function(n,e){Array.isArray(e)?e.length&&this._headers.set(n.toLowerCase(),[e.join(",")]):this._headers.set(n.toLowerCase(),[e]),this.mayBeSetNormalizedName(n)},n.prototype.values=function(){return Array.from(this._headers.values())},n.prototype.toJSON=function(){var n=this,e={};return this._headers.forEach(function(t,l){var r=[];t.forEach(function(n){return r.push.apply(r,c(n.split(",")))}),e[n._normalizedNames.get(l)]=r}),e},n.prototype.getAll=function(n){return this.has(n)&&this._headers.get(n.toLowerCase())||null},n.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},n.prototype.mayBeSetNormalizedName=function(n){var e=n.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,n)},n}(),sb=function(){function n(n){void 0===n&&(n={});var e=n.body,t=n.status,l=n.headers,r=n.statusText,o=n.type,i=n.url;this.body=null!=e?e:null,this.status=null!=t?t:null,this.headers=null!=l?l:null,this.statusText=null!=r?r:null,this.type=null!=o?o:null,this.url=null!=i?i:null}return n.prototype.merge=function(e){return new n({body:e&&null!=e.body?e.body:this.body,status:e&&null!=e.status?e.status:this.status,headers:e&&null!=e.headers?e.headers:this.headers,statusText:e&&null!=e.statusText?e.statusText:this.statusText,type:e&&null!=e.type?e.type:this.type,url:e&&null!=e.url?e.url:this.url})},n}(),ub=function(n){function e(){return n.call(this,{status:200,statusText:"Ok",type:lb.Default,headers:new ib})||this}return r(e,n),e}(sb),ab=function(){return function(){}}();function cb(n){if("string"!=typeof n)return n;switch(n.toUpperCase()){case"GET":return tb.Get;case"POST":return tb.Post;case"PUT":return tb.Put;case"DELETE":return tb.Delete;case"OPTIONS":return tb.Options;case"HEAD":return tb.Head;case"PATCH":return tb.Patch}throw new Error('Invalid request method. The method "'+n+'" is not supported.')}var pb=function(n){return n>=200&&n<300},db=function(){function n(){}return n.prototype.encodeKey=function(n){return hb(n)},n.prototype.encodeValue=function(n){return hb(n)},n}();function hb(n){return encodeURIComponent(n).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 fb=function(){function n(n,e){void 0===n&&(n=""),void 0===e&&(e=new db),this.rawParams=n,this.queryEncoder=e,this.paramsMap=function(n){void 0===n&&(n="");var e=new Map;return n.length>0&&n.split("&").forEach(function(n){var t=n.indexOf("="),l=a(-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)],2),r=l[0],o=l[1],i=e.get(r)||[];i.push(o),e.set(r,i)}),e}(n)}return n.prototype.clone=function(){var e=new n("",this.queryEncoder);return e.appendAll(this),e},n.prototype.has=function(n){return this.paramsMap.has(n)},n.prototype.get=function(n){var e=this.paramsMap.get(n);return Array.isArray(e)?e[0]:null},n.prototype.getAll=function(n){return this.paramsMap.get(n)||[]},n.prototype.set=function(n,e){if(null!=e){var t=this.paramsMap.get(n)||[];t.length=0,t.push(e),this.paramsMap.set(n,t)}else this.delete(n)},n.prototype.setAll=function(n){var e=this;n.paramsMap.forEach(function(n,t){var l=e.paramsMap.get(t)||[];l.length=0,l.push(n[0]),e.paramsMap.set(t,l)})},n.prototype.append=function(n,e){if(null!=e){var t=this.paramsMap.get(n)||[];t.push(e),this.paramsMap.set(n,t)}},n.prototype.appendAll=function(n){var e=this;n.paramsMap.forEach(function(n,t){for(var l=e.paramsMap.get(t)||[],r=0;r<n.length;++r)l.push(n[r]);e.paramsMap.set(t,l)})},n.prototype.replaceAll=function(n){var e=this;n.paramsMap.forEach(function(n,t){var l=e.paramsMap.get(t)||[];l.length=0;for(var r=0;r<n.length;++r)l.push(n[r]);e.paramsMap.set(t,l)})},n.prototype.toString=function(){var n=this,e=[];return this.paramsMap.forEach(function(t,l){t.forEach(function(t){return e.push(n.queryEncoder.encodeKey(l)+"="+n.queryEncoder.encodeValue(t))})}),e.join("&")},n.prototype.delete=function(n){this.paramsMap.delete(n)},n}(),gb=function(){function n(){}return n.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},n.prototype.text=function(n){if(void 0===n&&(n="legacy"),this._body instanceof fb)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(n){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+n)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},n.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:function(n){for(var e=new Uint16Array(n.length),t=0,l=n.length;t<l;t++)e[t]=n.charCodeAt(t);return e.buffer}(this.text())},n.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},n}(),mb=function(n){function e(e){var t=n.call(this)||this;return t._body=e.body,t.status=e.status,t.ok=t.status>=200&&t.status<=299,t.statusText=e.statusText,t.headers=e.headers,t.type=e.type,t.url=e.url,t}return r(e,n),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(gb),yb=/^\)\]\}',?\n/,vb=function(){function n(n,e,t){var l=this;this.request=n,this.response=new I(function(r){var o=e.build();o.open(tb[n.method].toUpperCase(),n.url),null!=n.withCredentials&&(o.withCredentials=n.withCredentials);var i=function(){var e=1223===o.status?204:o.status,l=null;204!==e&&"string"==typeof(l=void 0===o.response?o.responseText:o.response)&&(l=l.replace(yb,"")),0===e&&(e=l?200:0);var i,s=ib.fromResponseHeaderString(o.getAllResponseHeaders()),u=("responseURL"in(i=o)?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null)||n.url,a=new sb({body:l,status:e,headers:s,statusText:o.statusText||"OK",url:u});null!=t&&(a=t.merge(a));var c=new mb(a);if(c.ok=pb(e),c.ok)return r.next(c),void r.complete();r.error(c)},s=function(n){var e=new sb({body:n,type:lb.Error,status:o.status,statusText:o.statusText});null!=t&&(e=t.merge(e)),r.error(new mb(e))};if(l.setDetectedContentType(n,o),null==n.headers&&(n.headers=new ib),n.headers.has("Accept")||n.headers.append("Accept","application/json, text/plain, */*"),n.headers.forEach(function(n,e){return o.setRequestHeader(e,n.join(","))}),null!=n.responseType&&null!=o.responseType)switch(n.responseType){case ob.ArrayBuffer:o.responseType="arraybuffer";break;case ob.Json:o.responseType="json";break;case ob.Text:o.responseType="text";break;case ob.Blob:o.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return o.addEventListener("load",i),o.addEventListener("error",s),o.send(l.request.getBody()),function(){o.removeEventListener("load",i),o.removeEventListener("error",s),o.abort()}})}return n.prototype.setDetectedContentType=function(n,e){if(null==n.headers||null==n.headers.get("Content-Type"))switch(n.contentType){case rb.NONE:break;case rb.JSON:e.setRequestHeader("content-type","application/json");break;case rb.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case rb.TEXT:e.setRequestHeader("content-type","text/plain");break;case rb.BLOB:var t=n.blob();t.type&&e.setRequestHeader("content-type",t.type)}},n}(),bb=function(){function n(n,e){void 0===n&&(n="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=n,this._headerName=e}return n.prototype.configureRequest=function(n){var e=_c().getCookie(this._cookieName);e&&n.headers.set(this._headerName,e)},n}(),_b=function(){function n(n,e,t){this._browserXHR=n,this._baseResponseOptions=e,this._xsrfStrategy=t}return n.prototype.createConnection=function(n){return this._xsrfStrategy.configureRequest(n),new vb(n,this._browserXHR,this._baseResponseOptions)},n}(),wb=function(){function n(n){void 0===n&&(n={});var e=n.method,t=n.headers,l=n.body,r=n.url,o=n.search,i=n.params,s=n.withCredentials,u=n.responseType;this.method=null!=e?cb(e):null,this.headers=null!=t?t:null,this.body=null!=l?l:null,this.url=null!=r?r:null,this.params=this._mergeSearchParams(i||o),this.withCredentials=null!=s?s:null,this.responseType=null!=u?u:null}return Object.defineProperty(n.prototype,"search",{get:function(){return this.params},set:function(n){this.params=n},enumerable:!0,configurable:!0}),n.prototype.merge=function(e){return new n({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new ib(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,params:e&&this._mergeSearchParams(e.params||e.search),withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},n.prototype._mergeSearchParams=function(n){return n?n instanceof fb?n.clone():"string"==typeof n?new fb(n):this._parseParams(n):this.params},n.prototype._parseParams=function(n){var e=this;void 0===n&&(n={});var t=new fb;return Object.keys(n).forEach(function(l){var r=n[l];Array.isArray(r)?r.forEach(function(n){return e._appendParam(l,n,t)}):e._appendParam(l,r,t)}),t},n.prototype._appendParam=function(n,e,t){"string"!=typeof e&&(e=JSON.stringify(e)),t.append(n,e)},n}(),Cb=function(n){function e(){return n.call(this,{method:tb.Get,headers:new ib})||this}return r(e,n),e}(wb),kb=function(n){function e(e){var t=n.call(this)||this,l=e.url;t.url=e.url;var r,o=e.params||e.search;if(o&&(r="object"!=typeof o||o instanceof fb?o.toString():function(n){var e=new fb;return Object.keys(n).forEach(function(t){var l=n[t];l&&Array.isArray(l)?l.forEach(function(n){return e.append(t,n.toString())}):e.append(t,l.toString())}),e}(o).toString()).length>0){var i="?";-1!=t.url.indexOf("?")&&(i="&"==t.url[t.url.length-1]?"":"&"),t.url=l+i+r}return t._body=e.body,t.method=cb(e.method),t.headers=new ib(e.headers),t.contentType=t.detectContentType(),t.withCredentials=e.withCredentials,t.responseType=e.responseType,t}return r(e,n),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return rb.JSON;case"application/x-www-form-urlencoded":return rb.FORM;case"multipart/form-data":return rb.FORM_DATA;case"text/plain":case"text/html":return rb.TEXT;case"application/octet-stream":return this._body instanceof Ob?rb.ARRAY_BUFFER:rb.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?rb.NONE:this._body instanceof fb?rb.FORM:this._body instanceof Tb?rb.FORM_DATA:this._body instanceof xb?rb.BLOB:this._body instanceof Ob?rb.ARRAY_BUFFER:this._body&&"object"==typeof this._body?rb.JSON:rb.TEXT},e.prototype.getBody=function(){switch(this.contentType){case rb.JSON:case rb.FORM:return this.text();case rb.FORM_DATA:return this._body;case rb.TEXT:return this.text();case rb.BLOB:return this.blob();case rb.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(gb),Eb=function(){},Sb="object"==typeof window?window:Eb,Tb=Sb.FormData||Eb,xb=Sb.Blob||Eb,Ob=Sb.ArrayBuffer||Eb;function Ab(n,e){return n.createConnection(e).response}function Ib(n,e,t,l){return n.merge(new wb(e?{method:e.method||t,url:e.url||l,search:e.search,params:e.params,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType}:{method:t,url:l}))}var Pb=function(){function n(n,e){this._backend=n,this._defaultOptions=e}return n.prototype.request=function(n,e){var t;if("string"==typeof n)t=Ab(this._backend,new kb(Ib(this._defaultOptions,e,tb.Get,n)));else{if(!(n instanceof kb))throw new Error("First argument must be a url string or Request instance.");t=Ab(this._backend,n)}return t},n.prototype.get=function(n,e){return this.request(new kb(Ib(this._defaultOptions,e,tb.Get,n)))},n.prototype.post=function(n,e,t){return this.request(new kb(Ib(this._defaultOptions.merge(new wb({body:e})),t,tb.Post,n)))},n.prototype.put=function(n,e,t){return this.request(new kb(Ib(this._defaultOptions.merge(new wb({body:e})),t,tb.Put,n)))},n.prototype.delete=function(n,e){return this.request(new kb(Ib(this._defaultOptions,e,tb.Delete,n)))},n.prototype.patch=function(n,e,t){return this.request(new kb(Ib(this._defaultOptions.merge(new wb({body:e})),t,tb.Patch,n)))},n.prototype.head=function(n,e){return this.request(new kb(Ib(this._defaultOptions,e,tb.Head,n)))},n.prototype.options=function(n,e){return this.request(new kb(Ib(this._defaultOptions,e,tb.Options,n)))},n}();function Mb(){return new bb}function Nb(n,e){return new Pb(n,e)}var Lb=function(){return function(){}}(),Db=Ma(Ka,[],function(n){return function(n){for(var e={},t=[],l=!1,r=0;r<n.length;r++){var o=n[r];o.token===Cl&&!0===o.value&&(l=!0),1073741824&o.flags&&t.push(o.token),o.index=r,e[Ii(o.token)]=o}return{factory:null,providersByKey:e,providers:n,modules:t,isRoot:l}}([bs(512,Fl,Hl,[[8,[km]],[3,Fl],ql]),bs(5120,di,gi,[[3,di]]),bs(4608,ec,tc,[di,[2,nc]]),bs(4608,po,po,[]),bs(5120,Jr,$r,[]),bs(5120,ii,hi,[]),bs(5120,si,fi,[]),bs(4608,yp,vp,[yc]),bs(6144,nr,null,[yp]),bs(4608,cp,dp,[]),bs(5120,Uc,function(n,e,t,l,r,o,i,s){return[new up(n,e,t),new mp(l),new hp(r,o,i,s)]},[yc,bo,eo,yc,yc,cp,lo,[2,pp]]),bs(4608,jc,jc,[Uc,bo]),bs(135680,Hc,Hc,[yc]),bs(4608,Gc,Gc,[jc,Hc,Jr]),bs(5120,ey,Yv,[]),bs(5120,zy,Jv,[]),bs(4608,wv,Zv,[yc,ey,zy]),bs(5120,Zl,$v,[Gc,wv,bo]),bs(6144,Fc,null,[Hc]),bs(4608,xo,xo,[bo]),bs(4608,Kp,Kp,[]),bs(4608,eb,eb,[]),bs(4608,sb,ub,[]),bs(5120,ab,Mb,[]),bs(4608,_b,_b,[eb,sb,ab]),bs(4608,wb,Cb,[]),bs(5120,Pb,Nb,[_b,wb]),bs(4608,mh,yh,[yc,eo,fh]),bs(4608,vh,vh,[mh,gh]),bs(5120,uh,function(n,e){return[n,new Bh(e)]},[vh,Fh]),bs(4608,dh,dh,[]),bs(6144,ph,null,[dh]),bs(4608,hh,hh,[ph]),bs(6144,zd,null,[hh]),bs(4608,Qd,bh,[zd,ul]),bs(4608,ih,ih,[Qd]),bs(4608,Em,Bv,[Zl,Oc]),bs(1073742336,mc,mc,[]),bs(1024,Kr,Tp,[]),bs(1024,Zr,function(n){return[(e=n,Lc("probe",Rc),Lc("coreTokens",o({},Dc,(e||[]).reduce(function(n,e){return n[e.name]=e.token,n},{}))),function(){return Rc})];var e},[[2,Po]]),bs(512,Yr,Yr,[[2,Zr]]),bs(131584,Ro,Ro,[bo,lo,ul,Kr,Fl,Yr]),bs(1073742336,mi,mi,[Ro]),bs(1073742336,xp,xp,[[3,xp]]),bs(1073742336,Cd,Cd,[]),bs(1073742336,kd,kd,[]),bs(1073742336,Lb,Lb,[]),bs(1073742336,_h,_h,[]),bs(1073742336,wh,wh,[]),bs(1073742336,nb,nb,[]),bs(1073742336,Ka,Ka,[ul]),bs(256,Cl,!0,[]),bs(256,fh,"XSRF-TOKEN",[]),bs(256,gh,"X-XSRF-TOKEN",[]),bs(256,Xv,"BrowserAnimations",[])])});(function(){if(cr)throw new Error("Cannot enable prod mode after platform setup.");ar=!1})(),Sp().bootstrapModuleFactory(Db).catch(function(n){return console.error(n)})},zn8P:function(n,e){function t(n){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e})}t.keys=function(){return[]},t.resolve=t,n.exports=t,t.id="zn8P"}});

Zerion Mini Shell 1.0