From ca0834962d43a1261bb76c222eb6f36b8b5a4a45 Mon Sep 17 00:00:00 2001 From: ashinzekene Date: Sat, 2 Mar 2024 07:35:30 -0800 Subject: [PATCH] Cleanup publish script and deploy message (#88) * Build docs * Update deploy message and publish script * update publish file * add done --- DEPLOY.md | 11 ++++--- docs/main.28d998312ca8da0c.js | 1 + docs/polyfills.9b1da08871d804f0.js | 1 + docs/runtime.a6644970e2bce4c8.js | 1 + scripts/publish.js | 49 ++++++++++++++++++++++-------- 5 files changed, 45 insertions(+), 18 deletions(-) create mode 100644 docs/main.28d998312ca8da0c.js create mode 100644 docs/polyfills.9b1da08871d804f0.js create mode 100644 docs/runtime.a6644970e2bce4c8.js diff --git a/DEPLOY.md b/DEPLOY.md index 4631e4c..2b4ff9a 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -1,8 +1,9 @@ ## Deployment steps 1. Get latest master -2. Run `npm run p -- [major|minor|patch] {message}`. -3. Checkout to a new branch `release/{new-version-name}` eg `release/4.0.1` -4. Create a tag `git tag -a v {version-no} -m "{message}"` eg `git tag -a v4.0.1 -m "Added peer dep for ng 16" ` -5. Commit with message `v{version-no}` eg `v4.0.1` -6. Push and create PR \ No newline at end of file +2. Checkout to a new branch `release/{new-version-name}` eg `release/4.0.1` +3. Update `CHANGELOG.md` in root with all the latest changes +4. Run `npm run p -- [major|minor|patch] {message}`. +5. Create a tag `git tag -a v {version-no} -m "{message}"` eg `git tag -a v4.0.1 -m "Added peer dep for ng 16" ` +6. Commit with message `v{version-no}` e.g. `v4.0.1` +7. Push and create PR \ No newline at end of file diff --git a/docs/main.28d998312ca8da0c.js b/docs/main.28d998312ca8da0c.js new file mode 100644 index 0000000..4800b7a --- /dev/null +++ b/docs/main.28d998312ca8da0c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangular4_paystack_lib=self.webpackChunkangular4_paystack_lib||[]).push([[590],{8:()=>{function Rr(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(u){return void n(u)}a.done?t(c):Promise.resolve(c).then(r,o)}function Ht(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){Rr(i,r,o,s,a,"next",c)}function a(c){Rr(i,r,o,s,a,"throw",c)}s(void 0)})}}let ie=null,Wo=1;const en=Symbol("SIGNAL");function oe(e){const t=ie;return ie=e,t}function sd(e){if((!kr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Wo)){if(!e.producerMustRecompute(e)&&!aa(e))return e.dirty=!1,void(e.lastCleanEpoch=Wo);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Wo}}function aa(e){bn(e);for(let t=0;t0}function bn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let gd=null;function dt(e){return"function"==typeof e}function Dd(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ua=Dd(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function la(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class et{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(dt(r))try{r()}catch(i){t=i instanceof ua?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{wd(i)}catch(s){t=t??[],s instanceof ua?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ua(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wd(t);else{if(t instanceof et){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&la(n,t)}remove(t){const{_finalizers:n}=this;n&&la(n,t),t instanceof et&&t._removeParent(this)}}et.EMPTY=(()=>{const e=new et;return e.closed=!0,e})();const vd=et.EMPTY;function Cd(e){return e instanceof et||e&&"closed"in e&&dt(e.remove)&&dt(e.add)&&dt(e.unsubscribe)}function wd(e){dt(e)?e():e.unsubscribe()}const tn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qo={setTimeout(e,t,...n){const{delegate:r}=Qo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Qo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ed(){}const lC=da("C",void 0,void 0);function da(e,t,n){return{kind:e,value:t,error:n}}let nn=null;function Yo(e){if(tn.useDeprecatedSynchronousErrorHandling){const t=!nn;if(t&&(nn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=nn;if(nn=null,n)throw r}}else e()}class fa extends et{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cd(t)&&t.add(this)):this.destination=yC}static create(t,n,r){return new pa(t,n,r)}next(t){this.isStopped?ga(function fC(e){return da("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ga(function dC(e){return da("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ga(lC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const pC=Function.prototype.bind;function ha(e,t){return pC.call(e,t)}class gC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ko(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ko(r)}else Ko(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ko(n)}}}class pa extends fa{constructor(t,n,r){let o;if(super(),dt(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&tn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ha(t.next,i),error:t.error&&ha(t.error,i),complete:t.complete&&ha(t.complete,i)}):o=t}this.destination=new gC(o)}}function Ko(e){tn.useDeprecatedSynchronousErrorHandling?function hC(e){tn.useDeprecatedSynchronousErrorHandling&&nn&&(nn.errorThrown=!0,nn.error=e)}(e):function uC(e){Qo.setTimeout(()=>{const{onUnhandledError:t}=tn;if(!t)throw e;t(e)})}(e)}function ga(e,t){const{onStoppedNotification:n}=tn;n&&Qo.setTimeout(()=>n(e,t))}const yC={closed:!0,next:Ed,error:function mC(e){throw e},complete:Ed},DC="function"==typeof Symbol&&Symbol.observable||"@@observable";function vC(e){return e}let _d=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function wC(e){return e&&e instanceof fa||function CC(e){return e&&dt(e.next)&&dt(e.error)&&dt(e.complete)}(e)&&Cd(e)}(n)?n:new pa(n,r,o);return Yo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Md(r))((o,i)=>{const s=new pa({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[DC](){return this}pipe(...n){return function Id(e){return 0===e.length?vC:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Md(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Md(e){var t;return null!==(t=e??tn.Promise)&&void 0!==t?t:Promise}const EC=Dd(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ma=(()=>{class e extends _d{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new bd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new EC}next(n){Yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Yo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?vd:(this.currentObservers=null,i.push(n),new et(()=>{this.currentObservers=null,la(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _d;return n.source=this,n}}return e.create=(t,n)=>new bd(t,n),e})();class bd extends ma{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:vd}}class IC extends ma{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}class SC extends fa{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function TC(e,t){return function MC(e){return t=>{if(function _C(e){return dt(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}((n,r)=>{let o=0;n.subscribe(function bC(e,t,n,r,o){return new SC(e,t,n,r,o)}(r,i=>{r.next(e.call(t,i,o++))}))})}class w extends Error{constructor(t,n){super(function Sn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ya(e){return t=>{setTimeout(e,void 0,t)}}const pe=class NC extends ma{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=ya(i),o&&(o=ya(o)),s&&(s=ya(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof et&&t.add(a),a}};var L=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(L||{});function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Da(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Jo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Jo||{}),tt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(tt||{});function bt(e){return{toString:e}.toString()}const G=globalThis,ft={},B=[];function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}const Fr=q({\u0275cmp:q}),va=q({\u0275dir:q}),Ca=q({\u0275pipe:q}),Ad=q({\u0275mod:q}),St=q({\u0275fac:q}),Lr=q({__NG_ELEMENT_ID__:q}),xd=q({__NG_ENV_ID__:q});var $t=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}($t||{});function Od(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function wa(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Od(h,u,0)||2&r&&u!==f){if(nt(r))return!1;s=!0}}}}else{if(!s&&!nt(r)&&!nt(c))return!1;if(s&&nt(c))continue;s=!1,r=c|1&r}}return nt(r)||s}function nt(e){return 0==(1&e)}function LC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!nt(s)&&(t+=jd(i,o),o=""),r=s,i=i||!nt(r);n++}return""!==o&&(t+=jd(i,o)),t}function ei(e){return bt(()=>{const t=Bd(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Jo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,styles:e.styles||B,_:null,schemas:e.schemas||null,tView:null,id:""};$d(n);const r=e.dependencies;return n.directiveDefs=ti(r,!1),n.pipeDefs=ti(r,!0),n.id=function ZC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function GC(e){return k(e)||me(e)}function qC(e){return null!==e}function Tn(e){return bt(()=>({type:e.type,bootstrap:e.bootstrap||B,declarations:e.declarations||B,imports:e.imports||B,exports:e.exports||B,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Hd(e,t){if(null==e)return ft;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=$t.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==$t.None?[r,a]:r,t[i]=s):n[i]=r}return n}function ze(e){return bt(()=>{const t=Bd(e);return $d(t),t})}function k(e){return e[Fr]||null}function me(e){return e[va]||null}function we(e){return e[Ca]||null}function Bd(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ft,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||B,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Hd(e.inputs,t),outputs:Hd(e.outputs),debugInfo:null}}function $d(e){e.features?.forEach(t=>t(e))}function ti(e,t){if(!e)return null;const n=t?we:GC;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(qC)}const ne=0,v=1,E=2,se=3,rt=4,_e=5,ot=6,Nn=7,Y=8,Ee=9,Tt=10,T=11,jr=12,Ud=13,An=14,re=15,Hr=16,xn=17,Nt=18,Br=19,zd=20,Ut=21,ni=22,on=23,A=25,Ea=1,ht=7,On=9,ae=10;var Ia=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ia||{});function Me(e){return Array.isArray(e)&&"object"==typeof e[Ea]}function be(e){return Array.isArray(e)&&!0===e[Ea]}function _a(e){return 0!=(4&e.flags)}function sn(e){return e.componentOffset>-1}function oi(e){return 1==(1&e.flags)}function it(e){return!!e.template}function Ma(e){return 0!=(512&e[E])}let Yd=!1;function Z(e){for(;Array.isArray(e);)e=e[ne];return e}function Ur(e,t){return Z(t[e])}function Ne(e,t){return Z(t[e.index])}function zr(e,t){return e.data[t]}function Ge(e,t){const n=t[e];return Me(n)?n:n[ne]}function Na(e){return 128==(128&e[E])}function pt(e,t){return null==t?null:e[t]}function Kd(e){e[xn]=0}function nw(e){1024&e[E]||(e[E]|=1024,Na(e)&&Gr(e))}function Aa(e){return!!(9216&e[E]||e[on]?.dirty)}function xa(e){Aa(e)?Gr(e):64&e[E]&&(function XC(){return Yd}()?(e[E]|=1024,Gr(e)):e[Tt].changeDetectionScheduler?.notify())}function Gr(e){e[Tt].changeDetectionScheduler?.notify();let t=an(e);for(;null!==t&&!(8192&t[E])&&(t[E]|=8192,Na(t));)t=an(t)}function an(e){const t=e[se];return be(t)?t[se]:t}const b={lFrame:cf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ef(){return b.bindingsEnabled}function Pn(){return null!==b.skipHydrationRootTNode}function g(){return b.lFrame.lView}function F(){return b.lFrame.tView}function si(e){return b.lFrame.contextLView=e,e[Y]}function ai(e){return b.lFrame.contextLView=null,e}function W(){let e=tf();for(;null!==e&&64===e.type;)e=e.parent;return e}function tf(){return b.lFrame.currentTNode}function gt(e,t){const n=b.lFrame;n.currentTNode=e,n.isParent=t}function Ra(){return b.lFrame.isParent}function Pa(){b.lFrame.isParent=!1}function st(){return b.lFrame.bindingIndex++}function hw(e,t){const n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,ka(t)}function ka(e){b.lFrame.currentDirectiveIndex=e}function ci(e){b.lFrame.currentQueryIndex=e}function gw(e){const t=e[v];return 2===t.type?t.declTNode:1===t.type?e[_e]:null}function sf(e,t,n){if(n&L.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&L.Host||(o=gw(i),null===o||(i=i[An],10&o.type))););if(null===o)return!1;t=o,e=i}const r=b.lFrame=af();return r.currentTNode=t,r.lView=e,!0}function Va(e){const t=af(),n=e[v];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function af(){const e=b.lFrame,t=null===e?null:e.child;return null===t?cf(e):t}function cf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function uf(){const e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lf=uf;function ja(){const e=uf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Se(){return b.lFrame.selectedIndex}function cn(e){b.lFrame.selectedIndex=e}let ff=!0;function ui(){return ff}function zt(e){ff=e}function ww(){return kn(W(),g())}function kn(e,t){return new Fn(Ne(e,t))}let Ua,Fn=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=ww}return e})();function Ln(e,t){e.forEach(n=>Array.isArray(n)?Ln(n,t):t(n))}function pf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function li(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function qe(e,t,n){let r=Vn(e,t);return r>=0?e[1|r]=n:(r=~r,function gf(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ba(e,t){const n=Vn(e,t);if(n>=0)return e[1|n]}function Vn(e,t){return function mf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<Tw}),Tw="ng",wf=new S(""),jn=new S("",{providedIn:"platform",factory:()=>"unknown"}),Ef=new S("",{providedIn:"root",factory:()=>function Gt(){if(void 0!==Ua)return Ua;if(typeof document<"u")return document;throw new w(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),xw=q({__forward_ref__:q});function Ga(e){return e.__forward_ref__=Ga,e.toString=function(){return ge(this())},e}function M(e){return function Di(e){return"function"==typeof e&&e.hasOwnProperty(xw)&&e.__forward_ref__===Ga}(e)?e():e}function Ya(e){return e&&!!e.\u0275providers}function x(e){return"string"==typeof e?e:null==e?"":String(e)}function Ka(e,t){throw new w(-201,!1)}let Xa;function Le(e){const t=Xa;return Xa=e,t}function Mf(e,t,n){const r=pi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&L.Optional?null:void 0!==t?t:void Ka()}const Zr={},Ja="__NG_DI_FLAG__",vi="ngTempTokenPath",Lw=/\n/gm,bf="__source";let Hn;function qt(e){const t=Hn;return Hn=e,t}function Hw(e,t=L.Default){if(void 0===Hn)throw new w(-203,!1);return null===Hn?Mf(e,void 0,t):Hn.get(e,t&L.Optional?null:void 0,t)}function V(e,t=L.Default){return(function _f(){return Xa}()||Hw)(M(e),t)}function j(e,t=L.Default){return V(e,Ci(t))}function Ci(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ec(e){const t=[];for(let n=0;nnull;function cc(e,t,n=!1){return Tf(e,t,n)}const Gn="__parameters__";function Wn(e,t,n){return bt(()=>{const r=function fc(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,u,l){const d=c.hasOwnProperty(Gn)?c[Gn]:Object.defineProperty(c,Gn,{value:[]})[Gn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const hc=Qr(Wn("Optional"),8),pc=Qr(Wn("SkipSelf"),4);function ln(e,t){return e.hasOwnProperty(St)?e[St]:null}const Zn=new S(""),Pf=new S("",-1),gc=new S("");class bi{get(t,n=Zr){if(n===Zr){const r=new Error(`NullInjectorError: No provider for ${ge(t)}!`);throw r.name="NullInjectorError",r}return n}}function tE(...e){return{\u0275providers:yc(0,e),\u0275fromNgModule:!0}}function yc(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Ln(t,s=>{const a=s;Si(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&kf(o,i),n}function kf(e,t){for(let n=0;n{t(i,r)})}}function Si(e,t,n,r){if(!(e=M(e)))return!1;let o=null,i=gi(e);const s=!i&&k(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=gi(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of c)Si(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{Ln(i.imports,l=>{Si(l,t,n,r)&&(u||=[],u.push(l))})}finally{}void 0!==u&&kf(u,t)}if(!a){const u=ln(o)||(()=>new o);t({provide:o,useFactory:u,deps:B},o),t({provide:gc,useValue:o,multi:!0},o),t({provide:Zn,useValue:()=>V(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const u=e;Dc(c,l=>{t(l,u)})}}}return o!==e&&void 0!==e.providers}function Dc(e,t){for(let n of e)Ya(n)&&(n=n.\u0275providers),Array.isArray(n)?Dc(n,t):t(n)}const nE=q({provide:String,useValue:q});function vc(e){return null!==e&&"object"==typeof e&&nE in e}function dn(e){return"function"==typeof e}const Cc=new S(""),Ti={},oE={};let wc;function Ni(){return void 0===wc&&(wc=new bi),wc}class mt{}class Qn extends mt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ic(t,s=>this.processProvider(s)),this.records.set(Pf,Yn(void 0,this)),o.has("environment")&&this.records.set(mt,Yn(void 0,this));const i=this.records.get(Cc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(gc,B,L.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=qt(this),r=Le(void 0);try{return t()}finally{qt(n),Le(r)}}get(t,n=Zr,r=L.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(xd))return t[xd](this);r=Ci(r);const i=qt(this),s=Le(void 0);try{if(!(r&L.SkipSelf)){let c=this.records.get(t);if(void 0===c){const u=function uE(e){return"function"==typeof e||"object"==typeof e&&e instanceof S}(t)&&pi(t);c=u&&this.injectableDefInScope(u)?Yn(Ec(t),Ti):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&L.Self?Ni():this.parent).get(t,n=r&L.Optional&&n===Zr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[vi]=a[vi]||[]).unshift(ge(t)),i)throw a;return function $w(e,t,n,r){const o=e[vi];throw t[bf]&&o.unshift(t[bf]),e.message=function Uw(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ge(t);if(Array.isArray(t))o=t.map(ge).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ge(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Lw,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[vi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Le(s),qt(i)}}resolveInjectorInitializers(){const t=qt(this),n=Le(void 0);try{const o=this.get(Zn,B,L.Self);for(const i of o)i()}finally{qt(t),Le(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ge(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){let n=dn(t=M(t))?t:M(t&&t.provide);const r=function sE(e){return vc(e)?Yn(void 0,e.useValue):Yn(function Vf(e,t,n){let r;if(dn(e)){const o=M(e);return ln(o)||Ec(o)}if(vc(e))r=()=>M(e.useValue);else if(function Lf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ec(e.deps||[]));else if(function Ff(e){return!(!e||!e.useExisting)}(e))r=()=>V(M(e.useExisting));else{const o=M(e&&(e.useClass||e.provide));if(!function aE(e){return!!e.deps}(e))return ln(o)||Ec(o);r=()=>new o(...ec(e.deps))}return r}(e),Ti)}(t);if(!dn(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Yn(void 0,Ti,!0),o.factory=()=>ec(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ti&&(n.value=oE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function cE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=M(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ec(e){const t=pi(e),n=null!==t?t.factory:ln(e);if(null!==n)return n;if(e instanceof S)throw new w(204,!1);if(e instanceof Function)return function iE(e){if(e.length>0)throw new w(204,!1);const n=function bw(e){return e&&(e[mi]||e[Cf])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new w(204,!1)}function Yn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ic(e,t){for(const n of e)Array.isArray(n)?Ic(n,t):n&&Ya(n)?Ic(n.\u0275providers,t):t(n)}class vE{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hf(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Bf(e){return e.type.prototype.ngOnChanges&&(e.setInput=wE),CE}function CE(){const e=Uf(this),t=e?.current;if(t){const n=e.previous;if(n===ft)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function wE(e,t,n,r,o){const i=this.declaredInputs[r],s=Uf(e)||function EE(e,t){return e[$f]=t}(e,{previous:ft,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new vE(u&&u.currentValue,n,c===ft),Hf(e,t,o,n)}const $f="__ngSimpleChanges__";function Uf(e){return e[$f]||null}const yt=function(e,t,n){};function Ri(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[xn]+=65536),(a>14>16&&(3&e[E])===t&&(e[E]+=16384,Gf(a,i)):Gf(a,i)}const Xn=-1;class eo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Tc(e){return e!==Xn}function to(e){return 32767&e}function no(e,t){let n=function AE(e){return e>>16}(e),r=t;for(;n>0;)r=r[An],n--;return r}let Nc=!0;function Fi(e){const t=Nc;return Nc=e,t}const qf=255,Wf=5;let xE=0;const Dt={};function Li(e,t){const n=Zf(e,t);if(-1!==n)return n;const r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Ac(r.data,e),Ac(t,null),Ac(r.blueprint,null));const o=Vi(e,t),i=e.injectorIndex;if(Tc(o)){const s=to(o),a=no(o,t),c=a[v].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ac(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=th(o),null===r)return Xn;if(n++,o=o[An],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Xn}function xc(e,t,n){!function OE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lr)&&(r=n[Lr]),null==r&&(r=n[Lr]=xE++);const o=r&qf;t.data[e+(o>>Wf)]|=1<=0?t&qf:FE:t}(n);if("function"==typeof i){if(!sf(t,e,r))return r&L.Host?Qf(o,0,r):Yf(t,n,r,o);try{let s;if(s=i(r),null!=s||r&L.Optional)return s;Ka()}finally{lf()}}else if("number"==typeof i){let s=null,a=Zf(e,t),c=Xn,u=r&L.Host?t[re][_e]:null;for((-1===a||r&L.SkipSelf)&&(c=-1===a?Vi(e,t):t[a+8],c!==Xn&&eh(r,!1)?(s=t[v],a=to(c),t=no(c,t)):a=-1);-1!==a;){const l=t[v];if(Jf(i,a,l.data)){const d=PE(a,t,n,s,r,u);if(d!==Dt)return d}c=t[a+8],c!==Xn&&eh(r,t[v].data[a+8]===u)&&Jf(i,a,t)?(s=l,a=to(c),t=no(c,t)):a=-1}}return o}function PE(e,t,n,r,o,i){const s=t[v],a=s.data[e+8],l=function ji(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h=c&&p.type===n)return h}if(o){const h=s[c];if(h&&it(h)&&h.type===n)return c}return null}(a,s,n,null==r?sn(a)&&Nc:r!=s&&0!=(3&a.type),o&L.Host&&i===a);return null!==l?fn(t,s,l,a):Dt}function fn(e,t,n,r){let o=e[n];const i=t.data;if(function bE(e){return e instanceof eo}(o)){const s=o;s.resolving&&function Pw(e,t){throw t&&t.join(" > "),new w(-200,e)}(function $(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():x(e)}(i[n]));const a=Fi(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Le(s.injectImpl):null;sf(e,r,L.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _E(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Bf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==u&&Le(u),Fi(a),s.resolving=!1,lf()}}return o}function Jf(e,t,n){return!!(n[t+(e>>Wf)]&1<{class e{static#e=this.THROW_IF_NOT_FOUND=Zr;static#t=this.NULL=new bi;static create(n,r){if(Array.isArray(n))return sh({name:""},r,n,"");{const o=n.name??"";return sh({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=H({token:e,providedIn:"any",factory:()=>V(Pf)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function kc(e){return e.ngOriginalError}class Ot{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&kc(t);for(;n&&kc(n);)n=kc(n);return n||null}}const uh=new S("",{providedIn:"root",factory:()=>j(Ot).handleError.bind(void 0)}),dh=new S("",{providedIn:"root",factory:()=>!1});class gh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}const $c=new Map;let _I=0;const zc="__ngContext__";function Te(e,t){Me(t)?(e[zc]=t[Br],function bI(e){$c.set(e[Br],e)}(t)):e[zc]=t}var Qt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qt||{});let Zc;function Qc(e,t){return Zc(e,t)}function or(e,t,n,r,o){if(null!=r){let i,s=!1;be(r)?i=r:Me(r)&&(s=!0,r=r[ne]);const a=Z(r);0===e&&null!==n?null==o?$h(t,n,a):hn(t,n,a,o||null,!0):1===e&&null!==n?hn(t,n,a,o||null,!0):2===e?function Xi(e,t,n){const r=Yi(e,t);r&&function ZI(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function KI(e,t,n,r,o){const i=n[ht];i!==Z(n)&&or(t,e,r,i,o);for(let a=ae;a0&&(e[n-1][rt]=r[rt]);const i=li(e,ae+t);!function BI(e,t){jh(e,t),t[ne]=null,t[_e]=null}(r[v],r);const s=i[Nt];null!==s&&s.detachView(i[v]),r[se]=null,r[rt]=null,r[E]&=-129}return r}function Qi(e,t){if(!(256&t[E])){const n=t[T];n.destroyNode&&Ji(e,t,n,3,null,null),function UI(e){let t=e[jr];if(!t)return Kc(e[v],e);for(;t;){let n=null;if(Me(t))n=t[jr];else{const r=t[ae];r&&(n=r)}if(!n){for(;t&&!t[rt]&&t!==e;)Me(t)&&Kc(t[v],t),t=t[se];null===t&&(t=e),Me(t)&&Kc(t[v],t),n=t&&t[rt]}t=n}}(t)}}function Kc(e,t){if(!(256&t[E])){t[E]&=-129,t[E]|=256,t[on]&&function fd(e){if(bn(e),kr(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Nn]=null);const o=t[Ut];if(null!==o){t[Ut]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===tt.None||i===tt.Emulated)return null}return Ne(r,n)}}(e,t.parent,n)}function hn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $h(e,t,n){e.appendChild(t,n)}function Uh(e,t,n,r,o){null!==r?hn(e,t,n,r,o):$h(e,t,n)}function Yi(e,t){return e.parentNode(t)}function zh(e,t,n){return qh(e,t,n)}let Jc,qh=function Gh(e,t,n){return 40&e.type?Ne(e,n):null};function Ki(e,t,n,r){const o=Xc(e,r,t),i=t[T],a=zh(r.parent||t[_e],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;cA&&Jh(e,t,A,!1),yt(s?2:0,o),n(r,o)}finally{cn(i),yt(s?3:1,o)}}function ru(e,t,n){if(_a(t)){const r=oe(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function op(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,c=$t.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(null!==o){if(!o.hasOwnProperty(i))continue;u=o[i]}0===e?ip(r,n,u,a,c):ip(r,n,u,a)}return r}function ip(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function au(e,t,n,r){if(ef()){const o=null===r?null:{"":-1},i=function y_(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,uo(e,n,o.hostVars,O),o)}function I_(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][rt]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Gr(e.lView)},consumerOnSignalRead(){this.lView[on]=this}};function mp(e){return Dp(e[jr])}function yp(e){return Dp(e[rt])}function Dp(e){for(;null!==e&&!be(e);)e=e[rt];return e}function rs(e,t=!0,n=0){const r=e[Tt],o=r.rendererFactory;o.begin?.();try{!function P_(e,t){pu(e,t);let n=0;for(;Aa(e);){if(100===n)throw new w(103,!1);n++,pu(e,1)}}(e,n)}catch(s){throw t&&ns(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function k_(e,t,n,r){const o=t[E];if(256==(256&o))return;t[Tt].inlineEffectRunner?.flush(),Va(t);let s=null,a=null;(function F_(e){return 2!==e.type})(e)&&(a=function T_(e){return e[on]??function N_(e){const t=gp.pop()??Object.create(x_);return t.lView=e,t}(e)}(t),s=function ld(e){return e&&(e.nextProducerIndex=0),oe(e)}(a));try{Kd(t),function rf(e){return b.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&tp(e,t,n,2,r);const c=3==(3&o);if(c){const d=e.preOrderCheckHooks;null!==d&&Pi(t,d,null)}else{const d=e.preOrderHooks;null!==d&&ki(t,d,0,null),bc(t,0)}if(function L_(e){for(let t=mp(e);null!==t;t=yp(t)){if(!(t[E]&Ia.HasTransplantedViews))continue;const n=t[On];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function A_(e){e.lView[on]!==e&&(e.lView=null,gp.push(e))}(a)),ja()}}function Cp(e,t){for(let n=mp(e);null!==n;n=yp(n))for(let r=ae;r-1&&(ao(t,r),li(n,r))}this._attachedToViewContainer=!1}Qi(this._lView[v],this._lView)}onDestroy(t){!function ii(e,t){if(256==(256&e[E]))throw new w(911,!1);null===e[Ut]&&(e[Ut]=[]),e[Ut].push(t)}(this._lView,t)}markForCheck(){po(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){xa(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,rs(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,jh(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t,xa(this._lView)}}let kt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=B_}return e})();const j_=kt,H_=class extends j_{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function lo(e,t,n,r){const o=t.tView,a=es(e,o,n,4096&e[E]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Hr]=e[t.index];const u=e[Nt];return null!==u&&(a[Nt]=u.createEmbeddedView(o)),fu(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new go(o)}};function B_(){return function os(e,t){return 4&e.type?new H_(t,e,kn(e,t)):null}(W(),g())}class Np{}class uM{}class Ap{}class dM{resolveComponentFactory(t){throw function lM(e){const t=Error(`No component factory found for ${ge(e)}.`);return t.ngComponent=e,t}(t)}}let us=(()=>{class e{static#e=this.NULL=new dM}return e})();class Op{}let Rp=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function fM(){const e=g(),n=Ge(W().index,e);return(Me(n)?n:e)[T]}()}return e})(),hM=(()=>{class e{static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();const Cu={};function wu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Bp{constructor(){}supports(t){return t instanceof Map||wu(t)}create(){return new EM}}class EM{constructor(){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}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||wu(t)))throw new w(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new IM(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class IM{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Up(){return new ds([new Bp])}let ds=(()=>{class e{static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:Up});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Up()),deps:[[e,new pc,new hc]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new w(901,!1)}}return e})();function Gp(...e){}class te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function FM(){const e="function"==typeof G.requestAnimationFrame;let t=G[e?"requestAnimationFrame":"setTimeout"],n=G[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function jM(e){const t=()=>{!function VM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(G,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,_u(e),e.isCheckStableRunning=!0,Iu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),_u(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function HM(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return qp(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Wp(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return qp(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Wp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,_u(e),Iu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!te.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(te.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,LM,Gp,Gp);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const LM={};function Iu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function _u(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function qp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wp(e){e._nesting--,Iu(e)}class Zp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let Co=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})();function ps(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&Kh(e,n,i.join(" "))}}(f,R,p,r),void 0!==n&&function eb(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=nb}return e})();function nb(){return function og(e,t){let n;const r=t[e.index];return be(r)?n=r:(n=cp(r,t,null,e),t[e.index]=n,ts(t,n)),ig(n,t,e,r),new ng(n,e,t)}(W(),g())}const rb=wt,ng=class extends rb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return kn(this._hostTNode,this._hostLView)}get injector(){return new De(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vi(this._hostTNode,this._hostLView);if(Tc(t)){const n=no(t,this._hostLView),r=to(t);return new De(n[v].data[r+8],n)}return new De(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ae}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,sr(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Jr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const c=s?t:new Io(k(t)),u=r||this.parentInjector;if(!i&&null==c.ngModule){const m=(s?u:this.parentInjector).get(mt,null);m&&(i=m)}k(c.componentType??{});const h=c.create(u,o,null,i);return this.insertImpl(h.hostView,a,sr(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function tw(e){return be(e[se])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[se],u=new ng(c,c[_e],c[se]);u.detach(u.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return fo(s,o,i,r),t.attachToViewContainerRef(),pf(Tu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=rg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ao(this._lContainer,n);r&&(li(Tu(this._lContainer),n),Qi(r[v],r))}detach(t){const n=this._adjustIndex(t,-1),r=ao(this._lContainer,n);return r&&null!=li(Tu(this._lContainer),n)?new go(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function rg(e){return e[8]}function Tu(e){return e[8]||(e[8]=[])}let ig=function ag(e,t,n,r){if(e[ht])return;let o;o=8&n.type?Z(r):function ob(e,t){const n=e[T],r=n.createComment(""),o=Ne(t,e);return hn(n,Yi(n,o),r,function QI(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[ht]=o},Nu=()=>!1;class yn{}class Pb{}class Vu extends yn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new eg(this);const o=function Ie(e,t){const n=e[Ad]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function We(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=ah(t,n,[{provide:yn,useValue:this},{provide:us,useValue:this.componentFactoryResolver},...r],ge(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ju extends Pb{constructor(t){super(),this.moduleType=t}create(t){return new Vu(this.moduleType,t,[])}}let Ds=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new IC(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ce(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ur(e,t,n,r,o,i,s,a){const c=g(),u=F(),l=e+A,d=u.firstCreatePass?function jb(e,t,n,r,o,i,s,a,c){const u=t.consts,l=ir(t,e,4,s||null,pt(u,a));au(t,n,l,pt(u,c)),Ri(t,l);const d=l.tView=su(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,u,c,t,n,r,o,i,s):u.data[l];gt(d,!1);const f=Og(u,c,d,e);ui()&&Ki(u,c,f,d),Te(f,c);const h=cp(f,c,f,d);return c[l]=h,ts(c,h),function sg(e,t,n){return Nu(e,t,n)}(h,d,c),oi(d)&&ou(u,c,d),null!=s&&iu(c,d,a),ur}let Og=function Rg(e,t,n,r){return zt(!0),t[T].createComment("")};function Ms(e,t){return e<<17|t<<2}function Xt(e){return e>>17&32767}function Qu(e){return 2|e}function Cn(e){return(131068&e)>>2}function Yu(e,t){return-131069&e|t<<2}function Ku(e){return 1|e}function dm(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Xt(o):Cn(o),a=!1;for(;0!==s&&(!1===a||i);){const u=e[s+1];IS(e[s],t)&&(a=!0,e[s+1]=r?Ku(u):Qu(u)),s=r?Xt(u):Cn(u)}a&&(e[n+1]=r?Qu(o):Ku(o))}function IS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vn(e,t)>=0}const ve={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fm(e){return e.substring(ve.key,ve.keyEnd)}function hm(e,t){const n=ve.textEnd;return n===t?-1:(t=ve.keyEnd=function SS(e,t,n){for(;t32;)t++;return t}(e,ve.key=t,n),Mr(e,t,n))}function Mr(e,t,n){for(;t0)&&(u=!0)):l=n,o)if(0!==c){const f=Xt(e[a+1]);e[r+1]=Ms(f,a),0!==f&&(e[f+1]=Yu(e[f+1],r)),e[a+1]=function vS(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ms(a,0),0!==a&&(e[a+1]=Yu(e[a+1],r)),a=r;else e[r+1]=Ms(c,0),0===a?a=r:e[c+1]=Yu(e[c+1],r),c=r;u&&(e[r+1]=Qu(e[r+1])),dm(e,l,r,!0),dm(e,l,r,!1),function ES(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Vn(i,t)>=0&&(n[r+1]=Ku(n[r+1]))}(t,l,e,r,i),s=Ms(a,c),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(o,null,i,r);const s=g();if(n!==O&&ce(s,i,n)){const a=o.data[Se()];if(Mm(a,r)&&!Cm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(n=Da(c,n||"")),Xu(o,a,s,n,r)}else!function LS(e,t,n,r,o,i,s,a){o===O&&(o=B);let c=0,u=0,l=0=0;n=hm(t,n))qe(e,fm(t),!0)}function Cm(e,t){return t>=e.expandoStartIndex}function Ju(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=null===l;let f=n[o+1];f===O&&(f=d?B:void 0);let h=d?Ba(f,r):l===r?f:void 0;if(u&&!Ss(h)&&(h=Ba(c,r)),Ss(h)&&(a=h,s))return a;const p=e[o+1];o=s?Xt(p):Cn(p)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=Ba(c,r))}return a}function Ss(e){return void 0!==e}function Mm(e,t){return 0!=(e.flags&(t?8:16))}function He(e,t,n,r){const o=g(),i=F(),s=A+e,a=o[T],c=i.firstCreatePass?function aT(e,t,n,r,o,i){const s=t.consts,c=ir(t,e,2,r,pt(s,o));return au(t,n,c,pt(s,i)),null!==c.attrs&&ps(c,c.attrs,!1),null!==c.mergedAttrs&&ps(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,o,t,n,r):i.data[s],u=Nm(i,o,c,a,t,e);o[s]=u;const l=oi(c);return gt(c,!0),Xh(a,u,c),32!=(32&c.flags)&&ui()&&Ki(i,o,u,c),0===function rw(){return b.lFrame.elementDepthCount}()&&Te(u,o),function ow(){b.lFrame.elementDepthCount++}(),l&&(ou(i,o,c),ru(i,c,o)),null!==r&&iu(o,c),He}function xe(){let e=W();Ra()?Pa():(e=e.parent,gt(e,!1));const t=e;(function sw(e){return b.skipHydrationRootTNode===e})(t)&&function lw(){b.skipHydrationRootTNode=null}(),function iw(){b.lFrame.elementDepthCount--}();const n=F();return n.firstCreatePass&&(Ri(n,e),_a(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function TE(e){return 0!=(8&e.flags)}(t)&&Xu(n,t,g(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function NE(e){return 0!=(16&e.flags)}(t)&&Xu(n,t,g(),t.stylesWithoutHost,!1),xe}function ol(e,t,n,r){return He(e,t,n,r),xe(),ol}let Nm=(e,t,n,r,o,i)=>(zt(!0),Zi(r,o,function df(){return b.lFrame.currentNamespace}()));const Sr="en-US";let Lm=Sr;function Ft(e,t,n,r){const o=g(),i=F(),s=W();return function ul(e,t,n,r,o,i,s){const a=oi(r),u=e.firstCreatePass&&function dp(e){return e.cleanup||(e.cleanup=[])}(e),l=t[Y],d=function lp(e){return e[Nn]||(e[Nn]=[])}(t);let f=!0;if(3&r.type||s){const m=Ne(r,t),D=s?s(m):m,C=d.length,y=s?N=>s(Z(N[r.index])):r.index;let I=null;if(!s&&a&&(I=function l0(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=i,I.__ngLastListenerFn__=i,f=!1;else{i=ly(r,t,l,i,!1);const N=n.listen(D,o,i);d.push(i,N),u&&u.push(o,y,C,C+1)}}else i=ly(r,t,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const m=p.length;if(m)for(let D=0;D-1?Ge(e.index,t):t);let c=uy(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)c=uy(t,n,u,s)&&c,u=u.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function ko(e=1){return function mw(e){return(b.lFrame.contextLView=function Xd(e,t){for(;e>0;)t=t[An],e--;return t}(e,b.lFrame.contextLView))[Y]}(e)}function d0(e,t){let n=null;const r=function VC(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(zt(!0),function Wi(e,t){return e.createText(t)}(t[T],r));function dl(e){return Os("",e,""),dl}function Os(e,t,n){const r=g(),o=function yr(e,t,n,r){return ce(e,st(),n)?t+x(n)+r:O}(r,e,t,n);return o!==O&&function Pt(e,t,n){const r=Ur(t,e);!function Vh(e,t,n){e.setValue(t,n)}(e[T],r,n)}(r,Se(),o),Os}function Ky(e,t,n){const r=function Ae(){const e=b.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}()+e,o=g();return o[r]===O?function Et(e,t,n){return e[t]=n}(o,r,n?t.call(n):t()):function Mo(e,t){return e[t]}(o,r)}const ED=new S(""),Fs=new S("");let Ml,Il=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ml||(function iA(e){Ml=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(V(te),V(_l),V(Fs))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})(),_l=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ml?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function bl(e){return!!e&&"function"==typeof e.then}function ID(e){return!!e&&"function"==typeof e.subscribe}const sA=new S("");let Sl=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=j(sA,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(bl(i))n.push(i);else if(ID(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _D=new S("");function SD(e,t){return Array.isArray(t)?t.reduce(SD,e):{...e,...t}}let In=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=j(uh),this.afterRenderEffectManager=j(Co),this.componentTypes=[],this.components=[],this.isStable=j(Ds).hasPendingTasks.pipe(TC(n=>!n)),this._injector=j(mt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Ap;if(!this._injector.get(Sl).done)throw!o&&function rn(e){const t=k(e)||me(e)||we(e);return null!==t&&t.standalone}(n),new w(405,!1);let s;s=o?n:this._injector.get(us).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function aA(e){return e.isBoundToModule}(s)?void 0:this._injector.get(yn),u=s.create(Ye.NULL,[],r||s.selector,a),l=u.location.nativeElement,d=u.injector.get(ED,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Ls(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let n=0;const r=this.afterRenderEffectManager;for(;;){if(100===n)throw new w(103,!1);const o=0===n;for(let{_lView:i,notifyErrorHandler:s}of this._views)!o&&!Tl(i)||this.detectChangesInView(i,s,o);if(n++,r.executeInternalCallbacks(),!this._views.some(({_lView:i})=>Tl(i))&&(r.execute(),!this._views.some(({_lView:i})=>Tl(i))))break}}detectChangesInView(n,r,o){let i;o?(i=0,n[E]|=1024):i=64&n[E]?0:1,rs(n,r,i)}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ls(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(_D,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ls(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ls(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tl(e){return Aa(e)}let fA=(()=>{class e{constructor(){this.zone=j(te),this.applicationRef=j(In)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hA(){const e=j(te),t=j(Ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}let gA=(()=>{class e{constructor(){this.subscription=new et,this.initialized=!1,this.zone=j(te),this.pendingTasks=j(Ds)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Lt=new S("",{providedIn:"root",factory:()=>j(Lt,L.Optional|L.SkipSelf)||function mA(){return typeof $localize<"u"&&$localize.locale||Sr}()}),Nl=new S("");let xD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function BM(e="zone.js",t){return"noop"===e?new Zp:"zone.js"===e?new te(t):e}(r?.ngZone,function AD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function Fb(e,t,n){return new Vu(e,t,n)}(n.moduleType,this.injector,function ND(e){return[{provide:te,useFactory:e},{provide:Zn,multi:!0,useFactory:()=>{const t=j(fA,{optional:!0});return()=>t.initialize()}},{provide:Zn,multi:!0,useFactory:()=>{const t=j(gA);return()=>{t.initialize()}}},{provide:uh,useFactory:hA}]}(()=>o)),s=i.injector.get(Ot,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{Ls(this._modules,i),a.unsubscribe()})}),function bD(e,t,n){try{const r=n();return bl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Sl);return a.runInitializers(),a.donePromise.then(()=>(function Vm(e){"string"==typeof e&&(Lm=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Lt,Sr)||Sr),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=SD({},r);return function dA(e,t,n){const r=new ju(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(In);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new w(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Nl,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(V(Ye))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Jt=null;const OD=new S("");function RD(e,t,n=[]){const r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Al();if(!s||s.injector.get(OD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function vA(e){if(Jt&&!Jt.get(OD,!1))throw new w(400,!1);(function MD(){!function oC(e){gd=e}(()=>{throw new w(600,!1)})})(),Jt=e;const t=e.get(xD);(function kD(e){e.get(wf,null)?.forEach(n=>n())})(e)}(function PD(e=[],t){return Ye.create({name:t,providers:[{provide:Cc,useValue:"platform"},{provide:Nl,useValue:new Set([()=>Jt=null])},...e]})}(a,r))}return function CA(e){const t=Al();if(!t)throw new w(401,!1);return t}()}}function Al(){return Jt?.get(xD)??null}const MA=RD(null,"core",[]);let bA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(V(In))};static#t=this.\u0275mod=Tn({type:e});static#n=this.\u0275inj=un({})}return e})(),sv=null;function Ll(){return sv}class nx{}const Mn=new S(""),Wl=/\s+/,gv=[];let mv=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=gv,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Wl):gv}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Wl):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(Wl).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Fn),P(Rp))};static#t=this.\u0275dir=ze({type:e,selectors:[["","ngClass",""]],inputs:{klass:[$t.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),vv=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new qx,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Cv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Cv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(P(wt),P(kt))};static#t=this.\u0275dir=ze({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class qx{constructor(){this.$implicit=null,this.ngIf=null}}function Cv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ge(t)}'.`)}let Ev=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:Qt.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(P(Fn),P(ds),P(Rp))};static#t=this.\u0275dir=ze({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),_v=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Tn({type:e});static#n=this.\u0275inj=un({})}return e})();function bv(e){return"server"===e}class KO extends nx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Jl extends KO{static makeCurrent(){!function tx(e){sv??=e}(new Jl)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function XO(){return Go=Go||document.querySelector("base"),Go?Go.getAttribute("href"):null}();return null==n?null:function JO(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Go=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function $x(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Go=null,tR=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const ed=new S("");let kv=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new w(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(V(ed),V(te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();class Fv{constructor(t){this._doc=t}}const td="ng-app-id";let Lv=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=bv(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${td}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(td),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(td,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(V(Mn),V(yi),V(Ef,8),V(jn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const nd={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/",math:"http://www.w3.org/1998/MathML/"},rd=/%COMP%/g,iR=new S("",{providedIn:"root",factory:()=>!0});function jv(e,t){return t.map(n=>n.replace(rd,e))}let Hv=(()=>{class e{constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=bv(a),this.defaultRenderer=new od(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===tt.ShadowDom&&(r={...r,encapsulation:tt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof $v?o.applyToHost(n):o instanceof id&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case tt.Emulated:i=new $v(c,u,r,this.appId,l,s,a,d);break;case tt.ShadowDom:return new uR(c,u,n,r,s,a,this.nonce,d);default:i=new id(c,u,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(V(kv),V(Lv),V(yi),V(iR),V(Mn),V(jn),V(te),V(Ef))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();class od{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(nd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Bv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Bv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new w(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=nd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=nd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Qt.DashCase|Qt.Important)?t.style.setProperty(n,r,o&Qt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Qt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Ll().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function Bv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class uR extends od{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=jv(o.id,o.styles);for(const l of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class id extends od{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?jv(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $v extends id{constructor(t,n,r,o,i,s,a,c){const u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=function sR(e){return"_ngcontent-%COMP%".replace(rd,e)}(u),this.hostAttr=function aR(e){return"_nghost-%COMP%".replace(rd,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let lR=(()=>{class e extends Fv{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(V(Mn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const Uv=["alt","control","meta","shift"],dR={"\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"},fR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let hR=(()=>{class e extends Fv{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ll().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Uv.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=dR[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Uv.forEach(s=>{s!==o&&(0,fR[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(V(Mn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const yR=RD(MA,"browser",[{provide:jn,useValue:"browser"},{provide:wf,useValue:function pR(){Jl.makeCurrent()},multi:!0},{provide:Mn,useFactory:function mR(){return function Mw(e){Ua=e}(document),document},deps:[]}]),DR=new S(""),qv=[{provide:Fs,useClass:class eR{addToWindow(t){G.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new w(5103,!1);return i},G.getAllAngularTestabilities=()=>t.getAllTestabilities(),G.getAllAngularRootElements=()=>t.getAllRootElements(),G.frameworkStabilizers||(G.frameworkStabilizers=[]),G.frameworkStabilizers.push(r=>{const o=G.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Ll().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:ED,useClass:Il,deps:[te,_l,Fs]},{provide:Il,useClass:Il,deps:[te,_l,Fs]}],Wv=[{provide:Cc,useValue:"root"},{provide:Ot,useFactory:function gR(){return new Ot},deps:[]},{provide:ed,useClass:lR,multi:!0,deps:[Mn,te,jn]},{provide:ed,useClass:hR,multi:!0,deps:[Mn]},Hv,Lv,kv,{provide:Op,useExisting:Hv},{provide:class IO{},useClass:tR,deps:[]},[]];let vR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:yi,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(V(DR,12))};static#t=this.\u0275mod=Tn({type:e});static#n=this.\u0275inj=un({providers:[...Wv,...qv],imports:[_v,bA]})}return e})();const IR=["*"],Kv=new S("paystack.publickey");let ia=(()=>{class e{constructor(n){this.token=n}loadScript(){return new Promise(n=>{if(window.PaystackPop&&"function"==typeof window.PaystackPop.setup)return void n();const r=window.document.createElement("script");window.document.head.appendChild(r);const o=()=>{r.removeEventListener("load",o),n()};r.addEventListener("load",o),r.setAttribute("src","https://js.paystack.co/v1/inline.js")})}checkInput(n){return n.key||this.token?n.email?n.amount?n.ref?"":"ANGULAR-PAYSTACK: Paystack ref cannot be empty":"ANGULAR-PAYSTACK: Paystack amount cannot be empty":"ANGULAR-PAYSTACK: Paystack email cannot be empty":"ANGULAR-PAYSTACK: Please insert a your public key"}getPaystackOptions(n){return{key:n.key||this.token,email:n.email,amount:n.amount,ref:n.ref,metadata:n.metadata||{},currency:n.currency||"NGN",plan:n.plan||"",channels:n.channels,quantity:n.quantity||"",subaccount:n.subaccount||"",transaction_charge:n.transaction_charge||0,bearer:n.bearer||"",split_code:n.split_code||""}}}return e.\u0275fac=function(n){return new(n||e)(V(Kv))},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),_R=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new pe,this.onClose=new pe,this.callback=new pe,this.isPaying=!1}pay(){var n=this;return Ht(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.isPaying?void 0:(n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),n.isPaying=!0,""))})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&(this.isPaying=!1,this.onClose.emit())},this._paystackOptions.callback=(...r)=>{this.isPaying=!1,this.callback.emit(...r)}}}return e.\u0275fac=function(n){return new(n||e)(P(ia))},e.\u0275cmp=ei({type:e,selectors:[["angular4-paystack"]],inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",channels:"channels",split_code:"split_code",subaccount:"subaccount",transaction_charge:"transaction_charge",bearer:"bearer",class:"class",style:"style",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"},ngContentSelectors:IR,decls:2,vars:2,consts:[[3,"ngClass","ngStyle","click"]],template:function(n,r){1&n&&(function dy(e){const t=g()[re][_e];if(!t.projection){const r=t.projection=function di(e,t){const n=[];for(let r=0;r{class e{constructor(n){this.paystackService=n,this.paymentInit=new pe,this.onClose=new pe,this.callback=new pe,this.isPaying=!1}pay(){var n=this;return Ht(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.isPaying?void 0:(n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),n.isPaying=!0,""))})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&(this.isPaying=!1,this.onClose.emit())},this._paystackOptions.callback=(...r)=>{this.isPaying=!1,this.callback.emit(...r)}}buttonClick(){var n=this;return Ht(function*(){n.pay()})()}}return e.\u0275fac=function(n){return new(n||e)(P(ia))},e.\u0275dir=ze({type:e,selectors:[["","angular4-paystack",""]],hostBindings:function(n,r){1&n&&Ft("click",function(){return r.buttonClick()})},inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",subaccount:"subaccount",channels:"channels",split_code:"split_code",transaction_charge:"transaction_charge",bearer:"bearer",class:"class",style:"style",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"}}),e})(),bR=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new pe,this.onClose=new pe,this.callback=new pe}pay(){var n=this;return Ht(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),"")})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&this.onClose.emit()},this._paystackOptions.callback=(...r)=>{this.callback.emit(...r)}}ngOnInit(){var n=this;return Ht(function*(){console.error("ANGULAR-PAYSTACK: The paystack embed option is deprecated. Please use the paystack component or directive"),n.pay()})()}}return e.\u0275fac=function(n){return new(n||e)(P(ia))},e.\u0275cmp=ei({type:e,selectors:[["angular4-paystack-embed"]],inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",channels:"channels",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",subaccount:"subaccount",split_code:"split_code",transaction_charge:"transaction_charge",bearer:"bearer",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"},decls:1,vars:0,consts:[["id","paystackEmbedContainer"]],template:function(n,r){1&n&&ol(0,"div",0)},encapsulation:2,changeDetection:0}),e})(),SR=(()=>{class e{static forRoot(n){return{ngModule:e,providers:[ia,{provide:Kv,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Tn({type:e}),e.\u0275inj=un({imports:[_v]}),e})();const TR=()=>["card"];function NR(e,t){if(1&e){const n=function Om(){return g()}();He(0,"div")(1,"angular4-paystack-embed",10),Ft("paymentInit",function(){return si(n),ai(ko().paymentInit())})("onClose",function(){return si(n),ai(ko().paymentCancel())})("callback",function(o){return si(n),ai(ko().paymentDone(o))}),xe()()}if(2&e){const n=ko();pn(),bs("btn btn-primary btn-lg"),wn("email","mailexample@mail.com")("split_code","SPL_K0t6TE0Fmm")("amount",5e6)("ref",n.tRef)("channels",Ky(7,TR))}}let AR=(()=>{class e{constructor(){this.title="app",this.showEmbed=!1,this.options={amount:5e4,email:"user@mail.com",split_code:"SPL_nZXNafVgCd",ref:`${Math.ceil(1e11*Math.random())}`},this.results={name:""},this.tRef="",this.result=""}toggleEmbed(){this.showEmbed=!this.showEmbed}paymentInit(){console.log("Payment initialized")}paymentDone(n){this.title="Payment successfull",console.log(this.title,n)}paymentCancel(){this.title="Payment failed",console.log(this.title)}setRandomPaymentRef(){this.tRef=""+1e13*Math.random()}ngOnInit(){this.setRandomPaymentRef()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ei({type:e,selectors:[["app-root"]],decls:21,vars:12,consts:[[1,"display-4","py-4","px-1","text-center","bg-primary","text-white"],[1,"text-center","lead"],[1,"container"],[1,"paystack-buttons","text-center","d-md-flex","d-lg-flex","d-xl-flex","justify-content-between"],[3,"email","amount","split_code","ref","paymentInit","onClose","callback"],["angular4-paystack","",1,"btn","btn-danger","m-3",3,"paystackOptions","onClose","paymentInit","callback"],[1,"btn","btn-outline-dark","mr-3",3,"click"],[1,"btn","btn-outline-dark",3,"click"],[1,"text-center","my-3"],[4,"ngIf"],["angular4-paystack","",3,"email","split_code","amount","ref","channels","paymentInit","onClose","callback"]],template:function(r,o){1&r&&(He(0,"div",0),Mt(1,"Angular4 Paystack"),xe(),He(2,"div",1),Mt(3),xe(),He(4,"div",2)(5,"div",3)(6,"angular4-paystack",4),Ft("paymentInit",function(){return o.paymentInit()})("onClose",function(){return o.paymentCancel()})("callback",function(s){return o.paymentDone(s)}),Mt(7," Pay With Paystack component "),xe(),He(8,"button",5),Ft("onClose",function(){return o.paymentCancel()})("paymentInit",function(){return o.paymentInit()})("callback",function(s){return o.paymentDone(s)}),Mt(9," Pay With Paystack Directive "),xe()(),He(10,"button",6),Ft("click",function(){return o.toggleEmbed()}),Mt(11,"Toggle embed"),xe(),He(12,"button",7),Ft("click",function(){return o.setRandomPaymentRef()}),Mt(13,"Set random payment Ref"),xe(),He(14,"h3"),Mt(15),xe(),He(16,"div"),Mt(17," You can't have more than one payment Instance at a time. Hide paystack embed to try out paystack directive and paystack component "),xe(),He(18,"h3",8),Mt(19,"Paystack Embed"),xe(),ur(20,NR,2,8,"div",9),xe()),2&r&&(pn(3),dl(o.title),pn(3),bs("btn btn-primary"),wn("email","mailexample@mail.com")("amount",5e4)("split_code","SPL_K0t6TE0Fmm")("ref",o.tRef),pn(2),bs("btn btn-primary btn-lg"),wn("paystackOptions",o.options),pn(7),Os("Embed ",o.showEmbed?"visible":"hidden",""),pn(5),wn("ngIf",o.showEmbed))},dependencies:[vv,_R,MR,bR]})}return e})(),xR=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Tn({type:e,bootstrap:[AR]});static#n=this.\u0275inj=un({imports:[vR,SR.forRoot("pk_test_24673c9637a1bf06e5fb6eb989012747183eb2ae")]})}return e})();yR().bootstrapModule(xR).catch(e=>console.error(e))}},Rr=>{Rr(Rr.s=8)}]); \ No newline at end of file diff --git a/docs/polyfills.9b1da08871d804f0.js b/docs/polyfills.9b1da08871d804f0.js new file mode 100644 index 0000000..a73131e --- /dev/null +++ b/docs/polyfills.9b1da08871d804f0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkangular4_paystack_lib=self.webpackChunkangular4_paystack_lib||[]).push([[260],{728:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.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 e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;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:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==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 M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[O]&&(K=t[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,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:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const fe=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,be=Object.getPrototypeOf,De=Object.create,ct=Array.prototype.slice,Ze="addEventListener",Oe="removeEventListener",Ne=Zone.__symbol__(Ze),Ie=Zone.__symbol__(Oe),ce="true",ae="false",me=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",_e=Pe?window:void 0,Y=Pe&&_e||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!_e.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!_e.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=fe(t,n);if(!o&&i&&fe(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},pe(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[A("OriginalDelegate")]=n}let ze=!1,He=!1;function ht(){if(ze)return He;ze=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const O=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[O];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function K(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{z(u,l,s)}catch(f){z(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function z(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),z(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{z(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[J]),l===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const S=u[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=w);const Z=l.run(m,void 0,D&&m!==K&&m!==H?[]:[S]);z(s,!0,Z)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:z(new this(null),E,l)}static reject(l){return z(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of l)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,S)=>{for(let D=0;D{g||(g=!0,m(Z))},Z=>{w.push(Z),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((S,D)=>{s=S,f=D});function w(S){s(S)}function m(S){f(S)}for(let S of l)B(S)||(S=this.resolve(S)),S.then(w,m);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((Z,V)=>{f=Z,g=V}),m=2,S=0;const D=[];for(let Z of l){B(Z)||(Z=this.resolve(Z));const V=S;try{Z.then(F=>{D[V]=s?s.thenCallback(F):F,m--,0===m&&f(D)},F=>{s?(D[V]=s.errorCallback(F),m--,0===m&&f(D)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(D),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(g,w){return new e((S,D)=>{f.call(this,S,D)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{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=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const dt={useG:!0},ne={},Ye={},$e=new RegExp("^"+me+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Ke(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=me+i,a=me+o;ne[t]={},ne[t][ae]=c,ne[t][ce]=a}function _t(t,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[ne[_.type][J?ce:ae]];if(X){const j=[];if(1===X.length){const E=O(X[0],x,_);E&&j.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=be(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let z;_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;m{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,ve&&(ve.taskData=null),nt&&(ee.once=!0),!Ee&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=D,ie.capture=Ge,ie.eventName=Z,F&&(ie.originalDelegate=V),S?ye.unshift(ie):ye.push(ie),m?D:void 0}};return E[c]=l(I,v,e,r,j),z&&(E[p]=l(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const S=ne[f];let D;S&&(D=S[w?ce:ae]);const Z=D&&s[D];if(Z)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=t.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=t.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=fe,i.ObjectCreate=De,i.ArraySlice=ct,i.patchClass=ge,i.wrapWithCurrentZone=Me,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=A("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Ce]=null))}};const B=Le(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=le(t,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Ce],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Ce]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,xe(c),i&&i.concat(a),be(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function O(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[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},fe=>{fe(fe.s=728)}]); \ No newline at end of file diff --git a/docs/runtime.a6644970e2bce4c8.js b/docs/runtime.a6644970e2bce4c8.js new file mode 100644 index 0000000..a8b3751 --- /dev/null +++ b/docs/runtime.a6644970e2bce4c8.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,_={},v={};function n(e){var f=v[e];if(void 0!==f)return f.exports;var r=v[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(f,r,s,l)=>{if(!r){var o=1/0;for(a=0;a=l)&&Object.keys(n.O).every(d=>n.O[d](r[u]))?r.splice(u--,1):(t=!1,l0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,s,l]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={688:0};n.O.j=s=>0===e[s];var f=(s,l)=>{var u,c,[a,o,t]=l,i=0;if(a.some(b=>0!==e[b])){for(u in o)n.o(o,u)&&(n.m[u]=o[u]);if(t)var p=t(n)}for(s&&s(l);i { - readline.question('HAS CHANGELOG BEEN UPDATED?\n', response => { - if (response.toLocaleLowerCase() === "yes" || response.toLocaleLowerCase() === "y") { - readline.close() - resolve(true) - } else { - readline.close() - resolve(false) +function validateChangeLog(force = false) { + const modifiedFiles = execSync("git ls-files --modified"); + const filesList = modifiedFiles.toString().split("\n"); + return new Promise((resolve, reject) => { + if (force) { + readline.question('HAS CHANGELOG BEEN UPDATED?\n', response => { + if (response.toLocaleLowerCase() === "yes" || response.toLocaleLowerCase() === "y") { + readline.close() + resolve(true) + } else { + readline.close() + reject("Please update the changelog") + } + }); + } else { + if (filesList?.includes("projects/angular4-paystack/CHANGELOG.md")) { + reject("Only CHANGELOG.md in root should be modified.") } - }); + if (filesList?.includes("CHANGELOG.md")) { + resolve(true); + return; + } + reject("CHANGELOG.md not modified. Please update the changelog before publishing."); + } }) } @@ -58,3 +76,8 @@ function runNpmVersionPatch(version, args) { `cd projects/angular4-paystack && npm version ${version}${message ? ` -m "${message}"` : ""}`); console.log(returnMessage.toString()) } + +function shouldUseForce(args) { + return args.includes("-f") || args.includes("--force") +} +