UNPKG

@banksapitechnology/regprotect-web-component

Version:

BANKSapi Web Component for REG/Protect. This package is part of the BANKSapi WEB/Connect Banking Widgets to integrate banking features directly into your app.

3 lines 1.15 MB
(()=>{"use strict";var e,d={},v={};function n(e){var a=v[e];if(void 0!==a)return a.exports;var r=v[e]={id:e,loaded:!1,exports:{}};return d[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=d,e=[],n.O=(a,r,o,l)=>{if(!r){var u=1/0;for(t=0;t<e.length;t++){for(var[r,o,l]=e[t],i=!0,f=0;f<r.length;f++)(!1&l||u>=l)&&Object.keys(n.O).every(_=>n.O[_](r[f]))?r.splice(f--,1):(i=!1,l<u&&(u=l));if(i){e.splice(t--,1);var c=o();void 0!==c&&(a=c)}}return a}l=l||0;for(var t=e.length;t>0&&e[t-1][2]>l;t--)e[t]=e[t-1];e[t]=[r,o,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),n.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};n.O.j=o=>0===e[o];var a=(o,l)=>{var f,c,[t,u,i]=l,s=0;if(t.some(p=>0!==e[p])){for(f in u)n.o(u,f)&&(n.m[f]=u[f]);if(i)var b=i(n)}for(o&&o(l);s<t.length;s++)n.o(e,c=t[s])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunkwebcomponent=self.webpackChunkwebcomponent||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})(); (self.webpackChunkwebcomponent=self.webpackChunkwebcomponent||[]).push([[429],{6118:(te,_e,ce)=>{"use strict";ce(8583),ce(1924)},1924:()=>{!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const te=HTMLElement;window.HTMLElement=function(){return Reflect.construct(te,[],this.constructor)},HTMLElement.prototype=te.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,te)}()}()},8583:()=>{"use strict";!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,E){n&&n.measure&&n.measure(L,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const m=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(m||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(t,r,k=!1){if(se.hasOwnProperty(t)){if(!k&&m)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),se[t]=r(e,L,q),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=y;C&&t._transitionTo(y,j),t.runCount++;const $=oe;oe=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,y):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,y,x))),U=U.parent,oe=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(z,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(j,z),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(M,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,y);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return L.__symbol__=a,L})();const w={name:"",onHasTask:(L,E,t,r)=>L.hasTask(t,r),onScheduleTask:(L,E,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,E,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,E,t,r)=>L.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:w,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=w,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=w,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=w,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=M)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class p{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const I=a("setTimeout"),Z=a("Promise"),N=a("then");let J,F=[],H=!1;function X(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,L)}else e[I](L,0)}function R(L){0===ee&&0===F.length&&X(_),L&&F.push(L)}function _(){if(!H){for(H=!0;F.length;){const L=F;F=[];for(let E=0;E<L.length;E++){const t=L[E];try{t.zone.runTask(t,null,null)}catch(r){q.onUnhandledError(r)}}}q.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",z="scheduling",j="scheduled",y="running",G="canceling",h="unknown",M="microTask",P="macroTask",Q="eventTask",se={},q={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:X};let U={parent:null,zone:new d(null,null)},oe=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const te=Object.getOwnPropertyDescriptor,_e=Object.defineProperty,ce=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,ke="addEventListener",Pe="removeEventListener",Ze=Zone.__symbol__(ke),Ne=Zone.__symbol__(Pe),ae="true",le="false",ve=Zone.__symbol__("");function Me(e,n){return Zone.current.wrap(e,n)}function Le(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Re=typeof window<"u",Te=Re?window:void 0,Y=Re&&Te||"object"==typeof self&&self||global;function Ie(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Me(e[i],n+"_"+i));return e}function Be(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Fe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ce=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!Ce&&!Fe&&!(!Re||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Fe&&!(!Re||!Te.HTMLElement),Oe={},We=function(e){if(!(e=e||Y.event))return;let n=Oe[e.type];n||(n=Oe[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let o=te(e,n);if(!o&&i&&te(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,m=o.set,d=n.slice(2);let w=Oe[d];w||(w=Oe[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[w]&&p.removeEventListener(d,We),m&&m.call(p,null),p[w]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[w];if(p)return p;if(a){let I=a.call(this);if(I)return o.set.call(this,I),"function"==typeof v.removeAttribute&&v.removeAttribute(n),I}return null},_e(e,n,o),e[c]=!0}function ze(e,n,i){if(n)for(let o=0;o<n.length;o++)Xe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)Xe(e,o[c],i)}}const re=A("originalInstance");function be(e){const n=Y[e];if(!n)return;Y[A(e)]=n,Y[e]=function(){const c=Ie(arguments,e);switch(c.length){case 0:this[re]=new n;break;case 1:this[re]=new n(c[0]);break;case 2:this[re]=new n(c[0],c[1]);break;case 3:this[re]=new n(c[0],c[1],c[2]);break;case 4:this[re]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},fe(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[re][c].apply(this[re],arguments)}:_e(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[re][c]=Me(a,e+"."+c),fe(this[re][c],a)):this[re][c]=a},get:function(){return this[re][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function ue(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=ce(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Be(o&&te(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},fe(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const m=a.data;return m.args[m.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(m.target,m.args),a}o=ue(e,n,a=>function(m,d){const w=i(m,d);return w.cbIdx>=0&&"function"==typeof d[w.cbIdx]?Le(w.name,d[w.cbIdx],w,c):a.apply(m,d)})}function fe(e,n){e[A("OriginalDelegate")]=n}let qe=!1,Ae=!1;function ft(){if(qe)return Ae;qe=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,m=i.symbol,d=[],w=!0===e[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=m("Promise"),p=m("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=m("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function F(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const X=m("state"),R=m("value"),_=m("finally"),K=m("parentPromiseValue"),x=m("parentPromiseState"),j=null,y=!0,G=!1;function M(l,u){return s=>{try{q(l,u,s)}catch(f){q(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},se=m("currentTaskTrace");function q(l,u,s){const f=P();if(l===s)throw new TypeError("Promise resolved with itself");if(l[X]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{q(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(X)&&s.hasOwnProperty(R)&&s[X]!==j)oe(s),q(l,s[X],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(M(l,u)),f(M(l,!1)))}catch(b){f(()=>{q(l,!1,b)})()}else{l[X]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===y&&(l[X]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ee(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[X]=0;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(O){T=O}w&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=m("rejectionHandledHandler");function oe(l){if(0===l[X]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[X]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){oe(l);const b=l[X],T=b?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask("Promise.then",()=>{try{const O=l[R],D=!!s&&_===s[_];D&&(s[K]=O,s[x]=b);const S=u.run(T,void 0,D&&T!==J&&T!==H?[]:[O]);q(s,!0,S)}catch(O){q(s,!1,O)}},s)}const L=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return q(new this(null),y,u)}static reject(u){return q(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,O)=>{for(let D=0;D<s.length;D++)s[D].then(S=>{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,O(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((O,D)=>{s=O,f=D});function b(O){s(O)}function T(O){f(O)}for(let O of u)F(O)||(O=this.resolve(O)),O.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,O=0;const D=[];for(let S of u){F(S)||(S=this.resolve(S));const V=O;try{S.then(B=>{D[V]=s?s.thenCallback(B):B,T--,0===T&&f(D)},B=>{s?(D[V]=s.errorCallback(B),T--,0===T&&f(D)):g(B)})}catch(B){g(B)}T++,O++}return T-=2,0===T&&f(D),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[X]=j,s[R]=[];try{const f=P();u&&u(f(M(s,y)),f(M(s,G)))}catch(f){q(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(L),T=n.current;return this[X]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(L);g[_]=_;const b=n.current;return this[X]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=m("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,b){return new t((O,D)=>{f.call(this,O,D)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),ue(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const m=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":m.call(this)}});let me=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}const ht={useG:!0},ne={},Ye={},$e=new RegExp("^"+ve+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+le,o=(n?n(e):e)+ae,c=ve+i,a=ve+o;ne[e]={},ne[e][le]=c,ne[e][ae]=a}function dt(e,n,i,o){const c=o&&o.add||ke,a=o&&o.rm||Pe,m=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",w=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=y=>x.handleEvent(y),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(y){z=y}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,z=x[ne[_.type][K?ae:le]];if(z){const j=[];if(1===z.length){const y=Z(z[0],x,_);y&&j.push(y)}else{const y=z.slice();for(let G=0;G<y.length&&(!_||!0!==_[Ke]);G++){const h=Z(y[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let y=0;y<j.length;y++){const G=j[y];n.nativeScheduleMicroTask(()=>{throw G})}}}const F=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let y=R;for(;y&&!y.hasOwnProperty(c);)y=ce(y);if(!y&&R[c]&&(y=R),!y||y[w])return!1;const G=_&&_.eventNameToString,h={},M=y[w]=y[c],P=y[A(a)]=y[a],Q=y[A(m)]=y[m],se=y[A(d)]=y[d];let q;function U(s,f){return!me&&"object"==typeof s&&s?!!s.capture:me&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(q=y[A(_.prepend)]=y[_.prepend]);const t=K?function(s){if(!h.isExisting)return M.call(h.target,h.eventName,h.capture?H:F,h.options)}:function(s){return M.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ae:le]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:F,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,O=!1){return function(){const D=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(Ce&&"uncaughtException"===S)return s.apply(this,arguments);let B=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);B=!0}if(x&&!x(s,V,D,arguments))return;const he=me&&!!l&&-1!==l.indexOf(S),ie=U(arguments[2],he);if($)for(let Ee=0;Ee<$.length;Ee++)if(S===$[Ee])return he?s.call(D,S,V,ie):s.apply(this,arguments);const xe=!!ie&&("boolean"==typeof ie||ie.capture),nt=!(!ie||"object"!=typeof ie)&&ie.once,gt=Zone.current;let Ge=ne[S];Ge||(Je(S,G),Ge=ne[S]);const rt=Ge[xe?ae:le];let Se,pe=D[rt],ot=!1;if(pe){if(ot=!0,z)for(let Ee=0;Ee<pe.length;Ee++)if(C(pe[Ee],V))return}else pe=D[rt]=[];const st=D.constructor.name,it=Ye[st];it&&(Se=it[S]),Se||(Se=st+f+(G?G(S):S)),h.options=ie,nt&&(h.options.once=!1),h.target=D,h.capture=xe,h.eventName=S,h.isExisting=ot;const we=K?ht:void 0;we&&(we.taskData=h);const de=gt.scheduleEventTask(Se,V,we,g,b);return h.target=null,we&&(we.taskData=null),nt&&(ie.once=!0),!me&&"boolean"==typeof de.options||(de.options=ie),de.target=D,de.capture=xe,de.eventName=S,B&&(de.originalDelegate=V),O?pe.unshift(de):pe.push(de),T?D:void 0}};return y[c]=u(M,v,t,r,j),q&&(y.prependListener=u(q,".prependListener:",function(s){return q.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),y[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return P.apply(this,arguments);if(x&&!x(P,T,s,arguments))return;const O=ne[f];let D;O&&(D=O[b?ae:le]);const S=D&&s[D];if(S)for(let V=0;V<S.length;V++){const B=S[V];if(C(B,T))return S.splice(V,1),B.isRemoved=!0,0===S.length&&(B.allRemoved=!0,s[D]=null,"string"==typeof f)&&(s[ve+"ON_PROPERTY"+f]=null),B.zone.cancelTask(B),j?s:void 0}return P.apply(this,arguments)},y[m]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Qe(s,G?G(f):f);for(let T=0;T<b.length;T++){const O=b[T];g.push(O.originalDelegate?O.originalDelegate:O.callback)}return g},y[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=ne[f];if(g){const O=s[g[le]],D=s[g[ae]];if(O){const S=O.slice();for(let V=0;V<S.length;V++){const B=S[V];this[a].call(this,f,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(D){const S=D.slice();for(let V=0;V<S.length;V++){const B=S[V];this[a].call(this,f,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const O=$e.exec(g[b]);let D=O&&O[1];D&&"removeListener"!==D&&this[d].call(this,D)}this[d].call(this,"removeListener")}if(j)return this},fe(y[c],M),fe(y[a],P),se&&fe(y[d],se),Q&&fe(y[m],Q),!0}let X=[];for(let R=0;R<i.length;R++)X[R]=J(i[R],o);return X}function Qe(e,n){if(!n){const a=[];for(let m in e){const d=$e.exec(m);let w=d&&d[1];if(w&&(!n||w===n)){const v=e[m];if(v)for(let p=0;p<v.length;p++)a.push(v[p])}}return a}let i=ne[n];i||(Je(n),i=ne[n]);const o=e[i[le]],c=e[i[ae]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const m=n[a]=n[o];n[o]=function(d,w,v){return w&&w.prototype&&c.forEach(function(p){const I=`${i}.${o}::`+p,Z=w.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,I),e._redefineProperty(w.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],I))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],I))}catch{}}),m.call(n,d,w,v)},e.attachOriginToPatched(n[o],m)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&ze(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=ze,i.patchMethod=ue,i.bindArguments=Ie,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=_e,i.ObjectGetOwnPropertyDescriptor=te,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=be,i.wrapWithCurrentZone=Me,i.filterProperties=et,i.attachOriginToPatched=fe,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:ne,eventNames:o,isBrowser:je,isMix:Ue,isNode:Ce,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:ke,REMOVE_EVENT_LISTENER_STR:Pe})});const De=A("zoneTask");function ye(e,n,i,o){let c=null,a=null;i+=o;const m={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function w(v){return a.call(e,v.data.handleId)}c=ue(e,n+=o,v=>function(p,I){if("function"==typeof I[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?I[1]||0:void 0,args:I},N=I[0];I[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete m[Z.handleId]:Z.handleId&&(Z.handleId[De]=null))}};const F=Le(n,I[0],Z,d,w);if(!F)return F;const H=F.data.handleId;return"number"==typeof H?m[H]=F:H&&(H[De]=F),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(F.ref=H.ref.bind(H),F.unref=H.unref.bind(H)),"number"==typeof H||H?H:F}return v.apply(e,I)}),a=ue(e,i,v=>function(p,I){const Z=I[0];let N;"number"==typeof Z?N=m[Z]:(N=Z&&Z[De],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete m[Z]:Z&&(Z[De]=null),N.zone.cancelTask(N)):v.apply(e,I)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ye(e,n,i,"Timeout"),ye(e,n,i,"Interval"),ye(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ye(e,"request","cancel","AnimationFrame"),ye(e,"mozRequest","mozCancel","AnimationFrame"),ye(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)ue(e,i[o],(a,m,d)=>function(w,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function pt(e,n){n.patchEventPrototype(e,n)})(e,i),function yt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:m}=n.getGlobalObjects();for(let w=0;w<i.length;w++){const v=i[w],Z=m+(v+a),N=m+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{be("MutationObserver"),be("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{be("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{be("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(Ce&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),ce(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function mt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function w(v){const p=v.XMLHttpRequest;if(!p)return;const I=p.prototype;let N=I[Ze],F=I[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const M=h.prototype;N=M[Ze],F=M[Ne]}}const H="readystatechange",J="scheduled";function X(h){const M=h.data,P=M.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],F=P[Ne]),Q&&F.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!M.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!M.aborted&&h.state===J&&oe.call(h)},U.push(h)}else h.invoke()}else!M.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,se),P[i]||(P[i]=h),y.apply(P,M.args),P[a]=!0,h}function R(){}function _(h){const M=h.data;return M.aborted=!0,G.apply(M.target,M.args)}const K=ue(I,"open",()=>function(h,M){return h[o]=0==M[2],h[m]=M[1],K.apply(h,M)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),y=ue(I,"send",()=>function(h,M){if(!0===n.current[j]||h[o])return y.apply(h,M);{const P={target:h,url:h[m],isPeriodic:!1,args:M,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,X,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=ue(I,"abort",()=>function(h,M){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return G.apply(h,M)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),m=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Be(te(e,c)))continue;e[c]=(d=>{const w=function(){return d.apply(this,Ie(arguments,i+"."+c))};return fe(w,d),w})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(m=>{const d=e.PromiseRejectionEvent;if(d){const w=new d(o,{promise:c.promise,reason:c.rejection});m.invoke(w)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},te=>{te(te.s=6118)}]); (self.webpackChunkwebcomponent=self.webpackChunkwebcomponent||[]).push([[736],{6013:(_e,Q,D)=>{"use strict";D.d(Q,{h:()=>tt});var u=D(1571),a=D(529),v=D(6895),_=D(727),m=D(4968),w=D(6451),T=D(9300),R=D(4986),j=D(4482),F=D(5403),ee=D(8421);const Z={leading:!0,trailing:!1};var Se=D(5963);class se{constructor(){this.idValue=new Date,this.idlingValue=!1}id(Fe){if(void 0!==Fe){if(!Fe)throw new Error("A value must be specified for the ID.");this.idValue=Fe}return this.idValue}idling(Fe){return void 0!==Fe&&(this.idlingValue=Fe),this.idlingValue}now(){return new Date}isExpired(){const Fe=this.last();return null!=Fe&&Fe<=this.now()}}class Be{constructor(Fe,Oe){this.source=Fe,Fe.initialize&&Fe.initialize(Oe)}subscribe(Fe){this.sub=this.source.onInterrupt.subscribe(Fe)}unsubscribe(){this.sub.unsubscribe(),this.sub=null}resume(){this.source.attach()}pause(){this.source.detach()}}class ot{}class Le{constructor(){this.storageMap={}}get length(){return Object.keys(this.storageMap).length}clear(){this.storageMap={}}getItem(Fe){return typeof this.storageMap[Fe]<"u"?this.storageMap[Fe]:null}key(Fe){return Object.keys(this.storageMap)[Fe]||null}removeItem(Fe){this.storageMap[Fe]=void 0}setItem(Fe,Oe){this.storageMap[Fe]=Oe}}let Ie=(()=>{class le{constructor(){this.storage=this.getStorage()}getStorage(){try{const Oe=localStorage;return Oe.setItem("ng2IdleStorage",""),Oe.removeItem("ng2IdleStorage"),Oe}catch{return new Le}}getItem(Oe){return this.storage.getItem("ng2Idle."+Oe)}removeItem(Oe){this.storage.removeItem("ng2Idle."+Oe)}setItem(Oe,He){this.storage.setItem("ng2Idle."+Oe,He)}_wrapped(){return this.storage}}return le.\u0275fac=function(Oe){return new(Oe||le)},le.\u0275prov=u.Yz7({token:le,factory:le.\u0275fac}),le})(),oe=(()=>{class le extends se{constructor(Oe){super(),this.localStorage=Oe,this.idleName="main"}last(Oe){return void 0!==Oe&&this.setExpiry(Oe),this.getExpiry()}idling(Oe){return void 0!==Oe&&this.setIdling(Oe),this.getIdling()}getIdleName(){return this.idleName}setIdleName(Oe){Oe&&(this.idleName=Oe)}getExpiry(){const Oe=this.localStorage.getItem(this.idleName+".expiry");return Oe?new Date(parseInt(Oe,10)):null}setExpiry(Oe){Oe?this.localStorage.setItem(this.idleName+".expiry",Oe.getTime().toString()):this.localStorage.removeItem(this.idleName+".expiry")}getIdling(){const Oe=this.localStorage.getItem(this.idleName+".idling");return!!Oe&&"true"===Oe}setIdling(Oe){this.localStorage.setItem(this.idleName+".idling",Oe?Oe.toString():"false")}}return le.\u0275fac=function(Oe){return new(Oe||le)(u.LFG(Ie))},le.\u0275prov=u.Yz7({token:le,factory:le.\u0275fac}),le})();var de=(()=>{return(le=de||(de={}))[le.disabled=0]="disabled",le[le.idle=1]="idle",le[le.notIdle=2]="notIdle",de;var le})();let qe=(()=>{class le{constructor(Oe,He,ft,Vt){this.expiry=Oe,this.zone=He,this.platformId=Vt,this.idle=1200,this.timeoutVal=30,this.autoResume=de.idle,this.interrupts=new Array,this.running=!1,this.keepaliveEnabled=!1,this.onIdleStart=new u.vpe,this.onIdleEnd=new u.vpe,this.onTimeoutWarning=new u.vpe,this.onTimeout=new u.vpe,this.onInterrupt=new u.vpe,ft&&(this.keepaliveSvc=ft,this.keepaliveEnabled=!0),this.setIdling(!1)}setIdleName(Oe){if(!(this.expiry instanceof oe))throw new Error("Cannot set expiry key name because no LocalStorageExpiry has been provided.");this.expiry.setIdleName(Oe)}getKeepaliveEnabled(){return this.keepaliveEnabled}setKeepaliveEnabled(Oe){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=Oe}getTimeout(){return this.timeoutVal}setTimeout(Oe){if(!1===Oe)this.timeoutVal=0;else{if(!("number"==typeof Oe&&Oe>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=Oe}return this.timeoutVal}getIdle(){return this.idle}setIdle(Oe){if(Oe<=0)throw new Error("'seconds' must be greater zero");return this.idle=Oe}getAutoResume(){return this.autoResume}setAutoResume(Oe){return this.autoResume=Oe}setInterrupts(Oe){this.clearInterrupts();const He=this;for(const ft of Oe){const Yt=new Be(ft,{platformId:this.platformId});Yt.subscribe(_n=>{He.interrupt(_n.force,_n.innerArgs)}),this.interrupts.push(Yt)}return this.interrupts}getInterrupts(){return this.interrupts}clearInterrupts(){for(const Oe of this.interrupts)Oe.pause(),Oe.unsubscribe();this.interrupts.length=0}isRunning(){return this.running}isIdling(){return this.idling}watch(Oe){this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle");const He=this.timeoutVal?this.timeoutVal:0;if(!Oe){const Vt=new Date(this.expiry.now().getTime()+1e3*(this.idle+He));this.expiry.last(Vt)}this.idling&&this.toggleState(),this.running||(this.startKeepalive(),this.toggleInterrupts(!0)),this.running=!0;const ft=()=>{this.zone.run(()=>{const Vt=this.getExpiryDiff(He);Vt>0?(this.safeClearInterval("idleHandle"),this.setIdleIntervalOutsideOfZone(ft,Vt)):this.toggleState()})};this.setIdleIntervalOutsideOfZone(ft,1e3*this.idle)}setIdleIntervalOutsideOfZone(Oe,He){this.zone.runOutsideAngular(()=>{this.idleHandle=setInterval(Oe,He)})}stop(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!1),this.running=!1,this.expiry.last(null)}timeout(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!0),this.running=!1,this.countdown=0,this.onTimeout.emit(null)}interrupt(Oe,He){if(this.running){if(this.timeoutVal&&this.expiry.isExpired())return void this.timeout();this.onInterrupt.emit(He),(!0===Oe||this.autoResume===de.idle||this.autoResume===de.notIdle&&!this.expiry.idling())&&this.watch(Oe)}}setIdling(Oe){this.idling=Oe,this.expiry.idling(Oe)}toggleState(){this.setIdling(!this.idling),this.idling?(this.onIdleStart.emit(null),this.stopKeepalive(),this.timeoutVal>0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.setTimoutIntervalOutsideZone(()=>{this.doCountdownInZone()},1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")}setTimoutIntervalOutsideZone(Oe,He){this.zone.runOutsideAngular(()=>{this.timeoutHandle=setInterval(()=>{Oe()},He)})}toggleInterrupts(Oe){for(const He of this.interrupts)Oe?He.resume():He.pause()}getExpiryDiff(Oe){const He=this.expiry.now();return(this.expiry.last()||He).getTime()-He.getTime()-1e3*Oe}doCountdownInZone(){this.zone.run(()=>{this.doCountdown()})}doCountdown(){if(this.getExpiryDiff(this.timeoutVal)>0)return this.safeClearInterval("timeoutHandle"),void this.interrupt(!0);if(this.idling){if(this.countdown<=0)return void this.timeout();this.onTimeoutWarning.emit(this.countdown),this.countdown--}}safeClearInterval(Oe){const He=this[Oe];null!==He&&typeof He<"u"&&(clearInterval(this[Oe]),this[Oe]=null)}startKeepalive(){!this.keepaliveSvc||!this.keepaliveEnabled||(this.running&&this.keepaliveSvc.ping(),this.keepaliveSvc.start())}stopKeepalive(){!this.keepaliveSvc||!this.keepaliveEnabled||this.keepaliveSvc.stop()}ngOnDestroy(){this.stop(),this.clearInterrupts()}}return le.\u0275fac=function(Oe){return new(Oe||le)(u.LFG(se),u.LFG(u.R0b),u.LFG(ot,8),u.LFG(u.Lbi,8))},le.\u0275prov=u.Yz7({token:le,factory:le.\u0275fac}),le})();class Ke{constructor(Fe,Oe,He=!1){this.source=Fe,this.innerArgs=Oe,this.force=He}}class We extends class Ee{constructor(Fe,Oe){this.attachFn=Fe,this.detachFn=Oe,this.isAttached=!1,this.onInterrupt=new u.vpe}attach(){!0!==Zone.current.get("isAngularZone")?(!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0):Zone.current.parent.run(()=>this.attach())}detach(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1}}{constructor(Fe,Oe,He){super(null,null),this.target=Fe,this.events=Oe,this.opts=He,this.eventSubscription=new _.w0,"number"==typeof this.opts&&(this.opts={throttleDelay:this.opts,passive:!1}),this.opts=this.opts||{passive:!1,throttleDelay:500},null==this.opts.throttleDelay&&(this.opts.throttleDelay=500),this.throttleDelay=this.opts.throttleDelay,this.passive=!!this.opts.passive}initialize(Fe){if(Fe?.platformId&&(0,v.PM)(Fe.platformId))return;const Oe="function"==typeof this.target?this.target():this.target,He=this.passive?{passive:!0}:null,ft=this.events.split(" ").map(Yt=>(0,m.R)(Oe,Yt,He));this.eventSrc=(0,w.T)(...ft),this.eventSrc=this.eventSrc.pipe((0,T.h)(Yt=>!this.filterEvent(Yt))),this.throttleDelay>0&&(this.eventSrc=this.eventSrc.pipe(function ne(le,Fe=R.z,Oe=Z){const He=(0,Se.H)(le,Fe);return function ye(le,Fe=Z){return(0,j.e)((Oe,He)=>{const{leading:ft,trailing:Vt}=Fe;let Yt=!1,_n=null,jt=null,Vn=!1;const Qn=()=>{jt?.unsubscribe(),jt=null,Vt&&(ce(),Vn&&He.complete())},je=()=>{jt=null,Vn&&He.complete()},Ge=Re=>jt=(0,ee.Xf)(le(Re)).subscribe((0,F.x)(He,Qn,je)),ce=()=>{if(Yt){Yt=!1;const Re=_n;_n=null,He.next(Re),!Vn&&Ge(Re)}};Oe.subscribe((0,F.x)(He,Re=>{Yt=!0,_n=Re,(!jt||jt.closed)&&(ft?ce():Ge(Re))},()=>{Vn=!0,(!(Vt&&Yt&&jt)||jt.closed)&&He.complete()}))})}(()=>He,Oe)}(this.throttleDelay)));const Vt=Yt=>this.onInterrupt.emit(new Ke(this,Yt));this.attachFn=()=>this.eventSubscription=this.eventSrc.subscribe(Vt),this.detachFn=()=>this.eventSubscription.unsubscribe()}filterEvent(Fe){return!1}get options(){return{passive:this.passive,throttleDelay:this.throttleDelay}}}class ve extends We{constructor(Fe,Oe){super(()=>document.documentElement,Fe,Oe)}filterEvent(Fe){return!("mousemove"!==Fe.type||!(Fe.originalEvent&&0===Fe.originalEvent.movementX&&0===Fe.originalEvent.movementY||void 0!==Fe.movementX&&!Fe.movementX)&&Fe.movementY)}}class ue extends We{constructor(Fe,Oe){super(()=>window,Fe,Oe)}}class he extends ue{constructor(Fe=500){super("storage",Fe)}filterEvent(Fe){return!(Fe.key&&Fe.key.indexOf("ng2Idle.")>=0&&Fe.key.indexOf(".expiry")>=0)}}let rt=(()=>{class le{static forRoot(){return{ngModule:le,providers:[oe,{provide:se,useExisting:oe},qe]}}}return le.\u0275fac=function(Oe){return new(Oe||le)},le.\u0275mod=u.oAB({type:le}),le.\u0275inj=u.cJS({providers:[Ie]}),le})();!function lt(le){new ve("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",le),new he(le)}();let st=(()=>{class le extends ot{constructor(Oe,He){super(),this.http=Oe,this.zone=He,this.pingInterval=600,this.onPing=new u.vpe,this.onPingResponse=new u.vpe}request(Oe){return"string"==typeof Oe?this.pingRequest=new a.aW("GET",Oe):Oe instanceof a.aW?this.pingRequest=Oe:null===Oe&&(this.pingRequest=null),this.pingRequest}interval(Oe){if(!isNaN(Oe)&&Oe>0)this.pingInterval=Oe;else if(!isNaN(Oe)&&Oe<=0)throw new Error("Interval value must be greater than zero.");return this.pingInterval}ping(){this.onPing.emit(null),this.pingRequest&&this.http.request(this.pingRequest).subscribe(Oe=>{this.onPingResponse.emit(Oe)},Oe=>{this.onPingResponse.emit(Oe)})}start(){this.stop(),this.zone.runOutsideAngular(()=>{this.pingHandle=setInterval(()=>{this.zone.run(()=>{this.ping()})},1e3*this.pingInterval)})}stop(){this.hasPingHandle()&&(clearInterval(this.pingHandle),this.pingHandle=null)}ngOnDestroy(){this.stop()}isRunning(){return this.hasPingHandle()}hasPingHandle(){return null!==this.pingHandle&&typeof this.pingHandle<"u"}}return le.\u0275fac=function(Oe){return new(Oe||le)(u.LFG(a.eN),u.LFG(u.R0b))},le.\u0275prov=u.Yz7({token:le,factory:le.\u0275fac}),le})(),tt=(()=>{class le{static forRoot(){return{ngModule:le,providers:[st,{provide:ot,useExisting:st}]}}}return le.\u0275fac=function(Oe){return new(Oe||le)},le.\u0275mod=u.oAB({type:le}),le.\u0275inj=u.cJS({imports:[rt.forRoot()]}),le})()},9850:function(_e,Q){var D,a;D=function(v){Array.prototype.map||(Array.prototype.map=function(se){"use strict";if(null==this)throw new TypeError;var Be=Object(this),ot=Be.length>>>0;if("function"!=typeof se)throw new TypeError;for(var Le=new Array(ot),Ie=arguments.length>=2?arguments[1]:void 0,oe=0;oe<ot;oe++)oe in Be&&(Le[oe]=se.call(Ie,Be[oe],oe,Be));return Le});var _="A".charCodeAt(0),m="Z".charCodeAt(0);function w(se){return(se=(se=se.toUpperCase()).substr(4)+se.substr(0,4)).split("").map(function(Be){var ot=Be.charCodeAt(0);return ot>=_&&ot<=m?ot-_+10:Be}).join("")}function T(se){for(var ot,Be=se;Be.length>2;)ot=Be.slice(0,9),Be=parseInt(ot,10)%97+Be.slice(ot.length);return parseInt(Be,10)%97}function j(se){return se.replace(ye,"").toUpperCase()}function F(se,Be,ot,Le){this.countryCode=se,this.length=Be,this.structure=ot,this.example=Le}F.prototype._regex=function(){return this._cachedRegex||(this._cachedRegex=function R(se){var Be=se.match(/(.{3})/g).map(function(ot){var Le,Ie=ot.slice(0,1),oe=parseInt(ot.slice(1),10);switch(Ie){case"A":Le="0-9A-Za-z";break;case"B":Le="0-9A-Z";break;case"C":Le="A-Za-z";break;case"F":Le="0-9";break;case"L":Le="a-z";break;case"U":Le="A-Z";break;case"W":Le="0-9a-z"}return"(["+Le+"]{"+oe+"})"});return new RegExp("^"+Be.join("")+"$")}(this.structure))},F.prototype.isValid=function(se){return this.length==se.length&&this.countryCode===se.slice(0,2)&&this._regex().test(se.slice(4))&&1==T(w(se))},F.prototype.toBBAN=function(se,Be){return this._regex().exec(se.slice(4)).slice(1).join(Be)},F.prototype.fromBBAN=function(se){if(!this.isValidBBAN(se))throw new Error("Invalid BBAN");var ot=("0"+(98-T(w(this.countryCode+"00"+se)))).slice(-2);return this.countryCode+ot+se},F.prototype.isValidBBAN=function(se){return this.length-4==se.length&&this._regex().test(se)};var ee={};function Z(se){ee[se.countryCode]=se}Z(new F("AD",24,"F04F04A12","AD1200012030200359100100")),Z(new F("AE",23,"F03F16","AE070331234567890123456")),Z(new F("AL",28,"F08A16","AL47212110090000000235698741")),Z(new F("AT",20,"F05F11","AT611904300234573201")),Z(new F("AZ",28,"U04A20","AZ21NABZ00000000137010001944")),Z(new F("BA",20,"F03F03F08F02","BA391290079401028494")),Z(new F("BE",16,"F03F07F02","BE68539007547034")),Z(new F("BG",22,"U04F04F02A08","BG80BNBG96611020345678")),Z(new F("BH",22,"U04A14","BH67BMAG00001299123456")),Z(new F("BR",29,"F08F05F10U01A01","BR9700360305000010009795493P1")),Z(new F("BY",28,"A04F04A16","BY13NBRB3600900000002Z00AB00")),Z(new F("CH",21,"F05A12","CH9300762011623852957")),Z(new F("CR",22,"F04F14","CR72012300000171549015")),Z(new F("CY",28,"F03F05A16","CY17002001280000001200527600")),Z(new F("CZ",24,"F04F06F10","CZ6508000000192000145399")),Z(new F("DE",22,"F08F10","DE89370400440532013000")),Z(new F("DK",18,"F04F09F01","DK5000400440116243"))