UNPKG

@aurigma/ui-framework

Version:

A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.

5 lines 227 kB
<script>
(()=>{"use strict";var e,v={},d={};function n(e){var a=d[e];if(void 0!==a)return a.exports;var r=d[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(a,r,l,u)=>{if(!r){var c=1/0;for(t=0;t<e.length;t++){for(var[r,l,u]=e[t],s=!0,f=0;f<r.length;f++)(!1&u||c>=u)&&Object.keys(n.O).every(b=>n.O[b](r[f]))?r.splice(f--,1):(s=!1,u<c&&(c=u));if(s){e.splice(t--,1);var o=l();void 0!==o&&(a=o)}}return a}u=u||0;for(var t=e.length;t>0&&e[t-1][2]>u;t--)e[t]=e[t-1];e[t]=[r,l,u]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=l=>0===e[l];var a=(l,u)=>{var f,o,[t,c,s]=u,_=0;if(t.some(p=>0!==e[p])){for(f in c)n.o(c,f)&&(n.m[f]=c[f]);if(s)var i=s(n)}for(l&&l(u);_<t.length;_++)n.o(e,o=t[_])&&e[o]&&e[o][0](),e[t[_]]=0;return n.O(i)},r=self.webpackChunkau_product_variant_selector=self.webpackChunkau_product_variant_selector||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
"use strict";(self.webpackChunkau_product_variant_selector=self.webpackChunkau_product_variant_selector||[]).push([[429],{435:(we,ue,he)=>{he(583)},583:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return G.zone}static get currentTask(){return te}static __load_patch(t,o,y=!1){if(J.hasOwnProperty(t)){if(!y&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const y=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(y,this,arguments,o)}}run(t,o,y,P){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,t,o,y,P)}finally{G=G.parent}}runGuarded(t,o=null,y,P){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,y,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{G=G.parent}}runTask(t,o,y){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,G={parent:G,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,y)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),G=G.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let y=this;for(;y;){if(y===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);y=y.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(y){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,y),y}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,y,P){return this.scheduleTask(new m(v,t,o,y,P,void 0))}scheduleMacroTask(t,o,y,P,K){return this.scheduleTask(new m(M,t,o,y,P,K))}scheduleEventTask(t,o,y,P,K){return this.scheduleTask(new m(R,t,o,y,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const y=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;P<y.length;P++)y[P]._updateTaskCount(t.type,o)}}return I.__symbol__=u,I})();const g={name:"",onHasTask:(I,p,t,o)=>I.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,y,P)=>I.invokeTask(t,o,y,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const y=o&&o.onHasTask;(y||t&&t._hasTaskZS)&&(this._hasTaskZS=y?o:g,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=g,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=g,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=g,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,y,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,y,P):t.apply(o,y)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,y){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,y):t.callback.apply(o,y)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,y=o[p],P=o[p]=y+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=y&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,y,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=y,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&y&&y.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],V=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!V){for(V=!0;B.length;){const I=B;B=[];for(let p=0;p<I.length;p++){const t=I[p];try{t.zone.runTask(t,null,null)}catch(o){le.onUnhandledError(o)}}}le.microtaskDrainDone(),V=!1}}const z={name:"NO ZONE"},j="notScheduled",q="scheduling",O="scheduled",X="running",A="canceling",Y="unknown",v="microTask",M="macroTask",R="eventTask",J={},le={symbol:u,currentZoneFrame:()=>G,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let G={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe="undefined"!=typeof window,pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Ue="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&void 0!==$.process&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=void 0!==$.process&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;if(je&&i===pe&&"error"===e.type){const u=e;c=r&&r.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===c&&e.preventDefault()}else c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let g=Ce[_];g||(g=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[g]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[g]=T,m.addEventListener(_,qe,!1)):m[g]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[g];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;r<n.length;r++)Xe(e,"on"+n[r],i);else{const r=[];for(const c in e)"on"==c.substr(0,2)&&r.push(c);for(let c=0;c<r.length;c++)Xe(e,r[c],i)}}const ne=x("originalInstance");function ve(e){const n=$[e];if(!n)return;$[x(e)]=n,$[e]=function(){const c=Ae(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ae($[e],n);const i=new n(function(){});let r;for(r in i)"XMLHttpRequest"===e&&"responseBlob"===r||function(c){"function"==typeof i[c]?$[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:he($[e].prototype,c,{set:function(u){"function"==typeof u?(this[ne][c]=Le(u,e+"."+c),ae(this[ne][c],u)):this[ne][c]=u},get:function(){return this[ne][c]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function ce(e,n,i){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const c=x(n);let u=null;if(r&&(!(u=r[c])||!r.hasOwnProperty(c))&&(u=r[c]=r[n],Fe(r&&ue(r,n)))){const _=i(u,c,n);r[n]=function(){return _(this,arguments)},ae(r[n],u)}return u}function _t(e,n,i){let r=null;function c(u){const f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},r.apply(f.target,f.args),u}r=ce(e,n,u=>function(f,_){const g=i(f,_);return g.cbIdx>=0&&"function"==typeof _[g.cbIdx]?Me(g.name,_[g.cbIdx],g,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch(e){}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],g=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch(s){}}function B(l){return l&&l.then}function V(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{G(l,s,a)}catch(h){G(l,!1,h)}}}const le=f("currentTaskTrace");function G(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{G(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),G(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{G(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)F(l,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&s==Y){l[d]=0;let k=a;try{throw new Error("Uncaught (in promise): "+function(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(b){k=b}g&&(k.throwOriginal=!0),k.rejection=a,k.promise=l,k.zone=n.current,k.task=n.currentTask,_.push(k),i.scheduleMicroTask()}}}return l}const te=f("rejectionHandledHandler");function re(l){if(0===l[d]){try{const s=n[te];s&&"function"==typeof s&&s.call(this,{rejection:l[L],promise:l})}catch(s){}l[d]=Y;for(let s=0;s<_.length;s++)l===_[s].promise&&_.splice(s,1)}}function F(l,s,a,h,w){re(l);const C=l[d],k=C?"function"==typeof h?h:V:"function"==typeof w?w:E;s.scheduleMicroTask("Promise.then",()=>{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==V?[]:[b]);G(a,!0,H)}catch(b){G(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return G(new this(null),A,s)}static reject(s){return G(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){G(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const y=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[y]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[y]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),g="."+r+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}},Z=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][se]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}};function B(E,d){if(!E)return!1;let L=!0;d&&void 0!==d.useG&&(L=d.useG);const z=d&&d.vh;let j=!0;d&&void 0!==d.chkDup&&(j=d.chkDup);let q=!1;d&&void 0!==d.rt&&(q=d.rt);let O=E;for(;O&&!O.hasOwnProperty(r);)O=de(O);if(!O&&E[r]&&(O=E),!O||O[_])return!1;const X=d&&d.eventNameToString,A={},Y=O[_]=O[r],v=O[x(c)]=O[c],M=O[x(u)]=O[u],R=O[x(f)]=O[f];let J;function le(s,a){return!me&&"object"==typeof s&&s?!!s.capture:me&&a?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}d&&d.prepend&&(J=O[x(d.prepend)]=O[d.prepend]);const p=L?function(s){if(!A.isExisting)return Y.call(A.target,A.eventName,A.capture?Z:D,A.options)}:function(s){return Y.call(A.target,A.eventName,s.invoke,A.options)},t=L?function(s){if(!s.isRemoved){const a=ee[s.eventName];let h;a&&(h=a[s.capture?se:ie]);const w=h&&s.target[h];if(w)for(let C=0;C<w.length;C++)if(w[C]===s){w.splice(C,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[h]=null);break}}if(s.allRemoved)return v.call(s.target,s.eventName,s.capture?Z:D,s.options)}:function(s){return v.call(s.target,s.eventName,s.invoke,s.options)},y=d&&d.diff?d.diff:function(s,a){const h=typeof a;return"function"===h&&s.callback===a||"object"===h&&s.originalDelegate===a},P=Zone[x("UNPATCHED_EVENTS")],K=e[x("PASSIVE_EVENTS")],l=function(s,a,h,w,C=!1,k=!1){return function(){const b=this||e;let N=arguments[0];d&&d.transferEventName&&(N=d.transferEventName(N));let H=arguments[1];if(!H)return s.apply(this,arguments);if(Re&&"uncaughtException"===N)return s.apply(this,arguments);let U=!1;if("function"!=typeof H){if(!H.handleEvent)return s.apply(this,arguments);U=!0}if(z&&!z(s,H,b,arguments))return;const Q=me&&!!K&&-1!==K.indexOf(N),oe=le(arguments[2],Q);if(P)for(let _e=0;_e<P.length;_e++)if(N===P[_e])return Q?s.call(b,N,H,oe):s.apply(this,arguments);const Ge=!!oe&&("boolean"==typeof oe||oe.capture),st=!(!oe||"object"!=typeof oe)&&oe.once,At=Zone.current;let ze=ee[N];ze||(Qe(N,X),ze=ee[N]);const it=ze[Ge?se:ie];let De,ge=b[it],ct=!1;if(ge){if(ct=!0,j)for(let _e=0;_e<ge.length;_e++)if(y(ge[_e],H))return}else ge=b[it]=[];const at=b.constructor.name,lt=Ke[at];lt&&(De=lt[N]),De||(De=at+a+(X?X(N):N)),A.options=oe,st&&(A.options.once=!1),A.target=b,A.capture=Ge,A.eventName=N,A.isExisting=ct;const be=L?Et:void 0;be&&(be.taskData=A);const fe=At.scheduleEventTask(De,H,be,h,w);return A.target=null,be&&(be.taskData=null),st&&(oe.once=!0),!me&&"boolean"==typeof fe.options||(fe.options=oe),fe.target=b,fe.capture=Ge,fe.eventName=N,U&&(fe.originalDelegate=H),k?ge.unshift(fe):ge.push(fe),C?b:void 0}};return O[r]=l(Y,g,p,t,q),J&&(O.prependListener=l(J,".prependListener:",function(s){return J.call(A.target,A.eventName,s.invoke,A.options)},t,q,!0)),O[c]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=arguments[2],w=!!h&&("boolean"==typeof h||h.capture),C=arguments[1];if(!C)return v.apply(this,arguments);if(z&&!z(v,C,s,arguments))return;const k=ee[a];let b;k&&(b=k[w?se:ie]);const N=b&&s[b];if(N)for(let H=0;H<N.length;H++){const U=N[H];if(y(U,C))return N.splice(H,1),U.isRemoved=!0,0===N.length&&(U.allRemoved=!0,s[b]=null,"string"==typeof a)&&(s[ke+"ON_PROPERTY"+a]=null),U.zone.cancelTask(U),q?s:void 0}return v.apply(this,arguments)},O[u]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=[],w=et(s,X?X(a):a);for(let C=0;C<w.length;C++){const k=w[C];h.push(k.originalDelegate?k.originalDelegate:k.callback)}return h},O[f]=function(){const s=this||e;let a=arguments[0];if(a){d&&d.transferEventName&&(a=d.transferEventName(a));const h=ee[a];if(h){const k=s[h[ie]],b=s[h[se]];if(k){const N=k.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}if(b){const N=b.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}}}else{const h=Object.keys(s);for(let w=0;w<h.length;w++){const k=Je.exec(h[w]);let b=k&&k[1];b&&"removeListener"!==b&&this[f].call(this,b)}this[f].call(this,"removeListener")}if(q)return this},ae(O[r],Y),ae(O[c],v),R&&ae(O[f],R),M&&ae(O[u],M),!0}let V=[];for(let E=0;E<n.length;E++)V[E]=B(n[E],i);return V}function et(e,n){if(!n){const u=[];for(let f in e){const _=Je.exec(f);let g=_&&_[1];if(g&&(!n||g===n)){const T=e[f];if(T)for(let m=0;m<T.length;m++)u.push(T[m])}}return u}let i=ee[n];i||(Qe(n),i=ee[n]);const r=e[i[ie]],c=e[i[se]];return r?c?r.concat(c):r.slice():c?c.slice():[]}function yt(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",r=>function(c,u){c[xe]=!0,r&&r.apply(c,u)})}function gt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,g,T){return g&&g.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=g.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(g.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,g,T)},e.attachOriginToPatched(n[r],f)}const Ve=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ve,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=yt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=gt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ye(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function g(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,g);if(!B)return B;const V=B.data.handleId;return"number"==typeof V?f[V]=B:V&&(V[Ne]=B),V&&V.ref&&V.unref&&"function"==typeof V.ref&&"function"==typeof V.unref&&(B.ref=V.ref.bind(V),B.unref=V.unref.bind(V)),"number"==typeof V||V?V:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ye(e,n,i,"Timeout"),ye(e,n,i,"Interval"),ye(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ye(e,"request","cancel","AnimationFrame"),ye(e,"mozRequest","mozCancel","AnimationFrame"),ye(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;r<i.length;r++)ce(e,i[r],(u,f,_)=>function(g,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function(e,n){n.patchEventPrototype(e,n)})(e,i),function(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let g=0;g<i.length;g++){const T=i[g],D=f+(T+u),Z=f+(T+c);r[T]={},r[T][u]=D,r[T][c]=Z}const _=e.EventTarget;_&&_.prototype&&n.patchEventTarget(e,[_&&_.prototype])}(e,i);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&i.patchEventTarget(e,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i="undefined"!=typeof WebSocket,r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),void 0!==f.SVGElement&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ve.concat(nt),r),W(HTMLBodyElement.prototype,Ve.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const g=f.HTMLMarqueeElement;g&&W(g.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),"undefined"!=typeof IDBIndex&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const V="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,V,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;I<F.length;I++)F[I]===v&&F.splice(I,1);!M.aborted&&v.state===E&&re.call(v)},te.push(v)}else v.invoke()}else!M.aborted&&!1===R[u]&&(R[_]=!0)};return Z.call(R,V,le),R[i]||(R[i]=v),A.apply(R,M.args),R[u]=!0,v}function L(){}function z(v){const M=v.data;return M.aborted=!0,Y.apply(M.target,M.args)}const j=ce(S,"open",()=>function(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const i=e.constructor.name;for(let r=0;r<n.length;r++){const c=n[r],u=e[c];if(u){if(!Fe(ue(e,c)))continue;e[c]=(_=>{const g=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(g,_),g})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const g=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(g)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})}},we=>{we(we.s=435)}]);
"use strict";(self.webpackChunkau_product_variant_selector=self.webpackChunkau_product_variant_selector||[]).push([[179],{593:()=>{function Tn(t){return"function"==typeof t}let wr=!1;const Xe={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else wr&&console.log("RxJS: Back to a better error behavior. Thank you. <3");wr=t},get useDeprecatedSynchronousErrorHandling(){return wr}};function Zt(t){setTimeout(()=>{throw t},0)}const Co={closed:!0,next(t){},error(t){if(Xe.useDeprecatedSynchronousErrorHandling)throw t;Zt(t)},complete(){}},Ys=Array.isArray||(t=>t&&"number"==typeof t.length);function Xs(t){return null!==t&&"object"==typeof t}const wo=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class oe{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof oe)n.remove(this);else if(null!==n)for(let i=0;i<n.length;++i)n[i].remove(this);if(Tn(o)){r&&(this._unsubscribe=void 0);try{o.call(this)}catch(i){e=i instanceof wo?gl(i.errors):[i]}}if(Ys(s)){let i=-1,a=s.length;for(;++i<a;){const u=s[i];if(Xs(u))try{u.unsubscribe()}catch(l){e=e||[],l instanceof wo?e=e.concat(gl(l.errors)):e.push(l)}}}if(e)throw new wo(e)}add(e){let n=e;if(!e)return oe.EMPTY;switch(typeof e){case"function":n=new oe(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof oe)){const s=n;n=new oe,n._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof oe){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function gl(t){return t.reduce((e,n)=>e.concat(n instanceof wo?n.errors:n),[])}oe.EMPTY=((t=new oe).closed=!0,t);const Eo="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Te extends oe{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Co;break;case 1:if(!e){this.destination=Co;break}if("object"==typeof e){e instanceof Te?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new ml(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new ml(this,e,n,r)}}[Eo](){return this}static create(e,n,r){const o=new Te(e,n,r);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class ml extends Te{constructor(e,n,r,o){super(),this._parentSubscriber=e;let s,i=this;Tn(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==Co&&(i=Object.create(n),Tn(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=r,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;Xe.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=Xe;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=e,n.syncErrorThrown=!0):Zt(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Zt(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const n=()=>this._complete.call(this._context);Xe.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,n){try{e.call(this._context,n)}catch(r){if(this.unsubscribe(),Xe.useDeprecatedSynchronousErrorHandling)throw r;Zt(r)}}__tryOrSetError(e,n,r){if(!Xe.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(o){return Xe.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Zt(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const Er="function"==typeof Symbol&&Symbol.observable||"@@observable";function yl(t){return t}let ce=(()=>{class t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){const{operator:s}=this,i=function(t,e,n){if(t){if(t instanceof Te)return t;if(t[Eo])return t[Eo]()}return t||e||n?new Te(t,e,n):new Te(Co)}(n,r,o);if(i.add(s?s.call(i,this.source):this.source||Xe.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),Xe.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){Xe.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof Te?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=Dl(r))((o,s)=>{let i;i=this.subscribe(a=>{try{n(a)}catch(u){s(u),i&&i.unsubscribe()}},s,o)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[Er](){return this}pipe(...n){return 0===n.length?this:function(t){return 0===t.length?yl:1===t.length?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Dl(n))((r,o)=>{let s;this.subscribe(i=>s=i,i=>o(i),()=>r(s))})}}return t.create=e=>new t(e),t})();function Dl(t){if(t||(t=Xe.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const Mn=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class bl extends oe{constructor(e,n){super(),this.subject=e,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,n=e.observers;if(this.subject=null,!n||0===n.length||e.isStopped||e.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class vl extends Te{constructor(e){super(e),this.destination=e}}let Ir=(()=>{class t extends ce{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Eo](){return new vl(this)}lift(n){const r=new Cl(this,this);return r.operator=n,r}next(n){if(this.closed)throw new Mn;if(!this.isStopped){const{observers:r}=this,o=r.length,s=r.slice();for(let i=0;i<o;i++)s[i].next(n)}}error(n){if(this.closed)throw new Mn;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,o=r.length,s=r.slice();for(let i=0;i<o;i++)s[i].error(n);this.observers.length=0}complete(){if(this.closed)throw new Mn;this.isStopped=!0;const{observers:n}=this,r=n.length,o=n.slice();for(let s=0;s<r;s++)o[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new Mn;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new Mn;return this.hasError?(n.error(this.thrownError),oe.EMPTY):this.isStopped?(n.complete(),oe.EMPTY):(this.observers.push(n),new bl(this,n))}asObservable(){const n=new ce;return n.source=this,n}}return t.create=(e,n)=>new Cl(e,n),t})();class Cl extends Ir{constructor(e,n){super(),this.destination=e,this.source=n}next(e){const{destination:n}=this;n&&n.next&&n.next(e)}error(e){const{destination:n}=this;n&&n.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:n}=this;return n?this.source.subscribe(e):oe.EMPTY}}function wl(t){return t&&"function"==typeof t.schedule}function Yt(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new gm(t,e))}}class gm{constructor(e,n){this.project=e,this.thisArg=n}call(e,n){return n.subscribe(new mm(e,this.project,this.thisArg))}}class mm extends Te{constructor(e,n,r){super(e),this.project=n,this.count=0,this.thisArg=r||this}_next(e){let n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const El=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},Io="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Il=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Tl(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const Ml=t=>{if(t&&"function"==typeof t[Er])return(t=>e=>{const n=t[Er]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(Il(t))return El(t);if(Tl(t))return(t=>e=>(t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Zt),e))(t);if(t&&"function"==typeof t[Io])return(t=>e=>{const n=t[Io]();for(;;){let r;try{r=n.next()}catch(o){return e.error(o),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const n=`You provided ${Xs(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function ei(t,e){return new ce(n=>{const r=new oe;let o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function Re(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[Er]}(t))return function(t,e){return new ce(n=>{const r=new oe;return r.add(e.schedule(()=>{const o=t[Er]();r.add(o.subscribe({next(s){r.add(e.schedule(()=>n.next(s)))},error(s){r.add(e.schedule(()=>n.error(s)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Tl(t))return function(t,e){return new ce(n=>{const r=new oe;return r.add(e.schedule(()=>t.then(o=>{r.add(e.schedule(()=>{n.next(o),r.add(e.schedule(()=>n.complete()))}))},o=>{r.add(e.schedule(()=>n.error(o)))}))),r})}(t,e);if(Il(t))return ei(t,e);if(function(t){return t&&"function"==typeof t[Io]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new ce(n=>{const r=new oe;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(e.schedule(()=>{o=t[Io](),r.add(e.schedule(function(){if(n.closed)return;let s,i;try{const a=o.next();s=a.value,i=a.done}catch(a){return void n.error(a)}i?n.complete():(n.next(s),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof ce?t:new ce(Ml(t))}class ti extends Te{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ni extends Te{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function ri(t,e){if(e.closed)return;if(t instanceof ce)return t.subscribe(e);let n;try{n=Ml(t)(e)}catch(r){e.error(r)}return n}function b(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(b((o,s)=>Re(t(o,s)).pipe(Yt((i,a)=>e(o,i,s,a))),n)):("number"==typeof e&&(n=e),r=>r.lift(new Mm(t,n)))}class Mm{constructor(e,n=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=n}call(e,n){return n.subscribe(new xm(e,this.project,this.concurrent))}}class xm extends ni{constructor(e,n,r=Number.POSITIVE_INFINITY){super(e),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(n)}_innerSub(e){const n=new ti(this),r=this.destination;r.add(n);const o=ri(e,n);o!==n&&r.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function xl(t,e){return e?ei(t,e):new ce(El(t))}function Sl(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return wl(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof ce?t[0]:function(t=Number.POSITIVE_INFINITY){return b(yl,t)}(e)(xl(t,n))}function Al(){return function(e){return e.lift(new Am(e))}}class Am{constructor(e){this.connectable=e}call(e,n){const{connectable:r}=this;r._refCount++;const o=new Pm(e,r),s=n.subscribe(o);return o.closed||(o.connection=r.connect()),s}}class Pm extends Te{constructor(e,n){super(e),this.connectable=n}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const n=e._refCount;if(n<=0)return void(this.connection=null);if(e._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,o=e._connection;this.connection=null,o&&(!r||o===r)&&o.unsubscribe()}}class Rm extends ce{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new oe,e.add(this.source.subscribe(new Fm(this.getSubject(),this))),e.closed&&(this._connection=null,e=oe.EMPTY)),e}refCount(){return Al()(this)}}const Nm=(()=>{const t=Rm.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class Fm extends vl{constructor(e,n){super(e),this.connectable=n}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}}}function Vm(){return new Ir}function Q(t){for(let e in t)if(t[e]===Q)return e;throw Error("Could not find renamed property on target object.")}function U(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(U).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function si(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const jm=Q({__forward_ref__:Q});function ii(t){return t.__forward_ref__=ii,t.toString=function(){return U(this())},t}function N(t){return function(t){return"function"==typeof t&&t.hasOwnProperty(jm)&&t.__forward_ref__===ii}(t)?t():t}class Ge extends Error{constructor(e,n){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(e,n)),this.code=e}}function S(t){return"string"==typeof t?t:null==t?"":String(t)}function Ne(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():S(t)}function To(t,e){const n=e?` in ${e}`:"";throw new Ge("201",`No provider for ${Ne(t)} found${n}`)}function qe(t,e){null==t&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function W(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Xt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ui(t){return Rl(t,Mo)||Rl(t,Fl)}function Rl(t,e){return t.hasOwnProperty(e)?t[e]:null}function Nl(t){return t&&(t.hasOwnProperty(li)||t.hasOwnProperty(Wm))?t[li]:null}const Mo=Q({\u0275prov:Q}),li=Q({\u0275inj:Q}),Fl=Q({ngInjectableDef:Q}),Wm=Q({ngInjectorDef:Q});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let ci;function en(t){const e=ci;return ci=t,e}function Ol(t,e,n){const r=ui(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==e?e:void To(U(t),"Injector")}function tn(t){return{toString:t}.toString()}var pt=(()=>((pt=pt||{})[pt.OnPush=0]="OnPush",pt[pt.Default=1]="Default",pt))(),Mt=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Mt||(Mt={})),Mt))();const Qm="undefined"!=typeof globalThis&&globalThis,Km="undefined"!=typeof window&&window,Zm="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,J=Qm||"undefined"!=typeof global&&global||Km||Zm,xn={},K=[],xo=Q({\u0275cmp:Q}),di=Q({\u0275dir:Q}),fi=Q({\u0275pipe:Q}),kl=Q({\u0275mod:Q}),Ut=Q({\u0275fac:Q}),Tr=Q({__NG_ELEMENT_ID__:Q});let Ym=0;function Mr(t){return tn(()=>{const n={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===pt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||K,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Mt.Emulated,id:"c",styles:t.styles||K,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,s=t.features,i=t.pipes;return r.id+=Ym++,r.inputs=jl(t.inputs,n),r.outputs=jl(t.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Ll):null,r.pipeDefs=i?()=>("function"==typeof i?i():i).map(Vl):null,r})}function Ll(t){return Me(t)||function(t){return t[di]||null}(t)}function Vl(t){return function(t){return t[fi]||null}(t)}const Bl={};function pn(t){return tn(()=>{const e={type:t.type,bootstrap:t.bootstrap||K,declarations:t.declarations||K,imports:t.imports||K,exports:t.exports||K,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Bl[t.id]=t.type),e})}function jl(t,e){if(null==t)return xn;const n={};for(const r in t)if(t.hasOwnProperty(r)){let o=t[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,e&&(e[o]=s)}return n}const et=Mr;function Fe(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Me(t){return t[xo]||null}function tt(t,e){const n=t[kl]||null;if(!n&&!0===e)throw new Error(`Type ${U(t)} does not have '\u0275mod' property.`);return n}const O=11,Y=20;function xt(t){return Array.isArray(t)&&"object"==typeof t[1]}function gt(t){return Array.isArray(t)&&!0===t[1]}function gi(t){return 0!=(8&t.flags)}function Ro(t){return 2==(2&t.flags)}function No(t){return 1==(1&t.flags)}function mt(t){return null!==t.template}function oy(t){return 0!=(512&t[2])}function _n(t,e){return t.hasOwnProperty(Ut)?t[Ut]:null}class Ul{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Pr(){return $l}function $l(t){return t.type.prototype.ngOnChanges&&(t.setInput=uy),ay}function ay(){const t=zl(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===xn)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function uy(t,e,n,r){const o=zl(t)||function(t,e){return t[Gl]=e}(t,{previous:xn,current:null}),s=o.current||(o.current={}),i=o.previous,a=this.declaredInputs[n],u=i[a];s[a]=new Ul(u&&u.currentValue,e,i===xn),t[r]=e}Pr.ngInherit=!0;const Gl="__ngSimpleChanges__";function zl(t){return t[Gl]||null}const ql="http://www.w3.org/2000/svg";let _i;function ae(t){return!!t.listen}const Jl={createRenderer:(t,e)=>void 0!==_i?_i:"undefined"!=typeof document?document:void 0};function he(t){for(;Array.isArray(t);)t=t[0];return t}function Fo(t,e){return he(e[t])}function ot(t,e){return he(e[t.index])}function bi(t,e){return t.data[e]}function Je(t,e){const n=e[t];return xt(n)?n:n[0]}function vi(t){return 128==(128&t[2])}function rn(t,e){return null==e?null:t[e]}function Kl(t){t[18]=0}function Ci(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const M={lFrame:oc(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Zl(){return M.bindingsEnabled}function y(){return M.lFrame.lView}function $(){return M.lFrame.tView}function yt(t){return M.lFrame.contextLView=t,t[8]}function De(){let t=Yl();for(;null!==t&&64===t.type;)t=t.parent;return t}function Yl(){return M.lFrame.currentTNode}function St(t,e){const n=M.lFrame;n.currentTNode=t,n.isParent=e}function wi(){return M.lFrame.isParent}function Ei(){M.lFrame.isParent=!1}function Oo(){return M.isInCheckNoChangesMode}function ko(t){M.isInCheckNoChangesMode=t}function Fn(){return M.lFrame.bindingIndex++}function wy(t,e){const n=M.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ii(e)}function Ii(t){M.lFrame.currentDirectiveIndex=t}function Mi(t){M.lFrame.currentQueryIndex=t}function Iy(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function nc(t,e,n){if(n&F.SkipSelf){let o=e,s=t;for(;!(o=o.parent,null!==o||n&F.Host||(o=Iy(s),null===o||(s=s[15],10&o.type))););if(null===o)return!1;e=o,t=s}const r=M.lFrame=rc();return r.currentTNode=e,r.lView=t,!0}function Lo(t){const e=rc(),n=t[1];M.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function rc(){const t=M.lFrame,e=null===t?null:t.child;return null===e?oc(t):e}function oc(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function sc(){const t=M.lFrame;return M.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ic=sc;function Vo(){const t=sc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ke(){return M.lFrame.selectedIndex}function on(t){M.lFrame.selectedIndex=t}function On(){M.lFrame.currentNamespace=ql}function Bo(){M.lFrame.currentNamespace=null}function jo(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const s=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=s;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),u&&(t.viewHooks||(t.viewHooks=[])).push(-n,u),l&&((t.viewHooks||(t.viewHooks=[])).push(n,l),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,l)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function Ho(t,e,n){ac(t,e,3,n)}function Uo(t,e,n,r){(3&t[2])===n&&ac(t,e,n,r)}function xi(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function ac(t,e,n,r){const s=null!=r?r:-1,i=e.length-1;let a=0;for(let u=void 0!==r?65535&t[18]:0;u<i;u++)if("number"==typeof e[u+1]){if(a=e[u],null!=r&&a>=r)break}else e[u]<0&&(t[18]+=65536),(a<s||-1==s)&&(Ry(t,n,e,u),t[18]=(4294901760&t[18])+u+2),u++}function Ry(t,e,n,r){const o=n[r]<0,s=n[r+1],a=t[o?-n[r]:n[r]];if(o){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Nr{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function $o(t,e,n){const r=ae(t);let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const i=n[o++],a=n[o++],u=n[o++];r?t.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u)}else{const i=s,a=n[++o];Ai(i)?r&&t.setProperty(e,i,a):r?t.setAttribute(e,i,a):e.setAttribute(i,a),o++}}return o}function uc(t){return 3===t||4===t||6===t}function Ai(t){return 64===t.charCodeAt(0)}function Go(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?n=o:0===n||lc(t,n,o,null,-1===n||2===n?e[++r]:null)}}return t}function lc(t,e,n,r,o){let s=0,i=t.length;if(-1===e)i=-1;else for(;s<t.length;){const a=t[s++];if("number"==typeof a){if(a===e){i=-1;break}if(a>e){i=s-1;break}}}for(;s<t.length;){const a=t[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(t[s+1]=o));if(r===t[s+1])return void(t[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(t.splice(i,0,e),s=i+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==o&&t.splice(s++,0,o)}function cc(t){return-1!==t}function kn(t){return 32767&t}function Ln(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Pi=!0;function zo(t){const e=Pi;return Pi=t,e}let Vy=0;function Or(t,e){const n=Ni(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Ri(r.data,t),Ri(e,null),Ri(r.blueprint,null));const o=qo(t,e),s=t.injectorIndex;if(cc(o)){const i=kn(o),a=Ln(o,e),u=a[1].data;for(let l=0;l<8;l++)e[s+l]=a[i+l]|u[i+l]}return e[s+8]=o,s}function Ri(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ni(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function qo(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;null!==o;){const s=o[1],i=s.type;if(r=2===i?s.declTNode:1===i?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Wo(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Tr)&&(r=n[Tr]),null==r&&(r=n[Tr]=Vy++);const o=255&r;e.data[t+(o>>5)]|=1<<o}(t,e,n)}function pc(t,e,n){if(n&F.Optional)return t;To(e,"NodeInjector")}function hc(t,e,n,r){if(n&F.Optional&&void 0===r&&(r=null),0==(n&(F.Self|F.Host))){const o=t[9],s=en(void 0);try{return o?o.get(e,r,n&F.Optional):Ol(e,r,n&F.Optional)}finally{en(s)}}return pc(r,e,n)}function gc(t,e,n,r=F.Default,o){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Tr)?t[Tr]:void 0;return"number"==typeof e?e>=0?255&e:Hy:e}(n);if("function"==typeof s){if(!nc(e,t,r))return r&F.Host?pc(o,n,r):hc(e,n,r,o);try{const i=s(r);if(null!=i||r&F.Optional)return i;To(n)}finally{ic()}}else if("number"==typeof s){let i=null,a=Ni(t,e),u=-1,l=r&F.Host?e[16][6]:null;for((-1===a||r&F.SkipSelf)&&(u=-1===a?qo(t,e):e[a+8],-1!==u&&_c(r,!1)?(i=e[1],a=kn(u),e=Ln(u,e)):a=-1);-1!==a;){const c=e[1];if(yc(s,a,c.data)){const d=Uy(a,e,n,i,r,l);if(d!==mc)return d}u=e[a+8],-1!==u&&_c(r,e[1].data[a+8]===l)&&yc(s,a,e)?(i=c,a=kn(u),e=Ln(u,e)):a=-1}}}return hc(e,n,r,o)}const mc={};function Hy(){return new Vn(De(),y())}function Uy(t,e,n,r,o,s){const i=e[1],a=i.data[t+8],c=function(t,e,n,r,o){const s=t.providerIndexes,i=e.data,a=1048575&s,u=t.directiveStart,c=s>>20,f=o?a+c:t.directiveEnd;for(let p=r?a:a+c;p<f;p++){const h=i[p];if(p<u&&n===h||p>=u&&h.type===n)return p}if(o){const p=i[u];if(p&&mt(p)&&p.type===n)return u}return null}(a,i,n,null==r?Ro(a)&&Pi:r!=i&&0!=(3&a.type),o&F.Host&&s===a);return null!==c?kr(e,i,c,a):mc}function kr(t,e,n,r){let o=t[n];const s=e.data;if(function(t){return t instanceof Nr}(o)){const i=o;i.resolving&&function(t,e){throw new Ge("200",`Circular dependency in DI detected for ${t}`)}(Ne(s[n]));const a=zo(i.canSeeViewProviders);i.resolving=!0;const u=i.injectImpl?en(i.injectImpl):null;nc(t,r,F.Default);try{o=t[n]=i.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=e.type.prototype;if(r){const i=$l(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==u&&en(u),zo(a),i.resolving=!1,ic()}}return o}function yc(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function _c(t,e){return!(t&F.Self||t&F.Host&&e)}class Vn{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return gc(this._tNode,this._lView,e,r,n)}}const jn="__parameters__";function Un(t,e,n){return tn(()=>{const r=function(t){return function(...n){if(t){const r=t(...n);for(const o in r)this[o]=r[o]}}}(e);function o(...s){if(this instanceof o)return r.apply(this,s),this;const i=new o(...s);return a.annotation=i,a;function a(u,l,c){const d=u.hasOwnProperty(jn)?u[jn]:Object.defineProperty(u,jn,{value:[]})[jn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(i),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class G{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function At(t,e){t.forEach(n=>Array.isArray(n)?At(n,e):e(n))}function bc(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Qo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Qe(t,e,n){let r=$n(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Vi(t,e){const n=$n(t,e);if(n>=0)return t[1|n]}function $n(t,e){return function(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){const s=r+(o-r>>1),i=t[s<<n];if(e===i)return s<<n;i>e?o=s:r=s+1}return~(o<<n)}(t,e,1)}const jr={},ji="__NG_DI_FLAG__",Zo="ngTempTokenPath",t_=/\n/gm,Ic="__source",r_=Q({provide:String,useValue:Q});let Hr;function Tc(t){const e=Hr;return Hr=t,e}function o_(t,e=F.Default){if(void 0===Hr)throw new Error("inject() must be called from an injection context");return null===Hr?Ol(t,void 0,e):Hr.get(t,e&F.Optional?null:void 0,e)}function R(t,e=F.Default){return(ci||o_)(N(t),e)}function Hi(t){const e=[];for(let n=0;n<t.length;n++){const r=N(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let o,s=F.Default;for(let i=0;i<r.length;i++){const a=r[i],u=s_(a);"number"==typeof u?-1===u?o=a.token:s|=u:o=a}e.push(R(o,s))}else e.push(R(r))}return e}function Ur(t,e){return t[ji]=e,t.prototype[ji]=e,t}function s_(t){return t[ji]}const Yo=Ur(Un("Inject",t=>({token:t})),-1),Gn=Ur(Un("Optional"),8),$r=Ur(Un("SkipSelf"),4);class Oc{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function an(t){return t instanceof Oc?t.changingThisBreaksApplicationSecurity:t}const M_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,x_=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var ge=(()=>((ge=ge||{})[ge.NONE=0]="NONE",ge[ge.HTML=1]="HTML",ge[ge.STYLE=2]="STYLE",ge[ge.SCRIPT=3]="SCRIPT",ge[ge.URL=4]="URL",ge[ge.RESOURCE_URL=5]="RESOURCE_URL",ge))();function Qi(t){const e=function(){const t=y();return t&&t[12]}();return e?e.sanitize(ge.URL,t)||"":function(t,e){const n=function(t){return t instanceof Oc&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"URL")?an(t):function(t){return(t=String(t)).match(M_)||t.match(x_)?t:"unsafe:"+t}(S(t))}const zc="__ngContext__";function Se(t,e){t[zc]=e}function Zi(t){const e=function(t){return t[zc]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Xi(t){return t.ngOriginalError}function Y_(t,...e){t.error(...e)}class Wn{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=function(t){return t&&t.ngErrorLogger||Y_}(e);r(this._console,"ERROR",e),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Xi(e);for(;n&&Xi(n);)n=Xi(n);return n||null}}const Kc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(J))();function Rt(t){return t instanceof Function?t():t}var Ke=(()=>((Ke=Ke||{})[Ke.Important=1]="Important",Ke[Ke.DashCase=2]="DashCase",Ke))();function ta(t,e){return undefined(t,e)}function Qr(t){const e=t[3];return gt(e)?e[3]:e}function na(t){return td(t[13])}function ra(t){return td(t[4])}function td(t){for(;null!==t&&!gt(t);)t=t[4];return t}function Qn(t,e,n,r,o){if(null!=r){let s,i=!1;gt(r)?s=r:xt(r)&&(i=!0,r=r[0]);const a=he(r);0===t&&null!==n?null==o?ad(e,n,a):Dn(e,n,a,o||null,!0):1===t&&null!==n?Dn(e,n,a,o||null,!0):2===t?function(t,e,n){const r=os(t,e);r&&function(t,e,n,r){ae(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,i):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,o){const s=n[7];s!==he(n)&&Qn(e,t,r,s,o);for(let a=10;a<n.length;a++){const u=n[a];Kr(u[1],u,t,e,r,s)}}(e,t,s,n,o)}}function sa(t,e,n){return ae(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function rd(t,e){const n=t[9],r=n.indexOf(e),o=e[3];1024&e[2]&&(e[2]&=-1025,Ci(o,-1)),n.splice(r,1)}function ia(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const o=r[17];null!==o&&o!==t&&rd(o,r),e>0&&(t[n-1][4]=r[4]);const s=Qo(t,10+e);!function(t,e){Kr(t,e,e[O],2,null,null),e[0]=null,e[6]=null}(r[1],r);const i=s[19];null!==i&&i.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function od(t,e){if(!(256&e[2])){const n=e[O];ae(n)&&n.destroyNode&&Kr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return aa(t[1],t);for(;e;){let n=null;if(xt(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)xt(e)&&aa(e[1],e),e=e[3];null===e&&(e=t),xt(e)&&aa(e[1],e),n=e&&e[4]}e=n}}(e)}}function aa(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const o=e[n[r]];if(!(o instanceof Nr)){const s=n[r+1];if(Array.isArray(s))for(let i=0;i<s.length;i+=2){const a=o[s[i]],u=s[i+1];try{u.call(a)}finally{}}else try{s.call(o)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let o=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const i=n[s+1],a="function"==typeof i?i(e):he(e[i]),u=r[o=n[s+2]],l=n[s+3];"boolean"==typeof l?a.removeEventListener(n[s],u,l):l>=0?r[o=l]():r[o=-l].unsubscribe(),s+=2}else{const i=r[o=n[s+1]];n[s].call(i)}if(null!==r){for(let s=o+1;s<r.length;s++)r[s]();e[7]=null}}(t,e),1===e[1].type&&ae(e[O])&&e[O].destroy();const n=e[17];if(null!==n&&gt(e[3])){n!==e[3]&&rd(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function sd(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const o=t.data[r.directiveStart].encapsulation;if(o===Mt.None||o===Mt.Emulated)return null}return ot(r,n)}(t,e.parent,n)}function Dn(t,e,n,r,o){ae(t)?t.insertBefore(e,n,r,o):e.insertBefore(n,r,o)}function ad(t,e,n){ae(t)?t.appendChild(e,n):e.appendChild(n)}function ud(t,e,n,r,o){null!==r?Dn(t,e,n,r,o):ad(t,e,n)}function os(t,e){return ae(t)?t.parentNode(e):e.parentNode}let dd=function(t,e,n){return 40&t.type?ot(t,n):null};function ss(t,e,n,r){const o=sd(t,r,e),s=e[O],a=function(t,e,n){return dd(t,e,n)}(r.parent||e[6],r,e);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)ud(s,o,n[u],a,!1);else ud(s,o,n,a,!1)}function is(t,e){if(null!==e){const n=e.type;if(3&n)return ot(e,t);if(4&n)return la(-1,t[e.index]);if(8&n){const r=e.child;if(null!==r)return is(t,r);{const o=t[e.index];return gt(o)?la(-1,o):he(o)}}if(32&n)return ta(e,t)()||he(t[e.index]);{const r=pd(t,e);return null!==r?Array.isArray(r)?r[0]:is(Qr(t[16]),r):is(t,e.next)}}return null}function pd(t,e){return null!==e?t[16][6].projection[e.projection]:null}function la(t,e){const n=10+t+1;if(n<e.length){const r=e[n],o=r[1].firstChild;if(null!==o)return is(r,o)}return e[7]}function ca(t,e,n,r,o,s,i){for(;null!=n;){const a=r[n.index],u=n.type;if(i&&0===e&&(a&&Se(he(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)ca(t,e,n.child,r,o,s,!1),Qn(e,t,o,a,s);else if(32&u){const l=ta(n,r);let c;for(;c=l();)Qn(e,t,o,c,s);Qn(e,t,o,a,s)}else 16&u?gd(t,e,r,n,o,s):Qn(e,t,o,a,s);n=i?n.projectionNext:n.next}}function Kr(t,e,n,r,o,s){ca(n,r,t.firstChild,e,o,s,!1)}function gd(t,e,n,r,o,s){const i=n[16],u=i[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Qn(e,t,o,u[l],s);else ca(t,e,u,i[3],o,s,!0)}function md(t,e,n){ae(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function da(t,e,n){ae(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function yd(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const s=e.length;if(o+s===r||t.charCodeAt(o+s)<=32)return o}n=o+1}}const _d="ng-template";function TD(t,e,n){let r=0;for(;r<t.length;){let o=t[r++];if(n&&"class"===o){if(o=t[r],-1!==yd(o.toLowerCase(),e,0))return!0}else if(1===o){for(;r<t.length&&"string"==typeof(o=t[r++]);)if(o.toLowerCase()===e)return!0;return!1}}return!1}function Dd(t){return 4===t.type&&t.value!==_d}function MD(t,e,n){return e===(4!==t.type||n?t.value:_d)}function xD(t,e,n){let r=4;const o=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(uc(t[e]))return e;return t.length}(o);let i=!1;for(let a=0;a<e.length;a++){const u=e[a];if("number"!=typeof u){if(!i)if(4&r){if(r=2|1&r,""!==u&&!MD(t,u,n)||""===u&&1===e.length){if(_t(r))return!1;i=!0}}else{const l=8&r?u:e[++a];if(8&r&&null!==t.attrs){if(!TD(t.attrs,l,n)){if(_t(r))return!1;i=!0}continue}const d=SD(8&r?"class":u,o,Dd(t),n);if(-1===d){if(_t(r))return!1;i=!0;continue}if(""!==l){let f;f=d>s?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==yd(p,l,0)||2&r&&l!==f){if(_t(r))return!1;i=!0}}}}else{if(!i&&!_t(r)&&!_t(u))return!1;if(i&&_t(u))continue;i=!1,r=u|1&r}}return _t(r)||i}function _t(t){return 0==(1&t)}function SD(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let s=!1;for(;o<e.length;){const i=e[o];if(i===t)return o;if(3===i||6===i)s=!0;else{if(1===i||2===i){let a=e[++o];for(;"string"==typeof a;)a=e[++o];continue}if(4===i)break;if(0===i){o+=4;continue}}o+=s?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function bd(t,e,n=!1){for(let r=0;r<e.length;r++)if(xD(t,e[r],n))return!0;return!1}function vd(t,e){return t?":not("+e.trim()+")":e}function FD(t){let e=t[0],n=1,r=2,o="",s=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const a=t[++n];o+="["+i+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""!==o&&!_t(i)&&(e+=vd(s,o),o=""),r=i,s=s||!_t(r);n++}return""!==o&&(e+=vd(s,o)),e}const A={};function re(t){Cd($(),y(),ke()+t,Oo())}function Cd(t,e,n,r){if(!r)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&Ho(e,s,n)}else{const s=t.preOrderHooks;null!==s&&Uo(e,s,0,n)}on(n)}function as(t,e){return t<<17|e<<2}function Dt(t){return t>>17&32767}function fa(t){return 2|t}function zt(t){return(131068&t)>>2}function pa(t,e){return-131069&t|e<<2}function ha(t){return 1|t}function Nd(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const i=t.data[s];Mi(o),i.contentQueries(2,e[s],s)}}}function Zr(t,e,n,r,o,s,i,a,u,l){const c=e.blueprint.slice();return c[0]=o,c[2]=140|r,Kl(c),c[3]=c[15]=t,c[8]=n,c[10]=i||t&&t[10],c[O]=a||t&&t[O],c[12]=u||t&&t[12]||null,c[9]=l||t&&t[9]||null,c[6]=s,c[16]=2==e.type?t[16]:c,c}function Kn(t,e,n,r,o){let s=t.data[e];if(null===s)s=function(t,e,n,r,o){const s=Yl(),i=wi(),u=t.data[e]=function(t,e,n,r,o,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,e,r,o);return null===t.firstChild&&(t.firstChild=u),null!==s&&(i?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u)),u}(t,e,n,r,o),M.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const i=function(){const t=M.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===i?-1:i.injectorIndex}return St(s,!0),s}function Zn(t,e,n,r){if(0===n)return-1;const o=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function Yr(t,e,n){Lo(e);try{const r=t.viewQuery;null!==r&&Ra(1,r,n);const o=t.template;null!==o&&Fd(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Nd(t,e),t.staticViewQueries&&Ra(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)mb(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,Vo()}}function Yn(t,e,n,r){const o=e[2];if(256==(256&o))return;Lo(e);const s=Oo();try{Kl(e),function(t){M.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Fd(t,e,n,2,r);const i=3==(3&o);if(!s)if(i){const l=t.preOrderCheckHooks;null!==l&&Ho(e,l,null)}else{const l=t.preOrderHooks;null!==l&&Uo(e,l,0,null),xi(e,0)}if(function(t){for(let e=na(t);null!==e;e=ra(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const o=n[r],s=o[3];0==(1024&o[2])&&Ci(s,1),o[2]|=1024}}}(e),function(t){for(let e=na(t);null!==e;e=ra(e))for(let n=10;n<e.length;n++){const r=e[n],o=r[1];vi(r)&&Yn(o,r,o.template,r[8])}}(e),null!==t.contentQueries&&Nd(t,e),!s)if(i){const l=t.contentCheckHooks;null!==l&&Ho(e,l)}else{const l=t.contentHooks;null!==l&&Uo(e,l,1),xi(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)on(~o);else{const s=o,i=n[++r],a=n[++r];wy(i,s),a(2,e[s])}}}finally{on(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)gb(t,e[n])}(e,a);const u=t.viewQuery;if(null!==u&&Ra(2,u,r),!s)if(i){const l=t.viewCheckHooks;null!==l&&Ho(e,l)}else{const l=t.viewHooks;null!==l&&Uo(e,l,2),xi(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ci(e[3],-1))}finally{Vo()}}function KD(t,e,n,r){const o=e[10],s=!Oo(),i=function(t){return 4==(4&t[2])}(e);try{s&&!i&&o.begin&&o.begin(),i&&Yr(t,e,r),Yn(t,e,n,r)}finally{s&&!i&&o.end&&o.end()}}function Fd(t,e,n,r,o){const s=ke(),i=2&r;try{on(-1),i&&e.length>Y&&Cd(t,e,Y,Oo()),n(r,o)}finally{on(s)}}function Od(t,e,n){if(gi(e)){const o=e.directiveEnd;for(let s=e.directiveStart;s<o;s++){const i=t.data[s];i.contentQueries&&i.contentQueries(1,n[s],s)}}}function Ea(t,e,n){!Zl()||(function(t,e,n,r){const o=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Or(n,e),Se(r,e);const i=n.initialInputs;for(let a=o;a<s;a++){const u=t.data[a],l=mt(u);l&&cb(e,n,u);const c=kr(e,t,a,n);Se(c,e),null!==i&&db(0,a-o,c,u,0,i),l&&(Je(n.index,e)[8]=c)}}(t,e,n,ot(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,a=M.lFrame.currentDirectiveIndex;try{on(i);for(let u=r;u<o;u++){const l=t.data[u],c=e[u];Ii(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&$d(l,c)}}finally{on(-1),Ii(a)}}(t,e,n))}function Ia(t,e,n=ot){const r=e.localNames;if(null!==r){let o=e.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],a=-1===i?n(e,t):t[i];t[o++]=a}}}function kd(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=cs(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function cs(t,e,n,r,o,s,i,a,u,l){const c=Y+r,d=c+o,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:A);return n}(c,d),p="function"==typeof l?l():l;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1}}function jd(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const o=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,o):n[r]=[e,o]}return n}function Ta(t,e,n,r){let o=!1;if(Zl()){const s=function(t,e,n){const r=t.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const i=r[s];bd(n,i.selectors,!1)&&(o||(o=[]),Wo(Or(n,e),t,i.type),mt(i)?(Gd(t,n),o.unshift(i)):o.push(i))}return o}(t,e,n),i=null===r?null:{"":-1};if(null!==s){o=!0,zd(n,t.data.length,s.length);for(let c=0;c<s.length;c++){const d=s[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=Zn(t,e,s.length,null);for(let c=0;c<s.length;c++){const d=s[c];n.mergedAttrs=Go(n.mergedAttrs,d.hostAttrs),qd(t,n,e,l,d),lb(l,d,i),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function(t,e){const r=e.directiveEnd,o=t.data,s=e.attrs,i=[];let a=null,u=null;for(let l=e.directiveStart;l<r;l++){const c=o[l],d=c.inputs,f=null===s||Dd(e)?null:fb(d,s);i.push(f),a=jd(d,l,a),u=jd(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=a,e.outputs=u}(t,n)}i&&function(t,e,n){if(e){const r=t.localNames=[];for(let o=0;o<e.length;o+=2){const s=n[e[o+1]];if(null==s)throw new Ge("301",`Export of name '${e[o+1]}' not found!`);r.push(e[o],s)}}}(n,r,i)}return n.mergedAttrs=Go(n.mergedAttrs,n.attrs),o}function Ud(t,e,n,r,o,s){const i=s.hostBindings;if(i){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const u=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,i)}}function $d(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Gd(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function lb(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;mt(e)&&(n[""]=t)}}function zd(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function qd(t,e,n,r,o){t.data[r]=o;const s=o.factory||(o.factory=_n(o.type)),i=new Nr(s,mt(o),null);t.blueprint[r]=i,n[r]=i,Ud(t,e,0,r,Zn(t,n,o.hostVars,A),o)}function cb(t,e,n){const r=ot(e,t),o=kd(n),s=t[10],i=ds(t,Zr(t,o,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=i}function db(t,e,n,r,o,s){const i=s[e];if(null!==i){const a=r.setInput;for(let u=0;u<i.length;){const l=i[u++],c=i[u++],d=i[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function fb(t,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,t[o],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Wd(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function gb(t,e){const n=Je(e,t);if(vi(n)){const r=n[1];80&n[2]?Yn(r,n,r.template,n[8]):n[5]>0&&xa(n)}}function xa(t){for(let r=na(t);null!==r;r=ra(r))for(let o=10;o<r.length;o++){const s=r[o];if(1024&s[2]){const i=s[1];Yn(i,s,i.template,s[8])}else s[5]>0&&xa(s)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Je(n[r],t);vi(o)&&o[5]>0&&xa(o)}}function mb(t,e){const n=Je(e,t),r=n[1];(function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),Yr(r,n,n[8])}function ds(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Sa(t){for(;t;){t[2]|=64;const e=Qr(t);if(oy(t)&&!e)return t;t=e}return null}function Pa(t,e,n){const r=e[10];r.begin&&r.begin();try{Yn(t,e,t.template,n)}catch(o){throw Yd(e,o),o}finally{r.end&&r.end()}}function Jd(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Zi(n),o=r[1];KD(o,r,o.template,n)}}(t[8])}function Ra(t,e,n){Mi(0),e(t,n)}const vb=(()=>Promise.resolve(null))();function Qd(t){return t[7]||(t[7]=[])}function Kd(t){return t.cleanup||(t.cleanup=[])}function Yd(t,e){const n=t[9],r=n?n.get(Wn,null):null;r&&r.handleError(e)}function Xd(t,e,n,r,o){for(let s=0;s<n.length;){const i=n[s++],a=n[s++],u=e[i],l=t.data[i];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function qt(t,e,n){const r=Fo(e,t);!function(t,e,n){ae(t)?t.setValue(e,n):e.textContent=n}(t[O],r,n)}function fs(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,s=0;if(null!==e)for(let i=0;i<e.length;i++){const a=e[i];"number"==typeof a?s=a:1==s?o=si(o,a):2==s&&(r=si(r,a+": "+e[++i]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}const Na=new G("INJECTOR",-1);class ef{get(e,n=jr){if(n===jr){const r=new Error(`NullInjectorError: No provider for ${U(e)}!`);throw r.name="NullInjectorError",r}return n}}const Fa=new G("Set Injector scope."),Xr={},Eb={};let Oa;function tf(){return void 0===Oa&&(Oa=new ef),Oa}function nf(t,e=null,n=null,r){const o=rf(t,e,n,r);return o._resolveInjectorDefTypes(),o}function rf(t,e=null,n=null,r){return new Ib(t,n,e||tf(),r)}class Ib{constructor(e,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&At(n,a=>this.processProvider(a,e,n)),At([e],a=>this.processInjectorType(a,[],s)),this.records.set(Na,Xn(void 0,this));const i=this.records.get(Fa);this.scope=null!=i?i.value:null,this.source=o||("object"==typeof e?null:U(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=jr,r=F.Default){this.assertNotDestroyed();const o=Tc(this),s=en(void 0);try{if(!(r&F.SkipSelf)){let a=this.records.get(e);if(void 0===a){const u=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof G}(e)&&ui(e);a=u&&this.injectableDefInScope(u)?Xn(ka(e),Xr):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&F.Self?tf():this.parent).get(e,n=r&F.Optional&&n===jr?null:n)}catch(i){if("NullInjectorError"===i.name){if((i[Zo]=i[Zo]||[]).unshift(U(e)),o)throw i;return function(t,e,n,r){const o=t[Zo];throw e[Ic]&&o.unshift(e[Ic]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=U(e);if(Array.isArray(e))o=e.map(U).join(" -> ");else if("object"==typeof e){let s=[];for(let i in e)if(e.hasOwnProperty(i)){let a=e[i];s.push(i+":"+("string"==typeof a?JSON.stringify(a):U(a)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(t_,"\n  ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t[Zo]=null,t}(i,e,"R3InjectorError",this.source)}throw i}finally{en(s),Tc(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,o)=>e.push(U(o))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,n,r){if(!(e=N(e)))return!1;let o=Nl(e);const s=null==o&&e.ngModule||void 0,i=void 0===s?e:s,a=-1!==r.indexOf(i);if(void 0!==s&&(o=Nl(s)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(i);try{At(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:p}=c[d];At(p,h=>this.processProvider(h,f,p||K))}}this.injectorDefTypes.add(i);const u=_n(i)||(()=>new i);this.records.set(i,Xn(u,Xr));const l=o.providers;if(null!=l&&!a){const c=e;At(l,d=>this.processProvider(d,c,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,n,r){let o=er(e=N(e))?e:N(e&&e.provide);const s=function(t,e,n){return af(t)?Xn(void 0,t.useValue):Xn(function(t,e,n){let r;if(er(t)){const o=N(t);return _n(o)||ka(o)}if(af(t))r=()=>N(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Hi(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>R(N(t.useExisting));else{const o=N(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return _n(o)||ka(o);r=()=>new o(...Hi(t.deps))}return r}(t),Xr)}(e);if(er(e)||!0!==e.multi)this.records.get(o);else{let i=this.records.get(o);i||(i=Xn(void 0,Xr,!0),i.factory=()=>Hi(i.multi),this.records.set(o,i)),o=e,i.multi.push(e)}this.records.set(o,s)}hydrate(e,n){return n.value===Xr&&(n.value=Eb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=N(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ka(t){const e=ui(t),n=null!==e?e.factory:_n(t);if(null!==n)return n;if(t instanceof G)throw new Error(`Token ${U(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const r=function(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?");throw new Error(`Can't resolve all parameters for ${U(t)}: (${r.join(", ")}).`)}const n=function(t){const e=t&&(t[Mo]||t[Fl]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Xn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function af(t){return null!==t&&"object"==typeof t&&r_ in t}function er(t){return"function"==typeof t}let Ve=(()=>{class t{static create(n,r){var o;if(Array.isArray(n))return nf({name:""},r,n,"");{const s=null!==(o=n.name)&&void 0!==o?o:"";return nf({name:s},n.parent,n.providers,s)}}}return t.THROW_IF_NOT_FOUND=jr,t.NULL=new ef,t.\u0275prov=W({token:t,providedIn:"any",factory:()=>R(Na)}),t.__NG_ELEMENT_ID__=-1,t})();function Hb(t,e){jo(Zi(t)[1],De())}let ps=null;function tr(){if(!ps){const t=J.Symbol;if(t&&t.iterator)ps=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ps=r)}}}return ps}function eo(t){return!!ja(t)&&(Array.isArray(t)||!(t instanceof Map)&&tr()in t)}function ja(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ae(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Ee(t,e,n,r,o,s,i,a){const u=y(),l=$(),c=t+Y,d=l.firstCreatePass?function(t,e,n,r,o,s,i,a,u){const l=e.consts,c=Kn(e,t,4,i||null,rn(l,a));Ta(e,n,c,rn(l,u)),jo(e,c);const d=c.tViews=cs(2,c,r,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,c),d.queries=e.queries.embeddedTView(c)),c}(c,l,u,e,n,r,o,s,i):l.data[c];St(d,!1);const f=u[O].createComment("");ss(l,u,f,d),Se(f,u),ds(u,u[c]=Wd(f,u,f,d)),No(d)&&Ea(l,u,d),null!=i&&Ia(u,d,a)}function V(t,e=F.Default){const n=y();return null===n?R(t,e):gc(De(),n,N(t),e)}function se(t,e,n){const r=y();return Ae(r,Fn(),e)&&function(t,e,n,r,o,s,i,a){const u=ot(e,n);let c,l=e.inputs;!a&&null!=l&&(c=l[r])?(Xd(t,n,c,r,o),Ro(e)&&function(t,e){const n=Je(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),o=null!=i?i(o,e.value||"",r):o,ae(s)?s.setProperty(u,r,o):Ai(r)||(u.setProperty?u.setProperty(r,o):u[r]=o))}($(),function(){const t=M.lFrame;return bi(t.tView,t.selectedIndex)}(),r,t,e,r[O],n,!1),se}function za(t,e,n,r,o){const i=o?"class":"style";Xd(t,n,e.inputs[i],i,r)}function j(t,e,n,r){const o=y(),s=$(),i=Y+t,a=o[O],u=o[i]=sa(a,e,M.lFrame.currentNamespace),l=s.firstCreatePass?function(t,e,n,r,o,s,i){const a=e.consts,l=Kn(e,t,2,o,rn(a,s));return Ta(e,n,l,rn(a,i)),null!==l.attrs&&fs(l,l.attrs,!1),null!==l.mergedAttrs&&fs(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(i,s,o,0,e,n,r):s.data[i];St(l,!0);const c=l.mergedAttrs;null!==c&&$o(a,u,c);const d=l.classes;null!==d&&da(a,u,d);const f=l.styles;null!==f&&md(a,u,f),64!=(64&l.flags)&&ss(s,o,u,l),0===M.lFrame.elementDepthCount&&Se(u,o),M.lFrame.elementDepthCount++,No(l)&&(Ea(s,o,l),Od(s,l,o)),null!==r&&Ia(o,l)}function H(){let t=De();wi()?Ei():(t=t.parent,St(t,!1));const e=t;M.lFrame.elementDepthCount--;const n=$();n.firstCreatePass&&(jo(n,t),gi(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&za(n,e,y(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&za(n,e,y(),e.stylesWithoutHost,!1)}function Ot(t,e,n,r){j(t,e,n,r),H()}function ms(t,e,n){const r=y(),o=$(),s=t+Y,i=o.firstCreatePass?function(t,e,n,r,o){const s=e.consts,i=rn(s,r),a=Kn(e,t,8,"ng-container",i);return null!==i&&fs(a,i,!0),Ta(e,n,a,rn(s,o)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,o,r,e,n):o.data[s];St(i,!0);const a=r[s]=r[O].createComment("");ss(o,r,a,i),Se(a,r),No(i)&&(Ea(o,r,i),Od(o,i,r)),null!=n&&Ia(r,i)}function ys(){let t=De();const e=$();wi()?Ei():(t=t.parent,St(t,!1)),e.firstCreatePass&&(jo(e,t),gi(t)&&e.queries.elementEnd(t))}function Wt(){return y()}function qa(t){return!!t&&"function"==typeof t.then}const Ev=function(t){return!!t&&"function"==typeof t.subscribe};function at(t,e,n,r){const o=y(),s=$(),i=De();return function(t,e,n,r,o,s,i,a){const u=No(r),c=t.firstCreatePass&&Kd(t),d=e[8],f=Qd(e);let p=!0;if(3&r.type||a){const _=ot(r,e),D=a?a(_):_,g=f.length,w=a?P=>a(he(P[r.index])):r.index;if(ae(n)){let P=null;if(!a&&u&&(P=function(t,e,n,r){const o=t.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const i=o[s];if(i===n&&o[s+1]===r){const a=e[7],u=o[s+2];return a.length>u?a[u]:null}"string"==typeof i&&(s+=2)}return null}(t,e,o,r.index)),null!==P)(P.__ngLastListenerFn__||P).__ngNextListenerFn__=s,P.__ngLastListenerFn__=s,p=!1;else{s=Wa(r,e,d,s,!1);const z=n.listen(D,o,s);f.push(s,z),c&&c.push(o,w,g,g+1)}}else s=Wa(r,e,d,s,!0),D.addEventListener(o,s,i),f.push(s),c&&c.push(o,w,g,i)}else s=Wa(r,e,d,s,!1);const h=r.outputs;let m;if(p&&null!==h&&(m=h[o])){const _=m.length;if(_)for(let D=0;D<_;D+=2){const Ye=e[m[D]][m[D+1]].subscribe(s),In=f.length;f.push(s,Ye),c&&c.push(o,r.index,In,-(In+1))}}}(s,o,o[O],i,t,e,!!n,r),at}function Gf(t,e,n,r){try{return!1!==n(r)}catch(o){return Yd(t,o),!1}}function Wa(t,e,n,r,o){return function s(i){if(i===Function)return r;const a=2&t.flags?Je(t.index,e):e;0==(32&e[2])&&Sa(a);let u=Gf(e,0,r,i),l=s.__ngNextListenerFn__;for(;l;)u=Gf(e,0,l,i)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(i.preventDefault(),i.returnValue=!1),u}}function q(t=1){return function(t){return(M.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,M.lFrame.contextLView))[8]}(t)}function ep(t,e,n,r,o){const s=t[n+1],i=null===e;let a=r?Dt(s):zt(s),u=!1;for(;0!==a&&(!1===u||i);){const c=t[a+1];Pv(t[a],e)&&(u=!0,t[a+1]=r?ha(c):fa(c)),a=r?Dt(c):zt(c)}u&&(t[n+1]=r?fa(s):ha(s))}function Pv(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&$n(t,e)>=0}function pr(t,e){return function(t,e,n,r){const o=y(),s=$(),i=function(t){const e=M.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}(2);s.firstUpdatePass&&function(t,e,n,r){const o=t.data;if(null===o[n+1]){const s=o[ke()],i=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(s,r)&&null===e&&!i&&(e=!1),e=function(t,e,n,r){const o=function(t){const e=M.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=r?e.residualClasses:e.residualStyles;if(null===o)0===(r?e.classBindings:e.styleBindings)&&(n=no(n=Qa(null,t,e,n,r),e.attrs,r),s=null);else{const i=e.directiveStylingLast;if(-1===i||t[i]!==o)if(n=Qa(o,t,e,n,r),null===s){let u=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==zt(r))return t[Dt(r)]}(t,e,r);void 0!==u&&Array.isArray(u)&&(u=Qa(null,t,e,u[1],r),u=no(u,e.attrs,r),function(t,e,n,r){t[Dt(n?e.classBindings:e.styleBindings)]=r}(t,e,r,u))}else s=function(t,e,n){let r;const o=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<o;s++)r=no(r,t[s].hostAttrs,n);return no(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(o,s,e,r),function(t,e,n,r,o,s){let i=s?e.classBindings:e.styleBindings,a=Dt(i),u=zt(i);t[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||$n(d,c)>0)&&(l=!0)}else c=n;if(o)if(0!==u){const f=Dt(t[a+1]);t[r+1]=as(f,a),0!==f&&(t[f+1]=pa(t[f+1],r)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=as(a,0),0!==a&&(t[a+1]=pa(t[a+1],r)),a=r;else t[r+1]=as(u,0),0===a?a=r:t[u+1]=pa(t[u+1],r),u=r;l&&(t[r+1]=fa(t[r+1])),ep(t,c,r,!0),ep(t,c,r,!1),function(t,e,n,r,o){const s=o?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&$n(s,e)>=0&&(n[r+1]=ha(n[r+1]))}(e,c,t,r,s),i=as(a,u),s?e.classBindings=i:e.styleBindings=i}(o,s,e,n,i,r)}}(s,t,i,r),e!==A&&Ae(o,i,e)&&function(t,e,n,r,o,s,i,a){if(!(3&e.type))return;const u=t.data,l=u[a+1];_s(function(t){return 1==(1&t)}(l)?fp(u,e,n,o,zt(l),i):void 0)||(_s(s)||function(t){return 2==(2&t)}(l)&&(s=fp(u,null,n,o,a,i)),function(t,e,n,r,o){const s=ae(t);if(e)o?s?t.addClass(n,r):n.classList.add(r):s?t.removeClass(n,r):n.classList.remove(r);else{let i=-1===r.indexOf("-")?void 0:Ke.DashCase;if(null==o)s?t.removeStyle(n,r,i):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),i|=Ke.Important),s?t.setStyle(n,r,o,i):n.style.setProperty(r,o,a?"important":"")}}}(r,i,Fo(ke(),n),o,s))}(s,s.data[ke()],o,o[O],t,o[i+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=U(an(t)))),t}(e,n),r,i)}(t,e,null,!0),pr}function Qa(t,e,n,r,o){let s=null;const i=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<i&&(s=e[a],r=no(r,s.hostAttrs,o),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function no(t,e,n){const r=n?1:2;let o=-1;if(null!==e)for(let s=0;s<e.length;s++){const i=e[s];"number"==typeof i?o=i:o===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Qe(t,i,!!n||e[++s]))}return void 0===t?null:t}function fp(t,e,n,r,o,s){const i=null===e;let a;for(;o>0;){const u=t[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===A&&(f=d?K:void 0);let p=d?Vi(f,r):c===r?f:void 0;if(l&&!_s(p)&&(p=Vi(u,r)),_s(p)&&(a=p,i))return a;const h=t[o+1];o=i?Dt(h):zt(h)}if(null!==e){let u=s?e.residualClasses:e.residualStyles;null!=u&&(a=Vi(u,r))}return a}function _s(t){return void 0!==t}function Vt(t,e=""){const n=y(),r=$(),o=t+Y,s=r.firstCreatePass?Kn(r,o,1,e,null):r.data[o],i=n[o]=function(t,e){return ae(t)?t.createText(e):t.createTextNode(e)}(n[O],e);ss(r,n,i,s),St(s,!1)}function vn(t){return ro("",t,""),vn}function ro(t,e,n){const r=y(),o=function(t,e,n,r){return Ae(t,Fn(),n)?e+S(n)+r:A}(r,t,e,n);return o!==A&&qt(r,ke(),o),ro}const Cn=void 0;var fC=["en",[["a","p"],["AM","PM"],Cn],[["AM","PM"],Cn,Cn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Cn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Cn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Cn,"{1} 'at' {0}",Cn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let hr={};function Fp(t){return t in hr||(hr[t]=J.ng&&J.ng.common&&J.ng.common.locales&&J.ng.common.locales[t]),hr[t]}var C=(()=>((C=C||{})[C.LocaleId=0]="LocaleId",C[C.DayPeriodsFormat=1]="DayPeriodsFormat",C[C.DayPeriodsStandalone=2]="DayPeriodsStandalone",C[C.DaysFormat=3]="DaysFormat",C[C.DaysStandalone=4]="DaysStandalone",C[C.MonthsFormat=5]="MonthsFormat",C[C.MonthsStandalone=6]="MonthsStandalone",C[C.Eras=7]="Eras",C[C.FirstDayOfWeek=8]="FirstDayOfWeek",C[C.WeekendRange=9]="WeekendRange",C[C.DateFormat=10]="DateFormat",C[C.TimeFormat=11]="TimeFormat",C[C.DateTimeFormat=12]="DateTimeFormat",C[C.NumberSymbols=13]="NumberSymbols",C[C.NumberFormats=14]="NumberFormats",C[C.CurrencyCode=15]="CurrencyCode",C[C.CurrencySymbol=16]="CurrencySymbol",C[C.CurrencyName=17]="CurrencyName",C[C.Currencies=18]="Currencies",C[C.Directionality=19]="Directionality",C[C.PluralCase=20]="PluralCase",C[C.ExtraData=21]="ExtraData",C))();const Ds="en-US";let Op=Ds;class ih{}class gw{resolveComponentFactory(e){throw function(t){const e=Error(`No component factory found for ${U(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(e)}}let wn=(()=>{class t{}return t.NULL=new gw,t})();function mw(){return mr(De(),y())}function mr(t,e){return new yr(ot(t,e))}let yr=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=mw,t})();class uh{}let bw=(()=>{class t{}return t.\u0275prov=W({token:t,providedIn:"root",factory:()=>null}),t})();class Es{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const vw=new Es("13.1.1"),nu={};function Is(t,e,n,r,o=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(he(s)),gt(s))for(let a=10;a<s.length;a++){const u=s[a],l=u[1].firstChild;null!==l&&Is(u[1],u,l,r)}const i=n.type;if(8&i)Is(t,e,n.child,r);else if(32&i){const a=ta(n,e);let u;for(;u=a();)r.push(u)}else if(16&i){const a=pd(e,n);if(Array.isArray(a))r.push(...a);else{const u=Qr(e[16]);Is(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class uo{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return Is(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(gt(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(ia(e,r),Qo(n,r))}this._attachedToViewContainer=!1}od(this._lView[1],this._lView)}onDestroy(e){!function(t,e,n,r){const o=Qd(e);null===n?o.push(r):(o.push(n),t.firstCreatePass&&Kd(t).push(r,o.length-1))}(this._lView[1],this._lView,null,e)}markForCheck(){Sa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Pa(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){ko(!0);try{Pa(t,e,n)}finally{ko(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function(t,e){Kr(t,e,e[O],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Cw extends uo{constructor(e){super(e),this._view=e}detectChanges(){Jd(this._view)}checkNoChanges(){!function(t){ko(!0);try{Jd(t)}finally{ko(!1)}}(this._view)}get context(){return null}}class ch extends wn{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=Me(e);return new ru(n,this.ngModule)}}function dh(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Ew=new G("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Kc});class ru extends ih{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function(t){return t.map(FD).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return dh(this.componentDef.inputs)}get outputs(){return dh(this.componentDef.outputs)}create(e,n,r,o){const s=(o=o||this.ngModule)?function(t,e){return{get:(n,r,o)=>{const s=t.get(n,nu,o);return s!==nu||r===nu?s:e.get(n,r,o)}}}(e,o.injector):e,i=s.get(uh,Jl),a=s.get(bw,null),u=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(t,e,n){if(ae(t))return t.selectRootElement(e,n===Mt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(u,r,this.componentDef.encapsulation):sa(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?ql:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f=function(t,e){return{components:[],scheduler:t||Kc,clean:vb,playerHandler:e||null,flags:0}}(),p=cs(0,null,null,1,0,null,null,null,null,null),h=Zr(null,p,f,d,null,null,i,u,a,s);let m,_;Lo(h);try{const D=function(t,e,n,r,o,s){const i=n[1];n[20]=t;const u=Kn(i,20,2,"#host",null),l=u.mergedAttrs=e.hostAttrs;null!==l&&(fs(u,l,!0),null!==t&&($o(o,t,l),null!==u.classes&&da(o,t,u.classes),null!==u.styles&&md(o,t,u.styles)));const c=r.createRenderer(t,e),d=Zr(n,kd(e),null,e.onPush?64:16,n[20],u,r,c,s||null,null);return i.firstCreatePass&&(Wo(Or(u,n),i,e.type),Gd(i,u),zd(u,n.length,1)),ds(n,d),n[20]=d}(c,this.componentDef,h,i,u);if(c)if(r)$o(u,c,["ng-version",vw.full]);else{const{attrs:g,classes:w}=function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===o?""!==s&&e.push(s,t[++r]):8===o&&n.push(s);else{if(!_t(o))break;o=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);g&&$o(u,c,g),w&&w.length>0&&da(u,c,w.join(" "))}if(_=bi(p,Y),void 0!==n){const g=_.projection=[];for(let w=0;w<this.ngContentSelectors.length;w++){const P=n[w];g.push(null!=P?Array.from(P):null)}}m=function(t,e,n,r,o){const s=n[1],i=function(t,e,n){const r=De();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),qd(t,r,e,Zn(t,e,1,null),n));const o=kr(e,t,r.directiveStart,r);Se(o,e);const s=ot(r,e);return s&&Se(s,e),o}(s,n,e);if(r.components.push(i),t[8]=i,o&&o.forEach(u=>u(i,e)),e.contentQueries){const u=De();e.contentQueries(1,i,u.directiveStart)}const a=De();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(on(a.index),Ud(n[1],a,0,a.directiveStart,a.directiveEnd,e),$d(e,i)),i}(D,this.componentDef,h,f,[Hb]),Yr(p,h,null)}finally{Vo()}return new Mw(this.componentType,m,mr(_,h),h,_)}}class Mw extends class{}{constructor(e,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new Cw(o),this.componentType=e}get injector(){return new Vn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class _r{}const Dr=new Map;class hh extends _r{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ch(this);const r=tt(e);this._bootstrapComponents=Rt(r.bootstrap),this._r3Injector=rf(e,n,[{provide:_r,useValue:this},{provide:wn,useValue:this.componentFactoryResolver}],U(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=Ve.THROW_IF_NOT_FOUND,r=F.Default){return e===Ve||e===_r||e===Na?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ou extends class{}{constructor(e){super(),this.moduleType=e,null!==tt(e)&&function(t){const e=new Set;!function n(r){const o=tt(r,!0),s=o.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${U(e)} vs ${U(e.name)}`)}(s,Dr.get(s),r),Dr.set(s,r));const i=Rt(o.imports);for(const a of i)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new hh(this.moduleType,e)}}function mh(t,e,n,r,o,s,i){const a=e+n;return function(t,e,n,r){const o=Ae(t,e,n);return Ae(t,e+1,r)||o}(t,a,o,s)?function(t,e,n){return t[e]=n}(t,a+2,i?r.call(i,o,s):r(o,s)):function(t,e){const n=t[e];return n===A?void 0:n}(t,a+2)}function vh(t,e,n,r){const o=t+Y,s=y(),i=function(t,e){return t[e]}(s,o);return function(t,e){return t[1].data[e].pure}(s,o)?mh(s,function(){const t=M.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),e,i.transform,n,r,i):i.transform(n,r)}function su(t){return e=>{setTimeout(t,void 0,e)}}const ut=class extends Ir{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var o,s,i;let a=e,u=n||(()=>null),l=r;if(e&&"object"==typeof e){const d=e;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(s=d.error)||void 0===s?void 0:s.bind(d),l=null===(i=d.complete)||void 0===i?void 0:i.bind(d)}this.__isAsync&&(u=su(u),a&&(a=su(a)),l&&(l=su(l)));const c=super.subscribe({next:a,error:u,complete:l});return e instanceof oe&&e.add(c),c}};Symbol;let Jt=(()=>{class t{}return t.__NG_ELEMENT_ID__=Kw,t})();const Jw=Jt,Qw=class extends Jw{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e){const n=this._declarationTContainer.tViews,r=Zr(this._declarationLView,n,e,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),Yr(n,r,e),new uo(r)}};function Kw(){return function(t,e){return 4&t.type?new Qw(e,t,mr(t,e)):null}(De(),y())}let Bt=(()=>{class t{}return t.__NG_ELEMENT_ID__=Zw,t})();function Zw(){return function(t,e){let n;const r=e[t.index];if(gt(r))n=r;else{let o;if(8&t.type)o=he(r);else{const s=e[O];o=s.createComment("");const i=ot(t,e);Dn(s,os(s,i),o,function(t,e){return ae(t)?t.nextSibling(e):e.nextSibling}(s,i),!1)}e[t.index]=n=Wd(r,e,o,t),ds(e,n)}return new Ch(n,t,e)}(De(),y())}const Yw=Bt,Ch=class extends Yw{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return mr(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){const e=qo(this._hostTNode,this._hostLView);if(cc(e)){const n=Ln(e,this._hostLView),r=kn(e);return new Vn(n[1].data[r+8],n)}return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=wh(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){const o=e.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(e,n,r,o,s){const i=e&&!function(t){return"function"==typeof t}(e);let a;if(i)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,s=d.ngModuleRef}const u=i?e:new ru(Me(e)),l=r||this.parentInjector;if(!s&&null==u.ngModule&&l){const d=l.get(_r,null);d&&(s=d)}const c=u.create(l,o,void 0,s);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,o=r[1];if(function(t){return gt(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new Ch(d,d[6],d[3]);f.detach(f.indexOf(e))}}const s=this._adjustIndex(n),i=this._lContainer;!function(t,e,n,r){const o=10+r,s=n.length;r>0&&(n[o-1][4]=e),r<s-10?(e[4]=n[o],bc(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const i=e[17];null!==i&&n!==i&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(i,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(o,r,i,s);const a=la(s,i),u=r[O],l=os(u,i[7]);return null!==l&&function(t,e,n,r,o,s){r[0]=o,r[6]=e,Kr(t,r,n,1,o,s)}(o,i[6],u,r,l,a),e.attachToViewContainerRef(),bc(au(i),s,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=wh(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=ia(this._lContainer,n);r&&(Qo(au(this._lContainer),n),od(r[1],r))}detach(e){const n=this._adjustIndex(e,-1),r=ia(this._lContainer,n);return r&&null!=Qo(au(this._lContainer),n)?new uo(r):null}_adjustIndex(e,n=0){return null==e?this.length+n:e}};function wh(t){return t[8]}function au(t){return t[8]||(t[8]=[])}function Ss(...t){}const _u=new G("Application Initializer");let vr=(()=>{class t{constructor(n){this.appInits=n,this.resolve=Ss,this.reject=Ss,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const s=this.appInits[o]();if(qa(s))n.push(s);else if(Ev(s)){const i=new Promise((a,u)=>{s.subscribe({complete:a,error:u})});n.push(i)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(R(_u,8))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const po=new G("AppId"),SE={provide:po,useFactory:function(){return`${Du()}${Du()}${Du()}`},deps:[]};function Du(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qh=new G("Platform Initializer"),As=new G("Platform ID"),AE=new G("appBootstrapListener");let PE=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const cn=new G("LocaleId"),Wh=new G("DefaultCurrencyCode");class RE{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let Jh=(()=>{class t{compileModuleSync(n){return new ou(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Rt(tt(n).declarations).reduce((i,a)=>{const u=Me(a);return u&&i.push(new ru(u)),i},[]);return new RE(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const FE=(()=>Promise.resolve(0))();function bu(t){"undefined"==typeof Zone?FE.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ie{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ut(!1),this.onMicrotaskEmpty=new ut(!1),this.onStable=new ut(!1),this.onError=new ut(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function(){let t=J.requestAnimationFrame,e=J.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(J,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Cu(t),t.isCheckStableRunning=!0,vu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Cu(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,i,a)=>{try{return Qh(t),n.invokeTask(o,s,i,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),Kh(t)}},onInvoke:(n,r,o,s,i,a,u)=>{try{return Qh(t),n.invoke(o,s,i,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Kh(t)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Cu(t),vu(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+o,e,kE,Ss,Ss);try{return s.runTask(i,n,r)}finally{s.cancelTask(i)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const kE={};function vu(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Cu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Qh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Kh(t){t._nesting--,vu(t)}class BE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ut,this.onMicrotaskEmpty=new ut,this.onStable=new ut,this.onError=new ut}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}}let wu=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ie.assertNotInAngularZone(),bu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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())bu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(i=>i.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,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}findProviders(n,r,o){return[]}}return t.\u0275fac=function(n){return new(n||t)(R(Ie))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})(),Zh=(()=>{class t{constructor(){this._applications=new Map,Eu.addToWindow(this)}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 Eu.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();class jE{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let wt,Eu=new jE;const Yh=new G("AllowMultipleToken");function Xh(t,e,n=[]){const r=`Platform: ${e}`,o=new G(r);return(s=[])=>{let i=eg();if(!i||i.injector.get(Yh,!1))if(t)t(n.concat(s).concat({provide:o,useValue:!0}));else{const a=n.concat(s).concat({provide:o,useValue:!0},{provide:Fa,useValue:"platform"});!function(t){if(wt&&!wt.destroyed&&!wt.injector.get(Yh,!1))throw new Ge("400","");wt=t.get(tg);const e=t.get(qh,null);e&&e.forEach(n=>n())}(Ve.create({providers:a,name:r}))}return function(t){const e=eg();if(!e)throw new Ge("401","");return e}()}}function eg(){return wt&&!wt.destroyed?wt:null}let tg=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(t,e){let n;return n="noop"===t?new BE:("zone.js"===t?void 0:t)||new Ie({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ie,useValue:a}];return a.run(()=>{const l=Ve.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Wn,null);if(!d)throw new Ge("402","");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:p=>{d.handleError(p)}});c.onDestroy(()=>{Iu(this._modules,c),f.unsubscribe()})}),function(t,e,n){try{const r=n();return qa(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(vr);return f.runInitializers(),f.donePromise.then(()=>(function(t){qe(t,"Expected localeId to be defined"),"string"==typeof t&&(Op=t.toLowerCase().replace(/_/g,"-"))}(c.injector.get(cn,Ds)||Ds),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=ng({},r);return function(t,e,n){const r=new ou(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(ho);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ge("403","");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 Ge("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(R(Ve))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();function ng(t,e){return Array.isArray(e)?e.reduce(ng,t):Object.assign(Object.assign({},t),e)}let ho=(()=>{class t{constructor(n,r,o,s,i){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new ce(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new ce(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),bu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=Sl(a,u.pipe(t=>Al()(function(t,e){return function(r){let o;o="function"==typeof t?t:function(){return t};const s=Object.create(r,Nm);return s.source=r,s.subjectFactory=o,s}}(Vm)(t))))}bootstrap(n,r){if(!this._initStatus.done)throw new Ge("405","");let o;o=n instanceof ih?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const s=function(t){return t.isBoundToModule}(o)?void 0:this._injector.get(_r),a=o.create(Ve.NULL,[],r||o.selector,s),u=a.location.nativeElement,l=a.injector.get(wu,null),c=l&&a.injector.get(Zh);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Iu(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Ge("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Iu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(AE,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(R(Ie),R(Ve),R(Wn),R(wn),R(vr))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();function Iu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let og=!0,ag=(()=>{class t{}return t.__NG_ELEMENT_ID__=ZE,t})();function ZE(t){return function(t,e,n){if(Ro(t)&&!n){const r=Je(t.index,e);return new uo(r,r)}return 47&t.type?new uo(e[16],e):null}(De(),y(),16==(16&t))}class fg{constructor(){}supports(e){return eo(e)}create(e){return new o0(e)}}const r0=(t,e)=>e;class o0{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||r0}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const i=!r||n&&n.currentIndex<hg(r,o,s)?n:r,a=hg(i,o,s),u=i.currentIndex;if(i===r)o--,r=r._nextRemoved;else if(n=n._next,null==i.previousIndex)o++;else{s||(s=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const p=f<s.length?s[f]:s[f]=0,h=p+f;c<=h&&h<l&&(s[f]=p+1)}s[i.previousIndex]=c-l}}a!==u&&e(i,a,u)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}diff(e){if(null==e&&(e=[]),!eo(e))throw new Error(`Error trying to diff '${U(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let o,s,i,n=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)s=e[a],i=this._trackByFn(a,s),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,s,i,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,i,a),r=!0),n=n._next}else o=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[tr()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(e,a=>{i=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,a,i,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,s,o)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,s,o)):e=this._addAfter(new s0(n,r),s,o),e}_verifyReinsertion(e,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?e=this._reinsertAfter(s,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const o=e._prevRemoved,s=e._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const o=null===n?this._itHead:n._next;return e._next=o,e._prev=n,null===o?this._itTail=e:o._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new pg),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pg),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class s0{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class a0{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class pg{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new a0,this.map.set(n,r)),r.add(e)}get(e,n){const o=this.map.get(e);return o?o.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function hg(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class gg{constructor(){}supports(e){return e instanceof Map||ja(e)}create(){return new u0}}class u0{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(e){let n;for(n=this._mapHead;null!==n;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}diff(e){if(e){if(!(e instanceof Map||ja(e)))throw new Error(`Error trying to diff '${U(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),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(e,n){if(e){const r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const o=this._records.get(e);this._maybeAddToChanges(o,n);const s=o._prev,i=o._next;return s&&(s._next=i),i&&(i._prev=s),o._next=null,o._prev=null,o}const r=new l0(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}}class l0{constructor(e){this.key=e,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 mg(){return new go([new fg])}let go=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||mg()),deps:[[t,new $r,new Gn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(t){return t.name||typeof t}(n)}'`)}}return t.\u0275prov=W({token:t,providedIn:"root",factory:mg}),t})();function yg(){return new Cr([new gg])}let Cr=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||yg()),deps:[[t,new $r,new Gn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return t.\u0275prov=W({token:t,providedIn:"root",factory:yg}),t})();const d0=[new gg],p0=new go([new fg]),h0=new Cr(d0),g0=Xh(null,"core",[{provide:As,useValue:"unknown"},{provide:tg,deps:[Ve]},{provide:Zh,deps:[]},{provide:PE,deps:[]}]),b0=[{provide:ho,useClass:ho,deps:[Ie,Ve,Wn,wn,vr]},{provide:Ew,deps:[Ie],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(n){e.push(n)}}},{provide:vr,useClass:vr,deps:[[new Gn,_u]]},{provide:Jh,useClass:Jh,deps:[]},SE,{provide:go,useFactory:function(){return p0},deps:[]},{provide:Cr,useFactory:function(){return h0},deps:[]},{provide:cn,useFactory:function(t){return t||"undefined"!=typeof $localize&&$localize.locale||Ds},deps:[[new Yo(cn),new Gn,new $r]]},{provide:Wh,useValue:"USD"}];let C0=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(R(ho))},t.\u0275mod=pn({type:t}),t.\u0275inj=Xt({providers:b0}),t})(),Rs=null;function mo(){return Rs}const Et=new G("DocumentToken");var me=(()=>((me=me||{})[me.Zero=0]="Zero",me[me.One=1]="One",me[me.Two=2]="Two",me[me.Few=3]="Few",me[me.Many=4]="Many",me[me.Other=5]="Other",me))();const O0=function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Fp(e);if(n)return n;const r=e.split("-")[0];if(n=Fp(r),n)return n;if("en"===r)return fC;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[C.PluralCase]};class Us{}let cI=(()=>{class t extends Us{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(O0(r||this.locale)(n)){case me.Zero:return"zero";case me.One:return"one";case me.Two:return"two";case me.Few:return"few";case me.Many:return"many";default:return"other"}}}return t.\u0275fac=function(n){return new(n||t)(R(cn))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();function xg(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[o,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(s)}return null}class pI{constructor(e,n,r,o){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vu=(()=>{class t{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,s,i)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new pI(o.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,i),Sg(a,o)}});for(let o=0,s=r.length;o<s;o++){const a=r.get(o).context;a.index=o,a.count=s,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{Sg(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return t.\u0275fac=function(n){return new(n||t)(V(Bt),V(Jt),V(go))},t.\u0275dir=et({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();function Sg(t,e){t.context.$implicit=e.item}let Bu=(()=>{class t{constructor(n,r){this._viewContainer=n,this._context=new hI,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){Ag("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Ag("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}}return t.\u0275fac=function(n){return new(n||t)(V(Bt),V(Jt))},t.\u0275dir=et({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class hI{constructor(){this.$implicit=null,this.ngIf=null}}function Ag(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${U(e)}'.`)}let HI=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pn({type:t}),t.\u0275inj=Xt({providers:[{provide:Us,useClass:cI}]}),t})();class Og{}class Gu extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(t){Rs||(Rs=t)}(new Gu)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=(Do=Do||document.querySelector("base"),Do?Do.getAttribute("href"):null);return null==n?null:function(t){$s=$s||document.createElement("a"),$s.setAttribute("href",t);const e=$s.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Do=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return xg(document.cookie,e)}}let $s,Do=null;const kg=new G("TRANSITION_ID"),KI=[{provide:_u,useFactory:function(t,e,n){return()=>{n.get(vr).donePromise.then(()=>{const r=mo(),o=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s<o.length;s++)r.remove(o[s])})}},deps:[kg,Et,Ve],multi:!0}];class zu{static init(){!function(t){Eu=t}(new zu)}addToWindow(e){J.getAngularTestability=(r,o=!0)=>{const s=e.findTestabilityInTree(r,o);if(null==s)throw new Error("Could not find testability for element.");return s},J.getAllAngularTestabilities=()=>e.getAllTestabilities(),J.getAllAngularRootElements=()=>e.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(r=>{const o=J.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(u){i=i||u,s--,0==s&&r(i)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const o=e.getTestability(n);return null!=o?o:r?mo().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let ZI=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const Gs=new G("EventManagerPlugins");let zs=(()=>{class t{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)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let s=0;s<o.length;s++){const i=o[s];if(i.supports(n))return this._eventNameToPlugin.set(n,i),i}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(R(Gs),R(Ie))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();class Lg{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const o=mo().getGlobalEventTarget(this._doc,e);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Vg=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})(),bo=(()=>{class t extends Vg{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(s=>{const i=this._doc.createElement("style");i.textContent=s,o.push(r.appendChild(i))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Bg),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Bg))}}return t.\u0275fac=function(n){return new(n||t)(R(Et))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();function Bg(t){mo().remove(t)}const qu={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/"},Wu=/%COMP%/g;function qs(t,e,n){for(let r=0;r<e.length;r++){let o=e[r];Array.isArray(o)?qs(t,o,n):(o=o.replace(Wu,t),n.push(o))}return n}function Ug(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ju=(()=>{class t{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Qu(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Mt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new rT(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Mt.ShadowDom:return new oT(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=qs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(R(zs),R(bo),R(po))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();class Qu{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(qu[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;const s=qu[o];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const o=qu[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(Ke.DashCase|Ke.Important)?e.style.setProperty(n,r,o&Ke.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ke.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,Ug(r)):this.eventManager.addEventListener(e,n,Ug(r))}}class rT extends Qu{constructor(e,n,r,o){super(e),this.component=r;const s=qs(o+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(Wu,t)}(o+"-"+r.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Wu,t)}(o+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class oT extends Qu{constructor(e,n,r,o){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=qs(o.id,o.styles,[]);for(let i=0;i<s.length;i++){const a=document.createElement("style");a.textContent=s[i],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let sT=(()=>{class t extends Lg{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)}}return t.\u0275fac=function(n){return new(n||t)(R(Et))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const Gg=["alt","control","meta","shift"],aT={"\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"},zg={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},uT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let lT=(()=>{class t extends Lg{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,o){const s=t.parseEventName(r),i=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mo().onAndCancel(n,s.domEventName,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const s=t._normalizeKey(r.pop());let i="";if(Gg.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),i+=u+".")}),i+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=o,a.fullKey=i,a}static getEventFullKey(n){let r="",o=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&zg.hasOwnProperty(e)&&(e=zg[e]))}return aT[e]||e}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Gg.forEach(s=>{s!=o&&uT[s](n)&&(r+=s+".")}),r+=o,r}static eventCallback(n,r,o){return s=>{t.getEventFullKey(s)===n&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(R(Et))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const hT=Xh(g0,"browser",[{provide:As,useValue:"browser"},{provide:qh,useValue:function(){Gu.makeCurrent(),zu.init()},multi:!0},{provide:Et,useFactory:function(){return function(t){_i=t}(document),document},deps:[]}]),gT=[{provide:Fa,useValue:"root"},{provide:Wn,useFactory:function(){return new Wn},deps:[]},{provide:Gs,useClass:sT,multi:!0,deps:[Et,Ie,As]},{provide:Gs,useClass:lT,multi:!0,deps:[Et]},{provide:Ju,useClass:Ju,deps:[zs,bo,po]},{provide:uh,useExisting:Ju},{provide:Vg,useExisting:bo},{provide:bo,useClass:bo,deps:[Et]},{provide:wu,useClass:wu,deps:[Ie]},{provide:zs,useClass:zs,deps:[Gs,Ie]},{provide:Og,useClass:ZI,deps:[]}];let mT=(()=>{class t{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:t,providers:[{provide:po,useValue:n.appId},{provide:kg,useExisting:po},KI]}}}return t.\u0275fac=function(n){return new(n||t)(R(t,12))},t.\u0275mod=pn({type:t}),t.\u0275inj=Xt({providers:gT,imports:[HI,C0]}),t})();function ee(...t){let e=t[t.length-1];return wl(e)?(t.pop(),ei(t,e)):xl(t)}"undefined"!=typeof window&&window;class ST{constructor(e,n){this.predicate=e,this.thisArg=n}call(e,n){return n.subscribe(new AT(e,this.predicate,this.thisArg))}}class AT extends Te{constructor(e,n,r){super(e),this.predicate=n,this.thisArg=r,this.count=0}_next(e){let n;try{n=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}n&&this.destination.next(e)}}class Jg{}class Qg{}class pe{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),s=o.toLowerCase(),i=n.slice(r+1).trim();this.maybeSetNormalizedName(o,s),this.headers.has(s)?this.headers.get(s).push(i):this.headers.set(s,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(n=>{let r=e[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){const n=new pe;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof pe?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){const n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,n);const o=("a"===e.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const s=e.value;if(s){let i=this.headers.get(n);if(!i)return;i=i.filter(a=>-1===s.indexOf(a)),0===i.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,i)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}}class PT{encodeKey(e){return Kg(e)}encodeValue(e){return Kg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const NT=/%(\d[a-f0-9])/gi,FT={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Kg(t){return encodeURIComponent(t).replace(NT,(e,n)=>{var r;return null!==(r=FT[n])&&void 0!==r?r:e})}function Zg(t){return`${t}`}class fn{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new PT,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const s=o.indexOf("="),[i,a]=-1==s?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,s)),e.decodeValue(o.slice(s+1))],u=n.get(i)||[];u.push(a),n.set(i,u)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{const r=e.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){const n=[];return Object.keys(e).forEach(r=>{const o=e[r];Array.isArray(o)?o.forEach(s=>{n.push({param:r,value:s,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const n=new fn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const n=("a"===e.op?this.map.get(e.param):void 0)||[];n.push(Zg(e.value)),this.map.set(e.param,n);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const o=r.indexOf(Zg(e.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class OT{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function Yg(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Xg(t){return"undefined"!=typeof Blob&&t instanceof Blob}function em(t){return"undefined"!=typeof FormData&&t instanceof FormData}class vo{constructor(e,n,r,o){let s;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,s=o):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new pe),this.context||(this.context=new OT),this.params){const i=this.params.toString();if(0===i.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+i}}else this.params=new fn,this.urlWithParams=n}serializeBody(){return null===this.body?null:Yg(this.body)||Xg(this.body)||em(this.body)||function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof fn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||em(this.body)?null:Xg(this.body)?this.body.type||null:Yg(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof fn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var n;const r=e.method||this.method,o=e.url||this.url,s=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,u=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let l=e.headers||this.headers,c=e.params||this.params;const d=null!==(n=e.context)&&void 0!==n?n:this.context;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce((f,p)=>f.set(p,e.setHeaders[p]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((f,p)=>f.set(p,e.setParams[p]),c)),new vo(r,o,i,{params:c,headers:l,context:d,reportProgress:u,responseType:s,withCredentials:a})}}var _e=(()=>((_e=_e||{})[_e.Sent=0]="Sent",_e[_e.UploadProgress=1]="UploadProgress",_e[_e.ResponseHeader=2]="ResponseHeader",_e[_e.DownloadProgress=3]="DownloadProgress",_e[_e.Response=4]="Response",_e[_e.User=5]="User",_e))();class He{constructor(e,n=200,r="OK"){this.headers=e.headers||new pe,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Zu extends He{constructor(e={}){super(e),this.type=_e.ResponseHeader}clone(e={}){return new Zu({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Pe extends He{constructor(e={}){super(e),this.type=_e.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Pe({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class tm extends He{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Yu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Ws=(()=>{class t{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof vo)s=n;else{let u,l;u=o.headers instanceof pe?o.headers:new pe(o.headers),o.params&&(l=o.params instanceof fn?o.params:new fn({fromObject:o.params})),s=new vo(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const i=ee(s).pipe(function(t,e){return b(t,void 0,1)}(u=>this.handler.handle(u)));if(n instanceof vo||"events"===o.observe)return i;const a=i.pipe(function(t,e){return function(r){return r.lift(new ST(t,undefined))}}(u=>u instanceof Pe));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(Yt(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Yt(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Yt(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Yt(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new fn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Yu(o,r))}post(n,r,o={}){return this.request("POST",n,Yu(o,r))}put(n,r,o={}){return this.request("PUT",n,Yu(o,r))}}return t.\u0275fac=function(n){return new(n||t)(R(Jg))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();class nm{constructor(e,n){this.next=e,this.interceptor=n}handle(e){return this.interceptor.intercept(e,this.next)}}const rm=new G("HTTP_INTERCEPTORS");let VT=(()=>{class t{intercept(n,r){return r.handle(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const BT=/^\)\]\}',?\n/;let om=(()=>{class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((p,h)=>o.setRequestHeader(p,h.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const p=n.detectContentTypeHeader();null!==p&&o.setRequestHeader("Content-Type",p)}if(n.responseType){const p=n.responseType.toLowerCase();o.responseType="json"!==p?p:"text"}const s=n.serializeBody();let i=null;const a=()=>{if(null!==i)return i;const p=1223===o.status?204:o.status,h=o.statusText||"OK",m=new pe(o.getAllResponseHeaders()),_=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||n.url;return i=new Zu({headers:m,status:p,statusText:h,url:_}),i},u=()=>{let{headers:p,status:h,statusText:m,url:_}=a(),D=null;204!==h&&(D=void 0===o.response?o.responseText:o.response),0===h&&(h=D?200:0);let g=h>=200&&h<300;if("json"===n.responseType&&"string"==typeof D){const w=D;D=D.replace(BT,"");try{D=""!==D?JSON.parse(D):null}catch(P){D=w,g&&(g=!1,D={error:P,text:D})}}g?(r.next(new Pe({body:D,headers:p,status:h,statusText:m,url:_||void 0})),r.complete()):r.error(new tm({error:D,headers:p,status:h,statusText:m,url:_||void 0}))},l=p=>{const{url:h}=a(),m=new tm({error:p,status:o.status||0,statusText:o.statusText||"Unknown Error",url:h||void 0});r.error(m)};let c=!1;const d=p=>{c||(r.next(a()),c=!0);let h={type:_e.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(h.total=p.total),"text"===n.responseType&&!!o.responseText&&(h.partialText=o.responseText),r.next(h)},f=p=>{let h={type:_e.UploadProgress,loaded:p.loaded};p.lengthComputable&&(h.total=p.total),r.next(h)};return o.addEventListener("load",u),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==s&&o.upload&&o.upload.addEventListener("progress",f)),o.send(s),r.next({type:_e.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",u),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==s&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return t.\u0275fac=function(n){return new(n||t)(R(Og))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})();const Xu=new G("XSRF_COOKIE_NAME"),el=new G("XSRF_HEADER_NAME");class sm{}let HT=(()=>{class t{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=xg(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return t.\u0275fac=function(n){return new(n||t)(R(Et),R(As),R(Xu))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})(),tl=(()=>{class t{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const s=this.tokenService.getToken();return null!==s&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,s)})),r.handle(n)}}return t.\u0275fac=function(n){return new(n||t)(R(sm),R(el))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})(),UT=(()=>{class t{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(rm,[]);this.chain=r.reduceRight((o,s)=>new nm(o,s),this.backend)}return this.chain.handle(n)}}return t.\u0275fac=function(n){return new(n||t)(R(Qg),R(Ve))},t.\u0275prov=W({token:t,factory:t.\u0275fac}),t})(),$T=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:tl,useClass:VT}]}}static withOptions(n={}){return{ngModule:t,providers:[n.cookieName?{provide:Xu,useValue:n.cookieName}:[],n.headerName?{provide:el,useValue:n.headerName}:[]]}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pn({type:t}),t.\u0275inj=Xt({providers:[tl,{provide:rm,useExisting:tl,multi:!0},{provide:sm,useClass:HT},{provide:Xu,useValue:"XSRF-TOKEN"},{provide:el,useValue:"X-XSRF-TOKEN"}]}),t})(),GT=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=pn({type:t}),t.\u0275inj=Xt({providers:[Ws,{provide:Jg,useClass:UT},om,{provide:Qg,useExisting:om}],imports:[[$T.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class zT extends oe{constructor(e,n){super()}schedule(e,n=0){return this}}class im extends zT{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(o,this.id,n),this}requestAsyncId(e,n,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return n;clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let o,r=!1;try{this.work(e)}catch(s){r=!0,o=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),o}_unsubscribe(){const e=this.id,n=this.scheduler,r=n.actions,o=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&r.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null}}let am=(()=>{class t{constructor(n,r=t.now){this.SchedulerAction=n,this.now=r}schedule(n,r=0,o){return new this.SchedulerAction(this,n).schedule(o,r)}}return t.now=()=>Date.now(),t})();class Kt extends am{constructor(e,n=am.now){super(e,()=>Kt.delegate&&Kt.delegate!==this?Kt.delegate.now():n()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,n=0,r){return Kt.delegate&&Kt.delegate!==this?Kt.delegate.schedule(e,n,r):super.schedule(e,n,r)}flush(e){const{actions:n}=this;if(this.active)return void n.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}}const JT=new class extends Kt{}(class extends im{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}schedule(e,n=0){return n>0?super.schedule(e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)}execute(e,n){return n>0||this.closed?super.execute(e,n):this._execute(e,n)}requestAsyncId(e,n,r=0){return null!==r&&r>0||null===r&&this.delay>0?super.requestAsyncId(e,n,r):e.flush(this)}}),QT=new ce(t=>t.complete());function Z(t,e){return new ce(e?n=>e.schedule(YT,0,{error:t,subscriber:n}):n=>n.error(t))}function YT({error:t,subscriber:e}){e.error(t)}class dt{constructor(e,n,r){this.kind=e,this.value=n,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,n,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return n&&n(this.error);case"C":return r&&r()}}accept(e,n,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,n,r)}toObservable(){switch(this.kind){case"N":return ee(this.value);case"E":return Z(this.error);case"C":return function(t){return t?function(t){return new ce(e=>t.schedule(()=>e.complete()))}(t):QT}()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new dt("N",e):dt.undefinedValueNotification}static createError(e){return new dt("E",void 0,e)}static createComplete(){return dt.completeNotification}}dt.completeNotification=new dt("C"),dt.undefinedValueNotification=new dt("N",void 0);class Js extends Te{constructor(e,n,r=0){super(e),this.scheduler=n,this.delay=r}static dispatch(e){const{notification:n,destination:r}=e;n.observe(r),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Js.dispatch,this.delay,new eM(e,this.destination)))}_next(e){this.scheduleMessage(dt.createNext(e))}_error(e){this.scheduleMessage(dt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(dt.createComplete()),this.unsubscribe()}}class eM{constructor(e,n){this.notification=e,this.destination=n}}class tM extends Ir{constructor(e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new nM(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,s=r.length;let i;if(this.closed)throw new Mn;if(this.isStopped||this.hasError?i=oe.EMPTY:(this.observers.push(e),i=new bl(this,e)),o&&e.add(e=new Js(e,o)),n)for(let a=0;a<s&&!e.closed;a++)e.next(r[a]);else for(let a=0;a<s&&!e.closed;a++)e.next(r[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),i}_getNow(){return(this.scheduler||JT).now()}_trimBufferThenGetEvents(){const e=this._getNow(),n=this._bufferSize,r=this._windowTime,o=this._events,s=o.length;let i=0;for(;i<s&&!(e-o[i].time<r);)i++;return s>n&&(i=Math.max(i,s-n)),i>0&&o.splice(0,i),o}}class nM{constructor(e,n){this.time=e,this.value=n}}function nl(t,e){return"function"==typeof e?n=>n.pipe(nl((r,o)=>Re(t(r,o)).pipe(Yt((s,i)=>e(r,s,o,i))))):n=>n.lift(new rM(t))}class rM{constructor(e){this.project=e}call(e,n){return n.subscribe(new oM(e,this.project))}}class oM extends ni{constructor(e,n){super(e),this.project=n,this.index=0}_next(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(o){return void this.destination.error(o)}this._innerSub(n)}_innerSub(e){const n=this.innerSubscription;n&&n.unsubscribe();const r=new ti(this),o=this.destination;o.add(r),this.innerSubscription=ri(e,r),this.innerSubscription!==r&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const Qs={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return Qs.schedule(t,0);if(void 0===window.requestAnimationFrame)return Qs.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let rl;function hM(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((o,s)=>!("*"===o||!function(t,e){if(!rl){const n=Element.prototype;rl=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&rl.call(t,e)}(t,o)||(r=s,0))),r}class mM{constructor(e,n){this.componentFactory=n.get(wn).resolveComponentFactory(e)}create(e){return new yM(this.componentFactory,e)}}class yM{constructor(e,n){this.componentFactory=e,this.injector=n,this.eventEmitters=new tM(1),this.events=this.eventEmitters.pipe(nl(r=>Sl(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(Ie),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Qs.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,n){this.runInZone(()=>{null!==this.componentRef?function(t,e){return t===e||t!=t&&e!=e}(n,this.getInputValue(e))&&(void 0!==n||!this.unchangedInputs.has(e))||(this.recordInputChange(e,n),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=n,this.scheduleDetectChanges()):this.initialInputValues.set(e,n)})}initializeComponent(e){const n=Ve.create({providers:[],parent:this.injector}),r=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let o=-1;e.some((s,i)=>"*"===s&&(o=i,!0));for(let s=0,i=n.length;s<i;++s){const a=n[s],u=hM(a,e,o);-1!==u&&r[u].push(a)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,e),this.viewChangeDetectorRef=this.componentRef.injector.get(ag),this.implementsOnChanges=function(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(ho).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>e.instance[r].pipe(Yt(i=>({name:o,value:i}))));this.eventEmitters.next(n)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(n)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Qs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[e];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(e),s=o?void 0:this.getInputValue(e);this.inputChanges[e]=new Ul(s,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class _M extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function lm(t,e,n,r){return new(n||(n=Promise))(function(s,i){function a(c){try{l(r.next(c))}catch(d){i(d)}}function u(c){try{l(r.throw(c))}catch(d){i(d)}}function l(c){c.done?s(c.value):function(s){return s instanceof n?s:new n(function(i){i(s)})}(c.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}function ft(t){return function(n){const r=new CM(t),o=n.lift(r);return r.caught=o}}class CM{constructor(e){this.selector=e}call(e,n){return n.subscribe(new wM(e,this.selector,this.caught))}}class wM extends ni{constructor(e,n,r){super(e),this.selector=n,this.caught=r}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const r=new ti(this);this.add(r);const o=ri(n,r);o!==r&&this.add(o)}}}const fm=new G("API_BASE_URL");class sl{constructor(){this.apiKey="",this.authorizationToken=null}getAuthorizationToken(){return lm(this,void 0,void 0,function*(){return this.authorizationToken})}setAuthorizationToken(e){this.authorizationToken=e}}let IM=(()=>{class t extends class{constructor(e){this.configuration=e}transformOptions(e){return lm(this,void 0,void 0,function*(){const n=yield this.configuration.getAuthorizationToken();return e.headers=""!=n&&null!=n?e.headers.append("authorization","Bearer "+n):e.headers.append("X-API-Key",this.configuration.apiKey),e})}getBaseUrl(e){return this.configuration.apiUrl.endsWith("/")?this.configuration.apiUrl.slice(0,-1):this.configuration.apiUrl}transformResult(e,n,r){return r(n)}}{constructor(n,r,o){super(n),this.jsonParseReviver=void 0,this.http=r,this.baseUrl=null!=o?o:this.getBaseUrl("")}getAllProducts(n,r,o,s,i){let a=this.baseUrl+"/api/storefront/v1/products?";null!=n&&(a+="skip="+encodeURIComponent(""+n)+"&"),null!=r&&(a+="take="+encodeURIComponent(""+r)+"&"),null!=o&&(a+="sorting="+encodeURIComponent(""+o)+"&"),null!=s&&(a+="search="+encodeURIComponent(""+s)+"&"),null!=i&&(a+="tenantId="+encodeURIComponent(""+i)+"&"),a=a.replace(/[?&]$/,"");let u={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(u)).pipe(b(l=>this.http.request("get",a,l))).pipe(b(l=>this.transformResult(a,l,c=>this.processGetAllProducts(c)))).pipe(ft(l=>{if(!(l instanceof He))return Z(l);try{return this.transformResult(a,l,c=>this.processGetAllProducts(c))}catch(c){return Z(c)}}))}processGetAllProducts(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProduct(n,r,o){let s=this.baseUrl+"/api/storefront/v1/products/{id}?";if(null==n)throw new Error("The parameter 'id' must be defined.");s=s.replace("{id}",encodeURIComponent(""+n)),null!=r&&(s+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(s+="tenantId="+encodeURIComponent(""+o)+"&"),s=s.replace(/[?&]$/,"");let i={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(i)).pipe(b(a=>this.http.request("get",s,a))).pipe(b(a=>this.transformResult(s,a,u=>this.processGetProduct(u)))).pipe(ft(a=>{if(!(a instanceof He))return Z(a);try{return this.transformResult(s,a,u=>this.processGetProduct(u))}catch(u){return Z(u)}}))}processGetProduct(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductOptions(n,r,o){let s=this.baseUrl+"/api/storefront/v1/products/{id}/options?";if(null==n)throw new Error("The parameter 'id' must be defined.");s=s.replace("{id}",encodeURIComponent(""+n)),null!=r&&(s+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(s+="tenantId="+encodeURIComponent(""+o)+"&"),s=s.replace(/[?&]$/,"");let i={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(i)).pipe(b(a=>this.http.request("get",s,a))).pipe(b(a=>this.transformResult(s,a,u=>this.processGetProductOptions(u)))).pipe(ft(a=>{if(!(a instanceof He))return Z(a);try{return this.transformResult(s,a,u=>this.processGetProductOptions(u))}catch(u){return Z(u)}}))}processGetProductOptions(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getAllProductOptions(n){let r=this.baseUrl+"/api/storefront/v1/products/options?";null!=n&&(r+="tenantId="+encodeURIComponent(""+n)+"&"),r=r.replace(/[?&]$/,"");let o={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(o)).pipe(b(s=>this.http.request("get",r,s))).pipe(b(s=>this.transformResult(r,s,i=>this.processGetAllProductOptions(i)))).pipe(ft(s=>{if(!(s instanceof He))return Z(s);try{return this.transformResult(r,s,i=>this.processGetAllProductOptions(i))}catch(i){return Z(i)}}))}processGetAllProductOptions(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductLinks(n,r,o,s,i,a,u){let l=this.baseUrl+"/api/storefront/v1/products/{id}/links?";if(null==n)throw new Error("The parameter 'id' must be defined.");l=l.replace("{id}",encodeURIComponent(""+n)),null!=r&&(l+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(l+="skip="+encodeURIComponent(""+o)+"&"),null!=s&&(l+="take="+encodeURIComponent(""+s)+"&"),null!=i&&(l+="sorting="+encodeURIComponent(""+i)+"&"),null!=a&&(l+="search="+encodeURIComponent(""+a)+"&"),null!=u&&(l+="tenantId="+encodeURIComponent(""+u)+"&"),l=l.replace(/[?&]$/,"");let c={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(c)).pipe(b(d=>this.http.request("get",l,d))).pipe(b(d=>this.transformResult(l,d,f=>this.processGetProductLinks(f)))).pipe(ft(d=>{if(!(d instanceof He))return Z(d);try{return this.transformResult(l,d,f=>this.processGetProductLinks(f))}catch(f){return Z(f)}}))}processGetProductLinks(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductLink(n,r,o,s){let i=this.baseUrl+"/api/storefront/v1/products/{id}/links/{productLinkId}?";if(null==n)throw new Error("The parameter 'id' must be defined.");if(i=i.replace("{id}",encodeURIComponent(""+n)),null==r)throw new Error("The parameter 'productLinkId' must be defined.");i=i.replace("{productLinkId}",encodeURIComponent(""+r)),null!=o&&(i+="productVersionId="+encodeURIComponent(""+o)+"&"),null!=s&&(i+="tenantId="+encodeURIComponent(""+s)+"&"),i=i.replace(/[?&]$/,"");let a={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(a)).pipe(b(u=>this.http.request("get",i,u))).pipe(b(u=>this.transformResult(i,u,l=>this.processGetProductLink(l)))).pipe(ft(u=>{if(!(u instanceof He))return Z(u);try{return this.transformResult(i,u,l=>this.processGetProductLink(l))}catch(l){return Z(l)}}))}processGetProductLink(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductFilters(n,r,o,s,i,a,u,l){let c=this.baseUrl+"/api/storefront/v1/products/{id}/filters?";if(null==n)throw new Error("The parameter 'id' must be defined.");if(c=c.replace("{id}",encodeURIComponent(""+n)),null!=r&&(c+="productVersionId="+encodeURIComponent(""+r)+"&"),null===o)throw new Error("The parameter 'filterType' cannot be null.");void 0!==o&&(c+="filterType="+encodeURIComponent(""+o)+"&"),null!=s&&(c+="skip="+encodeURIComponent(""+s)+"&"),null!=i&&(c+="take="+encodeURIComponent(""+i)+"&"),null!=a&&(c+="sorting="+encodeURIComponent(""+a)+"&"),null!=u&&(c+="search="+encodeURIComponent(""+u)+"&"),null!=l&&(c+="tenantId="+encodeURIComponent(""+l)+"&"),c=c.replace(/[?&]$/,"");let d={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(d)).pipe(b(f=>this.http.request("get",c,f))).pipe(b(f=>this.transformResult(c,f,p=>this.processGetProductFilters(p)))).pipe(ft(f=>{if(!(f instanceof He))return Z(f);try{return this.transformResult(c,f,p=>this.processGetProductFilters(p))}catch(p){return Z(p)}}))}processGetProductFilters(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductFilter(n,r,o,s){let i=this.baseUrl+"/api/storefront/v1/products/{id}/filters/{productFilterId}?";if(null==n)throw new Error("The parameter 'id' must be defined.");if(i=i.replace("{id}",encodeURIComponent(""+n)),null==r)throw new Error("The parameter 'productFilterId' must be defined.");i=i.replace("{productFilterId}",encodeURIComponent(""+r)),null!=o&&(i+="productVersionId="+encodeURIComponent(""+o)+"&"),null!=s&&(i+="tenantId="+encodeURIComponent(""+s)+"&"),i=i.replace(/[?&]$/,"");let a={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(a)).pipe(b(u=>this.http.request("get",i,u))).pipe(b(u=>this.transformResult(i,u,l=>this.processGetProductFilter(l)))).pipe(ft(u=>{if(!(u instanceof He))return Z(u);try{return this.transformResult(i,u,l=>this.processGetProductFilter(l))}catch(l){return Z(l)}}))}processGetProductFilter(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductVariants(n,r,o,s,i,a,u){let l=this.baseUrl+"/api/storefront/v1/products/{id}/variants?";if(null==n)throw new Error("The parameter 'id' must be defined.");l=l.replace("{id}",encodeURIComponent(""+n)),null!=r&&(l+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(l+="skip="+encodeURIComponent(""+o)+"&"),null!=s&&(l+="take="+encodeURIComponent(""+s)+"&"),null!=i&&(l+="options="+encodeURIComponent(""+i)+"&"),null!=a&&(l+="productFilterId="+encodeURIComponent(""+a)+"&"),null!=u&&(l+="tenantId="+encodeURIComponent(""+u)+"&"),l=l.replace(/[?&]$/,"");let c={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(c)).pipe(b(d=>this.http.request("get",l,d))).pipe(b(d=>this.transformResult(l,d,f=>this.processGetProductVariants(f)))).pipe(ft(d=>{if(!(d instanceof He))return Z(d);try{return this.transformResult(l,d,f=>this.processGetProductVariants(f))}catch(f){return Z(f)}}))}processGetProductVariants(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductVariantDesigns(n,r,o,s,i,a,u,l){let c=this.baseUrl+"/api/storefront/v1/products/{id}/variant-designs?";if(null==n)throw new Error("The parameter 'id' must be defined.");c=c.replace("{id}",encodeURIComponent(""+n)),null!=r&&(c+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(c+="productVariantId="+encodeURIComponent(""+o)+"&"),null!=s&&(c+="skip="+encodeURIComponent(""+s)+"&"),null!=i&&(c+="take="+encodeURIComponent(""+i)+"&"),null!=a&&(c+="options="+encodeURIComponent(""+a)+"&"),null!=u&&(c+="productFilterId="+encodeURIComponent(""+u)+"&"),null!=l&&(c+="tenantId="+encodeURIComponent(""+l)+"&"),c=c.replace(/[?&]$/,"");let d={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(d)).pipe(b(f=>this.http.request("get",c,f))).pipe(b(f=>this.transformResult(c,f,p=>this.processGetProductVariantDesigns(p)))).pipe(ft(f=>{if(!(f instanceof He))return Z(f);try{return this.transformResult(c,f,p=>this.processGetProductVariantDesigns(p))}catch(p){return Z(p)}}))}processGetProductVariantDesigns(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}getProductVariantMockups(n,r,o,s,i,a,u,l){let c=this.baseUrl+"/api/storefront/v1/products/{id}/variant-mockups?";if(null==n)throw new Error("The parameter 'id' must be defined.");c=c.replace("{id}",encodeURIComponent(""+n)),null!=r&&(c+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(c+="productVariantId="+encodeURIComponent(""+o)+"&"),null!=s&&(c+="skip="+encodeURIComponent(""+s)+"&"),null!=i&&(c+="take="+encodeURIComponent(""+i)+"&"),null!=a&&(c+="options="+encodeURIComponent(""+a)+"&"),null!=u&&(c+="productFilterId="+encodeURIComponent(""+u)+"&"),null!=l&&(c+="tenantId="+encodeURIComponent(""+l)+"&"),c=c.replace(/[?&]$/,"");let d={observe:"response",responseType:"blob",headers:new pe({Accept:"text/plain"})};return Re(this.transformOptions(d)).pipe(b(f=>this.http.request("get",c,f))).pipe(b(f=>this.transformResult(c,f,p=>this.processGetProductVariantMockups(p)))).pipe(ft(f=>{if(!(f instanceof He))return Z(f);try{return this.transformResult(c,f,p=>this.processGetProductVariantMockups(p))}catch(p){return Z(p)}}))}processGetProductVariantMockups(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),ee(a)})):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}updateProductVariantResources(n,r,o){let s=this.baseUrl+"/api/storefront/v1/products/{id}/update-variant-resources?";if(null==n)throw new Error("The parameter 'id' must be defined.");s=s.replace("{id}",encodeURIComponent(""+n)),null!=r&&(s+="productVersionId="+encodeURIComponent(""+r)+"&"),null!=o&&(s+="tenantId="+encodeURIComponent(""+o)+"&"),s=s.replace(/[?&]$/,"");let i={observe:"response",responseType:"blob",headers:new pe({})};return Re(this.transformOptions(i)).pipe(b(a=>this.http.request("post",s,a))).pipe(b(a=>this.transformResult(s,a,u=>this.processUpdateProductVariantResources(u)))).pipe(ft(a=>{if(!(a instanceof He))return Z(a);try{return this.transformResult(s,a,u=>this.processUpdateProductVariantResources(u))}catch(u){return Z(u)}}))}processUpdateProductVariantResources(n){const r=n.status,o=n instanceof Pe?n.body:n.error instanceof Blob?n.error:void 0;let s={};if(n.headers)for(let i of n.headers.keys())s[i]=n.headers.get(i);return 200===r?E(o).pipe(b(i=>ee(null))):404===r?E(o).pipe(b(i=>{let a=null;return a=""===i?null:JSON.parse(i,this.jsonParseReviver),x("Not Found",r,i,s,a)})):401===r?E(o).pipe(b(i=>x("Unauthorized",r,i,s))):403===r?E(o).pipe(b(i=>x("Forbidden",r,i,s))):200!==r&&204!==r?E(o).pipe(b(i=>x("An unexpected server error occurred.",r,i,s))):ee(null)}}return t.\u0275fac=function(n){return new(n||t)(R(sl),R(Ws),R(fm,8))},t.\u0275prov=W({factory:function(){return new t(R(sl),R(Ws),R(fm,8))},token:t,providedIn:"root"}),t})();class TM extends Error{constructor(e,n,r,o,s){super(),this.isApiException=!0,this.message=e,this.status=n,this.response=r,this.headers=o,this.result=s}static isApiException(e){return!0===e.isApiException}}function x(t,e,n,r,o){return Z(null!=o?o:new TM(t,e,n,r,null))}function E(t){return new ce(e=>{if(t){let n=new FileReader;n.onload=r=>{e.next(r.target.result),e.complete()},n.readAsText(t)}else e.next(""),e.complete()})}function Zs(t,e){return new ce(n=>{const r=t.length;if(0===r)return void n.complete();const o=new Array(r);let s=0,i=0;for(let a=0;a<r;a++){const u=Re(t[a]);let l=!1;n.add(u.subscribe({next:c=>{l||(l=!0,i++),o[a]=c},error:c=>n.error(c),complete:()=>{s++,(s===r||!l)&&(i===r&&n.next(e?e.reduce((c,d,f)=>(c[d]=o[f],c),{}):o),n.complete())}}))}})}const SM=new Kt(im);class PM{constructor(e,n){this.dueTime=e,this.scheduler=n}call(e,n){return n.subscribe(new RM(e,this.dueTime,this.scheduler))}}class RM extends Te{constructor(e,n,r){super(e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(NM,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function NM(t){t.debouncedNext()}var jt=(()=>(function(t){t[t.Radio=0]="Radio",t[t.Checkbox=1]="Checkbox"}(jt||(jt={})),jt))();class FM{constructor(e){this.checked=!1,this.id=e.productOptionValueId,this.title=e.productOptionValueTitle}changeCheckedState(e){this.checked=e}}class OM{constructor(e){var n;this.id=e[0].productOptionId,this.title=e[0].productOptionTitle,this.values=e.map(r=>new FM(r)),this.type=(null===(n=e[0].productOptionTraits)||void 0===n?void 0:n.includes("AllowsMultiselect"))?jt.Checkbox:jt.Radio,this.type===jt.Radio&&this.values[0].changeCheckedState(!0)}changeValue(e,n){var r;this.type===jt.Radio?this.values.forEach(o=>{o.changeCheckedState(o.id===e&&n)}):null===(r=this.values.find(o=>o.id===e))||void 0===r||r.changeCheckedState(n)}clearValues(){this.type===jt.Checkbox&&this.values.forEach(e=>{e.changeCheckedState(!1)})}}function kM(t,e){1&t&&Ot(0,"div",2)}function LM(t,e){if(1&t){const n=Wt();j(0,"img",3),at("load",function(){return yt(n),q().onLoad()})("error",function(){return yt(n),q().onError()}),H()}if(2&t){const n=q();se("hidden",n.loading)("src",n.imageSrc,Qi)}}let VM=(()=>{class t{constructor(){this.imageSrc="",this.loading=!0,this.attempts=0,this.allowedAttempts=10}ngOnInit(){this.source&&(this.imageSrc=this.source)}onLoad(){this.loading=!1}onError(){this.attempts<this.allowedAttempts?(this.attempts++,setTimeout(()=>{this.source&&(this.imageSrc=new URL(this.source).searchParams.toString().length?this.source+"&timestamp="+(new Date).getTime():this.source+"?timestamp="+(new Date).getTime())},2e3)):this.loading=!1}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Mr({type:t,selectors:[["au-product-variant-image"]],inputs:{source:"source"},decls:2,vars:2,consts:[["class","skeleton",4,"ngIf"],[3,"hidden","src","load","error",4,"ngIf"],[1,"skeleton"],[3,"hidden","src","load","error"]],template:function(n,r){1&n&&(Ee(0,kM,1,0,"div",0),Ee(1,LM,1,2,"img",1)),2&n&&(se("ngIf",r.loading),re(1),se("ngIf",r.imageSrc))},directives:[Bu],styles:["@keyframes shimmer{0%{background-position-x:80%}to{background-position-x:-100%}}.skeleton[_ngcontent-%COMP%]{height:100%;background:linear-gradient(to right,#f4f6f8 0%,#fcfdfe 20%,#f4f6f8 40%,#f4f6f8 100%);background-size:200% 100%;background-repeat:repeat!important;animation:shimmer 1.8s ease-in-out infinite}img[_ngcontent-%COMP%]{object-fit:scale-down;width:100%;height:100%}"]}),t})();function BM(t,e){if(1&t){const n=Wt();On(),Bo(),j(0,"button",0),at("click",function(){const s=yt(n).$implicit;return q().changePage(s.index)}),Vt(1),H()}if(2&t){const n=e.$implicit;pr("active",q().currentPage===n.index)("separator",n.isSeparator),re(1),ro(" ",n.content,"\n")}}let jM=(()=>{class t{constructor(){this.onChangePage=new ut,this.currentPage=1,this.buttons=[],this.pageRange=2,this.separatorContent="..."}ngOnChanges(){this.currentPage=1,this.renderPagination()}changePage(n){null!==n&&n!==this.currentPage&&n>=1&&n<=this.totalPages&&(this.currentPage=n,this.onChangePage.emit(this.currentPage),this.renderPagination())}renderPagination(){let n=this.currentPage-this.pageRange,r=this.currentPage+this.pageRange;r>this.totalPages&&(r=this.totalPages,n=this.totalPages-2*this.pageRange,n=n<1?1:n),n<=1&&(n=1,r=Math.min(2*this.pageRange+1,this.totalPages)),this.createPaginationModel(n,r)}createPaginationModel(n,r){if(this.buttons=[],n<=2)for(let o=1;o<n;o++)this.buttons.push(this.createButtonObject(o));else this.buttons.push(this.createButtonObject(1)),this.buttons.push(this.createButtonObject(this.separatorContent,!0));for(let o=n;o<=r;o++)this.buttons.push(this.createButtonObject(o));if(r>=this.totalPages-1)for(let o=r+1;o<=this.totalPages;o++)this.buttons.push(this.createButtonObject(o));else this.buttons.push(this.createButtonObject(this.separatorContent,!0)),this.buttons.push(this.createButtonObject(this.totalPages))}createButtonObject(n,r=!1){return{index:r?null:Number(n),content:n,isSeparator:r}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Mr({type:t,selectors:[["au-pagination"]],inputs:{totalPages:"totalPages"},outputs:{onChangePage:"onChangePage"},features:[Pr],decls:7,vars:5,consts:[[3,"click"],[1,"svg-sprite-icon"],[0,"xlink","href","#arrow-left_20"],[3,"active","separator","click",4,"ngFor","ngForOf"],[0,"xlink","href","#arrow-right_20"]],template:function(n,r){1&n&&(j(0,"button",0),at("click",function(){return r.changePage(r.currentPage-1)}),On(),j(1,"svg",1),Ot(2,"use",2),H(),H(),Ee(3,BM,2,5,"button",3),Bo(),j(4,"button",0),at("click",function(){return r.changePage(r.currentPage+1)}),On(),j(5,"svg",1),Ot(6,"use",4),H(),H()),2&n&&(pr("disabled",1===r.currentPage),re(3),se("ngForOf",r.buttons),re(1),pr("disabled",r.currentPage===r.totalPages))},directives:[Vu],styles:["[_nghost-%COMP%]{display:flex;justify-content:flex-end}button[_ngcontent-%COMP%]{padding:0;border:0;background:none;font-family:Roboto,sans-serif;color:#282828;cursor:pointer;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;border-radius:4px;font-size:14px}button[_ngcontent-%COMP%] + button[_ngcontent-%COMP%]{margin-left:8px}button.active[_ngcontent-%COMP%], button.disabled[_ngcontent-%COMP%], button.separator[_ngcontent-%COMP%]{cursor:default}button.active[_ngcontent-%COMP%]{background-color:#0090ff;color:#fff}button.disabled[_ngcontent-%COMP%]{color:#ccc}button[_ngcontent-%COMP%]:not(.active):not(.disabled):not(.separator):hover{background-color:#f5f5f5}button[_ngcontent-%COMP%]   .svg-sprite-icon[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t})(),HM=(()=>{class t{transform(n,r){return n.filter(o=>o.type===r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Fe({name:"filterControls",type:t,pure:!0}),t})();function UM(t,e){if(1&t){const n=Wt();j(0,"button",21),at("click",function(){return yt(n),q().clearAllFilters()}),Vt(1,"Clear All"),H()}}function $M(t,e){if(1&t){const n=Wt();j(0,"button",25),at("click",function(){yt(n);const o=q().$implicit,s=q().$implicit;return q(2).handleChipClick(s.id,o.id)}),Vt(1),On(),j(2,"svg",26),Ot(3,"use",27),H(),H()}if(2&t){const n=q().$implicit;re(1),ro(" ",n.title," ")}}function GM(t,e){if(1&t&&(ms(0),Ee(1,$M,4,1,"button",24),ys()),2&t){const n=e.$implicit;re(1),se("ngIf",n.checked)}}function zM(t,e){if(1&t&&(ms(0),Ee(1,GM,2,1,"ng-container",23),ys()),2&t){const n=e.$implicit;re(1),se("ngForOf",n.values)}}function qM(t,e){if(1&t&&(j(0,"div",22),Ee(1,zM,2,1,"ng-container",23),function(t,e){const n=$();let r;const o=t+Y;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=_n(r.type)),i=en(V);try{const a=zo(!1),u=s();zo(a),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,y(),o,u)}finally{en(i)}}(2,"filterControls"),H()),2&t){const n=q();re(1),se("ngForOf",vh(2,1,n.controls,n.ControlType.Checkbox))}}function WM(t,e){if(1&t){const n=Wt();j(0,"input",33),at("change",function(o){yt(n);const s=q().$implicit,i=q().$implicit;return q().handleInputChange(i.id,s.id,o)}),H()}if(2&t){const n=q().$implicit;se("name",q().$implicit.id)("checked",n.checked)}}function JM(t,e){if(1&t){const n=Wt();j(0,"input",34),at("change",function(o){yt(n);const s=q().$implicit,i=q().$implicit;return q().handleInputChange(i.id,s.id,o)}),H()}2&t&&se("checked",q().$implicit.checked)}function QM(t,e){if(1&t&&(j(0,"label"),Ee(1,WM,1,2,"input",30),Ee(2,JM,1,1,"input",31),j(3,"div",32),Vt(4),H(),H()),2&t){const n=e.$implicit,r=q().$implicit,o=q();re(1),se("ngIf",r.type===o.ControlType.Radio),re(1),se("ngIf",r.type===o.ControlType.Checkbox),re(2),vn(n.title)}}function KM(t,e){if(1&t&&(j(0,"div",28),j(1,"div",29),Vt(2),H(),Ee(3,QM,5,3,"label",23),H()),2&t){const n=e.$implicit;re(2),vn(n.title),re(1),se("ngForOf",n.values)}}function ZM(t,e){if(1&t&&Ot(0,"au-product-variant-image",39),2&t){const n=q().index,r=q();se("source",null==r.previews[n]?null:r.previews[n].url)}}function YM(t,e){if(1&t){const n=Wt();j(0,"div",35),at("click",function(){const s=yt(n).$implicit;return q().selectVariant(s)})("dblclick",function(){return yt(n),q().doubleClickVariant()}),j(1,"div",36),Ee(2,ZM,1,1,"au-product-variant-image",37),H(),j(3,"div",38),Vt(4),H(),H()}if(2&t){const n=e.$implicit,r=e.index,o=q();pr("selected-variant",n.productVariantId===o.selectedVariantId&&n.designId===o.selectedVarianDesignId),re(2),se("ngIf",o.previews[r]),re(2),vn(n.designName)}}function XM(t,e){if(1&t){const n=Wt();j(0,"au-pagination",40),at("onChangePage",function(o){return yt(n),q().changePage(o)}),H()}2&t&&se("totalPages",q().pageCount)}function ex(t,e){1&t&&Ot(0,"div",41)}let tx=(()=>{class t{constructor(n){this.httpClient=n,this.variantSelected=new ut,this.variantDoubleClicked=new ut,this.ControlType=jt,this.productName="",this.controls=[],this.displayedVariants=[],this.previews=[],this.chipsCounter=0,this.loading=!1,this.variantCount=0,this.pageCount=1,this.variantsPerPage=15,this.allVariants=[],this.filteredVariants=[],this.filterChanges=new Ir}ngOnInit(){if(this.token&&this.apiUrl&&void 0!==this.productId&&void 0!==this.productFilterId){this.loading=!0;const n=this.productId,r=this.productFilterId,o=this.productVersionId;this.productsApiClient=new IM(function(t,e,n="ApiKey"){const r=new sl;return r.apiKey=n,r.apiUrl=e,r.setAuthorizationToken(t),r}(this.token,this.ensureDoesNotEndWithSlash(this.apiUrl)),this.httpClient),this.productsApiClient.updateProductVariantResources(n,o).pipe(nl(()=>function(...t){if(1===t.length){const e=t[0];if(Ys(e))return Zs(e,null);if(Xs(e)&&Object.getPrototypeOf(e)===Object.prototype){const n=Object.keys(e);return Zs(n.map(r=>e[r]),n)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Zs(t=1===t.length&&Ys(t[0])?t[0]:t,null).pipe(Yt(n=>e(...n)))}return Zs(t,null)}([this.productsApiClient.getProduct(n,o),this.productsApiClient.getProductFilter(n,r,o),this.productsApiClient.getProductVariantDesigns(n,o,null,null,null,null,r)]))).subscribe(([s,i,a])=>{var u,l;this.productName=null!==(u=s.name)&&void 0!==u?u:"",null===(l=i.productFilterOptions)||void 0===l||l.forEach(c=>{var d;const f=c.productOptionId;if(!this.getControlById(f)){const p=null===(d=i.productFilterOptions)||void 0===d?void 0:d.filter(h=>h.productOptionId===f);void 0!==p&&p.length>1&&this.controls.push(new OM(p))}c.isDefault&&this.changeControlValue(c.productOptionId,c.productOptionValueId,!0)}),this.controls=[...this.controls],this.allVariants=a.items||[],this.filterChanges.pipe(function(t,e=SM){return n=>n.lift(new PM(t,e))}(1e3)).subscribe(()=>this.getVariants()),this.filterChanges.next(),this.loading=!1})}}clearAllFilters(){this.controls.forEach(n=>{n.clearValues()}),this.chipsCounter=0,this.filterChanges.next()}handleChipClick(n,r){this.changeControlValue(n,r,!1)}handleInputChange(n,r,o){this.changeControlValue(n,r,o.target.checked)}selectVariant(n){this.selectedVariantId=null==n?void 0:n.productVariantId,this.selectedVarianDesignId=null==n?void 0:n.designId,this.variantSelected.emit(n)}doubleClickVariant(){this.variantDoubleClicked.emit()}changePage(n=1){this.displayedVariants=this.filteredVariants.slice((n-1)*this.variantsPerPage,n*this.variantsPerPage),this.checkIfSelectedVariantIsVisible()||this.selectVariant(this.displayedVariants[0]),this.previews=this.displayedVariants.map(r=>{var o;return null===(o=r.productVariantResources)||void 0===o?void 0:o.filter(s=>"240x240"===s.name)[0]})}ensureDoesNotEndWithSlash(n){return n.endsWith("/")?n.slice(0,-1):n}getControlById(n){return this.controls.find(r=>r.id===n)}changeControlValue(n,r,o){const s=this.getControlById(n);s&&(s.changeValue(r,o),this.updateChipsCounter(s,o),this.filterChanges.next())}getVariants(){this.filteredVariants=this.allVariants,this.controls.forEach(n=>{if(null!=n.id){const r=n.values.filter(o=>o.checked).map(o=>o.id);r.length&&(this.filteredVariants=this.filteredVariants.filter(o=>{var s;return null===(s=o.productVariantOptions)||void 0===s?void 0:s.some(i=>i.productOptionId===n.id&&r.includes(i.productOptionValueId))}))}}),this.variantCount=this.filteredVariants.length,this.pageCount=Math.ceil(this.variantCount/this.variantsPerPage),this.changePage(1)}checkIfSelectedVariantIsVisible(){return null!=this.displayedVariants.find(r=>r.productVariantId===this.selectedVariantId&&r.designId===this.selectedVarianDesignId)}updateChipsCounter(n,r){n.type===jt.Checkbox&&(r?this.chipsCounter++:this.chipsCounter--)}}return t.\u0275fac=function(n){return new(n||t)(V(Ws))},t.\u0275cmp=Mr({type:t,selectors:[["au-product-variant-selector"]],inputs:{token:"token",apiUrl:"apiUrl",productId:"productId",productVersionId:"productVersionId",productFilterId:"productFilterId"},outputs:{variantSelected:"variantSelected",variantDoubleClicked:"variantDoubleClicked"},decls:25,vars:8,consts:[["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",2,"display","none"],["id","cross_8","viewBox","0 0 8 8","fill","none"],["d","M7 1L1 7M1 1L7 7","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round"],["id","arrow-left_20","viewBox","0 0 20 20","fill","none"],["d","M12.5 5L7.5 10L12.5 15","stroke","currentColor","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["id","arrow-right_20","viewBox","0 0 20 20","fill","none"],["d","M7.5 5L12.5 10L7.5 15","stroke","currentColor","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],[1,"header"],[1,"product-name"],[1,"variant-count"],[1,"sidebar"],[1,"sidebar-inner-sticky"],[1,"sidebar-header"],[1,"sidebar-title"],[3,"click",4,"ngIf"],["class","chips",4,"ngIf"],["class","control",4,"ngFor","ngForOf"],[1,"variants-grid"],["class","variant",3,"selected-variant","click","dblclick",4,"ngFor","ngForOf"],[3,"totalPages","onChangePage",4,"ngIf"],["class","loading-state",4,"ngIf"],[3,"click"],[1,"chips"],[4,"ngFor","ngForOf"],["class","chip",3,"click",4,"ngIf"],[1,"chip",3,"click"],[1,"svg-sprite-icon"],[0,"xlink","href","#cross_8"],[1,"control"],[1,"control-title"],["type","radio",3,"name","checked","change",4,"ngIf"],["type","checkbox",3,"checked","change",4,"ngIf"],[1,"option-value-name"],["type","radio",3,"name","checked","change"],["type","checkbox",3,"checked","change"],[1,"variant",3,"click","dblclick"],[1,"image-wrapper"],[3,"source",4,"ngIf"],[1,"variant-name"],[3,"source"],[3,"totalPages","onChangePage"],[1,"loading-state"]],template:function(n,r){1&n&&(On(),j(0,"svg",0),j(1,"defs"),j(2,"symbol",1),Ot(3,"path",2),H(),j(4,"symbol",3),Ot(5,"path",4),H(),j(6,"symbol",5),Ot(7,"path",6),H(),H(),H(),Bo(),j(8,"div",7),j(9,"div",8),Vt(10),H(),j(11,"div",9),Vt(12),H(),H(),j(13,"div",10),j(14,"div",11),j(15,"div",12),j(16,"div",13),Vt(17," Filters "),H(),Ee(18,UM,2,0,"button",14),H(),Ee(19,qM,3,4,"div",15),Ee(20,KM,4,2,"div",16),H(),H(),j(21,"div",17),Ee(22,YM,5,4,"div",18),H(),Ee(23,XM,1,1,"au-pagination",19),Ee(24,ex,1,0,"div",20)),2&n&&(re(10),vn(r.productName),re(2),vn(r.variantCount),re(6),se("ngIf",r.chipsCounter),re(1),se("ngIf",r.chipsCounter),re(1),se("ngForOf",r.controls),re(2),se("ngForOf",r.displayedVariants),re(1),se("ngIf",r.pageCount>1),re(1),se("ngIf",r.loading))},directives:[Bu,Vu,VM,jM],pipes:[HM],styles:['[_nghost-%COMP%]{display:grid;grid-template-rows:auto 1fr;grid-template-columns:280px 1fr;grid-row-gap:32px;row-gap:32px;grid-column-gap:20px;column-gap:20px;height:100%;box-sizing:border-box;padding:32px 20px;position:relative;font-family:Roboto,sans-serif;font-size:16px;line-height:24px;color:#282828}.header[_ngcontent-%COMP%]{grid-column:span 2;display:flex;font-size:28px;line-height:36px}.header[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{margin-right:8px;font-weight:700}.header[_ngcontent-%COMP%]   .variant-count[_ngcontent-%COMP%]{color:#8a8a8a}.sidebar[_ngcontent-%COMP%]{padding-right:20px}.sidebar[_ngcontent-%COMP%]   .sidebar-inner-sticky[_ngcontent-%COMP%]{position:sticky;top:16px}.sidebar[_ngcontent-%COMP%]   .sidebar-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.sidebar[_ngcontent-%COMP%]   .sidebar-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:0;border:0;background:none;font-family:Roboto,sans-serif;color:#282828;cursor:pointer;font-size:14px;line-height:20px;color:#0090ff}.sidebar[_ngcontent-%COMP%]   .sidebar-title[_ngcontent-%COMP%]{font-weight:500}.sidebar[_ngcontent-%COMP%]   .chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:8px;gap:8px;margin-top:16px}.sidebar[_ngcontent-%COMP%]   .chip[_ngcontent-%COMP%]{border:0;background:none;font-family:Roboto,sans-serif;color:#282828;cursor:pointer;display:flex;align-items:center;padding:4px 8px;border-radius:12px;background-color:#0090ff1f;font-size:12px;line-height:16px}.sidebar[_ngcontent-%COMP%]   .chip[_ngcontent-%COMP%]   .svg-sprite-icon[_ngcontent-%COMP%]{width:8px;height:8px;margin-left:4px}.sidebar[_ngcontent-%COMP%]   .control[_ngcontent-%COMP%]{margin-top:16px;font-size:14px;line-height:20px}.sidebar[_ngcontent-%COMP%]   .control-title[_ngcontent-%COMP%]{font-weight:500}.sidebar[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex;margin-top:8px}.sidebar[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{margin-left:0;margin-right:8px}.variants-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,280px);grid-gap:20px;gap:20px;align-self:start}.variants-grid[_ngcontent-%COMP%]   .variant[_ngcontent-%COMP%]{cursor:pointer}.variants-grid[_ngcontent-%COMP%]   .variant[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{width:280px;height:280px;position:relative}.variants-grid[_ngcontent-%COMP%]   .variant[_ngcontent-%COMP%]   .variant-name[_ngcontent-%COMP%]{margin-top:8px}.variants-grid[_ngcontent-%COMP%]   .variant.selected-variant[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;box-shadow:inset 0 0 0 2px #0090ff}au-pagination[_ngcontent-%COMP%]{grid-column:2}.loading-state[_ngcontent-%COMP%]{position:fixed;left:0;right:0;top:0;bottom:0;background-color:#ffffff80}']}),t})(),nx=(()=>{class t{constructor(n){this.injector=n}ngDoBootstrap(){const n=function(t,e){const n=function(t,e){return e.get(wn).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new mM(t,e.injector),o=function(t){const e={};return t.forEach(({propName:n,templateName:r})=>{e[function(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=n}),e}(n);class s extends _M{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const l=this[u];delete this[u],a.setInputValue(u,l)})}return this._ngElementStrategy}attributeChangedCallback(a,u,l,c){this.ngElementStrategy.setInputValue(o[a],l)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const u=function(t,e,n){if("function"!=typeof CustomEvent){const s=t.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,n),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,a.name,a.value);this.dispatchEvent(u)})}}return s.observedAttributes=Object.keys(o),n.forEach(({propName:i})=>{Object.defineProperty(s.prototype,i,{get(){return this.ngElementStrategy.getInputValue(i)},set(a){this.ngElementStrategy.setInputValue(i,a)},configurable:!0,enumerable:!0})}),s}(tx,{injector:this.injector});customElements.define("au-product-variant-selector",n)}}return t.\u0275fac=function(n){return new(n||t)(R(Ve))},t.\u0275mod=pn({type:t}),t.\u0275inj=Xt({imports:[[mT,GT]]}),t})();og=!1,hT().bootstrapModule(nx).catch(t=>console.error(t))}},Tn=>{Tn(Tn.s=593)}]);
</script>