@motopays/pay-form 2.2.2-rc.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
(()=>{"use strict";var e,v={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return v[e].call(r.exports,r,r.exports,n),r.exports}n.m=v,e=[],n.O=(a,r,l,o)=>{if(!r){var u=1/0;for(f=0;f<e.length;f++){for(var[r,l,o]=e[f],_=!0,t=0;t<r.length;t++)(!1&o||u>=o)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(_=!1,o<u&&(u=o));if(_){e.splice(f--,1);var s=l();void 0!==s&&(a=s)}}return a}o=o||0;for(var f=e.length;f>0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[r,l,o]},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={121:0};n.O.j=l=>0===e[l];var a=(l,o)=>{var t,s,[f,u,_]=o,c=0;if(f.some(d=>0!==e[d])){for(t in u)n.o(u,t)&&(n.m[t]=u[t]);if(_)var b=_(n)}for(l&&l(o);c<f.length;c++)n.o(e,s=f[c])&&e[s]&&e[s][0](),e[s]=0;return n.O(b)},r=self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
|
|
2
2
|
"use strict";(self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[]).push([[461],{935:()=>{const te=globalThis;function ee(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const ke=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Le=Object.getPrototypeOf,_t=Object.create,Et=Array.prototype.slice,Ie="addEventListener",Me="removeEventListener",Ze=ee(Ie),Ae=ee(Me),ae="true",le="false",ve=ee("");function je(e,r){return Zone.current.wrap(e,r)}function He(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=ee,we=typeof window<"u",Te=we?window:void 0,$=we&&Te||globalThis,Tt="removeAttribute";function xe(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=je(e[c],r+"_"+c));return e}function We(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ve=!Re&&!qe&&!(!we||!Te.HTMLElement),Xe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!qe&&!(!we||!Te.HTMLElement),Ce={},yt=j("enable_beforeunload"),Ye=function(e){if(!(e=e||$.event))return;let r=Ce[e.type];r||(r=Ce[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ve&&c===Te&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[yt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function $e(e,r,c){let t=ke(e,r);if(!t&&c&&ke(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let m=Ce[T];m||(m=Ce[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[m]&&d.removeEventListener(T,Ye),E&&E.call(d,null),d[m]=D,"function"==typeof D&&d.addEventListener(T,Ye,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[m];if(d)return d;if(u){let w=u.call(this);if(w)return t.set.call(this,w),"function"==typeof D[Tt]&&D.removeAttribute(r),w}return null},Ne(e,r,t),e[i]=!0}function Je(e,r,c){if(r)for(let t=0;t<r.length;t++)$e(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)$e(e,t[i],c)}}const re=j("originalInstance");function be(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=xe(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Ne($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=je(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Le(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],We(t&&ke(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function mt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const m=c(E,T);return m.cbIdx>=0&&"function"==typeof T[m.cbIdx]?He(m.name,T[m.cbIdx],m,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Ke=!1,Ge=!1;function kt(){if(Ke)return Ge;Ke=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ge=!0)}catch{}return Ge}function Qe(e){return"function"==typeof e}function et(e){return"number"==typeof e}let ge=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}const vt={useG:!0},ne={},tt={},nt=new RegExp("^"+ve+"(\\w+)(true|false)$"),rt=j("propagationStopped");function ot(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=ve+c,u=ve+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function bt(e,r,c,t){const i=t&&t.add||Ie,u=t&&t.rm||Me,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=j(i),D="."+i+":",d="prependListener",w="."+d+":",Z=function(k,h,H){if(k.isRemoved)return;const V=k.callback;let Y;"object"==typeof V&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);try{k.invoke(k,h,[H])}catch(g){Y=g}const G=k.options;return G&&"object"==typeof G&&G.once&&h[u].call(h,H.type,k.originalDelegate?k.originalDelegate:k.callback,G),Y};function x(k,h,H){if(!(h=h||e.event))return;const V=k||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const G=[];if(1===Y.length){const g=Z(Y[0],V,h);g&&G.push(g)}else{const g=Y.slice();for(let z=0;z<g.length&&(!h||!0!==h[rt]);z++){const O=Z(g[z],V,h);O&&G.push(O)}}if(1===G.length)throw G[0];for(let g=0;g<G.length;g++){const z=G[g];r.nativeScheduleMicroTask(()=>{throw z})}}}const U=function(k){return x(this,k,!1)},J=function(k){return x(this,k,!0)};function K(k,h){if(!k)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let G=!1;h&&void 0!==h.rt&&(G=h.rt);let g=k;for(;g&&!g.hasOwnProperty(i);)g=Le(g);if(!g&&k[i]&&(g=k),!g||g[m])return!1;const z=h&&h.eventNameToString,O={},R=g[m]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],Q=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return R.call(O.target,O.eventName,O.capture?J:U,O.options)}:function(s){return R.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let y=0;y<C.length;y++)if(C[y]===s){C.splice(y,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?J:U,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h&&h.diff?h.diff:function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},de=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,y=!1,L=!1){return function(){const I=this||e;let M=arguments[0];h&&h.transferEventName&&(M=h.transferEventName(M));let F=arguments[1];if(!F)return s.apply(this,arguments);if(Re&&"uncaughtException"===M)return s.apply(this,arguments);let B=!1;if("function"!=typeof F){if(!F.handleEvent)return s.apply(this,arguments);B=!0}if(V&&!V(s,F,I,arguments))return;const Ee=ge&&!!oe&&-1!==oe.indexOf(M),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(s,l){return!ge&&"object"==typeof s&&s?!!s.capture:ge&&l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Ee)),me=ie?.signal;if(me?.aborted)return;if(de)for(let ce=0;ce<de.length;ce++)if(M===de[ce])return Ee?s.call(I,M,F,ie):s.apply(this,arguments);const Be=!!ie&&("boolean"==typeof ie||ie.capture),lt=!(!ie||"object"!=typeof ie)&&ie.once,At=Zone.current;let Ue=ne[M];Ue||(ot(M,z),Ue=ne[M]);const ut=Ue[Be?ae:le];let Se,pe=I[ut],ft=!1;if(pe){if(ft=!0,Y)for(let ce=0;ce<pe.length;ce++)if(he(pe[ce],F))return}else pe=I[ut]=[];const ht=I.constructor.name,dt=tt[ht];dt&&(Se=dt[M]),Se||(Se=ht+l+(z?z(M):M)),O.options=ie,lt&&(O.options.once=!1),O.target=I,O.capture=Be,O.eventName=M,O.isExisting=ft;const Pe=H?vt:void 0;Pe&&(Pe.taskData=O),me&&(O.options.signal=void 0);const se=At.scheduleEventTask(Se,F,Pe,v,C);if(me){O.options.signal=me;const ce=()=>se.zone.cancelTask(se);s.call(me,"abort",ce,{once:!0}),se.removeAbortListener=()=>me.removeEventListener("abort",ce)}return O.target=null,Pe&&(Pe.taskData=null),lt&&(O.options.once=!0),!ge&&"boolean"==typeof se.options||(se.options=ie),se.target=I,se.capture=Be,se.eventName=M,B&&(se.originalDelegate=F),L?pe.unshift(se):pe.push(se),y?I:void 0}};return g[i]=a(R,D,q,A,G),W&&(g[d]=a(W,w,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,G,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),y=arguments[1];if(!y)return b.apply(this,arguments);if(V&&!V(b,y,s,arguments))return;const L=ne[l];let I;L&&(I=L[C?ae:le]);const M=I&&s[I];if(M)for(let F=0;F<M.length;F++){const B=M[F];if(he(B,y))return M.splice(F,1),B.isRemoved=!0,0!==M.length||(B.allRemoved=!0,s[I]=null,C||"string"!=typeof l)||(s[ve+"ON_PROPERTY"+l]=null),B.zone.cancelTask(B),G?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=st(s,z?z(l):l);for(let y=0;y<C.length;y++){const L=C[y];v.push(L.originalDelegate?L.originalDelegate:L.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const L=s[v[le]],I=s[v[ae]];if(L){const M=L.slice();for(let F=0;F<M.length;F++){const B=M[F];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(I){const M=I.slice();for(let F=0;F<M.length;F++){const B=M[F];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const L=nt.exec(v[C]);let I=L&&L[1];I&&"removeListener"!==I&&this[T].call(this,I)}this[T].call(this,"removeListener")}if(G)return this},fe(g[i],R),fe(g[u],b),Q&&fe(g[T],Q),S&&fe(g[E],S),!0}let X=[];for(let k=0;k<c.length;k++)X[k]=K(c[k],t);return X}function st(e,r){if(!r){const u=[];for(let E in e){const T=nt.exec(E);let m=T&&T[1];if(m&&(!r||m===r)){const D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=ne[r];c||(ot(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function Pt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[rt]=!0,t&&t.apply(i,u)})}const De=j("zoneTask");function ye(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const w=i.apply(e,d.args);return et(w)?d.handleId=w:(d.handle=w,d.isRefreshable=Qe(w.refresh)),D}function m(D){const{handle:d,handleId:w}=D.data;return u.call(e,d??w)}i=ue(e,r+=t,D=>function(d,w){if(Qe(w[0])){const Z={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?w[1]||0:void 0,args:w},x=w[0];w[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:G}=Z;!Y&&!G&&(V?delete E[V]:H&&(H[De]=null))}};const U=He(r,w[0],Z,T,m);if(!U)return U;const{handleId:J,handle:K,isRefreshable:X,isPeriodic:k}=U.data;if(J)E[J]=U;else if(K&&(K[De]=U,X&&!k)){const h=K.refresh;K.refresh=function(){const{zone:H,state:V}=U;return"notScheduled"===V?(U._state="scheduled",H._updateTaskCount(U,1)):"running"===V&&(U._state="scheduling"),h.call(this)}}return K??J??U}return D.apply(e,w)}),u=ue(e,c,D=>function(d,w){const Z=w[0];let x;et(Z)?(x=E[Z],delete E[Z]):(x=Z?.[De],x?Z[De]=null:x=Z),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,w)})}function it(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(!t||0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function ct(e,r,c,t){e&&Je(e,it(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function It(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,m,D){return m&&m.prototype&&i.forEach(function(d){const w=`${c}.${t}::`+d,Z=m.prototype;try{if(Z.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(Z,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,w),e._redefineProperty(m.prototype,d,x)):Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}else Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}catch{}}),E.call(r,T,m,D)},e.attachOriginToPatched(r[t],E)}const at=function Oe(){const e=globalThis,r=!0===e[ee("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function ze(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static#e=this.__symbol__=ee;static assertZonePatched(){if(te.Promise!==O.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 n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){const P=!0===te[ee("forceDuplicateZoneCheck")];if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,R),c(P,P)}}get parent(){return this._parent}get name(){return this._name}constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===z||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==z||A||_e&&oe===k)he&&P._transitionTo(h,H,k);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(k,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,k,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==k&&n._transitionTo(h,k),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(G,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(z,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const p=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<p.length;P++)p[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}constructor(_,n,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const p=o&&o.onHasTask;(p||n&&n._hasTaskZS)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=G)throw new Error("Task is missing scheduleFn.");U(n)}return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{constructor(_,n,o,p,P,q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===z&&p&&p.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==Q&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,k)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const T=ee("setTimeout"),m=ee("Promise"),D=ee("then");let Z,d=[],w=!1;function x(N){if(Z||te[m]&&(Z=te[m].resolve(0)),Z){let _=Z[D];_||(_=Z.then),_.call(Z,N)}else te[T](N,0)}function U(N){0===Q&&0===d.length&&x(J),N&&d.push(N)}function J(){if(!w){for(w=!0;d.length;){const N=d;d=[];for(let _=0;_<N.length;_++){const n=N[_];try{n.zone.runTask(n,null,null)}catch(o){R.onUnhandledError(o)}}}R.microtaskDrainDone(),w=!1}}const K={name:"NO ZONE"},X="notScheduled",k="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",G="microTask",g="macroTask",z="eventTask",O={},R={symbol:ee,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Zt(e){(function Nt(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,m=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),w=T("then"),Z="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;m.length;){const f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){U(a)}}};const x=T("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function J(f){return f&&f.then}function K(f){return f}function X(f){return A.reject(f)}const k=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),G="Promise.then",g=null,z=!0,O=!1,R=0;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(Q);if(f[k]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(k)&&s.hasOwnProperty(h)&&s[k]!==g)n(s),N(f,s[k],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[k]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===z&&(f[k]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const y=c.currentTask&&c.currentTask.data&&c.currentTask.data[Z];y&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y<C.length;)o(f,C[y++],C[y++],C[y++],C[y++]);if(0==C.length&&a==O){f[k]=R;let y=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(L){y=L}D&&(y.throwOriginal=!0),y.rejection=s,y.promise=f,y.zone=c.current,y.task=c.currentTask,m.push(y),t.scheduleMicroTask()}}}return f}const _=T("rejectionHandledHandler");function n(f){if(f[k]===R){try{const a=c[_];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[k]=O;for(let a=0;a<m.length;a++)f===m[a].promise&&m.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[k],y=C?"function"==typeof l?l:K:"function"==typeof v?v:X;a.scheduleMicroTask(G,()=>{try{const L=f[h],I=!!s&&H===s[H];I&&(s[V]=L,s[Y]=C);const M=a.run(y,void 0,I&&y!==X&&y!==K?[]:[L]);N(s,!0,M)}catch(L){N(s,!1,L)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),z,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let y of a)l++,s.push(A.resolve(y))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((y,L)=>{for(let I=0;I<s.length;I++)s[I].then(M=>{v||(v=!0,y(M))},M=>{C.push(M),l--,0===l&&(v=!0,L(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((L,I)=>{s=L,l=I});function C(L){s(L)}function y(L){l(L)}for(let L of a)J(L)||(L=this.resolve(L)),L.then(C,y);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((M,F)=>{l=M,v=F}),y=2,L=0;const I=[];for(let M of a){J(M)||(M=this.resolve(M));const F=L;try{M.then(B=>{I[F]=s?s.thenCallback(B):B,y--,0===y&&l(I)},B=>{s?(I[F]=s.errorCallback(B),y--,0===y&&l(I)):v(B)})}catch(B){v(B)}y++,L++}return y-=2,0===y&&l(I),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[k]=g,s[h]=[];try{const l=S();a&&a(l(b(s,z)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[k]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[k]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[w]=l,f.prototype.then=function(v,C){return new A((L,I)=>{l.call(this,L,I)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})})(e),function Lt(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const w=r[i];if(w)return c.call(w)}if(this===Error){const w=r[u];if(w)return c.call(w)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Mt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=Je,t.patchMethod=ue,t.bindArguments=xe,t.patchMacroTask=mt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=Pt,t.patchEventTarget=bt,t.isIEOrEdge=kt,t.ObjectDefineProperty=Ne,t.ObjectGetOwnPropertyDescriptor=ke,t.ObjectCreate=_t,t.ArraySlice=Et,t.patchClass=be,t.wrapWithCurrentZone=je,t.filterProperties=it,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=It,t.getGlobalObjects=()=>({globalSources:tt,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ve,isMix:Xe,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:Ie,REMOVE_EVENT_LISTENER_STR:Me})})}(e)})(at),function Ot(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";ye(r,c,t,"Timeout"),ye(r,c,t,"Interval"),ye(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ye(r,"request","cancel","AnimationFrame"),ye(r,"mozRequest","mozCancel","AnimationFrame"),ye(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,m)=>function(D,d){return c.current.run(E,r,d,m)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function Dt(e,r){r.patchEventPrototype(e,r)})(r,t),function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;m<c.length;m++){const D=c[m],Z=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=Z,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{be("MutationObserver"),be("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{be("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{be("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function St(e,r){if(Re&&!Xe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ve){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function pt(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];ct(i,Fe(i),c&&c.concat(u),Le(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u&&u.prototype&&ct(u.prototype,Fe(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Rt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const w=d.XMLHttpRequest;if(!w)return;const Z=w.prototype;let U=Z[Ze],J=Z[Ae];if(!U){const R=d.XMLHttpRequestEventTarget;if(R){const b=R.prototype;U=b[Ze],J=b[Ae]}}const K="readystatechange",X="scheduled";function k(R){const b=R.data,S=b.target;S[E]=!1,S[m]=!1;const Q=S[u];U||(U=S[Ze],J=S[Ae]),Q&&J.call(S,K,Q);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&R.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=R.invoke;R.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let p=0;p<o.length;p++)o[p]===R&&o.splice(p,1);!b.aborted&&R.state===X&&n.call(R)},_.push(R)}else R.invoke()}else!b.aborted&&!1===S[E]&&(S[m]=!0)};return U.call(S,K,W),S[t]||(S[t]=R),z.apply(S,b.args),S[E]=!0,R}function h(){}function H(R){const b=R.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(Z,"open",()=>function(R,b){return R[i]=0==b[2],R[T]=b[1],V.apply(R,b)}),G=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),z=ue(Z,"send",()=>function(R,b){if(!0===c.current[g]||R[i])return z.apply(R,b);{const S={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},Q=He("XMLHttpRequest.send",h,S,k,H);R&&!0===R[m]&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=ue(Z,"abort",()=>function(R,b){const S=function x(R){return R[t]}(R);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[G])return O.apply(R,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),m=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function gt(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!We(ke(e,i)))continue;e[i]=(T=>{const m=function(){return T.apply(this,xe(arguments,c+"."+i))};return fe(m,T),m})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){st(r,i).forEach(T=>{const m=r.PromiseRejectionEvent;if(m){const D=new m(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function wt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(at)}},te=>{te(te.s=935)}]);
|
|
3
|
-
(self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[]).push([[792],{270:(en,Pe,ue)=>{"use strict";function Ae(e,n){return Object.is(e,n)}let q=null,xe=!1,Se=1;const Ze=Symbol("SIGNAL");function te(e){const n=q;return q=e,n}const gt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ln(e){if(xe)throw new Error("");if(null===q)return;q.consumerOnSignalRead(e);const n=q.nextProducerIndex++;cr(q),n<q.producerNode.length&&q.producerNode[n]!==e&&An(q)&&jn(q.producerNode[n],q.producerIndexOfThis[n]),q.producerNode[n]!==e&&(q.producerNode[n]=e,q.producerIndexOfThis[n]=An(q)?Ci(e,q,n):0),q.producerLastReadVersion[n]=e.version}function He(e){if((!An(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Se)){if(!e.producerMustRecompute(e)&&!nn(e))return e.dirty=!1,void(e.lastCleanEpoch=Se);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Se}}function Le(e){if(void 0===e.liveConsumerNode)return;const n=xe;xe=!0;try{for(const t of e.liveConsumerNode)t.dirty||Te(t)}finally{xe=n}}function oe(){return!1!==q?.consumerAllowSignalWrites}function Te(e){e.dirty=!0,Le(e),e.consumerMarkedDirty?.(e)}function Ue(e){return e&&(e.nextProducerIndex=0),te(e)}function Dt(e,n){if(te(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(An(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)jn(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function nn(e){cr(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(He(t),r!==t.version))return!0}return!1}function vn(e){if(cr(e),An(e))for(let n=0;n<e.producerNode.length;n++)jn(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ci(e,n,t){if(de(e),0===e.liveConsumerNode.length&&Ne(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ci(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function jn(e,n){if(de(e),1===e.liveConsumerNode.length&&Ne(e))for(let r=0;r<e.producerNode.length;r++)jn(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];cr(i),i.producerIndexOfThis[r]=n}}function An(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function cr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function de(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ne(e){return void 0!==e.producerNode}const Be=Symbol("UNSET"),Oe=Symbol("COMPUTING"),ke=Symbol("ERRORED"),$e={...gt,value:Be,dirty:!0,error:null,equal:Ae,producerMustRecompute:e=>e.value===Be||e.value===Oe,producerRecomputeValue(e){if(e.value===Oe)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Oe;const t=Ue(e);let r;try{r=e.computation()}catch(i){r=ke,e.error=i}finally{Dt(e,t)}n!==Be&&n!==ke&&r!==ke&&e.equal(n,r)?e.value=n:(e.value=r,e.version++)}};let vt=function Je(){throw new Error};function Ee(){vt()}let Nn=null;function zt(e,n){oe()||Ee(),e.equal(e.value,n)||(e.value=n,function Cr(e){e.version++,function Ye(){Se++}(),Le(e),Nn?.()}(e))}const Gn={...gt,equal:Ae,value:void 0};const Vt=()=>{},dn={...gt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Vt};function et(e){return"function"==typeof e}function Lr(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const St=Lr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ki(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class at{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(et(r))try{r()}catch(o){n=o instanceof St?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Tt(o)}catch(s){n=n??[],s instanceof St?n=[...n,...s.errors]:n.push(s)}}if(n)throw new St(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Tt(n);else{if(n instanceof at){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ki(t,n)}remove(n){const{_finalizers:t}=this;t&&Ki(t,n),n instanceof at&&n._removeParent(this)}}at.EMPTY=(()=>{const e=new at;return e.closed=!0,e})();const ni=at.EMPTY;function Qo(e){return e instanceof at||e&&"closed"in e&&et(e.remove)&&et(e.add)&&et(e.unsubscribe)}function Tt(e){et(e)?e():e.unsubscribe()}const Er={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Et={setTimeout(e,n,...t){const{delegate:r}=Et;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Et;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ls(e){Et.setTimeout(()=>{const{onUnhandledError:n}=Er;if(!n)throw e;n(e)})}function Fs(){}const Vs=$s("C",void 0,void 0);function $s(e,n,t){return{kind:e,value:n,error:t}}let Dr=null;function Xi(e){if(Er.useDeprecatedSynchronousErrorHandling){const n=!Dr;if(n&&(Dr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Dr;if(Dr=null,t)throw r}}else e()}class Jo extends at{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Qo(n)&&n.add(this)):this.destination=Mr}static create(n,t,r){return new Tr(n,t,r)}next(n){this.isStopped?Ji(function Pa(e){return $s("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ji(function vl(e){return $s("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ji(Vs,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Sr=Function.prototype.bind;function Fr(e,n){return Sr.call(e,n)}class _l{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Qi(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Qi(r)}else Qi(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Qi(t)}}}class Tr extends Jo{constructor(n,t,r){let i;if(super(),et(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Er.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Fr(n.next,o),error:n.error&&Fr(n.error,o),complete:n.complete&&Fr(n.complete,o)}):i=n}this.destination=new _l(i)}}function Qi(e){Er.useDeprecatedSynchronousErrorHandling?function Oa(e){Er.useDeprecatedSynchronousErrorHandling&&Dr&&(Dr.errorThrown=!0,Dr.error=e)}(e):Ls(e)}function Ji(e,n){const{onStoppedNotification:t}=Er;t&&Et.setTimeout(()=>t(e,n))}const Mr={closed:!0,next:Fs,error:function Bs(e){throw e},complete:Fs},Io="function"==typeof Symbol&&Symbol.observable||"@@observable";function wn(e){return e}let lt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Ei(e){return e&&e instanceof Jo||function Xe(e){return e&&et(e.next)&&et(e.error)&&et(e.complete)}(e)&&Qo(e)}(t)?t:new Tr(t,r,i);return Xi(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Nt(r))((i,o)=>{const s=new Tr({next:a=>{try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Io](){return this}pipe(...t){return function eo(e){return 0===e.length?wn:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=Nt(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Nt(e){var n;return null!==(n=e??Er.Promise)&&void 0!==n?n:Promise}const wl=Lr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let hn=(()=>{class e extends lt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Wn(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new wl}next(t){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?ni:(this.currentObservers=null,o.push(t),new at(()=>{this.currentObservers=null,Ki(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new lt;return t.source=this,t}}return e.create=(n,t)=>new Wn(n,t),e})();class Wn extends hn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:ni}}class to extends hn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function Hn(e){return n=>{if(function Ra(e){return et(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function bn(e,n,t,r,i){return new Vr(e,n,t,r,i)}class Vr extends Jo{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function rn(e,n){return Hn((t,r)=>{let i=0;t.subscribe(bn(r,o=>{r.next(e.call(n,o,i++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Lv="https://g.co/ng/security#xss";class k extends Error{constructor(n,t){super(function Za(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function Oo(e){return{toString:e}.toString()}const Ya="__annotations__",Ka="__parameters__",Xa="__prop__metadata__";function $v(e,n,t,r,i){return Oo(()=>{const o=Jp(n);function s(...a){if(this instanceof s)return o.call(this,...a),this;const c=new s(...a);return function(u){return i&&i(u,...a),(u.hasOwnProperty(Ya)?u[Ya]:Object.defineProperty(u,Ya,{value:[]})[Ya]).push(c),r&&r(u),u}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Jp(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}function Qa(e,n,t){return Oo(()=>{const r=Jp(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(Ka)?c[Ka]:Object.defineProperty(c,Ka,{value:[]})[Ka];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const $t=globalThis;function _t(e){for(let n in e)if(e[n]===_t)return n;throw Error("Could not find renamed property on target object.")}function S6(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Pn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function em(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const T6=_t({__forward_ref__:_t});function wt(e){return e.__forward_ref__=wt,e.toString=function(){return Pn(this())},e}function ye(e){return Md(e)?e():e}function Md(e){return"function"==typeof e&&e.hasOwnProperty(T6)&&e.__forward_ref__===wt}function ee(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function On(e){return{providers:e.providers||[],imports:e.imports||[]}}function Id(e){return Bv(e,Ad)||Bv(e,jv)}function Bv(e,n){return e.hasOwnProperty(n)?e[n]:null}function xd(e){return e&&(e.hasOwnProperty(tm)||e.hasOwnProperty(N6))?e[tm]:null}const Ad=_t({\u0275prov:_t}),tm=_t({\u0275inj:_t}),jv=_t({ngInjectableDef:_t}),N6=_t({ngInjectorDef:_t});class W{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ee({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function sm(e){return e&&!!e.\u0275providers}const Ml=_t({\u0275cmp:_t}),am=_t({\u0275dir:_t}),cm=_t({\u0275pipe:_t}),Uv=_t({\u0275mod:_t}),Ro=_t({\u0275fac:_t}),Il=_t({__NG_ELEMENT_ID__:_t}),zv=_t({__NG_ENV_ID__:_t});function Me(e){return"string"==typeof e?e:null==e?"":String(e)}function lm(e,n){throw new k(-201,!1)}var Ge=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ge||{});let um;function Gv(){return um}function xr(e){const n=um;return um=e,n}function Wv(e,n,t){const r=Id(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&Ge.Optional?null:void 0!==n?n:void lm()}const xl={},dm="__NG_DI_FLAG__",Nd="ngTempTokenPath",F6=/\n/gm,qv="__source";let Ja;function ps(e){const n=Ja;return Ja=e,n}function B6(e,n=Ge.Default){if(void 0===Ja)throw new k(-203,!1);return null===Ja?Wv(e,void 0,n):Ja.get(e,n&Ge.Optional?null:void 0,n)}function Z(e,n=Ge.Default){return(Gv()||B6)(ye(e),n)}function U(e,n=Ge.Default){return Z(e,kd(n))}function kd(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function hm(e){const n=[];for(let t=0;t<e.length;t++){const r=ye(e[t]);if(Array.isArray(r)){if(0===r.length)throw new k(900,!1);let i,o=Ge.Default;for(let s=0;s<r.length;s++){const a=r[s],c=j6(a);"number"==typeof c?-1===c?i=a.token:o|=c:i=a}n.push(Z(i,o))}else n.push(Z(r))}return n}function Al(e,n){return e[dm]=n,e.prototype[dm]=n,e}function j6(e){return e[dm]}const z6=Al(Qa("Inject",e=>({token:e})),-1),fm=Al(Qa("Optional"),8),G6=Al(Qa("Self"),2),pm=Al(Qa("SkipSelf"),4),W6=Al(Qa("Host"),1);function Ys(e,n){return e.hasOwnProperty(Ro)?e[Ro]:null}function ec(e,n){e.forEach(t=>Array.isArray(t)?ec(t,n):n(t))}function Yv(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Pd(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Od(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}function Hr(e,n,t){let r=tc(e,n);return r>=0?e[1|r]=t:(r=~r,function Kv(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function gm(e,n){const t=tc(e,n);if(t>=0)return e[1|t]}function tc(e,n){return function Xv(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const co={},tt=[],lo=new W(""),Qv=new W("",-1),ym=new W("");class Rd{get(n,t=xl){if(t===xl){const r=new Error(`NullInjectorError: No provider for ${Pn(n)}!`);throw r.name="NullInjectorError",r}return t}}var Ld=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ld||{}),Mi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Mi||{}),ms=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ms||{});function Z6(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function vm(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,o)}else{const o=i,s=t[++r];e_(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function Jv(e){return 3===e||4===e||6===e}function e_(e){return 64===e.charCodeAt(0)}function Nl(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||t_(e,t,i,null,-1===t||2===t?n[++r]:null)}}return e}function t_(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const n_="ng-template";function Y6(e,n,t,r){let i=0;if(r){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==Z6(n[i+1].toLowerCase(),t,0))return!0}else if(_m(e))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&"string"==typeof(o=n[i]);)if(o.toLowerCase()===t)return!0}return!1}function _m(e){return 4===e.type&&e.value!==n_}function K6(e,n,t){return n===(4!==e.type||t?e.value:n_)}function X6(e,n,t){let r=4;const i=e.attrs,o=null!==i?function e9(e){for(let n=0;n<e.length;n++)if(Jv(e[n]))return n;return e.length}(i):0;let s=!1;for(let a=0;a<n.length;a++){const c=n[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!K6(e,c,t)||""===c&&1===n.length){if(Ii(r))return!1;s=!0}}else if(8&r){if(null===i||!Y6(e,i,c,t)){if(Ii(r))return!1;s=!0}}else{const l=n[++a],u=Q6(c,i,_m(e),t);if(-1===u){if(Ii(r))return!1;s=!0;continue}if(""!==l){let d;if(d=u>o?"":i[u+1].toLowerCase(),2&r&&l!==d){if(Ii(r))return!1;s=!0}}}}else{if(!s&&!Ii(r)&&!Ii(c))return!1;if(s&&Ii(c))continue;s=!1,r=c|1&r}}return Ii(r)||s}function Ii(e){return!(1&e)}function Q6(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++i];for(;"string"==typeof a;)a=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function t9(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function r_(e,n,t=!1){for(let r=0;r<n.length;r++)if(X6(e,n[r],t))return!0;return!1}function n9(e,n){e:for(let t=0;t<n.length;t++){const r=n[t];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function i_(e,n){return e?":not("+n.trim()+")":n}function r9(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const a=e[++t];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Ii(s)&&(n+=i_(o,i),i=""),r=s,o=o||!Ii(r);t++}return""!==i&&(n+=i_(o,i)),n}function Bt(e){return Oo(()=>{const n=s_(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ld.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mi.Emulated,styles:e.styles||tt,_:null,schemas:e.schemas||null,tView:null,id:""};a_(t);const r=e.dependencies;return t.directiveDefs=Fd(r,!1),t.pipeDefs=Fd(r,!0),t.id=function l9(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function s9(e){return Ve(e)||Rn(e)}function a9(e){return null!==e}function Un(e){return Oo(()=>({type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function o_(e,n){if(null==e)return co;const t={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,a=ms.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(t[o]=a!==ms.None?[r,a]:r,n[o]=s):t[o]=r}return t}function De(e){return Oo(()=>{const n=s_(e);return a_(n),n})}function En(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ve(e){return e[Ml]||null}function Rn(e){return e[am]||null}function Zn(e){return e[cm]||null}function s_(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||co,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:o_(e.inputs,n),outputs:o_(e.outputs),debugInfo:null}}function a_(e){e.features?.forEach(n=>n(e))}function Fd(e,n){if(!e)return null;const t=n?Zn:s9;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(a9)}function nc(e){return{\u0275providers:e}}function u9(...e){return{\u0275providers:wm(0,e),\u0275fromNgModule:!0}}function wm(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return ec(n,s=>{const a=s;Vd(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&c_(i,o),t}function c_(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:i}=e[t];bm(i,o=>{n(o,r)})}}function Vd(e,n,t,r){if(!(e=ye(e)))return!1;let i=null,o=xd(e);const s=!o&&Ve(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(o=xd(c),!o)return!1;i=c}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Vd(l,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;r.add(i);try{ec(o.imports,u=>{Vd(u,n,t,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&c_(l,n)}if(!a){const l=Ys(i)||(()=>new i);n({provide:i,useFactory:l,deps:tt},i),n({provide:ym,useValue:i,multi:!0},i),n({provide:lo,useValue:()=>Z(i),multi:!0},i)}const c=o.providers;if(null!=c&&!a){const l=e;bm(c,u=>{n(u,l)})}}}return i!==e&&void 0!==e.providers}function bm(e,n){for(let t of e)sm(t)&&(t=t.\u0275providers),Array.isArray(t)?bm(t,n):n(t)}const d9=_t({provide:String,useValue:_t});function Cm(e){return null!==e&&"object"==typeof e&&d9 in e}function Xs(e){return"function"==typeof e}const Em=new W(""),$d={},f9={};let Dm;function Bd(){return void 0===Dm&&(Dm=new Rd),Dm}class ai{}class rc extends ai{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tm(n,s=>this.processProvider(s)),this.records.set(Qv,ic(void 0,this)),i.has("environment")&&this.records.set(ai,ic(void 0,this));const o=this.records.get(Em);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ym,tt,Ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=te(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),te(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=ps(this),r=xr(void 0);try{return n()}finally{ps(t),xr(r)}}get(n,t=xl,r=Ge.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(zv))return n[zv](this);r=kd(r);const o=ps(this),s=xr(void 0);try{if(!(r&Ge.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function v9(e){return"function"==typeof e||"object"==typeof e&&e instanceof W}(n)&&Id(n);c=l&&this.injectableDefInScope(l)?ic(Sm(n),$d):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&Ge.Self?Bd():this.parent).get(n,t=r&Ge.Optional&&t===xl?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Nd]=a[Nd]||[]).unshift(Pn(n)),o)throw a;return function H6(e,n,t,r){const i=e[Nd];throw n[qv]&&i.unshift(n[qv]),e.message=function U6(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Pn(n);if(Array.isArray(n))i=n.map(Pn).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Pn(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(F6,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Nd]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{xr(s),ps(o)}}resolveInjectorInitializers(){const n=te(null),t=ps(this),r=xr(void 0);try{const o=this.get(lo,tt,Ge.Self);for(const s of o)s()}finally{ps(t),xr(r),te(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Pn(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new k(205,!1)}processProvider(n){let t=Xs(n=ye(n))?n:ye(n&&n.provide);const r=function m9(e){return Cm(e)?ic(void 0,e.useValue):ic(d_(e),$d)}(n);if(!Xs(n)&&!0===n.multi){let i=this.records.get(t);i||(i=ic(void 0,$d,!0),i.factory=()=>hm(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=te(null);try{return t.value===$d&&(t.value=f9,t.value=t.factory()),"object"==typeof t.value&&t.value&&function y9(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{te(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ye(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Sm(e){const n=Id(e),t=null!==n?n.factory:Ys(e);if(null!==t)return t;if(e instanceof W)throw new k(204,!1);if(e instanceof Function)return function p9(e){if(e.length>0)throw new k(204,!1);const t=function A6(e){return e&&(e[Ad]||e[jv])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new k(204,!1)}function d_(e,n,t){let r;if(Xs(e)){const i=ye(e);return Ys(i)||Sm(i)}if(Cm(e))r=()=>ye(e.useValue);else if(function u_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...hm(e.deps||[]));else if(function l_(e){return!(!e||!e.useExisting)}(e))r=()=>Z(ye(e.useExisting));else{const i=ye(e&&(e.useClass||e.provide));if(!function g9(e){return!!e.deps}(e))return Ys(i)||Sm(i);r=()=>new i(...hm(e.deps))}return r}function ic(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Tm(e,n){for(const t of e)Array.isArray(t)?Tm(t,n):t&&sm(t)?Tm(t.\u0275providers,n):n(t)}function h_(){return void 0!==Gv()||null!=function $6(){return Ja}()}function Ln(e){const n=$t.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const f_={\u0275\u0275defineInjectable:ee,\u0275\u0275defineInjector:On,\u0275\u0275inject:Z,\u0275\u0275invalidFactoryDep:function Zv(e){throw new k(202,!1)},resolveForwardRef:ye},C9=Function;function kl(e){return"function"==typeof e}const E9=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,D9=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,S9=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,T9=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class I9{constructor(n){this._reflect=n||$t.Reflect}factory(n){return(...t)=>new n(...t)}_zipTypesAndAnnotations(n,t){let r;r=Od(typeof n>"u"?t.length:n.length);for(let i=0;i<r.length;i++)r[i]=typeof n>"u"?[]:n[i]&&n[i]!=Object?[n[i]]:[],t&&null!=t[i]&&(r[i]=r[i].concat(t[i]));return r}_ownParameters(n,t){if(function M9(e){return E9.test(e)||T9.test(e)||D9.test(e)&&!S9.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==t.parameters)return n.parameters;const i=n.ctorParameters;if(i&&i!==t.ctorParameters){const a="function"==typeof i?i():i,c=a.map(u=>u&&u.type),l=a.map(u=>u&&Im(u.decorators));return this._zipTypesAndAnnotations(c,l)}const o=n.hasOwnProperty(Ka)&&n[Ka],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return s||o?this._zipTypesAndAnnotations(s,o):Od(n.length)}parameters(n){if(!kl(n))return[];const t=jd(n);let r=this._ownParameters(n,t);return!r&&t!==Object&&(r=this.parameters(t)),r||[]}_ownAnnotations(n,t){if(n.annotations&&n.annotations!==t.annotations){let r=n.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return n.decorators&&n.decorators!==t.decorators?Im(n.decorators):n.hasOwnProperty(Ya)?n[Ya]:null}annotations(n){if(!kl(n))return[];const t=jd(n),r=this._ownAnnotations(n,t)||[];return(t!==Object?this.annotations(t):[]).concat(r)}_ownPropMetadata(n,t){if(n.propMetadata&&n.propMetadata!==t.propMetadata){let r=n.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(n.propDecorators&&n.propDecorators!==t.propDecorators){const r=n.propDecorators,i={};return Object.keys(r).forEach(o=>{i[o]=Im(r[o])}),i}return n.hasOwnProperty(Xa)?n[Xa]:null}propMetadata(n){if(!kl(n))return{};const t=jd(n),r={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(s=>{r[s]=o[s]})}const i=this._ownPropMetadata(n,t);return i&&Object.keys(i).forEach(o=>{const s=[];r.hasOwnProperty(o)&&s.push(...r[o]),s.push(...i[o]),r[o]=s}),r}ownPropMetadata(n){return kl(n)&&this._ownPropMetadata(n,jd(n))||{}}hasLifecycleHook(n,t){return n instanceof C9&&t in n.prototype}}function Im(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function jd(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}const Zt=0,j=1,le=2,Dn=3,xi=4,Yn=5,ur=6,sc=7,kt=8,Sn=9,uo=10,ve=11,Pl=12,p_=13,ac=14,Yt=15,Qs=16,cc=17,Lo=18,lc=19,m_=20,gs=21,Hd=22,ci=23,re=25,xm=1,ho=7,uc=9,fn=10;var zd=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(zd||{});function Fn(e){return Array.isArray(e)&&"object"==typeof e[xm]}function nr(e){return Array.isArray(e)&&!0===e[xm]}function Am(e){return!!(4&e.flags)}function Js(e){return e.componentOffset>-1}function Gd(e){return!(1&~e.flags)}function Ai(e){return!!e.template}function Rl(e){return!!(512&e[le])}class w_{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function b_(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function Ni(){return C_}function C_(e){return e.type.prototype.ngOnChanges&&(e.setInput=k9),N9}function N9(){const e=D_(this),n=e?.current;if(n){const t=e.previous;if(t===co)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function k9(e,n,t,r,i){const o=this.declaredInputs[r],s=D_(e)||function P9(e,n){return e[E_]=n}(e,{previous:co,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[o];a[o]=new w_(l&&l.currentValue,t,c===co),b_(e,n,i,t)}Ni.ngInherit=!0;const E_="__ngSimpleChanges__";function D_(e){return e[E_]||null}const fo=function(e,n,t){};function nt(e){for(;Array.isArray(e);)e=e[Zt];return e}function Ll(e,n){return nt(n[e])}function dr(e,n){return nt(n[e.index])}function Fl(e,n){return e.data[n]}function ea(e,n){return e[n]}function Ur(e,n){const t=n[e];return Fn(t)?t:t[Zt]}function Rm(e){return!(128&~e[le])}function li(e,n){return null==n?null:e[n]}function M_(e){e[cc]=0}function I_(e){1024&e[le]||(e[le]|=1024,Rm(e)&&qd(e))}function Wd(e){return!!(9216&e[le]||e[ci]?.dirty)}function Lm(e){e[uo].changeDetectionScheduler?.notify(8),64&e[le]&&(e[le]|=1024),Wd(e)&&qd(e)}function qd(e){e[uo].changeDetectionScheduler?.notify(0);let n=Fo(e);for(;null!==n&&!(8192&n[le])&&(n[le]|=8192,Rm(n));)n=Fo(n)}function Zd(e,n){if(!(256&~e[le]))throw new k(911,!1);null===e[gs]&&(e[gs]=[]),e[gs].push(n)}function Fo(e){const n=e[Dn];return nr(n)?n[Dn]:n}const _e={lFrame:j_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let A_=!1;function N_(){return _e.bindingsEnabled}function ta(){return null!==_e.skipHydrationRootTNode}function A(){return _e.lFrame.lView}function Re(){return _e.lFrame.tView}function dt(e){return _e.lFrame.contextLView=e,e[kt]}function ht(e){return _e.lFrame.contextLView=null,e}function bt(){let e=k_();for(;null!==e&&64===e.type;)e=e.parent;return e}function k_(){return _e.lFrame.currentTNode}function ki(e,n){const t=_e.lFrame;t.currentTNode=e,t.isParent=n}function $m(){return _e.lFrame.isParent}function Bm(){_e.lFrame.isParent=!1}function P_(){return _e.lFrame.contextLView}function R_(){return A_}function L_(e){A_=e}function hr(){const e=_e.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Pi(){return _e.lFrame.bindingIndex++}function $o(e){const n=_e.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function q9(e,n){const t=_e.lFrame;t.bindingIndex=t.bindingRootIndex=e,jm(n)}function jm(e){_e.lFrame.currentDirectiveIndex=e}function Hm(e){const n=_e.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Kd(e){_e.lFrame.currentQueryIndex=e}function Y9(e){const n=e[j];return 2===n.type?n.declTNode:1===n.type?e[Yn]:null}function $_(e,n,t){if(t&Ge.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&Ge.Host||(i=Y9(o),null===i||(o=o[ac],10&i.type))););if(null===i)return!1;n=i,e=o}const r=_e.lFrame=B_();return r.currentTNode=n,r.lView=e,!0}function zm(e){const n=B_(),t=e[j];_e.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function B_(){const e=_e.lFrame,n=null===e?null:e.child;return null===n?j_(e):n}function j_(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function H_(){const e=_e.lFrame;return _e.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const U_=H_;function Gm(){const e=H_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Kn(){return _e.lFrame.selectedIndex}function na(e){_e.lFrame.selectedIndex=e}function Pt(){const e=_e.lFrame;return Fl(e.tView,e.selectedIndex)}let G_=!0;function $l(){return G_}function po(e){G_=e}function Xd(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function Qd(e,n,t){W_(e,n,3,t)}function Jd(e,n,t,r){(3&e[le])===t&&W_(e,n,t,r)}function Wm(e,n){let t=e[le];(3&t)===n&&(t&=16383,t+=1,e[le]=t)}function W_(e,n,t,r){const o=r??-1,s=n.length-1;let a=0;for(let c=void 0!==r?65535&e[cc]:0;c<s;c++)if("number"==typeof n[c+1]){if(a=n[c],null!=r&&a>=r)break}else n[c]<0&&(e[cc]+=65536),(a<o||-1==o)&&(nT(e,t,n,c),e[cc]=(4294901760&e[cc])+c+2),c++}function q_(e,n){fo(4,e,n);const t=te(null);try{n.call(e)}finally{te(t),fo(5,e,n)}}function nT(e,n,t,r){const i=t[r]<0,o=t[r+1],a=e[i?-t[r]:t[r]];i?e[le]>>14<e[cc]>>16&&(3&e[le])===n&&(e[le]+=16384,q_(a,o)):q_(a,o)}const dc=-1;class Bl{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}const Zm={};class ra{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=kd(r);const i=this.injector.get(n,Zm,r);return i!==Zm||t===Zm?i:this.parentInjector.get(n,t,r)}}function Ym(e){return e!==dc}function jl(e){return 32767&e}function Hl(e,n){let t=function sT(e){return e>>16}(e),r=n;for(;t>0;)r=r[ac],t--;return r}let Km=!0;function eh(e){const n=Km;return Km=e,n}const Y_=255,K_=5;let cT=0;const mo={};function th(e,n){const t=X_(e,n);if(-1!==t)return t;const r=n[j];r.firstCreatePass&&(e.injectorIndex=n.length,Xm(r.data,e),Xm(n,null),Xm(r.blueprint,null));const i=nh(e,n),o=e.injectorIndex;if(Ym(i)){const s=jl(i),a=Hl(i,n),c=a[j].data;for(let l=0;l<8;l++)n[o+l]=a[s+l]|c[s+l]}return n[o+8]=i,o}function Xm(e,n){e.push(0,0,0,0,0,0,0,0,n)}function X_(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function nh(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=i2(i),null===r)return dc;if(t++,i=i[ac],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return dc}function Qm(e,n,t){!function lT(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Il)&&(r=t[Il]),null==r&&(r=t[Il]=cT++);const i=r&Y_;n.data[e+(i>>K_)]|=1<<i}(e,n,t)}function Q_(e,n,t){if(t&Ge.Optional||void 0!==e)return e;lm()}function J_(e,n,t,r){if(t&Ge.Optional&&void 0===r&&(r=null),!(t&(Ge.Self|Ge.Host))){const i=e[Sn],o=xr(void 0);try{return i?i.get(n,r,t&Ge.Optional):Wv(n,r,t&Ge.Optional)}finally{xr(o)}}return Q_(r,0,t)}function e2(e,n,t,r=Ge.Default,i){if(null!==e){if(2048&n[le]&&!(r&Ge.Self)){const s=function pT(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[le]&&!(512&s[le]);){const a=t2(o,s,t,r|Ge.Self,mo);if(a!==mo)return a;let c=o.parent;if(!c){const l=s[m_];if(l){const u=l.get(t,mo,r);if(u!==mo)return u}c=i2(s),s=s[ac]}o=c}return i}(e,n,t,r,mo);if(s!==mo)return s}const o=t2(e,n,t,r,mo);if(o!==mo)return o}return J_(n,t,r,i)}function t2(e,n,t,r,i){const o=function hT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Il)?e[Il]:void 0;return"number"==typeof n?n>=0?n&Y_:fT:n}(t);if("function"==typeof o){if(!$_(n,e,r))return r&Ge.Host?Q_(i,0,r):J_(n,t,r,i);try{let s;if(s=o(r),null!=s||r&Ge.Optional)return s;lm()}finally{U_()}}else if("number"==typeof o){let s=null,a=X_(e,n),c=dc,l=r&Ge.Host?n[Yt][Yn]:null;for((-1===a||r&Ge.SkipSelf)&&(c=-1===a?nh(e,n):n[a+8],c!==dc&&r2(r,!1)?(s=n[j],a=jl(c),n=Hl(c,n)):a=-1);-1!==a;){const u=n[j];if(n2(o,a,u.data)){const d=dT(a,n,t,s,r,l);if(d!==mo)return d}c=n[a+8],c!==dc&&r2(r,n[j].data[a+8]===l)&&n2(o,a,n)?(s=u,a=jl(c),n=Hl(c,n)):a=-1}}return i}function dT(e,n,t,r,i,o){const s=n[j],a=s.data[e+8],u=function rh(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,c=e.directiveStart,u=o>>20,h=i?a+u:e.directiveEnd;for(let f=r?a:a+u;f<h;f++){const m=s[f];if(f<c&&t===m||f>=c&&m.type===t)return f}if(i){const f=s[c];if(f&&Ai(f)&&f.type===t)return c}return null}(a,s,t,null==r?Js(a)&&Km:r!=s&&!!(3&a.type),i&Ge.Host&&o===a);return null!==u?ia(n,s,u,a):mo}function ia(e,n,t,r){let i=e[t];const o=n.data;if(function rT(e){return e instanceof Bl}(i)){const s=i;s.resolving&&function O6(e,n){throw n&&n.join(" > "),new k(-200,e)}(function ut(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Me(e)}(o[t]));const a=eh(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?xr(s.injectImpl):null;$_(e,r,Ge.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function tT(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=C_(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&xr(l),eh(a),s.resolving=!1,U_()}}return i}function n2(e,n,t){return!!(t[n+(e>>K_)]&1<<e)}function r2(e,n){return!(e&Ge.Self||e&Ge.Host&&n)}class Vn{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return e2(this._tNode,this._lView,n,kd(r),t)}}function fT(){return new Vn(bt(),A())}function Xn(e){return Oo(()=>{const n=e.prototype.constructor,t=n[Ro]||Jm(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Ro]||Jm(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Jm(e){return Md(e)?()=>{const n=Jm(ye(e));return n&&n()}:Ys(e)}function i2(e){const n=e[j],t=n.type;return 2===t?n.declTNode:1===t?e[Yn]:null}const mT=Qa("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>function ih(e){return function uT(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(Jv(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(bt(),e)}(e)}));let o2=null;function oh(e){return s2(function eg(){return o2=o2||new I9}().parameters(e))}function s2(e){return e.map(n=>function gT(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let t=0;t<e.length;t++){const r=e[t];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof fm||"Optional"===i.ngMetadataName)n.optional=!0;else if(r instanceof pm||"SkipSelf"===i.ngMetadataName)n.skipSelf=!0;else if(r instanceof G6||"Self"===i.ngMetadataName)n.self=!0;else if(r instanceof W6||"Host"===i.ngMetadataName)n.host=!0;else if(r instanceof z6)n.token=r.token;else if(r instanceof mT){if(void 0===r.attributeName)throw new k(204,!1);n.attribute=r.attributeName}else n.token=r}else n.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return n}(n))}const vT=_t({provide:String,useValue:_t});function a2(e){return void 0!==e.useClass}function c2(e){return void 0!==e.useFactory}const CT=$v("Injectable",void 0,void 0,void 0,(e,n)=>function yT(e,n){let t=null,r=null;e.hasOwnProperty(Ad)||Object.defineProperty(e,Ad,{get:()=>(null===t&&(t=Ln().compileInjectable(f_,`ng:///${e.name}/\u0275prov.js`,function bT(e,n){const t=n||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:t.providedIn};return(a2(t)||c2(t))&&void 0!==t.deps&&(r.deps=s2(t.deps)),a2(t)?r.useClass=t.useClass:function _T(e){return vT in e}(t)?r.useValue=t.useValue:c2(t)?r.useFactory=t.useFactory:function wT(e){return void 0!==e.useExisting}(t)&&(r.useExisting=t.useExisting),r}(e,n))),t)}),e.hasOwnProperty(Ro)||Object.defineProperty(e,Ro,{get:()=>{if(null===r){const i=Ln();r=i.compileFactory(f_,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:oh(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,n));function l2(e,n=null,t=null,r){const i=u2(e,n,t,r);return i.resolveInjectorInitializers(),i}function u2(e,n=null,t=null,r,i=new Set){const o=[t||tt,u9(e)];return r=r||("object"==typeof e?void 0:Pn(e)),new rc(o,n||Bd(),r||null,i)}class It{static#e=this.THROW_IF_NOT_FOUND=xl;static#t=this.NULL=new Rd;static create(n,t){if(Array.isArray(n))return l2({name:""},t,n,"");{const r=n.name??"";return l2({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=ee({token:It,providedIn:"any",factory:()=>Z(Qv)});static#r=this.__NG_ELEMENT_ID__=-1}new W("").__NG_ELEMENT_ID__=e=>{const n=bt();if(null===n)throw new k(204,!1);if(2&n.type)return n.value;if(e&Ge.Optional)return null;throw new k(204,!1)};function tg(e){return e.ngOriginalError}const h2=!0;let Ul=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ST;static#t=this.__NG_ENV_ID__=t=>t}return e})();class DT extends Ul{constructor(n){super(),this._lView=n}onDestroy(n){return Zd(this._lView,n),()=>function Fm(e,n){if(null===e[gs])return;const t=e[gs].indexOf(n);-1!==t&&e[gs].splice(t,1)}(this._lView,n)}}function ST(){return new DT(A())}let oa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new to(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=ee({token:e,providedIn:"root",factory:()=>new e})}return e})();const Kt=class TT extends hn{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,h_()&&(this.destroyRef=U(Ul,{optional:!0})??void 0,this.pendingTasks=U(oa,{optional:!0})??void 0)}emit(n){const t=te(null);try{super.next(n)}finally{te(t)}}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof at&&n.add(a),a}wrapInTimeout(n){return t=>{const r=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==r&&this.pendingTasks?.remove(r)})}}};function sh(...e){}function f2(e){let n,t;function r(){e=sh;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function p2(e){return queueMicrotask(()=>e()),()=>{e=sh}}const ng="isAngularZone",ah=ng+"_ID";let MT=0;class rt{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kt(!1),this.onMicrotaskEmpty=new Kt(!1),this.onStable=new Kt(!1),this.onError=new Kt(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=h2}=n;if(typeof Zone>"u")throw new k(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function AT(e){const n=()=>{!function xT(e){function n(){f2(()=>{e.callbackScheduled=!1,ig(e),e.isCheckStableRunning=!0,rg(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),ig(e))}(e)},t=MT++;e._inner=e._inner.fork({name:"angular",properties:{[ng]:!0,[ah]:t,[ah+t]:!0},onInvokeTask:(r,i,o,s,a,c)=>{if(function NT(e){return y2(e,"__ignore_ng_zone__")}(c))return r.invokeTask(o,s,a,c);try{return m2(e),r.invokeTask(o,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),g2(e)}},onInvoke:(r,i,o,s,a,c,l)=>{try{return m2(e),r.invoke(o,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function kT(e){return y2(e,"__scheduler_tick__")}(c)&&n(),g2(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,ig(e),rg(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ng)}static assertInAngularZone(){if(!rt.isInAngularZone())throw new k(909,!1)}static assertNotInAngularZone(){if(rt.isInAngularZone())throw new k(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,IT,sh,sh);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const IT={};function rg(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ig(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function m2(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function g2(e){e._nesting--,rg(e)}class og{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kt,this.onMicrotaskEmpty=new Kt,this.onStable=new Kt,this.onError=new Kt}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}function y2(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class go{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&tg(n);for(;t&&tg(t);)t=tg(t);return t||null}}const OT=new W("",{providedIn:"root",factory:()=>{const e=U(rt),n=U(go);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function RT(){return pc(bt(),A())}function pc(e,n){return new zr(dr(e,n))}let zr=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=RT}return e})();function Gl(e){return!(128&~e.flags)}Symbol;const cg=new Map;let VT=0;function lg(e){cg.delete(e[lc])}const ch="__ngContext__";function rr(e,n){Fn(n)?(e[ch]=n[lc],function BT(e){cg.set(e[lc],e)}(n)):e[ch]=n}function x2(e){return N2(e[Pl])}function A2(e){return N2(e[xi])}function N2(e){for(;null!==e&&!nr(e);)e=e[xi];return e}let dg;function ys(){if(void 0!==dg)return dg;if(typeof document<"u")return document;throw new k(210,!1)}const gc=new W("",{providedIn:"root",factory:()=>rM}),rM="ng",$2=new W(""),vs=new W("",{providedIn:"platform",factory:()=>"unknown"}),B2=new W(""),j2=new W("",{providedIn:"root",factory:()=>ys().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let H2=()=>null;function vg(e,n,t=!1){return H2(e,n,t)}const K2=new W("",{providedIn:"root",factory:()=>!1});let yh,vh;function _c(e){return function Eg(){if(void 0===yh&&(yh=null,$t.trustedTypes))try{yh=$t.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return yh}()?.createHTML(e)||e}function J2(e){return function Dg(){if(void 0===vh&&(vh=null,$t.trustedTypes))try{vh=$t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vh}()?.createHTML(e)||e}class aa{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lv})`}}class yM extends aa{getTypeName(){return"HTML"}}class vM extends aa{getTypeName(){return"Style"}}class _M extends aa{getTypeName(){return"Script"}}class wM extends aa{getTypeName(){return"URL"}}class bM extends aa{getTypeName(){return"ResourceURL"}}function Gr(e){return e instanceof aa?e.changingThisBreaksApplicationSecurity:e}function yo(e,n){const t=function CM(e){return e instanceof aa&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Lv})`)}return t===n}class IM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(_c(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class xM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=_c(n),t}}const NM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _h(e){return(e=String(e)).match(NM)?e:"unsafe:"+e}function Bo(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ql(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const rw=Bo("area,br,col,hr,img,wbr"),iw=Bo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ow=Bo("rp,rt"),Sg=Ql(rw,Ql(iw,Bo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ql(ow,Bo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ql(ow,iw)),Tg=Bo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sw=Ql(Tg,Bo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Bo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),kM=Bo("script,style,template");class PM{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)i.push(t),t=LM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=RM(t);if(o){t=o;break}t=i.pop()}return this.buf.join("")}startElement(n){const t=aw(n).toLowerCase();if(!Sg.hasOwnProperty(t))return this.sanitizedSomething=!0,!kM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!sw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=o.value;Tg[a]&&(c=_h(c)),this.buf.push(" ",s,'="',lw(c),'"')}return this.buf.push(">"),!0}endElement(n){const t=aw(n).toLowerCase();Sg.hasOwnProperty(t)&&!rw.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(lw(n))}}function RM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw cw(n);return n}function LM(e){const n=e.firstChild;if(n&&function OM(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw cw(n);return n}function aw(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function cw(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const FM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,VM=/([^\#-~ |!])/g;function lw(e){return e.replace(/&/g,"&").replace(FM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(VM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let wh;function uw(e,n){let t=null;try{wh=wh||function nw(e){const n=new xM(e);return function AM(){try{return!!(new window.DOMParser).parseFromString(_c(""),"text/html")}catch{return!1}}()?new IM(n):n}(e);let r=n?String(n):"";t=wh.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=wh.getInertBodyElement(r)}while(r!==o);return _c((new PM).sanitizeChildren(Mg(t)||t))}finally{if(t){const r=Mg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Mg(e){return"content"in e&&function $M(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Wr||{});function _s(e){const n=eu();return n?J2(n.sanitize(Wr.HTML,e)||""):yo(e,"HTML")?J2(Gr(e)):uw(ys(),Me(e))}function Jl(e){const n=eu();return n?n.sanitize(Wr.URL,e)||"":yo(e,"URL")?Gr(e):_h(Me(e))}function eu(){const e=A();return e&&e[uo].sanitizer}const WM=/^>|^->|<!--|-->|--!>|<!-$/g,qM=/(<|>)/g,ZM="\u200b$1\u200b";function gw(e){return e.ownerDocument}var ws=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ws||{});let Ag;function Ng(e,n){return Ag(e,n)}function bc(e,n,t,r,i){if(null!=r){let o,s=!1;nr(r)?o=r:Fn(r)&&(s=!0,r=r[Zt]);const a=nt(r);0===e&&null!==t?null==i?Sw(n,t,a):ca(n,t,a,i||null,!0):1===e&&null!==t?ca(n,t,a,i||null,!0):2===e?function nu(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function fI(e,n,t,r,i){const o=t[ho];o!==nt(t)&&bc(n,e,r,o,i);for(let a=fn;a<t.length;a++){const c=t[a];Th(c[j],c,e,n,r,o)}}(n,e,o,t,i)}}function Pg(e,n){return e.createComment(function hw(e){return e.replace(WM,n=>n.replace(qM,ZM))}(n))}function Eh(e,n,t){return e.createElement(n,t)}function Cw(e,n){n[uo].changeDetectionScheduler?.notify(9),Th(e,n,n[ve],2,null,null)}function Ew(e,n){const t=e[uc],r=n[Dn];(Fn(r)||n[Yt]!==r[Dn][Yt])&&(e[le]|=zd.HasTransplantedViews),null===t?e[uc]=[n]:t.push(n)}function Og(e,n){const t=e[uc],r=t.indexOf(n);t.splice(r,1)}function tu(e,n){if(e.length<=fn)return;const t=fn+n,r=e[t];if(r){const i=r[Qs];null!==i&&i!==e&&Og(i,r),n>0&&(e[t-1][xi]=r[xi]);const o=Pd(e,fn+n);!function oI(e,n){Cw(e,n),n[Zt]=null,n[Yn]=null}(r[j],r);const s=o[Lo];null!==s&&s.detachView(o[j]),r[Dn]=null,r[xi]=null,r[le]&=-129}return r}function Dh(e,n){if(!(256&n[le])){const t=n[ve];t.destroyNode&&Th(e,n,t,3,null,null),function aI(e){let n=e[Pl];if(!n)return Rg(e[j],e);for(;n;){let t=null;if(Fn(n))t=n[Pl];else{const r=n[fn];r&&(t=r)}if(!t){for(;n&&!n[xi]&&n!==e;)Fn(n)&&Rg(n[j],n),n=n[Dn];null===n&&(n=e),Fn(n)&&Rg(n[j],n),t=n&&n[xi]}n=t}}(n)}}function Rg(e,n){if(256&n[le])return;const t=te(null);try{n[le]&=-129,n[le]|=256,n[ci]&&vn(n[ci]),function uI(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof Bl)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],c=o[s+1];fo(4,a,c);try{c.call(a)}finally{fo(5,a,c)}}else{fo(4,i,o);try{o.call(i)}finally{fo(5,i,o)}}}}}(e,n),function lI(e,n){const t=e.cleanup,r=n[sc];if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[sc]=null);const i=n[gs];if(null!==i){n[gs]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,n),1===n[j].type&&n[ve].destroy();const r=n[Qs];if(null!==r&&nr(n[Dn])){r!==n[Dn]&&Og(r,n);const i=n[Lo];null!==i&&i.detachView(e)}lg(n)}finally{te(t)}}function Lg(e,n,t){return function Dw(e,n,t){let r=n;for(;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[Zt];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Mi.None||o===Mi.Emulated)return null}return dr(r,t)}}(e,n.parent,t)}function ca(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Sw(e,n,t){e.appendChild(n,t)}function Tw(e,n,t,r,i){null!==r?ca(e,n,t,r,i):Sw(e,n,t)}function Fg(e,n){return e.parentNode(n)}function Mw(e,n,t){return xw(e,n,t)}let Vg,xw=function Iw(e,n,t){return 40&e.type?dr(e,t):null};function Sh(e,n,t,r){const i=Lg(e,r,n),o=n[ve],a=Mw(r.parent||n[Yn],r,n);if(null!=i)if(Array.isArray(t))for(let c=0;c<t.length;c++)Tw(o,i,t[c],a,!1);else Tw(o,i,t,a,!1);void 0!==Vg&&Vg(o,r,n,t,i)}function la(e,n){if(null!==n){const t=n.type;if(3&t)return dr(n,e);if(4&t)return $g(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return la(e,r);{const i=e[n.index];return nr(i)?$g(-1,i):nt(i)}}if(128&t)return la(e,n.next);if(32&t)return Ng(n,e)()||nt(e[n.index]);{const r=Nw(e,n);return null!==r?Array.isArray(r)?r[0]:la(Fo(e[Yt]),r):la(e,n.next)}}return null}function Nw(e,n){return null!==n?e[Yt][Yn].projection[n.projection]:null}function $g(e,n){const t=fn+e+1;if(t<n.length){const r=n[t],i=r[j].firstChild;if(null!==i)return la(r,i)}return n[ho]}function Bg(e,n,t,r,i,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const a=r[t.index],c=t.type;if(s&&0===n&&(a&&rr(nt(a),r),t.flags|=2),32&~t.flags)if(8&c)Bg(e,n,t.child,r,i,o,!1),bc(n,e,i,a,o);else if(32&c){const l=Ng(t,r);let u;for(;u=l();)bc(n,e,i,u,o);bc(n,e,i,a,o)}else 16&c?Pw(e,n,r,t,i,o):bc(n,e,i,a,o);t=s?t.projectionNext:t.next}}function Th(e,n,t,r,i,o){Bg(t,r,e.firstChild,n,i,o,!1)}function Pw(e,n,t,r,i,o){const s=t[Yt],c=s[Yn].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)bc(n,e,i,c[l],o);else{let l=c;const u=s[Dn];Gl(r)&&(l.flags|=128),Bg(e,n,l,u,i,o,!0)}}function Ow(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Rw(e,n,t){const{mergedAttrs:r,classes:i,styles:o}=t;null!==r&&vm(e,n,r),null!==i&&Ow(e,n,i),null!==o&&function mI(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}const Ie={};function P(e=1){Lw(Re(),A(),Kn()+e,!1)}function Lw(e,n,t,r){if(!r)if(3&~n[le]){const o=e.preOrderHooks;null!==o&&Jd(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&Qd(n,o,t)}na(t)}function x(e,n=Ge.Default){const t=A();return null===t?Z(e,n):e2(bt(),t,ye(e),n)}function Fw(e,n,t,r,i,o){const s=te(null);try{let a=null;i&ms.SignalBased&&(a=n[r][Ze]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),i&ms.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(n,o)),null!==e.setInput?e.setInput(n,a,o,t,r):b_(n,a,r,o)}finally{te(s)}}function Mh(e,n,t,r,i,o,s,a,c,l,u){const d=n.blueprint.slice();return d[Zt]=i,d[le]=204|r,(null!==l||e&&2048&e[le])&&(d[le]|=2048),M_(d),d[Dn]=d[ac]=e,d[kt]=t,d[uo]=s||e&&e[uo],d[ve]=a||e&&e[ve],d[Sn]=c||e&&e[Sn]||null,d[Yn]=o,d[lc]=function $T(){return VT++}(),d[ur]=u,d[m_]=l,d[Yt]=2==n.type?e[Yt]:d,d}function ua(e,n,t,r,i){let o=e.data[n];if(null===o)o=function jg(e,n,t,r,i){const o=k_(),s=$m(),c=e.data[n]=function DI(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return ta()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,n,t,r,i),function W9(){return _e.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Vl(){const e=_e.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return ki(o,!0),o}function ru(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function Vw(e,n,t,r,i){const o=Kn(),s=2&r;try{na(-1),s&&n.length>re&&Lw(e,n,re,!1),fo(s?2:0,i),t(r,i)}finally{na(o),fo(s?3:1,i)}}function Hg(e,n,t){if(Am(n)){const r=te(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{te(r)}}}function Ug(e,n,t){N_()&&(function NI(e,n,t,r){const i=t.directiveStart,o=t.directiveEnd;Js(t)&&function VI(e,n,t){const r=dr(n,e),i=$w(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=Ih(e,Mh(e,i,null,s,r,n,null,e[uo].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=a}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||th(t,n),rr(r,n);const s=t.initialInputs;for(let a=i;a<o;a++){const c=e.data[a],l=ia(n,e,a,t);rr(l,n),null!==s&&$I(0,a-i,l,c,0,s),Ai(c)&&(Ur(t.index,n)[kt]=ia(n,e,a,t))}}(e,n,t,dr(t,n)),!(64&~t.flags)&&zw(e,n,t))}function zg(e,n,t=dr){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?t(n,e):e[s];e[i++]=a}}}function $w(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Gg(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Gg(e,n,t,r,i,o,s,a,c,l,u){const d=re+r,h=d+i,f=function vI(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ie);return t}(d,h),m="function"==typeof l?l():l;return f[j]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}let Bw=()=>null;function jw(e,n,t,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;r??={};let a,c=ms.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=o;if(null!==i){if(!i.hasOwnProperty(o))continue;l=i[o]}0===e?Hw(r,t,l,a,c):Hw(r,t,l,a)}return r}function Hw(e,n,t,r,i){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,r):o=e[t]=[n,r],void 0!==i&&o.push(i)}function kr(e,n,t,r,i,o,s,a){const c=dr(n,t);let u,l=n.inputs;!a&&null!=l&&(u=l[r])?(Kg(e,t,u,r,i),Js(n)&&function MI(e,n){const t=Ur(n,e);16&t[le]||(t[le]|=64)}(t,n.index)):3&n.type&&(r=function TI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(c,r,i))}function Wg(e,n,t,r){if(N_()){const i=null===r?null:{"":-1},o=function PI(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(r_(n,s.selectors,!1))if(r||(r=[]),Ai(s))if(null!==s.findHostDirectiveDefs){const a=[];i=i||new Map,s.findHostDirectiveDefs(s,a,i),r.unshift(...a,s),qg(e,n,a.length)}else r.unshift(s),qg(e,n,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,t);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&Uw(e,n,t,s,i,a),i&&function OI(e,n,t){if(n){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new k(-301,!1);r.push(n[i],o)}}}(t,r,i)}t.mergedAttrs=Nl(t.mergedAttrs,t.attrs)}function Uw(e,n,t,r,i,o){for(let l=0;l<r.length;l++)Qm(th(t,n),e,r[l].type);!function LI(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(let l=0;l<r.length;l++){const u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=ru(e,n,r.length,null);for(let l=0;l<r.length;l++){const u=r[l];t.mergedAttrs=Nl(t.mergedAttrs,u.hostAttrs),FI(e,t,n,c,u),RI(c,u,i),null!==u.contentQueries&&(t.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(t.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),c++}!function SI(e,n,t){const i=n.directiveEnd,o=e.data,s=n.attrs,a=[];let c=null,l=null;for(let u=n.directiveStart;u<i;u++){const d=o[u],h=t?t.get(d):null,m=h?h.outputs:null;c=jw(0,d.inputs,u,c,h?h.inputs:null),l=jw(1,d.outputs,u,l,m);const v=null===c||null===s||_m(n)?null:BI(c,u,s);a.push(v)}null!==c&&(c.hasOwnProperty("class")&&(n.flags|=8),c.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=c,n.outputs=l}(e,t,o)}function zw(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function Z9(){return _e.lFrame.currentDirectiveIndex}();try{na(o);for(let a=r;a<i;a++){const c=e.data[a],l=n[a];jm(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&kI(c,l)}}finally{na(-1),jm(s)}}function kI(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function qg(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function RI(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Ai(n)&&(t[""]=e)}}function FI(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=Ys(i.type)),s=new Bl(o,Ai(i),x);e.blueprint[r]=s,t[r]=s,function xI(e,n,t,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function AI(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,ru(e,t,i.hostVars,Ie),i)}function vo(e,n,t,r,i,o){const s=dr(e,n);!function Zg(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?Me(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[ve],s,o,e.value,t,r,i)}function $I(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;)Fw(r,t,s[a++],s[a++],s[a++],s[a++])}function BI(e,n,t){let r=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){r.push(o,s[a+1],s[a+2],t[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Gw(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Ww(e,n){const t=e.contentQueries;if(null!==t){const r=te(null);try{for(let i=0;i<t.length;i+=2){const s=t[i+1];if(-1!==s){const a=e.data[s];Kd(t[i]),a.contentQueries(2,n[s],s)}}}finally{te(r)}}}function Ih(e,n){return e[Pl]?e[p_][xi]=n:e[Pl]=n,e[p_]=n,n}function Yg(e,n,t){Kd(0);const r=te(null);try{n(e,t)}finally{te(r)}}function Yw(e,n,t){return(null===e||Ai(e))&&(t=function Om(e){for(;Array.isArray(e);){if("object"==typeof e[xm])return e;e=e[Zt]}return null}(t[n.index])),t[ve]}function xh(e,n){const t=e[Sn],r=t?t.get(go,null):null;r&&r.handleError(n)}function Kg(e,n,t,r,i){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],c=t[o++];Fw(e.data[s],n[s],r,a,c,i)}}function jI(e,n){const t=Ur(n,e),r=t[j];!function HI(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const i=t[Zt];null!==i&&null===t[ur]&&(t[ur]=vg(i,t[Sn])),Xg(r,t,t[kt])}function Xg(e,n,t){zm(n);try{const r=e.viewQuery;null!==r&&Yg(1,r,t);const i=e.template;null!==i&&Vw(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Lo]?.finishViewCreation(e),e.staticContentQueries&&Ww(e,n),e.staticViewQueries&&Yg(2,e.viewQuery,t);const o=e.components;null!==o&&function UI(e,n){for(let t=0;t<n.length;t++)jI(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[le]&=-5,Gm()}}function Cc(e,n,t,r){const i=te(null);try{const o=n.tView,c=Mh(e,o,t,4096&e[le]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[Qs]=e[n.index];const u=e[Lo];return null!==u&&(c[Lo]=u.createEmbeddedView(o)),Xg(o,c,t),c}finally{te(i)}}function Kw(e,n){const t=fn+n;if(t<e.length)return e[t]}function da(e,n){return!n||null===n.firstChild||Gl(e)}function Ec(e,n,t,r=!0){const i=n[j];if(function cI(e,n,t,r){const i=fn+r,o=t.length;r>0&&(t[i-1][xi]=n),r<o-fn?(n[xi]=t[i],Yv(t,fn+r,n)):(t.push(n),n[xi]=null),n[Dn]=t;const s=n[Qs];null!==s&&t!==s&&Ew(s,n);const a=n[Lo];null!==a&&a.insertView(e),Lm(n),n[le]|=128}(i,n,e,t),r){const s=$g(t,e),a=n[ve],c=Fg(a,e[ho]);null!==c&&function sI(e,n,t,r,i,o){r[Zt]=i,r[Yn]=n,Th(e,r,t,1,i,o)}(i,e[Yn],a,n,c,s)}const o=n[ur];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Qg(e,n){const t=tu(e,n);return void 0!==t&&Dh(t[j],t),t}function iu(e,n,t,r,i=!1){for(;null!==t;){if(128===t.type){t=i?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&r.push(nt(o)),nr(o)&&Xw(o,r);const s=t.type;if(8&s)iu(e,n,t.child,r);else if(32&s){const a=Ng(t,n);let c;for(;c=a();)r.push(c)}else if(16&s){const a=Nw(n,t);if(Array.isArray(a))r.push(...a);else{const c=Fo(n[Yt]);iu(c[j],c,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function Xw(e,n){for(let t=fn;t<e.length;t++){const r=e[t],i=r[j].firstChild;null!==i&&iu(r[j],r,i,n)}e[ho]!==e[Zt]&&n.push(e[ho])}let Qw=[];const qI={...gt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{qd(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},YI={...gt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Fo(e.lView);for(;n&&!Jw(n[j]);)n=Fo(n);n&&I_(n)},consumerOnSignalRead(){this.lView[ci]=this}};function Jw(e){return 2!==e.type}const KI=100;function Ah(e,n=!0,t=0){const r=e[uo],i=r.rendererFactory;i.begin?.();try{!function XI(e,n){const t=R_();try{L_(!0),Jg(e,n);let r=0;for(;Wd(e);){if(r===KI)throw new k(103,!1);r++,Jg(e,1)}}finally{L_(t)}}(e,t)}catch(s){throw n&&xh(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function QI(e,n,t,r){const i=n[le];if(!(256&~i))return;n[uo].inlineEffectRunner?.flush(),zm(n);let a=!0,c=null,l=null;Jw(e)?(l=function zI(e){return e[ci]??function GI(e){const n=Qw.pop()??Object.create(qI);return n.lView=e,n}(e)}(n),c=Ue(l)):null===function K(){return q}()?(a=!1,l=function ZI(e){const n=e[ci]??Object.create(YI);return n.lView=e,n}(n),c=Ue(l)):n[ci]&&(vn(n[ci]),n[ci]=null);try{M_(n),function F_(e){return _e.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Vw(e,n,t,2,r);const u=!(3&~i);if(u){const f=e.preOrderCheckHooks;null!==f&&Qd(n,f,null)}else{const f=e.preOrderHooks;null!==f&&Jd(n,f,0,null),Wm(n,0)}if(function JI(e){for(let n=x2(e);null!==n;n=A2(n)){if(!(n[le]&zd.HasTransplantedViews))continue;const t=n[uc];for(let r=0;r<t.length;r++)I_(t[r])}}(n),tb(n,0),null!==e.contentQueries&&Ww(e,n),u){const f=e.contentCheckHooks;null!==f&&Qd(n,f)}else{const f=e.contentHooks;null!==f&&Jd(n,f,1),Wm(n,1)}!function yI(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)na(~i);else{const o=i,s=t[++r],a=t[++r];q9(s,o),a(2,n[o])}}}finally{na(-1)}}(e,n);const d=e.components;null!==d&&rb(n,d,0);const h=e.viewQuery;if(null!==h&&Yg(2,h,r),u){const f=e.viewCheckHooks;null!==f&&Qd(n,f)}else{const f=e.viewHooks;null!==f&&Jd(n,f,2),Wm(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[Hd]){for(const f of n[Hd])f();n[Hd]=null}n[le]&=-73}catch(u){throw qd(n),u}finally{null!==l&&(Dt(l,c),a&&function WI(e){e.lView[ci]!==e&&(e.lView=null,Qw.push(e))}(l)),Gm()}}function tb(e,n){for(let t=x2(e);null!==t;t=A2(t))for(let r=fn;r<t.length;r++)nb(t[r],n)}function e7(e,n,t){nb(Ur(n,e),t)}function nb(e,n){Rm(e)&&Jg(e,n)}function Jg(e,n){const r=e[j],i=e[le],o=e[ci];let s=!!(0===n&&16&i);if(s||=!!(64&i&&0===n),s||=!!(1024&i),s||=!(!o?.dirty||!nn(o)),s||=!1,o&&(o.dirty=!1),e[le]&=-9217,s)QI(r,e,r.template,e[kt]);else if(8192&i){tb(e,1);const a=r.components;null!==a&&rb(e,a,1)}}function rb(e,n,t){for(let r=0;r<n.length;r++)e7(e,n[r],t)}function ou(e,n){const t=R_()?64:1088;for(e[uo].changeDetectionScheduler?.notify(n);e;){e[le]|=t;const r=Fo(e);if(Rl(e)&&!r)return e;e=r}return null}class su{get rootNodes(){const n=this._lView,t=n[j];return iu(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[kt]}set context(n){this._lView[kt]=n}get destroyed(){return!(256&~this._lView[le])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Dn];if(nr(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(tu(n,r),Pd(t,r))}this._attachedToViewContainer=!1}Dh(this._lView[j],this._lView)}onDestroy(n){Zd(this._lView,n)}markForCheck(){ou(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[le]&=-129}reattach(){Lm(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,Ah(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new k(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Rl(this._lView),t=this._lView[Qs];null!==t&&!n&&Og(t,this._lView),Cw(this._lView[j],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new k(902,!1);this._appRef=n;const t=Rl(this._lView),r=this._lView[Qs];null!==r&&!t&&Ew(r,this._lView),Lm(this._lView)}}let _o=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=r7}return e})();const t7=_o,n7=class extends t7{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=Cc(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new su(i)}};function r7(){return Nh(bt(),A())}function Nh(e,n){return 4&e.type?new n7(n,e,pc(e,n)):null}let Db=()=>null;function fa(e,n){return Db(e,n)}class Sc{}const pu=new W("",{providedIn:"root",factory:()=>!1}),Sb=new W(""),u1=new W("");class Y7{}class Tb{}class X7{resolveComponentFactory(n){throw function K7(e){const n=Error(`No component factory found for ${Pn(e)}.`);return n.ngComponent=e,n}(n)}}class pa{static#e=this.NULL=new X7}class Fh{}let Ho=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Q7(){const e=A(),t=Ur(bt().index,e);return(Fn(t)?t:e)[ve]}()}return e})(),J7=(()=>{class e{static#e=this.\u0275prov=ee({token:e,providedIn:"root",factory:()=>null})}return e})();function $h(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?i=em(i,a):2==o&&(r=em(r,a+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}class Ab extends pa{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Ve(n);return new yu(t,this.ngModule)}}function Nb(e,n){const t=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;t.push(n?{propName:s,templateName:r,isSignal:!!((o?i[1]:ms.None)&ms.SignalBased)}:{propName:s,templateName:r})}return t}class yu extends Tb{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=Nb(n.inputs,!0);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return Nb(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function i9(e){return e.map(r9).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){const o=te(null);try{let s=(i=i||this.ngModule)instanceof ai?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new ra(n,s):n,c=a.get(Fh,null);if(null===c)throw new k(407,!1);const d={rendererFactory:c,sanitizer:a.get(J7,null),inlineEffectRunner:null,changeDetectionScheduler:a.get(Sc,null)},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",m=r?function _I(e,n,t,r){const o=r.get(K2,!1)||t===Mi.ShadowDom,s=e.selectRootElement(n,o);return function wI(e){Bw(e)}(s),s}(h,r,this.componentDef.encapsulation,a):Eh(h,f,function nx(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(f));let v=512;this.componentDef.signals?v|=4096:this.componentDef.onPush||(v|=16);let C=null;null!==m&&(C=vg(m,a,!0));const D=Gg(0,null,null,1,0,null,null,null,null,null,null),E=Mh(null,D,null,v,null,null,d,h,a,null,C);zm(E);let O,L,$=null;try{const Q=this.componentDef;let ae,J=null;Q.findHostDirectiveDefs?(ae=[],J=new Map,Q.findHostDirectiveDefs(Q,ae,J),ae.push(Q)):ae=[Q];const Jt=function ix(e,n){const t=e[j],r=re;return e[r]=n,ua(t,r,2,"#host",null)}(E,m);$=function ox(e,n,t,r,i,o,s){const a=i[j];!function sx(e,n,t,r){for(const i of e)n.mergedAttrs=Nl(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&($h(n,n.mergedAttrs,!0),null!==t&&Rw(r,t,n))}(r,e,n,s);let c=null;null!==n&&(c=vg(n,i[Sn]));const l=o.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=Mh(i,$w(t),null,u,i[e.index],e,o,l,null,null,c);return a.firstCreatePass&&qg(a,e,r.length-1),Ih(i,d),i[e.index]=d}(Jt,m,Q,ae,E,d,h),L=Fl(D,re),m&&function cx(e,n,t,r){if(r)vm(e,t,["ng-version","18.2.3"]);else{const{attrs:i,classes:o}=function o9(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Ii(i))break;i=o}r++}return{attrs:n,classes:t}}(n.selectors[0]);i&&vm(e,t,i),o&&o.length>0&&Ow(e,t,o.join(" "))}}(h,Q,m,r),void 0!==t&&function lx(e,n,t){const r=e.projection=[];for(let i=0;i<n.length;i++){const o=t[i];r.push(null!=o?Array.from(o):null)}}(L,this.ngContentSelectors,t),O=function ax(e,n,t,r,i,o){const s=bt(),a=i[j],c=dr(s,i);Uw(a,i,s,t,null,r);for(let u=0;u<t.length;u++)rr(ia(i,a,s.directiveStart+u,s),i);zw(a,i,s),c&&rr(c,i);const l=ia(i,a,s.directiveStart+s.componentOffset,s);if(e[kt]=i[kt]=l,null!==o)for(const u of o)u(l,n);return Hg(a,s,i),l}($,Q,ae,J,E,[ux]),Xg(D,E,null)}catch(Q){throw null!==$&&lg($),lg(E),Q}finally{Gm()}return new rx(this.componentType,O,pc(L,E),E,L)}finally{te(o)}}}class rx extends Y7{constructor(n,t,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new su(i,void 0,!1),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;Kg(o[j],o,i,n,t),this.previousInputValues.set(n,t),ou(Ur(this._tNode.index,o),1)}}get injector(){return new Vn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function ux(){const e=bt();Xd(A()[j],e)}let Oi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dx}return e})();function dx(){return function Ob(e,n){let t;const r=n[e.index];return nr(r)?t=r:(t=Gw(r,n,null,e),n[e.index]=t,Ih(n,t)),Rb(t,n,e,r),new kb(t,e,n)}(bt(),A())}const hx=Oi,kb=class extends hx{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return pc(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){const n=nh(this._hostTNode,this._hostLView);if(Ym(n)){const t=Hl(n,this._hostLView),r=jl(n);return new Vn(t[j].data[r+8],t)}return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Pb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-fn}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=fa(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,i,da(this._hostTNode,s)),a}createComponent(n,t,r,i,o){const s=n&&!kl(n);let a;if(s)a=t;else{const m=t||{};a=m.index,r=m.injector,i=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const c=s?n:new yu(Ve(n)),l=r||this.parentInjector;if(!o&&null==c.ngModule){const v=(s?l:this.parentInjector).get(ai,null);v&&(o=v)}const u=Ve(c.componentType??{}),d=fa(this._lContainer,u?.id??null),f=c.create(l,i,d?.firstChild??null,o);return this.insertImpl(f.hostView,a,da(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function F9(e){return nr(e[Dn])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const c=i[Dn],l=new kb(c,c[Yn],c[Dn]);l.detach(l.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Ec(s,i,o,r),n.attachToViewContainerRef(),Yv(f1(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Pb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=tu(this._lContainer,t);r&&(Pd(f1(this._lContainer),t),Dh(r[j],r))}detach(n){const t=this._adjustIndex(n,-1),r=tu(this._lContainer,t);return r&&null!=Pd(f1(this._lContainer),t)?new su(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Pb(e){return e[8]}function f1(e){return e[8]||(e[8]=[])}let Rb=function Fb(e,n,t,r){if(e[ho])return;let i;i=8&t.type?nt(r):function fx(e,n){const t=e[ve],r=t.createComment(""),i=dr(n,e);return ca(t,Fg(t,i),r,function dI(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[ho]=i},p1=()=>!1;const Gb=new Set;function fr(e){Gb.has(e)||(Gb.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qe(e,n){fr("NgSignals");const t=function Ut(e){const n=Object.create(Gn);n.value=e;const t=()=>(ln(n),n.value);return t[Ze]=n,t}(e),r=t[Ze];return n?.equal&&(r.equal=n.equal),t.set=i=>zt(r,i),t.update=i=>function un(e,n){oe()||Ee(),zt(e,n(e.value))}(r,i),t.asReadonly=qb.bind(t),t}function qb(){const e=this[Ze];if(void 0===e.readonlyFn){const n=()=>this();n[Ze]=e,e.readonlyFn=n}return e.readonlyFn}function Zb(e){return function Wb(e){return"function"==typeof e&&void 0!==e[Ze]}(e)&&"function"==typeof e.set}function it(e){let n=function oC(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Ai(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new k(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=jh(e.inputs),s.inputTransforms=jh(e.inputTransforms),s.declaredInputs=jh(e.declaredInputs),s.outputs=jh(e.outputs);const a=i.hostBindings;a&&Lx(e,a);const c=i.viewQuery,l=i.contentQueries;if(c&&Ox(e,c),l&&Rx(e,l),kx(e,i),S6(e.outputs,i.outputs),Ai(i)&&i.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===it&&(t=!1)}}n=Object.getPrototypeOf(n)}!function Px(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Nl(i.hostAttrs,t=Nl(t,i.hostAttrs))}}(r)}function kx(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=n.inputTransforms[i]}}}function jh(e){return e===co?{}:e===tt?[]:e}function Ox(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function Rx(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function Lx(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}class ga{}class Ux{}class E1 extends ga{constructor(n,t,r,i=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ab(this);const o=function tr(e,n){const t=e[Uv]||null;if(!t&&!0===n)throw new Error(`Type ${Pn(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function qr(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=u2(n,t,[{provide:ga,useValue:this},{provide:pa,useValue:this.componentFactoryResolver},...r],Pn(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class D1 extends Ux{constructor(n){super(),this.moduleType=n}create(n){return new E1(this.moduleType,n,[])}}class lC extends ga{constructor(n){super(),this.componentFactoryResolver=new Ab(this),this.instance=null;const t=new rc([...n.providers,{provide:ga,useValue:this},{provide:pa,useValue:this.componentFactoryResolver}],n.parent||Bd(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function wo(e,n,t){return e[n]=t}function pn(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ya(e,n,t,r){const i=pn(e,n,t);return pn(e,n+1,r)||i}function wu(e,n,t,r,i,o,s,a,c,l){const u=t+re,d=n.firstCreatePass?function Kx(e,n,t,r,i,o,s,a,c){const l=n.consts,u=ua(n,e,4,s||null,a||null);Wg(n,t,u,li(l,c)),Xd(n,u);const d=u.tView=Gg(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,r,i,o,s,a,c):n.data[u];ki(d,!1);const h=dC(n,e,d,t);$l()&&Sh(n,e,h,d),rr(h,e);const f=Gw(h,e,h,d);return e[u]=f,Ih(e,f),function Lb(e,n,t){return p1(e,n,t)}(f,d,e),Gd(d)&&Ug(n,e,d),null!=c&&zg(e,d,l),d}function We(e,n,t,r,i,o,s,a){const c=A(),l=Re();return wu(c,l,e,n,t,r,i,li(l.consts,o),s,a),We}let dC=function hC(e,n,t,r){return po(!0),n[ve].createComment("")};var xc=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(xc||{});let vC=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=ee({token:e,providedIn:"root",factory:()=>new e})}return e})();class Eu{constructor(){this.ngZone=U(rt),this.scheduler=U(Sc),this.errorHandler=U(go,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[xc.EarlyRead,xc.Write,xc.MixedReadWrite,xc.Read];execute(){this.executing=!0;for(const n of Eu.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(r){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&this.sequences.delete(n);for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=ee({token:Eu,providedIn:"root",factory:()=>new Eu})}function Qn(e,n,t,r){const i=A();return pn(i,Pi(),n)&&(Re(),vo(Pt(),i,e,n,t,r)),Qn}function Yh(e,n){return e<<17|n<<2}function Es(e){return e>>17&32767}function F1(e){return 2|e}function _a(e){return(131068&e)>>2}function V1(e,n){return-131069&e|n<<2}function $1(e){return 1|e}function WC(e,n,t,r){const i=e[t+1],o=null===n;let s=r?Es(i):_a(i),a=!1;for(;0!==s&&(!1===a||o);){const l=e[s+1];VA(e[s],n)&&(a=!0,e[s+1]=r?$1(l):F1(l)),s=r?Es(l):_a(l)}a&&(e[t+1]=r?F1(i):$1(i))}function VA(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&tc(e,n)>=0}const $n={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qC(e){return e.substring($n.key,$n.keyEnd)}function ZC(e,n){const t=$n.textEnd;return t===n?-1:(n=$n.keyEnd=function HA(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,$n.key=n,t),zc(e,n,t))}function zc(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function ie(e,n,t){const r=A();return pn(r,Pi(),n)&&kr(Re(),Pt(),r,e,n,r[ve],t,!1),ie}function B1(e,n,t,r,i){const s=i?"class":"style";Kg(e,t,n.inputs[s],s,r)}function Gc(e,n,t){return Li(e,n,t,!1),Gc}function Ri(e,n){return Li(e,n,null,!0),Ri}function Uo(e){!function Fi(e,n,t,r){const i=Re(),o=$o(2);i.firstUpdatePass&&eE(i,null,o,r);const s=A();if(t!==Ie&&pn(s,o,t)){const a=i.data[Kn()];if(iE(a,r)&&!JC(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(t=em(c,t||"")),B1(i,a,s,t,r)}else!function QA(e,n,t,r,i,o,s,a){i===Ie&&(i=tt);let c=0,l=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==u||null!==d;){const h=c<i.length?i[c+1]:void 0,f=l<o.length?o[l+1]:void 0;let v,m=null;u===d?(c+=2,l+=2,h!==f&&(m=d,v=f)):null===d||null!==u&&u<d?(c+=2,m=u):(l+=2,m=d,v=f),null!==m&&nE(e,n,t,r,m,v,s,a),u=c<i.length?i[c]:null,d=l<o.length?o[l]:null}}(i,a,s,s[ve],s[o+1],s[o+1]=function KA(e,n,t){if(null==t||""===t)return tt;const r=[],i=Gr(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}(XA,Co,e,!0)}function Co(e,n){for(let t=function BA(e){return function KC(e){$n.key=0,$n.keyEnd=0,$n.value=0,$n.valueEnd=0,$n.textEnd=e.length}(e),ZC(e,zc(e,0,$n.textEnd))}(n);t>=0;t=ZC(n,t))Hr(e,qC(n),!0)}function Li(e,n,t,r){const i=A(),o=Re(),s=$o(2);o.firstUpdatePass&&eE(o,e,s,r),n!==Ie&&pn(i,s,n)&&nE(o,o.data[Kn()],i,i[ve],e,i[s+1]=function JA(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Pn(Gr(e)))),e}(n,t),r,s)}function JC(e,n){return n>=e.expandoStartIndex}function eE(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Kn()],s=JC(e,t);iE(o,r)&&null===n&&!s&&(n=!1),n=function WA(e,n,t,r){const i=Hm(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=Su(t=j1(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=j1(i,e,n,t,r),null===o){let c=function qA(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==_a(r))return e[Es(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=j1(null,e,n,c[1],r),c=Su(c,n.attrs,r),function ZA(e,n,t,r){e[Es(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else o=function YA(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=Su(r,e[o].hostAttrs,t);return Su(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function LA(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Es(s),c=_a(s);e[r]=t;let u,l=!1;if(Array.isArray(t)?(u=t[1],(null===u||tc(t,u)>0)&&(l=!0)):u=t,i)if(0!==c){const h=Es(e[a+1]);e[r+1]=Yh(h,a),0!==h&&(e[h+1]=V1(e[h+1],r)),e[a+1]=function OA(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=Yh(a,0),0!==a&&(e[a+1]=V1(e[a+1],r)),a=r;else e[r+1]=Yh(c,0),0===a?a=r:e[c+1]=V1(e[c+1],r),c=r;l&&(e[r+1]=F1(e[r+1])),WC(e,u,r,!0),WC(e,u,r,!1),function FA(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&tc(o,n)>=0&&(t[r+1]=$1(t[r+1]))}(n,u,e,r,o),s=Yh(a,c),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function j1(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],r=Su(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),r}function Su(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Hr(e,s,!!t||n[++o]))}return void 0===e?null:e}function XA(e,n,t){const r=String(n);""!==r&&!r.includes(" ")&&Hr(e,r,t)}function nE(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const c=e.data,l=c[a+1],u=function RA(e){return!(1&~e)}(l)?rE(c,n,t,i,_a(l),s):void 0;Kh(u)||(Kh(o)||function PA(e){return!(2&~e)}(l)&&(o=rE(c,null,t,i,a,s)),function pI(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:ws.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ws.Important),e.setStyle(t,r,i,o))}}(r,s,Ll(Kn(),t),i,o))}function rE(e,n,t,r,i,o){const s=null===n;let a;for(;i>0;){const c=e[i],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=t[i+1];h===Ie&&(h=d?tt:void 0);let f=d?gm(h,r):u===r?h:void 0;if(l&&!Kh(f)&&(f=gm(c,r)),Kh(f)&&(a=f,s))return a;const m=e[i+1];i=s?Es(m):_a(m)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(a=gm(c,r))}return a}function Kh(e){return void 0!==e}function iE(e,n){return!!(e.flags&(n?8:16))}class uN{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function H1(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function U1(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function oE(e,n,t,r,i){if(U1(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function sE(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class aE{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function ot(e,n){fr("NgControlFlow");const t=A(),r=Pi(),i=t[r]!==Ie?t[r]:-1,o=-1!==i?Xh(t,re+i):void 0;if(pn(t,r,e)){const a=te(null);try{if(void 0!==o&&Qg(o,0),-1!==e){const c=re+e,l=Xh(t,c),u=z1(t[j],c),d=fa(l,u.tView.ssrId);Ec(l,Cc(t,u,n,{dehydratedView:d}),0,da(u,d))}}finally{te(a)}}else if(void 0!==o){const a=Kw(o,0);void 0!==a&&(a[kt]=n)}}class hN{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-fn}}function zo(e){return e}function cE(e,n){return n}class fN{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function Vi(e,n,t,r,i,o,s,a,c,l,u,d,h){fr("NgControlFlow");const f=A(),m=Re(),v=void 0!==c,C=A(),D=a?s.bind(C[Yt][kt]):s,E=new fN(v,D);C[re+e]=E,wu(f,m,e+1,n,t,r,i,li(m.consts,o)),v&&wu(f,m,e+2,c,l,u,d,li(m.consts,h))}class pN extends uN{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-fn}at(n){return this.getLView(n)[kt].$implicit}attach(n,t){const r=t[ur];this.needsIndexUpdate||=n!==this.length,Ec(this.lContainer,t,n,da(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function mN(e,n){return tu(e,n)}(this.lContainer,n)}create(n,t){const r=fa(this.lContainer,this.templateTNode.tView.ssrId),i=Cc(this.hostLView,this.templateTNode,new hN(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(n){Dh(n[j],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[kt].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[kt].$index=n}getLView(n){return function gN(e,n){return Kw(e,n)}(this.lContainer,n)}}function $i(e){const n=te(null),t=Kn();try{const r=A(),i=r[j],o=r[t],s=t+1,a=Xh(r,s);if(void 0===o.liveCollection){const l=z1(i,s);o.liveCollection=new pN(a,r,l)}else o.liveCollection.reset();const c=o.liveCollection;if(function dN(e,n,t){let r,i,o=0,s=e.length-1;if(Array.isArray(n)){let c=n.length-1;for(;o<=s&&o<=c;){const l=e.at(o),u=n[o],d=H1(o,l,o,u,t);if(0!==d){d<0&&e.updateValue(o,u),o++;continue}const h=e.at(s),f=n[c],m=H1(s,h,c,f,t);if(0!==m){m<0&&e.updateValue(s,f),s--,c--;continue}const v=t(o,l),C=t(s,h),D=t(o,u);if(Object.is(D,C)){const E=t(c,f);Object.is(E,v)?(e.swap(o,s),e.updateValue(s,f),c--,s--):e.move(s,o),e.updateValue(o,u),o++}else if(r??=new aE,i??=sE(e,o,s,t),U1(e,r,o,D))e.updateValue(o,u),o++,s++;else if(i.has(D))r.set(v,e.detach(o)),s--;else{const E=e.create(o,n[o]);e.attach(o,E),o++,s++}}for(;o<=c;)oE(e,r,t,o,n[o]),o++}else if(null!=n){const c=n[Symbol.iterator]();let l=c.next();for(;!l.done&&o<=s;){const u=e.at(o),d=l.value,h=H1(o,u,o,d,t);if(0!==h)h<0&&e.updateValue(o,d),o++,l=c.next();else{r??=new aE,i??=sE(e,o,s,t);const f=t(o,d);if(U1(e,r,o,f))e.updateValue(o,d),o++,s++,l=c.next();else if(i.has(f)){const m=t(o,u);r.set(m,e.detach(o)),s--}else e.attach(o,e.create(o,d)),o++,s++,l=c.next()}}for(;!l.done;)oE(e,r,t,e.length,l.value),l=c.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}(c,e,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){const l=Pi(),u=0===c.length;if(pn(r,l,u)){const d=t+2,h=Xh(r,d);if(u){const f=z1(i,d),m=fa(h,f.tView.ssrId);Ec(h,Cc(r,f,void 0,{dehydratedView:m}),0,da(f,m))}else Qg(h,0)}}}finally{te(n)}}function Xh(e,n){return e[n]}function z1(e,n){return Fl(e,n)}function z(e,n,t,r){const i=A(),o=Re(),s=re+e,a=i[ve],c=o.firstCreatePass?function yN(e,n,t,r,i,o){const s=n.consts,c=ua(n,e,2,r,li(s,i));return Wg(n,t,c,li(s,o)),null!==c.attrs&&$h(c,c.attrs,!1),null!==c.mergedAttrs&&$h(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,o,i,n,t,r):o.data[s],l=lE(o,i,c,a,n,e);i[s]=l;const u=Gd(c);return ki(c,!0),Rw(a,l,c),!function Mc(e){return!(32&~e.flags)}(c)&&$l()&&Sh(o,i,l,c),0===function V9(){return _e.lFrame.elementDepthCount}()&&rr(l,i),function $9(){_e.lFrame.elementDepthCount++}(),u&&(Ug(o,i,c),Hg(o,c,i)),null!==r&&zg(i,c),z}function G(){let e=bt();$m()?Bm():(e=e.parent,ki(e,!1));const n=e;(function j9(e){return _e.skipHydrationRootTNode===e})(n)&&function G9(){_e.skipHydrationRootTNode=null}(),function B9(){_e.lFrame.elementDepthCount--}();const t=Re();return t.firstCreatePass&&(Xd(t,e),Am(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function iT(e){return!!(8&e.flags)}(n)&&B1(t,n,A(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function oT(e){return!!(16&e.flags)}(n)&&B1(t,n,A(),n.stylesWithoutHost,!1),G}function ft(e,n,t,r){return z(e,n,t,r),G(),ft}let lE=(e,n,t,r,i,o)=>(po(!0),Eh(r,i,function z_(){return _e.lFrame.currentNamespace}()));function Wc(e,n,t){const r=A(),i=Re(),o=e+re,s=i.firstCreatePass?function wN(e,n,t,r,i){const o=n.consts,s=li(o,r),a=ua(n,e,8,"ng-container",s);return null!==s&&$h(a,s,!0),Wg(n,t,a,li(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];ki(s,!0);const a=uE(i,r,s,e);return r[o]=a,$l()&&Sh(i,r,a,s),rr(a,r),Gd(s)&&(Ug(i,r,s),Hg(i,s,r)),null!=t&&zg(r,s),Wc}function qc(){let e=bt();const n=Re();return $m()?Bm():(e=e.parent,ki(e,!1)),n.firstCreatePass&&(Xd(n,e),Am(e)&&n.queries.elementEnd(e)),qc}function Zc(e,n,t){return Wc(e,n,t),qc(),Zc}let uE=(e,n,t,r)=>(po(!0),Pg(n[ve],""));function ir(){return A()}function Qh(e,n,t){const r=A();if(pn(r,Pi(),n)){const o=Re(),s=Pt();kr(o,s,r,e,n,Yw(Hm(o.data),s,r),t,!0)}return Qh}const Jh="en-US";let pE=Jh,kE=(e,n,t)=>{};function qe(e,n,t,r){const i=A(),o=Re(),s=bt();return q1(o,i,i[ve],s,e,n,r),qe}function q1(e,n,t,r,i,o,s){const a=Gd(r),l=e.firstCreatePass&&function Zw(e){return e.cleanup??=[]}(e),u=n[kt],d=function qw(e){return e[sc]??=[]}(n);let h=!0;if(3&r.type||s){const v=dr(r,n),C=s?s(v):v,D=d.length,E=s?L=>s(nt(L[r.index])):r.index;let O=null;if(!s&&a&&(O=function fk(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const a=n[sc],c=i[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=o,O.__ngLastListenerFn__=o,h=!1;else{o=LE(r,n,u,o),kE(v,i,o);const L=t.listen(C,i,o);d.push(o,L),l&&l.push(i,E,D,D+1)}}else o=LE(r,n,u,o);const f=r.outputs;let m;if(h&&null!==f&&(m=f[i])){const v=m.length;if(v)for(let C=0;C<v;C+=2){const $=n[m[C]][m[C+1]].subscribe(o),Q=d.length;d.push(o,$),l&&l.push(i,r.index,Q,-(Q+1))}}}function RE(e,n,t,r){const i=te(null);try{return fo(6,n,t),!1!==t(r)}catch(o){return xh(e,o),!1}finally{fo(7,n,t),te(i)}}function LE(e,n,t,r){return function i(o){if(o===Function)return r;ou(e.componentOffset>-1?Ur(e.index,n):n,5);let a=RE(n,t,r,o),c=i.__ngNextListenerFn__;for(;c;)a=RE(n,t,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function X(e=1){return function K9(e){return(_e.lFrame.contextLView=function x_(e,n){for(;e>0;)n=n[ac],e--;return n}(e,_e.lFrame.contextLView))[kt]}(e)}function pk(e,n){let t=null;const r=function J6(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i<n.length;i++){const o=n[i];if("*"!==o){if(null===r?r_(e,o,!0):n9(r,o))return i}else t=i}return t}function Z1(e,n=0,t,r,i,o){const s=A(),a=Re(),c=r?e+1:null;null!==c&&wu(s,a,c,r,i,o,null,t);const l=ua(a,re+e,16,null,t||null);null===l.projection&&(l.projection=n),Bm();const d=!s[ur]||ta();null===s[Yt][Yn].projection[l.projection]&&null!==c?function mk(e,n,t){const r=re+t,i=n.data[r],o=e[r],s=fa(o,i.tView.ssrId);Ec(o,Cc(e,i,void 0,{dehydratedView:s}),0,da(i,s))}(s,a,c):d&&32&~l.flags&&function hI(e,n,t){Pw(n[ve],0,n,t,Lg(e,t,n),Mw(t.parent||n[Yn],t,n))}(a,s,l)}function K1(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function X1(e){return ea(P_(),re+e)}function we(e,n=""){const t=A(),r=Re(),i=e+re,o=r.firstCreatePass?ua(r,i,1,n,null):r.data[i],s=n8(r,t,o,n,e);t[i]=s,$l()&&Sh(r,t,s,o),ki(o,!1)}let n8=(e,n,t,r,i)=>(po(!0),function kg(e,n){return e.createText(n)}(n[ve],r));function zn(e){return jt("",e,""),zn}function jt(e,n,t){const r=A(),i=function Lc(e,n,t,r){return pn(e,Pi(),t)?n+Me(t)+r:Ie}(r,e,n,t);return i!==Ie&&function jo(e,n,t){const r=Ll(n,e);!function bw(e,n,t){e.setValue(n,t)}(e[ve],r,t)}(r,Kn(),i),jt}function Q1(e,n,t){Zb(n)&&(n=n());const r=A();return pn(r,Pi(),n)&&kr(Re(),Pt(),r,e,n,r[ve],t,!1),Q1}function J1(e,n){const t=A(),r=Re(),i=bt();return q1(r,t,t[ve],i,e,n),J1}const h8={};function di(e){const n=Re(),t=A(),r=e+re;return ki(ua(n,r,128,null,null),!1),K1(n,t,r,h8),di}function Or(e){return fr("NgLet"),K1(Re(),A(),Kn(),e),e}function Tn(e){const t=ea(P_(),re+e);if(t===h8)throw new k(314,!1);return t}function e0(e,n,t,r,i){if(e=ye(e),Array.isArray(e))for(let o=0;o<e.length;o++)e0(e[o],n,t,r,i);else{const o=Re(),s=A(),a=bt();let c=Xs(e)?e:ye(e.provide);const l=d_(e),u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(Xs(e)||!e.multi){const f=new Bl(l,i,x),m=n0(c,n,i?u:u+h,d);-1===m?(Qm(th(a,s),o,c),t0(o,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[m]=f,s[m]=f)}else{const f=n0(c,n,u+h,d),m=n0(c,n,u,u+h),C=m>=0&&t[m];if(i&&!C||!i&&!(f>=0&&t[f])){Qm(th(a,s),o,c);const D=function Fk(e,n,t,r,i){const o=new Bl(e,t,x);return o.multi=[],o.index=n,o.componentProviders=0,f8(o,i,r&&!t),o}(i?Lk:Rk,t.length,i,r,l);!i&&C&&(t[m].providerFactory=D),t0(o,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else t0(o,e,f>-1?f:m,f8(t[i?m:f],l,!i&&r));!i&&r&&C&&t[m].componentProviders++}}}function t0(e,n,t,r){const i=Xs(n),o=function h9(e){return!!e.useClass}(n);if(i||o){const c=(o?ye(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function f8(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function n0(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function Rk(e,n,t,r){return r0(this.multi,[])}function Lk(e,n,t,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=ia(t,t[j],this.providerFactory.index,r);o=a.slice(0,s),r0(i,o);for(let c=s;c<a.length;c++)o.push(a[c])}else o=[],r0(i,o);return o}function r0(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function Rt(e,n=[]){return t=>{t.providersResolver=(r,i)=>function Ok(e,n,t){const r=Re();if(r.firstCreatePass){const i=Ai(e);e0(t,r.data,r.blueprint,i,!0),e0(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}let Vk=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=wm(0,t.type),i=r.length>0?function uC(e,n,t=null){return new lC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ee({token:e,providedIn:"environment",factory:()=>new e(Z(ai))})}return e})();function o0(e){fr("NgStandalone"),e.getStandaloneInjector=n=>n.get(Vk).getOrCreateStandaloneInjector(e)}function s0(e,n,t,r){return g8(A(),hr(),e,n,t,r)}function Nu(e,n){const t=e[n];return t===Ie?void 0:t}function g8(e,n,t,r,i,o){const s=n+t;return pn(e,s,i)?wo(e,s+1,o?r.call(o,i):r(i)):Nu(e,s+1)}function v8(e,n,t,r,i,o,s,a){const c=n+t;return function Uh(e,n,t,r,i){const o=ya(e,n,t,r);return pn(e,n+2,i)||o}(e,c,i,o,s)?wo(e,c+3,a?r.call(a,i,o,s):r(i,o,s)):Nu(e,c+3)}function _8(e,n,t,r,i,o,s,a,c){const l=n+t;return function ui(e,n,t,r,i,o){const s=ya(e,n,t,r);return ya(e,n+2,i,o)||s}(e,l,i,o,s,a)?wo(e,l+4,c?r.call(c,i,o,s,a):r(i,o,s,a)):Nu(e,l+4)}function Lt(e,n){const t=Re();let r;const i=e+re;t.firstCreatePass?(r=function Xk(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=Ys(r.type)),a=xr(x);try{const c=eh(!1),l=o();return eh(c),K1(t,A(),i,l),l}finally{xr(a)}}function ku(e,n,t){const r=e+re,i=A(),o=ea(i,r);return Pu(i,r)?g8(i,hr(),n,o.transform,t,o):o.transform(t)}function or(e,n,t,r){const i=e+re,o=A(),s=ea(o,i);return Pu(o,i)?function y8(e,n,t,r,i,o,s){const a=n+t;return ya(e,a,i,o)?wo(e,a+2,s?r.call(s,i,o):r(i,o)):Nu(e,a+2)}(o,hr(),n,s.transform,t,r,s):s.transform(t,r)}function Kc(e,n,t,r,i){const o=e+re,s=A(),a=ea(s,o);return Pu(s,o)?v8(s,hr(),n,a.transform,t,r,i,a):a.transform(t,r,i)}function Pu(e,n){return e[j].data[n].pure}function a0(e,n){return Nh(e,n)}const j8=new W(""),lf=new W("");let m0,f0=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,m0||(function WP(e){m0=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{rt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Z(rt),Z(p0),Z(lf))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),p0=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return m0?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function uf(e){return!!e&&"function"==typeof e.then}function H8(e){return!!e&&"function"==typeof e.subscribe}const qP=new W("");let U8=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=U(qP,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(uf(o))t.push(o);else if(H8(o)){const s=new Promise((a,c)=>{o.subscribe({complete:a,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const g0=new W("");function G8(e,n){return Array.isArray(n)?n.reduce(G8,e):{...e,...n}}let hi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(OT),this.afterRenderManager=U(vC),this.zonelessEnabled=U(pu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new hn,this.afterTick=new hn,this.componentTypes=[],this.components=[],this.isStable=U(oa).hasPendingTasks.pipe(rn(t=>!t)),this._injector=U(ai)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof Tb;if(!this._injector.get(U8).done)throw!i&&function Ks(e){const n=Ve(e)||Rn(e)||Zn(e);return null!==n&&n.standalone}(t),new k(405,!1);let s;s=i?t:this._injector.get(pa).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function ZP(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ga),l=s.create(It.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(j8,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),df(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new k(101,!1);const t=te(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,te(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(Fh,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)XP(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>Wd(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;df(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(g0,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>df(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new k(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function df(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function XP(e,n,t,r){(t||Wd(e))&&Ah(e,n,t&&!r?0:1)}let tO=(()=>{class e{constructor(){this.zone=U(rt),this.changeDetectionScheduler=U(Sc),this.applicationRef=U(hi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function y0({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new rt({...v0(),scheduleInRootZone:t}),[{provide:rt,useFactory:e},{provide:lo,multi:!0,useFactory:()=>{const r=U(tO,{optional:!0});return()=>r.initialize()}},{provide:lo,multi:!0,useFactory:()=>{const r=U(rO);return()=>{r.initialize()}}},!0===n?{provide:Sb,useValue:!0}:[],{provide:u1,useValue:t??h2}]}function v0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let rO=(()=>{class e{constructor(){this.subscription=new at,this.initialized=!1,this.zone=U(rt),this.pendingTasks=U(oa)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{rt.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{rt.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fu=(()=>{class e{constructor(){this.appRef=U(hi),this.taskService=U(oa),this.ngZone=U(rt),this.zonelessEnabled=U(pu),this.disableScheduling=U(Sb,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new at,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ah):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(U(u1,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof og||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?p2:f2;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ah+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,p2(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ds=new W("",{providedIn:"root",factory:()=>U(Ds,Ge.Optional|Ge.SkipSelf)||function iO(){return typeof $localize<"u"&&$localize.locale||Jh}()}),w0=new W("");function ff(e){return!!e.platformInjector}let Q8=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,a=[y0({ngZoneFactory:()=>function PT(e="zone.js",n){return"noop"===e?new og:"zone.js"===e?new rt(n):e}(r?.ngZone,{...v0({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Sc,useExisting:Fu}],c=function Gx(e,n,t){return new E1(e,n,t,!1)}(t.moduleType,this.injector,a);return function X8(e){const n=ff(e)?e.r3Injector:e.moduleRef.injector,t=n.get(rt);return t.run(()=>{ff(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=n.get(go,null);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{r.handleError(o)}})}),ff(e)){const o=()=>n.destroy(),s=e.platformInjector.get(w0);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{df(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function KP(e,n,t){try{const r=t();return uf(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(r,t,()=>{const o=n.get(U8);return o.runInitializers(),o.donePromise.then(()=>{if(function xN(e){"string"==typeof e&&(pE=e.toLowerCase().replace(/_/g,"-"))}(n.get(Ds,Jh)||Jh),ff(e)){const a=n.get(hi);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function uO(e,n){const t=e.injector.get(hi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new k(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:c,allPlatformModules:this._modules})}bootstrapModule(t,r=[]){const i=G8({},r);return function eO(e,n,t){const r=new D1(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new k(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(w0,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Z(It))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ss=null;const J8=new W("");function e3(e,n,t=[]){const r=`Platform: ${n}`,i=new W(r);return(o=[])=>{let s=b0();if(!s||s.injector.get(J8,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function dO(e){if(Ss&&!Ss.get(J8,!1))throw new k(400,!1);(function z8(){!function ze(e){vt=e}(()=>{throw new k(600,!1)})})(),Ss=e;const n=e.get(Q8);(function n3(e){e.get($2,null)?.forEach(t=>t())})(e)}(function t3(e=[],n){return It.create({name:n,providers:[{provide:Em,useValue:"platform"},{provide:w0,useValue:new Set([()=>Ss=null])},...e]})}(a,r))}return function hO(){const n=b0();if(!n)throw new k(401,!1);return n}()}}function b0(){return Ss?.get(Q8)??null}let Jc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pO}return e})();function pO(e){return function mO(e,n,t){if(Js(e)&&!t){const r=Ur(e.index,n);return new su(r,r)}return 175&e.type?new su(n[Yt],n):null}(bt(),A(),!(16&~e))}const MO=e3(null,"core",[]);let IO=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(Z(hi))};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({})}return e})();const I3=new W("");function st(e,n){fr("NgSignals");const t=function Ce(e){const n=Object.create($e);n.computation=e;const t=()=>{if(He(n),ln(n),n.value===ke)throw n.error;return n.value};return t[Ze]=n,t}(e);return n?.equal&&(t[Ze].equal=n.equal),t}function Bi(e){const n=te(null);try{return e()}finally{te(n)}}const sR=new W("",{providedIn:"root",factory:()=>U(aR)});let aR=(()=>{class e{static#e=this.\u0275prov=ee({token:e,providedIn:"root",factory:()=>new cR})}return e})();class cR{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=U(oa),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){const t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}class lR{constructor(n,t,r,i,o,s){this.scheduler=n,this.effectFn=t,this.creationZone=r,this.injector=o,this.watcher=function Rr(e,n,t){const r=Object.create(dn);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const i=c=>{r.cleanupFn=c};return r.ref={notify:()=>Te(r),run:()=>{if(null===r.fn)return;if(function ce(){return xe}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!nn(r))return;r.hasRun=!0;const c=Ue(r);try{r.cleanupFn(),r.cleanupFn=Vt,r.fn(i)}finally{Dt(r,c)}},cleanup:()=>r.cleanupFn(),destroy:()=>function s(c){(function o(c){return null===c.fn&&null===c.schedule})(c)||(vn(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Vt)}(r),[Ze]:r},r.ref}(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(go,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function N0(e,n){fr("NgSignals"),!n?.injector&&function Mm(e){if(!h_())throw new k(-203,!1)}();const t=n?.injector??U(It),r=!0!==n?.manualCleanup?t.get(Ul):null,i=new lR(t.get(sR),e,typeof Zone>"u"?null:Zone.current,r,t,n?.allowSignalWrites??!1),o=t.get(Jc,null,{optional:!0});return o&&8&o._lView[le]?(o._lView[Hd]??=[]).push(i.watcher.notify):i.watcher.notify(),i}let V3=null;function ju(){return V3}class dR{}const sr=new W("");function q3(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const j0=/\s+/,Z3=[];let H0=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=Z3,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(j0):Z3}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(j0):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(j0).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\u0275fac=function(r){return new(r||e)(x(zr),x(Ho))};static#t=this.\u0275dir=De({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),U0=(()=>{class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?function zx(e,n){return new E1(e,n??null,[])}(this.ngComponentOutletNgModule,Y3(r)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Y3(r)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[r,i]of this._inputsUsed)i?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static#e=this.\u0275fac=function(r){return new(r||e)(x(Oi))};static#t=this.\u0275dir=De({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Ni]})}return e})();function Y3(e){return e.get(ga).injector}let Of=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new JR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){X3("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){X3("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(x(Oi),x(_o))};static#t=this.\u0275dir=De({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class JR{constructor(){this.$implicit=null,this.ngIf=null}}function X3(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Pn(n)}'.`)}let J3=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(x(Oi))};static#t=this.\u0275dir=De({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ni]})}return e})();let Z0=(()=>{class e{transform(t,r,i){if(null==t)return null;if(!this.supports(t))throw function Hi(e,n){return new k(2100,!1)}();return t.slice(r,i)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=En({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Y0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({})}return e})();function n4(e){return"server"===e}class r4{}class tF extends dR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J0 extends tF{static makeCurrent(){!function uR(e){V3??=e}(new J0)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function nF(){return Gu=Gu||document.querySelector("base"),Gu?Gu.getAttribute("href"):null}();return null==t?null:function rF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Gu=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return q3(document.cookie,n)}}let Gu=null,oF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const Vf=new W("");let f4=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new k(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(Z(Vf),Z(rt))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();class ey{constructor(n){this._doc=n}}const ty="ng-app-id";let p4=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=n4(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${ty}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(ty),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(ty,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr),Z(gc),Z(j2,8),Z(vs))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const ny={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ry=/%COMP%/g,lF=new W("",{providedIn:"root",factory:()=>!0});function g4(e,n){return n.map(t=>t.replace(ry,e))}let iy=(()=>{class e{constructor(t,r,i,o,s,a,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=n4(a),this.defaultRenderer=new oy(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Mi.ShadowDom&&(r={...r,encapsulation:Mi.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof v4?i.applyToHost(t):i instanceof sy&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Mi.Emulated:o=new v4(c,l,r,this.appId,u,s,a,d);break;case Mi.ShadowDom:return new fF(c,l,t,r,s,a,this.nonce,d);default:o=new sy(c,l,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(Z(f4),Z(p4),Z(gc),Z(lF),Z(sr),Z(vs),Z(rt),Z(j2))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();class oy{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(ny[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(y4(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(y4(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new k(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=ny[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=ny[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(ws.DashCase|ws.Important)?n.style.setProperty(t,r,i&ws.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ws.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=ju().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function y4(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class fF extends oy{constructor(n,t,r,i,o,s,a,c){super(n,o,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=g4(i.id,i.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class sy extends oy{constructor(n,t,r,i,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=c?g4(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class v4 extends sy{constructor(n,t,r,i,o,s,a,c){const l=i+"-"+r.id;super(n,t,r,o,s,a,c,l),this.contentAttr=function uF(e){return"_ngcontent-%COMP%".replace(ry,e)}(l),this.hostAttr=function dF(e){return"_nghost-%COMP%".replace(ry,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let pF=(()=>{class e extends ey{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),mF=(()=>{class e extends ey{constructor(t){super(t),this.delegate=U(I3,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,r,i){return this.delegate.addEventListener(t,r,i)}removeEventListener(t,r,i){return this.delegate.removeEventListener(t,r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const _4=["alt","control","meta","shift"],gF={"\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"},yF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let vF=(()=>{class e extends ey{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ju().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),_4.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let i=gF[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),_4.forEach(s=>{s!==i&&(0,yF[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const CF=e3(MO,"browser",[{provide:vs,useValue:"browser"},{provide:$2,useValue:function _F(){J0.makeCurrent()},multi:!0},{provide:sr,useFactory:function bF(){return function nM(e){dg=e}(document),document},deps:[]}]),EF=new W(""),C4=[{provide:lf,useClass:class iF{addToWindow(n){$t.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new k(5103,!1);return o},$t.getAllAngularTestabilities=()=>n.getAllTestabilities(),$t.getAllAngularRootElements=()=>n.getAllRootElements(),$t.frameworkStabilizers||($t.frameworkStabilizers=[]),$t.frameworkStabilizers.push(r=>{const i=$t.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?ju().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:j8,useClass:f0,deps:[rt,p0,lf]},{provide:f0,useClass:f0,deps:[rt,p0,lf]}],E4=[{provide:Em,useValue:"root"},{provide:go,useFactory:function wF(){return new go},deps:[]},{provide:Vf,useClass:pF,multi:!0,deps:[sr,rt,vs]},{provide:Vf,useClass:vF,multi:!0,deps:[sr]},{provide:Vf,useClass:mF,multi:!0},iy,p4,f4,{provide:Fh,useExisting:iy},{provide:r4,useClass:oF,deps:[]},[]];let $f=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:gc,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(Z(EF,12))};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[...E4,...C4],imports:[Y0,IO]})}return e})(),ay=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:function(r){let i=null;return i=r?new(r||e):Z(MF),i},providedIn:"root"})}return e})(),MF=(()=>{class e extends ay{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Wr.NONE:return r;case Wr.HTML:return yo(r,"HTML")?Gr(r):uw(this._doc,String(r)).toString();case Wr.STYLE:return yo(r,"Style")?Gr(r):r;case Wr.SCRIPT:if(yo(r,"Script"))return Gr(r);throw new k(5200,!1);case Wr.URL:return yo(r,"URL")?Gr(r):_h(String(r));case Wr.RESOURCE_URL:if(yo(r,"ResourceURL"))return Gr(r);throw new k(5201,!1);default:throw new k(5202,!1)}}bypassSecurityTrustHtml(t){return function EM(e){return new yM(e)}(t)}bypassSecurityTrustStyle(t){return function DM(e){return new vM(e)}(t)}bypassSecurityTrustScript(t){return function SM(e){return new _M(e)}(t)}bypassSecurityTrustUrl(t){return function TM(e){return new wM(e)}(t)}bypassSecurityTrustResourceUrl(t){return function MM(e){return new bM(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const cy={now:()=>(cy.delegate||Date).now(),delegate:void 0};class IF extends hn{constructor(n=1/0,t=1/0,r=cy){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=t.now();let a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}}var jf=function(){return jf=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},jf.apply(this,arguments)};function mi(e,n,t,r){return new(t||(t=Promise))(function(o,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function Ui(e,n){var r,i,o,s,t={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(u){return function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(t=0)),t;)try{if(r=1,i&&(o=2&l[0]?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return t.label++,{value:l[1],done:!1};case 5:t.label++,i=l[1],l=[0];continue;case 7:l=t.ops.pop(),t.trys.pop();continue;default:if(!(o=(o=t.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){t=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){t.label=l[1];break}if(6===l[0]&&t.label<o[1]){t.label=o[1],o=l;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(l);break}o[2]&&t.ops.pop(),t.trys.pop();continue}l=n.call(e,t)}catch(u){l=[6,u],i=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,u])}}}function hy(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)(o||!(r in n))&&(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}function Ts(e){return this instanceof Ts?(this.v=e,this):new Ts(e)}function I4(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function dy(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,c){!function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}(a,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const x4=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function A4(e){return et(e?.then)}function N4(e){return et(e[Io])}function k4(e){return Symbol.asyncIterator&&et(e?.[Symbol.asyncIterator])}function P4(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const O4=function ZF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function R4(e){return et(e?.[O4])}function L4(e){return function M4(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},a("next"),a("throw"),a("return",function s(f){return function(m){return Promise.resolve(m).then(f,d)}}),i[Symbol.asyncIterator]=function(){return this},i;function a(f,m){r[f]&&(i[f]=function(v){return new Promise(function(C,D){o.push([f,v,C,D])>1||c(f,v)})},m&&(i[f]=m(i[f])))}function c(f,m){try{!function l(f){f.value instanceof Ts?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(r[f](m))}catch(v){h(o[0][3],v)}}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield Ts(t.read());if(i)return yield Ts(void 0);yield yield Ts(r)}}finally{t.releaseLock()}})}function F4(e){return et(e?.getReader)}function zi(e){if(e instanceof lt)return e;if(null!=e){if(N4(e))return function YF(e){return new lt(n=>{const t=e[Io]();if(et(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(x4(e))return function KF(e){return new lt(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(A4(e))return function XF(e){return new lt(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ls)})}(e);if(k4(e))return V4(e);if(R4(e))return function QF(e){return new lt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(F4(e))return function JF(e){return V4(L4(e))}(e)}throw P4(e)}function V4(e){return new lt(n=>{(function eV(e,n){var t,r,i,o;return mi(this,void 0,void 0,function*(){try{for(t=I4(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Ms(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Hf(e,n,t=1/0){return et(n)?Hf((r,i)=>rn((o,s)=>n(r,o,i,s))(zi(e(r,i))),t):("number"==typeof n&&(t=n),Hn((r,i)=>function tV(e,n,t,r,i,o,s,a){const c=[];let l=0,u=0,d=!1;const h=()=>{d&&!c.length&&!l&&n.complete()},f=v=>l<r?m(v):c.push(v),m=v=>{o&&n.next(v),l++;let C=!1;zi(t(v,u++)).subscribe(bn(n,D=>{i?.(D),o?f(D):n.next(D)},()=>{C=!0},void 0,()=>{if(C)try{for(l--;c.length&&l<r;){const D=c.shift();s?Ms(n,s,()=>m(D)):m(D)}h()}catch(D){n.error(D)}}))};return e.subscribe(bn(n,f,()=>{d=!0,h()})),()=>{a?.()}}(r,i,e,t)))}function $4(e=1/0){return Hf(wn,e)}const B4=new lt(e=>e.complete());function j4(e){return e&&et(e.schedule)}function fy(e){return e[e.length-1]}function Uf(e){return j4(fy(e))?e.pop():void 0}function H4(e,n=0){return Hn((t,r)=>{t.subscribe(bn(r,i=>Ms(r,e,()=>r.next(i),n),()=>Ms(r,e,()=>r.complete(),n),i=>Ms(r,e,()=>r.error(i),n)))})}function U4(e,n=0){return Hn((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function z4(e,n){if(!e)throw new Error("Iterable cannot be null");return new lt(t=>{Ms(t,n,()=>{const r=e[Symbol.asyncIterator]();Ms(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function nl(e,n){return n?function uV(e,n){if(null!=e){if(N4(e))return function oV(e,n){return zi(e).pipe(U4(n),H4(n))}(e,n);if(x4(e))return function aV(e,n){return new lt(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(A4(e))return function sV(e,n){return zi(e).pipe(U4(n),H4(n))}(e,n);if(k4(e))return z4(e,n);if(R4(e))return function cV(e,n){return new lt(t=>{let r;return Ms(t,n,()=>{r=e[O4](),Ms(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>et(r?.return)&&r.return()})}(e,n);if(F4(e))return function lV(e,n){return z4(L4(e),n)}(e,n)}throw P4(e)}(e,n):zi(e)}function G4(e,n){return Hn((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(bn(r,c=>{i?.unsubscribe();let l=0;const u=o++;zi(e(c,u)).subscribe(i=bn(r,d=>r.next(n?n(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}const zf={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return zf.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return zf.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let py;function wV(e,n,t){let r=t;return function fV(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((i,o)=>!("*"===i||!function mV(e,n){if(!py){const t=Element.prototype;py=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&py.call(e,n)}(e,i)||(r=o,0))),r}class CV{constructor(n,t){this.componentFactory=t.get(pa).resolveComponentFactory(n)}create(n){return new EV(this.componentFactory,n)}}class EV{constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new IF(1),this.events=this.eventEmitters.pipe(G4(r=>function dV(...e){const n=Uf(e),t=function iV(e,n){return"number"==typeof fy(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?zi(r[0]):$4(t)(nl(r,n)):B4}(...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(rt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=zf.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,r){this.runInZone(()=>{r&&(t=r.call(this.componentRef?.instance,t)),null!==this.componentRef?function gV(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=It.create({providers:[],parent:this.injector}),r=function _V(e,n){const t=e.childNodes,r=n.map(()=>[]);let i=-1;n.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=t.length;o<s;++o){const a=t[o],c=wV(a,n,i);-1!==c&&r[c].push(a)}return r}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Jc),this.implementsOnChanges=function pV(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(hi).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>n.instance[r].pipe(rn(s=>({name:i,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=zf.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[n];if(r)return void(r.currentValue=t);const i=this.unchangedInputs.has(n),o=i?void 0:this.getInputValue(n);this.inputChanges[n]=new w_(o,t,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class DV extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class Xt{constructor(n,t){this.type=n,this.payload=t}}const Xr={phoneNumber:{length:{min:4,max:30}},card:{code:{lengths:{"american-express":[3,4]}},number:{length:{min:13,max:19}},holder:{length:{min:1,max:128}}},keys:{apmsCollapse:"apms-collapse"}};function W4(e,n,t,r,i,o,s){try{var a=e[o](s),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(r,i)}function rl(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function s(c){W4(o,r,i,s,a,"next",c)}function a(c){W4(o,r,i,s,a,"throw",c)}s(void 0)})}}function Gf(e,n){return new Promise(function(t){return setTimeout(t,e,n)})}function Wf(e){return!!e&&"function"==typeof e.then}function Z4(e,n){try{var t=e();Wf(t)?t.then(function(r){return n(!0,r)},function(r){return n(!1,r)}):n(!0,t)}catch(r){n(!1,r)}}function Y4(e,n,t){return void 0===t&&(t=16),mi(this,void 0,void 0,function(){var r,i,o,s;return Ui(this,function(a){switch(a.label){case 0:r=Array(e.length),i=Date.now(),o=0,a.label=1;case 1:return o<e.length?(r[o]=n(e[o],o),(s=Date.now())>=i+t?(i=s,[4,new Promise(function(e){var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(null)})]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2,r]}})})}function Wu(e){return e.then(void 0,function(){}),e}function my(e){return parseInt(e)}function Gi(e){return parseFloat(e)}function qo(e,n){return"number"==typeof e&&isNaN(e)?n:e}function yr(e){return e.reduce(function(n,t){return n+(t?1:0)},0)}function K4(e,n){if(void 0===n&&(n=1),Math.abs(n)>=1)return Math.round(e/n)*n;var t=1/n;return Math.round(e*t)/t}function Is(e,n){var u=0,d=0,h=0,f=0;h+=(f+=(65535&e[1])+(65535&n[1]))>>>16,f&=65535,d+=(h+=(e[1]>>>16)+(n[1]>>>16))>>>16,h&=65535,u+=(d+=(65535&e[0])+(65535&n[0]))>>>16,u+=(e[0]>>>16)+(n[0]>>>16),e[0]=(u&=65535)<<16|(d&=65535),e[1]=h<<16|f}function gi(e,n){var r=65535&e[0],i=e[1]>>>16,o=65535&e[1],a=65535&n[0],c=n[1]>>>16,l=65535&n[1],u=0,d=0,h=0,f=0;h+=(f+=o*l)>>>16,f&=65535,d+=(h+=i*l)>>>16,h&=65535,d+=(h+=o*c)>>>16,h&=65535,u+=(d+=r*l)>>>16,d&=65535,u+=(d+=i*c)>>>16,d&=65535,u+=(d+=o*a)>>>16,u+=(e[0]>>>16)*l+r*c+i*a+o*(n[0]>>>16),e[0]=(u&=65535)<<16|(d&=65535),e[1]=h<<16|f}function il(e,n){var t=e[0];32==(n%=64)?(e[0]=e[1],e[1]=t):n<32?(e[0]=t<<n|e[1]>>>32-n,e[1]=e[1]<<n|t>>>32-n):(e[0]=e[1]<<(n-=32)|t>>>32-n,e[1]=t<<n|e[1]>>>32-n)}function Qr(e,n){0!=(n%=64)&&(n<32?(e[0]=e[1]>>>32-n,e[1]=e[1]<<n):(e[0]=e[1]<<n-32,e[1]=0))}function Qt(e,n){e[0]^=n[0],e[1]^=n[1]}var kV=[4283543511,3981806797],PV=[3301882366,444984403];function X4(e){var n=[0,e[0]>>>1];Qt(e,n),gi(e,kV),n[1]=e[0]>>>1,Qt(e,n),gi(e,PV),n[1]=e[0]>>>1,Qt(e,n)}var qf=[2277735313,289559509],Zf=[1291169091,658871167],Q4=[0,5],OV=[0,1390208809],RV=[0,944331445];function eD(){var e=window,n=navigator;return yr(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in n,"msPointerEnabled"in n])>=4}function qu(){var e=window,n=navigator;return yr(["webkitPersistentStorage"in n,"webkitTemporaryStorage"in n,0===n.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Wi(){var e=window;return yr(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function gy(){var e=window,n=e.HTMLElement,t=e.Document;return yr(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),n&&!("autocapitalize"in n.prototype),t&&"pointerLockElement"in t.prototype])>=4}function Zu(){var e=window;return function VV(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}(e.print)&&"[object WebPageNamespace]"===String(e.browser)}function tD(){var e,n,t=window;return yr(["buildID"in navigator,"MozAppearance"in(null!==(n=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==n?n:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function Yu(){var e=window,n=navigator,t=e.CSS,r=e.HTMLButtonElement;return yr([!("getStorageUpdates"in n),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function qV(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function yy(){var e=qu(),n=tD(),t=window,r=navigator,i="connection";return e?yr([!("SharedWorker"in t),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:!!n&&yr(["onorientationchange"in t,"orientation"in t,/android/i.test(r.appVersion)])>=2}function nD(e){var n=new Error(e);return n.name=e,n}function rD(e,n,t){var r,i,o;return void 0===t&&(t=50),mi(this,void 0,void 0,function(){var s,a;return Ui(this,function(c){switch(c.label){case 0:s=document,c.label=1;case 1:return s.body?[3,3]:[4,Gf(t)];case 2:return c.sent(),[3,1];case 3:a=s.createElement("iframe"),c.label=4;case 4:return c.trys.push([4,,10,11]),[4,new Promise(function(l,u){var d=!1,h=function(){d=!0,l()};a.onload=h,a.onerror=function(C){d=!0,u(C)};var m=a.style;m.setProperty("display","block","important"),m.position="absolute",m.top="0",m.left="0",m.visibility="hidden",n&&"srcdoc"in a?a.srcdoc=n:a.src="about:blank",s.body.appendChild(a);var v=function(){var C,D;d||("complete"===(null===(D=null===(C=a.contentWindow)||void 0===C?void 0:C.document)||void 0===D?void 0:D.readyState)?h():setTimeout(v,10))};v()})];case 5:c.sent(),c.label=6;case 6:return null!==(i=null===(r=a.contentWindow)||void 0===r?void 0:r.document)&&void 0!==i&&i.body?[3,8]:[4,Gf(t)];case 7:return c.sent(),[3,6];case 8:return[4,e(a,a.contentWindow)];case 9:return[2,c.sent()];case 10:return null===(o=a.parentNode)||void 0===o||o.removeChild(a),[7];case 11:return[2]}})})}function t$(e){for(var n=function AV(e){for(var n,t,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),o=i[1]||void 0,s={},a=/([.:#][\w-]+|\[.+?\])/gi,c=function(h,f){s[h]=s[h]||[],s[h].push(f)};;){var l=a.exec(i[2]);if(!l)break;var u=l[0];switch(u[0]){case".":c("class",u.slice(1));break;case"#":c("id",u.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(!d)throw new Error(r);c(d[1],null!==(t=null!==(n=d[4])&&void 0!==n?n:d[5])&&void 0!==t?t:"");break;default:throw new Error(r)}}return[o,s]}(e),r=n[1],i=document.createElement(n[0]??"div"),o=0,s=Object.keys(r);o<s.length;o++){var a=s[o],c=r[a].join(" ");"style"===a?n$(i.style,c):i.setAttribute(a,c)}return i}function n$(e,n){for(var t=0,r=n.split(";");t<r.length;t++){var o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(r[t]);o&&e.setProperty(o[1],o[2],o[4]||"")}}var ol=["monospace","sans-serif","serif"],iD=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function vy(e){return e.toDataURL()}var Yf,_y;function wy(){var e=screen;return[qo(Gi(e.availTop),null),qo(Gi(e.width)-Gi(e.availWidth)-qo(Gi(e.availLeft),0),null),qo(Gi(e.height)-Gi(e.availHeight)-qo(Gi(e.availTop),0),null),qo(Gi(e.availLeft),null)]}function by(e){for(var n=0;n<4;++n)if(e[n])return!1;return!0}function z$(e){var n;return mi(this,void 0,void 0,function(){var t,r,i,o,s,a,c;return Ui(this,function(l){switch(l.label){case 0:for(t=document,r=t.createElement("div"),i=new Array(e.length),o={},oD(r),c=0;c<e.length;++c)"DIALOG"===(s=t$(e[c])).tagName&&s.show(),oD(a=t.createElement("div")),a.appendChild(s),r.appendChild(a),i[c]=s;l.label=1;case 1:return t.body?[3,3]:[4,Gf(50)];case 2:return l.sent(),[3,1];case 3:t.body.appendChild(r);try{for(c=0;c<e.length;++c)i[c].offsetParent||(o[e[c]]=!0)}finally{null===(n=r.parentNode)||void 0===n||n.removeChild(r)}return[2,o]}})})}function oD(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function sD(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function aD(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function sl(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function cD(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function lD(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function uD(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var yt=Math,vr=function(){return 0},Cy={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},dB=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),hB=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),fB=["FRAGMENT_SHADER","VERTEX_SHADER"],pB=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],fD="WEBGL_debug_renderer_info";function pD(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",function(){return t=void 0});for(var r=0,i=["webgl","experimental-webgl"];r<i.length;r++){var o=i[r];try{t=n.getContext(o)}catch{}if(t)break}return e.webgl={context:t},t}function vB(e,n,t){var r=e.getShaderPrecisionFormat(e[n],e[t]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function mD(e){return Object.keys(e.__proto__).filter(_B)}function _B(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function gD(){return tD()}function yD(e){return"function"==typeof e.getParameter}var CB={fonts:function s$(){var e=this;return rD(function(n,t){var r=t.document;return mi(e,void 0,void 0,function(){var i,o,s,a,c,l,d,h,f,m,v;return Ui(this,function(C){for((i=r.body).style.fontSize="48px",(o=r.createElement("div")).style.setProperty("visibility","hidden","important"),s={},a={},l=function(D,E){return c("'".concat(D,"',").concat(E))},d=function(){for(var D={},E=function(Q){D[Q]=ol.map(function(ae){return l(Q,ae)})},O=0,L=iD;O<L.length;O++)E(L[O]);return D},h=function(D){return ol.some(function(E,O){return D[O].offsetWidth!==s[E]||D[O].offsetHeight!==a[E]})},f=ol.map(c=function(D){var E=r.createElement("span"),O=E.style;return O.position="absolute",O.top="0",O.left="0",O.fontFamily=D,E.textContent="mmMwWLliI0O&1",o.appendChild(E),E}),m=d(),i.appendChild(o),v=0;v<ol.length;v++)s[ol[v]]=f[v].offsetWidth,a[ol[v]]=f[v].offsetHeight;return[2,iD.filter(function(D){return h(m[D])})]})})})},domBlockers:function H$(e){var t=(void 0===e?{}:e).debug;return mi(this,void 0,void 0,function(){var r,i,s,a,c;return Ui(this,function(l){switch(l.label){case 0:return function U$(){return Wi()||yy()}()?(r=function j$(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),i=Object.keys(r),[4,z$((c=[]).concat.apply(c,i.map(function(u){return r[u]})))]):[2,void 0];case 1:return s=l.sent(),t&&function G$(e,n){for(var t="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];t+="\n".concat(o,":");for(var s=0,a=e[o];s<a.length;s++){var c=a[s];t+="\n ".concat(n[c]?"\u{1f6ab}":"\u27a1\ufe0f"," ").concat(c)}}console.log("".concat(t,"\n```"))}(r,s),(a=i.filter(function(u){var d=r[u];return yr(d.map(function(f){return s[f]}))>.6*d.length})).sort(),[2,a]}})})},fontPreferences:function rB(){return function iB(e,n){return void 0===n&&(n=4e3),rD(function(t,r){var i=r.document,o=i.body,s=o.style;s.width="".concat(n,"px"),s.webkitTextSizeAdjust=s.textSizeAdjust="none",qu()?o.style.zoom="".concat(1/r.devicePixelRatio):Wi()&&(o.style.zoom="reset");var a=i.createElement("div");return a.textContent=hy([],Array(n/20|0),!0).map(function(){return"word"}).join(" "),o.appendChild(a),e(i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}(function(e,n){for(var t={},r={},i=0,o=Object.keys(Cy);i<o.length;i++){var a=Cy[s=o[i]],c=a[0],l=void 0===c?{}:c,u=a[1],d=void 0===u?"mmMwWLliI0fiflO&1":u,h=e.createElement("span");h.textContent=d,h.style.whiteSpace="nowrap";for(var f=0,m=Object.keys(l);f<m.length;f++){var v=m[f],C=l[v];void 0!==C&&(h.style[v]=C)}t[s]=h,n.append(e.createElement("br"),h)}for(var D=0,E=Object.keys(Cy);D<E.length;D++){var s;r[s=E[D]]=t[s].getBoundingClientRect().width}return r})},audio:function YV(){return function QV(){return Wi()&&Yu()&&Zu()||qu()&&function ZV(){var e=navigator,n=window,t=Audio.prototype,r=n.visualViewport;return yr(["srLatency"in t,"srChannelCount"in t,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}()&&function UV(){var e=window,n=e.URLPattern;return yr(["union"in Set.prototype,"Iterator"in e,n&&"hasRegExpGroups"in n.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()}()?-4:function KV(){var e=window,n=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!n)return-2;if(function XV(){return Wi()&&!gy()&&!function zV(){var e=window;return yr(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()}())return-1;var i=new n(1,5e3,44100),o=i.createOscillator();o.type="triangle",o.frequency.value=1e4;var s=i.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,o.connect(s),s.connect(i.destination),o.start(0);var a=function JV(e){var o=function(){},s=new Promise(function(a,c){var l=!1,u=0,d=0;e.oncomplete=function(m){return a(m.renderedBuffer)};var h=function(){setTimeout(function(){return c(nD("timeout"))},Math.min(500,d+5e3-Date.now()))},f=function(){try{var m=e.startRendering();switch(Wf(m)&&Wu(m),e.state){case"running":d=Date.now(),l&&h();break;case"suspended":document.hidden||u++,l&&u>=3?c(nD("suspended")):setTimeout(f,500)}}catch(v){c(v)}};f(),o=function(){l||(l=!0,d>0&&h())}});return[s,o]}(i),l=a[1],u=Wu(a[0].then(function(d){return function e$(e){for(var n=0,t=0;t<e.length;++t)n+=Math.abs(e[t]);return n}(d.getChannelData(0).subarray(4500))},function(d){if("timeout"===d.name||"suspended"===d.name)return-3;throw d}));return function(){return l(),u}}()},screenFrame:function I$(){var e=this;if(Wi()&&Yu()&&Zu())return function(){return Promise.resolve(void 0)};var n=function M$(){var e=this;return function T$(){if(void 0===_y){var e=function(){var n=wy();by(n)?_y=setTimeout(e,2500):(Yf=n,_y=void 0)};e()}}(),function(){return mi(e,void 0,void 0,function(){var n;return Ui(this,function(t){switch(t.label){case 0:return by(n=wy())?Yf?[2,hy([],Yf,!0)]:function WV(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,qV()]:[3,2]:[3,2];case 1:t.sent(),n=wy(),t.label=2;case 2:return by(n)||(Yf=n),[2,n]}})})}}();return function(){return mi(e,void 0,void 0,function(){var t,r;return Ui(this,function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,[(r=function(o){return null===o?null:K4(o,10)})(t[0]),r(t[1]),r(t[2]),r(t[3])]]}})})}},canvas:function c$(){return function l$(e){var n,r,i,t=!1,o=function u$(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),s=o[0],a=o[1];return function d$(e,n){return!(!n||!e.toDataURL)}(s,a)?(t=function h$(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(a),e?r=i="skipped":(n=function f$(e,n){!function p$(e,n){e.width=240,e.height=60,n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(100,1,62,20),n.fillStyle="#069",n.font='11pt "Times New Roman"';var t="Cwm fjordbank gly ".concat("\u{1f603}");n.fillText(t,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(t,4,45)}(e,n);var t=vy(e);return t!==vy(e)?["unstable","unstable"]:(function m$(e,n){e.width=122,e.height=110,n.globalCompositeOperation="multiply";for(var t=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];t<r.length;t++){var i=r[t],s=i[1],a=i[2];n.fillStyle=i[0],n.beginPath(),n.arc(s,a,40,0,2*Math.PI,!0),n.closePath(),n.fill()}n.fillStyle="#f9c",n.arc(60,60,60,0,2*Math.PI,!0),n.arc(60,60,20,0,2*Math.PI,!0),n.fill("evenodd")}(e,n),[vy(e),t])}(s,a),r=n[0],i=n[1])):r=i="unsupported",{winding:t,geometry:r,text:i}}(function g$(){return Wi()&&Yu()&&Zu()}())},osCpu:function v$(){return navigator.oscpu},languages:function _$(){var e=navigator,n=[],t=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==t&&n.push([t]),Array.isArray(e.languages))qu()&&function HV(){var e=window;return yr([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||n.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&n.push(r.split(","))}return n},colorDepth:function w$(){return window.screen.colorDepth},deviceMemory:function b$(){return qo(Gi(navigator.deviceMemory),void 0)},screenResolution:function C$(){if(!(Wi()&&Yu()&&Zu()))return function E$(){var e=screen,n=function(r){return qo(my(r),null)},t=[n(e.width),n(e.height)];return t.sort().reverse(),t}()},hardwareConcurrency:function x$(){return qo(my(navigator.hardwareConcurrency),void 0)},timezone:function A$(){var e,n=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(n){var t=(new n).resolvedOptions().timeZone;if(t)return t}var r=-function N$(){var e=(new Date).getFullYear();return Math.max(Gi(new Date(e,0,1).getTimezoneOffset()),Gi(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(r)},sessionStorage:function k$(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function P$(){try{return!!window.localStorage}catch{return!0}},indexedDB:function O$(){if(!eD()&&!function jV(){var e=window,n=navigator;return yr(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in n,"msSaveBlob"in n])>=3&&!eD()}())try{return!!window.indexedDB}catch{return!0}},openDatabase:function R$(){return!!window.openDatabase},cpuClass:function L$(){return navigator.cpuClass},platform:function F$(){var e=navigator.platform;return"MacIntel"===e&&Wi()&&!gy()?function GV(){if("iPad"===navigator.platform)return!0;var e=screen,n=e.width/e.height;return yr(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,n>.65&&n<1.53])>=2}()?"iPad":"iPhone":e},plugins:function a$(){var e=navigator.plugins;if(e){for(var n=[],t=0;t<e.length;++t){var r=e[t];if(r){for(var i=[],o=0;o<r.length;++o){var s=r[o];i.push({type:s.type,suffixes:s.suffixes})}n.push({name:r.name,description:r.description,mimeTypes:i})}}return n}},touchSupport:function y$(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=my(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch{t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function V$(){return navigator.vendor||""},vendorFlavors:function $$(){for(var e=[],n=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];n<t.length;n++){var r=t[n],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function B$(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var n=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",n}catch{return!1}},colorGamut:function W$(){for(var e=0,n=["rec2020","p3","srgb"];e<n.length;e++){var t=n[e];if(matchMedia("(color-gamut: ".concat(t,")")).matches)return t}},invertedColors:function q$(){return!!sD("inverted")||!sD("none")&&void 0},forcedColors:function Z$(){return!!aD("active")||!aD("none")&&void 0},monochrome:function K$(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function X$(){return sl("no-preference")?0:sl("high")||sl("more")?1:sl("low")||sl("less")?-1:sl("forced")?10:void 0},reducedMotion:function Q$(){return!!cD("reduce")||!cD("no-preference")&&void 0},reducedTransparency:function J$(){return!!lD("reduce")||!lD("no-preference")&&void 0},hdr:function eB(){return!!uD("high")||!uD("standard")&&void 0},math:function tB(){var J,n=yt.acosh||vr,t=yt.asin||vr,r=yt.asinh||vr,i=yt.atanh||vr,o=yt.atan||vr,s=yt.sin||vr,a=yt.sinh||vr,c=yt.cos||vr,l=yt.cosh||vr,u=yt.tan||vr,d=yt.tanh||vr,h=yt.exp||vr,f=yt.expm1||vr,m=yt.log1p||vr;return{acos:(yt.acos||vr)(.12312423423423424),acosh:n(1e308),acoshPf:(J=1e154,yt.log(J+yt.sqrt(J*J-1))),asin:t(.12312423423423424),asinh:r(1),asinhPf:yt.log(1+yt.sqrt(2)),atanh:i(.5),atanhPf:yt.log(3)/2,atan:o(.5),sin:s(-1e300),sinh:a(1),sinhPf:yt.exp(1)-1/yt.exp(1)/2,cos:c(10.000000000123),cosh:l(1),coshPf:(yt.exp(1)+1/yt.exp(1))/2,tan:u(-1e300),tanh:d(1),tanhPf:(yt.exp(2)-1)/(yt.exp(2)+1),exp:h(1),expm1:f(1),expm1Pf:yt.exp(1)-1,log1p:m(10),log1pPf:yt.log(11),powPI:yt.pow(yt.PI,-100)}},pdfViewerEnabled:function oB(){return navigator.pdfViewerEnabled},architecture:function sB(){var e=new Float32Array(1),n=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],n[3]},applePay:function aB(){var e=window.ApplePaySession;if("function"!=typeof e?.canMakePayments)return-1;if(function r$(){for(var e=window;;){var n=e.parent;if(!n||n===e)return!1;try{if(n.location.origin!==e.location.origin)return!0}catch(t){if(t instanceof Error&&"SecurityError"===t.name)return!0;throw t}e=n}}())return-3;try{return e.canMakePayments()?1:0}catch(n){return function lB(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}(n)}},privateClickMeasurement:function uB(){var e,n=document.createElement("a"),t=null!==(e=n.attributionSourceId)&&void 0!==e?e:n.attributionsourceid;return void 0===t?void 0:String(t)},audioBaseLatency:function bB(){var e;return yy()||Wi()?window.AudioContext&&null!==(e=(new AudioContext).baseLatency)&&void 0!==e?e:-1:-2},webGlBasics:function gB(e){var n,t,r,i,o,s,c=pD(e.cache);if(!c)return-1;if(!yD(c))return-2;var l=gD()?null:c.getExtension(fD);return{version:(null===(n=c.getParameter(c.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(t=c.getParameter(c.VENDOR))||void 0===t?void 0:t.toString())||"",vendorUnmasked:l?null===(r=c.getParameter(l.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=c.getParameter(c.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:l?null===(o=c.getParameter(l.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(s=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||""}},webGlExtensions:function yB(e){var t=pD(e.cache);if(!t)return-1;if(!yD(t))return-2;var r=t.getSupportedExtensions(),i=t.getContextAttributes(),o=[],s=[],a=[],c=[],l=[];if(i)for(var u=0,d=Object.keys(i);u<d.length;u++){var h=d[u];s.push("".concat(h,"=").concat(i[h]))}for(var m=0,v=mD(t);m<v.length;m++){var D=t[C=v[m]];a.push("".concat(C,"=").concat(D).concat(dB.has(D)?"=".concat(t.getParameter(D)):""))}if(r)for(var E=0,O=r;E<O.length;E++){var L=O[E];if(!(L===fD&&gD()||"WEBGL_polygon_mode"===L&&(qu()||Wi()))){var $=t.getExtension(L);if(!$){o.push(L);continue}for(var Q=0,ae=mD($);Q<ae.length;Q++){var C;D=$[C=ae[Q]],c.push("".concat(C,"=").concat(D).concat(hB.has(D)?"=".concat(t.getParameter(D)):""))}}}for(var J=0,Jt=fB;J<Jt.length;J++)for(var cn=Jt[J],yn=0,wr=pB;yn<wr.length;yn++){var Rs=wr[yn],_i=vB(t,cn,Rs);l.push("".concat(cn,".").concat(Rs,"=").concat(_i.join(",")))}return c.sort(),a.sort(),{contextAttributes:s,parameters:a,shaderPrecisions:l,extensions:r,extensionParameters:c,unsupportedExtensions:o}}},DB="$ if upgrade to Pro: https://fpjs.dev/pro";function vD(e){return JSON.stringify(e,function(n,t){return t instanceof Error?function FV(e){var n;return jf({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(t):t},2)}function _D(e){return function LV(e,n){var u,t=function NV(e){for(var n=new Uint8Array(e.length),t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r>127)return(new TextEncoder).encode(e);n[t]=r}return n}(e),r=[0,t.length],i=r[1]%16,o=r[1]-i,s=[0,n=n||0],a=[0,n],c=[0,0],l=[0,0];for(u=0;u<o;u+=16)c[0]=t[u+4]|t[u+5]<<8|t[u+6]<<16|t[u+7]<<24,c[1]=t[u]|t[u+1]<<8|t[u+2]<<16|t[u+3]<<24,l[0]=t[u+12]|t[u+13]<<8|t[u+14]<<16|t[u+15]<<24,l[1]=t[u+8]|t[u+9]<<8|t[u+10]<<16|t[u+11]<<24,gi(c,qf),il(c,31),gi(c,Zf),Qt(s,c),il(s,27),Is(s,a),gi(s,Q4),Is(s,OV),gi(l,Zf),il(l,33),gi(l,qf),Qt(a,l),il(a,31),Is(a,s),gi(a,Q4),Is(a,RV);c[0]=0,c[1]=0,l[0]=0,l[1]=0;var d=[0,0];switch(i){case 15:d[1]=t[u+14],Qr(d,48),Qt(l,d);case 14:d[1]=t[u+13],Qr(d,40),Qt(l,d);case 13:d[1]=t[u+12],Qr(d,32),Qt(l,d);case 12:d[1]=t[u+11],Qr(d,24),Qt(l,d);case 11:d[1]=t[u+10],Qr(d,16),Qt(l,d);case 10:d[1]=t[u+9],Qr(d,8),Qt(l,d);case 9:d[1]=t[u+8],Qt(l,d),gi(l,Zf),il(l,33),gi(l,qf),Qt(a,l);case 8:d[1]=t[u+7],Qr(d,56),Qt(c,d);case 7:d[1]=t[u+6],Qr(d,48),Qt(c,d);case 6:d[1]=t[u+5],Qr(d,40),Qt(c,d);case 5:d[1]=t[u+4],Qr(d,32),Qt(c,d);case 4:d[1]=t[u+3],Qr(d,24),Qt(c,d);case 3:d[1]=t[u+2],Qr(d,16),Qt(c,d);case 2:d[1]=t[u+1],Qr(d,8),Qt(c,d);case 1:d[1]=t[u],Qt(c,d),gi(c,qf),il(c,31),gi(c,Zf),Qt(s,c)}return Qt(s,r),Qt(a,r),Is(s,a),Is(a,s),X4(s),X4(a),Is(s,a),Is(a,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}(function IB(e){for(var n="",t=0,r=Object.keys(e).sort();t<r.length;t++){var i=r[t],o=e[i],s="error"in o?"error":JSON.stringify(o.value);n+="".concat(n?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return n}(e))}function AB(e){return void 0===e&&(e=50),function MV(e,n){void 0===n&&(n=1/0);var t=window.requestIdleCallback;return t?new Promise(function(r){return t.call(window,function(){return r()},{timeout:n})}):Gf(Math.min(e,n))}(e,2*e)}function NB(e,n){var t=Date.now();return{get:function(r){return mi(this,void 0,void 0,function(){var i,o,s;return Ui(this,function(a){switch(a.label){case 0:return i=Date.now(),[4,e()];case 1:return o=a.sent(),s=function xB(e){var n,t=function SB(e){var n=function TB(e){if(yy())return.4;if(Wi())return!gy()||Yu()&&Zu()?.3:.5;var n="value"in e.platform?e.platform.value:"";return/^Win/.test(n)?.6:/^Mac/.test(n)?.5:.7}(e),t=function MB(e){return K4(.99+.01*e,1e-4)}(n);return{score:n,comment:DB.replace(/\$/g,"".concat(t))}}(e);return{get visitorId(){return void 0===n&&(n=_D(this.components)),n},set visitorId(r){n=r},confidence:t,components:e,version:"4.5.1"}}(o),(n||r?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(i-t,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(vD(o),"\n```")),[2,s]}})})}}}var OB={load:function PB(e){var n;return void 0===e&&(e={}),mi(this,void 0,void 0,function(){var r,i;return Ui(this,function(o){switch(o.label){case 0:return(!(null!==(n=e.monitoring)&&void 0!==n)||n)&&function kB(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat("4.5.1","/npm-monitoring"),!0),e.send()}catch(n){console.error(n)}}(),r=e.debug,[4,AB(e.delayFallback)];case 1:return o.sent(),i=function EB(e){return function BV(e,n,t,r){var i=Object.keys(e).filter(function(s){return function xV(e,n){return!function IV(e,n){for(var t=0,r=e.length;t<r;++t)if(e[t]===n)return!0;return!1}(e,n)}(t,s)}),o=Wu(Y4(i,function(s){return function $V(e,n){var t=Wu(new Promise(function(r){var i=Date.now();Z4(e.bind(null,n),function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var a=Date.now()-i;if(!o[0])return r(function(){return{error:o[1],duration:a}});var c=o[1];if(function J4(e){return"function"!=typeof e}(c))return r(function(){return{value:c,duration:a}});r(function(){return new Promise(function(l){var u=Date.now();Z4(c,function(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];var f=a+Date.now()-u;if(!d[0])return l({error:d[1],duration:f});l({value:d[1],duration:f})})})})})}));return function(){return t.then(function(i){return i()})}}(e[s],n)},r));return function(){return mi(this,void 0,void 0,function(){var c,l,u,d;return Ui(this,function(h){switch(h.label){case 0:return[4,o];case 1:return[4,Y4(h.sent(),function(f){return Wu(f())},r)];case 2:return c=h.sent(),[4,Promise.all(c)];case 3:for(l=h.sent(),u={},d=0;d<i.length;++d)u[i[d]]=l[d];return[2,u]}})})}}(CB,e,[])}({cache:{},debug:r}),[2,NB(i,r)]}})})},hashComponents:_D,componentsToDebugString:vD},wD=function(e){return e[e.SMALL=1]="SMALL",e[e.MEDIUM=2]="MEDIUM",e[e.LARGE=3]="LARGE",e[e.EXTRA_LARGE=4]="EXTRA_LARGE",e[e.FULL_SCREEN=5]="FULL_SCREEN",e}(wD||{});const FB=OB.load();function VB(){return new lt(e=>{(function $B(){return Ey.apply(this,arguments)})().then(n=>{e.next(n),e.complete()}).catch(n=>{e.error(n)})})}function Ey(){return(Ey=rl(function*(){const e={};e.browserData=function RB(){const e=screen.height||window.innerHeight,n=screen.width||window.innerWidth,t=wD.FULL_SCREEN;return{timezoneOffsetUtcMinutes:(new Date).getTimezoneOffset(),locale:navigator.language,userAgent:navigator.userAgent,javaEnabled:navigator.javaEnabled()||!1,javaScriptEnabled:!0,colorDepth:screen.colorDepth,width:n,height:e,challengeWindowSize:t}}();try{const n=yield(yield FB).get();e.id=n.visitorId,e.fonts=n.components.fonts.value;const t=navigator,r=t.getBattery?t.getBattery():void 0;let i;r&&(i=yield r,e.batteryLevelAndChargingStatus=i?`level: ${i.level??"unknown"}; charging: ${i.charging??"unknown"}`:void 0);const o=t.connection||t.mozConnection||t.webkitConnection;e.networkParameters=o?`type: ${o.type??"unknown"}; effectiveType: ${o.effectiveType??"unknown"}`:void 0}catch{}return e})).apply(this,arguments)}class Kf{constructor(){this.emitEnabled=!0,this.optionalEmitEnabled=!0,this.emitter=new Kt}emit(n,t){this.emitEnabled&&(!t||t&&this.optionalEmitEnabled)&&this.emitter.emit(n)}}let tn=(()=>{class e{constructor(){this.componentsStates={availableCardBrands:Qe({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardList:Qe({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardForm:Qe({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),additionalForm:Qe({isRequired:!1,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),chargeTerms:Qe({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),payButton:Qe({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),apmList:Qe({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),userPreferences:Qe({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),merchantInfo:Qe({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),protectedBy:Qe({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0})},this.visibility={availableCardBrands:st(()=>this.componentsStates.availableCardBrands().enabled&&!!this.data.settings()?.components?.some(t=>"available-card-brands"===t)),cardList:st(()=>this.componentsStates.cardList().enabled&&!!this.data.settings()?.components?.some(t=>"card-list"===t)),cardForm:st(()=>this.componentsStates.cardForm().enabled&&!!this.data.settings()?.components?.some(t=>"requisites"===t)),additionalForm:st(()=>this.componentsStates.cardForm().enabled&&this.componentsStates.additionalForm().enabled&&!!this.data.settings()?.components?.some(t=>"phone-number"===t)),chargeTerms:st(()=>this.componentsStates.chargeTerms().enabled&&!!this.data.settings()?.components?.some(t=>"charge-terms"===t)&&!this.visibility.noMethods()),payButton:st(()=>(this.componentsStates.cardList().enabled||this.componentsStates.cardForm().enabled)&&this.componentsStates.payButton().enabled&&!!this.data.settings()?.components?.some(t=>"pay-button"===t)),apmList:st(()=>this.componentsStates.apmList().enabled&&!!this.data.settings()?.components?.some(t=>"apm-list"===t)),userPreferences:st(()=>this.componentsStates.userPreferences().enabled&&!!this.data.settings()?.components?.some(t=>"user-preferences"===t)&&!this.visibility.noMethods()),merchantInfo:st(()=>this.componentsStates.merchantInfo().enabled&&!!this.data.settings()?.components?.some(t=>"merchant-info"===t)),protectedBy:st(()=>this.componentsStates.protectedBy().enabled&&!!this.data.settings()?.components?.some(t=>"protected-by"===t)),noMethods:st(()=>!this.componentsStates.cardForm().enabled&&!this.componentsStates.cardList().enabled&&!this.componentsStates.apmList().enabled)},this.data={payment:Qe(void 0),settings:Qe(void 0),userProvidedInfo:Qe({}),loadedPaymentSystems:Qe([]),loadedExistingCards:Qe([]),deviceInfo:Qe(void 0),state:Qe({type:"empty",payload:void 0}),paymentSystemsLoading:Qe(!1),cardsLoading:Qe(!1)},this.computed={isLoading:st(()=>this.data.paymentSystemsLoading()||this.data.cardsLoading()),paymentAvailability:st(()=>{const t=this.data.settings(),r={canPay:{byCard:!1,byApm:!1},isPayButtonDisabled:!1};if(!t)return r;let i=!0,o=!0;for(let s in this.componentsStates)if(this.componentsStates.hasOwnProperty(s)){const a=this.componentsStates[s]();i=i&&(a.isValid||!a.enabled),o=o&&(a.filled||!a.enabled),"chargeTerms"===s&&(!a.enabled||a.isValid)&&(r.canPay.byApm=!0)}return"disabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?"hidden-enabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?i?{canPay:{...r.canPay,byCard:!0}}:r:{...r,buttonDisableClass:"hidden-enabled-element",elementDisableClass:"hidden-enabled-element"}:{...r,elementDisableClass:"disabled-element",isPayButtonDisabled:!0}})},this.events={analytics:new Kf,error:new Kf,close:new Kf,paid:new Kf},this.callbacks={}}updateCanShowError(t){for(let r in this.componentsStates)this.componentsStates.hasOwnProperty(r)&&this.componentsStates[r].update(i=>i.canShowError===t?i:{...i,canShowError:t})}updateCanShowErrorForApm(t){this.componentsStates.chargeTerms.update(r=>({...r,canShowError:t}))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();function Xf(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function Dy(e,...n){if(!n.length)return e;const t=n.shift();if(Xf(e)&&Xf(t))for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=t[r];e[r]=Xf(i)&&Xf(e[r])?Dy(e[r],i):i}return Dy(e,...n)}function BB(...e){return Dy({},...e)}function bD(e){return"string"==typeof e||e instanceof String?JSON.parse(e):e}const CD={header:"Checkout",errors:{notCheckedCheckboxes:"Please check these boxes",invalidCardHolder:"Invalid cardholder name",invalidCardNumber:"Invalid card number",invalidCardExpiration:"Invalid card date",invalidCvv:"Invalid card code",invalidPhoneNumber:"Invalid phone number"},requisites:{paymentDetailsHeader:"Payment details",cardNumberPlaceholder:"Card number",cardExpirationPlaceholder:"MM/YY",cvvHint:"CVV (Card Verification Value)",cardHolderHeader:"Name on card",cardHolderPlaceholder:"Name on card"},phone:{header:"Phone",placeholder:"Phone number"},apms:{or:"OR",orUseAlternative:"or use alternative methods"},totalHeader:"Total",pay:"Pay",availableCardBrandsHeader:"Payment methods",transactionProtectedBy:"Your transactions are protected by",existingCards:{manageCardsHeader:"Manage cards",addNewCard:"Add new card",removeCard:"Remove card"},paymentResult:{success:"We placed your order",failure:{main:"Something went wrong",paymentFailed:"Payment failed."}},paymentProcessing:"payment processing",notifications:{cardDeleted:{title:"Successful",text:"Card has been deleted"},error:{default:{title:"Attention!",text:"Unable to process the payment"}}},noAvailablePaymentMethods:"No available payment methods...",close:"Close"},HB={urls:{},availableCardBrands:["mastercard","visa"],chargeTerms:void 0,isCloseButtonVisible:!0,isProblemTipsListVisible:!1,isTaxVisible:!1,isSignatureRequired:!1,isHeaderVisible:!0,closePaymentRedirect:!0,languageSettings:{code:"en-US",languages:{"en-US":CD,"es-ES":{header:"Verificar",errors:{notCheckedCheckboxes:"Debe marcar estas casillas",invalidCardHolder:"Nombre del titular de la tarjeta no v\xe1lido",invalidCardNumber:"N\xfamero de tarjeta no v\xe1lido",invalidCardExpiration:"Fecha de la tarjeta no v\xe1lida",invalidCvv:"C\xf3digo de la tarjeta no v\xe1lido",invalidPhoneNumber:"N\xfamero de tel\xe9fono no v\xe1lido"},requisites:{paymentDetailsHeader:"Detalles del pago",cardNumberPlaceholder:"N\xfamero de tarjeta",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valor de verificaci\xf3n de la tarjeta)",cardHolderHeader:"Nombre en la tarjeta",cardHolderPlaceholder:"Nombre en la tarjeta"},phone:{header:"Tel\xe9fono",placeholder:"N\xfamero de tel\xe9fono"},apms:{or:"O",orUseAlternative:"o usar m\xe9todos alternativos"},totalHeader:"Total",pay:"Pagar",availableCardBrandsHeader:"M\xe9todos de pago",transactionProtectedBy:"Sus transacciones est\xe1n protegidas por",existingCards:{manageCardsHeader:"Gestionar tarjetas",addNewCard:"A\xf1adir nueva tarjeta",removeCard:"Eliminar tarjeta"},paymentResult:{success:"Hemos realizado su pedido",failure:{main:"Algo sali\xf3 mal",paymentFailed:"El pago no se ha procesado."}},paymentProcessing:"Procesando el pago\u2026",notifications:{cardDeleted:{title:"Exitoso",text:"Se ha eliminado la tarjeta."},error:{default:{title:"\xa1Atenci\xf3n!",text:"No se ha podido procesar el pago."}}},noAvailablePaymentMethods:"No hay m\xe9todos de pago disponibles\u2026",close:"Cerrar"},"fr-FR":{header:"Paiement",errors:{notCheckedCheckboxes:"Veuillez cocher les cases suivantes",invalidCardHolder:"Nom du titulaire de la carte invalide",invalidCardNumber:"Num\xe9ro de carte non valide",invalidCardExpiration:"Date de la carte invalide",invalidCvv:"Code de carte invalide",invalidPhoneNumber:"Num\xe9ro de t\xe9l\xe9phone invalide"},requisites:{paymentDetailsHeader:"Modalit\xe9s de paiement",cardNumberPlaceholder:"Num\xe9ro de carte",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valeur de v\xe9rification de la carte)",cardHolderHeader:"Nom sur la carte",cardHolderPlaceholder:"Nom sur la carte"},phone:{header:"T\xe9l\xe9phone",placeholder:"Num\xe9ro de t\xe9l\xe9phone"},apms:{or:"OU",orUseAlternative:"ou utilisez des m\xe9thodes alternatives"},totalHeader:"Total",pay:"Payer",availableCardBrandsHeader:"Modes de paiement",transactionProtectedBy:"Vos transactions sont prot\xe9g\xe9es par",existingCards:{manageCardsHeader:"G\xe9rer les cartes",addNewCard:"Ajoutez une nouvelle carte",removeCard:"Supprimer la carte"},paymentResult:{success:"Nous avons pass\xe9 votre commande",failure:{main:"Une erreur est survenue",paymentFailed:"Le paiement a \xe9chou\xe9."}},paymentProcessing:"traitement du paiement",notifications:{cardDeleted:{title:"R\xe9ussie",text:"La carte a \xe9t\xe9 supprim\xe9e"},error:{default:{title:"Attention !",text:"Impossible de traiter le paiement"}}},noAvailablePaymentMethods:"Aucune m\xe9thode de paiement disponible...",close:"Fermer"}}},merchantInfo:void 0,userPreferences:void 0,components:["available-card-brands","no-methods","card-list","requisites","phone-number","charge-terms","pay-button","apm-list","user-preferences","merchant-info","protected-by"],resultComponentsStructure:{aboveResult:["available-card-brands"],belowResult:["merchant-info","protected-by"]},events:{analytics:{optional:!1,required:!1},error:!0},requiredFieldsBehavior:{buttonStateUntilFilled:"enabled",markAsInvalidUntilCorrect:!1,showStars:!1},apmsCollapse:!1};function UB(e,n){if(1&e&&(z(0,"div",1),ft(1,"img",2),G()),2&e){const t=X();P(),ie("src",t.src,Jl)("alt",t.alt)}}let al=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-picture"]],inputs:{src:"src",alt:"alt"},decls:1,vars:1,consts:[["class","__ndb-picture",4,"ngIf"],[1,"__ndb-picture"],[1,"__ndb-picture-tag",3,"src","alt"]],template:function(r,i){1&r&&We(0,UB,2,2,"div",0),2&r&&ie("ngIf",i.src)},dependencies:[Of],styles:[".__ndb-picture[_ngcontent-%COMP%]{height:inherit;width:inherit}.__ndb-picture-tag[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}"],changeDetection:0})}return e})();var cl=function(e){return e.default="default-card-icon",e.mastercard="master-card-icon",e.maestro="maestro",e.visa="visa-card-icon-new",e.discover="discover",e.jcb="jcb",e["american-express"]="american-express",e.unionpay="unionpay",e}(cl||{});const ll_customHeaders_skipToastr="X-Skip-Toastr";let zB=(()=>{class e{transform(t){const r=cl[t];let i=r?.toString();if(i&&(r==cl.visa&&(i+="-brand"),r==cl.mastercard&&(i+="-brand"),r))return`https://cdn.motopays.com/images/${i}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=En({name:"brandLogo",type:e,pure:!0})}return e})();function GB(e,n){1&e&&ft(0,"moto-picture",4),2&e&&ie("src",n)}function WB(e,n){if(1&e&&(We(0,GB,1,1,"moto-picture",4),Lt(1,"brandLogo")),2&e){let t;ot((t=ku(1,1,n.$implicit))?0:-1,t)}}let DD=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-available-card-brands"]],decls:8,vars:1,consts:[[1,"__ndb-brands"],[1,"__ndb-brands-paymentsheader"],[1,"fz-14","fw-500"],[1,"__ndb-brands-payments"],[1,"__ndb-brands-payments-logo",3,"src"]],template:function(r,i){if(1&r&&(di(0),z(1,"div",0)(2,"div",1)(3,"h6",2),we(4),G()(),z(5,"div",3),Vi(6,WB,2,3,null,null,zo),G()()),2&r){const o=i.settings();P(4),jt(" ",o.language.availableCardBrandsHeader," "),P(2),$i(o.availableCardBrands)}},dependencies:[al,zB],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-brands[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-brands-payments[_ngcontent-%COMP%]{gap:10px;display:flex;justify-content:center}.__ndb-brands-payments-logo[_ngcontent-%COMP%]{height:24px;width:36px}.__ndb-brands-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px}.__ndb-brands-paymentsheader[_ngcontent-%COMP%]{justify-content:center;display:flex;align-items:center;gap:10px}"],changeDetection:0})}return e})();class qB{constructor(n,t=Qe(!1)){this.item=n,this.selected=t}setSelected(n){this.selected.set(n)}}var be=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(be||{});const Zo="*";function ul(e,n){return{type:be.Trigger,name:e,definitions:n,options:{}}}function qi(e,n=null){return{type:be.Animate,styles:n,timings:e}}function an(e){return{type:be.Style,styles:e,offset:null}}function Ku(e,n,t){return{type:be.State,name:e,styles:n,options:t}}function Zi(e,n,t=null){return{type:be.Transition,expr:e,animation:n,options:t}}class Xu{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class SD{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const n=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}const Qu_animation_defaultAnimateMc=0;class Ty{constructor(n){this.animationTime=Qu_animation_defaultAnimateMc,Object.assign(this,n)}}const JB=ul("ANHeight",[Zi(":enter",[an({overflow:"hidden",height:"0px"}),qi(Qu_animation_defaultAnimateMc,an({height:"*",overflow:"hidden"}))]),Zi(":leave",[an({height:"*",overflow:"hidden"}),qi(Qu_animation_defaultAnimateMc,an({height:"0px",overflow:"hidden"}))])]),ej=ul("ANScale",[Zi(":enter",[an({opacity:0,transform:"scale(0)"}),qi(Qu_animation_defaultAnimateMc,an({opacity:1,transform:"scale(1)"}))]),Zi(":leave",qi(Qu_animation_defaultAnimateMc,an({opacity:0,transform:"scale(0)"})))]),My=e=>{const n=new Ty({animationName:"ANTransform",fromStyles:{opacity:"0",transform:"translateY(-100%)"},toStyles:{opacity:"1",transform:"translateY(0%)"}}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return ul(r,[Zi(":enter",[an(o),qi(i,an(s))]),Zi(":leave",[an(s),qi(i,an(o))])])},tj=e=>{const n=new Ty({animationName:"ANStates",fromState:"a",toState:"b"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s,fromState:a,toState:c}=t;return ul(r,[Ku(a,an(o)),Ku(c,an(s)),Zi(`${a}<=>${c}`,qi(i))])},nj=e=>{const n=new Ty({animationName:"ANStates"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return ul(r,[Zi(":enter",[an(o),qi(i,an(s))]),Zi(":leave",[an(s),qi(i,an(o))])])};function Eo(...e){return nl(e,Uf(e))}function Ju(e){return Hn((n,t)=>{let o,r=null,i=!1;r=n.subscribe(bn(t,void 0,void 0,s=>{o=zi(e(s,Ju(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function ed(e,n){return et(n)?Hf(e,n,1):Hf(e,1)}function TD(e,n){return Hn((t,r)=>{let i=0;t.subscribe(bn(r,o=>e.call(n,o,i++)&&r.next(o)))})}class Qf{}class Jf{}class Jr{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Jr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Jr;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Jr?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class ij{encodeKey(n){return MD(n)}encodeValue(n){return MD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const sj=/%(\d[a-f0-9])/gi,aj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function MD(e){return encodeURIComponent(e).replace(sj,(n,t)=>aj[t]??n)}function ep(e){return`${e}`}class Yo{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new ij,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oj(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(ep):[ep(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Yo({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(ep(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(ep(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class cj{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function ID(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function xD(e){return typeof Blob<"u"&&e instanceof Blob}function AD(e){return typeof FormData<"u"&&e instanceof FormData}class td{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function lj(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Jr,this.context??=new cj,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new Yo,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||ID(this.body)||xD(this.body)||AD(this.body)||function uj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Yo?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||AD(this.body)?null:xD(this.body)?this.body.type||null:ID(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Yo?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress;let l=n.headers||this.headers,u=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((h,f)=>h.set(f,n.setHeaders[f]),l)),n.setParams&&(u=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),u)),new td(t,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}}var xs=function(e){return 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}(xs||{});class Iy{constructor(n,t=200,r="OK"){this.headers=n.headers||new Jr,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class tp extends Iy{constructor(n={}){super(n),this.type=xs.ResponseHeader}clone(n={}){return new tp({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ea extends Iy{constructor(n={}){super(n),this.type=xs.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Ea({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class dl extends Iy{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function xy(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let np=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof td)o=t;else{let c,l;c=i.headers instanceof Jr?i.headers:new Jr(i.headers),i.params&&(l=i.params instanceof Yo?i.params:new Yo({fromObject:i.params})),o=new td(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=Eo(o).pipe(ed(c=>this.handler.handle(c)));if(t instanceof td||"events"===i.observe)return s;const a=s.pipe(TD(c=>c instanceof Ea));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(rn(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(rn(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(rn(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(rn(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Yo).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,xy(i,r))}post(t,r,i={}){return this.request("POST",t,xy(i,r))}put(t,r,i={}){return this.request("PUT",t,xy(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(Z(Qf))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const fj=/^\)\]\}',?\n/;function kD(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let Ay=(()=>{class e{constructor(){this.fetchImpl=U(mj,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=U(rt)}handle(t){return new lt(r=>{const i=new AbortController;return this.doRequest(t,i.signal,r).then(Ny,o=>r.error(new dl({error:o}))),()=>i.abort()})}doRequest(t,r,i){var o=this;return rl(function*(){const s=o.createRequestInit(t);let a;try{const m=o.ngZone.runOutsideAngular(()=>o.fetchImpl(t.urlWithParams,{signal:r,...s}));(function gj(e){e.then(Ny,Ny)})(m),i.next({type:xs.Sent}),a=yield m}catch(m){return void i.error(new dl({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}))}const c=new Jr(a.headers),l=a.statusText,u=kD(a)??t.urlWithParams;let d=a.status,h=null;if(t.reportProgress&&i.next(new tp({headers:c,status:d,statusText:l,url:u})),a.body){const m=a.headers.get("content-length"),v=[],C=a.body.getReader();let E,O,D=0;const L=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(rl(function*(){for(;;){const{done:Q,value:ae}=yield C.read();if(Q)break;if(v.push(ae),D+=ae.length,t.reportProgress){O="text"===t.responseType?(O??"")+(E??=new TextDecoder).decode(ae,{stream:!0}):void 0;const J=()=>i.next({type:xs.DownloadProgress,total:m?+m:void 0,loaded:D,partialText:O});L?L.run(J):J()}}}));const $=o.concatChunks(v,D);try{const Q=a.headers.get("Content-Type")??"";h=o.parseBody(t,$,Q)}catch(Q){return void i.error(new dl({error:Q,headers:new Jr(a.headers),status:a.status,statusText:a.statusText,url:kD(a)??t.urlWithParams}))}}0===d&&(d=h?200:0),d>=200&&d<300?(i.next(new Ea({body:h,headers:c,status:d,statusText:l,url:u})),i.complete()):i.error(new dl({error:h,headers:c,status:d,statusText:l,url:u}))})()}parseBody(t,r,i){switch(t.responseType){case"json":const o=(new TextDecoder).decode(r).replace(fj,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(t){const r={},i=t.withCredentials?"include":void 0;if(t.headers.forEach((o,s)=>r[o]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const o=t.detectContentTypeHeader();null!==o&&(r["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:i}}concatChunks(t,r){const i=new Uint8Array(r);let o=0;for(const s of t)i.set(s,o),o+=s.length;return i}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();class mj{}function Ny(){}function PD(e,n){return n(e)}const nd=new W(""),OD=new W(""),RD=new W("",{providedIn:"root",factory:()=>!0});let LD=(()=>{class e extends Qf{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=U(oa),this.contributeToStability=U(RD)}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(nd),...this.injector.get(OD,[])]));this.chain=r.reduceRight((i,o)=>function vj(e,n,t){return(r,i)=>function _9(e,n){e instanceof rc&&e.assertNotDestroyed();const r=ps(e),i=xr(void 0);try{return n()}finally{ps(r),xr(i)}}(t,()=>n(r,o=>e(o,i)))}(i,o,this.injector),PD)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(function rj(e){return Hn((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this.pendingTasks.remove(r)))}return this.chain(t,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||e)(Z(Jf),Z(ai))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const Sj=/^\)\]\}',?\n/;let VD=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new k(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?nl(r.\u0275loadImpl()):Eo(null)).pipe(G4(()=>new lt(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,C)=>s.setRequestHeader(v,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const v=t.detectContentTypeHeader();null!==v&&s.setRequestHeader("Content-Type",v)}if(t.responseType){const v=t.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const a=t.serializeBody();let c=null;const l=()=>{if(null!==c)return c;const v=s.statusText||"OK",C=new Jr(s.getAllResponseHeaders()),D=function Tj(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return c=new tp({headers:C,status:s.status,statusText:v,url:D}),c},u=()=>{let{headers:v,status:C,statusText:D,url:E}=l(),O=null;204!==C&&(O=typeof s.response>"u"?s.responseText:s.response),0===C&&(C=O?200:0);let L=C>=200&&C<300;if("json"===t.responseType&&"string"==typeof O){const $=O;O=O.replace(Sj,"");try{O=""!==O?JSON.parse(O):null}catch(Q){O=$,L&&(L=!1,O={error:Q,text:O})}}L?(o.next(new Ea({body:O,headers:v,status:C,statusText:D,url:E||void 0})),o.complete()):o.error(new dl({error:O,headers:v,status:C,statusText:D,url:E||void 0}))},d=v=>{const{url:C}=l(),D=new dl({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});o.error(D)};let h=!1;const f=v=>{h||(o.next(l()),h=!0);let C={type:xs.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),"text"===t.responseType&&s.responseText&&(C.partialText=s.responseText),o.next(C)},m=v=>{let C={type:xs.UploadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),o.next(C)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:xs.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),null!==a&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(Z(r4))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const ky=new W(""),$D=new W("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),BD=new W("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class jD{}let xj=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=q3(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr),Z(vs),Z($D))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();function Aj(e,n){const t=e.url.toLowerCase();if(!U(ky)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=U(jD).getToken(),i=U(BD);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var As=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(As||{});function Nj(...e){const n=[np,VD,LD,{provide:Qf,useExisting:LD},{provide:Jf,useFactory:()=>U(Ay,{optional:!0})??U(VD)},{provide:nd,useValue:Aj,multi:!0},{provide:ky,useValue:!0},{provide:jD,useClass:xj}];for(const t of e)n.push(...t.\u0275providers);return nc(n)}function kj(e){return function Da(e,n){return{\u0275kind:e,\u0275providers:n}}(As.Interceptors,e.map(n=>({provide:nd,useValue:n,multi:!0})))}class jj extends at{constructor(n,t){super()}schedule(n,t=0){return this}}const ip={setInterval(e,n,...t){const{delegate:r}=ip;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ip;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class rd{constructor(n,t=rd.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}rd.now=cy.now;const KD=new class Uj extends rd{constructor(n,t=rd.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class Hj extends jj{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return ip.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&ip.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Ki(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),zj=KD;function XD(e=0,n,t=zj){let r=-1;return null!=n&&(j4(n)?t=n:r=n),new lt(i=>{let o=function Gj(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function QD(e,n){const t=et(e)?e:()=>e,r=i=>i.error(t());return new lt(n?i=>n.schedule(r,0,i):r)}function Py(e){return new Yo({fromObject:e})}function JD(e){const n=Object.entries(e).reduce((t,[r,i])=>(t[r]=String(i),t),{});return new Jr(n)}const e5="Watchdog fake error";function Ns(e,n){return`${e.endsWith("/")?e.slice(0,-1):e}${n.startsWith("/")?n:`/${n}`}`}let Oy=(()=>{class e{constructor(t,r){this.http=t,this.context=r}getExistingCards(){const{merchantId:t,userAuthToken:r}=this.context.data.payment();if(!r)return Eo([]);const i=Py({merchantId:t}),o=JD({[ll_customHeaders_skipToastr]:!0}),s=Ns(this.host(),"/api/UserPaymentMethods");return this.http.get(s,{params:i,headers:o}).pipe(rn(a=>a.map(c=>({...c,name:c.name.toLocaleLowerCase(),type:c.type.toLocaleLowerCase()}))),rn(a=>a.filter(c=>"card"===c.type)),Ju(()=>Eo([])))}removeCard(t){const{merchantId:r}=this.context.data.payment(),i=Py({merchantId:r}),o=Ns(this.host(),`/api/UserPaymentMethods/${t}`);return this.http.delete(o,{params:i})}host(){return this.context.data.settings().urls.billingProfiles}static#e=this.\u0275fac=function(r){return new(r||e)(Z(np),Z(tn))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const t5=["toast-component",""];function Zj(e,n){if(1&e){const t=ir();z(0,"button",5),qe("click",function(){return dt(t),ht(X().remove())}),z(1,"span",6),we(2,"\xd7"),G()()}}function Yj(e,n){if(1&e&&(Wc(0),we(1),qc()),2&e){const t=X(2);P(),jt("[",t.duplicatesCount+1,"]")}}function Kj(e,n){if(1&e&&(z(0,"div"),we(1),We(2,Yj,2,1,"ng-container",4),G()),2&e){const t=X();Uo(t.options.titleClass),Qn("aria-label",t.title),P(),jt(" ",t.title," "),P(),ie("ngIf",t.duplicatesCount)}}function Xj(e,n){if(1&e&&ft(0,"div",7),2&e){const t=X();Uo(t.options.messageClass),ie("innerHTML",t.message,_s)}}function Qj(e,n){if(1&e&&(z(0,"div",8),we(1),G()),2&e){const t=X();Uo(t.options.messageClass),Qn("aria-label",t.message),P(),jt(" ",t.message," ")}}function Jj(e,n){if(1&e&&(z(0,"div"),ft(1,"div",9),G()),2&e){const t=X();P(),Gc("width",t.width()+"%")}}class sH{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class aH{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}class cH{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new hn;_activate=new hn;_manualClose=new hn;_resetTimeout=new hn;_countDuplicate=new hn;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class op{toastId;config;message;title;toastType;toastRef;_onTap=new hn;_onAction=new hn;constructor(n,t,r,i,o,s){this.toastId=n,this.config=t,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const r5=new W("ToastConfig");class lH extends aH{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,r){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(n,t){const r=this._componentFactoryResolver.resolveComponentFactory(n.component);let i;return i=r.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let uH=(()=>{class e{_document=U(sr);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class dH{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}}let hH=(()=>{class e{_overlayContainer=U(uH);_componentFactoryResolver=U(pa);_appRef=U(hi);_document=U(sr);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){const i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new lH(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new dH(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sp=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,i,o,s){this.overlay=r,this._injector=i,this.sanitizer=o,this.ngZone=s,this.toastrConfig={...t.default,...t.config},t.config.iconClasses&&(this.toastrConfig.iconClasses={...t.default.iconClasses,...t.config.iconClasses})}show(t,r,i={},o=""){return this._preBuildNotification(o,t,r,this.applyConfig(i))}success(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,r,this.applyConfig(i))}error(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,r,this.applyConfig(i))}info(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,r,this.applyConfig(i))}warning(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,r,this.applyConfig(i))}clear(t){for(const r of this.toasts)if(void 0!==t){if(r.toastId===t)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}remove(t){const r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",r="",i,o){const{includeTitleDuplicates:s}=this.toastrConfig;for(const a of this.toasts)if((!s||s&&a.title===t)&&a.message===r)return a.toastRef.onDuplicate(i,o),a;return null}applyConfig(t={}){return{...this.toastrConfig,...t}}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,i,o)):this._buildNotification(t,r,i,o)}_buildNotification(t,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const c=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let l=r;r&&o.enableHtml&&(l=this.sanitizer.sanitize(Wr.HTML,r));const u=new cH(c),d=new op(this.index,o,l,i,t,u),f=It.create({providers:[{provide:op,useValue:d}],parent:this._injector}),m=new sH(o.toastComponent,f),v=c.attach(m,o.newestOnTop);u.componentInstance=v.instance;const C={toastId:this.index,title:i||"",message:r||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:v};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{C.toastRef.activate()})),this.toasts.push(C),C}static \u0275fac=function(r){return new(r||e)(Z(r5),Z(hH),Z(It),Z(ay),Z(rt))};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fH={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Qe(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if("inactive"===this.state().value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,i){this.toastrService=t,this.toastPackage=r,this.ngZone=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=Qe({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>({...t,value:"active"})),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width()||100===this.width()||!this.options.timeOut)return;const t=(new Date).getTime();this.width.set((this.hideTime-t)/this.options.timeOut*100),"increasing"===this.options.progressAnimation&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>({...t,value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state().value&&(clearTimeout(this.timeout),this.state.update(t=>({...t,value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state().value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state().value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state().value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)(x(sp),x(op),x(rt))};static \u0275cmp=Bt({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,i){1&r&&qe("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&r&&(Qh("@flyInOut",i._state),Uo(i.toastClasses),Gc("display",i.displayStyle))},standalone:!0,features:[o0],attrs:t5,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){1&r&&We(0,Zj,3,0,"button",0)(1,Kj,3,5,"div",1)(2,Xj,1,3,"div",2)(3,Qj,2,4,"div",3)(4,Jj,2,2,"div",4),2&r&&(ie("ngIf",i.options.closeButton),P(),ie("ngIf",i.title),P(),ie("ngIf",i.message&&i.options.enableHtml),P(),ie("ngIf",i.message&&!i.options.enableHtml),P(),ie("ngIf",i.options.progressBar))},dependencies:[Of],encapsulation:2,data:{animation:[ul("flyInOut",[Ku("inactive",an({opacity:0})),Ku("active",an({opacity:1})),Ku("removed",an({opacity:0})),Zi("inactive => active",qi("{{ easeTime }}ms {{ easing }}")),Zi("active => removed",qi("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})()},pH=(e={})=>nc([{provide:r5,useValue:{default:fH,config:e}}]);let mH=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[pH(t)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Un({type:e});static \u0275inj=On({})}return e})();function i5(e){return e&&e.replace(/\s+/g," ").trim()}let id=(()=>{class e{constructor(t,r,i){this.context=t,this.http=r,this.mapper=i}getAvailablePaymentSystems(){const{currency:t,userId:r,merchantId:i}=this.context.data.payment(),o=Py({currency:t,payerId:r}),s=Ns(this.host(),`/api/merchants/${i}/settings`);return this.http.get(s,{params:o}).pipe(rn(a=>{const c=new Set;return{payments:a.payments.filter(u=>!c.has(u.name)&&(c.add(u.name),!0))}}),Ju(()=>Eo({payments:[]})))}getPaymentInfo(t){const{merchantId:r}=this.context.data.payment(),i=Ns(this.host(),`/api/merchants/${r}/payments/${t}`);return this.http.get(i)}pay(){const t=this.context.data.payment(),r=this.context.data.settings(),i=this.context.data.userProvidedInfo(),o=this.context.data.deviceInfo(),s={...o?.browserData};t.ipAddress&&(s.ipAddress=t.ipAddress);const c={headers:JD(s)},l=Ns(this.host(),`/api/merchants/${t.merchantId}/payments`);let u=this.mapper.mapPaymentRequest(t,i,r,o),d="default";return"invoice-overridden"===r.paymentFlow.type&&this.context.callbacks.createInvoice?d="invoice-overridden":"payment-overridden"===r.paymentFlow.type&&this.context.callbacks.makePayment&&(d="payment-overridden"),"card"===u.requisites.type&&r.paymentFlow.tokenizeCard?this.getSecretKey().pipe(ed(h=>nl(this.encrypt(u.requisites,h))),ed(h=>"default"!==d?this.getCardTokenData(h,t.merchantId).pipe(rn(f=>f.token),Ju(()=>Eo(h)),ed(f=>(u.requisites={type:"card",paymentToken:f},this.makeCallback(d,u,l,c)))):(u.requisites={type:"card",paymentToken:h},this.http.post(l,u,c)))):"default"!==d?this.makeCallback(d,u,l,c):this.http.post(l,u,c)}getCardTokenData(t,r){const i=Ns(this.host(),`api/CardData/${r}/tokenize`);return this.http.post(i,{ei:2,invoice:t,es:{uo:!0}})}makeCallback(t,r,i,o){if("invoice-overridden"===t)return this.createInvoiceCallback(r).pipe(ed(s=>this.http.post(i,s,o)));if("payment-overridden"===t)return this.makePaymentCallback(r);throw new Error("Not implemented flow type")}getSecretKey(){const t=Ns(this.host(),"/api/security/key/2?formatId=2&size=4096");return this.http.get(t)}encrypt(t,r){var i=this;return rl(function*(){const o=JSON.stringify(t),s=function vH(e){return function _H(e){const n=new ArrayBuffer(e.length),t=new Uint8Array(n);for(let r=0,i=e.length;r<i;r++)t[r]=e.charCodeAt(r);return n}(atob(e))}(r);try{const a=yield window.crypto.subtle.importKey("spki",s,{name:"RSA-OAEP",hash:"SHA-1"},!1,["encrypt"]),c=(new TextEncoder).encode(o);return function yH(e){return btoa(String.fromCharCode(...new Uint8Array(e)))}(yield window.crypto.subtle.encrypt({name:"RSA-OAEP"},a,c))}catch(a){throw i.context.events.error.emit(a),a}})()}makePaymentCallback(t){return new lt(r=>(this.context.callbacks.makePayment(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}createInvoiceCallback(t){return new lt(r=>(this.context.callbacks.createInvoice(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}host(){return this.context.data.settings().urls.processing}static#e=this.\u0275fac=function(r){return new(r||e)(Z(tn),Z(np),Z(gl))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const o5=new W("moto-window-document",{providedIn:"root",factory:()=>window}),wH=new W("LANGUAGE_TOKEN",{factory:()=>U(o5).navigator.language}),s5=new W("APPLE_PAY_JS_SERVICE_TOKEN");let Ry=(()=>{class e{constructor(t,r){this.clientLanguage=t,this.applePayJsService=r,this.name="applepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.applePayJsService.canMakePayment():Eo(!1)}pay(t,r){const{amount:i,currency:o,description:s,billingAddress:a,merchantId:c,userAuthToken:l}=t,u=a?.country?a.country:this.defaultCountryCode,d={total:{amount:i.toString(),currency:o.toUpperCase(),label:s},countryCode:u.toUpperCase(),merchantId:c,userToken:l,processingUrl:r};return this.applePayJsService.pay(d).pipe(rn(({payment:h})=>JSON.stringify(h)))}static#e=this.\u0275fac=function(r){return new(r||e)(Z(wH),Z(s5))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),Ly=(()=>{class e{constructor(t,r,i,o){this.context=t,this.processingService=r,this.billingProfilesService=i,this.applePayService=o}refreshExistingCards(t){let r;this.context.data.cardsLoading.set(!0),r=t?Eo(t):this.billingProfilesService.getExistingCards().pipe(rn(i=>i.concat().sort(o=>o.isDefault?-1:1))),r.subscribe(i=>{i.length?(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!1})),this.context.componentsStates.cardList().enabled||this.context.componentsStates.cardList.update(o=>({...o,enabled:!0}))):(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!0})),this.context.componentsStates.cardList.update(o=>({...o,enabled:!1})),"existing-card"===this.context.data.userProvidedInfo()?.requisites?.type&&this.context.data.userProvidedInfo.update(o=>({...o,requisites:void 0,paymentSystemName:void 0}))),this.context.data.loadedExistingCards.set(i),this.context.data.cardsLoading.set(!1)})}refreshPaymentSystems(){this.context.data.paymentSystemsLoading.set(!0),this.processingService.getAvailablePaymentSystems().subscribe(t=>{t.payments.some(r=>"applepay"===r.name)?this.applePayService.isAvailable(this.context.data.payment()).subscribe(r=>{let i=t.payments;r||(i=i.filter(o=>"applepay"!==o.name)),this.applyPaymentSystems(i)}):this.applyPaymentSystems(t.payments)})}applyPaymentSystems(t){this.context.data.loadedPaymentSystems.set(t),t.some(r=>"card"===r.name)||(this.context.componentsStates.cardForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.additionalForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.cardList.update(r=>({...r,enabled:!1,isRequired:!1}))),t.some(r=>"card"!==r.name)||this.context.componentsStates.apmList.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.data.paymentSystemsLoading.set(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(Z(tn),Z(id),Z(Oy),Z(Ry))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();var bH=ue(634),a5=ue.n(bH),c5=function(e){return e.mastercard="CVC Card Verification Code",e.visa="CVV (Card Verification Value)",e["american-express"]="CID (Card Identification Number)",e.unionpay="CVN (Card Verification Number)",e.jcb="CVV (Card Verification Value)",e.maestro="CVV (Card Verification Value)",e.discover="CID (Card Identification Number)",e}(c5||{});let Fy=(()=>{class e{transform(t,r,i=null,o=null){const[s]=a5()(t);if(!s)return"code"===r&&o?o[i]:i;switch(r){case"logo":return this.getLogo(s);case"payment-system":return s.niceType;case"card-number-mask":return"0000 0000 0000 0000 000";case"secure-text":return c5[s.type];case"code":if(o){const c=o[s.code.name];if(c)return c}return s.code.name;case"code-mask":{const{size:a}=s.code;return Array.from({length:a}).fill("0").join("")}}}getLogo(t){if(t)return`https://cdn.motopays.com/images/${cl[t.type]||cl.default}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=En({name:"cardInfo",type:e,pure:!0})}return e})(),l5=(()=>{class e{constructor(){this.selectEvent=new Kt,this.removeEvent=new Kt,this.optionsClickedEvent=new Kt,this.isOpenPopup=!1,this.popupId=function LB(e=1){return window.crypto.getRandomValues(new Uint32Array(e)).toString()}()}hidePopup(t){t.closest("[data-card-popup]")?.getAttribute("data-card-popup")===this.popupId||(this.isOpenPopup=!1)}onOptionsClick(t){t.isPopupClick=!0,this.optionsClickedEvent.emit(this.option),this.isOpenPopup=!this.isOpenPopup}select(t){t.isPopupClick||this.option.selected()||this.selectEvent.emit(this.option)}remove(t){t.isPopupClick=!0,this.removeEvent.emit(this.option.item),this.isOpenPopup=!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-card"]],hostBindings:function(r,i){1&r&&qe("click",function(s){return i.hidePopup(s.target)},0,gw)},inputs:{option:"option",language:"language"},outputs:{selectEvent:"select",removeEvent:"remove",optionsClickedEvent:"optionsClicked"},decls:18,vars:26,consts:[[1,"__ndb-card",3,"click"],["data-locator","card-active-circle",1,"__ndb-card-active-circle",3,"id"],["alt","card logo",1,"__ndb-card-logo",3,"src"],[1,"__ndb-card-payment-name","fz-14","fw-500"],[1,"__ndb-card-number","fz-14","fw-500"],[1,"__ndb-card-more"],[1,"material-icons","pointer","__ndb-card-more-icon","description-text","fz-18",3,"click"],[1,"__ndb-card-more-popup"],["data-locator","remove-btn",1,"__ndb-card-more-popup-item","fz-14","fw-500",3,"click","id"]],template:function(r,i){1&r&&(z(0,"div",0),qe("click",function(s){return i.select(s)}),ft(1,"div",1),Lt(2,"slice"),ft(3,"moto-picture",2),Lt(4,"cardInfo"),z(5,"span",3),we(6),Lt(7,"cardInfo"),G(),z(8,"span",4),we(9),Lt(10,"slice"),G(),z(11,"div",5)(12,"i",6),qe("click",function(s){return i.onOptionsClick(s)}),we(13,"more_vert"),G(),z(14,"div",7)(15,"span",8),Lt(16,"slice"),qe("click",function(s){return i.remove(s)}),we(17),G()()()()),2&r&&(P(),Ri("selected",i.option.selected()),ie("id","select-card-"+or(2,11,i.option.item.name,-6)+"-button"),P(2),ie("src",or(4,14,i.option.item.name,"logo")),P(3),zn(or(7,17,i.option.item.name,"payment-system")),P(3),zn(or(10,20,i.option.item.name,-6)),P(2),Qn("data-card-popup",i.popupId),P(3),Ri("open",i.isOpenPopup),P(),ie("id","remove-card-"+or(16,23,i.option.item.name,-6)+"-button"),P(2),zn(i.language.existingCards.removeCard))},dependencies:[al,Z0,Fy],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-card[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid var(--ndb-card-border-color);border-radius:8px;padding:14px;gap:10px}@media (max-width: 768px){.__ndb-card[_ngcontent-%COMP%]{padding:4px}}.__ndb-card-active-circle[_ngcontent-%COMP%]{position:relative;height:15px;width:15px;min-height:15px;min-width:15px;border:1px solid #c9ccd8;border-radius:50%;cursor:pointer}.__ndb-card-active-circle.selected[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;border:4px solid #e53;box-sizing:border-box;border-radius:50%}.__ndb-card-more[_ngcontent-%COMP%]{position:relative;display:flex;margin-left:auto}.__ndb-card-more-icon[_ngcontent-%COMP%]{margin:auto}.__ndb-card-more-popup[_ngcontent-%COMP%]{display:none;position:absolute;z-index:1;top:calc(100% + 10px);left:50%;transform:translate(-60%);background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #29304d1f;white-space:nowrap;overflow:hidden;animation:_ngcontent-%COMP%_show-popup .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup[_ngcontent-%COMP%]{top:calc(100% + 5px);transform:translate(-70%);animation:_ngcontent-%COMP%_mobile-show-popup .3s cubic-bezier(.25,.1,.25,1)}}.__ndb-card-more-popup.open[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-more-popup-item[_ngcontent-%COMP%]{padding:16px 12px;cursor:pointer;transition:background-color .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup-item[_ngcontent-%COMP%]{font-size:12px}}.__ndb-card-more-popup-item[_ngcontent-%COMP%]:hover{background-color:#c9ccd84d}@keyframes _ngcontent-%COMP%_show-popup{0%{opacity:0;transform:translate(-60%,50%)}to{opacity:1;transform:translate(-60%)}}@keyframes _ngcontent-%COMP%_mobile-show-popup{0%{opacity:0;transform:translate(-70%,50%)}to{opacity:1;transform:translate(-70%)}}'],changeDetection:0})}return e})();function CH(e,n){if(1&e){const t=ir();z(0,"moto-card",8),qe("select",function(i){return dt(t),ht(X().selectCard(i))})("remove",function(i){return dt(t),ht(X().removeCard(i))})("optionsClicked",function(i){return dt(t),ht(X().onOptionsClick(i))}),G()}if(2&e){const t=n.$implicit;X();const r=Tn(0);ie("option",t)("language",r)}}function EH(e,n){if(1&e){const t=ir();z(0,"button",9),qe("click",function(){return dt(t),ht(X().showCardForm())})("focusin",function(){return dt(t),ht(X().onAddCardFocus())}),z(1,"i",10),we(2,"add"),G(),z(3,"span",11),we(4),G()()}if(2&e){X();const t=Tn(0);P(4),zn(t.existingCards.addNewCard)}}let Vy=(()=>{class e{constructor(t,r,i,o){this.billingProfiles=t,this.context=r,this.toastr=i,this.refreshService=o,this.isCardListShown=Qe(!0),this.cardFormState=this.context.componentsStates.cardForm,this.componentState=this.context.componentsStates.cardList,this.isCardFormVisible=this.context.visibility.cardForm,this.settings=this.context.data.settings,this.loadedExistingCards=this.context.data.loadedExistingCards,this.cardOptions=st(()=>this.loadedExistingCards().map(a=>new qB(a))),N0(()=>{const s=this.cardOptions();s?.length&&Bi(()=>{this.selectCardImpl(s[0],s)})})}showCardForm(){this.context.events.analytics.emit(new Xt("add-card-button-click")),this.isCardListShown.set(!1),this.cardFormState.update(t=>({...t,enabled:!0})),this.context.data.userProvidedInfo.update(t=>({...t,requisites:void 0,paymentSystemName:void 0})),this.resetSelected()}getSelectedCard(){return this.cardOptions().find(t=>t.selected())}removeCard(t){this.context.events.analytics.emit(new Xt("remove-card-button-click",{last4Digits:t.name.slice(-4)})),this.billingProfiles.removeCard(t.id).subscribe(r=>{this.refreshService.refreshExistingCards(this.loadedExistingCards().filter(o=>o.id!==t.id));const i=this.settings().language.notifications.cardDeleted;this.toastr.success(i.text,i.title)})}toggleCardList(){this.isCardListShown.update(t=>!t),this.context.events.analytics.emit(new Xt("cards-toggle-button-click",{toggle:this.isCardListShown()}))}onOptionsClick(t){this.context.events.analytics.emit(new Xt("card-options-button-click",{last4Digits:t.item.name.slice(-4)}))}selectCard(t){this.context.events.analytics.emit(new Xt("select-card-button-click",{last4Digits:t.item.name.slice(-4)})),this.selectCardImpl(t,this.cardOptions())}onAddCardFocus(){this.context.events.analytics.emit(new Xt("add-card-button-focus"),!0)}selectCardImpl(t,r){r.find(o=>o.selected())?.setSelected(!1),t.setSelected(!0),this.context.data.userProvidedInfo.update(o=>({...o,paymentSystemName:"card",requisites:{type:"existing-card",value:t.item}})),this.cardFormState().enabled&&this.cardFormState.update(o=>({...o,enabled:!1}))}resetSelected(){this.getSelectedCard()?.setSelected(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(x(Oy),x(tn),x(sp),x(Ly))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-card-list"]],decls:12,vars:6,consts:[[1,"__ndb-card-list"],["id","toggle-card-list-button",1,"__ndb-card-list-toggle",3,"click"],[1,"fw-700"],[1,"material-icons","font-description","__ndb-card-list-toggle-icon"],[1,"block"],[1,"__ndb-card-list-options"],[1,"__ndb-card-list-options-item",3,"option","language"],["id","add-card-button",1,"full-width"],[1,"__ndb-card-list-options-item",3,"select","remove","optionsClicked","option","language"],["id","add-card-button",1,"full-width",3,"click","focusin"],[1,"material-icons","fz-18"],[1,"text"]],template:function(r,i){if(1&r){const o=ir();di(0),z(1,"div",0)(2,"div",1),qe("click",function(){return dt(o),ht(i.toggleCardList())}),z(3,"span",2),we(4),G(),z(5,"i",3),we(6,"keyboard_arrow_up"),G()(),z(7,"div",4)(8,"div",5),Vi(9,CH,1,2,"moto-card",6,zo),G()(),We(11,EH,5,1,"button",7),G()}if(2&r){const o=Or(i.settings().language);P(4),zn(o.existingCards.manageCardsHeader),P(),Ri("active",i.isCardListShown()),P(2),ie("@ANToggleList",i.isCardListShown()?"show":"hide"),P(2),$i(i.cardOptions()),P(2),ot(i.isCardFormVisible()?-1:11)}},dependencies:[l5],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%], .__ndb-card-list-toggle-icon.active[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-card-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.__ndb-card-list-options[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-list-options-item[_ngcontent-%COMP%]{width:100%}.__ndb-card-list-options-item[_ngcontent-%COMP%]:not(:first-child){margin-top:10px}.__ndb-card-list-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-card-list-toggle-icon[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .3s cubic-bezier(.25,.1,.25,1)}"],data:{animation:[JB,ej,tj({animationName:"ANToggleList",fromState:"hide",toState:"show",fromStyles:{height:"0px",overflow:"hidden"},toStyles:{height:"*"}})]},changeDetection:0})}return e})();function u5(e,n=KD){return Hn((t,r)=>{let i=null,o=null,s=null;const a=()=>{if(i){i.unsubscribe(),i=null;const l=o;o=null,r.next(l)}};function c(){const l=s+e,u=n.now();if(u<l)return i=this.schedule(void 0,l-u),void r.add(i);a()}t.subscribe(bn(r,l=>{o=l,s=n.now(),i||(i=n.schedule(c,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}let d5=(()=>{class e{constructor(){this.detector$=new hn}detectChanges(){this.detector$.next()}listenChangeDetection(){return this.detector$.asObservable()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),ap=(()=>{class e{constructor(t){this.injector=t,this.unsubscriber$=new hn,this.childrenDetector$=new hn}ngOnDestroy(){this.unsubscribe()}listenChildrenDetection(t){const r="local"===t,i="global"===t,o="full"===t;this.childrenDetector$.asObservable().pipe(u5(10),this.untilDestroy()).subscribe(()=>{(r||o)&&this.localDetect(),(i||o)&&this.globalDetect()})}localDetect(){this.injector.get(Jc).detectChanges()}globalDetect(){this.injector.get(d5).detectChanges()}detect(){this.localDetect(),this.globalDetect()}untilDestroy(){return function DH(e){return Hn((n,t)=>{zi(e).subscribe(bn(t,()=>t.complete(),Fs)),!t.closed&&n.subscribe(t)})}(this.unsubscriber$.asObservable())}unsubscribe(){this.unsubscriber$.next()}static#e=this.\u0275fac=function(r){return new(r||e)(x(It))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,i){},encapsulation:2})}return e})();const{isArray:SH}=Array,{getPrototypeOf:TH,prototype:MH,keys:IH}=Object;const{isArray:NH}=Array;function OH(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function RH(...e){const n=function rV(e){return et(fy(e))?e.pop():void 0}(e),{args:t,keys:r}=function xH(e){if(1===e.length){const n=e[0];if(SH(n))return{args:n,keys:null};if(function AH(e){return e&&"object"==typeof e&&TH(e)===MH}(n)){const t=IH(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),i=new lt(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u<s;u++){let d=!1;zi(t[u]).subscribe(bn(o,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(r?OH(r,a):a),o.complete())}))}});return n?i.pipe(function PH(e){return rn(n=>function kH(e,n){return NH(n)?e(...n):e(n)}(e,n))}(n)):i}let h5=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ho),x(zr))};static#t=this.\u0275dir=De({type:e})}return e})(),Sa=(()=>{class e extends h5{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xn(e)))(i||e)}})();static#t=this.\u0275dir=De({type:e,features:[it]})}return e})();const yi=new W(""),LH={provide:yi,useExisting:wt(()=>cp),multi:!0};let cp=(()=>{class e extends Sa{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xn(e)))(i||e)}})();static#t=this.\u0275dir=De({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&qe("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[Rt([LH]),it]})}return e})();const FH={provide:yi,useExisting:wt(()=>lp),multi:!0},$H=new W("");let lp=(()=>{class e extends h5{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function VH(){const e=ju()?ju().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ho),x(zr),x($H,8))};static#t=this.\u0275dir=De({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&qe("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[Rt([FH]),it]})}return e})();function ks(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function f5(e){return null!=e&&"number"==typeof e.length}const Jn=new W(""),Ps=new W(""),BH=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Do{static min(n){return function p5(e){return n=>{if(ks(n.value)||ks(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function m5(e){return n=>{if(ks(n.value)||ks(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function g5(e){return ks(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function y5(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function v5(e){return ks(e.value)||BH.test(e.value)?null:{email:!0}}(n)}static minLength(n){return _5(n)}static maxLength(n){return w5(n)}static pattern(n){return function b5(e){if(!e)return up;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(ks(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return M5(n)}static composeAsync(n){return I5(n)}}function _5(e){return n=>ks(n.value)||!f5(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}function w5(e){return n=>f5(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function up(e){return null}function C5(e){return null!=e}function E5(e){return uf(e)?nl(e):e}function D5(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function S5(e,n){return n.map(t=>t(e))}function T5(e){return e.map(n=>function jH(e){return!e.validate}(n)?n:t=>n.validate(t))}function M5(e){if(!e)return null;const n=e.filter(C5);return 0==n.length?null:function(t){return D5(S5(t,n))}}function $y(e){return null!=e?M5(T5(e)):null}function I5(e){if(!e)return null;const n=e.filter(C5);return 0==n.length?null:function(t){return RH(S5(t,n).map(E5)).pipe(rn(D5))}}function By(e){return null!=e?I5(T5(e)):null}function x5(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function A5(e){return e._rawValidators}function N5(e){return e._rawAsyncValidators}function jy(e){return e?Array.isArray(e)?e:[e]:[]}function dp(e,n){return Array.isArray(e)?e.includes(n):e===n}function k5(e,n){const t=jy(n);return jy(e).forEach(i=>{dp(t,i)||t.push(i)}),t}function P5(e,n){return jy(n).filter(t=>!dp(e,t))}class O5{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$y(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=By(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class _r extends O5{get formDirective(){return null}get path(){return null}}class Ko extends O5{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class R5{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let hl=(()=>{class e extends R5{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ko,2))};static#t=this.\u0275dir=De({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&Ri("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[it]})}return e})(),hp=(()=>{class e extends R5{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(_r,10))};static#t=this.\u0275dir=De({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&Ri("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[it]})}return e})();const od="VALID",pp="INVALID",fl="PENDING",sd="DISABLED";class pl{}class F5 extends pl{constructor(n,t){super(),this.value=n,this.source=t}}class zy extends pl{constructor(n,t){super(),this.pristine=n,this.source=t}}class Gy extends pl{constructor(n,t){super(),this.touched=n,this.source=t}}class mp extends pl{constructor(n,t){super(),this.status=n,this.source=t}}class WH extends pl{constructor(n){super(),this.source=n}}class qH extends pl{constructor(n){super(),this.source=n}}function Wy(e){return(gp(e)?e.validators:e)||null}function qy(e,n){return(gp(n)?n.asyncValidators:e)||null}function gp(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function V5(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new k(1e3,"");if(!r[t])throw new k(1001,"")}function $5(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new k(1002,"")})}class yp{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=st(()=>this.statusReactive()),this.statusReactive=Qe(void 0),this._pristine=st(()=>this.pristineReactive()),this.pristineReactive=Qe(!0),this._touched=st(()=>this.touchedReactive()),this.touchedReactive=Qe(!1),this._events=new hn,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Bi(this.statusReactive)}set status(n){Bi(()=>this.statusReactive.set(n))}get valid(){return this.status===od}get invalid(){return this.status===pp}get pending(){return this.status==fl}get disabled(){return this.status===sd}get enabled(){return this.status!==sd}get pristine(){return Bi(this.pristineReactive)}set pristine(n){Bi(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Bi(this.touchedReactive)}set touched(n){Bi(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(k5(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(k5(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(P5(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(P5(n,this._rawAsyncValidators))}hasValidator(n){return dp(this._rawValidators,n)}hasAsyncValidator(n){return dp(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new Gy(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&!1!==n.emitEvent&&this._events.next(new Gy(!1,r))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new zy(!1,r))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&!1!==n.emitEvent&&this._events.next(new zy(!0,r))}markAsPending(n={}){this.status=fl;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new mp(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=sd,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue();const r=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new F5(this.value,r)),this._events.next(new mp(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=od,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===od||this.status===fl)&&this._runAsyncValidator(r,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new F5(this.value,t)),this._events.next(new mp(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?sd:od}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=fl,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const r=E5(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new mp(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new Kt,this.statusChanges=new Kt}_calculateStatus(){return this._allControlsDisabled()?sd:this.errors?pp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(fl)?fl:this._anyControlsHaveStatus(pp)?pp:od}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),i&&this._events.next(new zy(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Gy(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){gp(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function ZH(e){return Array.isArray(e)?$y(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function YH(e){return Array.isArray(e)?By(e):e||null}(this._rawAsyncValidators)}}class ad extends yp{constructor(n,t,r){super(Wy(t),qy(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){$5(this,0,n),Object.keys(n).forEach(r=>{V5(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class B5 extends ad{}const Ta=new W("CallSetDisabledState",{providedIn:"root",factory:()=>cd}),cd="always";function vp(e,n){return[...n.path,e]}function ld(e,n,t=cd){Zy(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function XH(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&j5(e,n)})}(e,n),function JH(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function QH(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&j5(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function KH(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function _p(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),bp(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function wp(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Zy(e,n){const t=A5(e);null!==n.validator?e.setValidators(x5(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=N5(e);null!==n.asyncValidator?e.setAsyncValidators(x5(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();wp(n._rawValidators,i),wp(n._rawAsyncValidators,i)}function bp(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=A5(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=N5(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return wp(n._rawValidators,r),wp(n._rawAsyncValidators,r),t}function j5(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ky(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function Xy(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===lp?t=o:function nU(e){return Object.getPrototypeOf(e.constructor)===Sa}(o)?r=o:i=o}),i||r||t||null}function z5(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function G5(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const dd=class extends yp{constructor(n=null,t,r){super(Wy(t),qy(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gp(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=G5(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){z5(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){z5(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){G5(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let W5=(()=>{class e extends _r{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return vp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xn(e)))(i||e)}})();static#t=this.\u0275dir=De({type:e,features:[it]})}return e})();const aU={provide:Ko,useExisting:wt(()=>Cp)},Z5=Promise.resolve();let Cp=(()=>{class e extends Ko{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new dd,this._registered=!1,this.name="",this.update=new Kt,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Xy(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Ky(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ld(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Z5.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function A0(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);Z5.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?vp(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(x(_r,9),x(Jn,10),x(Ps,10),x(yi,10),x(Jc,8),x(Ta,8))};static#t=this.\u0275dir=De({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Rt([aU]),it,Ni]})}return e})(),Ep=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=De({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Jy=new W(""),fU={provide:_r,useExisting:wt(()=>ml)};let ml=(()=>{class e extends _r{get submitted(){return Bi(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,i){super(),this.callSetDisabledState=i,this._submitted=st(()=>this._submittedReactive()),this._submittedReactive=Qe(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Kt,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(bp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return ld(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){_p(t.control||null,t,!1),function rU(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),function U5(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new WH(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new qH(this.form))}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(_p(r||null,t),(e=>e instanceof dd)(i)&&(ld(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);(function H5(e,n){Zy(e,n)})(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function eU(e,n){return bp(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zy(this.form,this),this._oldForm&&bp(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(x(Jn,10),x(Ps,10),x(Ta,8))};static#t=this.\u0275dir=De({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&qe("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Rt([fU]),it,Ni]})}return e})();const pU={provide:_r,useExisting:wt(()=>Dp)};let Dp=(()=>{class e extends W5{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){J5(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(x(_r,13),x(Jn,10),x(Ps,10))};static#t=this.\u0275dir=De({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[Rt([pU]),it]})}return e})();const mU={provide:_r,useExisting:wt(()=>Sp)};let Sp=(()=>{class e extends _r{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return vp(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){J5(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(x(_r,13),x(Jn,10),x(Ps,10))};static#t=this.\u0275dir=De({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[Rt([mU]),it]})}return e})();function J5(e){return!(e instanceof Dp||e instanceof ml||e instanceof Sp)}const gU={provide:Ko,useExisting:wt(()=>hd)};let hd=(()=>{class e extends Ko{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Kt,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Xy(0,o)}ngOnChanges(t){this._added||this._setUpControl(),Ky(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return vp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(x(_r,13),x(Jn,10),x(Ps,10),x(yi,10),x(Jy,8))};static#n=this.\u0275dir=De({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Rt([gU]),it,Ni]})}return e})();function nS(e){return"number"==typeof e?e:parseInt(e,10)}let Ma=(()=>{class e{constructor(){this._validator=up}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):up,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=De({type:e,features:[Ni]})}return e})();const IU={provide:Jn,useExisting:wt(()=>Tp),multi:!0};let Tp=(()=>{class e extends Ma{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>nS(t),this.createValidator=t=>_5(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xn(e)))(i||e)}})();static#t=this.\u0275dir=De({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&Qn("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[Rt([IU]),it]})}return e})();const xU={provide:Jn,useExisting:wt(()=>fd),multi:!0};let fd=(()=>{class e extends Ma{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>nS(t),this.createValidator=t=>w5(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xn(e)))(i||e)}})();static#t=this.\u0275dir=De({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&Qn("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Rt([xU]),it]})}return e})(),lS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({})}return e})();class uS extends yp{constructor(n,t,r){super(Wy(t),qy(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){$5(this,0,n),n.forEach((r,i)=>{V5(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function dS(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let rv=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return dS(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new ad(i,o)}record(t,r=null){const i=this._reduceControls(t);return new B5(i,r)}control(t,r,i){let o={};return this.useNonNullable?(dS(r)?o=r:(o.validators=r,o.asyncValidators=i),new dd(t,{...o,nonNullable:!0})):new dd(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new uS(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof dd||t instanceof yp?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ta,useValue:t.callSetDisabledState??cd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({imports:[lS]})}return e})(),fS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Jy,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ta,useValue:t.callSetDisabledState??cd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({imports:[lS]})}return e})();class Mp{static luhnAlgorithm({value:n}){return n&&function NU(e){return/^\d+$/.test(e)&&!(e.split("").reverse().map(function(n,t){return n=parseInt(n,10),t%2==0?n:(n*=2)>9?n-9:n}).reduce(function(n,t){return n+t})%10)}(n)?void 0:{luhnAlgorithm:!0}}static cardExpiration({value:n}){const t={expiration:!0};if(n){if(n.length<4)return t;const i=+(new Date).getFullYear().toString().slice(-2),[o,s,a,c]=n.split(""),l=`${o}${s}`;return+l<1||+l>12||+`${a}${c}`<i?t:void 0}return t}static cardNumberLength({value:n}){const t=n?.length||0;return t>=Xr.card.number.length.min&&t<=Xr.card.number.length.max?void 0:{cardLength:!0}}static cardCodeLength(n="cardNumber"){return({value:t,parent:r})=>{const i=r?.get(n),[o]=a5()(i?.value),s=!!o?.code.size&&!!t,a=Xr.card.code.lengths[o?.type];return s&&(o?.code.size===t?.length||a?.includes(t?.length))?null:{cardCodeLength:!0}}}}function pS(...e){return function PU(){return $4(1)}()(nl(e,Uf(e)))}function mS(...e){const n=Uf(e);return Hn((t,r)=>{(n?pS(e,t,n):pS(e,t)).subscribe(r)})}function iv(e,n,t,r,i,o,s){e.valueChanges.pipe(mS(null),u5(50),function OU(){return Hn((e,n)=>{let t,r=!1;e.subscribe(bn(n,i=>{const o=t;t=i,r&&n.next([o,i]),r=!0}))})}(),TD(([a,c])=>JSON.stringify(a)!==JSON.stringify(c)),t.untilDestroy()).subscribe(([a,c])=>{const l={...n()};let u=!1;!r()&&l.canShowError&&(u=!0,l.canShowError=!1);const d=i(c);l.filled!==d&&(u=!0,l.filled=d),u&&n.update(h=>({...l})),o&&o(c,s)}),e.statusChanges.pipe(mS(e.status),t.untilDestroy()).subscribe(a=>{n.update(c=>({...c,isValid:"VALID"===a}))})}const Ip=new W("ngx-mask config"),gS=new W("new ngx-mask config"),yS=new W("initial ngx-mask config"),$U={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new Kt,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},BU=["Hh:m0:s0","Hh:m0","m0:s0"],jU=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let HU=(()=>{class e{constructor(){this._config=U(Ip),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(t,r,i,o)=>{let s=[],a="";if(Array.isArray(i)){const h=new RegExp(i.map(f=>"[\\^$.|?*+()".indexOf(f)>=0?`\\${f}`:f).join("|"));s=t.split(h),a=t.match(h)?.[0]??""}else s=t.split(i),a=i;const c=s.length>1?`${a}${s[1]}`:"";let l=s[0]??"";const u=this.separatorLimit.replace(/\s/g,"");u&&+u&&(l="-"===l[0]?`-${l.slice(1,l.length).slice(0,u.length)}`:l.slice(0,u.length));const d=/(\d+)(\d{3})/;for(;r&&d.test(l);)l=l.replace(d,"$1"+r+"$2");return void 0===o?l+c:0===o?l:l+c.substring(0,o+1)},this.percentage=t=>{const r=t.replace(",","."),i=Number(r);return!isNaN(i)&&i>=0&&i<=100},this.getPrecision=t=>{const r=t.split(".");return r.length>1?Number(r[r.length-1]):1/0},this.checkAndRemoveSuffix=t=>{for(let r=this.suffix?.length-1;r>=0;r--){const i=this.suffix.substring(r,this.suffix?.length);if(t.includes(i)&&r!==this.suffix?.length-1&&(r-1<0||!t.includes(this.suffix.substring(r-1,this.suffix?.length))))return t.replace(i,"")}return t},this.checkInputPrecision=(t,r,i)=>{if(r<1/0){if(Array.isArray(i)){const c=i.find(l=>l!==this.thousandSeparator);i=c||i[0]}const o=new RegExp(this._charToRegExpExpression(i)+`\\d{${r}}.*$`),s=t.match(o),a=(s&&s[0]?.length)??0;a-1>r&&(t=t.substring(0,t.length-(a-1-r))),0===r&&this._compareOrIncludes(t[t.length-1],i,this.thousandSeparator)&&(t=t.substring(0,t.length-1))}return t}}applyMaskWithPattern(t,r){const[i,o]=r;return this.customPattern=o,this.applyMask(t,i)}applyMask(t,r,i=0,o=!1,s=!1,a=()=>{}){if(!r||"string"!=typeof t)return"";let c=0,l="",u=!1,d=!1,h=1,f=!1;t.slice(0,this.prefix.length)===this.prefix&&!this.showMaskTyped&&(t=t.slice(this.prefix.length,t.length)),this.suffix&&t?.length>0&&(t=this.checkAndRemoveSuffix(t)),"("===t&&this.prefix&&(t="");const m=t.toString().split("");if(this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&(l+=t.slice(c,c+1)),"IP"===r){const L=t.split(".");this.ipError=this._validIP(L),r="099.099.099.099"}const v=[];for(let L=0;L<t.length;L++)t[L]?.match("\\d")&&v.push(t[L]??"");if("CPF_CNPJ"===r&&(this.cpfCnpjError=11!==v.length&&14!==v.length,r=v.length>11?"00.000.000/0000-00":"000.000.000-00"),r.startsWith("percent")){if(t.match("[a-z]|[A-Z]")||t.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!s){t=this._stripToDecimal(t);const Q=this.getPrecision(r);t=this.checkInputPrecision(t,Q,this.decimalMarker)}const L="string"==typeof this.decimalMarker?this.decimalMarker:".";if(t.indexOf(L)>0&&!this.percentage(t.substring(0,t.indexOf(L)))){let Q=t.substring(0,t.indexOf(L)-1);this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&!s&&(Q=t.substring(0,t.indexOf(L))),t=`${Q}${t.substring(t.indexOf(L),t.length)}`}let $="";$=this.allowNegativeNumbers&&"-"===t.slice(c,c+1)?t.slice(c+1,c+t.length):t,l=this.percentage($)?this._splitPercentZero(t):this._splitPercentZero(t.substring(0,t.length-1))}else if(r.startsWith("separator")){(t.match("[w\u0430-\u044f\u0410-\u042f]")||t.match("[\u0401\u0451\u0410-\u044f]")||t.match("[a-z]|[A-Z]")||t.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||t.match("[^A-Za-z0-9,]"))&&(t=this._stripToDecimal(t)),t="-"===t[0]&&this.allowNegativeNumbers?t.length>2&&"0"===t[1]&&t[2]!==this.thousandSeparator&&!this._compareOrIncludes(t[2],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t:t.length>1&&"0"===t[0]&&t[1]!==this.thousandSeparator&&!this._compareOrIncludes(t[1],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t,s&&(t=this._compareOrIncludes(t[t.length-1],this.decimalMarker,this.thousandSeparator)?t.slice(0,t.length-1):t);const L=this._charToRegExpExpression(this.thousandSeparator);let $='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(L,"");if(Array.isArray(this.decimalMarker))for(const yn of this.decimalMarker)$=$.replace(this._charToRegExpExpression(yn),"");else $=$.replace(this._charToRegExpExpression(this.decimalMarker),"");const Q=new RegExp("["+$+"]");(t.match(Q)||1===t.length&&this._compareOrIncludes(t,this.decimalMarker,this.thousandSeparator))&&(t=t.substring(0,t.length-1));const ae=this.getPrecision(r),J=(t=this.checkInputPrecision(t,ae,this.decimalMarker)).replace(new RegExp(L,"g"),"");l=this._formatWithSeparators(J,this.thousandSeparator,this.decimalMarker,ae);const Jt=l.indexOf(",")-t.indexOf(","),cn=l.length-t.length;if(cn>0&&l[i]!==this.thousandSeparator){d=!0;let yn=0;do{this._shift.add(i+yn),yn++}while(yn<cn)}else l[i-1]===this.decimalMarker||-4===cn||-3===cn||","===l[i]?(this._shift.clear(),this._shift.add(i-1)):0!==Jt&&i>0&&!(l.indexOf(",")>=i&&i>3)||!(l.indexOf(".")>=i&&i>3)&&cn<=0?(this._shift.clear(),d=!0,h=cn,this._shift.add(i+=cn)):this._shift.clear()}else for(let L=0,$=m[0];L<m.length&&c!==r.length;L++,$=m[L]??""){const Q="*"in this.patterns;if(this._checkSymbolMask($,r[c]??"")&&"?"===r[c+1])l+=$,c+=2;else if("*"===r[c+1]&&u&&this._checkSymbolMask($,r[c+2]??""))l+=$,c+=3,u=!1;else if(this._checkSymbolMask($,r[c]??"")&&"*"===r[c+1]&&!Q)l+=$,u=!0;else if("?"===r[c+1]&&this._checkSymbolMask($,r[c+2]??""))l+=$,c+=3;else if(this._checkSymbolMask($,r[c]??"")){if("H"===r[c]&&(this.apm?Number($)>9:Number($)>2)){i+=1,c+=1,this._shiftStep(r,c,m.length),L--,this.leadZeroDateTime&&(l+="0");continue}if("h"===r[c]&&(this.apm?1===l.length&&Number(l)>1||"1"===l&&Number($)>2||1===t.slice(c-1,c).length&&Number(t.slice(c-1,c))>2||"1"===t.slice(c-1,c)&&Number($)>2:"2"===l&&Number($)>3||("2"===l.slice(c-2,c)||"2"===l.slice(c-3,c)||"2"===l.slice(c-4,c)||"2"===l.slice(c-1,c))&&Number($)>3&&c>10)){i+=1,c+=1,L--;continue}if(("m"===r[c]||"s"===r[c])&&Number($)>5){i+=1,c+=1,this._shiftStep(r,c,m.length),L--,this.leadZeroDateTime&&(l+="0");continue}const ae=31,J=t[c],Jt=t[c+1],cn=t[c+2],yn=t[c-1],wr=t[c-2],Rs=t[c-3],_i=t.slice(c-3,c-1),Na=t.slice(c-1,c+1),Y=t.slice(c,c+2),se=t.slice(c-2,c);if("d"===r[c]){const fe="M0"===r.slice(0,2),je="M0"===r.slice(0,2)&&this.specialCharacters.includes(wr);if(Number($)>3&&this.leadZeroDateTime||!fe&&(Number(Y)>ae||Number(Na)>ae||this.specialCharacters.includes(Jt))||(je?Number(Na)>ae||!this.specialCharacters.includes(J)&&this.specialCharacters.includes(cn)||this.specialCharacters.includes(J):Number(Y)>ae||this.specialCharacters.includes(Jt))){i+=1,c+=1,this._shiftStep(r,c,m.length),L--,this.leadZeroDateTime&&(l+="0");continue}}if("M"===r[c]){const je=0===c&&(Number($)>2||Number(Y)>12||this.specialCharacters.includes(Jt)),xn=r.slice(c+2,c+3),wi=_i.includes(xn)&&(this.specialCharacters.includes(wr)&&Number(Na)>12&&!this.specialCharacters.includes(J)||this.specialCharacters.includes(J)||this.specialCharacters.includes(Rs)&&Number(se)>12&&!this.specialCharacters.includes(yn)||this.specialCharacters.includes(yn)),br=Number(_i)<=ae&&!this.specialCharacters.includes(_i)&&this.specialCharacters.includes(yn)&&(Number(Y)>12||this.specialCharacters.includes(Jt)),To=Number(Y)>12&&5===c||this.specialCharacters.includes(Jt)&&5===c,Ht=Number(_i)>ae&&!this.specialCharacters.includes(_i)&&!this.specialCharacters.includes(se)&&Number(se)>12,zp=Number(_i)<=ae&&!this.specialCharacters.includes(_i)&&!this.specialCharacters.includes(yn)&&Number(Na)>12;if(Number($)>1&&this.leadZeroDateTime||je||wi||zp||Ht||br||To&&!this.leadZeroDateTime){i+=1,c+=1,this._shiftStep(r,c,m.length),L--,this.leadZeroDateTime&&(l+="0");continue}}l+=$,c++}else" "===$&&" "===r[c]||"/"===$&&"/"===r[c]?(l+=$,c++):-1!==this.specialCharacters.indexOf(r[c]??"")?(l+=r[c],c++,this._shiftStep(r,c,m.length),L--):"9"===r[c]&&this.showMaskTyped?this._shiftStep(r,c,m.length):this.patterns[r[c]??""]&&this.patterns[r[c]??""]?.optional?(m[c]&&"099.099.099.099"!==r&&"000.000.000-00"!==r&&"00.000.000/0000-00"!==r&&!r.match(/^9+\.0+$/)&&!this.patterns[r[c]??""]?.optional&&(l+=m[c]),r.includes("9*")&&r.includes("0*")&&c++,c++,L--):"*"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar($)===this.maskExpression[c+2]&&u||"?"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar($)===this.maskExpression[c+2]&&u?(c+=3,l+=$):this.showMaskTyped&&this.specialCharacters.indexOf($)<0&&$!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(f=!0)}l.length+1===r.length&&-1!==this.specialCharacters.indexOf(r[r.length-1]??"")&&(l+=r[r.length-1]);let C=i+1;for(;this._shift.has(C);)h++,C++;let D=o&&!r.startsWith("separator")?c:this._shift.has(i)?h:0;f&&D--,a(D,d),h<0&&this._shift.clear();let E=!1;s&&(E=m.every(L=>this.specialCharacters.includes(L)));let O=`${this.prefix}${E?"":l}${this.suffix}`;if(0===l.length&&(O=this.dropSpecialCharacters?`${l}`:`${this.prefix}${l}`),l.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(s&&"-"===l)return"";O=`-${this.prefix}${l.split("-").join("")}${this.suffix}`}return O}_findDropSpecialChar(t){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===t):this._findSpecialChar(t)}_findSpecialChar(t){return this.specialCharacters.find(r=>r===t)}_checkSymbolMask(t,r){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[r]?.pattern&&this.patterns[r]?.pattern.test(t))??!1}_stripToDecimal(t){return t.split("").filter((r,i)=>{const o="string"==typeof this.decimalMarker?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||"-"===r&&0===i&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(t){return t&&(" "===t?"\\s":"[\\^$.|?*+()".indexOf(t)>=0?`\\${t}`:t)}_shiftStep(t,r,i){const o=/[*?]/g.test(t.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(t,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(t):t===r}_validIP(t){return!(4===t.length&&!t.some((r,i)=>t.length!==i+1?""===r||Number(r)>255:""===r||Number(r.substring(0,3))>255))}_splitPercentZero(t){const r=t.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===r){const i=parseInt(t,10);return isNaN(i)?"":i.toString()}{const i=parseInt(t.substring(0,r),10),o=t.substring(r+1),s=isNaN(i)?"":i.toString();return""===s?"":s+("string"==typeof this.decimalMarker?this.decimalMarker:".")+o}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),ov=(()=>{class e extends HU{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._emitValue=!1,this._previousValue="",this._currentValue="",this.onChange=t=>{},this.document=U(sr),this._config=U(Ip),this._elementRef=U(zr,{optional:!0}),this._renderer=U(Ho,{optional:!0})}applyMask(t,r,i=0,o=!1,s=!1,a=()=>{}){if(!r)return t!==this.actualValue?this.actualValue:t;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),!t&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const c=t&&"number"==typeof this.selStart?t[this.selStart]??"":"";let l="";if(void 0!==this.hiddenInput&&!this.writingValue){let f=t&&1===t.length?t.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==t&&f.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(t.length>f.length?f.splice(this.selStart,0,c):t.length<f.length&&(f.length-t.length==1?f.splice(s?this.selStart-1:t.length-1,1):f.splice(this.selStart,this.selEnd-this.selStart))):f=[],this.showMaskTyped&&(this.hiddenInput||(t=this.removeMask(t))),l=this.actualValue.length&&f.length<=t.length?this.shiftTypedSymbols(f.join("")):t}if(o&&(this.hiddenInput||!this.hiddenInput)&&(l=t),this.deletedSpecialCharacter&&i&&(this.specialCharacters.includes(this.actualValue.slice(i,i+1))?i+=1:"M0"!==r.slice(i-1,i+1)&&(i-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(t=this.removeMask(t)),l=this.maskChanged?t:l&&l.length?l:t,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!o){const f=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(f),this.actualValue?this.actualValue:this.prefix+this.maskIsShown+this.suffix}const u=super.applyMask(l,r,i,o,s,a);if(this.actualValue=this.getActualValue(u),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(f=>!this._compareOrIncludes(f,this.decimalMarker,this.thousandSeparator))),(u||""===u)&&(this._previousValue=this._currentValue,this._currentValue=u,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&o),this._emitValue&&this.formControlResult(u),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?s?this.hideInput(u,this.maskExpression):this.hideInput(u,this.maskExpression)+this.maskIsShown.slice(u.length):u;const d=u.length,h=this.prefix+this.maskIsShown;if(this.maskExpression.includes("H")){const f=this._numberSkipedSymbols(u);return u+h.slice(d+f)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?u+h:u+h.slice(d)}_numberSkipedSymbols(t){const r=/(^|\D)(\d\D)/g;let i=r.exec(t),o=0;for(;null!=i;)o+=1,i=r.exec(t);return o}applyValueChanges(t,r,i,o=()=>{}){const s=this._elementRef?.nativeElement;s&&(s.value=this.applyMask(s.value,this.maskExpression,t,r,i,o),s!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(t,r){return t.split("").map((i,o)=>this.patterns&&this.patterns[r[o]??""]&&this.patterns[r[o]??""]?.symbol?this.patterns[r[o]??""]?.symbol:i).join("")}getActualValue(t){const r=t.split("").filter((i,o)=>{const s=this.maskExpression[o]??"";return this._checkSymbolMask(i,s)||this.specialCharacters.includes(s)&&i===s});return r.join("")===t?r.join(""):t}shiftTypedSymbols(t){let r="";return(t&&t.split("").map((o,s)=>{if(this.specialCharacters.includes(t[s+1]??"")&&t[s+1]!==this.maskExpression[s+1])return r=o,t[s+1];if(r.length){const a=r;return r="",a}return o})||[]).join("")}numberToString(t){return!t&&0!==t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(t).length>14?String(t):Number(t).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(t){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(t){if("IP"===this.maskExpression)return this._checkForIp(t);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(t)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const t=this._elementRef?.nativeElement;t&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==t.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([t,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,t,r))}checkDropSpecialCharAmount(t){return t.split("").filter(i=>this._findDropSpecialChar(i)).length}removeMask(t){return this._removeMask(this._removeSuffix(this._removePrefix(t)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(t){if("#"===t)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const r=[];for(let i=0;i<t.length;i++){const o=t[i]??"";o&&o.match("\\d")&&r.push(o)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(t){const r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,i=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===t)return r;const o=[];for(let s=0;s<t.length;s++){const a=t[s]??"";a&&a.match("\\d")&&o.push(a)}return o.length<=3?r.slice(o.length,r.length):o.length>3&&o.length<=6?r.slice(o.length+1,r.length):o.length>6&&o.length<=9?r.slice(o.length+2,r.length):o.length>9&&o.length<11?r.slice(o.length+3,r.length):11===o.length?"":12===o.length?i.slice(17===t.length?16:15,i.length):o.length>12&&o.length<=14?i.slice(o.length+4,i.length):""}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}formControlResult(t){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(t)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(t)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===t?this._checkSymbols(this._removeSuffix(this._removePrefix(t))):t)))}_toNumber(t){if(!this.isNumberValue||""===t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return t;if(String(t).length>16&&this.separatorLimit.length>14)return String(t);const r=Number(t);if(this.maskExpression.startsWith("separator")&&Number.isNaN(r)){const i=String(t).replace(",",".");return Number(i)}return Number.isNaN(r)?t:r}_removeMask(t,r){return this.maskExpression.startsWith("percent")&&t.includes(".")?t:t&&t.replace(this._regExpForRemove(r),"")}_removePrefix(t){return this.prefix?t&&t.replace(this.prefix,""):t}_removeSuffix(t){return this.suffix?t&&t.replace(this.suffix,""):t}_retrieveSeparatorValue(t){const r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(i=>this.dropSpecialCharacters.includes(i)):this.specialCharacters;return this._removeMask(t,r)}_regExpForRemove(t){return new RegExp(t.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(t){const r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return t.replace(this._regExpForRemove(r),".")}_checkSymbols(t){if(""===t)return t;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(t=t.replace(",","."));const r=this._retrieveSeparatorPrecision(this.maskExpression),i=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(t));return this.isNumberValue&&r?t===this.decimalMarker?null:this.separatorLimit.length>14?String(i):this._checkPrecision(this.maskExpression,i):i}_retrieveSeparatorPrecision(t){const r=t.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(t,r){const i=t.slice(10,11);return t.indexOf("2")>0||this.leadZero&&Number(i)>1?(","===this.decimalMarker&&this.leadZero&&(r=r.replace(",",".")),this.leadZero?Number(r).toFixed(Number(i)):Number(r).toFixed(2)):this.numberToString(r)}_repeatPatternSymbols(t){return t.match(/{[0-9]+}/)&&t.split("").reduce((r,i,o)=>{if(this._start="{"===i?o:this._start,"}"!==i)return this._findSpecialChar(i)?r+i:r;this._end=o;const s=Number(t.slice(this._start+1,this._end)),a=new Array(s+1).join(t[this._start-1]);if(t.slice(0,this._start).length>1&&t.includes("S")){const c=t.slice(0,this._start-1);return c.includes("{")?r+a:c+r+a}return r+a},"")||t}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}}return e.\u0275fac=(()=>{let n;return function(r){return(n||(n=Xn(e)))(r||e)}})(),e.\u0275prov=ee({token:e,factory:e.\u0275fac}),e})(),UU=(()=>{class e{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new Kt,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isComposing=!1,this.document=U(sr),this._maskService=U(ov,{self:!0}),this._config=U(Ip),this.onChange=t=>{},this.onTouch=()=>{}}ngOnChanges(t){const{maskExpression:r,specialCharacters:i,patterns:o,prefix:s,suffix:a,thousandSeparator:c,decimalMarker:l,dropSpecialCharacters:u,hiddenInput:d,showMaskTyped:h,placeHolderCharacter:f,shownMaskExpression:m,showTemplate:v,clearIfNotMatch:C,validation:D,separatorLimit:E,allowNegativeNumbers:O,leadZeroDateTime:L,leadZero:$,triggerOnMaskChange:Q,apm:ae,inputTransformFn:J,outputTransformFn:Jt,keepCharacterPositions:cn}=t;if(r&&(r.currentValue!==r.previousValue&&!r.firstChange&&(this._maskService.maskChanged=!0),O&&(this._maskService.allowNegativeNumbers=O.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(yn=>"-"!==yn))),r.currentValue&&r.currentValue.split("||").length>1?(this._maskExpressionArray=r.currentValue.split("||").sort((yn,wr)=>yn.length-wr.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=r.currentValue||"",this._maskService.maskExpression=this._maskValue)),i){if(!i.currentValue||!Array.isArray(i.currentValue))return;this._maskService.specialCharacters=i.currentValue||[]}o&&o.currentValue&&(this._maskService.patterns=o.currentValue),ae&&ae.currentValue&&(this._maskService.apm=ae.currentValue),s&&(this._maskService.prefix=s.currentValue),a&&(this._maskService.suffix=a.currentValue),c&&(this._maskService.thousandSeparator=c.currentValue),l&&(this._maskService.decimalMarker=l.currentValue),u&&(this._maskService.dropSpecialCharacters=u.currentValue),d&&(this._maskService.hiddenInput=d.currentValue),h&&(this._maskService.showMaskTyped=h.currentValue),f&&(this._maskService.placeHolderCharacter=f.currentValue),m&&(this._maskService.shownMaskExpression=m.currentValue),v&&(this._maskService.showTemplate=v.currentValue),C&&(this._maskService.clearIfNotMatch=C.currentValue),D&&(this._maskService.validation=D.currentValue),E&&(this._maskService.separatorLimit=E.currentValue),L&&(this._maskService.leadZeroDateTime=L.currentValue),$&&(this._maskService.leadZero=$.currentValue),Q&&(this._maskService.triggerOnMaskChange=Q.currentValue),J&&(this._maskService.inputTransformFn=J.currentValue),Jt&&(this._maskService.outputTransformFn=Jt.currentValue),cn&&(this._maskService.keepCharacterPositions=cn.currentValue),this._applyMask()}validate({value:t}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(t);if(this._maskService.cpfCnpjError)return this._createValidationError(t);if(this._maskValue.startsWith("separator")||jU.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(BU.includes(this._maskValue))return this._validateTime(t);if(t&&t.toString().length>=1){let r=0;if(this._maskValue.startsWith("percent"))return null;for(const i in this._maskService.patterns)if(this._maskService.patterns[i]?.optional&&(this._maskValue.indexOf(i)!==this._maskValue.lastIndexOf(i)?r+=this._maskValue.split("").filter(s=>s===i).join("").length:-1!==this._maskValue.indexOf(i)&&r++,-1!==this._maskValue.indexOf(i)&&t.toString().length>=this._maskValue.indexOf(i)||r===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&t.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&t.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&t.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(t);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){t="number"==typeof t?String(t):t;const i=this._maskValue.split("*"),o=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-r:this.prefix?this._maskValue.length+this.prefix.length-r:this._maskValue.length-r;if(1===i.length&&t.toString().length<o)return this._createValidationError(t);if(i.length>1){const s=i[i.length-1];if(s&&this._maskService.specialCharacters.includes(s[0])&&String(t).includes(s[0]??"")&&!this.dropSpecialCharacters){const a=t.split(s[0]);return a[a.length-1].length===s.length-1?null:this._createValidationError(t)}return(s&&!this._maskService.specialCharacters.includes(s[0])||!s||this._maskService.dropSpecialCharacters)&&t.length>=o-1?null:this._createValidationError(t)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return t&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onModelChange(t){(""===t||null==t)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(t){if(this._isComposing)return;const r=t.target,i=this._maskService.inputTransformFn(r.value);if("number"!==r.type)if("string"==typeof i||"number"==typeof i){if(r.value=i.toString(),this._inputValue=r.value,this._setMask(),!this._maskValue)return void this.onChange(r.value);let o=1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const l=r.value.slice(o-1,o),u=this.prefix.length,d=this._maskService._checkSymbolMask(l,this._maskService.maskExpression[o-1-u]??""),h=this._maskService._checkSymbolMask(l,this._maskService.maskExpression[o+1-u]??""),f=this._maskService.selStart===this._maskService.selEnd,m=Number(this._maskService.selStart)-u,v=Number(this._maskService.selEnd)-u;if("Backspace"===this._code)if(f){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(o-this.prefix.length,o+1-this.prefix.length))&&f)if(1===m&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+r.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,o-=1;else{const C=r.value.substring(0,o),D=r.value.substring(o);this._maskService.actualValue=C+this._maskService.placeHolderCharacter+D}}else this._maskService.actualValue=this._maskService.selStart===u?this.prefix+this._maskService.maskIsShown.slice(0,v)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+u?this._inputValue+this._maskService.maskIsShown.slice(m,v):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,m)+this._maskService.maskIsShown.slice(m,v)+this._maskService.actualValue.slice(v+u,this._maskService.maskIsShown.length+u)+this.suffix;"Backspace"!==this._code&&(d||h||!f?this._maskService.specialCharacters.includes(r.value.slice(o,o+1))&&h&&!this._maskService.specialCharacters.includes(r.value.slice(o+1,o+2))?(this._maskService.actualValue=r.value.slice(0,o-1)+r.value.slice(o,o+1)+l+r.value.slice(o+2),o+=1):d&&(this._maskService.actualValue=r.value.slice(0,o-1)+l+r.value.slice(o+1).split(this.suffix).join("")+this.suffix):o=Number(r.selectionStart)-1)}let s=0,a=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&o<10){const l=this._inputValue.slice(o-1,o);r.value=this._inputValue.slice(0,o-1)+l+this._inputValue.slice(o+1)}if("Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===r.value.slice(0,2)&&(r.value=r.value.slice(1,2)+r.value.slice(2,r.value.length)),r.value="00"===r.value?"0":r.value),this._maskService.applyValueChanges(o,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(l,u)=>{this._justPasted=!1,s=l,a=u}),this._getActiveElement()!==r)return;this._maskExpressionArray.length&&(o="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(o-1,o))?o-1:o:1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let c=this._position?this._inputValue.length+o+s:o+("Backspace"!==this._code||a?s:0);c>this._getActualInputLength()&&(c=this._getActualInputLength()),c<0&&(c=0),r.setSelectionRange(c,c),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof i);else this._maskService.applyValueChanges(r.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,this._justPasted=!0,this.onInput(t)}onBlur(t){if(this._maskValue){const r=t.target;if(this.leadZero&&r.value.length>0&&"string"==typeof this.decimalMarker){const i=this._maskService.maskExpression,o=Number(this._maskService.maskExpression.slice(i.length-1,i.length));if(o>1){r.value=this.suffix?r.value.split(this.suffix).join(""):r.value;const s=r.value.split(this.decimalMarker)[1];r.value=r.value.includes(this.decimalMarker)?r.value+"0".repeat(o-s.length)+this.suffix:r.value+this.decimalMarker+"0".repeat(o)+this.suffix,this._maskService.actualValue=r.value}}this._maskService.clearIfNotMatchFn()}this.onTouch()}onClick(t){if(!this._maskValue)return;const r=t.target;null!==r&&null!==r.selectionStart&&r.selectionStart===r.selectionEnd&&r.selectionStart>this._maskService.prefix.length&&38!==t.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),r.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===r.value?(r.focus(),r.setSelectionRange(0,0)):r.selectionStart>this._maskService.actualValue.length&&r.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const s=r&&(r.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:r.value);r&&r.value!==s&&(r.value=s),r&&"number"!==r.type&&(r.selectionStart||r.selectionEnd)<=this._maskService.prefix.length?r.selectionStart=this._maskService.prefix.length:r&&r.selectionEnd>this._getActualInputLength()&&(r.selectionEnd=this._getActualInputLength())}onKeyDown(t){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===t.key&&this.onCompositionEnd(t));this._code=t.code?t.code:t.key;const r=t.target;if(this._inputValue=r.value,this._setMask(),"number"!==r.type){if("ArrowUp"===t.key&&t.preventDefault(),"ArrowLeft"===t.key||"Backspace"===t.key||"Delete"===t.key){if("Backspace"===t.key&&0===r.value.length&&(r.selectionStart=r.selectionEnd),"Backspace"===t.key&&0!==r.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&r.selectionStart<=this.prefix.length)r.setSelectionRange(this.prefix.length,r.selectionEnd);else if(this._inputValue.length!==r.selectionStart&&1!==r.selectionStart)for(;this.specialCharacters.includes((this._inputValue[r.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&r.selectionStart>this.prefix.length||0===this.prefix.length);)r.setSelectionRange(r.selectionStart-1,r.selectionEnd);this.checkSelectionOnDeletion(r),this._maskService.prefix.length&&r.selectionStart<=this._maskService.prefix.length&&r.selectionEnd<=this._maskService.prefix.length&&t.preventDefault(),"Backspace"===t.key&&!r.readOnly&&0===r.selectionStart&&r.selectionEnd===r.value.length&&0!==r.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<r.selectionStart?r.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===t.code&&t.ctrlKey||"KeyA"===t.code&&t.metaKey)&&(r.setSelectionRange(0,this._getActualInputLength()),t.preventDefault()),this._maskService.selStart=r.selectionStart,this._maskService.selEnd=r.selectionEnd}}writeValue(t){var r=this;return rl(function*(){if("object"==typeof t&&null!==t&&"value"in t&&("disable"in t&&r.setDisabledState(!!t.disable),t=t.value),null!==t&&(t=r.inputTransformFn?r.inputTransformFn(t):t),"string"==typeof t||"number"==typeof t||null===t){let i=t;if("number"==typeof i||r._maskValue.startsWith("separator")){i=String(i);const o=r._maskService.currentLocaleDecimalMarker();Array.isArray(r._maskService.decimalMarker)||(i=r._maskService.decimalMarker!==o?i.replace(o,r._maskService.decimalMarker):i),r._maskService.leadZero&&i&&r.maskExpression&&!1!==r.dropSpecialCharacters&&(i=r._maskService._checkPrecision(r._maskService.maskExpression,i)),","===r._maskService.decimalMarker&&(i=i.toString().replace(".",",")),r.maskExpression?.startsWith("separator")&&r.leadZero&&requestAnimationFrame(()=>{r._maskService.applyMask(i?.toString()??"",r._maskService.maskExpression)}),r._maskService.isNumberValue=!0}"string"!=typeof i&&(i=""),r._inputValue=i,r._setMask(),i&&r._maskService.maskExpression||r._maskService.maskExpression&&(r._maskService.prefix||r._maskService.showMaskTyped)?("function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!0),r._maskService.formElementProperty=["value",r._maskService.applyMask(i,r._maskService.maskExpression)],"function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!1)):r._maskService.formElementProperty=["value",i],r._inputValue=i}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof t)})()}registerOnChange(t){this._maskService.onChange=this.onChange=t}registerOnTouched(t){this.onTouch=t}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}checkSelectionOnDeletion(t){t.selectionStart=Math.min(Math.max(this.prefix.length,t.selectionStart),this._inputValue.length-this.suffix.length),t.selectionEnd=Math.min(Math.max(this.prefix.length,t.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(t){this._maskService.formElementProperty=["disabled",t]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(t){const r=this._maskValue.split("").filter(i=>":"!==i).length;return t&&(0==+(t[t.length-1]??-1)&&t.length<r||t.length<=r-2)?this._createValidationError(t):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(t){return{mask:{requiredMask:this._maskValue,actualValue:t}}}_setMask(){this._maskExpressionArray.some(t=>{if(t.split("").some(i=>this._maskService.specialCharacters.includes(i))&&this._inputValue&&!t.includes("S")||t.includes("{")){const i=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(t)?.length;if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t.includes("{")?this._maskService._repeatPatternSymbols(t):t,i;{const o=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=o.includes("{")?this._maskService._repeatPatternSymbols(o):o}}else{const i=this._inputValue?.split("").every((o,s)=>{const a=t.charAt(s);return this._maskService._checkSymbolMask(o,a)});if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t,i}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=De({type:e,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(t,r){1&t&&qe("paste",function(){return r.onPaste()})("ngModelChange",function(o){return r.onModelChange(o)})("input",function(o){return r.onInput(o)})("compositionstart",function(o){return r.onCompositionStart(o)})("compositionend",function(o){return r.onCompositionEnd(o)})("blur",function(o){return r.onBlur(o)})("click",function(o){return r.onClick(o)})("keydown",function(o){return r.onKeyDown(o)})},inputs:{maskExpression:[0,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},features:[Rt([{provide:yi,useExisting:wt(()=>e),multi:!0},{provide:Jn,useExisting:wt(()=>e),multi:!0},ov]),Ni]}),e})();function zU(e,n){return n instanceof Function?{...e,...n()}:{...e,...n}}let vS=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:gS,useValue:t},{provide:yS,useValue:$U},{provide:Ip,useFactory:zU,deps:[yS,gS]},ov]}}static forChild(){return{ngModule:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Un({type:e}),e.\u0275inj=On({}),e})();const GU=[[["prefix"]],[["suffix"]]],WU=["prefix","suffix"];let _S=(()=>{class e{constructor(t,r){this.cdr=t,this.injector=r,this.value=null,this.disabled=!1,this.onChange=i=>{},this.onTouched=()=>{},this.trimAfterPaste=!1,this.autocomplete="false",this.password=!1,this.transparent=!1,this.placeholder="Enter a value...",this.type="text",this.validate=!0,this.dropSpecialCharacters=!0,this._paste=new Kt}ngOnInit(){this.initFormControl()}initFormControl(){this.formControl=this.injector.get(Ko)}get isInvalidControl(){return"invalid"===this.status||function RU(e){const{invalid:n,pristine:t,touched:r}=e;return!(!n||!r||t)}(this.formControl)&&this.validate}setValue(t){this.value=i5(t),this.onChange(t),this.cdr.detectChanges()}paste(t){t.stopPropagation(),setTimeout(()=>{this._paste.emit(t.target.value),this.cdr.detectChanges()})}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}writeValue(t){this.value=i5(t),this.cdr.detectChanges()}setDisabledState(t){this.disabled=t,this.cdr.detectChanges()}static#e=this.\u0275fac=function(r){return new(r||e)(x(Jc),x(It))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-form-input"]],inputs:{formControlName:"formControlName",minlength:"minlength",maxlength:"maxlength",trimAfterPaste:"trimAfterPaste",autocomplete:"autocomplete",password:"password",transparent:"transparent",placeholder:"placeholder",type:"type",mask:"mask",validate:"validate",dropSpecialCharacters:"dropSpecialCharacters",status:"status"},outputs:{_paste:"paste"},features:[Rt([{provide:yi,useExisting:wt(()=>e),multi:!0}])],ngContentSelectors:WU,decls:8,vars:13,consts:[["inputRef",""],[1,"__ndb-form-control"],[1,"__ndb-form-control-affix"],[1,"__ndb-input-container"],[1,"__ndb-form-control-input",3,"ngModelChange","blur","paste","type","placeholder","minlength","maxlength","mask","dropSpecialCharacters","ngModel"]],template:function(r,i){if(1&r){const o=ir();(function FE(e){const n=A()[Yt][Yn];if(!n.projection){const r=n.projection=Od(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?pk(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}})(GU),z(0,"div",1)(1,"div",2),Z1(2),G(),z(3,"div",3)(4,"input",4,0),qe("ngModelChange",function(a){return dt(o),ht(i.setValue(a))})("blur",function(){return dt(o),ht(i.onTouched())})("paste",function(a){return dt(o),ht(i.paste(a))}),G()(),z(6,"div",2),Z1(7,1),G()()}2&r&&(Ri("transparent",i.transparent)("invalid",i.isInvalidControl),P(4),ie("type",i.type)("placeholder",i.placeholder)("minlength",i.minlength)("maxlength",i.maxlength)("mask",i.mask)("dropSpecialCharacters",i.dropSpecialCharacters)("ngModel",i.value),Qn("data-locator",i.formControlName||i.placeholder)("autocomplete",i.autocomplete))},dependencies:[UU,lp,hl,Tp,fd,Cp],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-form-control[_ngcontent-%COMP%]{border:1px solid #c9ccd8;border-radius:4px;display:flex;align-items:center;box-shadow:0 2px #29304d14;padding:17px 10px}.__ndb-form-control-affix[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px}.__ndb-form-control.invalid[_ngcontent-%COMP%]{border:1px solid #f44336;color:#f44336}.__ndb-form-control.invalid[_ngcontent-%COMP%] .__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#eb001b}.__ndb-form-control.transparent[_ngcontent-%COMP%]{border:none;box-shadow:none}.__ndb-form-control[_ngcontent-%COMP%] .__ndb-input-container[_ngcontent-%COMP%]{display:flex;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]{display:block;width:100%;max-width:100%;border:none;outline:none;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#707797}"],changeDetection:0})}return e})();function qU(e,n){if(1&e&&(z(0,"span",4),we(1),G()),2&e){const t=X();ie("@ANTransform",void 0),P(),zn(t.paymentsErrorMsg())}}function ZU(e,n){if(1&e&&(z(0,"span",15),we(1),G()),2&e){X();const t=Tn(2);ie("@ANTransform",void 0),P(),zn(t.errors.invalidCardHolder)}}let wS=(()=>{class e extends ap{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.constants=Xr}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.cardForm,this.initForm(),this.initComputedFields(),iv(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,this.areRequiredFieldsFilled,this.onUpdate,this.context)}pasteCardNumber(t){const r=function gH(e){return e.replace(/\s/g,"")}(t);this.form.get("cardCredentials").get("cardNumber").setValue(r,{onlySelf:!0}),function VU(e,n,t=null,r=!0){n.forEach(i=>{const o=e.get(i);o||function kU(e){throw new Error(e)}(`Invalid form control name: "${i}"`),o.reset(t),r&&o.updateValueAndValidity()})}(this.form.get("cardCredentials"),["expiration","cvv"]),this.detect()}resetForm(){this.form.reset(),this.localDetect()}onFocus(t){switch(t){case"number":this.context.events.analytics.emit(new Xt("card-number-field-focus"),!0);break;case"cvv":this.context.events.analytics.emit(new Xt("cvv-field-focus"),!0);break;case"holder":this.context.events.analytics.emit(new Xt("card-holder-field-focus"),!0);break;case"expiration":this.context.events.analytics.emit(new Xt("expiration-date-field-focus"),!0)}}initForm(){this.form=this.fb.group({cardCredentials:this.fb.group({cardNumber:[null,[Do.required,Mp.luhnAlgorithm,Mp.cardNumberLength]],expiration:[null,[Do.required,Do.minLength(4),Do.maxLength(4),Mp.cardExpiration]],cvv:[null,[Do.required,Mp.cardCodeLength()]]}),cardHolder:[null,[Do.required,Do.maxLength(Xr.card.holder.length.max)]]})}initComputedFields(){this.isCredentialsErrorShown=st(()=>{const t=this.form.get("cardCredentials");return this.componentState().canShowError&&t.invalid}),this.isCardHolderErrorShown=st(()=>{const t=this.form.get("cardHolder");return this.componentState().canShowError&&t.invalid}),this.paymentDetailsHeader=st(()=>{const t=this.settings();return`${t.language.requisites.paymentDetailsHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.nameOnCardHeader=st(()=>{const t=this.settings();return`${t.language.requisites.cardHolderHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.paymentsErrorMsg=st(()=>{const t=this.form.get("cardCredentials"),[r]=function FU(e){return function LU(e){return Object.entries(e.controls).filter(([,n])=>n.invalid)}(e).map(([n])=>n)}(t),i=this.settings().language.errors;switch(this.componentState(),r){case"cardNumber":return i.invalidCardNumber;case"expiration":return i.invalidCardExpiration;case"cvv":return i.invalidCvv}})}areRequiredFieldsFilled(t){const{cardCredentials:r,cardHolder:i}=t;return r?.cvv&&r?.cardNumber&&r?.expiration&&i}onUpdate(t,r){const{cardCredentials:i,cardHolder:o}=t;r.data.userProvidedInfo.update(s=>({...s,paymentSystemName:"card",requisites:{type:"card",value:{cvv:i.cvv,expiration:i.expiration,number:i.cardNumber,holder:o}}}))}static#e=this.\u0275fac=function(r){return new(r||e)(x(It),x(rv),x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-card-form"]],features:[it],decls:32,vars:49,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","card-credentials-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],["formGroupName","cardCredentials",1,"__ndb-form-stage-controls","__ndb-form-stage-controls_credentials"],["id","card-number-field","formControlName","cardNumber","type","tel","autocomplete","cc-number",1,"__ndb-form-stage-controls_card-number",3,"paste","focusin","placeholder","mask","transparent","validate","status"],["ngProjectAs","suffix",5,["suffix"],1,"__ndb-form-stage-controls_card-number-logo",3,"src"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_x"],[1,"__ndb-form-stage-controls-group"],["id","card-expiration-field","formControlName","expiration","mask","00 / 00","type","tel","autocomplete","cc-exp",1,"__ndb-form-stage-controls_expiration",3,"focusin","placeholder","transparent","validate","status"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_y"],["id","card-cvv-field","formControlName","cvv","type","tel",1,"__ndb-form-stage-controls_cvv",3,"focusin","mask","dropSpecialCharacters","placeholder","transparent","validate","status"],["tabindex","-1","ngProjectAs","suffix",5,["suffix"]],[1,"material-icons","font-description","block","fz-18","cursor-default"],["data-locator","card-holder-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","card-holder-field","formControlName","cardHolder","autocomplete","cc-name",3,"focusin","placeholder","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=ir();di(0)(1)(2),z(3,"form",0)(4,"div",1)(5,"div",2)(6,"h6",3),we(7),G(),We(8,qU,2,2,"span",4),G(),z(9,"div",5)(10,"moto-form-input",6),Lt(11,"cardInfo"),qe("paste",function(a){return dt(o),ht(i.pasteCardNumber(a))})("focusin",function(){return dt(o),ht(i.onFocus("number"))}),ft(12,"moto-picture",7),Lt(13,"cardInfo"),G(),ft(14,"div",8),z(15,"div",9)(16,"moto-form-input",10),qe("focusin",function(){return dt(o),ht(i.onFocus("expiration"))}),G(),ft(17,"div",11),z(18,"moto-form-input",12),Lt(19,"cardInfo"),Lt(20,"cardInfo"),qe("focusin",function(){return dt(o),ht(i.onFocus("cvv"))}),z(21,"div",13),Lt(22,"cardInfo"),z(23,"i",14),we(24,"error"),G()()()()()(),z(25,"div",1)(26,"div",2)(27,"h6",3),we(28),G(),We(29,ZU,2,2,"span",15),G(),z(30,"div",16)(31,"moto-form-input",17),qe("focusin",function(){return dt(o),ht(i.onFocus("holder"))}),G()()()()}if(2&r){const o=i.isCardHolderErrorShown(),s=i.isCredentialsErrorShown();P(2);const a=Or(i.settings().language);P(),ie("formGroup",i.form),P(4),jt(" ",i.paymentDetailsHeader()," "),P(),ot(s?8:-1),P(),Ri("invalid",s),P(),ie("placeholder",a.requisites.cardNumberPlaceholder)("mask",Kc(11,29,i.form.value.cardCredentials.cardNumber,"card-number-mask","0000 0000 0000 0000"))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),P(2),ie("src",or(13,33,i.form.value.cardCredentials.cardNumber,"logo")),P(4),ie("placeholder",a.requisites.cardExpirationPlaceholder)("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),P(2),ie("mask",Kc(19,36,i.form.value.cardCredentials.cardNumber,"code-mask","000"))("dropSpecialCharacters",!1)("placeholder",function b8(e,n,t,r,i,o){const s=e+re,a=A(),c=ea(a,s);return Pu(a,s)?_8(a,hr(),n,c.transform,t,r,i,o,c):c.transform(t,r,i,o)}(20,40,i.form.value.cardCredentials.cardNumber,"code","CVV",a.requisites.cvvPlaceholder))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),P(3),Qn("data-tooltip",Kc(22,45,i.form.value.cardCredentials.cardNumber,"secure-text",a.requisites.cvvHint)),P(7),jt(" ",i.nameOnCardHeader()," "),P(),ot(o?29:-1),P(2),ie("placeholder",a.requisites.cardHolderPlaceholder)("maxlength",i.constants.card.holder.length.max)("validate",!1)("status",o?"invalid":"valid")}},dependencies:[Ep,hl,hp,fd,ml,hd,Dp,al,_S,Fy],data:{animation:[My()]},changeDetection:0})}return e})();function YU(e,n){if(1&e&&(z(0,"span",4),we(1),G()),2&e){X();const t=Tn(0);ie("@ANTransform",void 0),P(),jt(" ",t.errors.invalidPhoneNumber,"")}}let bS=(()=>{class e extends ap{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.phoneConstants=Xr.phoneNumber}ngOnInit(){this.componentState=this.context.componentsStates.additionalForm,this.cardFormState=this.context.componentsStates.cardForm,this.settings=this.context.data.settings,this.initComputed(),this.initForm(),iv(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,t=>!!t.phoneNumber)}onFocus(){this.context.events.analytics.emit(new Xt("number-field-focus"),!0)}initForm(){this.form=this.fb.group({phoneNumber:["",[Do.minLength(Xr.phoneNumber.length.min),Do.maxLength(Xr.phoneNumber.length.max)]]})}initComputed(){this.header=st(()=>{const t=this.settings();return`${t.language.phone.header}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.isErrorShown=st(()=>{const t=this.componentState();return t.canShowError&&!t.isValid})}static#e=this.\u0275fac=function(r){return new(r||e)(x(It),x(rv),x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-additional-form"]],features:[it],decls:10,vars:9,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","phone-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","phone-number-field","formControlName","phoneNumber","autocomplete","tel","type","tel",3,"focusin","placeholder","minlength","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=ir();di(0)(1),z(2,"form",0)(3,"div",1)(4,"div",2)(5,"h6",3),we(6),G(),We(7,YU,2,2,"span",4),G(),z(8,"div",5)(9,"moto-form-input",6),qe("focusin",function(){return dt(o),ht(i.onFocus())}),G()()()()}if(2&r){const o=Or(i.settings().language),s=i.isErrorShown();P(2),ie("formGroup",i.form),P(4),zn(i.header()),P(),ot(s?7:-1),P(2),ie("placeholder",o.phone.placeholder)("minlength",i.phoneConstants.length.min)("maxlength",i.phoneConstants.length.max)("validate",!1)("status",s?"invalid":"valid")}},dependencies:[Ep,hl,hp,Tp,fd,ml,hd,_S],data:{animation:[My()]},changeDetection:0})}return e})(),xp=(()=>{class e{constructor(t){this.sanitizer=t}transform(t,r){if(!t)return t;const i=this.parseLinks(t,r);return this.sanitizer.bypassSecurityTrustHtml(i)}parseLinks(t,r){return t.replace(/\{\s*href:\s*['"]([^'"]+)['"],\s*text:\s*['"]([^'"]+)['"]\s*\}/g,`<a href="$1" ${r?`class="${r}"`:""} target="_blank">$2</a>`)}static#e=this.\u0275fac=function(r){return new(r||e)(x(ay,16))};static#t=this.\u0275pipe=En({name:"linkify",type:e,pure:!0})}return e})();function KU(e,n){if(1&e){const t=ir();z(0,"label",5)(1,"input",6),qe("ngModelChange",function(i){dt(t);const o=X(),s=o.$implicit,a=o.$index;return ht(X(2).onChange(s,a,i))})("focusin",function(){dt(t);const i=X(),o=i.$implicit,s=i.$index;return ht(X(2).onFocus(o,s))}),G(),ft(2,"span",7)(3,"span",8),Lt(4,"linkify"),G()}if(2&e){const t=X(),r=t.$implicit,i=t.$index,o=X(2),s=Tn(2);P(),ie("name","charge-term-"+i)("id","charge-term-"+i)("formControlName",i),P(),Ri("invalid",s&&!o.form.get("checkboxes").get(i.toString()).value),P(),ie("innerHTML",or(4,6,r,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),_s)}}function XU(e,n){1&e&&We(0,KU,5,9,"label",5),2&e&&ot(n.$implicit?0:-1)}function QU(e,n){if(1&e&&(z(0,"form",1),Wc(1,4),Vi(2,XU,1,1,null,null,zo),qc(),G()),2&e){const t=X(),r=Tn(1);ie("formGroup",t.form),P(2),$i(r.checkboxes)}}function JU(e,n){if(1&e&&(z(0,"p",2),Lt(1,"linkify"),we(2),G()),2&e){X();const t=Tn(1);ie("innerHTML",or(1,2,t.text,"fz-12 fw-500 font-description"),_s),P(2),jt(" ",t.text," ")}}function ez(e,n){if(1&e&&(z(0,"span",3),we(1),G()),2&e){X();const t=Tn(0);ie("@ANTransform",void 0),P(),jt(" ",t.language.errors.notCheckedCheckboxes," ")}}let CS=(()=>{class e extends ap{constructor(t,r,i){super(r),this.context=t,this.injector=r,this.fb=i}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.chargeTerms,this.isErrorShown=st(()=>this.componentState().canShowError&&!this.componentState().isValid),this.initForm()?iv(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,()=>!0):this.componentState.update(t=>({...t,isValid:!0}))}onChange(t,r,i){this.context.events.analytics.emit(new Xt(i?`charge-term-checkbox-${r}-check`:`charge-term-checkbox-${r}-uncheck`,{text:t}))}onFocus(t,r){this.context.events.analytics.emit(new Xt(`charge-term-checkbox-${r}-focus`,{text:t}),!0)}initForm(){const t=this.settings().chargeTerms;if(!t.checkboxes?.length)return!1;const r=t.checkboxes.map(()=>this.fb.control(!1,Do.requiredTrue));return this.form=this.fb.group({checkboxes:this.fb.array(r)}),!0}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(It),x(rv))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-charge-terms"]],features:[it],decls:7,vars:6,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes",3,"formGroup"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],["data-locator","charge-terms-error",1,"fz-14","fw-500","font-error"],["formArrayName","checkboxes"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","formControlName"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(di(0)(1)(2),z(3,"div",0),We(4,QU,4,1,"form",1)(5,JU,3,5,"p",2)(6,ez,2,2,"span",3),G()),2&r){const o=Or(i.settings());P();const s=Or(o.chargeTerms);P();const a=Or(i.isErrorShown());P(2),ot(null!=s.checkboxes&&s.checkboxes.length?4:-1),P(),ot(s.text?5:-1),P(),ot(a?6:-1)}},dependencies:[Ep,cp,hl,hp,ml,hd,Sp,xp],data:{animation:[My()]},changeDetection:0})}return e})();function ES(e){const n=function nz(e){return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="description" content="Waiting payment approval">\n\n <title>Moto pay</title>\n </head>\n <body>\n <div class="waiting">\n <div class="section">\n <h2 class="waiting__title">${e.paymentProcessing}</h2>\n <div class="section__content __ndb-spinner-container">\n <div class="spinner">\n <div class="lds-ring">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n </div>\n <div class="spinner__extra"></div>\n </div>\n </div>\n </div>\n </div>\n </body>\n </html>`}(e);let s=n.replace("</head>",'<style>\n\n .waiting__title {\n position: relative;\n z-index: 101;\n font-family: "Poppins", Helvetica, Arial, sans-serif;\n color: #29304d;\n font-size: 16px;\n margin: 0;\n text-align: center;\n transform: translateY(108px);\n }\n .__ndb__moto-modal-backdrop {\n background-color: #e5e5e5 !important;\n }\n .__ndb__moto-modal .header {\n margin: 0;\n }\n .section__content {\n margin: 0 auto;\n width: 870px;\n }\n @media screen and (max-width: 1000px) {\n .section__content {\n width: 720px;\n }\n }\n @media screen and (max-width: 768px) {\n .section__content {\n width: 375px;\n }\n }\n @media screen and (max-width: 375px) {\n .section__content {\n width: 320px;\n }\n }\n .spinner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 330px;\n }\n .spinner_small {\n height: 70px;\n }\n .spinner_extra {\n height: 550px;\n }\n .lds-ring {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 64px;\n height: 64px;\n margin: 8px;\n border: 8px solid #6936d3;\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: #6936d3 transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.45s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.15s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n</style>\n</head>');return s=s.replace("</body>","<script>\n\n const messageKey = '__moto_pay_message';\n\n function inputTemplate(name, value) {\n return `<input type=\"hidden\" name=\"${name}\" value=\"${value}\" />`;\n }\n \n function formTemplate(redirectUrl, inputsTpl) {\n return `<form action=\"${redirectUrl}\" method=\"post\">${inputsTpl}</form>`;\n }\n \n function makeFormTemplate(threeDsData) {\n const inputsTemplate = Object.entries(threeDsData).reduce((accum, [key, value]) => {\n const inputTpl = inputTemplate(key, value);\n return (accum += `${inputTpl}\n`);\n }, '');\n const template = formTemplate(threeDsData.acsurl, inputsTemplate);\n return template;\n }\n \n function simpleRedirect(url) {\n window.location.replace(url);\n }\n \n function postRedirect(threeDsData) {\n const template = makeFormTemplate(threeDsData);\n \n setTimeout(() => {\n document.body.innerHTML = template;\n const form = document.body.querySelector('form');\n form.submit();\n });\n }\n \n function onMessageReceived(event) {\n if (event.data && event.data.key == messageKey) {\n if (event.data.type == 'simpleRedirect') {\n simpleRedirect(event.data?.redirectData?.location);\n }\n \n if (event.data.type == 'postRedirect') {\n postRedirect(event.data.threeDsData);\n }\n }\n }\n\n window.addEventListener('message', onMessageReceived, false);\n \n<\/script>\n</body>"),s}CT();class Ap{constructor(){this.postMessageKey="__moto_pay_message"}tryOpenBlankWindow(n){return this.window||(this.window=window.open("","_blank")??void 0,n&&this.window?.document?.write(n)),this.window}threeDsRedirect(n){this.window?.postMessage({key:this.postMessageKey,type:"postRedirect",threeDsData:n})}redirect(n){this.window?.postMessage({key:this.postMessageKey,type:"simpleRedirect",redirectData:n})}closeWindow(){this.window?.close(),this.window=void 0}}let DS=(()=>{class e{constructor(t){this.window=t}transform(t,r){return Number(t).toLocaleString(this.window.navigator.language,{style:"currency",currency:r})}static#e=this.\u0275fac=function(r){return new(r||e)(x(o5,16))};static#t=this.\u0275pipe=En({name:"currencySymbol",type:e,pure:!0})}return e})(),iz=(()=>{class e{transform(t,r,i){return r&&i&&"net"==i?t+r:t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=En({name:"price",type:e,pure:!0})}return e})();function oz(e,n){if(1&e&&(z(0,"span",4),we(1),G()),2&e){X();const t=Tn(3);P(),zn(t.taxDescription)}}function sz(e,n){if(1&e&&(ft(0,"div",9),z(1,"div",10),ft(2,"moto-picture",11),Lt(3,"cardInfo"),z(4,"span",12),we(5),Lt(6,"slice"),G()()),2&e){const t=n;P(2),ie("src",or(3,2,t.name,"logo")),P(3),jt(" \u2022\u2022",or(6,5,t.name,-4)," ")}}let SS=(()=>{class e{constructor(t,r,i){this.context=t,this.processing=r,this.windowService=i}ngOnInit(){this.settings=this.context.data.settings,this.payment=this.context.data.payment,this.userProvidedInfo=this.context.data.userProvidedInfo,this.paymentAvailability=this.context.computed.paymentAvailability,this.existingCard=st(()=>{const t=this.userProvidedInfo();if("existing-card"===t?.requisites?.type&&t.requisites?.value)return t.requisites.value})}pay(){if(this.context.events.analytics.emit(new Xt("pay-button-click")),!this.context.computed.paymentAvailability().canPay.byCard)return void this.context.updateCanShowError(!0);this.windowService.tryOpenBlankWindow(ES(this.settings().language));const t=this.processing.pay();this.context.data.state.set({type:"payLoading",payload:{observable:t}})}onFocus(){this.context.events.analytics.emit(new Xt("pay-button-focus"),!0)}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(id),x(Ap))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-pay-button"]],decls:23,vars:23,consts:[[1,"__ndb-pay"],[1,"__ndb-pay-info"],[1,"__ndb-pay-title","fz-18","fw-600"],["data-locator","total-cost",1,"fz-24","fw-700"],["id","tax-description",1,"fz-11","fw-500","font-description"],["id","pay-button","data-locator","btn-submit",1,"__ndb-pay-btn","button-submit","full-width",3,"click","focusin","ngClass","disabled"],[1,"__ndb-pay-btn-content"],[1,"__ndb-pay-btn-cost-side"],["data-locator","btn-submit-cost"],[1,"__ndb-pay-btn-separator"],[1,"__ndb-pay-btn-card-side"],[1,"__ndb-pay-btn-card-side-logo",3,"src"],["data-locator","btn-submit-card-number",1,"__ndb-pay-btn-card-side-number"]],template:function(r,i){if(1&r){const o=ir();di(0)(1)(2)(3),z(4,"div",0)(5,"div",1)(6,"span",2),we(7),G(),z(8,"span",3),we(9),Lt(10,"price"),Lt(11,"currencySymbol"),G()(),We(12,oz,2,1,"span",4),z(13,"button",5),qe("click",function(){return dt(o),ht(i.pay())})("focusin",function(){return dt(o),ht(i.onFocus())}),z(14,"div",6)(15,"div",7)(16,"span"),we(17),z(18,"span",8),we(19),Lt(20,"price"),Lt(21,"currencySymbol"),G()()(),We(22,sz,7,8),G()()()}if(2&r){let o;const s=i.payment(),a=i.paymentAvailability(),c=i.settings();P(3);const l=Or(c.language);P(4),zn(l.totalHeader),P(2),zn(or(11,13,Kc(10,9,s.amount,s.tax,s.amountType),s.currency)),P(3),ot(c.isTaxVisible&&l.taxDescription?12:-1),P(),ie("ngClass",a.buttonDisableClass)("disabled",a.isPayButtonDisabled),P(4),jt(" ",l.pay," "),P(2),jt(" ",or(21,20,Kc(20,16,s.amount,s.tax,s.amountType),s.currency)," "),P(3),ot((o=i.existingCard())?22:-1,o)}},dependencies:[H0,al,DS,Z0,Fy,iz],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-pay[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.__ndb-pay-info[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;margin-bottom:7px}.__ndb-pay-btn[_ngcontent-%COMP%]{margin-top:7px}.__ndb-pay-btn-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;width:100%}.__ndb-pay-btn-separator[_ngcontent-%COMP%]{width:2px;height:18px;opacity:.3;background-color:var(--ndb-button-color)}.__ndb-pay-btn-card-side[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.__ndb-pay-btn-card-side-logo[_ngcontent-%COMP%]{height:24px;width:36px}"],changeDetection:0})}return e})(),Np=(()=>{class e{constructor(){this.signals={}}getOrSetItemSignal(t,r){const i=window.sessionStorage.getItem(t);return i?this.signals[t]?JSON.stringify(this.signals[t]())!==i&&this.signals[t].set(JSON.parse(i)):this.signals[t]=Qe(JSON.parse(i)):this.setItem(t,r),this.signals[t]}setItem(t,r){window.sessionStorage.setItem(t,JSON.stringify(r)),this.signals[t]?this.signals[t].set(r):this.signals[t]=Qe(r)}removeItem(t){window.sessionStorage.removeItem(t),this.signals[t]?.set(void 0)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),az=(()=>{class e{constructor(t,r){this.renderer=t,this.elRef=r,this.buttonClick=new Kt,this.buttonStyle="white-outline",this.locale="en-US",this.type="continue"}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){const t=this.renderer.createElement("apple-pay-button");this.renderer.setAttribute(t,"type",this.type),this.renderer.setAttribute(t,"buttonstyle",this.buttonStyle),this.renderer.setAttribute(t,"locale",this.locale),this.buttonClickListener=this.renderer.listen(t,"click",r=>this.buttonClick.emit(r)),this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ho),x(zr))};static#t=this.\u0275dir=De({type:e,selectors:[["","motoApplePayButton",""]],inputs:{buttonStyle:"buttonStyle",locale:"locale",type:"type"},outputs:{buttonClick:"buttonClick"}})}return e})(),cz=(()=>{class e{set _let(t){this.context.let=t}constructor(t,r){this.viewContainer=t,this.tpl=r,this.context={let:null}}ngOnInit(){this.viewContainer.createEmbeddedView(this.tpl,this.context)}static#e=this.\u0275fac=function(r){return new(r||e)(x(Oi),x(_o))};static#t=this.\u0275dir=De({type:e,selectors:[["","let",""]],inputs:{_let:[0,"let","_let"]}})}return e})();const lz=(e,n)=>n.name,uz=e=>({applepay:e}),dz=e=>({$implicit:e});function hz(e,n){if(1&e){const t=ir();z(0,"div",4)(1,"span",6),qe("click",function(){return dt(t),ht(X(2).apmsCollapseClick())}),we(2),G()()}if(2&e){X(2);const t=Tn(2);P(),ie("ngClass",t.apmsCollapse?"__ndb-apm-list__delimiter-text__apms-collapse":""),P(),zn(t.apmsCollapse?t.language.apms.orUseAlternative:t.language.apms.or)}}function fz(e,n){if(1&e&&Zc(0,7),2&e){const t=n.$implicit,r=X(2).let;X();const i=X1(5);ie("ngTemplateOutlet",t.logo?i:r[t.name])("ngTemplateOutletContext",s0(2,dz,t))}}function pz(e,n){if(1&e&&(z(0,"div",5),Vi(1,fz,1,4,"ng-container",7,lz),G()),2&e){X(2);const t=Tn(0);P(),$i(t)}}function mz(e,n){if(1&e&&(z(0,"div",3),We(1,hz,3,2,"div",4)(2,pz,3,0,"div",5),G()),2&e){let t;const r=X(),i=Tn(2);P(),ot(r.cardPaymentAvailable()?1:-1),P(),ot(i.apmsCollapse&&r.apmsCollapsed&&(null===(t=r.apmsCollapsed())||void 0===t||t)?-1:2)}}function gz(e,n){if(1&e){const t=ir();z(0,"button",8),qe("focusin",function(){const i=dt(t).$implicit;return ht(X().onFocus(i))})("click",function(){const i=dt(t).$implicit;return ht(X().pay(i))}),ft(1,"img",9),G()}if(2&e){const t=n.$implicit;X();const r=Tn(1);ie("id","apm-"+(null==t?null:t.name)+"-button")("ngClass",r.elementDisableClass),P(),ie("src",t.logo,Jl)("alt",t.name)}}function yz(e,n){if(1&e){const t=ir();z(0,"button",10),qe("buttonClick",function(){const i=dt(t).$implicit;return ht(X().pay(i))})("focusin",function(){const i=dt(t).$implicit;return ht(X().onFocus(i))}),G()}2&e&&(X(),ie("ngClass",Tn(1).elementDisableClass))}let TS=(()=>{class e{constructor(t,r,i,o,s,a){this.context=t,this.processingService=r,this.mapper=i,this.applePayService=o,this.sessionStorage=s,this.windowService=a,this.apms=Qe([])}ngOnInit(){this.settings=this.context.data.settings,this.paymentInfo=this.context.data.payment,this.settings().apmsCollapse&&(this.apmsCollapsed=this.sessionStorage.getOrSetItemSignal(Xr.keys.apmsCollapse,!0)),this.paymentAvailability=this.context.computed.paymentAvailability,this.apms=st(()=>{let t=this.context.data.loadedPaymentSystems().filter(i=>"card"!==i.name);return this.mapper.mapApms(t)}),this.cardPaymentAvailable=st(()=>this.context.componentsStates.cardForm().enabled||this.context.componentsStates.cardList().enabled)}pay(t){if(this.context.events.analytics.emit(new Xt(`${t.name}-button-click`)),this.paymentAvailability().canPay.byApm)if("applepay"===t.name){const r=Ns(this.settings().urls.processing,`api/applepay/${this.paymentInfo().merchantId}/merchantValidation`);this.applePayService.pay(this.paymentInfo(),r).subscribe({next:i=>{t.token=i,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()})}else this.windowService.tryOpenBlankWindow(ES(this.settings().language)),this.makePaymentAndRedirect(t);else this.context.updateCanShowErrorForApm(!0)}onFocus(t){this.context.events.analytics.emit(new Xt(`${t.name}-button-focus`),!0)}apmsCollapseClick(){if(this.settings().apmsCollapse){const t=this.apmsCollapsed();this.sessionStorage.setItem(Xr.keys.apmsCollapse,!t),this.context.events.analytics.emit(new Xt("apms-show-button-click",{show:t}))}}makePaymentAndRedirect(t){this.context.data.userProvidedInfo.update(i=>({...i,paymentSystemName:t.name,requisites:{type:"apm",value:t}}));const r=this.processingService.pay();this.context.data.state.set({type:"payLoading",payload:{observable:r}})}apmTokenError(){this.windowService.closeWindow(),this.context.data.state.set({type:"result",payload:{}})}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(id),x(gl),x(Ry),x(Np),x(Ap))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-apm-list"]],decls:8,vars:6,consts:[["apmDefaultRef",""],["applePayRef",""],["class","__ndb-apm-list",4,"let"],[1,"__ndb-apm-list"],[1,"__ndb-apm-list__delimiter"],[1,"__ndb-apm-list-apms"],["id","apms-collapse-button",1,"__ndb-apm-list__delimiter-text","fz-12",3,"click","ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"__ndb-apm-list-apms__item",3,"focusin","click","id","ngClass"],[1,"__ndb-apm-list-apms__item-img",3,"src","alt"],["id","apm-applepay-button","motoApplePayButton","",1,"__ndb-apm-list-apms__item","moto-apple-pay-button",3,"buttonClick","focusin","ngClass"]],template:function(r,i){if(1&r&&(di(0)(1)(2),We(3,mz,3,2,"div",2)(4,gz,2,4,"ng-template",null,0,a0)(6,yz,1,1,"ng-template",null,1,a0)),2&r){const o=X1(7);Or(i.apms()),P(),Or(i.paymentAvailability()),P(),Or(i.settings()),P(),ie("let",s0(4,uz,o))}},dependencies:[H0,J3,az,cz],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]{margin-bottom:28px;display:flex;flex-direction:row;justify-content:center;align-items:center}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before, .__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{content:"";height:1px;flex:1;background-color:#c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before{margin-right:10px}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{margin-left:10px}.__ndb-apm-list__delimiter-text[_ngcontent-%COMP%]{font-weight:500;color:#636b8a}.__ndb-apm-list__delimiter-text__apms-collapse[_ngcontent-%COMP%]{-webkit-text-decoration:underline #636b8a dotted;text-decoration:underline #636b8a dotted;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-apm-list-apms[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]{position:relative;width:100%;height:60px;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:#e8eaf3;transition:box-shadow .25s ease-out;will-change:box-shadow;border-radius:4px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:hover:not(.disabled-element):not(.hidden-enabled-element){box-shadow:0 2px 3px #2f45704d}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:not(.disabled-element):not(.hidden-enabled-element){cursor:pointer}.__ndb-apm-list-apms__item-img[_ngcontent-%COMP%]{position:absolute;width:60%;height:100%;left:20%;top:0;object-fit:contain}.moto-apple-pay-button[_ngcontent-%COMP%]{--apple-pay-button-height: 60px;--apple-pay-button-width: 100%;width:100%;height:60px;padding:0}'],changeDetection:0})}return e})();function vz(e,n){if(1&e){const t=ir();z(0,"label",3)(1,"input",4),J1("ngModelChange",function(i){dt(t);const o=X().$implicit;return function d8(e,n){const t=Zb(e);return t&&e.set(n),t}(o.value,i)||(o.value=i),ht(i)}),qe("ngModelChange",function(){dt(t);const i=X(),o=i.$implicit,s=i.$index;return ht(X(2).onChange(o,s))})("focusin",function(){dt(t);const i=X(),o=i.$implicit,s=i.$index;return ht(X(2).onFocus(o,s))}),G(),ft(2,"span",5)(3,"span",6),Lt(4,"linkify"),G()}if(2&e){const t=X().$implicit;P(),ie("name","user-preference-"+t.name)("id","user-preference-"+t.name),Q1("ngModel",t.value),P(2),ie("innerHTML",or(4,4,t.text,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),_s)}}function _z(e,n){1&e&&We(0,vz,5,7,"label",3),2&e&&ot(n.$implicit.text?0:-1)}function wz(e,n){if(1&e&&(z(0,"div",1),Vi(1,_z,1,1,null,null,zo),G()),2&e){const t=X();P(),$i(t.userPreferenceCheckboxes)}}function bz(e,n){1&e&&(ft(0,"p",2),Lt(1,"linkify")),2&e&&(X(),ie("innerHTML",or(1,1,Tn(0).userPreferences.text,"fz-12 fw-500 font-description"),_s))}let MS=(()=>{class e extends ap{constructor(t,r){super(t),this.injector=t,this.context=r,this.userPreferenceCheckboxes=[]}ngOnInit(){this.settings=this.context.data.settings,this.update(this.settings().userPreferences)}reset(){this.update(this.settings().userPreferences)}onChange(t,r){this.context.data.userProvidedInfo.update(o=>({...o,userPreferences:this.userPreferenceCheckboxes}));this.context.events.analytics.emit(new Xt(t.value?`user-preference-checkbox-${r}-check`:`user-preference-checkbox-${r}-uncheck`,{name:t.name,text:t.text}))}onFocus(t,r){this.context.events.analytics.emit(new Xt(`user-preference-checkbox-${r}-focus`,{name:t.name,text:t.text}),!0)}update(t){t?.checkboxes?.length?(this.userPreferenceCheckboxes=t.checkboxes.map(r=>({name:r.name,text:r.text,value:!!r.defaultValue})),this.context.data.userProvidedInfo.update(r=>({...r,userPreferences:this.userPreferenceCheckboxes})),this.localDetect()):this.userPreferenceCheckboxes=[]}static#e=this.\u0275fac=function(r){return new(r||e)(x(It),x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-user-preferences"]],features:[it],decls:4,vars:3,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","ngModel"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(di(0),z(1,"div",0),We(2,wz,3,0,"div",1)(3,bz,2,4,"p",2),G()),2&r){const o=Or(i.settings());P(2),ot(i.userPreferenceCheckboxes.length?2:-1),P(),ot(null!=o&&null!=o.userPreferences&&o.userPreferences.text?3:-1)}},dependencies:[cp,hl,Cp,xp],styles:[".__ndb-settings-checkboxes-checkbox-checkmark[_ngcontent-%COMP%]{border-radius:2px}"],changeDetection:0})}return e})();function Cz(e,n){1&e&&(z(0,"span",4),we(1,"\xb7"),G())}function Ez(e,n){if(1&e&&(z(0,"a",3),we(1),G(),We(2,Cz,2,0,"span",4)),2&e){const t=n.$implicit,r=n.$index,i=n.$count;ie("href",t.href,Jl),P(),jt(" ",t.text," "),P(),ot(r!==i-1?2:-1)}}function Dz(e,n){if(1&e&&(z(0,"div",1),Vi(1,Ez,3,3,null,null,zo),G()),2&e){X(2);const t=Tn(0);P(),$i(t.links)}}function Sz(e,n){1&e&&(ft(0,"p",2),Lt(1,"linkify")),2&e&&(X(2),ie("innerHTML",or(1,1,Tn(0).text,"__ndb-merchant-info-checkbox-link fz-12 fw-500 font-description"),_s))}function Tz(e,n){if(1&e&&(z(0,"div",0),We(1,Dz,3,0,"div",1)(2,Sz,2,4,"p",2),G()),2&e){X();const t=Tn(0);P(),ot(null!=t.links&&t.links.length?1:-1),P(),ot(t.text?2:-1)}}let IS=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-merchant-info"]],decls:2,vars:2,consts:[[1,".__ndb-merchant-info"],[1,"__ndb-merchant-info-links"],[1,"__ndb-merchant-info-description","fz-11","fw-500","font-description",3,"innerHTML"],["target","_blank",1,"__ndb-merchant-info-links-link","fz-12","fw-500","font-description",3,"href"],[1,"__ndb-merchant-info-links-separator","fz-12","fw-500","font-description"]],template:function(r,i){if(1&r&&(di(0),We(1,Tz,3,2,"div",0)),2&r){const o=Or(i.settings().merchantInfo);P(),ot(null!=o.links&&o.links.length||o.text?1:-1)}},dependencies:[xp],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-merchant-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:28px;padding:0 28px 28px}@media (max-width: 768px){.__ndb-merchant-info[_ngcontent-%COMP%]{padding-bottom:14px}}.__ndb-merchant-info-links[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap}.__ndb-merchant-info-links-link[_ngcontent-%COMP%]{white-space:nowrap;text-decoration-line:underline}.__ndb-merchant-info-links-separator[_ngcontent-%COMP%]{margin:0 10px;white-space:nowrap}.__ndb-merchant-info-description[_ngcontent-%COMP%]{text-align:left;line-height:1.1;color:#000}"],changeDetection:0})}return e})(),xS=(()=>{class e{transform(t){return`https://cdn.motopays.com/images/${t}`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=En({name:"image",type:e,pure:!0})}return e})();function Mz(e,n){1&e&&(ft(0,"moto-picture",3),Lt(1,"image")),2&e&&ie("src",ku(1,1,"visa-secure.svg"))}function Iz(e,n){1&e&&(ft(0,"moto-picture",3),Lt(1,"image")),2&e&&ie("src",ku(1,1,"master-card-secure.svg"))}function xz(e,n){if(1&e&&(z(0,"div",0)(1,"p",1),we(2),G(),z(3,"div",2),We(4,Mz,2,3,"moto-picture",3)(5,Iz,2,3,"moto-picture",3),G()()),2&e){const t=X();P(2),jt(" ",t.settings().language.transactionProtectedBy," "),P(2),ot(t.isVisaAvailable()?4:-1),P(),ot(t.isMastercardAvailable()?5:-1)}}let AS=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings,this.isMastercardAvailable=st(()=>!!this.settings().availableCardBrands?.some(t=>"mastercard"===t)),this.isVisaAvailable=st(()=>!!this.settings().availableCardBrands?.some(t=>"visa"===t))}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-protected-by"]],decls:1,vars:1,consts:[[1,"__ndb-secure"],[1,"__ndb-secure-phrase","fz-12","fw-500","font-description"],[1,"__ndb-secure-logos"],[1,"__ndb-secure-logos-logo",3,"src"]],template:function(r,i){1&r&&We(0,xz,6,3,"div",0),2&r&&ot(i.isMastercardAvailable()||i.isVisaAvailable()?0:-1)},dependencies:[al,xS],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-secure[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.__ndb-secure-phrase[_ngcontent-%COMP%]{color:#000}.__ndb-secure-logos[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:2px}.__ndb-secure-logos-logo[_ngcontent-%COMP%]{height:40px;width:max-content}"],changeDetection:0})}return e})(),NS=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-no-payments"]],decls:2,vars:1,consts:[[1,"__ndb-no-methods"]],template:function(r,i){1&r&&(z(0,"h2",0),we(1),G()),2&r&&(P(),jt(" ",i.settings().language.noAvailablePaymentMethods,"\n"))},styles:[".__ndb-no-methods[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0})}return e})(),gl=(()=>{class e{mapApms(t){return t.map(r=>({...r}))}mapPaymentRequest(t,r,i,o){let s=t.details;r.userPreferences?.length&&(s=r.userPreferences.reduce((l,u)=>(l[u.name]=u.value,l),s||{}));const a={amount:t.amount,amountType:this.mapAmountType(t.amountType),tax:t.tax,currency:t.currency,description:t.description?.substring(0,127),details:s?JSON.stringify(s):void 0,type:this.mapOrderType(t.orderType)},c={id:t.userId,email:t.email,phoneNumber:r.phoneNumber??t.phoneNumber,ipAddress:t.ipAddress,deviceInfo:o,billingAddress:t.billingAddress};return{id:t.paymentId,initiator:this.mapInitiatorType(t.initiator)??"Customer",returnUrl:t.returnUrl,webhookUrl:t.webhookUrl,order:a,payer:c,requisites:this.mapRequisites(r.requisites),signature:t.signature,rejectionPreferences:{showResolvingTips:i.isProblemTipsListVisible??!1}}}mapComponents(t,r){return t.map(i=>{switch(i){case"available-card-brands":return{component:DD,visible:r.availableCardBrands};case"no-methods":return{component:NS,visible:r.noMethods};case"card-list":return{component:Vy,visible:r.cardList};case"requisites":return{component:wS,visible:r.cardForm};case"phone-number":return{component:bS,visible:r.additionalForm};case"charge-terms":return{component:CS,visible:r.chargeTerms};case"pay-button":return{component:SS,visible:r.payButton};case"apm-list":return{component:TS,visible:r.apmList};case"user-preferences":return{component:MS,visible:r.userPreferences};case"merchant-info":return{component:IS,visible:r.merchantInfo};case"protected-by":return{component:AS,visible:r.protectedBy}}})}mapInterfaceSettingsToDomain(t){let r=t.languageSettings.code;t.languageSettings.languages[r]||(r="en-US");const i=t.languageSettings.languages[r],o=t.chargeTerms?{text:t.chargeTerms.text?t.chargeTerms.text[r]:void 0,checkboxes:t.chargeTerms.checkboxes?.length?t.chargeTerms.checkboxes.map(c=>c[r]).filter(c=>!!c):void 0}:void 0,s=t.userPreferences?{text:t.userPreferences.text?t.userPreferences.text[r]:void 0,checkboxes:t.userPreferences.checkboxes?.length?t.userPreferences.checkboxes.map(c=>({name:c.name,defaultValue:c.defaultValue,text:c.text[r]})).filter(c=>!!c.text):void 0}:void 0,a=t.merchantInfo?{links:t.merchantInfo.links?.length?t.merchantInfo.links.map(c=>({href:c.href,text:c.text[r]})).filter(c=>!!c.text):void 0,text:t.merchantInfo.text?t.merchantInfo.text[r]:void 0}:void 0;return{availableCardBrands:t.availableCardBrands,closePaymentRedirect:t.closePaymentRedirect,isTaxVisible:t.isTaxVisible,components:t.components,events:t.events,isCloseButtonVisible:t.isCloseButtonVisible,isHeaderVisible:t.isHeaderVisible,isProblemTipsListVisible:t.isProblemTipsListVisible,isSignatureRequired:t.isSignatureRequired,language:i??CD,requiredFieldsBehavior:{buttonStateUntilFilled:t.requiredFieldsBehavior.buttonStateUntilFilled,markAsInvalidUntilCorrect:t.requiredFieldsBehavior.markAsInvalidUntilCorrect,showStars:t.requiredFieldsBehavior.showStars},resultComponentsStructure:t.resultComponentsStructure,urls:t.urls,chargeTerms:o,userPreferences:s,merchantInfo:a,apmsCollapse:!!t.apmsCollapse,paymentFlow:{tokenizeCard:t.paymentFlow?.tokenizeCard??!0,type:t.paymentFlow?.type??"default"}}}mapRequisites(t){switch(t.type){case"apm":const r=t.value;return{type:r.name,paymentToken:r.token};case"existing-card":return{anchor:t.value.rebill,type:"rebill"};case"card":const o=t.value;return{cardHolder:o.holder,cardNumber:o.number,expiration:o.expiration,cvv:o.cvv,type:"card"};default:throw new Error("Unknown requisites type")}}mapInitiatorType(t){if(t){if("customer"===t)return"Customer";if("merchant"===t)return"Merchant";throw new Error("Unknown payment initiator type")}}mapAmountType(t){if(t){if("gross"===t)return"Gross";if("gross-without-gst"===t)return"GrossWithoutGst";if("net"===t)return"Net";throw new Error("Unknown amount type")}}mapOrderType(t){if(t){if("free-trial"===t)return"FreeTrial";if("regular"===t)return"Regular";if("gems"===t)return"Gems";throw new Error("Unknown order type")}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),kS=(()=>{class e{constructor(t){this.mapper=t}preparePaymentOrError(t){let r=bD(t);return this.validatePayment(r)||(r.userAuthToken&&!/^[^\s]+\s+/i.test(r.userAuthToken)&&(r.userAuthToken=`Bearer ${r.userAuthToken}`),r.currency&&(r.currency=r.currency.toUpperCase()),r.amount=+r.amount,r.tax&&(r.tax=+r.tax),r)}prepareSettingsOrError(t){let r=bD(t);const i=this.validateSettings(r);if(i)return i;const o=BB(HB,r);return this.mapper.mapInterfaceSettingsToDomain(o)}validateModelsCompatibility(t,r){return!t.signature&&r.isSignatureRequired?"not-exist-signature":t.userAuthToken||"default"===r.paymentFlow.type?void 0:"not-exist-auth-for-payment-flow"}validatePayment(t){return t?t.userId?t.paymentId?t.merchantId?null==t.amount||null==t.amount?"not-exist-amount":t.email?t.currency?void 0:"not-exist-currency":"not-exist-email":"not-exist-merchant-id":"not-exist-payment-id":"not-exist-customer-id":"not-exist-payment"}validateSettings(t){return t?t.urls&&t.urls.billingProfiles&&t.urls.processing?void 0:"invalid-urls":"not-exist-settings"}static#e=this.\u0275fac=function(r){return new(r||e)(Z(gl))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();function Az(e,n){if(1&e){const t=ir();z(0,"div",2)(1,"i",3),qe("click",function(){return dt(t),ht(X().close())}),we(2,"close"),G()()}if(2&e){let t;X();const r=Tn(0);Qn("data-tooltip",null!==(t=null==r||null==r.language?null:r.language.close)&&void 0!==t?t:"Close")}}let PS=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}close(){this.context.events.close.emit()}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-header"]],decls:5,vars:3,consts:[[1,"__ndb-header"],[1,"__ndb-header-title","fz-24","fw-700"],[1,"__ndb-header-close"],[1,"material-icons","pointer",3,"click"]],template:function(r,i){if(1&r&&(di(0),z(1,"header",0)(2,"h6",1),we(3),G(),We(4,Az,3,1,"div",2),G()),2&r){let o,s;const a=Or(i.settings());P(3),jt(" ",null!==(o=null==a||null==a.language?null:a.language.header)&&void 0!==o?o:"Checkout"," "),P(),ot(null===(s=null==a?null:a.isCloseButtonVisible)||void 0===s||s?4:-1)}},styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:28px;border-bottom:1px solid #c9ccd8}@media (max-width: 768px){.__ndb-header[_ngcontent-%COMP%]{padding:20px}}.__ndb-header-close[_ngcontent-%COMP%]{display:flex;align-items:center}"],changeDetection:0})}return e})(),OS=(()=>{class e{constructor(){this.shadow=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-loader"]],hostVars:1,hostBindings:function(r,i){2&r&&Qh("@ANFade",i.fadeAnimation)},inputs:{shadow:"shadow"},decls:3,vars:5,consts:[[1,"__ndb-loader"],["alt","spinner",1,"__ndb-loader-picture",3,"src"]],template:function(r,i){1&r&&(z(0,"div",0),ft(1,"moto-picture",1),Lt(2,"image"),G()),2&r&&(Ri("shadow",i.shadow),P(),ie("src",ku(2,3,"spinner-small.gif")))},dependencies:[al,xS],styles:[".__ndb-loader[_ngcontent-%COMP%]{border-radius:4px}.__ndb-loader[_ngcontent-%COMP%]:not(.shadow){height:40px;width:40px}.__ndb-loader.shadow[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:100%;width:100%;background-color:#fff9;display:flex}.__ndb-loader.shadow[_ngcontent-%COMP%] .__ndb-loader-picture[_ngcontent-%COMP%]{margin:auto;height:40px;width:40px}"],data:{animation:[nj({animationName:"ANFade",fromStyles:{opacity:"0"},toStyles:{opacity:"1"}})]},changeDetection:0})}return e})();function Nz(e,n){1&e&&Zc(0)}function kz(e,n){1&e&&We(0,Nz,1,0,"ng-container",0),2&e&&ie("ngComponentOutlet",X().$implicit.component)}function Pz(e,n){1&e&&We(0,kz,1,1,"ng-container"),2&e&&ot(n.$implicit.visible()?0:-1)}function Oz(e,n){1&e&&ft(0,"moto-loader")}let Rz=(()=>{class e{constructor(t,r,i){this.context=t,this.mapper=r,this.refreshService=i,this.components=[]}ngOnInit(){this.isLoaderShown=this.context.computed.isLoading,this.refreshService.refreshPaymentSystems(),this.refreshService.refreshExistingCards(),this.components=this.mapper.mapComponents(this.context.data.settings().components,this.context.visibility)}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(gl),x(Ly))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-pay-form"]],decls:3,vars:1,consts:[[4,"ngComponentOutlet"]],template:function(r,i){1&r&&(Vi(0,Pz,1,1,null,null,cE),We(2,Oz,1,0,"moto-loader")),2&r&&($i(i.components),P(2),ot(i.isLoaderShown()?2:-1))},dependencies:[OS,U0],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}"],changeDetection:0})}return e})();const RS={message:"You cannot make a payment!",errors:{"not-exist-payment":'Input parameter "payment" is required in the payment model',"not-exist-customer-id":'The field "userId" is required in the payment model',"not-exist-payment-id":"The field paymentId is required in the payment model","not-exist-settings":'Input parameter "settings" is required in the payment model',"not-exist-signature":'The field "signature" is configured as required in the payment model',"not-exist-amount":'The field "amount" is required in the payment model',"not-exist-currency":'The field "currency" is required in the payment model',"not-exist-email":'The field "email" is required in the payment model',"not-exist-merchant-id":'The field "merchant id" is required in the payment model',"invalid-urls":'The field "urls" is required and processing/billingProfiles must to be set',"not-exist-auth-for-payment-flow":'The field "userAuthToken" is required for selected payment flow'}};let Lz=(()=>{class e{constructor(t){this.context=t}ngOnInit(){const t=this.context.data.state().payload;this.error=RS.errors[t.error],this.message=RS.message}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-invalid-pay-form"]],decls:7,vars:2,consts:[[1,"__ndb-error-content"],[1,"material-icons-round","__ndb-error-content-icon"],[1,"__ndb-error-content-header","fz-24","fw-700"],[1,"__ndb-error-content-description","fz-14","fw-500","font-center"]],template:function(r,i){1&r&&(z(0,"div",0)(1,"i",1),we(2,"cancel"),G(),z(3,"h6",2),we(4),G(),z(5,"p",3),we(6),G()()),2&r&&(P(4),zn(i.error),P(2),jt(" ",i.message," "))},styles:[".__ndb-error-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px}@media (max-width: 768px){.__ndb-error-content[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-error-content-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-error-content-header[_ngcontent-%COMP%], .__ndb-error-content-description[_ngcontent-%COMP%]{width:100%;text-align:center}"],changeDetection:0})}return e})(),Fz=(()=>{class e{constructor(t,r,i,o){this.context=t,this.processing=r,this.sessionStorage=i,this.windowService=o}ngOnInit(){this.settings=this.context.data.settings,this.context.data.state().payload.observable.subscribe({next:r=>this.afterPay(r),error:r=>this.showResult(void 0,r)})}afterPay(t){"needAction"===t.payment?.state?(this.handleConfirmation(t.action),this.waitingPaymentCompleted(t)):(this.showResult(t),this.windowService.closeWindow())}handleConfirmation(t){switch(t.name){case"3ds":this.windowService.threeDsRedirect(t.data);break;case"redirect":this.windowService.redirect(t.data);break;default:throw new Error("Unexpected action name")}}waitingPaymentCompleted(t){(function qj(e,n,t){return e.pipe(rn(r=>{if(n(r))return r;throw new Error(e5)}),function Wj(e=1/0){let n;n=e&&"object"==typeof e?e:{count:e};const{count:t=1/0,delay:r,resetOnSuccess:i=!1}=n;return t<=0?wn:Hn((o,s)=>{let c,a=0;const l=()=>{let u=!1;c=o.subscribe(bn(s,d=>{i&&(a=0),s.next(d)},void 0,d=>{if(a++<t){const h=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(null!=r){const f="number"==typeof r?XD(r):zi(r(d,a)),m=bn(s,()=>{m.unsubscribe(),h()},()=>{s.complete()});f.subscribe(m)}else h()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}({delay:r=>r.message==e5?XD(t):QD(()=>r)}))})(this.processing.getPaymentInfo(t.payment.paymentId),i=>"needAction"!=i.payment.state,1500).subscribe({next:i=>this.showResult(i),error:i=>{this.showResult(void 0,i),this.context.events.error.emit(i)}})}showResult(t,r){const i=this.settings();i.closePaymentRedirect&&this.windowService.closeWindow(),i.apmsCollapse&&t&&"rejected"===t.payment.state&&"card"===t.payment.info.paymentType&&this.sessionStorage.setItem(Xr.keys.apmsCollapse,!1),this.context.data.state.set({type:"result",payload:{result:t,error:r}}),t&&this.context.events.paid.emit(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(id),x(Np),x(Ap))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-processing"]],decls:12,vars:1,consts:[[1,"waiting"],[1,"section"],[1,"waiting__title"],[1,"section__content","__ndb-spinner-container"],[1,"spinner"],[1,"lds-ring"],[1,"spinner__extra"]],template:function(r,i){1&r&&(z(0,"div",0)(1,"div",1)(2,"h2",2),we(3),G(),z(4,"div",3)(5,"div",4)(6,"div",5),ft(7,"div")(8,"div")(9,"div")(10,"div"),G(),ft(11,"div",6),G()()()()),2&r&&(P(3),zn(i.settings().language.paymentProcessing))},styles:[".waiting__title[_ngcontent-%COMP%]{position:relative;z-index:101;font-family:Poppins,Helvetica,Arial,sans-serif;color:#29304d;font-size:16px;margin:0;text-align:center;transform:translateY(108px)}.__ndb__moto-modal-backdrop[_ngcontent-%COMP%]{background-color:#e5e5e5!important}.__ndb__moto-modal[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin:0}.section__content[_ngcontent-%COMP%]{margin:0 auto}.spinner[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:330px}.spinner_small[_ngcontent-%COMP%]{height:70px}.spinner_extra[_ngcontent-%COMP%]{height:550px}.lds-ring[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #6936d3;border-radius:50%;animation:_ngcontent-%COMP%_lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#6936d3 transparent transparent transparent}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){animation-delay:-.45s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-.3s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-.15s}@keyframes _ngcontent-%COMP%_lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0})}return e})();function Vz(e,n){1&e&&Zc(0)}function $z(e,n){1&e&&We(0,Vz,1,0,"ng-container",5),2&e&&ie("ngComponentOutlet",X().$implicit.component)}function Bz(e,n){1&e&&We(0,$z,1,1,"ng-container"),2&e&&ot(n.$implicit.visible()?0:-1)}function jz(e,n){if(1&e&&(z(0,"p",3),we(1),G()),2&e){const t=X();P(),jt(" ",t.resultModel.description," ")}}function Hz(e,n){if(1&e&&(z(0,"li",6)(1,"p",7),we(2),G()()),2&e){const t=n.$implicit;P(2),jt(" ",t," ")}}function Uz(e,n){if(1&e&&(z(0,"ul",4),Vi(1,Hz,3,1,"li",6,zo),G()),2&e){const t=X();P(),$i(null==t.paymentResult.payment.rejectionDetails?null:t.paymentResult.payment.rejectionDetails.problemSolvingTips)}}function zz(e,n){1&e&&Zc(0)}function Gz(e,n){1&e&&We(0,zz,1,0,"ng-container",5),2&e&&ie("ngComponentOutlet",X().$implicit.component)}function Wz(e,n){1&e&&We(0,Gz,1,1,"ng-container"),2&e&&ot(n.$implicit.visible()?0:-1)}let qz=(()=>{class e{constructor(t,r){this.context=t,this.mapper=r,this.aboveComponents=[],this.belowComponents=[]}ngOnInit(){const t=this.context.data.state().payload;this.paymentResult=t.result,this.error=t.error,this.settings=this.context.data.settings,this.resultModel=this.getResultModel(),this.initAdditionalComponents()}getResultModel(){const t=this.settings().language;if(!this.paymentResult||this.error)return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};switch(this.paymentResult.payment.state){case"completed":return{icon:"check_circle",description:void 0,title:t.paymentResult.success};case"rejected":return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};default:throw new Error("unknown result")}}initAdditionalComponents(){const t=this.settings().resultComponentsStructure;t.aboveResult.length&&(this.aboveComponents=this.mapper.mapComponents(t.aboveResult,this.context.visibility)),t.belowResult.length&&(this.belowComponents=this.mapper.mapComponents(t.belowResult,this.context.visibility))}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(gl))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-result"]],decls:11,vars:4,consts:[[1,"__ndb-result"],[1,"material-icons-round","__ndb-result-icon"],[1,"__ndb-result-header","fz-24","fw-700"],[1,"__ndb-result-description","fz-14","fw-500","font-center"],[1,"__ndb-result-tips"],[4,"ngComponentOutlet"],[1,"__ndb-result-tips-tip"],[1,"__ndb-result-tips-tip-text","fz-11","fw-500","font-center"]],template:function(r,i){1&r&&(Vi(0,Bz,1,1,null,null,zo),z(2,"div",0)(3,"i",1),we(4),G(),z(5,"h6",2),we(6),G(),We(7,jz,2,1,"p",3)(8,Uz,3,0,"ul",4),G(),Vi(9,Wz,1,1,null,null,zo)),2&r&&($i(i.aboveComponents),P(4),zn(i.resultModel.icon),P(2),zn(i.resultModel.title),P(),ot(i.resultModel.description?7:-1),P(),ot(i.paymentResult&&i.settings().isProblemTipsListVisible&&null!=i.paymentResult.payment.rejectionDetails&&null!=i.paymentResult.payment.rejectionDetails.problemSolvingTips&&i.paymentResult.payment.rejectionDetails.problemSolvingTips.length?8:-1),P(),$i(i.belowComponents))},dependencies:[U0],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}.__ndb-result[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px}@media (max-width: 768px){.__ndb-result[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-result-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-result-header[_ngcontent-%COMP%], .__ndb-result-description[_ngcontent-%COMP%]{width:100%;text-align:center}.__ndb-result-tips[_ngcontent-%COMP%]{gap:5px;padding-inline-start:0px}.__ndb-result-tips-tip[_ngcontent-%COMP%]{list-style-type:disc}.__ndb-result-tips-tip-text[_ngcontent-%COMP%]{width:100%;text-align:left}"],changeDetection:0})}return e})();function Zz(e,n){1&e&&ft(0,"moto-header")}function Yz(e,n){1&e&&ft(0,"moto-pay-form")}function Kz(e,n){1&e&&ft(0,"moto-invalid-pay-form")}function Xz(e,n){1&e&&ft(0,"moto-processing")}function Qz(e,n){1&e&&ft(0,"moto-result")}function Jz(e,n){}let eG=(()=>{class e{constructor(t,r,i){this.context=t,this.dataHandler=r,this.sessionStorage=i,this.state=this.context.data.state,this.closeEvent=t.events.close.emitter,this.paidEvent=t.events.paid.emitter,this.analyticsEvent=t.events.analytics.emitter,this.error=t.events.error.emitter,N0(()=>{this.context.computed.isLoading()?this.context.events.analytics.emit(new Xt("init-start")):this.context.events.analytics.emit(new Xt("loading-finish"))})}ngOnInit(){this.closeEvent=this.context.events.close.emitter,this.analyticsEvent=this.context.events.analytics.emitter,this.paidEvent=this.context.events.paid.emitter,this.error=this.context.events.error.emitter,VB().subscribe(t=>{this.context.data.deviceInfo.set(t)}),this.settingsSignal=st(()=>this.context.data.settings())}ngOnChanges(t){if(t.payment){const r=this.dataHandler.preparePaymentOrError(t.payment.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.payment.set(r)}if(t.settings){const r=this.dataHandler.prepareSettingsOrError(t.settings.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.settings.set(r)}this.validate(!!t.settings||!!t.payment)}ngOnDestroy(){this.context.data.settings()?.apmsCollapse&&this.sessionStorage.removeItem(Xr.keys.apmsCollapse)}validate(t){const r=this.context.data.settings(),i=this.context.data.payment(),o=this.dataHandler.validateModelsCompatibility(i,r);o?this.state.set({type:"invalid",payload:{error:o}}):(this.applySettings(),this.context.callbacks.createInvoice=this.createInvoice?s=>this.createInvoice(s):void 0,this.context.callbacks.makePayment=this.makePayment?s=>this.makePayment(s):void 0,this.context.data.settings()?.requiredFieldsBehavior?.markAsInvalidUntilCorrect?this.context.updateCanShowError(!0):this.context.updateCanShowError(!1),t&&this.context.data.userProvidedInfo.set({}),this.state.set({type:"correct",payload:{}}))}applySettings(){const t=this.context.data.settings(),r=t.components,i=this.context.componentsStates;(!t.availableCardBrands.length||!r.some(o=>"available-card-brands"===o))&&i.availableCardBrands.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.chargeTerms?.checkboxes?.length&&!t.chargeTerms?.text||!r.some(o=>"charge-terms"===o))&&i.chargeTerms.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.userPreferences?.checkboxes?.length&&!t.userPreferences?.text||!r.some(o=>"user-preferences"===o))&&i.userPreferences.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"phone-number"===o)||i.additionalForm.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.merchantInfo?.text&&!t.merchantInfo?.links?.length||!r.some(o=>"merchant-info"===o))&&i.merchantInfo.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"apm-list"===o)||i.apmList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"requisites"===o)||i.cardForm.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"card-list"===o)||i.cardList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"pay-button"===o)||i.payButton.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.availableCardBrands.length||!r.some(o=>"protected-by"===o))&&i.protectedBy.update(o=>({...o,enabled:!1,isRequired:!1})),this.context.events.analytics.emitEnabled=t.events.analytics.required,this.context.events.analytics.optionalEmitEnabled=t.events.analytics.optional,this.context.events.error.emitEnabled=t.events.error,t.apmsCollapse&&this.sessionStorage.getOrSetItemSignal(Xr.keys.apmsCollapse,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(x(tn),x(kS),x(Np))};static#t=this.\u0275cmp=Bt({type:e,selectors:[["moto-payment-form"]],inputs:{payment:"payment",settings:"settings",createInvoice:"createInvoice",makePayment:"makePayment"},outputs:{closeEvent:"close",paidEvent:"paid",analyticsEvent:"analyticsTracked",error:"error"},features:[Ni],decls:9,vars:2,consts:[[1,"__ndb-wrapper"],[1,"__ndb-wrapper-content"],[1,"__ndb-wrapper-content-main"]],template:function(r,i){if(1&r&&(z(0,"div",0)(1,"div",1),We(2,Zz,1,0,"moto-header"),z(3,"div",2),We(4,Yz,1,0,"moto-pay-form")(5,Kz,1,0,"moto-invalid-pay-form")(6,Xz,1,0,"moto-processing")(7,Qz,1,0,"moto-result")(8,Jz,0,0),G()()()),2&r){let o,s;P(2),ot(null===(o=null==(o=i.settingsSignal())?null:o.isHeaderVisible)||void 0===o||o?2:-1),P(2),ot("correct"===(s=i.state().type)?4:"invalid"===s?5:"payLoading"===s?6:"result"===s?7:"empty"===s?8:-1)}},dependencies:[PS,Rz,Lz,Fz,qz],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-wrapper[_ngcontent-%COMP%]{max-width:560px;width:100%;margin:0 auto;transition:max-width .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-wrapper[_ngcontent-%COMP%]{max-width:318px}}.__ndb-wrapper-content[_ngcontent-%COMP%]{margin:0 auto;position:relative;border:1px solid #c9ccd8;box-shadow:inset 0 -1px #29304d1a;border-radius:4px}.__ndb-wrapper-content-main[_ngcontent-%COMP%]{padding:28px;gap:40px;flex-direction:column;display:flex}"],changeDetection:0})}return e})(),LS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({})}return e})();function FS(e){return new k(3e3,!1)}function Os(e){switch(e.length){case 0:return new Xu;case 1:return e[0];default:return new SD(e)}}function VS(e,n,t=new Map,r=new Map){const i=[],o=[];let s=-1,a=null;if(n.forEach(c=>{const l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((h,f)=>{let m=f,v=h;if("offset"!==f)switch(m=e.normalizePropertyName(m,i),v){case"!":v=t.get(f);break;case Zo:v=r.get(f);break;default:v=e.normalizeStyleValue(f,m,v,i)}d.set(m,v)}),u||o.push(d),a=d,s=l}),i.length)throw function EG(){return new k(3502,!1)}();return o}function sv(e,n,t,r){switch(n){case"start":e.onStart(()=>r(t&&av(t,"start",e)));break;case"done":e.onDone(()=>r(t&&av(t,"done",e)));break;case"destroy":e.onDestroy(()=>r(t&&av(t,"destroy",e)))}}function av(e,n,t){const o=cv(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function cv(e,n,t,r,i="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function ei(e,n,t){let r=e.get(n);return r||e.set(n,r=t),r}function $S(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const RG=typeof document>"u"?null:document.documentElement;function lv(e){const n=e.parentNode||e.host||null;return n===RG?null:n}let Ia=null,BS=!1;function jS(e,n){for(;n;){if(n===e)return!0;n=lv(n)}return!1}function HS(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const r=e.querySelector(n);return r?[r]:[]}let uv=(()=>{class e{validateStyleProperty(t){return function FG(e){Ia||(Ia=function VG(){return typeof document<"u"?document.body:null}()||{},BS=!!Ia.style&&"WebkitAppearance"in Ia.style);let n=!0;return Ia.style&&!function LG(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Ia.style,!n&&BS&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Ia.style)),n}(t)}containsElement(t,r){return jS(t,r)}getParentElement(t){return lv(t)}query(t,r,i){return HS(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,a=[],c){return new Xu(i,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();class dv{static#e=this.NOOP=new uv}class hv{}const BG=1e3,fv="ng-enter",kp="ng-leave",Pp="ng-trigger",Op=".ng-trigger",zS="ng-animating",pv=".ng-animating";function Xo(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:mv(parseFloat(n[1]),n[2])}function mv(e,n){return"s"===n?e*BG:e}function Rp(e,n,t){return e.hasOwnProperty("duration")?e:function HG(e,n,t){let i,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(FS()),{duration:0,delay:0,easing:""};i=mv(parseFloat(a[1]),a[2]);const c=a[3];null!=c&&(o=mv(parseFloat(c),a[4]));const l=a[5];l&&(s=l)}else i=e;if(!t){let a=!1,c=n.length;i<0&&(n.push(function tG(){return new k(3100,!1)}()),a=!0),o<0&&(n.push(function nG(){return new k(3101,!1)}()),a=!0),a&&n.splice(c,0,FS())}return{duration:i,delay:o,easing:s}}(e,n,t)}function So(e,n,t){n.forEach((r,i)=>{const o=yv(i);t&&!t.has(i)&&t.set(i,e.style[o]),e.style[o]=r})}function xa(e,n){n.forEach((t,r)=>{const i=yv(r);e.style[i]=""})}function pd(e){return Array.isArray(e)?1==e.length?e[0]:function ZB(e,n=null){return{type:be.Sequence,steps:e,options:n}}(e):e}const gv=new RegExp("{{\\s*(.+?)\\s*}}","g");function WS(e){let n=[];if("string"==typeof e){let t;for(;t=gv.exec(e);)n.push(t[1]);gv.lastIndex=0}return n}function md(e,n,t){const r=`${e}`,i=r.replace(gv,(o,s)=>{let a=n[s];return null==a&&(t.push(function iG(){return new k(3003,!1)}()),a=""),a.toString()});return i==r?e:i}const GG=/-+([a-z0-9])/g;function yv(e){return e.replace(GG,(...n)=>n[1].toUpperCase())}function ti(e,n,t){switch(n.type){case be.Trigger:return e.visitTrigger(n,t);case be.State:return e.visitState(n,t);case be.Transition:return e.visitTransition(n,t);case be.Sequence:return e.visitSequence(n,t);case be.Group:return e.visitGroup(n,t);case be.Animate:return e.visitAnimate(n,t);case be.Keyframes:return e.visitKeyframes(n,t);case be.Style:return e.visitStyle(n,t);case be.Reference:return e.visitReference(n,t);case be.AnimateChild:return e.visitAnimateChild(n,t);case be.AnimateRef:return e.visitAnimateRef(n,t);case be.Query:return e.visitQuery(n,t);case be.Stagger:return e.visitStagger(n,t);default:throw function oG(){return new k(3004,!1)}()}}function vv(e,n){return window.getComputedStyle(e)[n]}const ZG=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class qS extends hv{normalizePropertyName(n,t){return yv(n)}normalizeStyleValue(n,t,r,i){let o="";const s=r.toString().trim();if(ZG.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function sG(){return new k(3005,!1)}())}return s+o}}const Lp="*";const Fp=new Set(["true","1"]),Vp=new Set(["false","0"]);function ZS(e,n){const t=Fp.has(e)||Vp.has(e),r=Fp.has(n)||Vp.has(n);return(i,o)=>{let s=e==Lp||e==i,a=n==Lp||n==o;return!s&&t&&"boolean"==typeof i&&(s=i?Fp.has(e):Vp.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?Fp.has(n):Vp.has(n)),s&&a}}const QG=new RegExp("s*:selfs*,?","g");function _v(e,n,t,r){return new JG(e).build(n,t,r)}class JG{constructor(n){this._driver=n}build(n,t,r){const i=new nW(t);return this._resetContextStyleTimingState(i),ti(this,pd(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function aG(){return new k(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==be.State){const c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,t))}),c.name=l}else if(a.type==be.Transition){const c=this.visitTransition(a,t);r+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(function cG(){return new k(3007,!1)}())}),{type:be.Trigger,name:n.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(n,t){const r=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{WS(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&t.errors.push(function lG(){return new k(3008,!1)}(0,o.values()))}return{type:be.State,name:n.name,style:r,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const r=ti(this,pd(n.animation),t),i=function YG(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function KG(e,n,t){if(":"==e[0]){const c=function XG(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return n.push(function _G(){return new k(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof c)return void n.push(c);e=c}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function vG(){return new k(3015,!1)}()),n;const i=r[1],o=r[2],s=r[3];n.push(ZS(i,s)),"<"==o[0]&&(i!=Lp||s!=Lp)&&n.push(ZS(s,i))}(r,t,n)):t.push(e),t}(n.expr,t.errors);return{type:be.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Aa(n.options)}}visitSequence(n,t){return{type:be.Sequence,steps:n.steps.map(r=>ti(this,r,t)),options:Aa(n.options)}}visitGroup(n,t){const r=t.currentTime;let i=0;const o=n.steps.map(s=>{t.currentTime=r;const a=ti(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:be.Group,steps:o,options:Aa(n.options)}}visitAnimate(n,t){const r=function iW(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return wv(Rp(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=wv(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=Rp(t,n);return wv(i.duration,i.delay,i.easing)}(n.timings,t.errors);t.currentAnimateTimings=r;let i,o=n.styles?n.styles:an({});if(o.type==be.Keyframes)i=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const l={};r.easing&&(l.easing=r.easing),s=an(l)}t.currentTime+=r.duration+r.delay;const c=this.visitStyle(s,t);c.isEmptyStep=a,i=c}return t.currentAnimateTimings=null,{type:be.Animate,timings:r,style:i,options:null}}visitStyle(n,t){const r=this._makeStyleAst(n,t);return this._validateStyleAst(r,t),r}_makeStyleAst(n,t){const r=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of i)"string"==typeof a?a===Zo?r.push(a):t.errors.push(new k(3002,!1)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let c of a.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:be.Style,styles:r,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,c)=>{const l=t.collectedStyles.get(t.currentQuerySelector),u=l.get(c);let d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(t.errors.push(function dG(){return new k(3010,!1)}()),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),t.options&&function zG(e,n,t){const r=n.params||{},i=WS(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function rG(){return new k(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const r={type:be.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function hG(){return new k(3011,!1)}()),r;let o=0;const s=[];let a=!1,c=!1,l=0;const u=n.steps.map(D=>{const E=this._makeStyleAst(D,t);let O=null!=E.offset?E.offset:function rW(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(E.styles),L=0;return null!=O&&(o++,L=E.offset=O),c=c||L<0||L>1,a=a||L<l,l=L,s.push(L),E});c&&t.errors.push(function fG(){return new k(3012,!1)}()),a&&t.errors.push(function pG(){return new k(3200,!1)}());const d=n.steps.length;let h=0;o>0&&o<d?t.errors.push(function mG(){return new k(3202,!1)}()):0==o&&(h=1/(d-1));const f=d-1,m=t.currentTime,v=t.currentAnimateTimings,C=v.duration;return u.forEach((D,E)=>{const O=h>0?E==f?1:h*E:s[E],L=O*C;t.currentTime=m+v.delay+L,v.duration=L,this._validateStyleAst(D,t),D.offset=O,r.styles.push(D)}),r}visitReference(n,t){return{type:be.Reference,animation:ti(this,pd(n.animation),t),options:Aa(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:be.AnimateChild,options:Aa(n.options)}}visitAnimateRef(n,t){return{type:be.AnimateRef,animation:this.visitReference(n.animation,t),options:Aa(n.options)}}visitQuery(n,t){const r=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function eW(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(QG,"")),e=e.replace(/@\*/g,Op).replace(/@\w+/g,t=>Op+"-"+t.slice(1)).replace(/:animating/g,pv),[e,n]}(n.selector);t.currentQuerySelector=r.length?r+" "+o:o,ei(t.collectedStyles,t.currentQuerySelector,new Map);const a=ti(this,pd(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:be.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Aa(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function gG(){return new k(3013,!1)}());const r="full"===n.timings?{duration:0,delay:0,easing:"full"}:Rp(n.timings,t.errors,!0);return{type:be.Stagger,animation:ti(this,pd(n.animation),t),timings:r,options:null}}}class nW{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Aa(e){return e?(e={...e}).params&&(e.params=function tW(e){return e?{...e}:null}(e.params)):e={},e}function wv(e,n,t){return{duration:e,delay:n,easing:t}}function bv(e,n,t,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class $p{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let r=this._map.get(n);r||this._map.set(n,r=[]),r.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const aW=new RegExp(":enter","g"),lW=new RegExp(":leave","g");function Cv(e,n,t,r,i,o=new Map,s=new Map,a,c,l=[]){return(new uW).buildKeyframes(e,n,t,r,i,o,s,a,c,l)}class uW{buildKeyframes(n,t,r,i,o,s,a,c,l,u=[]){l=l||new $p;const d=new Ev(n,t,l,i,o,u,[]);d.options=c;const h=c.delay?Xo(c.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,c),ti(this,r,d);const f=d.timelines.filter(m=>m.containsAnimation());if(f.length&&a.size){let m;for(let v=f.length-1;v>=0;v--){const C=f[v];if(C.element===t){m=C;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return f.length?f.map(m=>m.buildKeyframes()):[bv(t,[],[],[],0,h,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const r=t.createSubContext(n.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,r),this.visitReference(n.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,r){for(const i of n){const o=i?.delay;if(o){const s="number"==typeof o?o:Xo(md(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(n,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?Xo(r.duration):null,a=null!=r.delay?Xo(r.delay):null;return 0!==s&&n.forEach(c=>{const l=t.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),ti(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const r=t.subContextCount;let i=t;const o=n.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==be.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Bp);const s=Xo(o.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ti(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const r=[];let i=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Xo(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),ti(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const r=n.strValue;return Rp(t.params?md(r,t.params,t.errors):r,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const r=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=n.style;o.type==be.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||n.easing;n.isEmptyStep?r.applyEmptyStep(o):r.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,n.styles.forEach(c=>{a.forwardTime((c.offset||0)*o),a.setStyles(c.styles,c.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+o),t.previousNode=n}visitQuery(n,t){const r=t.currentTimeline.currentTime,i=n.options||{},o=i.delay?Xo(i.delay):0;o&&(t.previousNode.type===be.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Bp);let s=r;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{t.currentQueryIndex=u;const d=t.createSubContext(n.options,l);o&&d.delayNextStep(o),l===t.element&&(c=d.currentTimeline),ti(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const r=t.parentContext,i=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let c=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime}const u=t.currentTimeline;c&&u.delayNextStep(c);const d=u.currentTime;ti(this,n.animation,t),t.previousNode=n,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Bp={};class Ev{constructor(n,t,r,i,o,s,a,c){this._driver=n,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new jp(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const r=n;let i=this.options;null!=r.duration&&(i.duration=Xo(r.duration)),null!=r.delay&&(i.delay=Xo(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=md(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const r=n.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return n}createSubContext(n=null,t,r){const i=t||this.element,o=new Ev(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Bp,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,r){const i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(r??0)+n.delay,easing:""},o=new dW(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,r,i,o,s){let a=[];if(i&&a.push(this.element),n.length>0){n=(n=n.replace(aW,"."+this._enterClassName)).replace(lW,"."+this._leaveClassName);let l=this._driver.query(this.element,n,1!=r);0!==r&&(l=r<0?l.slice(l.length+r,l.length):l.slice(0,r)),a.push(...l)}return!o&&0==a.length&&s.push(function yG(){return new k(3014,!1)}()),a}}class jp{constructor(n,t,r,i){this._driver=n,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new jp(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Zo),this._currentKeyframe.set(t,Zo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function hW(e,n){const t=new Map;let r;return e.forEach(i=>{if("*"===i){r??=n.keys();for(let o of r)t.set(o,Zo)}else for(let[o,s]of i)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,c]of s){const l=md(c,o,r);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Zo),this._updateStyle(a,l)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,c)=>{const l=new Map([...this._backFill,...a]);l.forEach((u,d)=>{"!"===u?n.add(d):u===Zo&&t.add(d)}),r||l.set("offset",c/this.duration),i.push(l)});const o=[...n.values()],s=[...t.values()];if(r){const a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return bv(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class dW extends jp{constructor(n,t,r,i,o,s,a=!1){super(n,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,a=t/s,c=new Map(n[0]);c.set("offset",0),o.push(c);const l=new Map(n[0]);l.set("offset",XS(a)),o.push(l);const u=n.length-1;for(let d=1;d<=u;d++){let h=new Map(n[d]);const f=h.get("offset");h.set("offset",XS((t+f*r)/s)),o.push(h)}r=s,t=0,i="",n=o}return bv(this.element,n,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function XS(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function QS(e,n,t,r,i,o,s,a,c,l,u,d,h){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}const Dv={};class JS{constructor(n,t,r){this._triggerName=n,this.ast=t,this._stateStyles=r}match(n,t,r,i){return function fW(e,n,t,r,i){return e.some(o=>o(n,t,r,i))}(this.ast.matchers,n,t,r,i)}buildStyles(n,t,r){let i=this._stateStyles.get("*");return void 0!==n&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,r):new Map}build(n,t,r,i,o,s,a,c,l,u){const d=[],h=this.ast.options&&this.ast.options.params||Dv,m=this.buildStyles(r,a&&a.params||Dv,d),v=c&&c.params||Dv,C=this.buildStyles(i,v,d),D=new Set,E=new Map,O=new Map,L="void"===i,$={params:e6(v,h),delay:this.ast.options?.delay},Q=u?[]:Cv(n,t,this.ast.animation,o,s,m,C,$,l,d);let ae=0;return Q.forEach(J=>{ae=Math.max(J.duration+J.delay,ae)}),d.length?QS(t,this._triggerName,r,i,L,m,C,[],[],E,O,ae,d):(Q.forEach(J=>{const Jt=J.element,cn=ei(E,Jt,new Set);J.preStyleProps.forEach(wr=>cn.add(wr));const yn=ei(O,Jt,new Set);J.postStyleProps.forEach(wr=>yn.add(wr)),Jt!==t&&D.add(Jt)}),QS(t,this._triggerName,r,i,L,m,C,Q,[...D.values()],E,O,ae))}}function e6(e,n){const t={...n};return Object.entries(e).forEach(([r,i])=>{null!=i&&(t[r]=i)}),t}class pW{constructor(n,t,r){this.styles=n,this.defaultParams=t,this.normalizer=r}buildStyles(n,t){const r=new Map,i=e6(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=md(s,i,t));const c=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,c,s,t),r.set(a,s)})}),r}}class gW{constructor(n,t,r){this.name=n,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new pW(i.style,i.options&&i.options.params||{},r))}),t6(this.states,"true","1"),t6(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new JS(n,i,this.states))}),this.fallbackTransition=function yW(e,n){return new JS(e,{type:be.Transition,animation:{type:be.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,r,i){return this.transitionFactories.find(s=>s.match(n,t,r,i))||null}matchStyles(n,t,r){return this.fallbackTransition.buildStyles(n,t,r)}}function t6(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const vW=new $p;class _W{constructor(n,t,r){this.bodyNode=n,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const r=[],o=_v(this._driver,t,r,[]);if(r.length)throw function DG(){return new k(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,r){const i=n.element,o=VS(this._normalizer,n.keyframes,t,r);return this._driver.animate(i,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,r={}){const i=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=Cv(this._driver,t,o,fv,kp,new Map,new Map,r,vW,i),s.forEach(u=>{const d=ei(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(function SG(){return new k(3300,!1)}()),s=[]),i.length)throw function TG(){return new k(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,Zo))})});const l=Os(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(n,l),l.onDestroy(()=>this.destroy(n)),this.players.push(l),l}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function MG(){return new k(3301,!1)}();return t}listen(n,t,r,i){const o=cv(t,"","","");return sv(this._getPlayer(n),r,o,i),()=>{}}command(n,t,r,i){if("register"==r)return void this.register(n,i[0]);if("create"==r)return void this.create(n,t,i[0]||{});const o=this._getPlayer(n);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n)}}}const n6="ng-animate-queued",Sv="ng-animate-disabled",DW=[],r6={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},SW={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yi="__ng_removed";class Tv{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const r=n&&n.hasOwnProperty("value");if(this.value=function xW(e){return e??null}(r?n.value:n),r){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const gd="void",Mv=new Tv(gd);class TW{constructor(n,t,r){this.id=n,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,vi(t,this._hostClassName)}listen(n,t,r,i){if(!this._triggers.has(t))throw function IG(){return new k(3302,!1)}();if(null==r||0==r.length)throw function xG(){return new k(3303,!1)}();if(!function AW(e){return"start"==e||"done"==e}(r))throw function AG(){return new k(3400,!1)}();const o=ei(this._elementListeners,n,[]),s={name:t,phase:r,callback:i};o.push(s);const a=ei(this._engine.statesByElement,n,new Map);return a.has(t)||(vi(n,Pp),vi(n,Pp+"-"+t),a.set(t,Mv)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function NG(){return new k(3401,!1)}();return t}trigger(n,t,r,i=!0){const o=this._getTrigger(t),s=new Iv(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(vi(n,Pp),vi(n,Pp+"-"+t),this._engine.statesByElement.set(n,a=new Map));let c=a.get(t);const l=new Tv(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(t,l),c||(c=Mv),l.value!==gd&&c.value===l.value){if(!function PW(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){const o=t[i];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(c.params,l.params)){const v=[],C=o.matchStyles(c.value,c.params,v),D=o.matchStyles(l.value,l.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{xa(n,C),So(n,D)})}return}const h=ei(this._engine.playersByElement,n,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let f=o.matchTransition(c.value,l.value,n,l.params),m=!1;if(!f){if(!i)return;f=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:f,fromState:c,toState:l,player:s,isFallbackTransition:m}),m||(vi(n,n6),s.onStart(()=>{yl(n,n6)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);const C=this._engine.playersByElement.get(n);if(C){let D=C.indexOf(s);D>=0&&C.splice(D,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const r=this._engine.driver.query(n,Op,!0);r.forEach(i=>{if(i[Yi])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,r,i){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){const u=this.trigger(n,l,gd,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),r&&Os(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),r=this._engine.statesByElement.get(n);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const c=this._triggers.get(s).fallbackTransition,l=r.get(s)||Mv,u=new Tv(gd),d=new Iv(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,t){const r=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(n):[];if(o&&o.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)r.markElementAsRemoved(this.id,n,!1,t);else{const o=n[Yi];(!o||o===r6)&&(r.afterFlush(()=>this.clearElementCache(n)),r.destroyInnerAnimations(n),r._onRemovalComplete(n,t))}}insertNode(n,t){vi(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const c=cv(o,r.triggerName,r.fromState.value,r.toState.value);c._data=n,sv(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class MW{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,r){this.bodyNode=n,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&n.push(r)})}),n}createNamespace(n,t){const r=new TW(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[n]=r}_balanceNamespaceList(n,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const c=i.get(a);if(c){const l=r.indexOf(c);r.splice(l+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(n)}else r.push(n);return i.set(t,n),n}register(n,t){let r=this._namespaceLookup[n];return r||(r=this.createNamespace(n,t)),r}registerTrigger(n,t,r){let i=this._namespaceLookup[n];i&&i.register(t,r)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(n);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,r=this.statesByElement.get(n);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(n,t,r,i){if(Hp(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(n,t,r,i){if(!Hp(t))return;const o=t[Yi];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),vi(n,Sv)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),yl(n,Sv))}removeNode(n,t,r){if(Hp(t)){const i=n?this._fetchNamespace(n):null;i?i.removeNode(t,r):this.markElementAsRemoved(n,t,!1,r);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(n,t,r,i,o){this.collectedLeaveElements.push(t),t[Yi]={namespaceId:n,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,r,i,o){return Hp(t)?this._fetchNamespace(n).listen(t,r,i,o):()=>{}}_buildInstruction(n,t,r,i,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,r,i,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Op,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,pv,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Os(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Yi];if(t&&t.setForRemoval){if(n[Yi]=r6,t.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(Sv)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)vi(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,n)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Os(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(n){throw function kG(){return new k(3402,!1)}()}_flushAnimations(n,t){const r=new $p,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(Y=>{u.add(Y);const se=this.driver.query(Y,".ng-animate-queued",!0);for(let fe=0;fe<se.length;fe++)u.add(se[fe])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=s6(h,this.collectedEnterElements),m=new Map;let v=0;f.forEach((Y,se)=>{const fe=fv+v++;m.set(se,fe),Y.forEach(je=>vi(je,fe))});const C=[],D=new Set,E=new Set;for(let Y=0;Y<this.collectedLeaveElements.length;Y++){const se=this.collectedLeaveElements[Y],fe=se[Yi];fe&&fe.setForRemoval&&(C.push(se),D.add(se),fe.hasAnimation?this.driver.query(se,".ng-star-inserted",!0).forEach(je=>D.add(je)):E.add(se))}const O=new Map,L=s6(h,Array.from(D));L.forEach((Y,se)=>{const fe=kp+v++;O.set(se,fe),Y.forEach(je=>vi(je,fe))}),n.push(()=>{f.forEach((Y,se)=>{const fe=m.get(se);Y.forEach(je=>yl(je,fe))}),L.forEach((Y,se)=>{const fe=O.get(se);Y.forEach(je=>yl(je,fe))}),C.forEach(Y=>{this.processLeaveNode(Y)})});const $=[],Q=[];for(let Y=this._namespaceList.length-1;Y>=0;Y--)this._namespaceList[Y].drainQueuedTransitions(t).forEach(fe=>{const je=fe.player,xn=fe.element;if($.push(je),this.collectedEnterElements.length){const ar=xn[Yi];if(ar&&ar.setForMove){if(ar.previousTriggersValues&&ar.previousTriggersValues.has(fe.triggerName)){const ka=ar.previousTriggersValues.get(fe.triggerName),bi=this.statesByElement.get(fe.element);if(bi&&bi.has(fe.triggerName)){const Gp=bi.get(fe.triggerName);Gp.value=ka,bi.set(fe.triggerName,Gp)}}return void je.destroy()}}const wi=!d||!this.driver.containsElement(d,xn),br=O.get(xn),To=m.get(xn),Ht=this._buildInstruction(fe,r,To,br,wi);if(Ht.errors&&Ht.errors.length)return void Q.push(Ht);if(wi)return je.onStart(()=>xa(xn,Ht.fromStyles)),je.onDestroy(()=>So(xn,Ht.toStyles)),void i.push(je);if(fe.isFallbackTransition)return je.onStart(()=>xa(xn,Ht.fromStyles)),je.onDestroy(()=>So(xn,Ht.toStyles)),void i.push(je);const zp=[];Ht.timelines.forEach(ar=>{ar.stretchStartingKeyframe=!0,this.disabledNodes.has(ar.element)||zp.push(ar)}),Ht.timelines=zp,r.append(xn,Ht.timelines),s.push({instruction:Ht,player:je,element:xn}),Ht.queriedElements.forEach(ar=>ei(a,ar,[]).push(je)),Ht.preStyleProps.forEach((ar,ka)=>{if(ar.size){let bi=c.get(ka);bi||c.set(ka,bi=new Set),ar.forEach((Gp,Nv)=>bi.add(Nv))}}),Ht.postStyleProps.forEach((ar,ka)=>{let bi=l.get(ka);bi||l.set(ka,bi=new Set),ar.forEach((Gp,Nv)=>bi.add(Nv))})});if(Q.length){const Y=[];Q.forEach(se=>{Y.push(function PG(){return new k(3505,!1)}())}),$.forEach(se=>se.destroy()),this.reportError(Y)}const ae=new Map,J=new Map;s.forEach(Y=>{const se=Y.element;r.has(se)&&(J.set(se,se),this._beforeAnimationBuild(Y.player.namespaceId,Y.instruction,ae))}),i.forEach(Y=>{const se=Y.element;this._getPreviousPlayers(se,!1,Y.namespaceId,Y.triggerName,null).forEach(je=>{ei(ae,se,[]).push(je),je.destroy()})});const Jt=C.filter(Y=>c6(Y,c,l)),cn=new Map;o6(cn,this.driver,E,l,Zo).forEach(Y=>{c6(Y,c,l)&&Jt.push(Y)});const wr=new Map;f.forEach((Y,se)=>{o6(wr,this.driver,new Set(Y),c,"!")}),Jt.forEach(Y=>{const se=cn.get(Y),fe=wr.get(Y);cn.set(Y,new Map([...se?.entries()??[],...fe?.entries()??[]]))});const Rs=[],_i=[],Na={};s.forEach(Y=>{const{element:se,player:fe,instruction:je}=Y;if(r.has(se)){if(u.has(se))return fe.onDestroy(()=>So(se,je.toStyles)),fe.disabled=!0,fe.overrideTotalTime(je.totalTime),void i.push(fe);let xn=Na;if(J.size>1){let br=se;const To=[];for(;br=br.parentNode;){const Ht=J.get(br);if(Ht){xn=Ht;break}To.push(br)}To.forEach(Ht=>J.set(Ht,xn))}const wi=this._buildAnimation(fe.namespaceId,je,ae,o,wr,cn);if(fe.setRealPlayer(wi),xn===Na)Rs.push(fe);else{const br=this.playersByElement.get(xn);br&&br.length&&(fe.parentPlayer=Os(br)),i.push(fe)}}else xa(se,je.fromStyles),fe.onDestroy(()=>So(se,je.toStyles)),_i.push(fe),u.has(se)&&i.push(fe)}),_i.forEach(Y=>{const se=o.get(Y.element);if(se&&se.length){const fe=Os(se);Y.setRealPlayer(fe)}}),i.forEach(Y=>{Y.parentPlayer?Y.syncPlayerEvents(Y.parentPlayer):Y.destroy()});for(let Y=0;Y<C.length;Y++){const se=C[Y],fe=se[Yi];if(yl(se,kp),fe&&fe.hasAnimation)continue;let je=[];if(a.size){let wi=a.get(se);wi&&wi.length&&je.push(...wi);let br=this.driver.query(se,pv,!0);for(let To=0;To<br.length;To++){let Ht=a.get(br[To]);Ht&&Ht.length&&je.push(...Ht)}}const xn=je.filter(wi=>!wi.destroyed);xn.length?NW(this,se,xn):this.processLeaveNode(se)}return C.length=0,Rs.forEach(Y=>{this.players.push(Y),Y.onDone(()=>{Y.destroy();const se=this.players.indexOf(Y);this.players.splice(se,1)}),Y.play()}),Rs}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,r,i,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const c=!o||o==gd;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(n,t,r){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const c of t.timelines){const l=c.element,u=l!==o,d=ei(r,l,[]);this._getPreviousPlayers(l,u,s,a,t.toState).forEach(f=>{const m=f.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),f.destroy(),d.push(f)})}xa(o,t.fromStyles)}_buildAnimation(n,t,r,i,o,s){const a=t.triggerName,c=t.element,l=[],u=new Set,d=new Set,h=t.timelines.map(m=>{const v=m.element;u.add(v);const C=v[Yi];if(C&&C.removedBeforeQueried)return new Xu(m.duration,m.delay);const D=v!==c,E=function kW(e){const n=[];return a6(e,n),n}((r.get(v)||DW).map(ae=>ae.getRealPlayer())).filter(ae=>!!ae.element&&ae.element===v),O=o.get(v),L=s.get(v),$=VS(this._normalizer,m.keyframes,O,L),Q=this._buildPlayer(m,$,E);if(m.subTimeline&&i&&d.add(v),D){const ae=new Iv(n,a,v);ae.setRealPlayer(Q),l.push(ae)}return Q});l.forEach(m=>{ei(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function IW(e,n,t){let r=e.get(n);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&e.delete(n)}return r}(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>vi(m,zS));const f=Os(h);return f.onDestroy(()=>{u.forEach(m=>yl(m,zS)),So(c,t.toStyles)}),d.forEach(m=>{ei(i,m,[]).push(f)}),f}_buildPlayer(n,t,r){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,r):new Xu(n.duration,n.delay)}}class Iv{constructor(n,t,r){this.namespaceId=n,this.triggerName=t,this.element=r,this._player=new Xu,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>sv(n,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){ei(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Hp(e){return e&&1===e.nodeType}function i6(e,n){const t=e.style.display;return e.style.display=n??"none",t}function o6(e,n,t,r,i){const o=[];t.forEach(c=>o.push(i6(c)));const s=[];r.forEach((c,l)=>{const u=new Map;c.forEach(d=>{const h=n.computeStyle(l,d,i);u.set(d,h),(!h||0==h.length)&&(l[Yi]=SW,s.push(l))}),e.set(l,u)});let a=0;return t.forEach(c=>i6(c,o[a++])),s}function s6(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const i=new Set(n),o=new Map;function s(a){if(!a)return 1;let c=o.get(a);if(c)return c;const l=a.parentNode;return c=t.has(l)?l:i.has(l)?1:s(l),o.set(a,c),c}return n.forEach(a=>{const c=s(a);1!==c&&t.get(c).push(a)}),t}function vi(e,n){e.classList?.add(n)}function yl(e,n){e.classList?.remove(n)}function NW(e,n,t){Os(t).onDone(()=>e.processLeaveNode(n))}function a6(e,n){for(let t=0;t<e.length;t++){const r=e[t];r instanceof SD?a6(r.players,n):n.push(r)}}function c6(e,n,t){const r=t.get(e);if(!r)return!1;let i=n.get(e);return i?r.forEach(o=>i.add(o)):n.set(e,r),t.delete(e),!0}class yd{constructor(n,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new MW(n.body,t,r),this._timelineEngine=new _W(n.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(n,t,r,i,o){const s=n+"-"+i;let a=this._triggerCache[s];if(!a){const c=[],u=_v(this._driver,o,c,[]);if(c.length)throw function CG(){return new k(3404,!1)}();a=function mW(e,n,t){return new gW(e,n,t)}(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,r,i){this._transitionEngine.insertNode(n,t,r,i)}onRemove(n,t,r){this._transitionEngine.removeNode(n,t,r)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,r,i){if("@"==r.charAt(0)){const[o,s]=$S(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(n,t,r,i)}listen(n,t,r,i,o){if("@"==r.charAt(0)){const[s,a]=$S(r);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,r,i,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class vd{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,r){this._element=n,this._startStyles=t,this._endStyles=r,this._state=0;let i=vd.initialStylesByElement.get(n);i||vd.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&So(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(So(this._element,this._initialStyles),this._endStyles&&(So(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(vd.initialStylesByElement.delete(this._element),this._startStyles&&(xa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xa(this._element,this._endStyles),this._endStyles=null),So(this._element,this._initialStyles),this._state=3)}}function xv(e){let n=null;return e.forEach((t,r)=>{(function RW(e){return"display"===e||"position"===e})(r)&&(n=n||new Map,n.set(r,t))}),n}class l6{constructor(n,t,r,i){this.element=n,this.keyframes=t,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(n,t,r){return n.animate(this._convertKeyframesToObject(t),r)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&n.set(i,this._finished?r:vv(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class u6{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return jS(n,t)}getParentElement(n){return lv(n)}query(n,t,r){return HS(n,t,r)}computeStyle(n,t,r){return vv(n,t)}animate(n,t,r,i,o,s=[]){const c={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(c.easing=o);const l=new Map,u=s.filter(f=>f instanceof l6);(function WG(e,n){return 0===e||0===n})(r,i)&&u.forEach(f=>{f.currentSnapshot.forEach((m,v)=>l.set(v,m))});let d=function UG(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(f=>new Map(f));d=function qG(e,n,t){if(t.size&&n.length){let r=n[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<n.length;o++){let s=n[o];i.forEach(a=>s.set(a,vv(e,a)))}}return n}(n,d,l);const h=function OW(e,n){let t=null,r=null;return Array.isArray(n)&&n.length?(t=xv(n[0]),n.length>1&&(r=xv(n[n.length-1]))):n instanceof Map&&(t=xv(n)),t||r?new vd(e,t,r):null}(n,d);return new l6(n,d,c,h)}}const d6="@.disabled";class h6{constructor(n,t,r,i){this.namespaceId=n,this.delegate=t,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,r,i=!0){this.delegate.insertBefore(n,t,r),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,r,i){this.delegate.setAttribute(n,t,r,i)}removeAttribute(n,t,r){this.delegate.removeAttribute(n,t,r)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,r,i){this.delegate.setStyle(n,t,r,i)}removeStyle(n,t,r){this.delegate.removeStyle(n,t,r)}setProperty(n,t,r){"@"==t.charAt(0)&&t==d6?this.disableAnimations(n,!!r):this.delegate.setProperty(n,t,r)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,r){return this.delegate.listen(n,t,r)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class LW extends h6{constructor(n,t,r,i,o){super(t,r,i,o),this.factory=n,this.namespaceId=t}setProperty(n,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==d6?this.disableAnimations(n,r=void 0===r||!!r):this.engine.process(this.namespaceId,n,t.slice(1),r):this.delegate.setProperty(n,t,r)}listen(n,t,r){if("@"==t.charAt(0)){const i=function FW(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function VW(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(n,t,r)}}class $W{constructor(n,t,r){this.delegate=n,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(n,t){const i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const l=this._rendererCache;let u=l.get(i);return u||(u=new h6("",i,this.engine,()=>l.delete(i)),l.set(i,u)),u}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=l=>{Array.isArray(l)?l.forEach(a):this.engine.registerTrigger(o,s,n,l.name,l)};return t.data.animation.forEach(a),new LW(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,r){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const f6=[{provide:hv,useFactory:function jW(){return new qS}},{provide:yd,useClass:(()=>{class e extends yd{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(r){return new(r||e)(Z(sr),Z(dv),Z(hv))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})()},{provide:Fh,useFactory:function HW(e,n,t){return new $W(e,n,t)},deps:[iy,yd,rt]}],Av=[{provide:dv,useFactory:()=>new u6},{provide:B2,useValue:"BrowserAnimations"},...f6],p6=[{provide:dv,useClass:uv},{provide:B2,useValue:"NoopAnimations"},...f6];let m6=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?p6:Av}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:Av,imports:[$f]})}return e})();ue(557);const g6={merchantCapabilities:["supports3DS"],supportedNetworks:["visa","masterCard","amex","discover"]},UW=Lr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),y6=new W("APPLE_PAY_SESSION_TOKEN",{factory:()=>U(sr).defaultView.ApplePaySession});let v6=(()=>{class e{constructor(t){this.applePaySession=t}canMakePayments(){return ApplePaySession.canMakePayments()}createPaySession(t,r,i){return new lt(o=>{const s=a=>{o.error(a),console.error(a)};try{const a=new this.applePaySession(t,r),c=(l,u)=>{a.abort(),s({event:l,error:u})};a.onvalidatemerchant=function(){var l=rl(function*(u){try{const d=yield function zW(e,n){const t="object"==typeof n;return new Promise((r,i)=>{let s,o=!1;e.subscribe({next:a=>{s=a,o=!0},error:i,complete:()=>{o?r(s):t?r(n.defaultValue):i(new UW)}})})}(i(u));a.completeMerchantValidation(d)}catch(d){c(u,d)}});return function(u){return l.apply(this,arguments)}}(),a.onpaymentmethodselected=l=>{const u={newTotal:{...r.total}};a.completePaymentMethodSelection(u)},a.onshippingmethodselected=l=>{a.completeShippingMethodSelection({})},a.onshippingcontactselected=l=>{a.completeShippingContactSelection({})},a.onpaymentauthorized=l=>{a.completePayment({status:ApplePaySession.STATUS_SUCCESS}),o.next(l),o.complete()},a.oncancel=l=>{s(l)},a.begin()}catch(a){s(a)}})}static#e=this.\u0275fac=function(r){return new(r||e)(Z(y6))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})(),_6=(()=>{class e{constructor(t,r){this.nativeService=t,this.http=r}canMakePayment(){return Eo(this.nativeService.canMakePayments())}pay(t){const{version:r=10}=t;return this.nativeService.createPaySession(r,this.mapData(t),o=>this.validate(o,t))}validate(t,r){const{validationURL:i}=t,{merchantId:o,processingUrl:s,userToken:a}=r;return this.http.post(s,{validationUrl:i},{params:{merchantId:o},headers:a?{Authorization:a}:void 0})}mapData(t){const{total:r,countryCode:i,supportedNetworks:o=g6.supportedNetworks,merchantCapabilities:s=g6.merchantCapabilities}=t;return{countryCode:i,currencyCode:r.currency,supportedNetworks:o,merchantCapabilities:s,total:{amount:r.amount,label:r.label}}}static#e=this.\u0275fac=function(r){return new(r||e)(Z(v6),Z(np))};static#t=this.\u0275prov=ee({token:e,factory:e.\u0275fac})}return e})();const GW=new W("APPLE_PAY_SESSION_SUPPORT_TOKEN",{factory:()=>!!U(y6)}),WW={canMakePayment:()=>Eo(!1),pay(e){throw new Error("not implemented")}};let w6=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[v6,_6,{provide:s5,deps:[GW,_6],useFactory:(t,r)=>t?r:WW}]})}return e})(),b6=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[d5],imports:[vS.forRoot(),LS,fS,hS,Y0,$f,m6,w6,vS,LS,fS,hS,Y0,$f,m6,w6]})}return e})(),qW=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[tn,gl,Ly,Ry,Np,Ap],imports:[b6]})}return e})(),ZW=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[Oy,id]})}return e})(),YW=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[kS]})}return e})();function KW(e,n){let t=e;const r=U(tn),i=U(sp),o=r.data.settings().language,s=!!e.headers.get(ll_customHeaders_skipToastr);return s&&(t=e.clone({headers:e.headers.delete(ll_customHeaders_skipToastr)})),n(t).pipe(Ju(a=>(s||i.error(o.notifications.error.default.text,o.notifications.error.default.title),r.events.error.emit(a),QD(()=>a))))}function XW(e,n){let t=e;const r=U(tn);if(!e.headers.get("Authorization")){const o=r.data.payment()?.userAuthToken;o&&(t=e.clone({headers:e.headers.append("Authorization",o)}))}return n(t)}let QW=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({providers:[Nj(kj([KW,XW]))],imports:[mH.forRoot(),qW,b6,ZW,YW]})}return e})(),JW=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(t){const{injector:r}=this,i=function SV(e,n){const t=function vV(e,n){return n.get(pa).resolveComponentFactory(e).inputs}(e,n.injector),r=n.strategyFactory||new CV(e,n.injector),i=function yV(e){const n={};return e.forEach(({propName:t,templateName:r,transform:i})=>{n[function hV(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(r)]=[t,i]}),n}(t);class o extends DV{static#e=this.observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,h]=i[a];this.ngElementStrategy.setInputValue(d,l,h)}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 c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return t.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),o}(eG,{injector:r});customElements.define("moto-payment-form",i)}static#e=this.\u0275fac=function(r){return new(r||e)(Z(It))};static#t=this.\u0275mod=Un({type:e});static#n=this.\u0275inj=On({imports:[$f,QW]})}return e})();CF().bootstrapModule(JW).catch(e=>console.log(e))},634:function(en,Pe,ue){"use strict";var Ae=this&&this.__assign||function(){return Ae=Object.assign||function(oe){for(var Te,Ue=1,Dt=arguments.length;Ue<Dt;Ue++)for(var nn in Te=arguments[Ue])Object.prototype.hasOwnProperty.call(Te,nn)&&(oe[nn]=Te[nn]);return oe},Ae.apply(this,arguments)},q=ue(990),xe=ue(402),Se=ue(987),Ze=ue(250),te=ue(507),K={},ce={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},Ct=[ce.VISA,ce.MASTERCARD,ce.AMERICAN_EXPRESS,ce.DINERS_CLUB,ce.DISCOVER,ce.JCB,ce.UNIONPAY,ce.MAESTRO,ce.ELO,ce.MIR,ce.HIPER,ce.HIPERCARD],gt=(0,te.clone)(Ct);function ln(oe){return K[oe]||q[oe]}function He(oe,Te){void 0===Te&&(Te=!1);var Ue=gt.indexOf(oe);if(!Te&&-1===Ue)throw new Error('"'+oe+'" is not a supported card type.');return Ue}function Le(oe){var Te=[];if(!(0,Se.isValidInputType)(oe))return Te;if(0===oe.length)return function Ye(){return gt.map(function(oe){return(0,te.clone)(ln(oe))})}();gt.forEach(function(Dt){var nn=ln(Dt);(0,xe.addMatchingCardsToResults)(oe,nn,Te)});var Ue=(0,Ze.findBestMatch)(Te);return Ue?[Ue]:Te}Le.getTypeInfo=function(oe){return(0,te.clone)(ln(oe))},Le.removeCard=function(oe){var Te=He(oe);gt.splice(Te,1)},Le.addCard=function(oe){var Te=He(oe.type,!0);K[oe.type]=oe,-1===Te&>.push(oe.type)},Le.updateCard=function(oe,Te){var Ue=K[oe]||q[oe];if(!Ue)throw new Error('"'.concat(oe,"\" is not a recognized type. Use `addCard` instead.'"));if(Te.type&&Ue.type!==Te.type)throw new Error("Cannot overwrite type parameter.");var Dt=(0,te.clone)(Ue);Dt=Ae(Ae({},Dt),Te),K[Dt.type]=Dt},Le.changeOrder=function(oe,Te){var Ue=He(oe);gt.splice(Ue,1),gt.splice(Te,0,oe)},Le.resetModifications=function(){gt=(0,te.clone)(Ct),K={}},Le.types=ce,en.exports=Le},402:(en,Pe,ue)=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.addMatchingCardsToResults=void 0;var Ae=ue(507),q=ue(595);Pe.addMatchingCardsToResults=function xe(Se,Ze,te){var K,ce;for(K=0;K<Ze.patterns.length;K++){var Ct=Ze.patterns[K];if((0,q.matches)(Se,Ct)){var gt=(0,Ae.clone)(Ze);ce=Array.isArray(Ct)?String(Ct[0]).length:String(Ct).length,Se.length>=ce&&(gt.matchStrength=ce),te.push(gt);break}}}},990:en=>{"use strict";en.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[62207,62209],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},507:(en,Pe)=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.clone=void 0,Pe.clone=function ue(Ae){return Ae?JSON.parse(JSON.stringify(Ae)):null}},250:(en,Pe)=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.findBestMatch=void 0,Pe.findBestMatch=function Ae(q){return function ue(q){var xe=q.filter(function(Se){return Se.matchStrength}).length;return xe>0&&xe===q.length}(q)?q.reduce(function(xe,Se){return!xe||Number(xe.matchStrength)<Number(Se.matchStrength)?Se:xe}):null}},987:(en,Pe)=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.isValidInputType=void 0,Pe.isValidInputType=function ue(Ae){return"string"==typeof Ae||Ae instanceof String}},595:(en,Pe)=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.matches=void 0,Pe.matches=function q(xe,Se){return Array.isArray(Se)?function ue(xe,Se,Ze){var te=String(Se).length,K=xe.substr(0,te),ce=parseInt(K,10);return Se=parseInt(String(Se).substr(0,K.length),10),Ze=parseInt(String(Ze).substr(0,K.length),10),ce>=Se&&ce<=Ze}(xe,Se[0],Se[1]):function Ae(xe,Se){return(Se=String(Se)).substring(0,xe.length)===xe.substring(0,Se.length)}(xe,Se)}},557:()=>{!function(en){function Pe(K){for(var ce,Ct,gt=K[0],ln=K[1],Ye=0,He=[];Ye<gt.length;Ye++)Ct=gt[Ye],Object.prototype.hasOwnProperty.call(Ae,Ct)&&Ae[Ct]&&He.push(Ae[Ct][0]),Ae[Ct]=0;for(ce in ln)Object.prototype.hasOwnProperty.call(ln,ce)&&(en[ce]=ln[ce]);for(te&&te(K);He.length;)He.shift()()}var ue={},Ae={0:0};function q(K){if(ue[K])return ue[K].exports;var ce=ue[K]={i:K,l:!1,exports:{}};return en[K].call(ce.exports,ce,ce.exports,q),ce.l=!0,ce.exports}q.e=function(){return Promise.resolve()},q.m=en,q.c=ue,q.d=function(K,ce,Ct){q.o(K,ce)||Object.defineProperty(K,ce,{enumerable:!0,get:Ct})},q.r=function(K){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(K,"__esModule",{value:!0})},q.t=function(K,ce){if(1&ce&&(K=q(K)),8&ce||4&ce&&"object"==typeof K&&K&&K.__esModule)return K;var Ct=Object.create(null);if(q.r(Ct),Object.defineProperty(Ct,"default",{enumerable:!0,value:K}),2&ce&&"string"!=typeof K)for(var gt in K)q.d(Ct,gt,function(ln){return K[ln]}.bind(null,gt));return Ct},q.n=function(K){var ce=K&&K.__esModule?function(){return K.default}:function(){return K};return q.d(ce,"a",ce),ce},q.o=function(K,ce){return Object.prototype.hasOwnProperty.call(K,ce)},q.p="",q.oe=function(K){throw console.error(K),K};var xe=window.webpackJsonp=window.webpackJsonp||[],Se=xe.push.bind(xe);xe.push=Pe,xe=xe.slice();for(var Ze=0;Ze<xe.length;Ze++)Pe(xe[Ze]);var te=Se;q(q.s=103)}({103:function(en,Pe,ue){"use strict";ue.r(Pe),function(Ae){var q=ue(14);function xe(Ye,He,Le,oe,Te,Ue,Dt){try{var nn=Ye[Ue](Dt),vn=nn.value}catch(Ci){return void Le(Ci)}nn.done?He(vn):Promise.resolve(vn).then(oe,Te)}function Se(Ye){return function(){var He=this,Le=arguments;return new Promise(function(oe,Te){var Ue=Ye.apply(He,Le);function Dt(vn){xe(Ue,oe,Te,Dt,nn,"next",vn)}function nn(vn){xe(Ue,oe,Te,Dt,nn,"throw",vn)}Dt(void 0)})}}function Ze(Ye,He,Le){return He in Ye?Object.defineProperty(Ye,He,{value:Le,enumerable:!0,configurable:!0,writable:!0}):Ye[He]=Le,Ye}function te(Ye,He){return Le=Ye,(oe=ce(Ye,He,"get")).get?oe.get.call(Le):oe.value;var Le,oe}function ce(Ye,He,Le){if(!He.has(Ye))throw new TypeError("attempted to "+Le+" private field on non-instance");return He.get(Ye)}function Ct(){var Ye="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js",Le=document.createElement("div"),oe=Ye.slice(0,Ye.lastIndexOf("/"))||"",Te=_=>{for(var g in Le.setAttribute("data-"+_,""),Le.dataset)return delete Le.dataset[g],g},Ue=_=>{Le.dataset[_]="";var g=Le.attributes[0];return Le.removeAttribute(g.name),g.name.slice(5)};function Dt(_){return oe+_.replace(/^\.\//,"/")}function nn(){var _;try{return null===(_=window.ApplePaySession)||void 0===_?void 0:_.canMakePayments()}catch(g){return console.warn(g),!1}}var vn=!1;if(typeof window<"u"){var Ci={get passive(){vn=!0}};window.addEventListener("testPassive",null,Ci),window.removeEventListener("testPassive",null,Ci)}var jn=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),An=[],cr=!1,de=-1,Ne=void 0,Ce=void 0,Be=void 0,Oe=function(_){return An.some(function(g){return!(!g.options.allowTouchMove||!g.options.allowTouchMove(_))})},ke=function(_){var g=_||window.event;return!!Oe(g.target)||g.touches.length>1||(g.preventDefault&&g.preventDefault(),!1)},vt=new WeakMap;class Ee extends HTMLElement{constructor(){super(),vt.set(this,{writable:!0,value:void 0}),Ze(this,"open",!1),Ze(this,"ready",!1),Ze(this,"url",ze.url),Ze(this,"theme",ze.theme),Ze(this,"locale",ze.locale),this.close=this.close.bind(this)}connectedCallback(){var g=this;return Se(function*(){(function K(Ye,He,Le){(function(oe,Te,Ue){if(Te.set)Te.set.call(oe,Ue);else{if(!Te.writable)throw new TypeError("attempted to set read only private field");Te.value=Ue}})(Ye,ce(Ye,He,"set"),Le)})(g,vt,g.attachShadow({mode:"closed"})),g.update(),te(g,vt).addEventListener("click",b=>{b.preventDefault(),b.stopPropagation();var T=b.target.closest('a[href*="'.concat("#apple-pay-close",'"]'));T&&b.currentTarget.contains(T)&&g.close()}),g.addEventListener("click",b=>g.close())})()}show(){(function(_){if(_){if(!An.some(function(T){return T.targetElement===_})){var b={targetElement:_,options:{}};An=[].concat(function(T){if(Array.isArray(T)){for(var B=0,H=Array(T.length);B<T.length;B++)H[B]=T[B];return H}return Array.from(T)}(An),[b]),jn?window.requestAnimationFrame(function(){if(void 0===Ce){Ce={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var T=window,B=T.scrollY,H=T.scrollX,he=T.innerHeight;document.body.style.position="fixed",document.body.style.top=-B,document.body.style.left=-H,setTimeout(function(){return window.requestAnimationFrame(function(){var ct=he-window.innerHeight;ct&&B>=he&&(document.body.style.top=-(B+ct))})},300)}}):function(){if(void 0===Be)window,document;void 0===Ne&&(Ne=document.body.style.overflow,document.body.style.overflow="hidden")}(),jn&&(_.ontouchstart=function(T){1===T.targetTouches.length&&(de=T.targetTouches[0].clientY)},_.ontouchmove=function(T){var B,H,ct,he;1===T.targetTouches.length&&(H=_,he=(B=T).targetTouches[0].clientY-de,!Oe(B.target)&&(H&&0===H.scrollTop&&he>0||(ct=H)&&ct.scrollHeight-ct.scrollTop<=ct.clientHeight&&he<0?ke(B):B.stopPropagation()))},cr||(document.addEventListener("touchmove",ke,vn?{passive:!1}:void 0),cr=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")})(this.ownerDocument.body||this.ownerDocument.documentElement),this.setAttribute("open",""),this.open=!0;var g=te(this,vt).querySelector("iframe");this.ready||(this.ready=!0,this.accessibilityTranslations(),Promise.race([new Promise(b=>g.onload=b),new Promise((b,T)=>setTimeout(T,10800))]).then(()=>{},()=>(console.error("Modal loading timeout. Check connection or try again later."),this.close())))}close(){var _;(_=this.ownerDocument.body||this.ownerDocument.documentElement)?(An=An.filter(function(g){return g.targetElement!==_}),jn&&(_.ontouchstart=null,_.ontouchmove=null,cr&&0===An.length&&(document.removeEventListener("touchmove",ke,vn?{passive:!1}:void 0),cr=!1)),jn?function(){if(void 0!==Ce){var g=-parseInt(document.body.style.top,10),b=-parseInt(document.body.style.left,10);document.body.style.position=Ce.position,document.body.style.top=Ce.top,document.body.style.left=Ce.left,window.scrollTo(b,g),Ce=void 0}}():(void 0!==Be&&(document.body.style.paddingRight=Be,Be=void 0),void 0!==Ne&&(document.body.style.overflow=Ne,Ne=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices."),this.removeAttribute("open"),this.open=!1}update(){te(this,vt).innerHTML='<section class="dialog theme-'.concat(this.theme,'" role="dialog" aria-modal="true"><div class="content"><iframe src="').concat(this.url,'" frameBorder="0" scrolling="no" loading="lazy"></iframe></div><a class="close" data-accessibility="closeButton" href="').concat("#apple-pay-close",'"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M12.12,10l4.07-4.06a1.5,1.5,0,1,0-2.11-2.12L10,7.88,5.94,3.81A1.5,1.5,0,1,0,3.82,5.93L7.88,10,3.81,14.06a1.5,1.5,0,0,0,0,2.12,1.51,1.51,0,0,0,2.13,0L10,12.12l4.06,4.07a1.45,1.45,0,0,0,1.06.44,1.5,1.5,0,0,0,1.06-2.56Z"></path></svg></a></section><style>').concat(":host{font-family:var(--apple-pay-font-family, '-apple-system', 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif');position:fixed;overflow:scroll;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;visibility:hidden;background-color:rgba(50,50,50,.58);-ms-flex-pack:center;justify-content:center;padding:2rem 0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;opacity:0;-webkit-transition:visibility 0s .28s, opacity .28s, z-index 0s .28s;transition:visibility 0s .28s, opacity .28s, z-index 0s .28s;z-index:-1}:host([open]){visibility:visible;opacity:1;-webkit-transition:visibility 0s, opacity .28s, z-index 0s 0s;transition:visibility 0s, opacity .28s, z-index 0s 0s;z-index:1728}.dialog{--apple-pay-modal-padding-top:22px;--apple-pay-modal-padding-bottom:22px;--apple-pay-modal-padding-inline:22px;border-radius:20px;border:none;background-color:white;padding:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:relative;margin:auto;opacity:0;-webkit-transform:scale(.97) translateZ(0);transform:scale(.97) translateZ(0);-webkit-transition:all .108s .054s;transition:all .108s .054s}:host([open]) .dialog{opacity:1;-webkit-transform:scale(1) translateZ(0);transform:scale(1) translateZ(0)}.dialog.theme-dark{background-color:#000}@media (prefers-color-scheme: dark){.dialog.theme-auto{background-color:#000}}.dialog .content{-webkit-margin-start:var(--apple-pay-modal-padding-inline);margin-inline-start:var(--apple-pay-modal-padding-inline);-webkit-margin-end:var(--apple-pay-modal-padding-inline);margin-inline-end:var(--apple-pay-modal-padding-inline);margin-top:var(--apple-pay-modal-padding-top);margin-bottom:var(--apple-pay-modal-padding-bottom);position:relative}.dialog iframe{border:none;width:320px;height:750px}@media (min-width: 376px){.dialog iframe{width:360px;height:720px}}.dialog footer{-webkit-padding-start:var(--apple-pay-modal-padding-inline);padding-inline-start:var(--apple-pay-modal-padding-inline);-webkit-padding-end:var(--apple-pay-modal-padding-inline);padding-inline-end:var(--apple-pay-modal-padding-inline);padding-top:var(--apple-pay-modal-padding-top);padding-bottom:var(--apple-pay-modal-padding-bottom);position:absolute;bottom:0;left:0;right:0}.dialog .close{position:absolute;top:20px;right:20px;width:36px;height:36px;border-radius:36px;display:-ms-flexbox;display:flex;background-color:rgb(232, 232, 237);color:rgba(0, 0, 0, 0.56);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;outline:none}.dialog .close:hover{background-color:rgb(236, 236, 240);color:rgba(0, 0, 0, 0.72)}.dialog .close svg{fill:currentColor;width:20px;height:20px}.theme-dark.dialog .close{background-color:#333336;color:rgba(255,255,255,0.8)}.theme-dark.dialog .close:hover{background-color:#37373a;color:#fff}@media (prefers-color-scheme: dark){.theme-auto.dialog .close{background-color:#333336;color:rgba(255,255,255,0.8)}.theme-auto.dialog .close:hover{background-color:#37373a;color:#fff}}","</style>"),this.setAttribute("theme",this.theme)}accessibilityTranslations(){var g=this;Se(function*(){var b=yield(yield fetch(Dt("./merchandising-".concat(g.locale.split("-")[1].toLowerCase(),".json")))).json(),T=g.locale.split("-")[0],B=b.accessibility[T],H=/\{\{\s*([^\s]+)\s*\}\}/gi;te(g,vt).querySelectorAll("[data-accessibility]").forEach(he=>{var ct=he.dataset.accessibility;he.ariaLabel=B[ct].replaceAll(H,(Gt,er,ii)=>er),he.alt=B[ct].replaceAll(H,(Gt,er,ii)=>er)})})()}static get observedAttributes(){return Nn}attributeChangedCallback(g,b,T){g=Te(g),null==T?delete this[g]:this[g]="true"===T||"false"!==T&&(""===T||T),T!==b&&this.update()}}var ze={theme:"auto",locale:"en-US",url:""},Nn=Object.keys(ze).map(Ue);Object.assign(Ee.prototype,ze),customElements.define("apple-pay-merchandising-modal",Ee);var Ut=document.createElement("apple-pay-merchandising-modal");document.contains(Ut)||(document.body||document.documentElement).appendChild(Ut);var kn,_n,zt,un=function(_,g,b){if(!g.has(_))throw new TypeError("attempted to set private field on non-instance");return g.set(_,b),b},Ke=function(_,g){if(!g.has(_))throw new TypeError("attempted to get private field on non-instance");return g.get(_)},Gn={us:{text:{en:{badge:'<a class="info-circle" href="{{ modalUrl }}" style="display:block"><svg width="16" style="display:block" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M29.9475268,59.5867724 C46.1333288,59.5867724 59.534715,46.15661 59.534715,29.9998218 C59.534715,13.8140198 46.1043387,0.412871288 29.9185367,0.412871288 C13.7617248,0.412871288 0.36059406,13.8140198 0.36059406,29.9998218 C0.36059406,46.15661 13.7907743,59.5867724 29.9475268,59.5867724 Z M29.9475268,54.6556041 C16.256299,54.6556041 5.32073466,43.6910496 5.32073466,29.9998218 C5.32073466,16.3085941 16.2273089,5.34403961 29.9185367,5.34403961 C43.6097644,5.34403961 54.5743189,16.3085941 54.6035429,29.9998218 C54.6325367,43.6910496 43.6387545,54.6556041 29.9475268,54.6556041 Z M29.6864971,19.673406 C31.8039624,19.673406 33.4573486,17.9909703 33.4573486,15.873505 C33.4573486,13.7559802 31.8039624,12.073604 29.6864971,12.073604 C27.5979624,12.073604 25.9155862,13.7559802 25.9155862,15.873505 C25.9155862,17.9909703 27.5979624,19.673406 29.6864971,19.673406 Z M24.8713486,45.9535605 L36.6770912,45.9535605 C37.8663981,45.9535605 38.7946159,45.0833585 38.7946159,43.8940991 C38.7946159,42.7628318 37.8663981,41.863604 36.6770912,41.863604 L33.0802991,41.863604 L33.0802991,27.0991486 C33.0802991,25.5327921 32.2970911,24.4885545 30.8177644,24.4885545 L25.3644773,24.4885545 C24.1751703,24.4885545 23.2469525,25.3877228 23.2469525,26.5189901 C23.2469525,27.7082971 24.1751703,28.5784753 25.3644773,28.5784753 L28.4682,28.5784753 L28.4682,41.863604 L24.8713486,41.863604 C23.6820416,41.863604 22.7538238,42.7628318 22.7538238,43.8940991 C22.7538238,45.0833585 23.6820416,45.9535605 24.8713486,45.9535605 Z" transform="translate(2 2)"></path></svg></a>',plain:'Pay in full or use Apple Pay Later to make {{ frequency }} interest\u2011free payments of {{ paymentsAmount }}. <a href="{{ modalUrl }}"><strong>Learn more</strong></a>',price:'Or {{ frequency }} interest\u2011free payments of {{ paymentsAmount }} with Apple Pay Later. <a href="{{ modalUrl }}"><strong>Learn more</strong></a>',checkout:'Pay in full or use Apple Pay Later to make {{ frequency }} interest\u2011free payments of {{ paymentsAmount }}. <a href="{{ modalUrl }}"><strong>Learn more</strong></a>'}},legal:{default:"No fees and no impact to credit fees eligibility.\nPayment options are subject to eligibility checks and approvals at checkout.\nLoans are issued by Apple Financing LLC, NMLS #2154940, and may not be available in all states.\nCA Residents: Loans issued by Apple Financing LLC are made or arranged pursuant to a California Finance Lenders Law license.",learnMore:"Apple Pay Later loans are subject to eligibility checks and approvals, are issued by Apple Financing LLC, NMLS #2154940, and may not be available in all states. CA residents: Loans are made or arranged pursuant to a California Finance Lenders Law license."},nativeContent:{en:{promoText:"Pay in full or use Apple Pay Later to make {frequency} interest\u2011free payments of {paymentsAmount}."}},modal:{en:{"large-title":"Apple Pay Later",intro:"Pay purchases in {{ frequency }} interest-free payments every 2 weeks. Available to use everywhere Apple Pay is accepted.",payments:"Example payments for",amount:"{{ paymentsAmount }} every 2 weeks",frequency:"{{ frequency }} payments",today:'Due Today <span style="float: right;">{{ paymentsAmount }}</span>',"2weeks":'In 2 Weeks <span style="float: right;">{{ paymentsAmount }}</span>',"4weeks":'In 4 Weeks <span style="float: right;">{{ paymentsAmount }}</span>',"6weeks":'In 6 Weeks <span style="float: right;">{{ lastPaymentAmount }}</span>',total:"Total Cost {{ amount }}",interest:"No Interest"}},learnMore:{en:{intro:"Pay 4 interest-free payments, every 2 weeks.",headline1:"Check out with Apple Pay",subheadline1:"Check out with Apple Pay online and select the Pay Later option to review your available payment plan.",headline2:"No Fees or Impact to Credit",subheadline2:"No fees or funny stuff. Checking your eligibility will never impact your credit.",headline3:"Pay 25% today",subheadline3:"Your first payment is due at checkout, the rest every 2 weeks for 6 weeks.",headline4:"Manage in Wallet",subheadline4:"After your purchase, you can relax and manage your remaining payments right in the Wallet app."}},accessibility:{en:{applePayLaterLogo:"Apple Pay Later",applePayIcon:"Apple Pay icon",priceTagIcon:"Price Tag icon",dollarSignIcon:"Dollar Sign icon",walletIcon:"Wallet icon",applePayLaterAppLogo:"Apple Pay Later Icon",closeButton:"Close Button"}},presets:{badge:{logoType:"pay_later",logoStyle:"none",logoAlign:"left"},plain:{logoType:"pay",logoAlign:"right",logoStyle:"black"},checkout:{logoType:"pay",logoAlign:"left",logoStyle:"white"},price:{logoType:"pay",logoAlign:"right",logoStyle:"black"},custom:{logoType:"none",logoAlign:"left",logoStyle:"none"}},currencyCode:"USD",method:{bnpl:{minAmount:50,maxAmount:1e3,frequency:4}}}},Cr={apple_pay_later_logo_black:'<svg xmlns="http://www.w3.org/2000/svg" width="476.234" height="99.409" viewBox="0 0 476.234 99.409" style="enable-background:new 0 0 476.234 99.409" xml:space="preserve"><path d="M105.946 5.505c14.176 0 24.048 9.771 24.048 23.998 0 14.277-10.074 24.1-24.402 24.1H89.896v24.96h-11.34V5.505h27.39zm-16.05 38.579h13.012c9.873 0 15.492-5.315 15.492-14.53 0-9.214-5.619-14.479-15.441-14.479H89.896v29.009zm43.164 19.341c0-9.316 7.139-15.037 19.796-15.746l14.581-.86v-4.101c0-5.924-4-9.468-10.683-9.468-6.329 0-10.278 3.037-11.24 7.797h-10.328c.607-9.62 8.81-16.708 21.973-16.708 12.911 0 21.163 6.835 21.163 17.518v36.706h-10.48v-8.759h-.253c-3.088 5.924-9.821 9.67-16.809 9.67-10.429 0-17.72-6.481-17.72-16.049zm34.377-4.81v-4.202l-13.113.81c-6.531.456-10.227 3.342-10.227 7.898 0 4.657 3.848 7.695 9.721 7.695 7.645 0 13.619-5.265 13.619-12.201zm20.779 39.541v-8.86c.81.202 2.632.202 3.544.202 5.062 0 7.797-2.126 9.467-7.594 0-.102.963-3.24.963-3.291l-19.24-53.312h11.847l13.468 43.339h.202l13.468-43.339h11.543L213.53 81.347c-4.556 12.911-9.821 17.062-20.858 17.062-.912 0-3.647-.101-4.456-.253zm112.339-19.594h-45.363V5.505h11.341V68.74h34.022v9.822zm4.937-15.137c0-9.316 7.139-15.037 19.796-15.746l14.581-.86v-4.101c0-5.924-4-9.468-10.683-9.468-6.329 0-10.278 3.037-11.24 7.797h-10.328c.607-9.62 8.81-16.708 21.973-16.708 12.911 0 21.163 6.835 21.163 17.518v36.706h-10.48v-8.759h-.253c-3.088 5.924-9.821 9.67-16.809 9.67-10.43 0-17.72-6.481-17.72-16.049zm34.377-4.81v-4.202l-13.113.81c-6.531.456-10.227 3.342-10.227 7.898 0 4.657 3.848 7.695 9.721 7.695 7.644 0 13.619-5.265 13.619-12.201zm35.649-45.921V25.3h10.125v8.658h-10.125v29.364c0 4.607 2.024 6.683 6.48 6.683 1.113 0 2.886-.101 3.594-.253v8.657c-1.215.305-3.645.507-6.075.507-10.784 0-14.986-4.101-14.986-14.379V33.959h-7.746v-8.658h7.746V12.694h10.987zm63.409 50.224c-1.519 9.721-10.733 16.657-22.935 16.657-15.645 0-25.111-10.581-25.111-27.391 0-16.707 9.619-27.846 24.656-27.846 14.783 0 23.997 10.43 23.997 26.58v3.747h-37.616v.658c0 9.265 5.568 15.391 14.327 15.391 6.228 0 10.835-3.139 12.303-7.797h10.379zM401.968 47.02h26.631c-.253-8.15-5.417-13.872-13.062-13.872s-13.012 5.823-13.569 13.872zm46.028-21.719h10.43v9.062h.253c1.772-6.227 6.531-9.923 12.81-9.923 1.569 0 2.937.253 3.746.405v10.176c-.86-.354-2.784-.607-4.911-.607-7.037 0-11.391 4.709-11.391 12.252v31.896h-10.937V25.301zm-400.1-6.172c-6.518-.482-12.048 3.641-15.133 3.641-3.13 0-7.956-3.537-13.074-3.44-6.719.098-12.912 3.91-16.377 9.926C-3.667 41.369 1.53 59.32 8.328 69.15c3.325 4.803 7.291 10.216 12.5 10.019 5.014-.197 6.911-3.243 12.972-3.243 6.057 0 7.766 3.243 13.068 3.146 5.397-.1 8.816-4.903 12.117-9.733 3.82-5.575 5.389-10.973 5.482-11.259-.119-.045-10.52-4.036-10.624-16.019-.094-10.018 8.177-14.834 8.553-15.066-4.693-6.914-11.945-7.677-14.5-7.866zm-4.022-6.489C46.642 9.294 48.505 4.634 47.992 0c-3.984.158-8.803 2.654-11.661 5.998-2.559 2.962-4.807 7.706-4.196 12.246 4.441.342 8.973-2.257 11.739-5.604z"/></svg>',apple_pay_later_mark_black:'<svg viewBox="0 0 299 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M283.698,0 L14.823,0 C14.257,0 13.69,0 13.125,0.003 C12.648,0.007 12.172,0.012 11.695,0.025 C10.656,0.053 9.608,0.115 8.582,0.299 C7.55304935,0.475289397 6.5561053,0.803896713 5.624,1.274 C3.75016438,2.22707876 2.22707876,3.75016438 1.274,5.624 C0.803057197,6.55646163 0.474412543,7.5541931 0.299,8.584 C0.113,9.611 0.052,10.658 0.024,11.696 C0.011,12.173 0.005,12.649 0,13.126 C0,13.69 0,14.256 0,14.823 L0,91.141 C0,91.708 0,92.273 0,92.84 C0.005,93.316 0.011,93.793 0.024,94.27 C0.052,95.306 0.114,96.354 0.299,97.38 C0.474052532,98.4097641 0.802361489,99.4074997 1.273,100.34 C1.74618424,101.271314 2.36382962,102.121842 3.103,102.86 C3.84090499,103.599466 4.69148278,104.217148 5.623,104.69 C6.57,105.173 7.54,105.48 8.583,105.667 C9.608,105.85 10.656,105.912 11.695,105.94 C12.172,105.951 12.648,105.958 13.125,105.96 C13.69,105.964 14.257,105.964 14.823,105.964 L283.698,105.964 C284.263,105.964 284.83,105.964 285.395,105.96 C285.87205,105.957616 286.349069,105.950949 286.826,105.94 C287.863,105.912 288.911,105.85 289.939,105.667 C290.968174,105.490543 291.96519,105.161238 292.897,104.69 C294.769895,103.735625 296.292625,102.212895 297.247,100.34 C297.73,99.393 298.036,98.423 298.221,97.38 C298.407,96.354 298.467,95.306 298.495,94.27 C298.508,93.793 298.515,93.316 298.517,92.84 C298.521,92.273 298.521,91.708 298.521,91.141 L298.521,14.824 C298.521,14.257 298.521,13.691 298.517,13.125 C298.515064,12.6485989 298.50773,12.172235 298.495,11.696 C298.467,10.658 298.407,9.611 298.221,8.584 C298.046831,7.55401695 297.71848,6.55615176 297.247,5.624 C296.293413,3.75053315 294.770467,2.22758663 292.897,1.274 C291.964782,0.80438048 290.967861,0.476117852 289.939,0.3 C288.911,0.115 287.863,0.054 286.826,0.026 C286.349085,0.0138870152 285.872062,0.00655331365 285.395,0.004 C284.83,0 284.263,0 283.698,0 Z" id="Outline" fill="rgba(255,255,255,.075)"></path><path d="M285.37,3.535 C285.822,3.538 286.275,3.543 286.73,3.555 C287.522,3.577 288.449,3.62 289.313,3.775 C290.063,3.91 290.693,4.115 291.297,4.423 C292.505746,5.03755904 293.487734,6.0205978 294.101,7.23 C294.407,7.83 294.611,8.456 294.746,9.213 C294.9,10.067 294.943,10.996 294.964,11.793 C294.977,12.243 294.983,12.693 294.984,13.153 C294.989,13.71 294.989,14.266 294.989,14.824 L294.989,91.142 C294.989,91.7 294.989,92.256 294.985,92.824 C294.983,93.274 294.977,93.724 294.965,94.174 C294.943,94.97 294.9,95.899 294.744,96.763 C294.630594,97.4502806 294.413097,98.1162614 294.099,98.738 C293.484409,99.9478082 292.501027,100.93084 291.291,101.545 C290.691,101.851 290.063,102.057 289.32,102.19 C288.438,102.347 287.473,102.39 286.746,102.41 C286.289,102.42 285.834,102.427 285.367,102.429 C284.812,102.433 284.254,102.433 283.698,102.433 L14.801,102.433 C14.251,102.433 13.701,102.433 13.141,102.429 C12.6909551,102.427046 12.240937,102.421046 11.791,102.411 C11.047,102.391 10.081,102.347 9.207,102.191 C8.51598039,102.075842 7.84638728,101.85669 7.221,101.541 C6.62111744,101.236271 6.07359362,100.837949 5.599,100.361 C5.12290857,99.8857571 4.72529217,99.3379376 4.421,98.738 C4.10640097,98.1127736 3.88826296,97.4435248 3.774,96.753 C3.619,95.89 3.576,94.965 3.554,94.175 C3.54269765,93.7234137 3.53603063,93.2717232 3.532,92.82 L3.532,91.493 L3.532,14.474 L3.532,13.149 C3.537,12.696 3.542,12.244 3.554,11.792 C3.576,11 3.619,10.075 3.776,9.205 C3.89017322,8.51586104 4.10797216,7.84796678 4.422,7.224 C4.726,6.626 5.122,6.08 5.602,5.602 C6.07772872,5.1254978 6.62583457,4.72724354 7.226,4.422 C7.8498075,4.10823092 8.5172811,3.89012212 9.206,3.775 C10.071,3.62 10.998,3.577 11.792,3.555 C12.244,3.543 12.697,3.538 13.146,3.535 L14.823,3.532 L283.698,3.532 L285.37,3.535 Z" id="Bg" fill="#000"></path><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay" fill="#fff"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later" fill="#fff"></path></svg>',apple_pay_later_mark_none:'<svg viewBox="20 0 260 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later"></path></svg>',apple_pay_later_mark_white_outline:'<svg viewBox="0 0 299 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M283.698,0 L14.823,0 C14.257,0 13.69,0 13.125,0.003 C12.648,0.007 12.172,0.012 11.695,0.025 C10.656,0.053 9.608,0.115 8.582,0.299 C7.55304935,0.475289397 6.5561053,0.803896713 5.624,1.274 C3.75016438,2.22707876 2.22707876,3.75016438 1.274,5.624 C0.803057197,6.55646163 0.474412543,7.5541931 0.299,8.584 C0.113,9.611 0.052,10.658 0.024,11.696 C0.011,12.173 0.005,12.649 0,13.126 C0,13.69 0,14.256 0,14.823 L0,91.141 C0,91.708 0,92.273 0,92.84 C0.005,93.316 0.011,93.793 0.024,94.27 C0.052,95.306 0.114,96.354 0.299,97.38 C0.474052532,98.4097641 0.802361489,99.4074997 1.273,100.34 C1.74618424,101.271314 2.36382962,102.121842 3.103,102.86 C3.84090499,103.599466 4.69148278,104.217148 5.623,104.69 C6.57,105.173 7.54,105.48 8.583,105.667 C9.608,105.85 10.656,105.912 11.695,105.94 C12.172,105.951 12.648,105.958 13.125,105.96 C13.69,105.964 14.257,105.964 14.823,105.964 L283.698,105.964 C284.263,105.964 284.83,105.964 285.395,105.96 C285.87205,105.957616 286.349069,105.950949 286.826,105.94 C287.863,105.912 288.911,105.85 289.939,105.667 C290.968174,105.490543 291.96519,105.161238 292.897,104.69 C294.769895,103.735625 296.292625,102.212895 297.247,100.34 C297.73,99.393 298.036,98.423 298.221,97.38 C298.407,96.354 298.467,95.306 298.495,94.27 C298.508,93.793 298.515,93.316 298.517,92.84 C298.521,92.273 298.521,91.708 298.521,91.141 L298.521,14.824 C298.521,14.257 298.521,13.691 298.517,13.125 C298.515064,12.6485989 298.50773,12.172235 298.495,11.696 C298.467,10.658 298.407,9.611 298.221,8.584 C298.046831,7.55401695 297.71848,6.55615176 297.247,5.624 C296.293413,3.75053315 294.770467,2.22758663 292.897,1.274 C291.964782,0.80438048 290.967861,0.476117852 289.939,0.3 C288.911,0.115 287.863,0.054 286.826,0.026 C286.349085,0.0138870152 285.872062,0.00655331365 285.395,0.004 C284.83,0 284.263,0 283.698,0 Z" id="Outline" fill="#000000"></path><path d="M285.37,3.535 C285.822,3.538 286.275,3.543 286.73,3.555 C287.522,3.577 288.449,3.62 289.313,3.775 C290.063,3.91 290.693,4.115 291.297,4.423 C292.505746,5.03755904 293.487734,6.0205978 294.101,7.23 C294.407,7.83 294.611,8.456 294.746,9.213 C294.9,10.067 294.943,10.996 294.964,11.793 C294.977,12.243 294.983,12.693 294.984,13.153 C294.989,13.71 294.989,14.266 294.989,14.824 L294.989,91.142 C294.989,91.7 294.989,92.256 294.985,92.824 C294.983,93.274 294.977,93.724 294.965,94.174 C294.943,94.97 294.9,95.899 294.744,96.763 C294.630594,97.4502806 294.413097,98.1162614 294.099,98.738 C293.484409,99.9478082 292.501027,100.93084 291.291,101.545 C290.691,101.851 290.063,102.057 289.32,102.19 C288.438,102.347 287.473,102.39 286.746,102.41 C286.289,102.42 285.834,102.427 285.367,102.429 C284.812,102.433 284.254,102.433 283.698,102.433 L14.801,102.433 C14.251,102.433 13.701,102.433 13.141,102.429 C12.6909551,102.427046 12.240937,102.421046 11.791,102.411 C11.047,102.391 10.081,102.347 9.207,102.191 C8.51598039,102.075842 7.84638728,101.85669 7.221,101.541 C6.62111744,101.236271 6.07359362,100.837949 5.599,100.361 C5.12290857,99.8857571 4.72529217,99.3379376 4.421,98.738 C4.10640097,98.1127736 3.88826296,97.4435248 3.774,96.753 C3.619,95.89 3.576,94.965 3.554,94.175 C3.54269765,93.7234137 3.53603063,93.2717232 3.532,92.82 L3.532,91.493 L3.532,14.474 L3.532,13.149 C3.537,12.696 3.542,12.244 3.554,11.792 C3.576,11 3.619,10.075 3.776,9.205 C3.89017322,8.51586104 4.10797216,7.84796678 4.422,7.224 C4.726,6.626 5.122,6.08 5.602,5.602 C6.07772872,5.1254978 6.62583457,4.72724354 7.226,4.422 C7.8498075,4.10823092 8.5172811,3.89012212 9.206,3.775 C10.071,3.62 10.998,3.577 11.792,3.555 C12.244,3.543 12.697,3.538 13.146,3.535 L14.823,3.532 L283.698,3.532 L285.37,3.535 Z" id="Bg" fill="#FFFFFF"></path><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay" fill="#000000"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later" fill="#000000"></path></svg>',apple_pay_later_mark_white:'<svg viewBox="0 0 299 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M283.698,0 L14.823,0 C14.257,0 13.69,0 13.125,0.003 C12.648,0.007 12.172,0.012 11.695,0.025 C10.656,0.053 9.608,0.115 8.582,0.299 C7.55304935,0.475289397 6.5561053,0.803896713 5.624,1.274 C3.75016438,2.22707876 2.22707876,3.75016438 1.274,5.624 C0.803057197,6.55646163 0.474412543,7.5541931 0.299,8.584 C0.113,9.611 0.052,10.658 0.024,11.696 C0.011,12.173 0.005,12.649 0,13.126 C0,13.69 0,14.256 0,14.823 L0,91.141 C0,91.708 0,92.273 0,92.84 C0.005,93.316 0.011,93.793 0.024,94.27 C0.052,95.306 0.114,96.354 0.299,97.38 C0.474052532,98.4097641 0.802361489,99.4074997 1.273,100.34 C1.74618424,101.271314 2.36382962,102.121842 3.103,102.86 C3.84090499,103.599466 4.69148278,104.217148 5.623,104.69 C6.57,105.173 7.54,105.48 8.583,105.667 C9.608,105.85 10.656,105.912 11.695,105.94 C12.172,105.951 12.648,105.958 13.125,105.96 C13.69,105.964 14.257,105.964 14.823,105.964 L283.698,105.964 C284.263,105.964 284.83,105.964 285.395,105.96 C285.87205,105.957616 286.349069,105.950949 286.826,105.94 C287.863,105.912 288.911,105.85 289.939,105.667 C290.968174,105.490543 291.96519,105.161238 292.897,104.69 C294.769895,103.735625 296.292625,102.212895 297.247,100.34 C297.73,99.393 298.036,98.423 298.221,97.38 C298.407,96.354 298.467,95.306 298.495,94.27 C298.508,93.793 298.515,93.316 298.517,92.84 C298.521,92.273 298.521,91.708 298.521,91.141 L298.521,14.824 C298.521,14.257 298.521,13.691 298.517,13.125 C298.515064,12.6485989 298.50773,12.172235 298.495,11.696 C298.467,10.658 298.407,9.611 298.221,8.584 C298.046831,7.55401695 297.71848,6.55615176 297.247,5.624 C296.293413,3.75053315 294.770467,2.22758663 292.897,1.274 C291.964782,0.80438048 290.967861,0.476117852 289.939,0.3 C288.911,0.115 287.863,0.054 286.826,0.026 C286.349085,0.0138870152 285.872062,0.00655331365 285.395,0.004 C284.83,0 284.263,0 283.698,0 Z" id="Outline" fill="rgba(0,0,0,.075)"></path><path d="M285.37,3.535 C285.822,3.538 286.275,3.543 286.73,3.555 C287.522,3.577 288.449,3.62 289.313,3.775 C290.063,3.91 290.693,4.115 291.297,4.423 C292.505746,5.03755904 293.487734,6.0205978 294.101,7.23 C294.407,7.83 294.611,8.456 294.746,9.213 C294.9,10.067 294.943,10.996 294.964,11.793 C294.977,12.243 294.983,12.693 294.984,13.153 C294.989,13.71 294.989,14.266 294.989,14.824 L294.989,91.142 C294.989,91.7 294.989,92.256 294.985,92.824 C294.983,93.274 294.977,93.724 294.965,94.174 C294.943,94.97 294.9,95.899 294.744,96.763 C294.630594,97.4502806 294.413097,98.1162614 294.099,98.738 C293.484409,99.9478082 292.501027,100.93084 291.291,101.545 C290.691,101.851 290.063,102.057 289.32,102.19 C288.438,102.347 287.473,102.39 286.746,102.41 C286.289,102.42 285.834,102.427 285.367,102.429 C284.812,102.433 284.254,102.433 283.698,102.433 L14.801,102.433 C14.251,102.433 13.701,102.433 13.141,102.429 C12.6909551,102.427046 12.240937,102.421046 11.791,102.411 C11.047,102.391 10.081,102.347 9.207,102.191 C8.51598039,102.075842 7.84638728,101.85669 7.221,101.541 C6.62111744,101.236271 6.07359362,100.837949 5.599,100.361 C5.12290857,99.8857571 4.72529217,99.3379376 4.421,98.738 C4.10640097,98.1127736 3.88826296,97.4435248 3.774,96.753 C3.619,95.89 3.576,94.965 3.554,94.175 C3.54269765,93.7234137 3.53603063,93.2717232 3.532,92.82 L3.532,91.493 L3.532,14.474 L3.532,13.149 C3.537,12.696 3.542,12.244 3.554,11.792 C3.576,11 3.619,10.075 3.776,9.205 C3.89017322,8.51586104 4.10797216,7.84796678 4.422,7.224 C4.726,6.626 5.122,6.08 5.602,5.602 C6.07772872,5.1254978 6.62583457,4.72724354 7.226,4.422 C7.8498075,4.10823092 8.5172811,3.89012212 9.206,3.775 C10.071,3.62 10.998,3.577 11.792,3.555 C12.244,3.543 12.697,3.538 13.146,3.535 L14.823,3.532 L283.698,3.532 L285.37,3.535 Z" id="Bg" fill="#FFFFFF"></path><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay" fill="#000000"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later" fill="#000000"></path></svg>',apple_pay_mark_black:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path fill="rgba(255,255,255,.075)" d="M150.698 0H14.823c-.566 0-1.133 0-1.698.003-.477.004-.953.009-1.43.022-1.039.028-2.087.09-3.113.274a10.51 10.51 0 0 0-2.958.975 9.932 9.932 0 0 0-4.35 4.35 10.463 10.463 0 0 0-.975 2.96C.113 9.611.052 10.658.024 11.696c-.013.477-.019.953-.022 1.43C0 13.69 0 14.256 0 14.823v76.318c0 .567 0 1.132.002 1.699.003.476.009.953.022 1.43.028 1.036.09 2.084.275 3.11a10.46 10.46 0 0 0 .974 2.96 9.897 9.897 0 0 0 1.83 2.52 9.874 9.874 0 0 0 2.52 1.83c.947.483 1.917.79 2.96.977 1.025.183 2.073.245 3.112.273.477.011.953.018 1.43.02.565.004 1.132.004 1.698.004h135.875c.565 0 1.132 0 1.697-.004a79.71 79.71 0 0 0 1.431-.02c1.037-.028 2.085-.09 3.113-.273a10.478 10.478 0 0 0 2.958-.977 9.955 9.955 0 0 0 4.35-4.35c.483-.947.789-1.917.974-2.96.186-1.026.246-2.074.274-3.11.013-.477.02-.954.022-1.43.004-.567.004-1.132.004-1.699V14.824c0-.567 0-1.133-.004-1.699a63.067 63.067 0 0 0-.022-1.429c-.028-1.038-.088-2.085-.274-3.112a10.4 10.4 0 0 0-.974-2.96 9.941 9.941 0 0 0-4.35-4.35A10.52 10.52 0 0 0 156.939.3c-1.028-.185-2.076-.246-3.113-.274a71.413 71.413 0 0 0-1.431-.022C151.83 0 151.263 0 150.698 0z"/><path fill="black" d="m150.698 3.532 1.672.003c.452.003.905.008 1.36.02.792.022 1.719.065 2.583.22.75.135 1.38.34 1.984.648a6.392 6.392 0 0 1 2.804 2.807c.306.6.51 1.226.645 1.983.154.854.197 1.783.218 2.58.013.45.019.9.02 1.36.005.557.005 1.113.005 1.671v76.318c0 .558 0 1.114-.004 1.682-.002.45-.008.9-.02 1.35-.022.796-.065 1.725-.221 2.589a6.855 6.855 0 0 1-.645 1.975 6.397 6.397 0 0 1-2.808 2.807c-.6.306-1.228.512-1.971.645-.882.157-1.847.2-2.574.22-.457.01-.912.017-1.379.019-.555.004-1.113.004-1.669.004H14.801c-.55 0-1.1 0-1.66-.004a75.086 75.086 0 0 1-1.35-.018c-.744-.02-1.71-.064-2.584-.22a6.938 6.938 0 0 1-1.986-.65 6.337 6.337 0 0 1-1.622-1.18 6.355 6.355 0 0 1-1.178-1.623 6.935 6.935 0 0 1-.647-1.985c-.155-.863-.198-1.788-.22-2.578a66.017 66.017 0 0 1-.02-1.355l-.002-1.327V14.474l.002-1.325c.003-.453.008-.905.02-1.357.022-.792.065-1.717.222-2.587a6.924 6.924 0 0 1 .646-1.981c.304-.598.7-1.144 1.18-1.622a6.385 6.385 0 0 1 1.624-1.18 6.96 6.96 0 0 1 1.98-.647c.865-.155 1.792-.198 2.586-.22.452-.012.905-.017 1.354-.02l1.677-.003h135.875"/><path fill="white" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>',apple_pay_mark_none:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path fill="black" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>',apple_pay_mark_white_outline:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path d="M150.698 0H14.823c-.566 0-1.133 0-1.698.003-.477.004-.953.009-1.43.022-1.039.028-2.087.09-3.113.274a10.51 10.51 0 0 0-2.958.975 9.932 9.932 0 0 0-4.35 4.35 10.463 10.463 0 0 0-.975 2.96C.113 9.611.052 10.658.024 11.696c-.013.477-.019.953-.022 1.43C0 13.69 0 14.256 0 14.823v76.318c0 .567 0 1.132.002 1.699.003.476.009.953.022 1.43.028 1.036.09 2.084.275 3.11a10.46 10.46 0 0 0 .974 2.96 9.897 9.897 0 0 0 1.83 2.52 9.874 9.874 0 0 0 2.52 1.83c.947.483 1.917.79 2.96.977 1.025.183 2.073.245 3.112.273.477.011.953.018 1.43.02.565.004 1.132.004 1.698.004h135.875c.565 0 1.132 0 1.697-.004a79.71 79.71 0 0 0 1.431-.02c1.037-.028 2.085-.09 3.113-.273a10.478 10.478 0 0 0 2.958-.977 9.955 9.955 0 0 0 4.35-4.35c.483-.947.789-1.917.974-2.96.186-1.026.246-2.074.274-3.11.013-.477.02-.954.022-1.43.004-.567.004-1.132.004-1.699V14.824c0-.567 0-1.133-.004-1.699a63.067 63.067 0 0 0-.022-1.429c-.028-1.038-.088-2.085-.274-3.112a10.4 10.4 0 0 0-.974-2.96 9.941 9.941 0 0 0-4.35-4.35A10.52 10.52 0 0 0 156.939.3c-1.028-.185-2.076-.246-3.113-.274a71.413 71.413 0 0 0-1.431-.022C151.83 0 151.263 0 150.698 0z"/><path fill="white" d="m150.698 3.532 1.672.003c.452.003.905.008 1.36.02.792.022 1.719.065 2.583.22.75.135 1.38.34 1.984.648a6.392 6.392 0 0 1 2.804 2.807c.306.6.51 1.226.645 1.983.154.854.197 1.783.218 2.58.013.45.019.9.02 1.36.005.557.005 1.113.005 1.671v76.318c0 .558 0 1.114-.004 1.682-.002.45-.008.9-.02 1.35-.022.796-.065 1.725-.221 2.589a6.855 6.855 0 0 1-.645 1.975 6.397 6.397 0 0 1-2.808 2.807c-.6.306-1.228.512-1.971.645-.882.157-1.847.2-2.574.22-.457.01-.912.017-1.379.019-.555.004-1.113.004-1.669.004H14.801c-.55 0-1.1 0-1.66-.004a75.086 75.086 0 0 1-1.35-.018c-.744-.02-1.71-.064-2.584-.22a6.938 6.938 0 0 1-1.986-.65 6.337 6.337 0 0 1-1.622-1.18 6.355 6.355 0 0 1-1.178-1.623 6.935 6.935 0 0 1-.647-1.985c-.155-.863-.198-1.788-.22-2.578a66.017 66.017 0 0 1-.02-1.355l-.002-1.327V14.474l.002-1.325c.003-.453.008-.905.02-1.357.022-.792.065-1.717.222-2.587a6.924 6.924 0 0 1 .646-1.981c.304-.598.7-1.144 1.18-1.622a6.385 6.385 0 0 1 1.624-1.18 6.96 6.96 0 0 1 1.98-.647c.865-.155 1.792-.198 2.586-.22.452-.012.905-.017 1.354-.02l1.677-.003h135.875"/><path fill="black" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>',apple_pay_mark_white:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path fill="rgba(0,0,0,.075)" d="M150.698 0H14.823c-.566 0-1.133 0-1.698.003-.477.004-.953.009-1.43.022-1.039.028-2.087.09-3.113.274a10.51 10.51 0 0 0-2.958.975 9.932 9.932 0 0 0-4.35 4.35 10.463 10.463 0 0 0-.975 2.96C.113 9.611.052 10.658.024 11.696c-.013.477-.019.953-.022 1.43C0 13.69 0 14.256 0 14.823v76.318c0 .567 0 1.132.002 1.699.003.476.009.953.022 1.43.028 1.036.09 2.084.275 3.11a10.46 10.46 0 0 0 .974 2.96 9.897 9.897 0 0 0 1.83 2.52 9.874 9.874 0 0 0 2.52 1.83c.947.483 1.917.79 2.96.977 1.025.183 2.073.245 3.112.273.477.011.953.018 1.43.02.565.004 1.132.004 1.698.004h135.875c.565 0 1.132 0 1.697-.004a79.71 79.71 0 0 0 1.431-.02c1.037-.028 2.085-.09 3.113-.273a10.478 10.478 0 0 0 2.958-.977 9.955 9.955 0 0 0 4.35-4.35c.483-.947.789-1.917.974-2.96.186-1.026.246-2.074.274-3.11.013-.477.02-.954.022-1.43.004-.567.004-1.132.004-1.699V14.824c0-.567 0-1.133-.004-1.699a63.067 63.067 0 0 0-.022-1.429c-.028-1.038-.088-2.085-.274-3.112a10.4 10.4 0 0 0-.974-2.96 9.941 9.941 0 0 0-4.35-4.35A10.52 10.52 0 0 0 156.939.3c-1.028-.185-2.076-.246-3.113-.274a71.413 71.413 0 0 0-1.431-.022C151.83 0 151.263 0 150.698 0z"/><path fill="white" d="m150.698 3.532 1.672.003c.452.003.905.008 1.36.02.792.022 1.719.065 2.583.22.75.135 1.38.34 1.984.648a6.392 6.392 0 0 1 2.804 2.807c.306.6.51 1.226.645 1.983.154.854.197 1.783.218 2.58.013.45.019.9.02 1.36.005.557.005 1.113.005 1.671v76.318c0 .558 0 1.114-.004 1.682-.002.45-.008.9-.02 1.35-.022.796-.065 1.725-.221 2.589a6.855 6.855 0 0 1-.645 1.975 6.397 6.397 0 0 1-2.808 2.807c-.6.306-1.228.512-1.971.645-.882.157-1.847.2-2.574.22-.457.01-.912.017-1.379.019-.555.004-1.113.004-1.669.004H14.801c-.55 0-1.1 0-1.66-.004a75.086 75.086 0 0 1-1.35-.018c-.744-.02-1.71-.064-2.584-.22a6.938 6.938 0 0 1-1.986-.65 6.337 6.337 0 0 1-1.622-1.18 6.355 6.355 0 0 1-1.178-1.623 6.935 6.935 0 0 1-.647-1.985c-.155-.863-.198-1.788-.22-2.578a66.017 66.017 0 0 1-.02-1.355l-.002-1.327V14.474l.002-1.325c.003-.453.008-.905.02-1.357.022-.792.065-1.717.222-2.587a6.924 6.924 0 0 1 .646-1.981c.304-.598.7-1.144 1.18-1.622a6.385 6.385 0 0 1 1.624-1.18 6.96 6.96 0 0 1 1.98-.647c.865-.155 1.792-.198 2.586-.22.452-.012.905-.017 1.354-.02l1.677-.003h135.875"/><path fill="black" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>'},Rr=/\{\{\s*([^\s]+)\s*\}\}/gi;typeof WEBVIEW>"u"&&(Ae.WEBVIEW=!1);class Vt extends HTMLElement{constructor(){super(),this.locale=dn.locale,this.countryCode=dn.countryCode,this.currencyCode=dn.currencyCode,this.type=dn.type,this.modalType=dn.modalType,this.debug=!1,kn.set(this,void 0),_n.set(this,void 0),zt.set(this,void 0),un(this,zt,new Promise(g=>setTimeout(g)).then(()=>Vt.getData({countryCode:this.countryCode,amount:this.amount,currencyCode:this.currencyCode,locale:this.locale})).then(g=>{var b=new Event("load");return this.dispatchEvent(b),this.data=g,new Promise(T=>setTimeout(T))},g=>{console.warn("Apple Pay Merchandising: unable to fetch merchandising data",g),this.disable()}).then(()=>{un(this,kn,this.ownerDocument.createElement("div")),Ke(this,kn).className="theme-".concat(this.theme," content"),un(this,_n,this.attachShadow({mode:"closed"})),Ke(this,_n).innerHTML="<style>".concat(":host{font-family:var(--apple-pay-font-family, '-apple-system', 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif');font-size:var(--apple-pay-font-size, 13px);line-height:1.33;max-width:var(--apple-pay-width, 340px);display:inline-block}:host([disabled]),:host([hidden]){display:none!important;margin:0}:host>*{display:none}*{-webkit-box-sizing:border-box;box-sizing:border-box}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start;margin:0 auto;color:inherit;gap:.75ex}.theme-dark.content .paymark.align-left.type-pay_later.style-none{-webkit-filter:invert(1);filter:invert(1)}.theme-dark.content .theme-dark.text .info-circle{-webkit-filter:invert(1);filter:invert(1)}.paymark{-ms-flex-order:2;order:2;margin:.054em 0 0}.paymark.align-left{-ms-flex-order:0;order:0;margin-right:.75ex}.paymark.align-right{margin-left:.75ex}.paymark.type-none{display:none}.paymark.style-none{margin:0}.content p{-ms-flex-order:1;order:1;margin:0}.content .text{-ms-flex-positive:1;flex-grow:1;margin:0 auto;-ms-flex-item-align:center;align-self:center}a{color:var(--apple-pay-link-color, #0066CC);text-decoration:none}@media (hover: hover){a:hover{text-decoration:underline}}.theme-dark{color:var(--apple-pay-text-color-dark, #F5F5F7)}.theme-light{color:var(--apple-pay-text-color, #1D1D1F)}.theme-dark a{color:var(--apple-pay-link-color-dark, #2997FF)}.theme-light a{color:var(--apple-pay-link-color, #0066CC)}.paymark svg,.paymark img{display:block;height:2rem}","</style>"),Ke(this,_n).appendChild(Ke(this,kn)),Ke(this,_n).addEventListener("click",g=>{var b,T,B=g.target.closest('a[href*="'.concat(this.data.modalUrl,'"]'));B&&g.currentTarget.contains(B)&&(g.preventDefault(),WEBVIEW?null===(T=null===(b=webkit.messageHandlers)||void 0===b?void 0:b.applePayDetails)||void 0===T||T.postMessage("show-modal"):(Ut.setAttribute("locale",this.locale),Ut.setAttribute("theme",this.theme),Ut.setAttribute("url",this.data.modalUrl),Ut.show()))})}))}connectedCallback(){var g=this;return Se(function*(){yield Ke(g,zt),g.ready=!0,g.classList.add("ready"),g.update()})()}disconnectedCallback(){var g=this;return Se(function*(){yield Ke(g,zt),g.disable()})()}disable(){var g,b;!(null===(g=Ke(this,_n))||void 0===g)&&g.contains(Ke(this,kn))&&(null===(b=Ke(this,_n))||void 0===b||b.removeChild(Ke(this,kn))),this.setAttribute("disabled",""),this.setAttribute("hidden",""),this.disabled=!0}enable(){var g;null===(g=Ke(this,_n))||void 0===g||g.appendChild(Ke(this,kn)),this.disabled=!1,this.removeAttribute("disabled"),this.removeAttribute("hidden")}update(){var g=this;return Se(function*(){if(g.ready)if(g.debug||(yield Vt.isEligible(g))){g.enable();var b=g.data=yield Vt.getData(g),T=yield Vt.fetchData(g),B=T.presets[g.type||dn.type]||T.presets.custom;"custom"===g.type&&(b.promoText=g.innerHTML);var H=new Intl.NumberFormat(g.locale,{style:"currency",currency:g.currencyCode,minimumFractionDigits:Number.isInteger(b.paymentsAmount)?0:2,currencyDisplay:"narrowSymbol"}),he=Object.assign(Object.assign(Object.assign({},b),B),{paymentsAmount:H.format(b.paymentsAmount),hideLogo:b.logo?"":"hidden",hideText:b.promoText?"":"hidden",theme:g.theme||dn.theme,modalUrl:b.modalUrl}),ct='<div class="paymark align-{{ logoAlign }} type-{{ logoType }} style-{{ logoStyle }}" {{ hideLogo }}>{{ logo }}</div><p class="theme-{{ theme }} text" {{ hideText }}>'.concat(b.promoText,"</p>");Ke(g,kn).innerHTML=ct.replace(Rr,(Gt,er)=>he[er])}else g.disable()})()}static get observedAttributes(){return Mo}attributeChangedCallback(g,b,T){g=Te(g),null==T?delete this[g]:this[g]="true"===T||"false"!==T&&(""===T||T),b!==T&&this.update()}static fetchData({countryCode:g}){return Se(function*(){var b,T=g.toLowerCase();try{b=Gn[T]||(Gn[T]=yield(yield fetch(Dt("./merchandising-".concat(T,".json")))).json())}catch{throw Error("Apple Pay Merchandising: unable to fetch merchandising data")}return b})()}static getData({countryCode:g,locale:b,amount:T,modalType:B="learn-more",theme:H="light",type:he="plain"}){return Se(function*(){var ct,Gt=yield Vt.fetchData({countryCode:g}),er=(Gt.text[b]||Gt.text[b.slice(0,2)]||Gt.text[Object.keys(Gt.text)[0]])[he]||"",ii=null===(ct=Object.entries(Gt.method).find(([,oo])=>oo.minAmount<=T&&oo.maxAmount>=T))||void 0===ct?void 0:ct[1],Ao=Gt.presets[he||dn.type]||Gt.presets.custom,os=Math.round(T/ii.frequency*100)/100,ss=location.hostname||window.frames.top.document.location.hostname;if(b.split("-")[1].toLowerCase()!==g.toLowerCase())throw Error("Apple Pay Merchandising: unsupported locale");return Object.assign({logo:"none"===Ao.logoType?"":Cr["apple_".concat(Ao.logoType,"_mark_").concat(Ao.logoStyle)],promoText:er,paymentsAmount:os,lastPaymentAmount:T-os*(ii.frequency-1),modalUrl:Dt("./".concat(B,".html"))+"#data=".concat(btoa(JSON.stringify(Object.assign({amount:T,theme:H,locale:b,referrerUrl:ss},ii))))},ii)})()}static isEligible({amount:g,currencyCode:b,countryCode:T}){return Se(function*(){if(!function(H={}){try{return new PaymentRequest([{supportedMethods:"https://apple.com/apple-pay",data:{version:15,features:["applePayLater"],merchantIdentifier:"",countryCode:H.countryCode,supportedNetworks:["masterCard"],merchantCapabilities:["supports3DS"]}}],{total:{label:"applePayLater",amount:{currency:H.currencyCode,value:"0.00"}}}),!0}catch{return!1}}({currencyCode:b,countryCode:T}))return!1;var B=yield Vt.fetchData({countryCode:T});return b===B.currencyCode&&Object.entries(B.method).some(([,H])=>H.minAmount<=g&&H.maxAmount>=g)})()}}kn=new WeakMap,_n=new WeakMap,zt=new WeakMap;var dn={merchantToken:null,amount:null,type:"plain",locale:"en-US",modalType:"learn-more",countryCode:"US",currencyCode:"USD",debug:!1,theme:"auto"},Mo=Object.keys(dn).map(Ue);customElements.define("apple-pay-merchandising",Vt),window.ApplePayMerchandising=Vt;var et=["ar-AB","ca-ES","cs-CZ","da-DK","de-DE","el-GR","en-US","en-AU","en-GB","es-ES","es-MX","fi-FI","fr-CA","fr-FR","he-IL","hi-IN","hr-HR","hu-HU","id-ID","it-IT","ja-JP","ko-KR","ms-MY","nb-NO","nl-NL","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sv-SE","th-TH","tr-TR","uk-UA","vi-VN","zh-CN","zh-HK","zh-TW"];function Lr(_){return _?.includes("-")&&!!et.find(g=>g===_)}function St(_){if(_){var g=_.trim().replace("_","-").split("-"),b=g[0].toLowerCase();return 1===g.length?b:b+"-"+g[1].toUpperCase()}}function at(_,g=!0){var H,he,b=_?.includes("-");if(b){var T=et.find(H=>H===_);if(T)return T}if(_&&(!b||g)){var B=(H=_,he=H?.split("-")[0],et.find(ct=>new RegExp("^".concat(he),"g").test(ct)));if(B)return B}}function ni(_){var g=function Ki(_){var g=((void 0===navigator.languages?[navigator.language]:navigator.languages)||[]).map(St),b=_?.closest("[lang]"),T=b?.lang?St(b.lang):void 0;return T&&g.unshift(T),g}(_).reduce((b,T)=>{if(b&&b.includes("-"))return b;if(!b){if(Lr(T))return T;var B=(H=T,he=H?.split("-")[0],he&&et.find(ct=>ct.startsWith(he))?he:void 0);if(B)return B}var H,he;return b&&!b.includes("-")&&T.startsWith(b)&&Lr(T)?T:b},void 0);return(g?.includes("-")?g:at(g))||"en-US"}function Qo(){try{return document.fonts.check("15px -apple-system")}catch{return!1}}function Tt(_){return!!document.getElementById(Et(_))}function Er(_){var g=document.createElement("style");g.id=Et(_),g.innerHTML="@font-face{"+"font-family:apple-pay-btn-".concat(_,";")+"src:url(".concat(Ls("./assets/1.0.0/fonts/".concat(_,".woff2")),') format("woff2"),')+"url(".concat(Ls("./assets/1.0.0/fonts/".concat(_,".woff")),') format("woff");')+"font-display:block;}",document.head.appendChild(g)}function Et(_){return"apple-pay-btn-font-".concat(_)}function Ls(_){return oe+_.replace(/^\.\//,"/")}var Fs=["add-money","book","buy","check-out","continue","contribute","donate","order","pay","plain","reload","rent","set-up","subscribe","support","tip","top-up"];function Vs(_){return Fs.includes(_)}function vl(_){switch(_){case"add-money":return"a";case"book":return"bo";case"buy":return"bu";case"check-out":return"ch";case"continue":return"ci";case"contribute":return"co";case"donate":return"d";case"order":return"o";case"pay":return"pa";case"plain":return"p";case"reload":return"rl";case"rent":return"rn";case"set-up":return"se";case"subscribe":return"sb";case"support":return"sp";case"tip":return"ti";case"top-up":return"to"}}function Pa(_,g){var b=[..._.l[vl(g)]],T=b[0].t.startsWith("%@")?0:1;return(b=b.map(B=>Object.assign(Object.assign({},B),{t:B.t.replace(/%@/g,"")}))).splice(T,0,{t:"%@"}),_.rtl&&b.reverse(),b}function $s(_,g){if("plain"===g)return"Apple Pay";var b=Pa(_,g);return _.rtl&&b.reverse(),b.reduce((T,B)=>T+("%@"===B.t?"Apple Pay":B.t),"")}function Dr(_,g,b,T,B){var H=g.t.replace(/\s/g," ");return'<text x="'.concat(_,'" y="').concat(function(he){switch(he){case"ja-JP":return 20;case"ko-KR":return 19.6}return 19.5}(T),'" ')+"".concat(b?'direction="rtl" unicode-bidi="bidi-override" text-anchor="end"':""," ")+"".concat(B?'style="letter-spacing:'.concat(B,';"'):""," ")+"".concat(function(he){return"hi-IN"!==he&&"th-TH"!==he}(T)?'height="'.concat(g.h,'" width="').concat(g.w,'" ').concat(b?"":'textLength="'.concat(g.w,'"')):"",">")+"".concat(H,"</text>")}function Xi(_,g,b,T,B){var H='<?xml version="1.0" encoding="UTF-8"?>\n<svg class="logo" viewBox="0 0 105 43" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Apple Logo</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="#FFF">\n <path d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"></path>\n <path d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"></path>\n <path d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"></path>\n <path d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"></path>\n <path d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"></path>\n </g>\n </g>\n</svg>'.replace("<svg","<svg ".concat(B?'id="'.concat(B,'"'):"",' x="').concat(_,'" y="').concat(g,'" height="').concat(b,'" width="').concat(35,'"'));return"black"!==T&&(H=H.replace('fill="#FFF"','fill="#000"')),H}function Oa(_){var g=Pa(_.metadata,_.buttonType),b=_.metadata.ls,{width:T,domStr:B}=g.reduce((H,he,ct)=>{var Gt;if("%@"===he.t){ct>0&&new RegExp(/\s$/).test(H.prev)&&(H.width=H.width+1);var er=0===ct||ct===g.length-1;return{domStr:H.domStr+Xi(H.width+.2,7.92,15,_.buttonStyle),width:H.width+35+(er?.2:.4),prev:he.t}}return"%@"===H.prev&&null!==(Gt=he.t)&&void 0!==Gt&&Gt.startsWith(" ")?H.width=H.width+1:"%@"===H.prev&&(H.width=H.width+.2),{domStr:H.domStr+Dr(H.width,he,!!_.metadata.rtl,_.locale,b),width:H.width+he.w,prev:he.t}},{width:12.5,domStr:"",prev:""});return{width:T+12.5,domStr:B}}function Jo(_,g=!1){return'<svg id="svg-logo" viewBox="0 0 '.concat(35," ").concat(15,'" ').concat(g?'class="hidden"':"",">\n ").concat(Xi(0,3.85,7.3,_,"svg-logo"),"\n </svg>")}function Sr(_){if("plain"===_.buttonType)return Jo(_.buttonStyle,!1);var{width:g,domStr:b}=Oa(_),T=Qo();return'<svg id="svg-text" viewBox="0 0 '.concat(g,' 28.571" aria-hidden="true">\n <defs>\n <style>\n text {\n fill: ').concat("black"===_.buttonStyle?"#FFF":"#000",";\n font-family: ").concat(T?"-apple-system":"apple-pay-btn-".concat(_.locale),";\n font-size: ").concat(_.metadata.s,";\n font-weight: ").concat(_.metadata.w||500,";\n }\n </style>\n </defs>\n <g>\n ").concat(b,"\n </g>\n </svg>\n ").concat(Jo(_.buttonStyle,!0))}var Fr,_,_l={"en-US":{l:{a:[{w:110.86,h:18,t:"Add Money with %@"}],bo:[{w:68.8,h:18,t:"Book with %@"}],bu:[{w:60.39,h:18,t:"Buy with %@"}],ch:[{w:102.89,h:18,t:"Check out with %@"}],ci:[{w:95.58,h:18,t:"Continue with %@"}],co:[{w:105.94,h:18,t:"Contribute with %@"}],d:[{w:83,h:18,t:"Donate with %@"}],o:[{w:72.86,h:18,t:"Order with %@"}],pa:[{w:59,h:18,t:"Pay with %@"}],rl:[{w:80.89,h:18,t:"Reload with %@"}],rn:[{w:65.67,h:18,t:"Rent with %@"}],se:[{w:45.88,h:18,t:"Set up %@"}],sb:[{w:102.14,h:18,t:"Subscribe with %@"}],sp:[{w:88.67,h:18,t:"Support with %@"}],ti:[{w:55.58,h:18,t:"Tip with %@"}],to:[{w:81.66,h:18,t:"Top Up with %@"}]},s:"15px",ls:"0.22px"},"fr-FR":{l:{a:[{w:159.45,h:18,t:"Ajouter de l\u2019argent avec %@"}],bo:[{w:96.92,h:18,t:"R\xe9server avec %@"}],bu:[{w:90.47,h:18,t:"Acheter avec %@"}],ch:[{w:75.22,h:18,t:"Payer avec %@"}],ci:[{w:108.56,h:18,t:"Poursuivre avec %@"}],co:[{w:109.41,h:18,t:"Contribuer avec %@"}],d:[{w:118.92,h:18,t:"Faire un don avec %@"}],o:[{w:120.53,h:18,t:"Commander avec %@"}],pa:[{w:75.22,h:18,t:"Payer avec %@"}],rl:[{w:106.7,h:18,t:"Recharger avec %@"}],rn:[{w:75.95,h:18,t:"Louer avec %@"}],se:[{w:74.19,h:18,t:"Configurer %@"}],sb:[{w:105.61,h:18,t:"S\u2019abonner avec %@"}],sp:[{w:93.98,h:18,t:"Soutenir avec %@"}],ti:[{w:173.25,h:18,t:"Laisser un pourboire avec %@"}],to:[{w:106.7,h:18,t:"Recharger avec %@"}]},s:"15px",ls:"0.22px"},"el-GR":{l:{a:[{w:190.19,h:18,t:"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03c7\u03c1\u03b7\u03bc\u03ac\u03c4\u03c9\u03bd \u03bc\u03ad\u03c3\u03c9 %@"}],bo:[{w:106,h:18,t:"\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],bu:[{w:87.64,h:18,t:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03ad\u03c3\u03c9 %@"}],ch:[{w:109.66,h:18,t:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03ad\u03c3\u03c9 %@"}],ci:[{w:95.81,h:18,t:"\u03a3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1 \u03bc\u03b5 \xab"},{w:9.42,h:18,t:"\xbb"}],co:[{w:127.23,h:18,t:"\u03a3\u03c5\u03bd\u03b5\u03b9\u03c3\u03c6\u03bf\u03c1\u03ac \u03bc\u03ad\u03c3\u03c9 %@"}],d:[{w:90.83,h:18,t:"\u0394\u03c9\u03c1\u03b5\u03ac \u03bc\u03ad\u03c3\u03c9 %@"}],o:[{w:127.36,h:18,t:"\u03a0\u03b1\u03c1\u03b1\u03b3\u03b3\u03b5\u03bb\u03af\u03b1 \u03bc\u03ad\u03c3\u03c9 %@"}],pa:[{w:89.17,h:18,t:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03b5 %@"}],rl:[{w:153.41,h:18,t:"\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],rn:[{w:113.61,h:18,t:"\u0395\u03bd\u03bf\u03b9\u03ba\u03af\u03b1\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],se:[{w:92.92,h:18,t:"\u0394\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 %@"}],sb:[{w:112.38,h:18,t:"\u03a3\u03c5\u03bd\u03b4\u03c1\u03bf\u03bc\u03ae \u03bc\u03ad\u03c3\u03c9 %@"}],sp:[{w:126.31,h:18,t:"\u03a5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],ti:[{w:132.8,h:18,t:"\u03a6\u03b9\u03bb\u03bf\u03b4\u03ce\u03c1\u03b7\u03bc\u03b1 \u03bc\u03ad\u03c3\u03c9 %@"}],to:[{w:116.41,h:18,t:"\u0391\u03bd\u03b1\u03bd\u03ad\u03c9\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}]},s:"15px",ls:"0.22px"},"zh-HK":{l:{a:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u589e\u503c"}],bo:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u4f4d"}],bu:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8cfc\u8cb7"}],ch:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7d50\u5e33"}],ci:[{w:32.61,h:18,t:"\u4f7f\u7528 "},{w:32.61,h:18,t:" \u7e7c\u7e8c"}],co:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u8d08"}],d:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u6b3e"}],o:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u8cfc"}],pa:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u4ed8\u6b3e"}],rl:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u589e\u503c"}],rn:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u79df\u501f"}],se:[{w:32.61,h:18,t:"\u8a2d\u5b9a %@"}],sb:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u95b2"}],sp:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u6301"}],ti:[{w:17.81,h:18,t:"\u7528 "},{w:62.2,h:18,t:" \u652f\u4ed8\u8cbc\u58eb"}],to:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u589e\u503c"}]},s:"14.8px"},"zh-CN":{l:{a:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}],bo:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u9884\u8ba2"}],bu:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8d2d\u4e70"}],ch:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7ed3\u8d26"}],ci:[{w:32.61,h:18,t:"\u901a\u8fc7 "},{w:32.61,h:18,t:" \u7ee7\u7eed"}],co:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u8d60"}],d:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u6b3e"}],o:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8ba2\u8d2d"}],pa:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u4ed8"}],rl:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}],rn:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u79df\u501f"}],se:[{w:32.61,h:18,t:"\u8bbe\u7f6e %@"}],sb:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8ba2\u9605"}],sp:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u6301"}],ti:[{w:17.81,h:18,t:"\u7528 "},{w:47.41,h:18,t:" \u4ed8\u5c0f\u8d39"}],to:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}]},s:"14.8px"},"pt-BR":{l:{a:[{w:152.69,h:18,t:"Adicione Dinheiro com %@"}],bo:[{w:94.23,h:18,t:"Reservar com %@"}],bu:[{w:93.73,h:18,t:"Comprar com %@"}],ch:[{w:73.58,h:18,t:"Pagar com %@"}],ci:[{w:101.13,h:18,t:"Continuar com %@"}],co:[{w:101.52,h:18,t:"Contribua com %@"}],d:[{w:67.33,h:18,t:"Doar com %@"}],o:[{w:119.66,h:18,t:"Encomendar com %@"}],pa:[{w:73.58,h:18,t:"Pagar com %@"}],rl:[{w:108.69,h:18,t:"Recarregar com %@"}],rn:[{w:78.98,h:18,t:"Alugar com %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:85.17,h:18,t:"Assinar com %@"}],sp:[{w:78.98,h:18,t:"Apoiar com %@"}],ti:[{w:108.94,h:18,t:"Dar gorjeta com %@"}],to:[{w:108.69,h:18,t:"Recarregar com %@"}]},s:"15px",ls:"0.22px"},"en-AU":{l:{a:[{w:110.86,h:18,t:"Add Money with %@"}],bo:[{w:68.8,h:18,t:"Book with %@"}],bu:[{w:60.39,h:18,t:"Buy with %@"}],ch:[{w:102.89,h:18,t:"Check out with %@"}],ci:[{w:95.58,h:18,t:"Continue with %@"}],co:[{w:105.94,h:18,t:"Contribute with %@"}],d:[{w:83,h:18,t:"Donate with %@"}],o:[{w:72.86,h:18,t:"Order with %@"}],pa:[{w:59,h:18,t:"Pay with %@"}],rl:[{w:80.89,h:18,t:"Reload with %@"}],rn:[{w:65.67,h:18,t:"Rent with %@"}],se:[{w:45.88,h:18,t:"Set up %@"}],sb:[{w:102.14,h:18,t:"Subscribe with %@"}],sp:[{w:88.67,h:18,t:"Support with %@"}],ti:[{w:55.58,h:18,t:"Tip with %@"}],to:[{w:81.66,h:18,t:"Top Up with %@"}]},s:"15px",ls:"0.22px"},"he-IL":{l:{a:[{w:148.58,h:17.22,t:"\u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05e1\u05e3 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],bo:[{w:111.2,h:17.22,t:"\u05d4\u05d6\u05de\u05df/\u05d9 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],bu:[{w:112.61,h:17,t:"\u05e8\u05db\u05d9\u05e9\u05d4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],ch:[{w:68.77,h:17.22,t:"\u05dc\u05e7\u05d5\u05e4\u05d4 \u05e2\u05dd %@"}],ci:[{w:77.39,h:17.22,t:"\u05d4\u05de\u05e9\u05da/\u05d9 \u05e2\u05dd %@"}],co:[{w:69.34,h:17,t:"\u05dc\u05ea\u05e8\u05d5\u05dd \u05e2\u05dd %@"}],d:[{w:70.98,h:17,t:"\u05ea\u05e8\u05d5\u05dd/\u05d9 \u05e2\u05dd %@"}],o:[{w:113.98,h:17.22,t:"\u05dc\u05d4\u05d6\u05de\u05d9\u05df \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],pa:[{w:109.45,h:17,t:"\u05e9\u05dc\u05dd/\u05d9 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],rl:[{w:63.39,h:17.22,t:"\u05dc\u05d8\u05e2\u05d5\u05df \u05e2\u05dd %@"}],rn:[{w:110.7,h:17,t:"\u05dc\u05e9\u05db\u05d5\u05e8 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],se:[{w:76.44,h:17,t:"\u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea %@"}],sb:[{w:108.44,h:17,t:"\u05e8\u05d9\u05e9\u05d5\u05dd \u05db\u05de\u05d9\u05e0\u05d5\u05d9 \u05e2\u05dd %@"}],sp:[{w:112.34,h:17.22,t:"\u05dc\u05ea\u05de\u05d5\u05da \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],ti:[{w:150.63,h:17,t:"\u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05d8\u05d9\u05e4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],to:[{w:106,h:17,t:"\u05dc\u05de\u05dc\u05d0 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}]},s:"14px",rtl:!0,w:700},"ar-AB":{l:{a:[{w:99.73,h:15,t:"\u0625\u0636\u0627\u0641\u0629 \u0645\u0627\u0644 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],bo:[{w:72.73,h:15,t:"\u062d\u062c\u0632 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],bu:[{w:74.05,h:15,t:"\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],ch:[{w:111.41,h:15,t:"\u062f\u0641\u0639 \u0627\u0644\u062d\u0633\u0627\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],ci:[{w:33.95,h:15,t:"\u0645\u062a\u0627\u0628\u0639\u0629 %@"}],co:[{w:51.61,h:15,t:"\u0645\u0633\u0627\u0647\u0645\u0629 \u0628\u0640 %@"}],d:[{w:73.14,h:15,t:"\u062a\u0628\u0631\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],o:[{w:74.09,h:15,t:"\u0637\u0644\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],pa:[{w:69.69,h:15,t:"\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],rl:[{w:112.33,h:15,t:"\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u062a\u0639\u0628\u0626\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],rn:[{w:88.36,h:15,t:"\u0627\u0633\u062a\u0626\u062c\u0627\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],se:[{w:29.02,h:15,t:"\u0625\u0639\u062f\u0627\u062f %@"}],sb:[{w:85.2,h:15,t:"\u0627\u0634\u062a\u0631\u0627\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],sp:[{w:71.73,h:15.08,t:"\u062f\u0639\u0645 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],ti:[{w:113.48,h:15,t:"\u062f\u0641\u0639 \u0627\u0644\u0625\u0643\u0631\u0627\u0645\u064a\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],to:[{w:112.78,h:15,t:"\u062a\u0639\u0628\u0626\u0629 \u0627\u0644\u0631\u0635\u064a\u062f \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}]},s:"12px",rtl:!0,w:700},"da-DK":{l:{a:[{w:113.38,h:18,t:"Tilf\xf8j penge med %@"}],bo:[{w:72.86,h:18,t:"Bestil med %@"}],bu:[{w:62.19,h:18,t:"K\xf8b med %@"}],ch:[{w:69.8,h:18,t:"Betal med %@"}],ci:[{w:88.09,h:18,t:"Forts\xe6t med %@"}],co:[{w:79.16,h:18,t:"Bidrag med %@"}],d:[{w:76.38,h:18,t:"Doner med %@"}],o:[{w:72.86,h:18,t:"Bestil med %@"}],pa:[{w:69.8,h:18,t:"Betal med %@"}],rl:[{w:87.45,h:18,t:"Tank op med %@"}],rn:[{w:55.41,h:18,t:"Lej med %@"}],se:[{w:43.45,h:18,t:"Indstil %@"}],sb:[{w:93.02,h:18,t:"Abonner med %@"}],sp:[{w:63.41,h:18,t:"St\xf8t med %@"}],ti:[{w:143.91,h:18,t:"Giv drikkepenge med %@"}],to:[{w:84.28,h:18,t:"Fyld op med %@"}]},s:"15px",ls:"0.22px"},"es-MX":{l:{a:[{w:129.58,h:18,t:"Agregar dinero con %@"}],bo:[{w:90.03,h:18,t:"Reservar con %@"}],bu:[{w:89.53,h:18,t:"Comprar con %@"}],ch:[{w:69.38,h:18,t:"Pagar con %@"}],ci:[{w:96.92,h:18,t:"Continuar con %@"}],co:[{w:97.92,h:18,t:"Contribuir con %@"}],d:[{w:71.52,h:18,t:"Donar con %@"}],o:[{w:65.34,h:18,t:"Pedir con %@"}],pa:[{w:69.38,h:18,t:"Pagar con %@"}],rl:[{w:91.2,h:18,t:"Recargar con %@"}],rn:[{w:75.05,h:18,t:"Rentar con %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:105.81,h:18,t:"Suscribirse con %@"}],sp:[{w:78.77,h:18,t:"Apoyar con %@"}],ti:[{w:108.42,h:18,t:"Dar propina con %@"}],to:[{w:124.44,h:18,t:"Cubrir el resto con %@"}]},s:"15px",ls:"0.22px"},"uk-UA":{l:{a:[{w:121.47,h:18,t:"\u041f\u043e\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],bo:[{w:113.38,h:18,t:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],bu:[{w:94.89,h:18,t:"\u041a\u0443\u043f\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],ch:[{w:119.34,h:18,t:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],ci:[{w:101,h:18,t:"\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u0437 %@"}],co:[{w:155.2,h:18,t:"\u0417\u0440\u043e\u0431\u0438\u0442\u0438 \u0432\u043d\u0435\u0441\u043e\u043a \u0447\u0435\u0440\u0435\u0437 %@"}],d:[{w:145.48,h:18,t:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],o:[{w:113.38,h:18,t:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],pa:[{w:96.17,h:18,t:"\u041e\u043f\u043b\u0430\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 %@"}],rl:[{w:121.47,h:18,t:"\u041f\u043e\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],rn:[{w:129.73,h:18,t:"\u041e\u0440\u0435\u043d\u0434\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],se:[{w:95.08,h:18,t:"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 %@"}],sb:[{w:132.28,h:18,t:"\u041f\u0456\u0434\u043f\u0438\u0441\u0430\u0442\u0438\u0441\u044f \u0447\u0435\u0440\u0435\u0437 %@"}],sp:[{w:126.63,h:18,t:"\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],ti:[{w:161.66,h:18,t:"\u0417\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u0447\u0430\u0439\u043e\u0432\u0456 \u0447\u0435\u0440\u0435\u0437 %@"}],to:[{w:121.47,h:18,t:"\u041f\u043e\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}]},s:"15px"},"tr-TR":{l:{a:[{w:82.14,h:18,t:"%@ ile Para Ekle"}],bo:[{w:134.94,h:18,t:"%@ ile Rezervasyon Yap"}],bu:[{w:72.36,h:18,t:"%@ ile Sat\u0131n Al"}],ch:[{w:49.59,h:18,t:"%@ ile \xd6de"}],ci:[{w:64.34,h:18,t:"%@ ile s\xfcrd\xfcr"}],co:[{w:113.28,h:18,t:"%@ ile Katk\u0131da Bulun"}],d:[{w:86.64,h:18,t:"%@ ile Ba\u011f\u0131\u015f Yap"}],o:[{w:92.42,h:18,t:"%@ ile Sipari\u015f Ver"}],pa:[{w:49.59,h:18,t:"%@ ile \xd6de"}],rl:[{w:114.63,h:18,t:"%@ ile Yeniden Y\xfckle"}],rn:[{w:59.02,h:18,t:"%@ ile Kirala"}],se:[{w:48.86,h:18,t:"Ayarla: %@"}],sb:[{w:83.16,h:18,t:"%@ ile Abone Ol"}],sp:[{w:86.34,h:18,t:"%@ ile Destek Ol"}],ti:[{w:91.27,h:18,t:"%@ ile Bah\u015fi\u015f Ver"}],to:[{w:66.09,h:18,t:"%@ ile Doldur"}]},s:"15px",ls:"0.22px"},"th-TH":{l:{a:[{w:64.11,h:15,t:"\u0e40\u0e15\u0e34\u0e21\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 %@"}],bo:[{w:45.84,h:15,t:"\u0e08\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22 %@"}],bu:[{w:40.47,h:18.41,t:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 %@"}],ch:[{w:69.86,h:15,t:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 %@"}],ci:[{w:96.7,h:15,t:"\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e14\u0e49\u0e27\u0e22 %@"}],co:[{w:76.97,h:15,t:"\u0e21\u0e35\u0e2a\u0e48\u0e27\u0e19\u0e23\u0e48\u0e27\u0e21\u0e14\u0e49\u0e27\u0e22 %@"}],d:[{w:61.7,h:15,t:"\u0e1a\u0e23\u0e34\u0e08\u0e32\u0e04\u0e14\u0e49\u0e27\u0e22 %@"}],o:[{w:39.22,h:17.08,t:"\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e49\u0e27\u0e22 %@"}],pa:[{w:51.52,h:15,t:"\u0e0a\u0e33\u0e23\u0e30\u0e14\u0e49\u0e27\u0e22 %@"}],rl:[{w:79.27,h:15.05,t:"\u0e42\u0e2b\u0e25\u0e14\u0e43\u0e2b\u0e21\u0e48\u0e14\u0e49\u0e27\u0e22 %@"}],rn:[{w:43.58,h:15,t:"\u0e40\u0e0a\u0e48\u0e32\u0e14\u0e49\u0e27\u0e22 %@"}],se:[{w:31.77,h:17.7,t:"\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 %@"}],sb:[{w:70.42,h:15,t:"\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e23\u0e31\u0e1a\u0e14\u0e49\u0e27\u0e22 %@"}],sp:[{w:73.39,h:15.64,t:"\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19\u0e14\u0e49\u0e27\u0e22 %@"}],ti:[{w:57.23,h:15,t:"\u0e43\u0e2b\u0e49\u0e17\u0e34\u0e1b\u0e14\u0e49\u0e27\u0e22 %@"}],to:[{w:45.75,h:15,t:"\u0e40\u0e15\u0e34\u0e21\u0e14\u0e49\u0e27\u0e22 %@"}]},s:"13px"},"ro-RO":{l:{a:[{w:114.67,h:18,t:"Ad\u0103uga\u021bi bani cu %@"}],bo:[{w:84.72,h:18,t:"Rezerva\u021bi cu %@"}],bu:[{w:92.45,h:18,t:"Cump\u0103ra\u021bi cu %@"}],ch:[{w:151.14,h:18,t:"Finaliza\u021bi tranzac\u021bia cu %@"}],ci:[{w:91.88,h:18,t:"Continua\u021bi cu %@"}],co:[{w:92.88,h:18,t:"Contribui\u021bi cu %@"}],d:[{w:66.47,h:18,t:"Dona\u021bi cu %@"}],o:[{w:95.94,h:18,t:"Comanda\u021bi cu %@"}],pa:[{w:60.25,h:18,t:"Pl\u0103ti\u021bi cu %@"}],rl:[{w:97.3,h:18,t:"Re\xeenc\u0103rca\u021bi cu %@"}],rn:[{w:80.72,h:18,t:"\xcenchiria\u021bi cu %@"}],se:[{w:77.58,h:18,t:"Configura\u021bi %@"}],sb:[{w:96.95,h:18,t:"Abona\u021bi\u2011v\u0103 cu %@"}],sp:[{w:92.88,h:18,t:"Contribui\u021bi cu %@"}],ti:[{w:110.34,h:18,t:"Oferi\u021bi bac\u0219i\u0219 cu %@"}],to:[{w:97.3,h:18,t:"Re\xeenc\u0103rca\u021bi cu %@"}]},s:"15px",ls:"0.22px"},"fi-FI":{l:{a:[{w:78.92,h:18,t:"Lis\xe4\xe4 rahaa "},{w:14.75,h:18,t:"lla"}],bo:[{w:74.11,h:18,t:"Tee varaus "},{w:14.75,h:18,t:"lla"}],bu:[{w:34.66,h:18,t:"Osta "},{w:14.75,h:18,t:"lla"}],ch:[{w:121.22,h:18,t:"Siirry maksamaan "},{w:14.75,h:18,t:"lla"}],ci:[{w:39.81,h:18,t:"Jatka "},{w:14.75,h:18,t:"lla"}],co:[{w:56.03,h:18,t:"Lahjoita "},{w:14.75,h:18,t:"lla"}],d:[{w:56.03,h:18,t:"Lahjoita "},{w:14.75,h:18,t:"lla"}],o:[{w:34.69,h:18,t:"Tilaa "},{w:14.75,h:18,t:"lla"}],pa:[{w:46.7,h:18,t:"Maksa "},{w:14.75,h:18,t:"lla"}],rl:[{w:40.13,h:18,t:"Lataa "},{w:14.75,h:18,t:"lla"}],rn:[{w:57.97,h:18,t:"Vuokraa "},{w:14.75,h:18,t:"lla"}],se:[{w:27.25,h:18,t:"Ota "},{w:61.7,h:18,t:" k\xe4ytt\xf6\xf6n"}],sb:[{w:34.69,h:18,t:"Tilaa "},{w:14.75,h:18,t:"lla"}],sp:[{w:27.2,h:18,t:"Tue "},{w:14.75,h:18,t:"lla"}],ti:[{w:70.44,h:18,t:"Anna tippi "},{w:14.75,h:18,t:"lla"}],to:[{w:68.19,h:18,t:"T\xe4ydenn\xe4 "},{w:14.75,h:18,t:"lla"}]},s:"15px",ls:"0.22px"},"pl-PL":{l:{a:[{w:91.52,h:18,t:"Dodaj \u015brodki ("},{w:5.16,h:18,t:")"}],bo:[{w:146.19,h:18,t:"Zarezerwuj, u\u017cywaj\u0105c %@"}],bu:[{w:98.39,h:18,t:"Kup, u\u017cywaj\u0105c %@"}],ch:[{w:175.7,h:18,t:"Sfinalizuj zakup, u\u017cywaj\u0105c %@"}],ci:[{w:80.53,h:18,t:"Kontynuuj - %@"}],co:[{w:92.56,h:18,t:"Wnie\u015b wk\u0142ad ("},{w:5.16,h:18,t:")"}],d:[{w:165.52,h:18,t:"Przeka\u017c datek, u\u017cywaj\u0105c %@"}],o:[{w:58.28,h:18,t:"Zam\xf3w ("},{w:5.16,h:18,t:")"}],pa:[{w:117.69,h:18,t:"Zap\u0142a\u0107, u\u017cywaj\u0105c %@"}],rl:[{w:114.61,h:18,t:"Uzupe\u0142nij \u015brodki ("},{w:5.16,h:18,t:")"}],rn:[{w:77.73,h:18,t:"Wypo\u017cycz ("},{w:5.16,h:18,t:")"}],se:[{w:79.19,h:18,t:"Skonfiguruj %@"}],sb:[{w:147.33,h:18,t:"Subskrybuj, u\u017cywaj\u0105c %@"}],sp:[{w:70.06,h:18,t:"Wesprzyj ("},{w:5.16,h:18,t:")"}],ti:[{w:89.44,h:18,t:"Daj napiwek ("},{w:5.16,h:18,t:")"}],to:[{w:59.44,h:18,t:"Do\u0142aduj ("},{w:5.16,h:18,t:")"}]},s:"15px",ls:"0.22px"},"zh-TW":{l:{a:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5132\u503c"}],bo:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u9810\u7d04"}],bu:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8cfc\u8cb7"}],ch:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7d50\u5e33"}],ci:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7e7c\u7e8c"}],co:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u52a9"}],d:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u6b3e"}],o:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u8cfc"}],pa:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u4ed8\u6b3e"}],rl:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}],rn:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u79df\u501f"}],se:[{w:32.61,h:18,t:"\u8a2d\u5b9a %@"}],sb:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u95b1"}],sp:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u63f4"}],ti:[{w:17.81,h:18,t:"\u7528 "},{w:62.2,h:18,t:" \u652f\u4ed8\u5c0f\u8cbb"}],to:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u52a0\u503c"}]},s:"14.8px"},"fr-CA":{l:{a:[{w:154.91,h:18,t:"Ajouter des fonds avec %@"}],bo:[{w:96.92,h:18,t:"R\xe9server avec %@"}],bu:[{w:90.47,h:18,t:"Acheter avec %@"}],ch:[{w:75.22,h:18,t:"Payer avec %@"}],ci:[{w:108.56,h:18,t:"Poursuivre avec %@"}],co:[{w:109.41,h:18,t:"Contribuer avec %@"}],d:[{w:118.92,h:18,t:"Faire un don avec %@"}],o:[{w:120.53,h:18,t:"Commander avec %@"}],pa:[{w:75.22,h:18,t:"Payer avec %@"}],rl:[{w:106.7,h:18,t:"Recharger avec %@"}],rn:[{w:75.95,h:18,t:"Louer avec %@"}],se:[{w:74.19,h:18,t:"Configurer %@"}],sb:[{w:105.61,h:18,t:"S\u2019abonner avec %@"}],sp:[{w:93.98,h:18,t:"Soutenir avec %@"}],ti:[{w:174.38,h:18,t:"Donner un pourboire avec %@"}],to:[{w:106.7,h:18,t:"Recharger avec %@"}]},s:"15px",ls:"0.22px"},"en-GB":{l:{a:[{w:110.86,h:18,t:"Add Money with %@"}],bo:[{w:68.8,h:18,t:"Book with %@"}],bu:[{w:60.39,h:18,t:"Buy with %@"}],ch:[{w:102.89,h:18,t:"Check out with %@"}],ci:[{w:95.58,h:18,t:"Continue with %@"}],co:[{w:105.94,h:18,t:"Contribute with %@"}],d:[{w:83,h:18,t:"Donate with %@"}],o:[{w:72.86,h:18,t:"Order with %@"}],pa:[{w:59,h:18,t:"Pay with %@"}],rl:[{w:80.89,h:18,t:"Reload with %@"}],rn:[{w:65.67,h:18,t:"Rent with %@"}],se:[{w:45.88,h:18,t:"Set up %@"}],sb:[{w:102.14,h:18,t:"Subscribe with %@"}],sp:[{w:88.67,h:18,t:"Support with %@"}],ti:[{w:55.58,h:18,t:"Tip with %@"}],to:[{w:81.66,h:18,t:"Top Up with %@"}]},s:"15px",ls:"0.22px"},"es-ES":{l:{a:[{w:120.05,h:18,t:"A\xf1adir dinero con %@"}],bo:[{w:90.03,h:18,t:"Reservar con %@"}],bu:[{w:89.53,h:18,t:"Comprar con %@"}],ch:[{w:69.38,h:18,t:"Pagar con %@"}],ci:[{w:96.92,h:18,t:"Continuar con %@"}],co:[{w:97.92,h:18,t:"Contribuir con %@"}],d:[{w:71.52,h:18,t:"Donar con %@"}],o:[{w:65.34,h:18,t:"Pedir con %@"}],pa:[{w:69.38,h:18,t:"Pagar con %@"}],rl:[{w:91.2,h:18,t:"Recargar con %@"}],rn:[{w:81.73,h:18,t:"Alquilar con %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:105.81,h:18,t:"Suscribirse con %@"}],sp:[{w:97.92,h:18,t:"Contribuir con %@"}],ti:[{w:108.42,h:18,t:"Dar propina con %@"}],to:[{w:91.2,h:18,t:"Recargar con %@"}]},s:"15px",ls:"0.22px"},"de-DE":{l:{a:[{w:58.7,h:18,t:"Geld mit "},{w:77.88,h:18,t:" hinzuf\xfcgen"}],bo:[{w:24.41,h:18,t:"Mit "},{w:53.23,h:18,t:" buchen"}],bu:[{w:24.41,h:18,t:"Mit "},{w:48.45,h:18,t:" kaufen"}],ch:[{w:24.41,h:18,t:"Mit "},{w:63.94,h:18,t:" bezahlen"}],ci:[{w:70.61,h:18,t:"Weiter mit %@"}],co:[{w:24.41,h:18,t:"Mit "},{w:66.64,h:18,t:" beitragen"}],d:[{w:24.41,h:18,t:"Mit "},{w:61,h:18,t:" spenden"}],o:[{w:24.41,h:18,t:"Mit "},{w:63.91,h:18,t:" bestellen"}],pa:[{w:24.41,h:18,t:"Mit "},{w:63.94,h:18,t:" bezahlen"}],rl:[{w:24.41,h:18,t:"Mit "},{w:86.28,h:18,t:" erneut laden"}],rn:[{w:24.41,h:18,t:"Mit "},{w:43.22,h:18,t:" leihen"}],se:[{w:69.55,h:18,t:"%@ einrichten"}],sb:[{w:24.41,h:18,t:"Mit "},{w:77.94,h:18,t:" abonnieren"}],sp:[{w:24.41,h:18,t:"Mit "},{w:87.59,h:18,t:" unterst\xfctzen"}],ti:[{w:64.16,h:18,t:"%@ Trinkgeld"}],to:[{w:24.41,h:18,t:"Mit "},{w:61.42,h:18,t:" auff\xfcllen"}]},s:"15px",ls:"0.22px"},"nb-NO":{l:{a:[{w:135.02,h:18,t:"Legg til penger med %@"}],bo:[{w:76.34,h:18,t:"Bestill med %@"}],bu:[{w:66.05,h:18,t:"Kj\xf8p med %@"}],ch:[{w:69.8,h:18,t:"Betal med %@"}],ci:[{w:62.28,h:18,t:"Fortsett i %@"}],co:[{w:70.47,h:18,t:"Bidra med %@"}],d:[{w:76.38,h:18,t:"Doner med %@"}],o:[{w:76.34,h:18,t:"Bestill med %@"}],pa:[{w:69.8,h:18,t:"Betal med %@"}],rl:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}],rn:[{w:55.41,h:18,t:"Lei med %@"}],se:[{w:72.77,h:18,t:"Konfigurer %@"}],sb:[{w:93.02,h:18,t:"Abonner med %@"}],sp:[{w:68.44,h:18,t:"St\xf8tt med %@"}],ti:[{w:85.83,h:18,t:"Gi driks med %@"}],to:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}]},s:"15px",ls:"0.22px"},"ca-ES":{l:{a:[{w:120.41,h:18,t:"Afegir diners amb %@"}],bo:[{w:94.61,h:18,t:"Reservar amb %@"}],bu:[{w:94.11,h:18,t:"Comprar amb %@"}],ch:[{w:73.97,h:18,t:"Pagar amb %@"}],ci:[{w:96.38,h:18,t:"Continua amb %@"}],co:[{w:102.52,h:18,t:"Contribuir amb %@"}],d:[{w:141.59,h:18,t:"Fer una donaci\xf3 amb %@"}],o:[{w:96.41,h:18,t:"Demanar amb %@"}],pa:[{w:73.97,h:18,t:"Pagar amb %@"}],rl:[{w:109.06,h:18,t:"Recarregar amb %@"}],rn:[{w:77.56,h:18,t:"Llogar amb %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:117.7,h:18,t:"Subscriure\u2019s amb %@"}],sp:[{w:129.63,h:18,t:"Compatibilitat amb %@"}],ti:[{w:132.08,h:18,t:"Deixar propina amb %@"}],to:[{w:109.06,h:18,t:"Recarregar amb %@"}]},s:"15px",ls:"0.22px"},"ja-JP":{l:{a:[{w:75,h:18,t:"%@\u3067\u30c1\u30e3\u30fc\u30b8"}],bo:[{w:45,h:18,t:"%@\u3067\u4e88\u7d04"}],bu:[{w:45,h:18,t:"%@\u3067\u8cfc\u5165"}],ch:[{w:90,h:18,t:"%@\u3067\u8cfc\u5165\u306b\u9032\u3080"}],ci:[{w:60,h:18,t:"%@\u3067\u7d9a\u3051\u308b"}],co:[{w:45,h:18,t:"%@\u3067\u732e\u91d1"}],d:[{w:45,h:18,t:"%@\u3067\u5bc4\u4ed8"}],o:[{w:45,h:18,t:"%@\u3067\u6ce8\u6587"}],pa:[{w:60,h:18,t:"%@\u3067\u652f\u6255\u3046"}],rl:[{w:75,h:18,t:"%@\u3067\u30c1\u30e3\u30fc\u30b8"}],rn:[{w:75,h:18,t:"%@\u3067\u30ec\u30f3\u30bf\u30eb"}],se:[{w:45,h:18,t:"%@\u3092\u8a2d\u5b9a"}],sb:[{w:150,h:18,t:"%@\u3067\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3"}],sp:[{w:45,h:18,t:"%@\u3067\u652f\u63f4"}],ti:[{w:60,h:18,t:"%@\u3067\u30c1\u30c3\u30d7"}],to:[{w:75,h:18,t:"%@\u3067\u30c1\u30e3\u30fc\u30b8"}]},s:"15px",w:600},"vi-VN":{l:{a:[{w:95.7,h:18,t:"N\u1ea1p ti\u1ec1n b\u1eb1ng %@"}],bo:[{w:91.86,h:18,t:"\u0110\u1eb7t ch\u1ed7 b\u1eb1ng %@"}],bu:[{w:69.39,h:18,t:"Mua b\u1eb1ng %@"}],ch:[{w:115.56,h:18,t:"Thanh to\xe1n b\u1eb1ng %@"}],ci:[{w:93.8,h:18,t:"Ti\u1ebfp t\u1ee5c b\u1eb1ng %@"}],co:[{w:105.2,h:18,t:"\u0110\xf3ng g\xf3p b\u1eb1ng %@"}],d:[{w:113.02,h:18,t:"Quy\xean g\xf3p b\u1eb1ng %@"}],o:[{w:100.55,h:18,t:"\u0110\u1eb7t h\xe0ng b\u1eb1ng %@"}],pa:[{w:115.56,h:18,t:"Thanh to\xe1n b\u1eb1ng %@"}],rl:[{w:85.63,h:18,t:"N\u1ea1p l\u1ea1i b\u1eb1ng %@"}],rn:[{w:74.27,h:18,t:"Thu\xea b\u1eb1ng %@"}],se:[{w:60.72,h:18,t:"Thi\u1ebft l\u1eadp %@"}],sb:[{w:94.59,h:18,t:"\u0110\u0103ng k\xfd b\u1eb1ng %@"}],sp:[{w:81.38,h:18,t:"H\u1ed7 tr\u1ee3 b\u1eb1ng %@"}],ti:[{w:61,h:18,t:"Tip b\u1eb1ng %@"}],to:[{w:95.7,h:18,t:"N\u1ea1p ti\u1ec1n b\u1eb1ng %@"}]},s:"15px",ls:"0.22px"},"nl-NL":{l:{a:[{w:123.2,h:18,t:"Voeg geld toe met %@"}],bo:[{w:99.25,h:18,t:"Reserveer met %@"}],bu:[{w:66.8,h:18,t:"Koop met %@"}],ch:[{w:74.06,h:18,t:"Betaal met %@"}],ci:[{w:96.69,h:18,t:"Ga verder met %@"}],co:[{w:144.58,h:18,t:"Doe een bijdrage met %@"}],d:[{w:80.8,h:18,t:"Doneer met %@"}],o:[{w:73.63,h:18,t:"Bestel met %@"}],pa:[{w:74.06,h:18,t:"Betaal met %@"}],rl:[{w:125.09,h:18,t:"Laad opnieuw met %@"}],rn:[{w:64.84,h:18,t:"Huur met %@"}],se:[{w:82.33,h:18,t:"Configureer %@"}],sb:[{w:112.31,h:18,t:"Abonneer je met %@"}],sp:[{w:71.16,h:18,t:"Steun met %@"}],ti:[{w:92.61,h:18,t:"Geef fooi met %@"}],to:[{w:88.31,h:18,t:"Verhoog met %@"}]},s:"15px",ls:"0.22px"},"cs-CZ":{l:{a:[{w:114.92,h:18,t:"P\u0159idat hotovost s %@"}],bo:[{w:100.98,h:18,t:"Zarezervovat s %@"}],bu:[{w:56.98,h:18,t:"Koupit s %@"}],ch:[{w:65.02,h:18,t:"Zaplatit s %@"}],ci:[{w:88.44,h:18,t:"Pokra\u010dovat s %@"}],co:[{w:60.81,h:18,t:"P\u0159isp\u011bt s %@"}],d:[{w:65.84,h:18,t:"Darovat s %@"}],o:[{w:75.61,h:18,t:"Objednat s %@"}],pa:[{w:65.02,h:18,t:"Zaplatit s %@"}],rl:[{w:49.97,h:18,t:"Dob\xedt s %@"}],rn:[{w:68.38,h:18,t:"Vyp\u016fj\u010dit s %@"}],se:[{w:58.19,h:18,t:"Nastavit %@"}],sb:[{w:78.28,h:18,t:"P\u0159edplatit s %@"}],sp:[{w:70.45,h:18,t:"Podpo\u0159it s %@"}],ti:[{w:103.66,h:18,t:"D\xe1t spropitn\xe9 s %@"}],to:[{w:61.77,h:18,t:"Doplnit s %@"}]},s:"15px",ls:"0.22px"},"sv-SE":{l:{a:[{w:138.39,h:18,t:"L\xe4gg till pengar med %@"}],bo:[{w:69.44,h:18,t:"Boka med %@"}],bu:[{w:62.11,h:18,t:"K\xf6p med %@"}],ch:[{w:77.78,h:18,t:"Betala med %@"}],ci:[{w:88.16,h:18,t:"Forts\xe4tt med %@"}],co:[{w:70.47,h:18,t:"Bidra med %@"}],d:[{w:84.2,h:18,t:"Donera med %@"}],o:[{w:80.8,h:18,t:"Best\xe4ll med %@"}],pa:[{w:77.78,h:18,t:"Betala med %@"}],rl:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}],rn:[{w:59.63,h:18,t:"Hyr med %@"}],se:[{w:47.42,h:18,t:"St\xe4ll in %@"}],sb:[{w:121.25,h:18,t:"Prenumerera med %@"}],sp:[{w:67.13,h:18,t:"St\xf6d med %@"}],ti:[{w:98.45,h:18,t:"Ge dricks med %@"}],to:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}]},s:"15px",ls:"0.22px"},"it-IT":{l:{a:[{w:118.47,h:18,t:"Versa denaro con %@"}],bo:[{w:82.81,h:18,t:"Prenota con %@"}],bu:[{w:89.77,h:18,t:"Acquista con %@"}],ch:[{w:64.23,h:18,t:"Paga con %@"}],ci:[{w:91.78,h:18,t:"Continua con %@"}],co:[{w:111.69,h:18,t:"Contribuisci con %@"}],d:[{w:150.94,h:18,t:"Fai una donazione con %@"}],o:[{w:75.78,h:18,t:"Ordina con %@"}],pa:[{w:64.23,h:18,t:"Paga con %@"}],rl:[{w:84.5,h:18,t:"Ricarica con %@"}],rn:[{w:90.75,h:18,t:"Noleggia con %@"}],se:[{w:69.08,h:18,t:"Configura %@"}],sb:[{w:91.91,h:18,t:"Abbonati con %@"}],sp:[{w:84.77,h:18,t:"Sostieni con %@"}],ti:[{w:153.83,h:18,t:"Lascia una mancia con %@"}],to:[{w:84.5,h:18,t:"Ricarica con %@"}]},s:"15px",ls:"0.22px"},"hr-HR":{l:{a:[{w:145.14,h:18,t:"Dodaj novac koriste\u0107i %@"}],bo:[{w:128.28,h:18,t:"Rezerviraj koriste\u0107i %@"}],bu:[{w:92.84,h:18,t:"Kupi koriste\u0107i %@"}],ch:[{w:114.06,h:18,t:"Naplati koriste\u0107i: %@"}],ci:[{w:63.89,h:18,t:"Nastavi s %@"}],co:[{w:126.33,h:18,t:"Doprinesi koriste\u0107i %@"}],d:[{w:109.88,h:18,t:"Doniraj koriste\u0107i %@"}],o:[{w:106.19,h:18,t:"Naru\u010di koriste\u0107i %@"}],pa:[{w:91.72,h:18,t:"Plati koriste\u0107i %@"}],rl:[{w:110.16,h:18,t:"Napuni koriste\u0107i %@"}],rn:[{w:109.28,h:18,t:"Unajmi koriste\u0107i %@"}],se:[{w:48.05,h:18,t:"Podesi %@"}],sb:[{w:137.25,h:18,t:"Pretplati se koriste\u0107i %@"}],sp:[{w:104.63,h:18,t:"Podr\u017ei koriste\u0107i %@"}],ti:[{w:173.84,h:18,t:"Ostavi napojnicu koriste\u0107i %@"}],to:[{w:127.06,h:18,t:"Nadoplati koriste\u0107i %@"}]},s:"15px",ls:"0.22px"},"id-ID":{l:{a:[{w:146.39,h:18,t:"Tambah uang dengan %@"}],bo:[{w:97.41,h:18,t:"Pesan dengan %@"}],bu:[{w:81.23,h:18,t:"Beli dengan %@"}],ch:[{w:138.91,h:18,t:"Lanjut bayar dengan %@"}],ci:[{w:122.27,h:18,t:"Lanjutkan dengan %@"}],co:[{w:145.36,h:18,t:"Berkontribusi dengan %@"}],d:[{w:102.89,h:18,t:"Donasi dengan %@"}],o:[{w:94.8,h:18,t:"Order dengan %@"}],pa:[{w:94.91,h:18,t:"Bayar dengan %@"}],rl:[{w:113.94,h:18,t:"Isi Ulang dengan %@"}],rn:[{w:93.31,h:18,t:"Sewa dengan %@"}],se:[{w:31.2,h:18,t:"Atur %@"}],sb:[{w:149.42,h:18,t:"Berlangganan dengan %@"}],sp:[{w:108.81,h:18,t:"Dukung dengan %@"}],ti:[{w:103.34,h:18,t:"Beri tip dengan %@"}],to:[{w:147.81,h:18,t:"Tambah Dana dengan %@"}]},s:"15px",ls:"0.22px"},"hu-HU":{l:{a:[{w:160.58,h:18,t:"P\xe9nz hozz\xe1ad\xe1sa ezzel: %@"}],bo:[{w:113.28,h:18,t:"Lefoglal\xe1s ezzel: %@"}],bu:[{w:129.64,h:18,t:"Megv\xe1s\xe1rl\xe1s ezzel: %@"}],ch:[{w:116.84,h:18,t:"Kassz\xe1hoz ezzel: %@"}],ci:[{w:105.84,h:18,t:"Folytat\xe1s ezzel: %@"}],co:[{w:130.72,h:18,t:"Hozz\xe1j\xe1rul\xe1s ezzel: %@"}],d:[{w:139.45,h:18,t:"Adom\xe1nyoz\xe1s ezzel: %@"}],o:[{w:131.88,h:18,t:"Megrendel\xe9s ezzel: %@"}],pa:[{w:92.38,h:18,t:"Fizet\xe9s ezzel: %@"}],rl:[{w:109.23,h:18,t:"\xdajrat\xf6lt\xe9s ezzel: %@"}],rn:[{w:120.95,h:18,t:"K\xf6lcs\xf6nz\xe9s ezzel: %@"}],se:[{w:66.75,h:18,t:"%@ be\xe1ll\xedt\xe1sa"}],sb:[{w:109.69,h:18,t:"El\u0151fizet\xe9s ezzel: %@"}],sp:[{w:118.05,h:18,t:"T\xe1mogat\xe1s ezzel: %@"}],ti:[{w:108.28,h:18,t:"Borraval\xf3 ezzel: %@"}],to:[{w:101.67,h:18,t:"Felt\xf6lt\xe9s ezzel: %@"}]},s:"15px",ls:"0.22px"},"ru-RU":{l:{a:[{w:134.39,h:18,t:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0435\u043d\u044c\u0433\u0438 \u0441 %@"}],bo:[{w:77.81,h:18,t:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0441 %@"}],bu:[{w:63.44,h:18,t:"\u041a\u0443\u043f\u0438\u0442\u044c \u0441 %@"}],ch:[{w:81.38,h:18,t:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0441 %@"}],ci:[{w:103.5,h:18,t:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441 %@"}],co:[{w:89.8,h:18,t:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441 %@"}],d:[{w:116.05,h:18,t:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 %@"}],o:[{w:77.81,h:18,t:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0441 %@"}],pa:[{w:81.38,h:18,t:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0441 %@"}],rl:[{w:90.94,h:18,t:"\u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441 %@"}],rn:[{w:98.55,h:18,t:"\u0410\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0441 %@"}],se:[{w:78.13,h:18,t:"\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c %@"}],sb:[{w:106.73,h:18,t:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0441 %@"}],sp:[{w:103.39,h:18,t:"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441 %@"}],ti:[{w:144.09,h:18,t:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0447\u0430\u0435\u0432\u044b\u0435 \u0441 %@"}],to:[{w:90.94,h:18,t:"\u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441 %@"}]},s:"15px",ls:"0.22px"},"ko-KR":{l:{a:[{w:44.6,h:17,t:"%@ \ub85c \ucda9\uc804"}],bo:[{w:44.6,h:17,t:"%@ \ub85c \uc608\uc57d"}],bu:[{w:44.6,h:17,t:"%@ \ub85c \uad6c\uc785"}],ch:[{w:44.6,h:17,t:"%@ \ub85c \uacb0\uc81c"}],ci:[{w:73.04,h:17,t:"%@ \ub85c \uacc4\uc18d \uc9c4\ud589"}],co:[{w:69.16,h:17,t:"%@ \ub85c \ucc38\uc5ec\ud558\uae30"}],d:[{w:69.16,h:17,t:"%@ \ub85c \uae30\ubd80\ud558\uae30"}],o:[{w:44.6,h:17,t:"%@ \ub85c \uc8fc\ubb38"}],pa:[{w:44.6,h:17,t:"%@ \ub85c \uc9c0\ubd88"}],rl:[{w:44.6,h:17,t:"%@ \ub85c \ucda9\uc804"}],rn:[{w:44.6,h:17,t:"%@ \ub85c \ub300\uc5ec"}],se:[{w:28.45,h:17,t:"%@ \uc124\uc815"}],sb:[{w:44.6,h:17,t:"%@ \ub85c \uad6c\ub3c5"}],sp:[{w:69.16,h:17,t:"%@ \ub85c \uc9c0\uc6d0\ud558\uae30"}],ti:[{w:60.76,h:17,t:"%@ \ub85c \ud301 \uc9c0\ubd88"}],to:[{w:104.43,h:17,t:"%@ \ub85c \ucda9\uc804(top-up)"}]},s:"14.2px",w:600,ls:"1px"},"pt-PT":{l:{a:[{w:155.92,h:18,t:"Adicionar dinheiro com %@"}],bo:[{w:94.23,h:18,t:"Reservar com %@"}],bu:[{w:93.73,h:18,t:"Comprar com %@"}],ch:[{w:73.58,h:18,t:"Pagar com %@"}],ci:[{w:101.13,h:18,t:"Continuar com %@"}],co:[{w:102.14,h:18,t:"Contribuir com %@"}],d:[{w:156.5,h:18,t:"Fazer uma doa\xe7\xe3o com %@"}],o:[{w:119.66,h:18,t:"Encomendar com %@"}],pa:[{w:73.58,h:18,t:"Pagar com %@"}],rl:[{w:108.69,h:18,t:"Recarregar com %@"}],rn:[{w:78.98,h:18,t:"Alugar com %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:85.17,h:18,t:"Assinar com %@"}],sp:[{w:78.98,h:18,t:"Apoiar com %@"}],ti:[{w:108.94,h:18,t:"Dar gorjeta com %@"}],to:[{w:93.81,h:18,t:"Carregar com %@"}]},s:"15px",ls:"0.22px"},"hi-IN":{l:{a:[{w:49.42,h:14.28,t:"%@ \u0938\u0947 \u0927\u0928 \u091c\u094b\u0921\u093c\u0947\u0902"}],bo:[{w:47.23,h:14.89,t:"%@ \u0938\u0947 \u092c\u0941\u0915 \u0915\u0930\u0947\u0902"}],bu:[{w:38.5,h:14.42,t:"%@ \u0938\u0947 \u0916\u093c\u0930\u0940\u0926\u0947\u0902"}],ch:[{w:96.38,h:14.28,t:"%@ \u0915\u0947 \u0938\u093e\u0925 \u091a\u0947\u0915\u0906\u0909\u091f \u0915\u0930\u0947\u0902"}],ci:[{w:75.66,h:14.42,t:"%@ \u0915\u0947 \u0938\u093e\u0925 \u091c\u093e\u0930\u0940 \u0930\u0916\u0947\u0902"}],co:[{w:65.02,h:14.28,t:"%@ \u0938\u0947 \u092f\u094b\u0917\u0926\u093e\u0928 \u0915\u0930\u0947\u0902"}],d:[{w:38.94,h:14.28,t:"%@ \u0938\u0947 \u0926\u093e\u0928 \u0926\u0947\u0902"}],o:[{w:55.03,h:14.34,t:"%@ \u0938\u0947 \u0911\u0930\u094d\u0921\u0930 \u0915\u0930\u0947\u0902"}],pa:[{w:61.91,h:14.89,t:"%@ \u0938\u0947 \u092d\u0941\u0917\u0924\u093e\u0928 \u0915\u0930\u0947\u0902"}],rl:[{w:58.19,h:14.42,t:"%@ \u0938\u0947 \u0930\u0940\u0932\u094b\u0921 \u0915\u0930\u0947\u0902"}],rn:[{w:67.59,h:14.42,t:"%@ \u0938\u0947 \u0915\u093f\u0930\u093e\u090f \u092a\u0930 \u0932\u0947\u0902"}],se:[{w:50.67,h:14.28,t:"%@ \u0938\u0947\u091f\u0905\u092a \u0915\u0930\u0947\u0902"}],sb:[{w:102.09,h:14.28,t:"%@ \u0915\u0947 \u0938\u093e\u0925 \u0938\u092c\u094d\u0938\u0915\u094d\u0930\u093e\u0907\u092c \u0915\u0930\u0947\u0902"}],sp:[{w:61.06,h:14.34,t:"%@ \u0938\u0947 \u0938\u092e\u0930\u094d\u0925\u0928 \u0915\u0930\u0947\u0902"}],ti:[{w:39.22,h:14.42,t:"%@ \u0938\u0947 \u091f\u093f\u092a \u0926\u0947\u0902"}],to:[{w:65.84,h:14.28,t:"%@ \u0938\u0947 \u091f\u0949\u092a \u0905\u092a \u0915\u0930\u0947\u0902"}]},s:"12px",w:600},"sk-SK":{l:{a:[{w:124.89,h:18,t:"Prida\u0165 peniaze cez %@"}],bo:[{w:104.45,h:18,t:"Rezervova\u0165 cez %@"}],bu:[{w:65.42,h:18,t:"K\xfapi\u0165 cez %@"}],ch:[{w:81.42,h:18,t:"Zaplati\u0165 cez %@"}],ci:[{w:100.61,h:18,t:"Pokra\u010dujte cez %@"}],co:[{w:80.69,h:18,t:"Prispie\u0165 cez %@"}],d:[{w:80.69,h:18,t:"Prispie\u0165 cez %@"}],o:[{w:92.02,h:18,t:"Objedna\u0165 cez %@"}],pa:[{w:81.42,h:18,t:"Zaplati\u0165 cez %@"}],rl:[{w:66.38,h:18,t:"Dobi\u0165 cez %@"}],rn:[{w:79.02,h:18,t:"Po\u017ei\u010da\u0165 cez %@"}],se:[{w:58.52,h:18,t:"Nastavi\u0165 %@"}],sb:[{w:93.55,h:18,t:"Odobera\u0165 cez %@"}],sp:[{w:86.86,h:18,t:"Podpori\u0165 cez %@"}],ti:[{w:119.8,h:18,t:"Da\u0165 sprepitn\xe9 cez %@"}],to:[{w:66.38,h:18,t:"Dobi\u0165 cez %@"}]},s:"15px",ls:"0.22px"},"ms-MY":{l:{a:[{w:151.3,h:18,t:"Tambah Wang dengan %@"}],bo:[{w:109.78,h:18,t:"Tempah dengan %@"}],bu:[{w:81.23,h:18,t:"Beli dengan %@"}],ch:[{w:94.91,h:18,t:"Bayar dengan %@"}],ci:[{w:117.09,h:18,t:"Teruskan dengan %@"}],co:[{w:144.94,h:18,t:"Sumbangkan dengan %@"}],d:[{w:101.03,h:18,t:"Derma dengan %@"}],o:[{w:97.41,h:18,t:"Pesan dengan %@"}],pa:[{w:94.91,h:18,t:"Bayar dengan %@"}],rl:[{w:122.72,h:18,t:"Isi semula dengan %@"}],rn:[{w:93.31,h:18,t:"Sewa dengan %@"}],se:[{w:64.88,h:18,t:"Sediakan %@"}],sb:[{w:114.98,h:18,t:"Langgan dengan %@"}],sp:[{w:107.3,h:18,t:"Sokong dengan %@"}],ti:[{w:127.48,h:18,t:"Berikan tip dengan %@"}],to:[{w:142.14,h:18,t:"Tambah Nilai dengan %@"}]},s:"15px",ls:"0.22px"}},Tr=[],Qi="ResizeObserver loop completed with undelivered notifications.";(_=Fr||(Fr={})).BORDER_BOX="border-box",_.CONTENT_BOX="content-box",_.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var Bs,Ji,Mr=function(_){return Object.freeze(_)},Io=function(_,g){this.inlineSize=_,this.blockSize=g,Mr(this)},wn=function(){function _(g,b,T,B){return this.x=g,this.y=b,this.width=T,this.height=B,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Mr(this)}return _.prototype.toJSON=function(){var g=this;return{x:g.x,y:g.y,top:g.top,right:g.right,bottom:g.bottom,left:g.left,width:g.width,height:g.height}},_.fromRect=function(g){return new _(g.x,g.y,g.width,g.height)},_}(),es=function(_){return _ instanceof SVGElement&&"getBBox"in _},eo=function(_){if(es(_)){var g=_.getBBox();return!g.width&&!g.height}return!(_.offsetWidth||_.offsetHeight||_.getClientRects().length)},lt=function(_){var g,b;if(_ instanceof Element)return!0;var T=null===(b=null===(g=_)||void 0===g?void 0:g.ownerDocument)||void 0===b?void 0:b.defaultView;return!!(T&&_ instanceof T.Element)},Nt=typeof window<"u"?window:{},Xe=new WeakMap,Ei=/auto|scroll/,wl=/^tb|vertical/,hn=/msie|trident/i.test(Nt.navigator&&Nt.navigator.userAgent),Wn=function(_){return parseFloat(_||"0")},to=function(_,g,b){return void 0===_&&(_=0),void 0===g&&(g=0),void 0===b&&(b=!1),new Io((b?g:_)||0,(b?_:g)||0)},Ra=Mr({devicePixelContentBoxSize:to(),borderBoxSize:to(),contentBoxSize:to(),contentRect:new wn(0,0,0,0)}),Hn=function(_,g){if(void 0===g&&(g=!1),Xe.has(_)&&!g)return Xe.get(_);if(eo(_))return Xe.set(_,Ra),Ra;var b=getComputedStyle(_),T=es(_)&&_.ownerSVGElement&&_.getBBox(),B=!hn&&"border-box"===b.boxSizing,H=wl.test(b.writingMode||""),he=!T&&Ei.test(b.overflowY||""),ct=!T&&Ei.test(b.overflowX||""),Gt=T?0:Wn(b.paddingTop),er=T?0:Wn(b.paddingRight),ii=T?0:Wn(b.paddingBottom),Ao=T?0:Wn(b.paddingLeft),os=T?0:Wn(b.borderTopWidth),ss=T?0:Wn(b.borderRightWidth),oo=T?0:Wn(b.borderBottomWidth),Ha=Ao+er,El=Gt+ii,as=(T?0:Wn(b.borderLeftWidth))+ss,cs=os+oo,Ua=ct?_.offsetHeight-cs-_.clientHeight:0,Ir=he?_.offsetWidth-as-_.clientWidth:0,za=B?Ha+as:0,so=B?El+cs:0,No=T?T.width:Wn(b.width)-za-Ir,ao=T?T.height:Wn(b.height)-so-Ua,ls=No+Ha+Ir+as,us=ao+El+Ua+cs,Ga=Mr({devicePixelContentBoxSize:to(Math.round(No*devicePixelRatio),Math.round(ao*devicePixelRatio),H),borderBoxSize:to(ls,us,H),contentBoxSize:to(No,ao,H),contentRect:new wn(Ao,Gt,No,ao)});return Xe.set(_,Ga),Ga},bn=function(_,g,b){var T=Hn(_,b),B=T.borderBoxSize,H=T.contentBoxSize,he=T.devicePixelContentBoxSize;switch(g){case Fr.DEVICE_PIXEL_CONTENT_BOX:return he;case Fr.BORDER_BOX:return B;default:return H}},Vr=function(_){var g=Hn(_);this.target=_,this.contentRect=g.contentRect,this.borderBoxSize=Mr([g.borderBoxSize]),this.contentBoxSize=Mr([g.contentBoxSize]),this.devicePixelContentBoxSize=Mr([g.devicePixelContentBoxSize])},rn=function(_){if(eo(_))return 1/0;for(var g=0,b=_.parentNode;b;)g+=1,b=b.parentNode;return g},bl=function(){var _=1/0,g=[];Tr.forEach(function(B){if(0!==B.activeTargets.length){var H=[];B.activeTargets.forEach(function(he){var ct=new Vr(he.target),Gt=rn(he.target);H.push(ct),he.lastReportedSize=bn(he.target,he.observedBox),Gt<_&&(_=Gt)}),g.push(function(){B.callback.call(B.observer,H,B.observer)}),B.activeTargets.splice(0,B.activeTargets.length)}});for(var b=0,T=g;b<T.length;b++)(0,T[b])();return _},ri=function(_){Tr.forEach(function(g){g.activeTargets.splice(0,g.activeTargets.length),g.skippedTargets.splice(0,g.skippedTargets.length),g.observationTargets.forEach(function(b){b.isActive()&&(rn(b.target)>_?g.activeTargets.push(b):g.skippedTargets.push(b))})})},ts=[],no=0,js={attributes:!0,characterData:!0,childList:!0,subtree:!0},ns=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ro=function(_){return void 0===_&&(_=0),Date.now()+_},ne=!1,rs=new(function(){function _(){var g=this;this.stopped=!0,this.listener=function(){return g.schedule()}}return _.prototype.run=function(g){var b=this;if(void 0===g&&(g=250),!ne){ne=!0;var T,B=ro(g);T=function(){var H=!1;try{H=function(){var _,g=0;for(ri(g);Tr.some(function(b){return b.activeTargets.length>0});)g=bl(),ri(g);return Tr.some(function(b){return b.skippedTargets.length>0})&&("function"==typeof ErrorEvent?_=new ErrorEvent("error",{message:Qi}):((_=document.createEvent("Event")).initEvent("error",!1,!1),_.message=Qi),window.dispatchEvent(_)),g>0}()}finally{if(ne=!1,g=B-ro(),!no)return;H?b.run(1e3):g>0?b.run(g):b.start()}},function(){if(!Bs){var g=0,b=document.createTextNode("");new MutationObserver(function(){return ts.splice(0).forEach(function(T){return T()})}).observe(b,{characterData:!0}),Bs=function(){b.textContent=""+(g?g--:g++)}}ts.push(function(){requestAnimationFrame(T)}),Bs()}()}},_.prototype.schedule=function(){this.stop(),this.run()},_.prototype.observe=function(){var g=this,b=function(){return g.observer&&g.observer.observe(document.body,js)};document.body?b():Nt.addEventListener("DOMContentLoaded",b)},_.prototype.start=function(){var g=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ns.forEach(function(b){return Nt.addEventListener(b,g.listener,!0)}))},_.prototype.stop=function(){var g=this;this.stopped||(this.observer&&this.observer.disconnect(),ns.forEach(function(b){return Nt.removeEventListener(b,g.listener,!0)}),this.stopped=!0)},_}()),Va=function(_){!no&&_>0&&rs.start(),!(no+=_)&&rs.stop()},Hs=function(){function _(g,b){this.target=g,this.observedBox=b||Fr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return _.prototype.isActive=function(){var g,b=bn(this.target,this.observedBox,!0);return es(g=this.target)||function(T){switch(T.tagName){case"INPUT":if("image"!==T.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(g)||"inline"!==getComputedStyle(g).display||(this.lastReportedSize=b),this.lastReportedSize.inlineSize!==b.inlineSize||this.lastReportedSize.blockSize!==b.blockSize},_}(),$a=function(_,g){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=_,this.callback=g},is=new WeakMap,Us=function(_,g){for(var b=0;b<_.length;b+=1)if(_[b].target===g)return b;return-1},zs=function(){function _(){}return _.connect=function(g,b){var T=new $a(g,b);is.set(g,T)},_.observe=function(g,b,T){var B=is.get(g),H=0===B.observationTargets.length;Us(B.observationTargets,b)<0&&(H&&Tr.push(B),B.observationTargets.push(new Hs(b,T&&T.box)),Va(1),rs.schedule())},_.unobserve=function(g,b){var T=is.get(g),B=Us(T.observationTargets,b);B>=0&&(1===T.observationTargets.length&&Tr.splice(Tr.indexOf(T),1),T.observationTargets.splice(B,1),Va(-1))},_.disconnect=function(g){var b=this,T=is.get(g);T.observationTargets.slice().forEach(function(B){return b.unobserve(g,B.target)}),T.activeTargets.splice(0,T.activeTargets.length)},_}(),Cl=function(){function _(g){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof g)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");zs.connect(this,g)}return _.prototype.observe=function(g,b){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!lt(g))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");zs.observe(this,g,b)},_.prototype.unobserve=function(g){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!lt(g))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");zs.unobserve(this,g)},_.prototype.disconnect=function(){zs.disconnect(this)},_.toString=function(){return"function ResizeObserver () { [polyfill code] }"},_}();Ji=ni(document.documentElement),Qo()||Tt(Ji)||Er(Ji);var Ba=Qo(),Mt=class extends HTMLElement{constructor(){super(),this.__registerHost(),Object(q.b)(this),this.logoOnly=!1,this.fontLoading=!Ba,this.buttonStyle="black",this.type="buy"}checkStyle(_,g){var b=io(_,g);b!==_&&this.element.setAttribute("buttonstyle",b)}checkType(_,g){var b=xo(_,g);b!==_&&this.element.setAttribute("type",b),this.metadata&&(this.minButtonWidth=this.getMinButtonWidth(this.metadata))}verifyLocaleAndSwapMetadata(_){this._locale=this.adjustLocaleAndSetLangIfNecessary(_),Ba||this.loadFontIfNecessary(this._locale),this.metadata=_l[this._locale],this.minButtonWidth=this.getMinButtonWidth(this.metadata)}componentWillLoad(){var _=this;return Se(function*(){var g=io(_.buttonStyle);g!==_.buttonStyle&&_.element.setAttribute("buttonstyle",g);var b=xo(_.type);b!==_.type&&_.element.setAttribute("type",b),_.verifyLocaleAndSwapMetadata(_.locale)})()}componentDidRender(){this.validateFontSize(this.container.offsetWidth)}componentDidLoad(){new Cl((_,g)=>{for(var b of _){var{width:T}=b.contentRect;if("plain"===this.type)return;this.validateFontSize(T)}}).observe(this.container),this.element.addEventListener("click",_=>_.stopPropagation())}validateFontSize(_){var g,b,T,B;"plain"!==this.type&&(_<this.minButtonWidth?(null===(g=this.container.querySelector("#svg-text"))||void 0===g||g.classList.add("hidden"),null===(b=this.container.querySelector("#svg-logo"))||void 0===b||b.classList.remove("hidden")):(null===(T=this.container.querySelector("#svg-text"))||void 0===T||T.classList.remove("hidden"),null===(B=this.container.querySelector("#svg-logo"))||void 0===B||B.classList.add("hidden")))}getStyle(_){return":host(apple-pay-button){display:inline-block;width:var(--apple-pay-button-width, auto);"+"min-width:".concat("plain"===_?"100px":"140px",";")+"min-height:30px;"+(nn()?"":"display:none;")+"}"}loadFontIfNecessary(_){try{var g=document.fonts.check("15px apple-pay-btn-".concat(_)),b=Tt(_);b||Er(_),this.fontLoading=!b||!g,this.fontLoading&&document.fonts.ready.then(()=>setTimeout(()=>{this.fontLoading=!1},0))}catch{this.fontLoading=!1}}getMinButtonWidth(_){var H,g=xo(this.type),{width:b,height:T}="plain"===(H=g)?{width:35,height:15}:{width:Oa({metadata:_,buttonType:H}).width,height:18};return 15*b/T}adjustLocaleAndSetLangIfNecessary(_){var g=function(T){if(T){var B=at(St(T));if(B)return B}}(_);if(g){g!==_&&this.element.setAttribute("locale",g);var b=g.replace("_","-");this.element.setAttribute("lang",b)}else this.element.removeAttribute("locale"),this.element.removeAttribute("lang"),g=ni(this.element);return g}render(){var _=io(this.buttonStyle),g=xo(this.type);return Object(q.c)(q.a,{"aria-hidden":nn()?void 0:"true"},Object(q.c)("div",{class:"apple-pay-btn-wrapper ".concat(g," ").concat(this._locale),style:{visibility:this.fontLoading?"hidden":"visible"}},Object(q.c)("style",null,this.getStyle(g)),Object(q.c)("button",{"aria-label":$s(this.metadata,g),class:"apple-pay-btn ".concat(_)},Object(q.c)("span",{ref:b=>this.container=b,innerHTML:Sr({metadata:this.metadata,locale:this._locale,buttonStyle:_,buttonType:g})}))))}static get assetsDirs(){return["assets/1.0.0"]}get element(){return this}static get watchers(){return{buttonStyle:["checkStyle"],type:["checkType"],locale:["verifyLocaleAndSwapMetadata"]}}static get style(){return'.apple-pay-btn-wrapper{width:100%;min-height:30px;height:var(--apple-pay-button-height, 30px)}.apple-pay-btn-wrapper.plain{min-width:100px}.plain .apple-pay-btn{--apple-pay-button-width-default:100px}.apple-pay-btn-wrapper .apple-pay-btn{background-color:black;border:none;color:white;cursor:pointer;font-synthesis:none;-ms-flex-pack:center;justify-content:center;position:relative;margin:0;-webkit-box-sizing:var(--apple-pay-button-box-sizing, content-box);box-sizing:var(--apple-pay-button-box-sizing, content-box);min-height:30px;height:calc(var(--apple-pay-button-height, 30px));min-width:var(--apple-pay-button-width-default, 140px);width:100%;border-radius:var(--apple-pay-button-border-radius, 4px);padding:var(--apple-pay-button-padding, 0);-moz-font-feature-settings:kern;-moz-osx-font-smoothing:"grayscale";-webkit-font-smoothing:antialiased}.apple-pay-btn-wrapper .apple-pay-btn.white,.apple-pay-btn-wrapper .apple-pay-btn.white-outline{background-color:white;color:black}.apple-pay-btn-wrapper .apple-pay-btn.white-outline{border:1px solid black}.apple-pay-btn-wrapper .apple-pay-btn>span{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%}.apple-pay-btn-wrapper .apple-pay-btn>span>svg{max-width:100%;min-height:24px;min-width:50%;height:100%;-webkit-transform:translateZ(0) scale(1, 1);transform:translateZ(0) scale(1, 1)}.apple-pay-btn-wrapper .apple-pay-btn #svg-text.hidden,.apple-pay-btn-wrapper .apple-pay-btn #svg-logo.hidden{display:none}'}};function io(_,g){var b=["black","white-outline","white"],T=_.trim();return b.includes(T)?T:g&&b.includes(g)?g:"black"}function xo(_,g){var b=_.trim();return Vs(b)?b:g&&Vs(g)?g:"buy"}typeof customElements<"u"&&[Object(q.d)(Mt,[1,"apple-pay-button",{buttonStyle:[513,"buttonstyle"],type:[1537],locale:[1025],logoOnly:[32],fontLoading:[32]}])].forEach(_=>{customElements.get(_.is)||customElements.define(_.is,_,void 0)})}var gt="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js";ue.p=new URL(gt.slice(0,gt.lastIndexOf("/")));var Ye,He,Le,oe,ln=!0;try{ln=globalThis}catch{ln=!1}window.customElements&&window.fetch&&Symbol("desc").description&&ln?Ct():(Ye=ue.p+"/polyfills.js",He=Ct,Le=document.body,(oe=document.createElement("script")).src=Ye,oe.onload=He,oe.onreadystatechange=He,Le.appendChild(oe))}.call(this,ue(44))},104:function(en,Pe){function ue(Ae){return Promise.resolve().then(function(){var q=new Error("Cannot find module '"+Ae+"'");throw q.code="MODULE_NOT_FOUND",q})}ue.keys=function(){return[]},ue.resolve=ue,en.exports=ue,ue.id=104},14:function(en,Pe,ue){"use strict";var Ae,q,xe;function Tr(p,y,w,S,M,N,R){try{var I=p[N](R),F=I.value}catch(V){return void w(V)}I.done?y(F):Promise.resolve(F).then(S,M)}function Qi(p){return function(){var y=this,w=arguments;return new Promise(function(S,M){var N=p.apply(y,w);function R(F){Tr(N,S,M,R,I,"next",F)}function I(F){Tr(N,S,M,R,I,"throw",F)}R(void 0)})}}ue.d(Pe,"a",function(){return ne}),ue.d(Pe,"b",function(){return Zp}),ue.d(Pe,"c",function(){return ns}),ue.d(Pe,"d",function(){return Pv});var p,Ji=!1,Mr=!1,Io=!1,wn=!1,eo=!1,lt=typeof window<"u"?window:{},Nt=lt.document||{head:{}},Xe={$flags$:0,$resourcesUrl$:"",jmp:p=>p(),raf:p=>requestAnimationFrame(p),ael:(p,y,w,S)=>p.addEventListener(y,w,S),rel:(p,y,w,S)=>p.removeEventListener(y,w,S),ce:(p,y)=>new CustomEvent(p,y)},wl=(()=>{var p=!1;try{Nt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){p=!0}}))}catch{}return p})(),hn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch{}return!1})(),Wn=(p,y,w,S)=>{w&&w.map(([M,N,R])=>{var I=Ra(p,M),F=to(y,R),V=Hn(M);Xe.ael(I,N,F,V),(y.$rmListeners$=y.$rmListeners$||[]).push(()=>Xe.rel(I,N,F,V))})},to=(p,y)=>w=>{try{p.$hostElement$[y](w)}catch(S){oi(S)}},Ra=(p,y)=>4&y?Nt:8&y?lt:16&y?Nt.body:p,Hn=p=>wl?{passive:!!(1&p),capture:!!(2&p)}:!!(2&p),bn="http://www.w3.org/1999/xlink",rn=new WeakMap,ts=(p,y)=>"sc-"+(y&&32&p.$flags$?p.$tagName$+"-"+y:p.$tagName$),no={},js=p=>"object"==(p=typeof p)||"function"===p,ns=(p,y,...w)=>{var S=null,M=null,N=null,R=!1,I=!1,F=[],V=Fe=>{for(var Wt=0;Wt<Fe.length;Wt++)S=Fe[Wt],Array.isArray(S)?V(S):null!=S&&"boolean"!=typeof S&&((R="function"!=typeof p&&!js(S))&&(S=String(S)),R&&I?F[F.length-1].$text$+=S:F.push(R?ro(null,S):S),I=R)};if(V(w),y&&(y.key&&(M=y.key),y.name&&(N=y.name),1)){var ge=y.className||y.class;ge&&(y.class="object"!=typeof ge?ge:Object.keys(ge).filter(Fe=>ge[Fe]).join(" "))}if("function"==typeof p)return p(null===y?{}:y,F,Va);var pe=ro(p,null);return pe.$attrs$=y,F.length>0&&(pe.$children$=F),pe.$key$=M,pe.$name$=N,pe},ro=(p,y)=>({$flags$:0,$tag$:p,$text$:y,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),ne={},Va={forEach:(p,y)=>p.map(Hs).forEach(y),map:(p,y)=>p.map(Hs).map(y).map($a)},Hs=p=>({vattrs:p.$attrs$,vchildren:p.$children$,vkey:p.$key$,vname:p.$name$,vtag:p.$tag$,vtext:p.$text$}),$a=p=>{if("function"==typeof p.vtag){var y=Object.assign({},p.vattrs);return p.vkey&&(y.key=p.vkey),p.vname&&(y.name=p.vname),ns(p.vtag,y,...p.vchildren||[])}var w=ro(p.vtag,p.vtext);return w.$attrs$=p.vattrs,w.$children$=p.vchildren,w.$key$=p.vkey,w.$name$=p.vname,w},Us=(p,y,w,S,M,N)=>{if(w!==S){var R=Dl(p,y),I=y.toLowerCase();if("class"===y){var F=p.classList,V=Cl(w),ge=Cl(S);F.remove(...V.filter(sn=>sn&&!ge.includes(sn))),F.add(...ge.filter(sn=>sn&&!V.includes(sn)))}else if("style"===y){for(var pe in w)S&&null!=S[pe]||(pe.includes("-")?p.style.removeProperty(pe):p.style[pe]="");for(var Fe in S)w&&S[Fe]===w[Fe]||(Fe.includes("-")?p.style.setProperty(Fe,S[Fe]):p.style[Fe]=S[Fe])}else if("key"!==y)if("ref"===y)S&&S(p);else if(p.__lookupSetter__(y)||"o"!==y[0]||"n"!==y[1]){var Wt=js(S);if((R||Wt&&null!==S)&&!M)try{if(p.tagName.includes("-"))p[y]=S;else{var Cn=S??"";"list"===y?R=!1:null!=w&&p[y]==Cn||(p[y]=Cn)}}catch{}var on=!1;I!==(I=I.replace(/^xlink\:?/,""))&&(y=I,on=!0),null==S||!1===S?!1===S&&""!==p.getAttribute(y)||(on?p.removeAttributeNS(bn,y):p.removeAttribute(y)):(!R||4&N||M)&&!Wt&&(S=!0===S?"":S,on?p.setAttributeNS(bn,y,S):p.setAttribute(y,S))}else y="-"===y[2]?y.slice(3):Dl(lt,I)?I.slice(2):I[2]+y.slice(3),w&&Xe.rel(p,y,w,!1),S&&Xe.ael(p,y,S,!1)}},zs=/\s/,Cl=p=>p?p.split(zs):[],Ba=(p,y,w,S)=>{var M=11===y.$elm$.nodeType&&y.$elm$.host?y.$elm$.host:y.$elm$,N=p&&p.$attrs$||no,R=y.$attrs$||no;for(S in N)S in R||Us(M,S,N[S],void 0,w,y.$flags$);for(S in R)Us(M,S,N[S],R[S],w,y.$flags$)},Mt=(p,y,w,S)=>{var M,N,R,I=y.$children$[w],F=0;if(!Ji&&(Io=!0,"slot"===I.$tag$&&(Ae&&S.classList.add(Ae+"-s"),I.$flags$|=I.$children$?2:1)),null!==I.$text$)M=I.$elm$=Nt.createTextNode(I.$text$);else if(1&I.$flags$)M=I.$elm$=Nt.createTextNode("");else{if(!wn&&(wn="svg"===I.$tag$),M=I.$elm$=Nt.createElementNS(wn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&I.$flags$?"slot-fb":I.$tag$),wn&&"foreignObject"===I.$tag$&&(wn=!1),Ba(null,I,wn),null!=Ae&&M["s-si"]!==Ae&&M.classList.add(M["s-si"]=Ae),I.$children$)for(F=0;F<I.$children$.length;++F)(N=Mt(p,I,F,M))&&M.appendChild(N);"svg"===I.$tag$?wn=!1:"foreignObject"===M.tagName&&(wn=!0)}return M["s-hn"]=xe,3&I.$flags$&&(M["s-sr"]=!0,M["s-cr"]=q,M["s-sn"]=I.$name$||"",(R=p&&p.$children$&&p.$children$[w])&&R.$tag$===I.$tag$&&p.$elm$&&io(p.$elm$,!1)),M},io=(p,y)=>{Xe.$flags$|=1;for(var w=p.childNodes,S=w.length-1;S>=0;S--){var M=w[S];M["s-hn"]!==xe&&M["s-ol"]&&(b(M).insertBefore(M,g(M)),M["s-ol"].remove(),M["s-ol"]=void 0,Io=!0),y&&io(M,y)}Xe.$flags$&=-2},xo=(p,y,w,S,M,N)=>{var R,I=p["s-cr"]&&p["s-cr"].parentNode||p;for(I.shadowRoot&&I.tagName===xe&&(I=I.shadowRoot);M<=N;++M)S[M]&&(R=Mt(null,w,M,p))&&(S[M].$elm$=R,I.insertBefore(R,g(y)))},ja=(p,y,w,S,M)=>{for(;y<=w;++y)(S=p[y])&&(M=S.$elm$,Gt(S),Mr=!0,M["s-ol"]?M["s-ol"].remove():io(M,!0),M.remove())},_=(p,y)=>p.$tag$===y.$tag$&&("slot"===p.$tag$?p.$name$===y.$name$:p.$key$===y.$key$),g=p=>p&&p["s-ol"]||p,b=p=>(p["s-ol"]?p["s-ol"]:p).parentNode,T=(p,y)=>{var w,S=y.$elm$=p.$elm$,M=p.$children$,N=y.$children$,R=y.$tag$,I=y.$text$;null!==I?(w=S["s-cr"])?w.parentNode.textContent=I:p.$text$!==I&&(S.data=I):(wn="svg"===R||"foreignObject"!==R&&wn,"slot"===R||Ba(p,y,wn),null!==M&&null!==N?((F,V,ge,pe)=>{for(var Fe,Wt,Cn=0,on=0,sn=0,Si=0,qn=V.length-1,qt=V[0],$r=V[qn],Ti=pe.length-1,lr=pe[0],si=pe[Ti];Cn<=qn&&on<=Ti;)if(null==qt)qt=V[++Cn];else if(null==$r)$r=V[--qn];else if(null==lr)lr=pe[++on];else if(null==si)si=pe[--Ti];else if(_(qt,lr))T(qt,lr),qt=V[++Cn],lr=pe[++on];else if(_($r,si))T($r,si),$r=V[--qn],si=pe[--Ti];else if(_(qt,si))"slot"!==qt.$tag$&&"slot"!==si.$tag$||io(qt.$elm$.parentNode,!1),T(qt,si),F.insertBefore(qt.$elm$,$r.$elm$.nextSibling),qt=V[++Cn],si=pe[--Ti];else if(_($r,lr))"slot"!==qt.$tag$&&"slot"!==si.$tag$||io($r.$elm$.parentNode,!1),T($r,lr),F.insertBefore($r.$elm$,qt.$elm$),$r=V[--qn],lr=pe[++on];else{for(sn=-1,Si=Cn;Si<=qn;++Si)if(V[Si]&&null!==V[Si].$key$&&V[Si].$key$===lr.$key$){sn=Si;break}sn>=0?((Wt=V[sn]).$tag$!==lr.$tag$?Fe=Mt(V&&V[on],ge,sn,F):(T(Wt,lr),V[sn]=void 0,Fe=Wt.$elm$),lr=pe[++on]):(Fe=Mt(V&&V[on],ge,on,F),lr=pe[++on]),Fe&&b(qt.$elm$).insertBefore(Fe,g(qt.$elm$))}Cn>qn?xo(F,null==pe[Ti+1]?null:pe[Ti+1].$elm$,ge,pe,on,Ti):on>Ti&&ja(V,Cn,qn)})(S,M,y,N):null!==N?(null!==p.$text$&&(S.textContent=""),xo(S,null,y,N,0,N.length-1)):null!==M&&ja(M,0,M.length-1),wn&&"svg"===R&&(wn=!1))},B=p=>{var y,w,S,M,N,R,I=p.childNodes;for(w=0,S=I.length;w<S;w++)if(1===(y=I[w]).nodeType){if(y["s-sr"])for(N=y["s-sn"],y.hidden=!1,M=0;M<S;M++)if(R=I[M].nodeType,I[M]["s-hn"]!==y["s-hn"]||""!==N){if(1===R&&N===I[M].getAttribute("slot")){y.hidden=!0;break}}else if(1===R||3===R&&""!==I[M].textContent.trim()){y.hidden=!0;break}B(y)}},H=[],he=p=>{for(var y,w,S,M,N,R,I=0,F=p.childNodes,V=F.length;I<V;I++){if((y=F[I])["s-sr"]&&(w=y["s-cr"])&&w.parentNode)for(M=y["s-sn"],R=(S=w.parentNode.childNodes).length-1;R>=0;R--)(w=S[R])["s-cn"]||w["s-nr"]||w["s-hn"]===y["s-hn"]||(ct(w,M)?(N=H.find(ge=>ge.$nodeToRelocate$===w),Mr=!0,w["s-sn"]=w["s-sn"]||M,N?N.$slotRefNode$=y:H.push({$slotRefNode$:y,$nodeToRelocate$:w}),w["s-sr"]&&H.map(ge=>{ct(ge.$nodeToRelocate$,w["s-sn"])&&(N=H.find(pe=>pe.$nodeToRelocate$===w))&&!ge.$slotRefNode$&&(ge.$slotRefNode$=N.$slotRefNode$)})):H.some(ge=>ge.$nodeToRelocate$===w)||H.push({$nodeToRelocate$:w}));1===y.nodeType&&he(y)}},ct=(p,y)=>1===p.nodeType?null===p.getAttribute("slot")&&""===y||p.getAttribute("slot")===y:p["s-sn"]===y||""===y,Gt=p=>{p.$attrs$&&p.$attrs$.ref&&p.$attrs$.ref(null),p.$children$&&p.$children$.map(Gt)},er=(p,y)=>{var w=p.$hostElement$,S=p.$cmpMeta$,M=p.$vnode$||ro(null,null),N=(p=>p&&p.$tag$===ne)(y)?y:ns(null,null,y);if(xe=w.tagName,S.$attrsToReflect$&&(N.$attrs$=N.$attrs$||{},S.$attrsToReflect$.map(([Wt,Cn])=>N.$attrs$[Cn]=w[Wt])),N.$tag$=null,N.$flags$|=4,p.$vnode$=N,N.$elm$=M.$elm$=w.shadowRoot||w,Ae=w["s-sc"],q=w["s-cr"],Ji=!!(1&S.$flags$),Mr=!1,T(M,N),Xe.$flags$|=1,Io){var R,I,F,V,ge,pe;he(N.$elm$);for(var Fe=0;Fe<H.length;Fe++)(I=(R=H[Fe]).$nodeToRelocate$)["s-ol"]||((F=Nt.createTextNode(""))["s-nr"]=I,I.parentNode.insertBefore(I["s-ol"]=F,I));for(Fe=0;Fe<H.length;Fe++)if(I=(R=H[Fe]).$nodeToRelocate$,R.$slotRefNode$){for(V=R.$slotRefNode$.parentNode,ge=R.$slotRefNode$.nextSibling,F=I["s-ol"];F=F.previousSibling;)if((pe=F["s-nr"])&&pe["s-sn"]===I["s-sn"]&&V===pe.parentNode&&(!(pe=pe.nextSibling)||!pe["s-nr"])){ge=pe;break}(!ge&&V!==I.parentNode||I.nextSibling!==ge)&&I!==ge&&(!I["s-hn"]&&I["s-ol"]&&(I["s-hn"]=I["s-ol"].parentNode.nodeName),V.insertBefore(I,ge))}else 1===I.nodeType&&(I.hidden=!0)}Mr&&B(N.$elm$),Xe.$flags$&=-2,H.length=0},oo=(p,y)=>{p.$flags$|=16;return Sd(()=>Ha(p,y))},Ha=(p,y)=>{var w,S=p.$hostElement$,N=S;return y?(so(S,"componentWillLoad"),w=Ir(N,"componentWillLoad")):(so(S,"componentWillUpdate"),w=Ir(N,"componentWillUpdate")),so(S,"componentWillRender"),w=za(w,()=>Ir(N,"componentWillRender")),za(w,()=>El(p,N,y))},El=(p=Qi(function*(y,w,S){var M=y.$hostElement$;S&&(p=>{var y=p.$cmpMeta$,w=p.$hostElement$,S=y.$flags$,N=((p,y,w)=>{var M=ts(y,w),N=Po.get(M);if(p=11===p.nodeType?p:Nt,N)if("string"==typeof N){var R,I=rn.get(p=p.head||p);I||rn.set(p,I=new Set),I.has(M)||((R=Nt.createElement("style")).innerHTML=N,p.insertBefore(R,p.querySelector("link")),I&&I.add(M))}else!p.adoptedStyleSheets.includes(N)&&(p.adoptedStyleSheets=[...p.adoptedStyleSheets,N]);return M})(w.shadowRoot?w.shadowRoot:w.getRootNode(),y,p.$modeName$);10&S&&(w["s-sc"]=N,w.classList.add(N+"-h"),2&S&&w.classList.add(N+"-s"))})(y);as(y,w,M),cs(y)}),function(y,w,S){return p.apply(this,arguments)}),as=(p,y,w)=>{try{y=y.render&&y.render(),p.$flags$&=-17,p.$flags$|=2,er(p,y)}catch(I){oi(I,p.$hostElement$)}return null},cs=p=>{var w=p.$hostElement$,M=w;Ir(M,"componentDidRender"),so(w,"componentDidRender"),64&p.$flags$?(Ir(M,"componentDidUpdate"),so(w,"componentDidUpdate")):(p.$flags$|=64,Ir(M,"componentDidLoad"),so(w,"componentDidLoad"))},Ir=(p,y,w)=>{if(p&&p[y])try{return p[y](w)}catch(S){oi(S)}},za=(p,y)=>p&&p.then?p.then(y):y(),so=(p,y)=>{},_d=(p,y,w)=>{if(y.$members$){p.watchers&&(y.$watchers$=p.watchers);var S=Object.entries(y.$members$),M=p.prototype;S.map(([R,[I]])=>{(31&I||32&I)&&Object.defineProperty(M,R,{get(){return F=R,ko(this).$instanceValues$.get(F);var F},set(F){((p,y,w,S)=>{var M,N,R=ko(p),I=p,F=R.$instanceValues$.get(y),V=R.$flags$,ge=I;if(N=S.$members$[y][0],(w=null==(M=w)||js(M)?M:4&N?"false"!==M&&(""===M||!!M):2&N?parseFloat(M):1&N?String(M):M)!==F&&(R.$instanceValues$.set(y,w),1)){if(S.$watchers$&&128&V){var pe=S.$watchers$[y];pe&&pe.map(Fe=>{try{ge[Fe](w,F,y)}catch(Wt){oi(Wt,I)}})}if(2==(18&V)){if(ge.componentShouldUpdate&&!1===ge.componentShouldUpdate(w,F,y))return;oo(R,!1)}}})(this,R,F,y)},configurable:!0,enumerable:!0})});var N=new Map;M.attributeChangedCallback=function(R,I,F){Xe.jmp(()=>{var V=N.get(R);this[V]=(null!==F||"boolean"!=typeof this[V])&&F})},p.observedAttributes=S.filter(([R,I])=>15&I[0]).map(([R,I])=>{var F=I[1]||R;return N.set(F,R),512&I[0]&&y.$attrsToReflect$.push([R,F]),F})}return p},wd=function(){var p=Qi(function*(y,w,S,M,N){if(!(32&w.$flags$)&&(N=y.constructor,w.$flags$|=160,N.style)){var F=N.style;"string"!=typeof F&&(F=F[w.$modeName$=(p=>Ed.map(y=>y(p)).find(y=>!!y))(y)]);var V=ts(S,w.$modeName$);if(!Po.has(V)){((p,y,w)=>{var S=Po.get(p);hn&&w?(S=S||new CSSStyleSheet).replace(y):S=y,Po.set(p,S)})(V,F,!!(1&S.$flags$))}}oo(w,!0)});return function(y,w,S,M,N){return p.apply(this,arguments)}}(),Pv=(p,y)=>{var w={$flags$:y[0],$tagName$:y[1]};w.$members$=y[2],w.$listeners$=y[3],w.$watchers$=p.$watchers$,w.$attrsToReflect$=[];var S=p.prototype.connectedCallback,M=p.prototype.disconnectedCallback;return Object.assign(p.prototype,{__registerHost(){Wa(this,w)},connectedCallback(){(p=>{if(!(1&Xe.$flags$)){var y=ko(p),w=y.$cmpMeta$;1&y.$flags$?Wn(p,y,w.$listeners$):(y.$flags$|=1,12&w.$flags$&&(p=>{var y=p["s-cr"]=Nt.createComment("");y["s-cn"]=!0,p.insertBefore(y,p.firstChild)})(p),wd(p,y,w))}})(this),S&&S.call(this)},disconnectedCallback(){(()=>{if(!(1&Xe.$flags$)){var y=ko(this);y.$rmListeners$&&(y.$rmListeners$.map(S=>S()),y.$rmListeners$=void 0)}})(),M&&M.call(this)}}),p.is=w.$tagName$,_d(p,w)},Zp=p=>{p.attachShadow({mode:"open"})},Di=new WeakMap,ko=p=>Di.get(p),Wa=(p,y)=>{var w={$flags$:0,$hostElement$:p,$cmpMeta$:y,$instanceValues$:new Map};return Wn(p,w,y.$listeners$),Di.set(p,w)},Dl=(p,y)=>y in p,oi=(p,y)=>(0,console.error)(p,y),Po=new Map,Ed=[],Ws=[],ds=[],Dd=p=>{for(var y=0;y<p.length;y++)try{p[y](performance.now())}catch(w){oi(w)}p.length=0},Tl=()=>{Dd(Ws),Dd(ds),(eo=Ws.length>0)&&Xe.raf(Tl)},Sd=(p=>w=>{p.push(w),eo||(eo=!0,4&Xe.$flags$?(p=>{Promise.resolve(void 0).then(p)})(Tl):Xe.raf(Tl))})(ds)},195:function(en,Pe,ue){"use strict";ue.r(Pe),ue.d(Pe,"scopeCss",function(){return cr});var Ae=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",q=new RegExp("(-shadowcsshost"+Ae,"gim"),xe=new RegExp("(-shadowcsscontext"+Ae,"gim"),Se=new RegExp("(-shadowcssslotted"+Ae,"gim"),Ze=/-shadowcsshost-no-combinator([^\s]*)/,te=[/::shadow/g,/::content/g],K=/-shadowcsshost/gim,ce=/:host/gim,Ct=/::slotted/gim,gt=/:host-context/gim,ln=/\/\*\s*[\s\S]*?\*\//g,Ye=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,He=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Le=/([{}])/g,oe=(de,Ne)=>{var Ce=Te(de),Be=0;return Ce.escapedString.replace(He,(...Oe)=>{var ke=Oe[2],$e="",Je=Oe[4],vt="";Je&&Je.startsWith("{%BLOCK%")&&($e=Ce.blocks[Be++],Je=Je.substring(8),vt="{");var Ee=Ne({selector:ke,content:$e});return"".concat(Oe[1]).concat(Ee.selector).concat(Oe[3]).concat(vt).concat(Ee.content).concat(Je)})},Te=de=>{for(var Ne=de.split(Le),Ce=[],Be=[],Oe=0,ke=[],$e=0;$e<Ne.length;$e++){var Je=Ne[$e];"}"===Je&&Oe--,Oe>0?ke.push(Je):(ke.length>0&&(Be.push(ke.join("")),Ce.push("%BLOCK%"),ke=[]),Ce.push(Je)),"{"===Je&&Oe++}return ke.length>0&&(Be.push(ke.join("")),Ce.push("%BLOCK%")),{escapedString:Ce.join(""),blocks:Be}},Ue=(de,Ne,Ce)=>de.replace(Ne,(...Be)=>{if(Be[2]){for(var Oe=Be[2].split(","),ke=[],$e=0;$e<Oe.length;$e++){var Je=Oe[$e].trim();if(!Je)break;ke.push(Ce("-shadowcsshost-no-combinator",Je,Be[3]))}return ke.join(",")}return"-shadowcsshost-no-combinator"+Be[3]}),Dt=(de,Ne,Ce)=>de+Ne.replace("-shadowcsshost","")+Ce,nn=(de,Ne,Ce)=>Ne.indexOf("-shadowcsshost")>-1?Dt(de,Ne,Ce):de+Ne+Ce+", "+Ne+" "+de+Ce,jn=(de,Ne,Ce,Be,Oe)=>oe(de,ke=>{var Ee,ze,Nn,$e=ke.selector,Je=ke.content;return"@"!==ke.selector[0]?(Ee=Ne,ze=Ce,Nn=Be,$e=ke.selector.split(",").map(Ut=>Nn&&Ut.indexOf("."+Nn)>-1?Ut.trim():((de,Ne)=>{return!(Ce=Ne,Ce=Ce.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+Ce+")([>\\s~+[.,{:][\\s\\S]*)?$","m")).test(de);var Ce})(Ut,Ee)?((de,Ne,Ce)=>{for(var Be,Oe="."+(Ne=Ne.replace(/\[is=([^\]]*)\]/g,(un,...Ke)=>Ke[0])),ke=un=>{var Ke=un.trim();if(!Ke)return"";if(un.indexOf("-shadowcsshost-no-combinator")>-1)Ke=((Rr,Vt,dn)=>{if(K.lastIndex=0,K.test(Rr)){var Mo=".".concat(dn);return Rr.replace(Ze,(et,Lr)=>Lr.replace(/([^:]*)(:*)(.*)/,(St,Ki,at,ni)=>Ki+Mo+at+ni)).replace(K,Mo+" ")}return Vt+" "+Rr})(un,Ne,Ce);else{var Gn=un.replace(K,"");if(Gn.length>0){var Cr=Gn.match(/([^:]*)(:*)(.*)/);Cr&&(Ke=Cr[1]+Oe+Cr[2]+Cr[3])}}return Ke},$e=(un=>{var Ke=[],Gn=0;return{content:(un=un.replace(/(\[[^\]]*\])/g,(Cr,Rr)=>{var Vt="__ph-".concat(Gn,"__");return Ke.push(Rr),Gn++,Vt})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(Cr,Rr,Vt)=>{var dn="__ph-".concat(Gn,"__");return Ke.push(Vt),Gn++,Rr+dn}),placeholders:Ke}})(de),Je="",vt=0,Ee=/( |>|\+|~(?!=))\s*/g,ze=!((de=$e.content).indexOf("-shadowcsshost-no-combinator")>-1);null!==(Be=Ee.exec(de));){var Nn=Be[1],Ut=de.slice(vt,Be.index).trim(),kn=(ze=ze||Ut.indexOf("-shadowcsshost-no-combinator")>-1)?ke(Ut):Ut;Je+="".concat(kn," ").concat(Nn," "),vt=Ee.lastIndex}var _n,zt=de.substring(vt);return Je+=(ze=ze||zt.indexOf("-shadowcsshost-no-combinator")>-1)?ke(zt):zt,_n=$e.placeholders,Je.replace(/__ph-(\d+)__/g,(un,Ke)=>_n[+Ke])})(Ut,Ee,ze).trim():Ut.trim()).join(", ")):(ke.selector.startsWith("@media")||ke.selector.startsWith("@supports")||ke.selector.startsWith("@page")||ke.selector.startsWith("@document"))&&(Je=jn(ke.content,Ne,Ce,Be)),{selector:$e.replace(/\s{2,}/g," ").trim(),content:Je}}),cr=(de,Ne,Ce)=>{var Be=Ne+"-h",Oe=Ne+"-s",ke=de.match(Ye)||[];de=de.replace(ln,"");var $e=[];if(Ce){var Je=Ee=>{var ze="/*!@___".concat($e.length,"___*/"),Nn="/*!@".concat(Ee.selector,"*/");return $e.push({placeholder:ze,comment:Nn}),Ee.selector=ze+Ee.selector,Ee};de=oe(de,Ee=>"@"!==Ee.selector[0]?Je(Ee):((Ee.selector.startsWith("@media")||Ee.selector.startsWith("@supports")||Ee.selector.startsWith("@page")||Ee.selector.startsWith("@document"))&&(Ee.content=oe(Ee.content,Je)),Ee))}var vt=((de,Ne,Ce,Be)=>{var $e,ke=(($e,Je)=>{var vt="."+Je+" > ",Ee=[];return $e=$e.replace(Se,(...ze)=>{if(ze[2]){for(var Nn=ze[2].trim(),kn=vt+Nn+ze[3],_n="",zt=ze[4]-1;zt>=0;zt--){var un=ze[5][zt];if("}"===un||","===un)break;_n=un+_n}var Ke=_n+kn,Gn="".concat(_n.trimRight()).concat(kn.trim());if(Ke.trim()!==Gn.trim()){var Cr="".concat(Gn,", ").concat(Ke);Ee.push({orgSelector:Ke,updatedSelector:Cr})}return kn}return"-shadowcsshost-no-combinator"+ze[3]}),{selectors:Ee,cssText:$e}})(de=($e=>Ue($e,xe,nn))(($e=de=de.replace(gt,"-shadowcsscontext").replace(ce,"-shadowcsshost").replace(Ct,"-shadowcssslotted"),de=Ue($e,q,Dt))),Be);return de=($e=>te.reduce((Je,vt)=>Je.replace(vt," "),$e))(de=ke.cssText),Ne&&(de=jn(de,Ne,Ce,Be)),{cssText:(de=(de=de.replace(/-shadowcsshost-no-combinator/g,".".concat(Ce))).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:ke.selectors}})(de,Ne,Be,Oe);return de=[vt.cssText,...ke].join("\n"),Ce&&$e.forEach(({placeholder:Ee,comment:ze})=>{de=de.replace(Ee,ze)}),vt.slottedSelectors.forEach(Ee=>{de=de.replace(Ee.orgSelector,Ee.updatedSelector)}),de}},44:function(en,Pe){var ue;ue=function(){return this}();try{ue=ue||new Function("return this")()}catch{"object"==typeof window&&(ue=window)}en.exports=ue}})}},en=>{en(en.s=270)}]);
|
|
3
|
+
(self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[]).push([[792],{68:(z,V,P)=>{"use strict";function M(e,n){return Object.is(e,n)}let de=null,Pe=!1,Oe=1;const te=Symbol("SIGNAL");function me(e){const n=de;return de=e,n}const Mt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function dn(e){if(Pe)throw new Error("");if(null===de)return;de.consumerOnSignalRead(e);const n=de.nextProducerIndex++;br(de),n<de.producerNode.length&&de.producerNode[n]!==e&&Pn(de)&&Nn(de.producerNode[n],de.producerIndexOfThis[n]),de.producerNode[n]!==e&&(de.producerNode[n]=e,de.producerIndexOfThis[n]=Pn(de)?Zr(e,de,n):0),de.producerLastReadVersion[n]=e.version}function ot(e){if((!Pn(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Oe)){if(!e.producerMustRecompute(e)&&!_n(e))return e.dirty=!1,void(e.lastCleanEpoch=Oe);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Oe}}function qe(e){if(void 0===e.liveConsumerNode)return;const n=Pe;Pe=!0;try{for(const t of e.liveConsumerNode)t.dirty||Se(t)}finally{Pe=n}}function _e(){return!1!==de?.consumerAllowSignalWrites}function Se(e){e.dirty=!0,qe(e),e.consumerMarkedDirty?.(e)}function We(e){return e&&(e.nextProducerIndex=0),me(e)}function tt(e,n){if(me(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Pn(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Nn(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _n(e){br(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(ot(t),r!==t.version))return!0}return!1}function hn(e){if(br(e),Pn(e))for(let n=0;n<e.producerNode.length;n++)Nn(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Zr(e,n,t){if(De(e),0===e.liveConsumerNode.length&&He(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Zr(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Nn(e,n){if(De(e),1===e.liveConsumerNode.length&&He(e))for(let r=0;r<e.producerNode.length;r++)Nn(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];br(i),i.producerIndexOfThis[r]=n}}function Pn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function br(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function De(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function He(e){return void 0!==e.producerNode}const nt=Symbol("UNSET"),Ue=Symbol("COMPUTING"),ze=Symbol("ERRORED"),Ze={...Mt,value:nt,dirty:!0,error:null,equal:M,producerMustRecompute:e=>e.value===nt||e.value===Ue,producerRecomputeValue(e){if(e.value===Ue)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Ue;const t=We(e);let r;try{r=e.computation()}catch(i){r=ze,e.error=i}finally{tt(e,t)}n!==nt&&n!==ze&&r!==ze&&e.equal(n,r)?e.value=n:(e.value=r,e.version++)}};let It=function Xe(){throw new Error};function Re(){It()}let Wt=null;function Rt(e,n){_e()||Re(),e.equal(e.value,n)||(e.value=n,function Zt(e){e.version++,function et(){Oe++}(),qe(e),Wt?.()}(e))}const jn={...Mt,equal:M,value:void 0};const At=()=>{},An={...Mt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:At};function at(e){return"function"==typeof e}function xn(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Lt=xn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Oi(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class ft{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(at(r))try{r()}catch(o){n=o instanceof Lt?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{$t(o)}catch(s){n=n??[],s instanceof Lt?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Lt(n)}}add(n){var t;if(n&&n!==this)if(this.closed)$t(n);else{if(n instanceof ft){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Oi(t,n)}remove(n){const{_finalizers:t}=this;t&&Oi(t,n),n instanceof ft&&n._removeParent(this)}}ft.EMPTY=(()=>{const e=new ft;return e.closed=!0,e})();const gi=ft.EMPTY;function cs(e){return e instanceof ft||e&&"closed"in e&&at(e.remove)&&at(e.add)&&at(e.unsubscribe)}function $t(e){at(e)?e():e.unsubscribe()}const Rr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ft={setTimeout(e,n,...t){const{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Ft;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Us(e){Ft.setTimeout(()=>{const{onUnhandledError:n}=Rr;if(!n)throw e;n(e)})}function Qi(){}const Xr=zs("C",void 0,void 0);function zs(e,n,t){return{kind:e,value:n,error:t}}let Lr=null;function eo(e){if(Rr.useDeprecatedSynchronousErrorHandling){const n=!Lr;if(n&&(Lr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Lr;if(Lr=null,t)throw r}}else e()}class ir extends ft{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,cs(n)&&n.add(this)):this.destination=Fr}static create(n,t,r){return new wr(n,t,r)}next(n){this.isStopped?Ri(function Ca(e){return zs("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ri(function ls(e){return zs("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ri(Xr,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _r=Function.prototype.bind;function Jr(e,n){return _r.call(e,n)}class ou{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){to(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){to(r)}else to(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){to(t)}}}class wr extends ir{constructor(n,t,r){let i;if(super(),at(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Rr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Jr(n.next,o),error:n.error&&Jr(n.error,o),complete:n.complete&&Jr(n.complete,o)}):i=n}this.destination=new ou(i)}}function to(e){Rr.useDeprecatedSynchronousErrorHandling?function Ws(e){Rr.useDeprecatedSynchronousErrorHandling&&Lr&&(Lr.errorThrown=!0,Lr.error=e)}(e):Us(e)}function Ri(e,n){const{onStoppedNotification:t}=Rr;t&&Ft.setTimeout(()=>t(e,n))}const Fr={closed:!0,next:Qi,error:function qs(e){throw e},complete:Qi},no="function"==typeof Symbol&&Symbol.observable||"@@observable";function wn(e){return e}let gt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function vi(e){return e&&e instanceof ir||function rt(e){return e&&at(e.next)&&at(e.error)&&at(e.complete)}(e)&&cs(e)}(t)?t:new wr(t,r,i);return eo(()=>{const{operator:s,source:u}=this;o.add(s?s.call(o,u):u?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=jt(r))((i,o)=>{const s=new wr({next:u=>{try{t(u)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[no](){return this}pipe(...t){return function yi(e){return 0===e.length?wn:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=jt(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function jt(e){var n;return null!==(n=e??Rr.Promise)&&void 0!==n?n:Promise}const Zs=xn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Yt=(()=>{class e extends gt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new or(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Zs}next(t){eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){eo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?gi:(this.currentObservers=null,o.push(t),new ft(()=>{this.currentObservers=null,Oi(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new gt;return t.source=this,t}}return e.create=(n,t)=>new or(n,t),e})();class or extends Yt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:gi}}class bi extends Yt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function qn(e){return n=>{if(function Ys(e){return at(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Cn(e,n,t,r,i){return new Vr(e,n,t,r,i)}class Vr extends ir{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(u){try{t(u)}catch(c){n.error(c)}}:super._next,this._error=i?function(u){try{i(u)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(u){n.error(u)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Kt(e,n){return qn((t,r)=>{let i=0;t.subscribe(Cn(r,o=>{r.next(e.call(n,o,i++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Bh="https://g.co/ng/security#xss";class G extends Error{constructor(n,t){super(function xa(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function Fo(e){return{toString:e}.toString()}const Oa="__annotations__",Vo="__parameters__",Ti="__prop__metadata__";function ic(e,n,t,r,i){return Fo(()=>{const o=du(n);function s(...u){if(this instanceof s)return o.call(this,...u),this;const c=new s(...u);return function(h){return i&&i(h,...u),(h.hasOwnProperty(Oa)?h[Oa]:Object.defineProperty(h,Oa,{value:[]})[Oa]).push(c),r&&r(h),h}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function du(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}function Es(e,n,t){return Fo(()=>{const r=du(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(c,d,h){const m=c.hasOwnProperty(Vo)?c[Vo]:Object.defineProperty(c,Vo,{value:[]})[Vo];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(s),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const zt=globalThis;function xt(e){for(let n in e)if(e[n]===xt)return n;throw Error("Could not find renamed property on target object.")}function Gh(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Rn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Rn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function oc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const wm=xt({__forward_ref__:xt});function yt(e){return e.__forward_ref__=yt,e.toString=function(){return Rn(this())},e}function ke(e){return Ra(e)?e():e}function Ra(e){return"function"==typeof e&&e.hasOwnProperty(wm)&&e.__forward_ref__===yt}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ln(e){return{providers:e.providers||[],imports:e.imports||[]}}function ac(e){return Bl(e,uc)||Bl(e,Gl)}function Bl(e,n){return e.hasOwnProperty(n)?e[n]:null}function La(e){return e&&(e.hasOwnProperty(Hl)||e.hasOwnProperty(Zh))?e[Hl]:null}const uc=xt({\u0275prov:xt}),Hl=xt({\u0275inj:xt}),Gl=xt({ngInjectableDef:xt}),Zh=xt({ngInjectorDef:xt});class ae{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=he({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wl(e){return e&&!!e.\u0275providers}const fu=xt({\u0275cmp:xt}),pu=xt({\u0275dir:xt}),dc=xt({\u0275pipe:xt}),Kh=xt({\u0275mod:xt}),ni=xt({\u0275fac:xt}),Fa=xt({__NG_ELEMENT_ID__:xt}),ql=xt({__NG_ENV_ID__:xt});function ce(e){return"string"==typeof e?e:null==e?"":String(e)}function hc(e,n){throw new G(-201,!1)}var st=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(st||{});let Zl;function mu(){return Zl}function Mr(e){const n=Zl;return Zl=e,n}function Yl(e,n,t){const r=ac(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&st.Optional?null:void 0!==n?n:void hc()}const yu={},Ss="__NG_DI_FLAG__",pc="ngTempTokenPath",xm=/\n/gm,oa="__source";let lo;function vt(e){const n=lo;return lo=e,n}function a(e,n=st.Default){if(void 0===lo)throw new G(-203,!1);return null===lo?Yl(e,void 0,n):lo.get(e,n&st.Optional?null:void 0,n)}function l(e,n=st.Default){return(mu()||a)(ke(e),n)}function p(e,n=st.Default){return l(e,v(n))}function v(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function C(e){const n=[];for(let t=0;t<e.length;t++){const r=ke(e[t]);if(Array.isArray(r)){if(0===r.length)throw new G(900,!1);let i,o=st.Default;for(let s=0;s<r.length;s++){const u=r[s],c=A(u);"number"==typeof c?-1===c?i=u.token:o|=c:i=u}n.push(l(i,o))}else n.push(l(r))}return n}function D(e,n){return e[Ss]=n,e.prototype[Ss]=n,e}function A(e){return e[Ss]}const ge=D(Es("Inject",e=>({token:e})),-1),Bt=D(Es("Optional"),8),En=D(Es("Self"),2),ur=D(Es("SkipSelf"),4),vu=D(Es("Host"),1);function ri(e,n){return e.hasOwnProperty(ni)?e[ni]:null}function mc(e,n){e.forEach(t=>Array.isArray(t)?mc(t,n):n(t))}function s2(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Qh(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ef(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}function $i(e,n,t){let r=gc(e,n);return r>=0?e[1|r]=t:(r=~r,function a2(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Nm(e,n){const t=gc(e,n);if(t>=0)return e[1|t]}function gc(e,n){return function u2(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const Ts={},bt=[],Ms=new ae(""),c2=new ae("",-1),Om=new ae("");class tf{get(n,t=yu){if(t===yu){const r=new Error(`NullInjectorError: No provider for ${Rn(n)}!`);throw r.name="NullInjectorError",r}return t}}var nf=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(nf||{}),jo=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(jo||{}),Va=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Va||{});function $S(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function Rm(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],u=t[r++];e.setAttribute(n,s,u,o)}else{const o=i,s=t[++r];d2(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function l2(e){return 3===e||4===e||6===e}function d2(e){return 64===e.charCodeAt(0)}function Kl(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||h2(e,t,i,null,-1===t||2===t?n[++r]:null)}}return e}function h2(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===n){s=-1;break}if(u>n){s=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===t){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const f2="ng-template";function jS(e,n,t,r){let i=0;if(r){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==$S(n[i+1].toLowerCase(),t,0))return!0}else if(Lm(e))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&"string"==typeof(o=n[i]);)if(o.toLowerCase()===t)return!0}return!1}function Lm(e){return 4===e.type&&e.value!==f2}function BS(e,n,t){return n===(4!==e.type||t?e.value:f2)}function HS(e,n,t){let r=4;const i=e.attrs,o=null!==i?function zS(e){for(let n=0;n<e.length;n++)if(l2(e[n]))return n;return e.length}(i):0;let s=!1;for(let u=0;u<n.length;u++){const c=n[u];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!BS(e,c,t)||""===c&&1===n.length){if(Bo(r))return!1;s=!0}}else if(8&r){if(null===i||!jS(e,i,c,t)){if(Bo(r))return!1;s=!0}}else{const d=n[++u],h=GS(c,i,Lm(e),t);if(-1===h){if(Bo(r))return!1;s=!0;continue}if(""!==d){let m;if(m=h>o?"":i[h+1].toLowerCase(),2&r&&d!==m){if(Bo(r))return!1;s=!0}}}}else{if(!s&&!Bo(r)&&!Bo(c))return!1;if(s&&Bo(c))continue;s=!1,r=c|1&r}}return Bo(r)||s}function Bo(e){return!(1&e)}function GS(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let u=n[++i];for(;"string"==typeof u;)u=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function WS(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function p2(e,n,t=!1){for(let r=0;r<n.length;r++)if(HS(e,n[r],t))return!0;return!1}function qS(e,n){e:for(let t=0;t<n.length;t++){const r=n[t];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function m2(e,n){return e?":not("+n.trim()+")":n}function ZS(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const u=e[++t];i+="["+s+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Bo(s)&&(n+=m2(o,i),i=""),r=s,o=o||!Bo(r);t++}return""!==i&&(n+=m2(o,i)),n}function gn(e){return Fo(()=>{const n=y2(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===nf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jo.Emulated,styles:e.styles||bt,_:null,schemas:e.schemas||null,tView:null,id:""};v2(t);const r=e.dependencies;return t.directiveDefs=rf(r,!1),t.pipeDefs=rf(r,!0),t.id=function e7(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function XS(e){return it(e)||lr(e)}function JS(e){return null!==e}function cr(e){return Fo(()=>({type:e.type,bootstrap:e.bootstrap||bt,declarations:e.declarations||bt,imports:e.imports||bt,exports:e.exports||bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function g2(e,n){if(null==e)return Ts;const t={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,u=Va.None;Array.isArray(i)?(u=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(t[o]=u!==Va.None?[r,u]:r,n[o]=s):t[o]=r}return t}function Fe(e){return Fo(()=>{const n=y2(e);return v2(n),n})}function Jn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function it(e){return e[fu]||null}function lr(e){return e[pu]||null}function Ir(e){return e[dc]||null}function y2(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Ts,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||bt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:g2(e.inputs,n),outputs:g2(e.outputs),debugInfo:null}}function v2(e){e.features?.forEach(n=>n(e))}function rf(e,n){if(!e)return null;const t=n?Ir:XS;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(JS)}function yc(e){return{\u0275providers:e}}function t7(...e){return{\u0275providers:Fm(0,e),\u0275fromNgModule:!0}}function Fm(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return mc(n,s=>{const u=s;sf(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&b2(i,o),t}function b2(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:i}=e[t];Vm(i,o=>{n(o,r)})}}function sf(e,n,t,r){if(!(e=ke(e)))return!1;let i=null,o=La(e);const s=!o&&it(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(o=La(c),!o)return!1;i=c}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const d of c)sf(d,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let d;r.add(i);try{mc(o.imports,h=>{sf(h,n,t,r)&&(d||=[],d.push(h))})}finally{}void 0!==d&&b2(d,n)}if(!u){const d=ri(i)||(()=>new i);n({provide:i,useFactory:d,deps:bt},i),n({provide:Om,useValue:i,multi:!0},i),n({provide:Ms,useValue:()=>l(i),multi:!0},i)}const c=o.providers;if(null!=c&&!u){const d=e;Vm(c,h=>{n(h,d)})}}}return i!==e&&void 0!==e.providers}function Vm(e,n){for(let t of e)Wl(t)&&(t=t.\u0275providers),Array.isArray(t)?Vm(t,n):n(t)}const n7=xt({provide:String,useValue:xt});function $m(e){return null!==e&&"object"==typeof e&&n7 in e}function _u(e){return"function"==typeof e}const jm=new ae(""),af={},i7={};let Bm;function uf(){return void 0===Bm&&(Bm=new tf),Bm}class ho{}class vc extends ho{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gm(n,s=>this.processProvider(s)),this.records.set(c2,bc(void 0,this)),i.has("environment")&&this.records.set(ho,bc(void 0,this));const o=this.records.get(jm);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Om,bt,st.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=me(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),me(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=vt(this),r=Mr(void 0);try{return n()}finally{vt(t),Mr(r)}}get(n,t=yu,r=st.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(ql))return n[ql](this);r=v(r);const o=vt(this),s=Mr(void 0);try{if(!(r&st.SkipSelf)){let c=this.records.get(n);if(void 0===c){const d=function c7(e){return"function"==typeof e||"object"==typeof e&&e instanceof ae}(n)&&ac(n);c=d&&this.injectableDefInScope(d)?bc(Hm(n),af):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&st.Self?uf():this.parent).get(n,t=r&st.Optional&&t===yu?null:t)}catch(u){if("NullInjectorError"===u.name){if((u[pc]=u[pc]||[]).unshift(Rn(n)),o)throw u;return function X(e,n,t,r){const i=e[pc];throw n[oa]&&i.unshift(n[oa]),e.message=function q(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Rn(n);if(Array.isArray(n))i=n.map(Rn).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let u=n[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):Rn(u)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(xm,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[pc]=null,e}(u,n,"R3InjectorError",this.source)}throw u}finally{Mr(s),vt(o)}}resolveInjectorInitializers(){const n=me(null),t=vt(this),r=Mr(void 0);try{const o=this.get(Ms,bt,st.Self);for(const s of o)s()}finally{vt(t),Mr(r),me(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Rn(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new G(205,!1)}processProvider(n){let t=_u(n=ke(n))?n:ke(n&&n.provide);const r=function s7(e){return $m(e)?bc(void 0,e.useValue):bc(C2(e),af)}(n);if(!_u(n)&&!0===n.multi){let i=this.records.get(t);i||(i=bc(void 0,af,!0),i.factory=()=>C(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=me(null);try{return t.value===af&&(t.value=i7,t.value=t.factory()),"object"==typeof t.value&&t.value&&function u7(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{me(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ke(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Hm(e){const n=ac(e),t=null!==n?n.factory:ri(e);if(null!==t)return t;if(e instanceof ae)throw new G(204,!1);if(e instanceof Function)return function o7(e){if(e.length>0)throw new G(204,!1);const t=function qh(e){return e&&(e[uc]||e[Gl])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new G(204,!1)}function C2(e,n,t){let r;if(_u(e)){const i=ke(e);return ri(i)||Hm(i)}if($m(e))r=()=>ke(e.useValue);else if(function w2(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...C(e.deps||[]));else if(function _2(e){return!(!e||!e.useExisting)}(e))r=()=>l(ke(e.useExisting));else{const i=ke(e&&(e.useClass||e.provide));if(!function a7(e){return!!e.deps}(e))return ri(i)||Hm(i);r=()=>new i(...C(e.deps))}return r}function bc(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Gm(e,n){for(const t of e)Array.isArray(t)?Gm(t,n):t&&Wl(t)?Gm(t.\u0275providers,n):n(t)}function E2(){return void 0!==mu()||null!=function Jh(){return lo}()}function dr(e){const n=zt.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const D2={\u0275\u0275defineInjectable:he,\u0275\u0275defineInjector:Ln,\u0275\u0275inject:l,\u0275\u0275invalidFactoryDep:function f(e){throw new G(202,!1)},resolveForwardRef:ke},f7=Function;function Xl(e){return"function"==typeof e}const p7=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,m7=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,g7=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,y7=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class b7{constructor(n){this._reflect=n||zt.Reflect}factory(n){return(...t)=>new n(...t)}_zipTypesAndAnnotations(n,t){let r;r=ef(typeof n>"u"?t.length:n.length);for(let i=0;i<r.length;i++)r[i]=typeof n>"u"?[]:n[i]&&n[i]!=Object?[n[i]]:[],t&&null!=t[i]&&(r[i]=r[i].concat(t[i]));return r}_ownParameters(n,t){if(function v7(e){return p7.test(e)||y7.test(e)||m7.test(e)&&!g7.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==t.parameters)return n.parameters;const i=n.ctorParameters;if(i&&i!==t.ctorParameters){const u="function"==typeof i?i():i,c=u.map(h=>h&&h.type),d=u.map(h=>h&&zm(h.decorators));return this._zipTypesAndAnnotations(c,d)}const o=n.hasOwnProperty(Vo)&&n[Vo],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return s||o?this._zipTypesAndAnnotations(s,o):ef(n.length)}parameters(n){if(!Xl(n))return[];const t=cf(n);let r=this._ownParameters(n,t);return!r&&t!==Object&&(r=this.parameters(t)),r||[]}_ownAnnotations(n,t){if(n.annotations&&n.annotations!==t.annotations){let r=n.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return n.decorators&&n.decorators!==t.decorators?zm(n.decorators):n.hasOwnProperty(Oa)?n[Oa]:null}annotations(n){if(!Xl(n))return[];const t=cf(n),r=this._ownAnnotations(n,t)||[];return(t!==Object?this.annotations(t):[]).concat(r)}_ownPropMetadata(n,t){if(n.propMetadata&&n.propMetadata!==t.propMetadata){let r=n.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(n.propDecorators&&n.propDecorators!==t.propDecorators){const r=n.propDecorators,i={};return Object.keys(r).forEach(o=>{i[o]=zm(r[o])}),i}return n.hasOwnProperty(Ti)?n[Ti]:null}propMetadata(n){if(!Xl(n))return{};const t=cf(n),r={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(s=>{r[s]=o[s]})}const i=this._ownPropMetadata(n,t);return i&&Object.keys(i).forEach(o=>{const s=[];r.hasOwnProperty(o)&&s.push(...r[o]),s.push(...i[o]),r[o]=s}),r}ownPropMetadata(n){return Xl(n)&&this._ownPropMetadata(n,cf(n))||{}}hasLifecycleHook(n,t){return n instanceof f7&&t in n.prototype}}function zm(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function cf(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}const Dn=0,ie=1,Ae=2,Qn=3,Ho=4,Pr=5,ii=6,wc=7,rn=8,er=9,Is=10,Ve=11,Jl=12,S2=13,Cc=14,Sn=15,wu=16,Ec=17,sa=18,Dc=19,T2=20,$a=21,lf=22,fo=23,we=25,Wm=1,Ps=7,Sc=9,Bn=10;var hf=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(hf||{});function hr(e){return Array.isArray(e)&&"object"==typeof e[Wm]}function Gr(e){return Array.isArray(e)&&!0===e[Wm]}function qm(e){return!!(4&e.flags)}function Cu(e){return e.componentOffset>-1}function ff(e){return!(1&~e.flags)}function Go(e){return!!e.template}function ed(e){return!!(512&e[Ae])}class x2{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function k2(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function Uo(){return N2}function N2(e){return e.type.prototype.ngOnChanges&&(e.setInput=E7),C7}function C7(){const e=R2(this),n=e?.current;if(n){const t=e.previous;if(t===Ts)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function E7(e,n,t,r,i){const o=this.declaredInputs[r],s=R2(e)||function D7(e,n){return e[O2]=n}(e,{previous:Ts,current:null}),u=s.current||(s.current={}),c=s.previous,d=c[o];u[o]=new x2(d&&d.currentValue,t,c===Ts),k2(e,n,i,t)}Uo.ngInherit=!0;const O2="__ngSimpleChanges__";function R2(e){return e[O2]||null}const As=function(e,n,t){};function _t(e){for(;Array.isArray(e);)e=e[Dn];return e}function td(e,n){return _t(n[e])}function oi(e,n){return _t(n[e.index])}function nd(e,n){return e.data[n]}function Eu(e,n){return e[n]}function ji(e,n){const t=n[e];return hr(t)?t:t[Dn]}function Jm(e){return!(128&~e[Ae])}function po(e,n){return null==n?null:e[n]}function V2(e){e[Ec]=0}function $2(e){1024&e[Ae]||(e[Ae]|=1024,Jm(e)&&mf(e))}function pf(e){return!!(9216&e[Ae]||e[fo]?.dirty)}function Qm(e){e[Is].changeDetectionScheduler?.notify(8),64&e[Ae]&&(e[Ae]|=1024),pf(e)&&mf(e)}function mf(e){e[Is].changeDetectionScheduler?.notify(0);let n=aa(e);for(;null!==n&&!(8192&n[Ae])&&(n[Ae]|=8192,Jm(n));)n=aa(n)}function gf(e,n){if(!(256&~e[Ae]))throw new G(911,!1);null===e[$a]&&(e[$a]=[]),e[$a].push(n)}function aa(e){const n=e[Qn];return Gr(n)?n[Qn]:n}const $e={lFrame:J2(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let B2=!1;function H2(){return $e.bindingsEnabled}function Du(){return null!==$e.skipHydrationRootTNode}function U(){return $e.lFrame.lView}function Qe(){return $e.lFrame.tView}function wt(e){return $e.lFrame.contextLView=e,e[rn]}function Ct(e){return $e.lFrame.contextLView=null,e}function Ht(){let e=G2();for(;null!==e&&64===e.type;)e=e.parent;return e}function G2(){return $e.lFrame.currentTNode}function zo(e,n){const t=$e.lFrame;t.currentTNode=e,t.isParent=n}function ng(){return $e.lFrame.isParent}function rg(){$e.lFrame.isParent=!1}function U2(){return $e.lFrame.contextLView}function W2(){return B2}function q2(e){B2=e}function si(){const e=$e.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Wo(){return $e.lFrame.bindingIndex++}function ca(e){const n=$e.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function V7(e,n){const t=$e.lFrame;t.bindingIndex=t.bindingRootIndex=e,ig(n)}function ig(e){$e.lFrame.currentDirectiveIndex=e}function og(e){const n=$e.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function vf(e){$e.lFrame.currentQueryIndex=e}function j7(e){const n=e[ie];return 2===n.type?n.declTNode:1===n.type?e[Pr]:null}function K2(e,n,t){if(t&st.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&st.Host||(i=j7(o),null===i||(o=o[Cc],10&i.type))););if(null===i)return!1;n=i,e=o}const r=$e.lFrame=X2();return r.currentTNode=n,r.lView=e,!0}function ag(e){const n=X2(),t=e[ie];$e.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function X2(){const e=$e.lFrame,n=null===e?null:e.child;return null===n?J2(e):n}function J2(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Q2(){const e=$e.lFrame;return $e.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const eb=Q2;function ug(){const e=Q2();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ar(){return $e.lFrame.selectedIndex}function Su(e){$e.lFrame.selectedIndex=e}function on(){const e=$e.lFrame;return nd(e.tView,e.selectedIndex)}let nb=!0;function id(){return nb}function xs(e){nb=e}function bf(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:u,ngAfterViewInit:c,ngAfterViewChecked:d,ngOnDestroy:h}=o;s&&(e.contentHooks??=[]).push(-t,s),u&&((e.contentHooks??=[]).push(t,u),(e.contentCheckHooks??=[]).push(t,u)),c&&(e.viewHooks??=[]).push(-t,c),d&&((e.viewHooks??=[]).push(t,d),(e.viewCheckHooks??=[]).push(t,d)),null!=h&&(e.destroyHooks??=[]).push(t,h)}}function _f(e,n,t){rb(e,n,3,t)}function wf(e,n,t,r){(3&e[Ae])===t&&rb(e,n,t,r)}function cg(e,n){let t=e[Ae];(3&t)===n&&(t&=16383,t+=1,e[Ae]=t)}function rb(e,n,t,r){const o=r??-1,s=n.length-1;let u=0;for(let c=void 0!==r?65535&e[Ec]:0;c<s;c++)if("number"==typeof n[c+1]){if(u=n[c],null!=r&&u>=r)break}else n[c]<0&&(e[Ec]+=65536),(u<o||-1==o)&&(q7(e,t,n,c),e[Ec]=(4294901760&e[Ec])+c+2),c++}function ib(e,n){As(4,e,n);const t=me(null);try{n.call(e)}finally{me(t),As(5,e,n)}}function q7(e,n,t,r){const i=t[r]<0,o=t[r+1],u=e[i?-t[r]:t[r]];i?e[Ae]>>14<e[Ec]>>16&&(3&e[Ae])===n&&(e[Ae]+=16384,ib(u,o)):ib(u,o)}const Tc=-1;class od{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}const dg={};class Tu{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=v(r);const i=this.injector.get(n,dg,r);return i!==dg||t===dg?i:this.parentInjector.get(n,t,r)}}function hg(e){return e!==Tc}function sd(e){return 32767&e}function ad(e,n){let t=function X7(e){return e>>16}(e),r=n;for(;t>0;)r=r[Cc],t--;return r}let fg=!0;function Cf(e){const n=fg;return fg=e,n}const sb=255,ab=5;let Q7=0;const ks={};function Ef(e,n){const t=ub(e,n);if(-1!==t)return t;const r=n[ie];r.firstCreatePass&&(e.injectorIndex=n.length,pg(r.data,e),pg(n,null),pg(r.blueprint,null));const i=Df(e,n),o=e.injectorIndex;if(hg(i)){const s=sd(i),u=ad(i,n),c=u[ie].data;for(let d=0;d<8;d++)n[o+d]=u[s+d]|c[s+d]}return n[o+8]=i,o}function pg(e,n){e.push(0,0,0,0,0,0,0,0,n)}function ub(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Df(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=mb(i),null===r)return Tc;if(t++,i=i[Cc],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Tc}function mg(e,n,t){!function eT(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Fa)&&(r=t[Fa]),null==r&&(r=t[Fa]=Q7++);const i=r&sb;n.data[e+(i>>ab)]|=1<<i}(e,n,t)}function cb(e,n,t){if(t&st.Optional||void 0!==e)return e;hc()}function lb(e,n,t,r){if(t&st.Optional&&void 0===r&&(r=null),!(t&(st.Self|st.Host))){const i=e[er],o=Mr(void 0);try{return i?i.get(n,r,t&st.Optional):Yl(n,r,t&st.Optional)}finally{Mr(o)}}return cb(r,0,t)}function db(e,n,t,r=st.Default,i){if(null!==e){if(2048&n[Ae]&&!(r&st.Self)){const s=function oT(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[Ae]&&!(512&s[Ae]);){const u=hb(o,s,t,r|st.Self,ks);if(u!==ks)return u;let c=o.parent;if(!c){const d=s[T2];if(d){const h=d.get(t,ks,r);if(h!==ks)return h}c=mb(s),s=s[Cc]}o=c}return i}(e,n,t,r,ks);if(s!==ks)return s}const o=hb(e,n,t,r,ks);if(o!==ks)return o}return lb(n,t,r,i)}function hb(e,n,t,r,i){const o=function rT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Fa)?e[Fa]:void 0;return"number"==typeof n?n>=0?n&sb:iT:n}(t);if("function"==typeof o){if(!K2(n,e,r))return r&st.Host?cb(i,0,r):lb(n,t,r,i);try{let s;if(s=o(r),null!=s||r&st.Optional)return s;hc()}finally{eb()}}else if("number"==typeof o){let s=null,u=ub(e,n),c=Tc,d=r&st.Host?n[Sn][Pr]:null;for((-1===u||r&st.SkipSelf)&&(c=-1===u?Df(e,n):n[u+8],c!==Tc&&pb(r,!1)?(s=n[ie],u=sd(c),n=ad(c,n)):u=-1);-1!==u;){const h=n[ie];if(fb(o,u,h.data)){const m=nT(u,n,t,s,r,d);if(m!==ks)return m}c=n[u+8],c!==Tc&&pb(r,n[ie].data[u+8]===d)&&fb(o,u,n)?(s=h,u=sd(c),n=ad(c,n)):u=-1}}return i}function nT(e,n,t,r,i,o){const s=n[ie],u=s.data[e+8],h=function Sf(e,n,t,r,i){const o=e.providerIndexes,s=n.data,u=1048575&o,c=e.directiveStart,h=o>>20,g=i?u+h:e.directiveEnd;for(let y=r?u:u+h;y<g;y++){const _=s[y];if(y<c&&t===_||y>=c&&_.type===t)return y}if(i){const y=s[c];if(y&&Go(y)&&y.type===t)return c}return null}(u,s,t,null==r?Cu(u)&&fg:r!=s&&!!(3&u.type),i&st.Host&&o===u);return null!==h?Mu(n,s,h,u):ks}function Mu(e,n,t,r){let i=e[t];const o=n.data;if(function Z7(e){return e instanceof od}(i)){const s=i;s.resolving&&function ar(e,n){throw n&&n.join(" > "),new G(-200,e)}(function dt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ce(e)}(o[t]));const u=Cf(s.canSeeViewProviders);s.resolving=!0;const d=s.injectImpl?Mr(s.injectImpl):null;K2(e,r,st.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function W7(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=N2(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==d&&Mr(d),Cf(u),s.resolving=!1,eb()}}return i}function fb(e,n,t){return!!(t[n+(e>>ab)]&1<<e)}function pb(e,n){return!(e&st.Self||e&st.Host&&n)}class fr{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return db(this._tNode,this._lView,n,v(r),t)}}function iT(){return new fr(Ht(),U())}function xr(e){return Fo(()=>{const n=e.prototype.constructor,t=n[ni]||gg(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ni]||gg(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function gg(e){return Ra(e)?()=>{const n=gg(ke(e));return n&&n()}:ri(e)}function mb(e){const n=e[ie],t=n.type;return 2===t?n.declTNode:1===t?e[Pr]:null}const sT=Es("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>function Tf(e){return function tT(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(l2(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(Ht(),e)}(e)}));let gb=null;function Mf(e){return yb(function yg(){return gb=gb||new b7}().parameters(e))}function yb(e){return e.map(n=>function aT(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let t=0;t<e.length;t++){const r=e[t];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof Bt||"Optional"===i.ngMetadataName)n.optional=!0;else if(r instanceof ur||"SkipSelf"===i.ngMetadataName)n.skipSelf=!0;else if(r instanceof En||"Self"===i.ngMetadataName)n.self=!0;else if(r instanceof vu||"Host"===i.ngMetadataName)n.host=!0;else if(r instanceof ge)n.token=r.token;else if(r instanceof sT){if(void 0===r.attributeName)throw new G(204,!1);n.attribute=r.attributeName}else n.token=r}else n.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return n}(n))}const cT=xt({provide:String,useValue:xt});function vb(e){return void 0!==e.useClass}function bb(e){return void 0!==e.useFactory}const fT=ic("Injectable",void 0,void 0,void 0,(e,n)=>function uT(e,n){let t=null,r=null;e.hasOwnProperty(uc)||Object.defineProperty(e,uc,{get:()=>(null===t&&(t=dr().compileInjectable(D2,`ng:///${e.name}/\u0275prov.js`,function hT(e,n){const t=n||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:t.providedIn};return(vb(t)||bb(t))&&void 0!==t.deps&&(r.deps=yb(t.deps)),vb(t)?r.useClass=t.useClass:function lT(e){return cT in e}(t)?r.useValue=t.useValue:bb(t)?r.useFactory=t.useFactory:function dT(e){return void 0!==e.useExisting}(t)&&(r.useExisting=t.useExisting),r}(e,n))),t)}),e.hasOwnProperty(ni)||Object.defineProperty(e,ni,{get:()=>{if(null===r){const i=dr();r=i.compileFactory(D2,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Mf(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,n));function _b(e,n=null,t=null,r){const i=wb(e,n,t,r);return i.resolveInjectorInitializers(),i}function wb(e,n=null,t=null,r,i=new Set){const o=[t||bt,t7(e)];return r=r||("object"==typeof e?void 0:Rn(e)),new vc(o,n||uf(),r||null,i)}class Jt{static#e=this.THROW_IF_NOT_FOUND=yu;static#t=this.NULL=new tf;static create(n,t){if(Array.isArray(n))return _b({name:""},t,n,"");{const r=n.name??"";return _b({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=he({token:Jt,providedIn:"any",factory:()=>l(c2)});static#r=this.__NG_ELEMENT_ID__=-1}new ae("").__NG_ELEMENT_ID__=e=>{const n=Ht();if(null===n)throw new G(204,!1);if(2&n.type)return n.value;if(e&st.Optional)return null;throw new G(204,!1)};function vg(e){return e.ngOriginalError}const Eb=!0;let ud=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=gT;static#t=this.__NG_ENV_ID__=t=>t}return e})();class mT extends ud{constructor(n){super(),this._lView=n}onDestroy(n){return gf(this._lView,n),()=>function eg(e,n){if(null===e[$a])return;const t=e[$a].indexOf(n);-1!==t&&e[$a].splice(t,1)}(this._lView,n)}}function gT(){return new mT(U())}let Iu=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bi(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();const yn=class yT extends Yt{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,E2()&&(this.destroyRef=p(ud,{optional:!0})??void 0,this.pendingTasks=p(Iu,{optional:!0})??void 0)}emit(n){const t=me(null);try{super.next(n)}finally{me(t)}}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const u=super.subscribe({next:i,error:o,complete:s});return n instanceof ft&&n.add(u),u}wrapInTimeout(n){return t=>{const r=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==r&&this.pendingTasks?.remove(r)})}}};function If(...e){}function Db(e){let n,t;function r(){e=If;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Sb(e){return queueMicrotask(()=>e()),()=>{e=If}}const bg="isAngularZone",Pf=bg+"_ID";let vT=0;class Et{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new yn(!1),this.onMicrotaskEmpty=new yn(!1),this.onStable=new yn(!1),this.onError=new yn(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Eb}=n;if(typeof Zone>"u")throw new G(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function wT(e){const n=()=>{!function _T(e){function n(){Db(()=>{e.callbackScheduled=!1,wg(e),e.isCheckStableRunning=!0,_g(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),wg(e))}(e)},t=vT++;e._inner=e._inner.fork({name:"angular",properties:{[bg]:!0,[Pf]:t,[Pf+t]:!0},onInvokeTask:(r,i,o,s,u,c)=>{if(function CT(e){return Ib(e,"__ignore_ng_zone__")}(c))return r.invokeTask(o,s,u,c);try{return Tb(e),r.invokeTask(o,s,u,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),Mb(e)}},onInvoke:(r,i,o,s,u,c,d)=>{try{return Tb(e),r.invoke(o,s,u,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function ET(e){return Ib(e,"__scheduler_tick__")}(c)&&n(),Mb(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wg(e),_g(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(bg)}static assertInAngularZone(){if(!Et.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(Et.isInAngularZone())throw new G(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,bT,If,If);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const bT={};function _g(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wg(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Tb(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mb(e){e._nesting--,_g(e)}class Cg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yn,this.onMicrotaskEmpty=new yn,this.onStable=new yn,this.onError=new yn}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}function Ib(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class Ns{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&vg(n);for(;t&&vg(t);)t=vg(t);return t||null}}const ST=new ae("",{providedIn:"root",factory:()=>{const e=p(Et),n=p(Ns);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function TT(){return Pc(Ht(),U())}function Pc(e,n){return new Pi(oi(e,n))}let Pi=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=TT}return e})();function ld(e){return!(128&~e.flags)}Symbol;const Sg=new Map;let PT=0;function Tg(e){Sg.delete(e[Dc])}const Af="__ngContext__";function Ur(e,n){hr(n)?(e[Af]=n[Dc],function xT(e){Sg.set(e[Dc],e)}(n)):e[Af]=n}function jb(e){return Hb(e[Jl])}function Bb(e){return Hb(e[Ho])}function Hb(e){for(;null!==e&&!Gr(e);)e=e[Ho];return e}let Ig;function ja(){if(void 0!==Ig)return Ig;if(typeof document<"u")return document;throw new G(210,!1)}const xc=new ae("",{providedIn:"root",factory:()=>ZT}),ZT="ng",Kb=new ae(""),Ba=new ae("",{providedIn:"platform",factory:()=>"unknown"}),Xb=new ae(""),Jb=new ae("",{providedIn:"root",factory:()=>ja().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qb=()=>null;function Rg(e,n,t=!1){return Qb(e,n,t)}const a3=new ae("",{providedIn:"root",factory:()=>!1});let $f,jf;function Oc(e){return function jg(){if(void 0===$f&&($f=null,zt.trustedTypes))try{$f=zt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $f}()?.createHTML(e)||e}function l3(e){return function Bg(){if(void 0===jf&&(jf=null,zt.trustedTypes))try{jf=zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jf}()?.createHTML(e)||e}class Au{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bh})`}}class uM extends Au{getTypeName(){return"HTML"}}class cM extends Au{getTypeName(){return"Style"}}class lM extends Au{getTypeName(){return"Script"}}class dM extends Au{getTypeName(){return"URL"}}class hM extends Au{getTypeName(){return"ResourceURL"}}function Bi(e){return e instanceof Au?e.changingThisBreaksApplicationSecurity:e}function Os(e,n){const t=function fM(e){return e instanceof Au&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Bh})`)}return t===n}class bM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Oc(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class _M{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Oc(n),t}}const CM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Bf(e){return(e=String(e)).match(CM)?e:"unsafe:"+e}function la(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function yd(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const p3=la("area,br,col,hr,img,wbr"),m3=la("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g3=la("rp,rt"),Hg=yd(p3,yd(m3,la("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yd(g3,la("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yd(g3,m3)),Gg=la("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),y3=yd(Gg,la("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),la("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),EM=la("script,style,template");class DM{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)i.push(t),t=MM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=TM(t);if(o){t=o;break}t=i.pop()}return this.buf.join("")}startElement(n){const t=v3(n).toLowerCase();if(!Hg.hasOwnProperty(t))return this.sanitizedSomething=!0,!EM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,u=s.toLowerCase();if(!y3.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let c=o.value;Gg[u]&&(c=Bf(c)),this.buf.push(" ",s,'="',_3(c),'"')}return this.buf.push(">"),!0}endElement(n){const t=v3(n).toLowerCase();Hg.hasOwnProperty(t)&&!p3.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(_3(n))}}function TM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw b3(n);return n}function MM(e){const n=e.firstChild;if(n&&function SM(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw b3(n);return n}function v3(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function b3(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const IM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,PM=/([^\#-~ |!])/g;function _3(e){return e.replace(/&/g,"&").replace(IM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(PM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Hf;function w3(e,n){let t=null;try{Hf=Hf||function f3(e){const n=new _M(e);return function wM(){try{return!!(new window.DOMParser).parseFromString(Oc(""),"text/html")}catch{return!1}}()?new bM(n):n}(e);let r=n?String(n):"";t=Hf.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=Hf.getInertBodyElement(r)}while(r!==o);return Oc((new DM).sanitizeChildren(Ug(t)||t))}finally{if(t){const r=Ug(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Ug(e){return"content"in e&&function AM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Hi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Hi||{});function Ha(e){const n=bd();return n?l3(n.sanitize(Hi.HTML,e)||""):Os(e,"HTML")?l3(Bi(e)):w3(ja(),ce(e))}function vd(e){const n=bd();return n?n.sanitize(Hi.URL,e)||"":Os(e,"URL")?Bi(e):Bf(ce(e))}function bd(){const e=U();return e&&e[Is].sanitizer}const FM=/^>|^->|<!--|-->|--!>|<!-$/g,VM=/(<|>)/g,$M="\u200b$1\u200b";function M3(e){return e.ownerDocument}var Ga=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ga||{});let qg;function Zg(e,n){return qg(e,n)}function Lc(e,n,t,r,i){if(null!=r){let o,s=!1;Gr(r)?o=r:hr(r)&&(s=!0,r=r[Dn]);const u=_t(r);0===e&&null!==t?null==i?L3(n,t,u):xu(n,t,u,i||null,!0):1===e&&null!==t?xu(n,t,u,i||null,!0):2===e?function wd(e,n,t){e.removeChild(null,n,t)}(n,u,s):3===e&&n.destroyNode(u),null!=o&&function iI(e,n,t,r,i){const o=t[Ps];o!==_t(t)&&Lc(n,e,r,o,i);for(let u=Bn;u<t.length;u++){const c=t[u];Zf(c[ie],c,e,n,r,o)}}(n,e,o,t,i)}}function Kg(e,n){return e.createComment(function E3(e){return e.replace(FM,n=>n.replace(VM,$M))}(n))}function zf(e,n,t){return e.createElement(n,t)}function N3(e,n){n[Is].changeDetectionScheduler?.notify(9),Zf(e,n,n[Ve],2,null,null)}function O3(e,n){const t=e[Sc],r=n[Qn];(hr(r)||n[Sn]!==r[Qn][Sn])&&(e[Ae]|=hf.HasTransplantedViews),null===t?e[Sc]=[n]:t.push(n)}function Xg(e,n){const t=e[Sc],r=t.indexOf(n);t.splice(r,1)}function _d(e,n){if(e.length<=Bn)return;const t=Bn+n,r=e[t];if(r){const i=r[wu];null!==i&&i!==e&&Xg(i,r),n>0&&(e[t-1][Ho]=r[Ho]);const o=Qh(e,Bn+n);!function KM(e,n){N3(e,n),n[Dn]=null,n[Pr]=null}(r[ie],r);const s=o[sa];null!==s&&s.detachView(o[ie]),r[Qn]=null,r[Ho]=null,r[Ae]&=-129}return r}function Wf(e,n){if(!(256&n[Ae])){const t=n[Ve];t.destroyNode&&Zf(e,n,t,3,null,null),function JM(e){let n=e[Jl];if(!n)return Jg(e[ie],e);for(;n;){let t=null;if(hr(n))t=n[Jl];else{const r=n[Bn];r&&(t=r)}if(!t){for(;n&&!n[Ho]&&n!==e;)hr(n)&&Jg(n[ie],n),n=n[Qn];null===n&&(n=e),hr(n)&&Jg(n[ie],n),t=n&&n[Ho]}n=t}}(n)}}function Jg(e,n){if(256&n[Ae])return;const t=me(null);try{n[Ae]&=-129,n[Ae]|=256,n[fo]&&hn(n[fo]),function tI(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof od)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const u=i[o[s]],c=o[s+1];As(4,u,c);try{c.call(u)}finally{As(5,u,c)}}else{As(4,i,o);try{o.call(i)}finally{As(5,i,o)}}}}}(e,n),function eI(e,n){const t=e.cleanup,r=n[wc];if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[wc]=null);const i=n[$a];if(null!==i){n[$a]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,n),1===n[ie].type&&n[Ve].destroy();const r=n[wu];if(null!==r&&Gr(n[Qn])){r!==n[Qn]&&Xg(r,n);const i=n[sa];null!==i&&i.detachView(e)}Tg(n)}finally{me(t)}}function Qg(e,n,t){return function R3(e,n,t){let r=n;for(;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[Dn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===jo.None||o===jo.Emulated)return null}return oi(r,t)}}(e,n.parent,t)}function xu(e,n,t,r,i){e.insertBefore(n,t,r,i)}function L3(e,n,t){e.appendChild(n,t)}function F3(e,n,t,r,i){null!==r?xu(e,n,t,r,i):L3(e,n,t)}function e1(e,n){return e.parentNode(n)}function V3(e,n,t){return j3(e,n,t)}let t1,j3=function $3(e,n,t){return 40&e.type?oi(e,t):null};function qf(e,n,t,r){const i=Qg(e,r,n),o=n[Ve],u=V3(r.parent||n[Pr],r,n);if(null!=i)if(Array.isArray(t))for(let c=0;c<t.length;c++)F3(o,i,t[c],u,!1);else F3(o,i,t,u,!1);void 0!==t1&&t1(o,r,n,t,i)}function ku(e,n){if(null!==n){const t=n.type;if(3&t)return oi(n,e);if(4&t)return n1(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return ku(e,r);{const i=e[n.index];return Gr(i)?n1(-1,i):_t(i)}}if(128&t)return ku(e,n.next);if(32&t)return Zg(n,e)()||_t(e[n.index]);{const r=H3(e,n);return null!==r?Array.isArray(r)?r[0]:ku(aa(e[Sn]),r):ku(e,n.next)}}return null}function H3(e,n){return null!==n?e[Sn][Pr].projection[n.projection]:null}function n1(e,n){const t=Bn+e+1;if(t<n.length){const r=n[t],i=r[ie].firstChild;if(null!==i)return ku(r,i)}return n[Ps]}function r1(e,n,t,r,i,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const u=r[t.index],c=t.type;if(s&&0===n&&(u&&Ur(_t(u),r),t.flags|=2),32&~t.flags)if(8&c)r1(e,n,t.child,r,i,o,!1),Lc(n,e,i,u,o);else if(32&c){const d=Zg(t,r);let h;for(;h=d();)Lc(n,e,i,h,o);Lc(n,e,i,u,o)}else 16&c?U3(e,n,r,t,i,o):Lc(n,e,i,u,o);t=s?t.projectionNext:t.next}}function Zf(e,n,t,r,i,o){r1(t,r,e.firstChild,n,i,o,!1)}function U3(e,n,t,r,i,o){const s=t[Sn],c=s[Pr].projection[r.projection];if(Array.isArray(c))for(let d=0;d<c.length;d++)Lc(n,e,i,c[d],o);else{let d=c;const h=s[Qn];ld(r)&&(d.flags|=128),r1(e,n,d,h,i,o,!0)}}function z3(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function W3(e,n,t){const{mergedAttrs:r,classes:i,styles:o}=t;null!==r&&Rm(e,n,r),null!==i&&z3(e,n,i),null!==o&&function sI(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}const Ge={};function W(e=1){q3(Qe(),U(),Ar()+e,!1)}function q3(e,n,t,r){if(!r)if(3&~n[Ae]){const o=e.preOrderHooks;null!==o&&wf(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&_f(n,o,t)}Su(t)}function j(e,n=st.Default){const t=U();return null===t?l(e,n):db(Ht(),t,ke(e),n)}function Z3(e,n,t,r,i,o){const s=me(null);try{let u=null;i&Va.SignalBased&&(u=n[r][te]),null!==u&&void 0!==u.transformFn&&(o=u.transformFn(o)),i&Va.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(n,o)),null!==e.setInput?e.setInput(n,u,o,t,r):k2(n,u,r,o)}finally{me(s)}}function Yf(e,n,t,r,i,o,s,u,c,d,h){const m=n.blueprint.slice();return m[Dn]=i,m[Ae]=204|r,(null!==d||e&&2048&e[Ae])&&(m[Ae]|=2048),V2(m),m[Qn]=m[Cc]=e,m[rn]=t,m[Is]=s||e&&e[Is],m[Ve]=u||e&&e[Ve],m[er]=c||e&&e[er]||null,m[Pr]=o,m[Dc]=function AT(){return PT++}(),m[ii]=h,m[T2]=d,m[Sn]=2==n.type?e[Sn]:m,m}function Nu(e,n,t,r,i){let o=e.data[n];if(null===o)o=function i1(e,n,t,r,i){const o=G2(),s=ng(),c=e.data[n]=function mI(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,u=0;return Du()&&(u|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,n,t,r,i),function F7(){return $e.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function rd(){const e=$e.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return zo(o,!0),o}function Cd(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function Y3(e,n,t,r,i){const o=Ar(),s=2&r;try{Su(-1),s&&n.length>we&&q3(e,n,we,!1),As(s?2:0,i),t(r,i)}finally{Su(o),As(s?3:1,i)}}function o1(e,n,t){if(qm(n)){const r=me(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const u=e.data[s];u.contentQueries&&u.contentQueries(1,t[s],s)}}finally{me(r)}}}function s1(e,n,t){H2()&&(function CI(e,n,t,r){const i=t.directiveStart,o=t.directiveEnd;Cu(t)&&function PI(e,n,t){const r=oi(n,e),i=K3(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const u=Kf(e,Yf(e,i,null,s,r,n,null,e[Is].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=u}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||Ef(t,n),Ur(r,n);const s=t.initialInputs;for(let u=i;u<o;u++){const c=e.data[u],d=Mu(n,e,u,t);Ur(d,n),null!==s&&AI(0,u-i,d,c,0,s),Go(c)&&(ji(t.index,n)[rn]=Mu(n,e,u,t))}}(e,n,t,oi(t,n)),!(64&~t.flags)&&t_(e,n,t))}function a1(e,n,t=oi){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],u=-1===s?t(n,e):e[s];e[i++]=u}}}function K3(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=u1(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function u1(e,n,t,r,i,o,s,u,c,d,h){const m=we+r,g=m+i,y=function cI(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ge);return t}(m,g),_="function"==typeof d?d():d;return y[ie]={type:e,blueprint:y,template:t,queries:null,viewQuery:u,declTNode:n,data:y.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:g,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:_,incompleteFirstPass:!1,ssrId:h}}let X3=()=>null;function J3(e,n,t,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;r??={};let u,c=Va.None;Array.isArray(s)?(u=s[0],c=s[1]):u=s;let d=o;if(null!==i){if(!i.hasOwnProperty(o))continue;d=i[o]}0===e?Q3(r,t,d,u,c):Q3(r,t,d,u)}return r}function Q3(e,n,t,r,i){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,r):o=e[t]=[n,r],void 0!==i&&o.push(i)}function xi(e,n,t,r,i,o,s,u){const c=oi(n,t);let h,d=n.inputs;!u&&null!=d&&(h=d[r])?(f1(e,t,h,r,i),Cu(n)&&function vI(e,n){const t=ji(n,e);16&t[Ae]||(t[Ae]|=64)}(t,n.index)):3&n.type&&(r=function yI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(c,r,i))}function c1(e,n,t,r){if(H2()){const i=null===r?null:{"":-1},o=function DI(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(p2(n,s.selectors,!1))if(r||(r=[]),Go(s))if(null!==s.findHostDirectiveDefs){const u=[];i=i||new Map,s.findHostDirectiveDefs(s,u,i),r.unshift(...u,s),l1(e,n,u.length)}else r.unshift(s),l1(e,n,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,t);let s,u;null===o?s=u=null:[s,u]=o,null!==s&&e_(e,n,t,s,i,u),i&&function SI(e,n,t){if(n){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new G(-301,!1);r.push(n[i],o)}}}(t,r,i)}t.mergedAttrs=Kl(t.mergedAttrs,t.attrs)}function e_(e,n,t,r,i,o){for(let d=0;d<r.length;d++)mg(Ef(t,n),e,r[d].type);!function MI(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(let d=0;d<r.length;d++){const h=r[d];h.providersResolver&&h.providersResolver(h)}let s=!1,u=!1,c=Cd(e,n,r.length,null);for(let d=0;d<r.length;d++){const h=r[d];t.mergedAttrs=Kl(t.mergedAttrs,h.hostAttrs),II(e,t,n,c,h),TI(c,h,i),null!==h.contentQueries&&(t.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(t.flags|=64);const m=h.type.prototype;!s&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),c++}!function gI(e,n,t){const i=n.directiveEnd,o=e.data,s=n.attrs,u=[];let c=null,d=null;for(let h=n.directiveStart;h<i;h++){const m=o[h],g=t?t.get(m):null,_=g?g.outputs:null;c=J3(0,m.inputs,h,c,g?g.inputs:null),d=J3(1,m.outputs,h,d,_);const S=null===c||null===s||Lm(n)?null:xI(c,h,s);u.push(S)}null!==c&&(c.hasOwnProperty("class")&&(n.flags|=8),c.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=u,n.inputs=c,n.outputs=d}(e,t,o)}function t_(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function $7(){return $e.lFrame.currentDirectiveIndex}();try{Su(o);for(let u=r;u<i;u++){const c=e.data[u],d=n[u];ig(u),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&EI(c,d)}}finally{Su(-1),ig(s)}}function EI(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function l1(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function TI(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Go(n)&&(t[""]=e)}}function II(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=ri(i.type)),s=new od(o,Go(i),j);e.blueprint[r]=s,t[r]=s,function _I(e,n,t,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const u=~n.index;(function wI(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=u&&s.push(u),s.push(t,r,o)}}(e,n,r,Cd(e,t,i.hostVars,Ge),i)}function Rs(e,n,t,r,i,o){const s=oi(e,n);!function d1(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const u=null==s?ce(o):s(o,r||"",i);e.setAttribute(n,i,u,t)}}(n[Ve],s,o,e.value,t,r,i)}function AI(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let u=0;u<s.length;)Z3(r,t,s[u++],s[u++],s[u++],s[u++])}function xI(e,n,t){let r=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let u=0;u<s.length;u+=3)if(s[u]===n){r.push(o,s[u+1],s[u+2],t[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function n_(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function r_(e,n){const t=e.contentQueries;if(null!==t){const r=me(null);try{for(let i=0;i<t.length;i+=2){const s=t[i+1];if(-1!==s){const u=e.data[s];vf(t[i]),u.contentQueries(2,n[s],s)}}}finally{me(r)}}}function Kf(e,n){return e[Jl]?e[S2][Ho]=n:e[Jl]=n,e[S2]=n,n}function h1(e,n,t){vf(0);const r=me(null);try{n(e,t)}finally{me(r)}}function s_(e,n,t){return(null===e||Go(e))&&(t=function Xm(e){for(;Array.isArray(e);){if("object"==typeof e[Wm])return e;e=e[Dn]}return null}(t[n.index])),t[Ve]}function Xf(e,n){const t=e[er],r=t?t.get(Ns,null):null;r&&r.handleError(n)}function f1(e,n,t,r,i){for(let o=0;o<t.length;){const s=t[o++],u=t[o++],c=t[o++];Z3(e.data[s],n[s],r,u,c,i)}}function kI(e,n){const t=ji(n,e),r=t[ie];!function NI(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const i=t[Dn];null!==i&&null===t[ii]&&(t[ii]=Rg(i,t[er])),p1(r,t,t[rn])}function p1(e,n,t){ag(n);try{const r=e.viewQuery;null!==r&&h1(1,r,t);const i=e.template;null!==i&&Y3(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[sa]?.finishViewCreation(e),e.staticContentQueries&&r_(e,n),e.staticViewQueries&&h1(2,e.viewQuery,t);const o=e.components;null!==o&&function OI(e,n){for(let t=0;t<n.length;t++)kI(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[Ae]&=-5,ug()}}function Fc(e,n,t,r){const i=me(null);try{const o=n.tView,c=Yf(e,o,t,4096&e[Ae]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[wu]=e[n.index];const h=e[sa];return null!==h&&(c[sa]=h.createEmbeddedView(o)),p1(o,c,t),c}finally{me(i)}}function a_(e,n){const t=Bn+n;if(t<e.length)return e[t]}function Ou(e,n){return!n||null===n.firstChild||ld(e)}function Vc(e,n,t,r=!0){const i=n[ie];if(function QM(e,n,t,r){const i=Bn+r,o=t.length;r>0&&(t[i-1][Ho]=n),r<o-Bn?(n[Ho]=t[i],s2(t,Bn+r,n)):(t.push(n),n[Ho]=null),n[Qn]=t;const s=n[wu];null!==s&&t!==s&&O3(s,n);const u=n[sa];null!==u&&u.insertView(e),Qm(n),n[Ae]|=128}(i,n,e,t),r){const s=n1(t,e),u=n[Ve],c=e1(u,e[Ps]);null!==c&&function XM(e,n,t,r,i,o){r[Dn]=i,r[Pr]=n,Zf(e,r,t,1,i,o)}(i,e[Pr],u,n,c,s)}const o=n[ii];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function m1(e,n){const t=_d(e,n);return void 0!==t&&Wf(t[ie],t),t}function Ed(e,n,t,r,i=!1){for(;null!==t;){if(128===t.type){t=i?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&r.push(_t(o)),Gr(o)&&u_(o,r);const s=t.type;if(8&s)Ed(e,n,t.child,r);else if(32&s){const u=Zg(t,n);let c;for(;c=u();)r.push(c)}else if(16&s){const u=H3(n,t);if(Array.isArray(u))r.push(...u);else{const c=aa(n[Sn]);Ed(c[ie],c,u,r,!0)}}t=i?t.projectionNext:t.next}return r}function u_(e,n){for(let t=Bn;t<e.length;t++){const r=e[t],i=r[ie].firstChild;null!==i&&Ed(r[ie],r,i,n)}e[Ps]!==e[Dn]&&n.push(e[Ps])}let c_=[];const VI={...Mt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{mf(e.lView)},consumerOnSignalRead(){this.lView[fo]=this}},jI={...Mt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=aa(e.lView);for(;n&&!l_(n[ie]);)n=aa(n);n&&$2(n)},consumerOnSignalRead(){this.lView[fo]=this}};function l_(e){return 2!==e.type}const BI=100;function Jf(e,n=!0,t=0){const r=e[Is],i=r.rendererFactory;i.begin?.();try{!function HI(e,n){const t=W2();try{q2(!0),g1(e,n);let r=0;for(;pf(e);){if(r===BI)throw new G(103,!1);r++,g1(e,1)}}finally{q2(t)}}(e,t)}catch(s){throw n&&Xf(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function GI(e,n,t,r){const i=n[Ae];if(!(256&~i))return;n[Is].inlineEffectRunner?.flush(),ag(n);let u=!0,c=null,d=null;l_(e)?(d=function RI(e){return e[fo]??function LI(e){const n=c_.pop()??Object.create(VI);return n.lView=e,n}(e)}(n),c=We(d)):null===function B(){return de}()?(u=!1,d=function $I(e){const n=e[fo]??Object.create(jI);return n.lView=e,n}(n),c=We(d)):n[fo]&&(hn(n[fo]),n[fo]=null);try{V2(n),function Z2(e){return $e.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Y3(e,n,t,2,r);const h=!(3&~i);if(h){const y=e.preOrderCheckHooks;null!==y&&_f(n,y,null)}else{const y=e.preOrderHooks;null!==y&&wf(n,y,0,null),cg(n,0)}if(function UI(e){for(let n=jb(e);null!==n;n=Bb(n)){if(!(n[Ae]&hf.HasTransplantedViews))continue;const t=n[Sc];for(let r=0;r<t.length;r++)$2(t[r])}}(n),h_(n,0),null!==e.contentQueries&&r_(e,n),h){const y=e.contentCheckHooks;null!==y&&_f(n,y)}else{const y=e.contentHooks;null!==y&&wf(n,y,1),cg(n,1)}!function uI(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)Su(~i);else{const o=i,s=t[++r],u=t[++r];V7(s,o),u(2,n[o])}}}finally{Su(-1)}}(e,n);const m=e.components;null!==m&&p_(n,m,0);const g=e.viewQuery;if(null!==g&&h1(2,g,r),h){const y=e.viewCheckHooks;null!==y&&_f(n,y)}else{const y=e.viewHooks;null!==y&&wf(n,y,2),cg(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[lf]){for(const y of n[lf])y();n[lf]=null}n[Ae]&=-73}catch(h){throw mf(n),h}finally{null!==d&&(tt(d,c),u&&function FI(e){e.lView[fo]!==e&&(e.lView=null,c_.push(e))}(d)),ug()}}function h_(e,n){for(let t=jb(e);null!==t;t=Bb(t))for(let r=Bn;r<t.length;r++)f_(t[r],n)}function zI(e,n,t){f_(ji(n,e),t)}function f_(e,n){Jm(e)&&g1(e,n)}function g1(e,n){const r=e[ie],i=e[Ae],o=e[fo];let s=!!(0===n&&16&i);if(s||=!!(64&i&&0===n),s||=!!(1024&i),s||=!(!o?.dirty||!_n(o)),s||=!1,o&&(o.dirty=!1),e[Ae]&=-9217,s)GI(r,e,r.template,e[rn]);else if(8192&i){h_(e,1);const u=r.components;null!==u&&p_(e,u,1)}}function p_(e,n,t){for(let r=0;r<n.length;r++)zI(e,n[r],t)}function Dd(e,n){const t=W2()?64:1088;for(e[Is].changeDetectionScheduler?.notify(n);e;){e[Ae]|=t;const r=aa(e);if(ed(e)&&!r)return e;e=r}return null}class Sd{get rootNodes(){const n=this._lView,t=n[ie];return Ed(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[rn]}set context(n){this._lView[rn]=n}get destroyed(){return!(256&~this._lView[Ae])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Qn];if(Gr(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(_d(n,r),Qh(t,r))}this._attachedToViewContainer=!1}Wf(this._lView[ie],this._lView)}onDestroy(n){gf(this._lView,n)}markForCheck(){Dd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ae]&=-129}reattach(){Qm(this._lView),this._lView[Ae]|=128}detectChanges(){this._lView[Ae]|=1024,Jf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ed(this._lView),t=this._lView[wu];null!==t&&!n&&Xg(t,this._lView),N3(this._lView[ie],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=n;const t=ed(this._lView),r=this._lView[wu];null!==r&&!t&&O3(r,this._lView),Qm(this._lView)}}let Ls=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ZI}return e})();const WI=Ls,qI=class extends WI{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=Fc(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new Sd(i)}};function ZI(){return Qf(Ht(),U())}function Qf(e,n){return 4&e.type?new qI(n,e,Pc(e,n)):null}let R_=()=>null;function Lu(e,n){return R_(e,n)}class jc{}const Nd=new ae("",{providedIn:"root",factory:()=>!1}),L_=new ae(""),M1=new ae("");class jP{}class F_{}class HP{resolveComponentFactory(n){throw function BP(e){const n=Error(`No component factory found for ${Rn(e)}.`);return n.ngComponent=e,n}(n)}}class Fu{static#e=this.NULL=new HP}class op{}let Fs=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function GP(){const e=U(),t=ji(Ht().index,e);return(hr(t)?t:e)[Ve]}()}return e})(),UP=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>null})}return e})();function ap(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const u=n[s];"number"==typeof u?o=u:1==o?i=oc(i,u):2==o&&(r=oc(r,u+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}class B_ extends Fu{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=it(n);return new Ld(t,this.ngModule)}}function H_(e,n){const t=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;t.push(n?{propName:s,templateName:r,isSignal:!!((o?i[1]:Va.None)&Va.SignalBased)}:{propName:s,templateName:r})}return t}class Ld extends F_{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=H_(n.inputs,!0);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return H_(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function YS(e){return e.map(ZS).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){const o=me(null);try{let s=(i=i||this.ngModule)instanceof ho?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new Tu(n,s):n,c=u.get(op,null);if(null===c)throw new G(407,!1);const m={rendererFactory:c,sanitizer:u.get(UP,null),inlineEffectRunner:null,changeDetectionScheduler:u.get(jc,null)},g=c.createRenderer(null,this.componentDef),y=this.componentDef.selectors[0][0]||"div",_=r?function lI(e,n,t,r){const o=r.get(a3,!1)||t===jo.ShadowDom,s=e.selectRootElement(n,o);return function dI(e){X3(e)}(s),s}(g,r,this.componentDef.encapsulation,u):zf(g,y,function qP(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(y));let S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let k=null;null!==_&&(k=Rg(_,u,!0));const R=u1(0,null,null,1,0,null,null,null,null,null,null),N=Yf(null,R,null,S,null,null,m,g,u,null,k);ag(N);let Y,K,ee=null;try{const ye=this.componentDef;let Ie,ve=null;ye.findHostDirectiveDefs?(Ie=[],ve=new Map,ye.findHostDirectiveDefs(ye,Ie,ve),Ie.push(ye)):Ie=[ye];const In=function YP(e,n){const t=e[ie],r=we;return e[r]=n,Nu(t,r,2,"#host",null)}(N,_);ee=function KP(e,n,t,r,i,o,s){const u=i[ie];!function XP(e,n,t,r){for(const i of e)n.mergedAttrs=Kl(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(ap(n,n.mergedAttrs,!0),null!==t&&W3(r,t,n))}(r,e,n,s);let c=null;null!==n&&(c=Rg(n,i[er]));const d=o.rendererFactory.createRenderer(n,t);let h=16;t.signals?h=4096:t.onPush&&(h=64);const m=Yf(i,K3(t),null,h,i[e.index],e,o,d,null,null,c);return u.firstCreatePass&&l1(u,e,r.length-1),Kf(i,m),i[e.index]=m}(In,_,ye,Ie,N,m,g),K=nd(R,we),_&&function QP(e,n,t,r){if(r)Rm(e,t,["ng-version","18.2.3"]);else{const{attrs:i,classes:o}=function KS(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Bo(i))break;i=o}r++}return{attrs:n,classes:t}}(n.selectors[0]);i&&Rm(e,t,i),o&&o.length>0&&z3(e,t,o.join(" "))}}(g,ye,_,r),void 0!==t&&function eA(e,n,t){const r=e.projection=[];for(let i=0;i<n.length;i++){const o=t[i];r.push(null!=o?Array.from(o):null)}}(K,this.ngContentSelectors,t),Y=function JP(e,n,t,r,i,o){const s=Ht(),u=i[ie],c=oi(s,i);e_(u,i,s,t,null,r);for(let h=0;h<t.length;h++)Ur(Mu(i,u,s.directiveStart+h,s),i);t_(u,i,s),c&&Ur(c,i);const d=Mu(i,u,s.directiveStart+s.componentOffset,s);if(e[rn]=i[rn]=d,null!==o)for(const h of o)h(d,n);return o1(u,s,i),d}(ee,ye,Ie,ve,N,[tA]),p1(R,N,null)}catch(ye){throw null!==ee&&Tg(ee),Tg(N),ye}finally{ug()}return new ZP(this.componentType,Y,Pc(K,N),N,K)}finally{me(o)}}}class ZP extends jP{constructor(n,t,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Sd(i,void 0,!1),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;f1(o[ie],o,i,n,t),this.previousInputValues.set(n,t),Dd(ji(this._tNode.index,o),1)}}get injector(){return new fr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function tA(){const e=Ht();bf(U()[ie],e)}let qo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=nA}return e})();function nA(){return function z_(e,n){let t;const r=n[e.index];return Gr(r)?t=r:(t=n_(r,n,null,e),n[e.index]=t,Kf(n,t)),W_(t,n,e,r),new G_(t,e,n)}(Ht(),U())}const rA=qo,G_=class extends rA{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Pc(this._hostTNode,this._hostLView)}get injector(){return new fr(this._hostTNode,this._hostLView)}get parentInjector(){const n=Df(this._hostTNode,this._hostLView);if(hg(n)){const t=ad(n,this._hostLView),r=sd(n);return new fr(t[ie].data[r+8],t)}return new fr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=U_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Bn}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=Lu(this._lContainer,n.ssrId),u=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(u,i,Ou(this._hostTNode,s)),u}createComponent(n,t,r,i,o){const s=n&&!Xl(n);let u;if(s)u=t;else{const _=t||{};u=_.index,r=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}const c=s?n:new Ld(it(n)),d=r||this.parentInjector;if(!o&&null==c.ngModule){const S=(s?d:this.parentInjector).get(ho,null);S&&(o=S)}const h=it(c.componentType??{}),m=Lu(this._lContainer,h?.id??null),y=c.create(d,i,m?.firstChild??null,o);return this.insertImpl(y.hostView,u,Ou(this._hostTNode,m)),y}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function I7(e){return Gr(e[Qn])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const c=i[Qn],d=new G_(c,c[Pr],c[Qn]);d.detach(d.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Vc(s,i,o,r),n.attachToViewContainerRef(),s2(A1(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=U_(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=_d(this._lContainer,t);r&&(Qh(A1(this._lContainer),t),Wf(r[ie],r))}detach(n){const t=this._adjustIndex(n,-1),r=_d(this._lContainer,t);return r&&null!=Qh(A1(this._lContainer),t)?new Sd(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function U_(e){return e[8]}function A1(e){return e[8]||(e[8]=[])}let W_=function Z_(e,n,t,r){if(e[Ps])return;let i;i=8&t.type?_t(r):function iA(e,n){const t=e[Ve],r=t.createComment(""),i=oi(n,e);return xu(t,e1(t,i),r,function nI(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[Ps]=i},x1=()=>!1;const nw=new Set;function ai(e){nw.has(e)||(nw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function mt(e,n){ai("NgSignals");const t=function tn(e){const n=Object.create(jn);n.value=e;const t=()=>(dn(n),n.value);return t[te]=n,t}(e),r=t[te];return n?.equal&&(r.equal=n.equal),t.set=i=>Rt(r,i),t.update=i=>function qt(e,n){_e()||Re(),Rt(e,n(e.value))}(r,i),t.asReadonly=iw.bind(t),t}function iw(){const e=this[te];if(void 0===e.readonlyFn){const n=()=>this();n[te]=e,e.readonlyFn=n}return e.readonlyFn}function ow(e){return function rw(e){return"function"==typeof e&&void 0!==e[te]}(e)&&"function"==typeof e.set}function Dt(e){let n=function gw(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Go(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new G(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=cp(e.inputs),s.inputTransforms=cp(e.inputTransforms),s.declaredInputs=cp(e.declaredInputs),s.outputs=cp(e.outputs);const u=i.hostBindings;u&&MA(e,u);const c=i.viewQuery,d=i.contentQueries;if(c&&SA(e,c),d&&TA(e,d),EA(e,i),Gh(e.outputs,i.outputs),Go(i)&&i.data.animation){const h=e.data;h.animation=(h.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const u=o[s];u&&u.ngInherit&&u(e),u===Dt&&(t=!1)}}n=Object.getPrototypeOf(n)}!function DA(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Kl(i.hostAttrs,t=Kl(t,i.hostAttrs))}}(r)}function EA(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=n.inputTransforms[i]}}}function cp(e){return e===Ts?{}:e===bt?[]:e}function SA(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function TA(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function MA(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}class $u{}class OA{}class j1 extends $u{constructor(n,t,r,i=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new B_(this);const o=function Hr(e,n){const t=e[Kh]||null;if(!t&&!0===n)throw new Error(`Type ${Rn(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Gi(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=wb(n,t,[{provide:$u,useValue:this},{provide:Fu,useValue:this.componentFactoryResolver},...r],Rn(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class B1 extends OA{constructor(n){super(),this.moduleType=n}create(n){return new j1(this.moduleType,n,[])}}class _w extends $u{constructor(n){super(),this.componentFactoryResolver=new B_(this),this.instance=null;const t=new vc([...n.providers,{provide:$u,useValue:this},{provide:Fu,useValue:this.componentFactoryResolver}],n.parent||uf(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Vs(e,n,t){return e[n]=t}function Hn(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ju(e,n,t,r){const i=Hn(e,n,t);return Hn(e,n+1,r)||i}function $d(e,n,t,r,i,o,s,u,c,d){const h=t+we,m=n.firstCreatePass?function BA(e,n,t,r,i,o,s,u,c){const d=n.consts,h=Nu(n,e,4,s||null,u||null);c1(n,t,h,po(d,c)),bf(n,h);const m=h.tView=u1(2,h,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,d,null);return null!==n.queries&&(n.queries.template(n,h),m.queries=n.queries.embeddedTView(h)),h}(h,n,e,r,i,o,s,u,c):n.data[h];zo(m,!1);const g=Cw(n,e,m,t);id()&&qf(n,e,g,m),Ur(g,e);const y=n_(g,e,g,m);return e[h]=y,Kf(e,y),function q_(e,n,t){return x1(e,n,t)}(y,m,e),ff(m)&&s1(n,e,m),null!=c&&a1(e,m,d),m}function ht(e,n,t,r,i,o,s,u){const c=U(),d=Qe();return $d(c,d,e,n,t,r,i,po(d.consts,o),s,u),ht}let Cw=function Ew(e,n,t,r){return xs(!0),n[Ve].createComment("")};var Uc=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Uc||{});let Pw=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new e})}return e})();class Hd{constructor(){this.ngZone=p(Et),this.scheduler=p(jc),this.errorHandler=p(Ns,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Uc.EarlyRead,Uc.Write,Uc.MixedReadWrite,Uc.Read];execute(){this.executing=!0;for(const n of Hd.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(r){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&this.sequences.delete(n);for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=he({token:Hd,providedIn:"root",factory:()=>new Hd})}function kr(e,n,t,r){const i=U();return Hn(i,Wo(),n)&&(Qe(),Rs(on(),i,e,n,t,r)),kr}function yp(e,n){return e<<17|n<<2}function Wa(e){return e>>17&32767}function ey(e){return 2|e}function Hu(e){return(131068&e)>>2}function ty(e,n){return-131069&e|n<<2}function ny(e){return 1|e}function rC(e,n,t,r){const i=e[t+1],o=null===n;let s=r?Wa(i):Hu(i),u=!1;for(;0!==s&&(!1===u||o);){const d=e[s+1];Px(e[s],n)&&(u=!0,e[s+1]=r?ny(d):ey(d)),s=r?Wa(d):Hu(d)}u&&(e[t+1]=r?ey(i):ny(i))}function Px(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&gc(e,n)>=0}const pr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iC(e){return e.substring(pr.key,pr.keyEnd)}function oC(e,n){const t=pr.textEnd;return t===n?-1:(n=pr.keyEnd=function Nx(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,pr.key=n,t),ol(e,n,t))}function ol(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function Ce(e,n,t){const r=U();return Hn(r,Wo(),n)&&xi(Qe(),on(),r,e,n,r[Ve],t,!1),Ce}function ry(e,n,t,r,i){const s=i?"class":"style";f1(e,t,n.inputs[s],s,r)}function sl(e,n,t){return Yo(e,n,t,!1),sl}function Zo(e,n){return Yo(e,n,null,!0),Zo}function ha(e){!function Ko(e,n,t,r){const i=Qe(),o=ca(2);i.firstUpdatePass&&dC(i,null,o,r);const s=U();if(t!==Ge&&Hn(s,o,t)){const u=i.data[Ar()];if(mC(u,r)&&!lC(i,o)){let c=r?u.classesWithoutHost:u.stylesWithoutHost;null!==c&&(t=oc(c,t||"")),ry(i,u,s,t,r)}else!function Gx(e,n,t,r,i,o,s,u){i===Ge&&(i=bt);let c=0,d=0,h=0<i.length?i[0]:null,m=0<o.length?o[0]:null;for(;null!==h||null!==m;){const g=c<i.length?i[c+1]:void 0,y=d<o.length?o[d+1]:void 0;let S,_=null;h===m?(c+=2,d+=2,g!==y&&(_=m,S=y)):null===m||null!==h&&h<m?(c+=2,_=h):(d+=2,_=m,S=y),null!==_&&fC(e,n,t,r,_,S,s,u),h=c<i.length?i[c]:null,m=d<o.length?o[d]:null}}(i,u,s,s[Ve],s[o+1],s[o+1]=function Bx(e,n,t){if(null==t||""===t)return bt;const r=[],i=Bi(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}(Hx,js,e,!0)}function js(e,n){for(let t=function xx(e){return function aC(e){pr.key=0,pr.keyEnd=0,pr.value=0,pr.valueEnd=0,pr.textEnd=e.length}(e),oC(e,ol(e,0,pr.textEnd))}(n);t>=0;t=oC(n,t))$i(e,iC(n),!0)}function Yo(e,n,t,r){const i=U(),o=Qe(),s=ca(2);o.firstUpdatePass&&dC(o,e,s,r),n!==Ge&&Hn(i,s,n)&&fC(o,o.data[Ar()],i,i[Ve],e,i[s+1]=function Ux(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Rn(Bi(e)))),e}(n,t),r,s)}function lC(e,n){return n>=e.expandoStartIndex}function dC(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Ar()],s=lC(e,t);mC(o,r)&&null===n&&!s&&(n=!1),n=function Fx(e,n,t,r){const i=og(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=Ud(t=iy(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=iy(i,e,n,t,r),null===o){let c=function Vx(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Hu(r))return e[Wa(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=iy(null,e,n,c[1],r),c=Ud(c,n.attrs,r),function $x(e,n,t,r){e[Wa(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else o=function jx(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=Ud(r,e[o].hostAttrs,t);return Ud(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function Mx(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,u=Wa(s),c=Hu(s);e[r]=t;let h,d=!1;if(Array.isArray(t)?(h=t[1],(null===h||gc(t,h)>0)&&(d=!0)):h=t,i)if(0!==c){const g=Wa(e[u+1]);e[r+1]=yp(g,u),0!==g&&(e[g+1]=ty(e[g+1],r)),e[u+1]=function Sx(e,n){return 131071&e|n<<17}(e[u+1],r)}else e[r+1]=yp(u,0),0!==u&&(e[u+1]=ty(e[u+1],r)),u=r;else e[r+1]=yp(c,0),0===u?u=r:e[c+1]=ty(e[c+1],r),c=r;d&&(e[r+1]=ey(e[r+1])),rC(e,h,r,!0),rC(e,h,r,!1),function Ix(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&gc(o,n)>=0&&(t[r+1]=ny(t[r+1]))}(n,h,e,r,o),s=yp(u,c),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function iy(e,n,t,r,i){let o=null;const s=t.directiveEnd;let u=t.directiveStylingLast;for(-1===u?u=t.directiveStart:u++;u<s&&(o=n[u],r=Ud(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(t.directiveStylingLast=u),r}function Ud(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),$i(e,s,!!t||n[++o]))}return void 0===e?null:e}function Hx(e,n,t){const r=String(n);""!==r&&!r.includes(" ")&&$i(e,r,t)}function fC(e,n,t,r,i,o,s,u){if(!(3&n.type))return;const c=e.data,d=c[u+1],h=function Tx(e){return!(1&~e)}(d)?pC(c,n,t,i,Hu(d),s):void 0;vp(h)||(vp(o)||function Dx(e){return!(2&~e)}(d)&&(o=pC(c,null,t,i,u,s)),function oI(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:Ga.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Ga.Important),e.setStyle(t,r,i,o))}}(r,s,td(Ar(),t),i,o))}function pC(e,n,t,r,i,o){const s=null===n;let u;for(;i>0;){const c=e[i],d=Array.isArray(c),h=d?c[1]:c,m=null===h;let g=t[i+1];g===Ge&&(g=m?bt:void 0);let y=m?Nm(g,r):h===r?g:void 0;if(d&&!vp(y)&&(y=Nm(c,r)),vp(y)&&(u=y,s))return u;const _=e[i+1];i=s?Wa(_):Hu(_)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(u=Nm(c,r))}return u}function vp(e){return void 0!==e}function mC(e,n){return!!(e.flags&(n?8:16))}class tk{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function oy(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function sy(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function gC(e,n,t,r,i){if(sy(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function yC(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class vC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function St(e,n){ai("NgControlFlow");const t=U(),r=Wo(),i=t[r]!==Ge?t[r]:-1,o=-1!==i?bp(t,we+i):void 0;if(Hn(t,r,e)){const u=me(null);try{if(void 0!==o&&m1(o,0),-1!==e){const c=we+e,d=bp(t,c),h=ay(t[ie],c),m=Lu(d,h.tView.ssrId);Vc(d,Fc(t,h,n,{dehydratedView:m}),0,Ou(h,m))}}finally{me(u)}}else if(void 0!==o){const u=a_(o,0);void 0!==u&&(u[rn]=n)}}class rk{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Bn}}function fa(e){return e}function bC(e,n){return n}class ik{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function Xo(e,n,t,r,i,o,s,u,c,d,h,m,g){ai("NgControlFlow");const y=U(),_=Qe(),S=void 0!==c,k=U(),R=u?s.bind(k[Sn][rn]):s,N=new ik(S,R);k[we+e]=N,$d(y,_,e+1,n,t,r,i,po(_.consts,o)),S&&$d(y,_,e+2,c,d,h,m,po(_.consts,g))}class ok extends tk{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Bn}at(n){return this.getLView(n)[rn].$implicit}attach(n,t){const r=t[ii];this.needsIndexUpdate||=n!==this.length,Vc(this.lContainer,t,n,Ou(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function sk(e,n){return _d(e,n)}(this.lContainer,n)}create(n,t){const r=Lu(this.lContainer,this.templateTNode.tView.ssrId),i=Fc(this.hostLView,this.templateTNode,new rk(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(n){Wf(n[ie],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[rn].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[rn].$index=n}getLView(n){return function ak(e,n){return a_(e,n)}(this.lContainer,n)}}function Jo(e){const n=me(null),t=Ar();try{const r=U(),i=r[ie],o=r[t],s=t+1,u=bp(r,s);if(void 0===o.liveCollection){const d=ay(i,s);o.liveCollection=new ok(u,r,d)}else o.liveCollection.reset();const c=o.liveCollection;if(function nk(e,n,t){let r,i,o=0,s=e.length-1;if(Array.isArray(n)){let c=n.length-1;for(;o<=s&&o<=c;){const d=e.at(o),h=n[o],m=oy(o,d,o,h,t);if(0!==m){m<0&&e.updateValue(o,h),o++;continue}const g=e.at(s),y=n[c],_=oy(s,g,c,y,t);if(0!==_){_<0&&e.updateValue(s,y),s--,c--;continue}const S=t(o,d),k=t(s,g),R=t(o,h);if(Object.is(R,k)){const N=t(c,y);Object.is(N,S)?(e.swap(o,s),e.updateValue(s,y),c--,s--):e.move(s,o),e.updateValue(o,h),o++}else if(r??=new vC,i??=yC(e,o,s,t),sy(e,r,o,R))e.updateValue(o,h),o++,s++;else if(i.has(R))r.set(S,e.detach(o)),s--;else{const N=e.create(o,n[o]);e.attach(o,N),o++,s++}}for(;o<=c;)gC(e,r,t,o,n[o]),o++}else if(null!=n){const c=n[Symbol.iterator]();let d=c.next();for(;!d.done&&o<=s;){const h=e.at(o),m=d.value,g=oy(o,h,o,m,t);if(0!==g)g<0&&e.updateValue(o,m),o++,d=c.next();else{r??=new vC,i??=yC(e,o,s,t);const y=t(o,m);if(sy(e,r,o,y))e.updateValue(o,m),o++,s++,d=c.next();else if(i.has(y)){const _=t(o,h);r.set(_,e.detach(o)),s--}else e.attach(o,e.create(o,m)),o++,s++,d=c.next()}}for(;!d.done;)gC(e,r,t,e.length,d.value),d=c.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}(c,e,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){const d=Wo(),h=0===c.length;if(Hn(r,d,h)){const m=t+2,g=bp(r,m);if(h){const y=ay(i,m),_=Lu(g,y.tView.ssrId);Vc(g,Fc(r,y,void 0,{dehydratedView:_}),0,Ou(y,_))}else m1(g,0)}}}finally{me(n)}}function bp(e,n){return e[n]}function ay(e,n){return nd(e,n)}function oe(e,n,t,r){const i=U(),o=Qe(),s=we+e,u=i[Ve],c=o.firstCreatePass?function uk(e,n,t,r,i,o){const s=n.consts,c=Nu(n,e,2,r,po(s,i));return c1(n,t,c,po(s,o)),null!==c.attrs&&ap(c,c.attrs,!1),null!==c.mergedAttrs&&ap(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,o,i,n,t,r):o.data[s],d=_C(o,i,c,u,n,e);i[s]=d;const h=ff(c);return zo(c,!0),W3(u,d,c),!function Hc(e){return!(32&~e.flags)}(c)&&id()&&qf(o,i,d,c),0===function P7(){return $e.lFrame.elementDepthCount}()&&Ur(d,i),function A7(){$e.lFrame.elementDepthCount++}(),h&&(s1(o,i,c),o1(o,c,i)),null!==r&&a1(i,c),oe}function se(){let e=Ht();ng()?rg():(e=e.parent,zo(e,!1));const n=e;(function k7(e){return $e.skipHydrationRootTNode===e})(n)&&function L7(){$e.skipHydrationRootTNode=null}(),function x7(){$e.lFrame.elementDepthCount--}();const t=Qe();return t.firstCreatePass&&(bf(t,e),qm(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function Y7(e){return!!(8&e.flags)}(n)&&ry(t,n,U(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function K7(e){return!!(16&e.flags)}(n)&&ry(t,n,U(),n.stylesWithoutHost,!1),se}function kt(e,n,t,r){return oe(e,n,t,r),se(),kt}let _C=(e,n,t,r,i,o)=>(xs(!0),zf(r,i,function tb(){return $e.lFrame.currentNamespace}()));function al(e,n,t){const r=U(),i=Qe(),o=e+we,s=i.firstCreatePass?function dk(e,n,t,r,i){const o=n.consts,s=po(o,r),u=Nu(n,e,8,"ng-container",s);return null!==s&&ap(u,s,!0),c1(n,t,u,po(o,i)),null!==n.queries&&n.queries.elementStart(n,u),u}(o,i,r,n,t):i.data[o];zo(s,!0);const u=wC(i,r,s,e);return r[o]=u,id()&&qf(i,r,u,s),Ur(u,r),ff(s)&&(s1(i,r,s),o1(i,s,r)),null!=t&&a1(r,s),al}function ul(){let e=Ht();const n=Qe();return ng()?rg():(e=e.parent,zo(e,!1)),n.firstCreatePass&&(bf(n,e),qm(e)&&n.queries.elementEnd(e)),ul}function cl(e,n,t){return al(e,n,t),ul(),cl}let wC=(e,n,t,r)=>(xs(!0),Kg(n[Ve],""));function Nr(){return U()}function _p(e,n,t){const r=U();if(Hn(r,Wo(),n)){const o=Qe(),s=on();xi(o,s,r,e,n,s_(og(o.data),s,r),t,!0)}return _p}const wp="en-US";let SC=wp,GC=(e,n,t)=>{};function ct(e,n,t,r){const i=U(),o=Qe(),s=Ht();return ly(o,i,i[Ve],s,e,n,r),ct}function ly(e,n,t,r,i,o,s){const u=ff(r),d=e.firstCreatePass&&function o_(e){return e.cleanup??=[]}(e),h=n[rn],m=function i_(e){return e[wc]??=[]}(n);let g=!0;if(3&r.type||s){const S=oi(r,n),k=s?s(S):S,R=m.length,N=s?K=>s(_t(K[r.index])):r.index;let Y=null;if(!s&&u&&(Y=function iN(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const u=n[wc],c=i[o+2];return u.length>c?u[c]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==Y)(Y.__ngLastListenerFn__||Y).__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,g=!1;else{o=qC(r,n,h,o),GC(S,i,o);const K=t.listen(k,i,o);m.push(o,K),d&&d.push(i,N,R,R+1)}}else o=qC(r,n,h,o);const y=r.outputs;let _;if(g&&null!==y&&(_=y[i])){const S=_.length;if(S)for(let k=0;k<S;k+=2){const ee=n[_[k]][_[k+1]].subscribe(o),ye=m.length;m.push(o,ee),d&&d.push(i,r.index,ye,-(ye+1))}}}function WC(e,n,t,r){const i=me(null);try{return As(6,n,t),!1!==t(r)}catch(o){return Xf(e,o),!1}finally{As(7,n,t),me(i)}}function qC(e,n,t,r){return function i(o){if(o===Function)return r;Dd(e.componentOffset>-1?ji(e.index,n):n,5);let u=WC(n,t,r,o),c=i.__ngNextListenerFn__;for(;c;)u=WC(n,t,c,o)&&u,c=c.__ngNextListenerFn__;return u}}function fe(e=1){return function B7(e){return($e.lFrame.contextLView=function j2(e,n){for(;e>0;)n=n[Cc],e--;return n}(e,$e.lFrame.contextLView))[rn]}(e)}function oN(e,n){let t=null;const r=function US(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i<n.length;i++){const o=n[i];if("*"!==o){if(null===r?p2(e,o,!0):qS(r,o))return i}else t=i}return t}function dy(e,n=0,t,r,i,o){const s=U(),u=Qe(),c=r?e+1:null;null!==c&&$d(s,u,c,r,i,o,null,t);const d=Nu(u,we+e,16,null,t||null);null===d.projection&&(d.projection=n),rg();const m=!s[ii]||Du();null===s[Sn][Pr].projection[d.projection]&&null!==c?function sN(e,n,t){const r=we+t,i=n.data[r],o=e[r],s=Lu(o,i.tView.ssrId);Vc(o,Fc(e,i,void 0,{dehydratedView:s}),0,Ou(i,s))}(s,u,c):m&&32&~d.flags&&function rI(e,n,t){U3(n[Ve],0,n,t,Qg(e,t,n),V3(t.parent||n[Pr],t,n))}(u,s,d)}function fy(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Sp(e){return Eu(U2(),we+e)}function je(e,n=""){const t=U(),r=Qe(),i=e+we,o=r.firstCreatePass?Nu(r,i,1,n,null):r.data[i],s=f8(r,t,o,n,e);t[i]=s,id()&&qf(r,t,s,o),zo(o,!1)}let f8=(e,n,t,r,i)=>(xs(!0),function Yg(e,n){return e.createText(n)}(n[Ve],r));function vr(e){return vn("",e,""),vr}function vn(e,n,t){const r=U(),i=function Xc(e,n,t,r){return Hn(e,Wo(),t)?n+ce(t)+r:Ge}(r,e,n,t);return i!==Ge&&function da(e,n,t){const r=td(n,e);!function k3(e,n,t){e.setValue(n,t)}(e[Ve],r,t)}(r,Ar(),i),vn}function py(e,n,t){ow(n)&&(n=n());const r=U();return Hn(r,Wo(),n)&&xi(Qe(),on(),r,e,n,r[Ve],t,!1),py}function my(e,n){const t=U(),r=Qe(),i=Ht();return ly(r,t,t[Ve],i,e,n),my}const E8={};function go(e){const n=Qe(),t=U(),r=e+we;return zo(Nu(n,r,128,null,null),!1),fy(n,t,r,E8),go}function Ni(e){return ai("NgLet"),fy(Qe(),U(),Ar(),e),e}function zn(e){const t=Eu(U2(),we+e);if(t===E8)throw new G(314,!1);return t}function gy(e,n,t,r,i){if(e=ke(e),Array.isArray(e))for(let o=0;o<e.length;o++)gy(e[o],n,t,r,i);else{const o=Qe(),s=U(),u=Ht();let c=_u(e)?e:ke(e.provide);const d=C2(e),h=1048575&u.providerIndexes,m=u.directiveStart,g=u.providerIndexes>>20;if(_u(e)||!e.multi){const y=new od(d,i,j),_=vy(c,n,i?h:h+g,m);-1===_?(mg(Ef(u,s),o,c),yy(o,e,n.length),n.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)):(t[_]=y,s[_]=y)}else{const y=vy(c,n,h+g,m),_=vy(c,n,h,h+g),k=_>=0&&t[_];if(i&&!k||!i&&!(y>=0&&t[y])){mg(Ef(u,s),o,c);const R=function IN(e,n,t,r,i){const o=new od(e,t,j);return o.multi=[],o.index=n,o.componentProviders=0,D8(o,i,r&&!t),o}(i?MN:TN,t.length,i,r,d);!i&&k&&(t[_].providerFactory=R),yy(o,e,n.length,0),n.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(R),s.push(R)}else yy(o,e,y>-1?y:_,D8(t[i?_:y],d,!i&&r));!i&&r&&k&&t[_].componentProviders++}}}function yy(e,n,t,r){const i=_u(n),o=function r7(e){return!!e.useClass}(n);if(i||o){const c=(o?ke(n.useClass):n).prototype.ngOnDestroy;if(c){const d=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const h=d.indexOf(t);-1===h?d.push(t,[r,c]):d[h+1].push(r,c)}else d.push(t,c)}}}function D8(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function vy(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function TN(e,n,t,r){return by(this.multi,[])}function MN(e,n,t,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,u=Mu(t,t[ie],this.providerFactory.index,r);o=u.slice(0,s),by(i,o);for(let c=s;c<u.length;c++)o.push(u[c])}else o=[],by(i,o);return o}function by(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function an(e,n=[]){return t=>{t.providersResolver=(r,i)=>function SN(e,n,t){const r=Qe();if(r.firstCreatePass){const i=Go(e);gy(t,r.data,r.blueprint,i,!0),gy(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}let PN=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Fm(0,t.type),i=r.length>0?function ww(e,n,t=null){return new _w({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=he({token:e,providedIn:"environment",factory:()=>new e(l(ho))})}return e})();function _y(e){ai("NgStandalone"),e.getStandaloneInjector=n=>n.get(PN).getOrCreateStandaloneInjector(e)}function Kd(e,n){const t=e[n];return t===Ge?void 0:t}function P8(e,n,t,r,i,o){const s=n+t;return Hn(e,s,i)?Vs(e,s+1,o?r.call(o,i):r(i)):Kd(e,s+1)}function A8(e,n,t,r,i,o,s){const u=n+t;return ju(e,u,i,o)?Vs(e,u+2,s?r.call(s,i,o):r(i,o)):Kd(e,u+2)}function x8(e,n,t,r,i,o,s,u){const c=n+t;return function dp(e,n,t,r,i){const o=ju(e,n,t,r);return Hn(e,n+2,i)||o}(e,c,i,o,s)?Vs(e,c+3,u?r.call(u,i,o,s):r(i,o,s)):Kd(e,c+3)}function k8(e,n,t,r,i,o,s,u,c){const d=n+t;return function mo(e,n,t,r,i,o){const s=ju(e,n,t,r);return ju(e,n+2,i,o)||s}(e,d,i,o,s,u)?Vs(e,d+4,c?r.call(c,i,o,s,u):r(i,o,s,u)):Kd(e,d+4)}function un(e,n){const t=Qe();let r;const i=e+we;t.firstCreatePass?(r=function BN(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=ri(r.type)),u=Mr(j);try{const c=Cf(!1),d=o();return Cf(c),fy(t,U(),i,d),d}finally{Mr(u)}}function Xd(e,n,t){const r=e+we,i=U(),o=Eu(i,r);return Jd(i,r)?P8(i,si(),n,o.transform,t,o):o.transform(t)}function zr(e,n,t,r){const i=e+we,o=U(),s=Eu(o,i);return Jd(o,i)?A8(o,si(),n,s.transform,t,r,s):s.transform(t,r)}function dl(e,n,t,r,i){const o=e+we,s=U(),u=Eu(s,o);return Jd(s,o)?x8(s,si(),n,u.transform,t,r,i,u):u.transform(t,r,i)}function Jd(e,n){return e[ie].data[n].pure}function Ip(e,n){return Qf(e,n)}const e5=new ae(""),xp=new ae("");let Iy,Ty=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Iy||(function LO(e){Iy=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Et.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(l(Et),l(My),l(xp))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),My=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Iy?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function kp(e){return!!e&&"function"==typeof e.then}function t5(e){return!!e&&"function"==typeof e.subscribe}const FO=new ae("");let n5=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=p(FO,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(kp(o))t.push(o);else if(t5(o)){const s=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Py=new ae("");function i5(e,n){return Array.isArray(n)?n.reduce(i5,e):{...e,...n}}let yo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(ST),this.afterRenderManager=p(Pw),this.zonelessEnabled=p(Nd),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Yt,this.afterTick=new Yt,this.componentTypes=[],this.components=[],this.isStable=p(Iu).hasPendingTasks.pipe(Kt(t=>!t)),this._injector=p(ho)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof F_;if(!this._injector.get(n5).done)throw!i&&function bu(e){const n=it(e)||lr(e)||Ir(e);return null!==n&&n.standalone}(t),new G(405,!1);let s;s=i?t:this._injector.get(Fu).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const u=function VO(e){return e.isBoundToModule}(s)?void 0:this._injector.get($u),d=s.create(Jt.NULL,[],r||s.selector,u),h=d.location.nativeElement,m=d.injector.get(e5,null);return m?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Np(this.components,d),m?.unregisterApplication(h)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new G(101,!1);const t=me(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,me(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(op,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)BO(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>pf(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Np(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Py,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Np(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new G(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Np(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function BO(e,n,t,r){(t||pf(e))&&Jf(e,n,t&&!r?0:1)}let zO=(()=>{class e{constructor(){this.zone=p(Et),this.changeDetectionScheduler=p(jc),this.applicationRef=p(yo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ay({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Et({...xy(),scheduleInRootZone:t}),[{provide:Et,useFactory:e},{provide:Ms,multi:!0,useFactory:()=>{const r=p(zO,{optional:!0});return()=>r.initialize()}},{provide:Ms,multi:!0,useFactory:()=>{const r=p(qO);return()=>{r.initialize()}}},!0===n?{provide:L_,useValue:!0}:[],{provide:M1,useValue:t??Eb}]}function xy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let qO=(()=>{class e{constructor(){this.subscription=new ft,this.initialized=!1,this.zone=p(Et),this.pendingTasks=p(Iu)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Et.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Et.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nh=(()=>{class e{constructor(){this.appRef=p(yo),this.taskService=p(Iu),this.ngZone=p(Et),this.zonelessEnabled=p(Nd),this.disableScheduling=p(L_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ft,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Pf):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(M1,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Cg||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?Sb:Db;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pf+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Sb(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qa=new ae("",{providedIn:"root",factory:()=>p(qa,st.Optional|st.SkipSelf)||function ZO(){return typeof $localize<"u"&&$localize.locale||wp}()}),Ny=new ae("");function Rp(e){return!!e.platformInjector}let d5=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,u=[Ay({ngZoneFactory:()=>function DT(e="zone.js",n){return"noop"===e?new Cg:"zone.js"===e?new Et(n):e}(r?.ngZone,{...xy({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:jc,useExisting:nh}],c=function LA(e,n,t){return new j1(e,n,t,!1)}(t.moduleType,this.injector,u);return function l5(e){const n=Rp(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Et);return t.run(()=>{Rp(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=n.get(Ns,null);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{r.handleError(o)}})}),Rp(e)){const o=()=>n.destroy(),s=e.platformInjector.get(Ny);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{Np(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function jO(e,n,t){try{const r=t();return kp(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(r,t,()=>{const o=n.get(n5);return o.runInitializers(),o.donePromise.then(()=>{if(function _k(e){"string"==typeof e&&(SC=e.toLowerCase().replace(/_/g,"-"))}(n.get(qa,wp)||wp),Rp(e)){const u=n.get(yo);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return function eR(e,n){const t=e.injector.get(yo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new G(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:c,allPlatformModules:this._modules})}bootstrapModule(t,r=[]){const i=i5({},r);return function UO(e,n,t){const r=new B1(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new G(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Ny,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(l(Jt))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Za=null;const h5=new ae("");function f5(e,n,t=[]){const r=`Platform: ${n}`,i=new ae(r);return(o=[])=>{let s=Oy();if(!s||s.injector.get(h5,!1)){const u=[...t,...o,{provide:i,useValue:!0}];e?e(u):function tR(e){if(Za&&!Za.get(h5,!1))throw new G(400,!1);(function r5(){!function Ye(e){It=e}(()=>{throw new G(600,!1)})})(),Za=e;const n=e.get(d5);(function m5(e){e.get(Kb,null)?.forEach(t=>t())})(e)}(function p5(e=[],n){return Jt.create({name:n,providers:[{provide:jm,useValue:"platform"},{provide:Ny,useValue:new Set([()=>Za=null])},...e]})}(u,r))}return function nR(){const n=Oy();if(!n)throw new G(401,!1);return n}()}}function Oy(){return Za?.get(d5)??null}let pl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=iR}return e})();function iR(e){return function oR(e,n,t){if(Cu(e)&&!t){const r=ji(e.index,n);return new Sd(r,r)}return 175&e.type?new Sd(n[Sn],n):null}(Ht(),U(),!(16&~e))}const yR=f5(null,"core",[]);let vR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(l(yo))};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({})}return e})();const B5=new ae("");function Tt(e,n){ai("NgSignals");const t=function Le(e){const n=Object.create(Ze);n.computation=e;const t=()=>{if(ot(n),dn(n),n.value===ze)throw n.error;return n.value};return t[te]=n,t}(e);return n?.equal&&(t[te].equal=n.equal),t}function Qo(e){const n=me(null);try{return e()}finally{me(n)}}const KR=new ae("",{providedIn:"root",factory:()=>p(XR)});let XR=(()=>{class e{static#e=this.\u0275prov=he({token:e,providedIn:"root",factory:()=>new JR})}return e})();class JR{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=p(Iu),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){const t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}class QR{constructor(n,t,r,i,o,s){this.scheduler=n,this.effectFn=t,this.creationZone=r,this.injector=o,this.watcher=function Yr(e,n,t){const r=Object.create(An);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const i=c=>{r.cleanupFn=c};return r.ref={notify:()=>Se(r),run:()=>{if(null===r.fn)return;if(function le(){return Pe}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!_n(r))return;r.hasRun=!0;const c=We(r);try{r.cleanupFn(),r.cleanupFn=At,r.fn(i)}finally{tt(r,c)}},cleanup:()=>r.cleanupFn(),destroy:()=>function s(c){(function o(c){return null===c.fn&&null===c.schedule})(c)||(hn(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=At)}(r),[te]:r},r.ref}(u=>this.runEffect(u),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(Ns,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Uy(e,n){ai("NgSignals"),!n?.injector&&function Um(e){if(!E2())throw new G(-203,!1)}();const t=n?.injector??p(Jt),r=!0!==n?.manualCleanup?t.get(ud):null,i=new QR(t.get(KR),e,typeof Zone>"u"?null:Zone.current,r,t,n?.allowSignalWrites??!1),o=t.get(pl,null,{optional:!0});return o&&8&o._lView[Ae]?(o._lView[lf]??=[]).push(i.watcher.notify):i.watcher.notify(),i}let X5=null;function sh(){return X5}class tL{}const Wr=new ae("");function s6(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const ev=/\s+/,a6=[];let tv=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=a6,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(ev):a6}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(ev):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(ev).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\u0275fac=function(r){return new(r||e)(j(Pi),j(Fs))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),nv=(()=>{class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?function RA(e,n){return new j1(e,n??null,[])}(this.ngComponentOutletNgModule,u6(r)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(u6(r)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[r,i]of this._inputsUsed)i?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static#e=this.\u0275fac=function(r){return new(r||e)(j(qo))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Uo]})}return e})();function u6(e){return e.get($u).injector}let n0=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new GL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){l6("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){l6("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(j(qo),j(Ls))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class GL{constructor(){this.$implicit=null,this.ngIf=null}}function l6(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Rn(n)}'.`)}let h6=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(j(qo))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Uo]})}return e})();let av=(()=>{class e{transform(t,r,i){if(null==t)return null;if(!this.supports(t))throw function ts(e,n){return new G(2100,!1)}();return t.slice(r,i)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jn({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),uv=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({})}return e})();function m6(e){return"server"===e}class g6{}class zF extends tL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class hv extends zF{static makeCurrent(){!function eL(e){X5??=e}(new hv)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function WF(){return lh=lh||document.querySelector("base"),lh?lh.getAttribute("href"):null}();return null==t?null:function qF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){lh=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return s6(document.cookie,n)}}let lh=null,YF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const a0=new ae("");let T6=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new G(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(l(a0),l(Et))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();class fv{constructor(n){this._doc=n}}const pv="ng-app-id";let M6=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=m6(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${pv}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(pv),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(pv,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr),l(xc),l(Jb,8),l(Ba))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const mv={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},gv=/%COMP%/g,QF=new ae("",{providedIn:"root",factory:()=>!0});function P6(e,n){return n.map(t=>t.replace(gv,e))}let yv=(()=>{class e{constructor(t,r,i,o,s,u,c,d=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=u,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=m6(u),this.defaultRenderer=new vv(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===jo.ShadowDom&&(r={...r,encapsulation:jo.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof x6?i.applyToHost(t):i instanceof bv&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case jo.Emulated:o=new x6(c,d,r,this.appId,h,s,u,m);break;case jo.ShadowDom:return new rV(c,d,t,r,s,u,this.nonce,m);default:o=new bv(c,d,r,h,s,u,m)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(l(T6),l(M6),l(xc),l(QF),l(Wr),l(Ba),l(Et),l(Jb))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();class vv{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(mv[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(A6(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(A6(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new G(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=mv[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=mv[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Ga.DashCase|Ga.Important)?n.style.setProperty(t,r,i&Ga.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ga.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=sh().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function A6(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class rV extends vv{constructor(n,t,r,i,o,s,u,c){super(n,o,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const d=P6(i.id,i.styles);for(const h of d){const m=document.createElement("style");u&&m.setAttribute("nonce",u),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class bv extends vv{constructor(n,t,r,i,o,s,u,c){super(n,o,s,u),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=c?P6(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class x6 extends bv{constructor(n,t,r,i,o,s,u,c){const d=i+"-"+r.id;super(n,t,r,o,s,u,c,d),this.contentAttr=function eV(e){return"_ngcontent-%COMP%".replace(gv,e)}(d),this.hostAttr=function tV(e){return"_nghost-%COMP%".replace(gv,e)}(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let iV=(()=>{class e extends fv{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),oV=(()=>{class e extends fv{constructor(t){super(t),this.delegate=p(B5,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,r,i){return this.delegate.addEventListener(t,r,i)}removeEventListener(t,r,i){return this.delegate.removeEventListener(t,r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const k6=["alt","control","meta","shift"],sV={"\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"},aV={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let uV=(()=>{class e extends fv{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>sh().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),s="code."),k6.forEach(d=>{const h=r.indexOf(d);h>-1&&(r.splice(h,1),s+=d+".")}),s+=o,0!=r.length||0===o.length)return null;const c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let i=sV[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),k6.forEach(s=>{s!==i&&(0,aV[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const hV=f5(yR,"browser",[{provide:Ba,useValue:"browser"},{provide:Kb,useValue:function cV(){hv.makeCurrent()},multi:!0},{provide:Wr,useFactory:function dV(){return function qT(e){Ig=e}(document),document},deps:[]}]),fV=new ae(""),R6=[{provide:xp,useClass:class ZF{addToWindow(n){zt.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new G(5103,!1);return o},zt.getAllAngularTestabilities=()=>n.getAllTestabilities(),zt.getAllAngularRootElements=()=>n.getAllRootElements(),zt.frameworkStabilizers||(zt.frameworkStabilizers=[]),zt.frameworkStabilizers.push(r=>{const i=zt.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(u=>{u.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?sh().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:e5,useClass:Ty,deps:[Et,My,xp]},{provide:Ty,useClass:Ty,deps:[Et,My,xp]}],L6=[{provide:jm,useValue:"root"},{provide:Ns,useFactory:function lV(){return new Ns},deps:[]},{provide:a0,useClass:iV,multi:!0,deps:[Wr,Et,Ba]},{provide:a0,useClass:uV,multi:!0,deps:[Wr]},{provide:a0,useClass:oV,multi:!0},yv,M6,T6,{provide:op,useExisting:yv},{provide:g6,useClass:YF,deps:[]},[]];let u0=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:xc,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(l(fV,12))};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[...L6,...R6],imports:[uv,vR]})}return e})(),_v=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:function(r){let i=null;return i=r?new(r||e):l(yV),i},providedIn:"root"})}return e})(),yV=(()=>{class e extends _v{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Hi.NONE:return r;case Hi.HTML:return Os(r,"HTML")?Bi(r):w3(this._doc,String(r)).toString();case Hi.STYLE:return Os(r,"Style")?Bi(r):r;case Hi.SCRIPT:if(Os(r,"Script"))return Bi(r);throw new G(5200,!1);case Hi.URL:return Os(r,"URL")?Bi(r):Bf(String(r));case Hi.RESOURCE_URL:if(Os(r,"ResourceURL"))return Bi(r);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(t){return function pM(e){return new uM(e)}(t)}bypassSecurityTrustStyle(t){return function mM(e){return new cM(e)}(t)}bypassSecurityTrustScript(t){return function gM(e){return new lM(e)}(t)}bypassSecurityTrustUrl(t){return function yM(e){return new dM(e)}(t)}bypassSecurityTrustResourceUrl(t){return function vM(e){return new hM(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const wv={now:()=>(wv.delegate||Date).now(),delegate:void 0};class vV extends Yt{constructor(n=1/0,t=1/0,r=wv){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=t.now();let u=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)u=c;u&&r.splice(0,u+1)}}}var l0=function(){return l0=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},l0.apply(this,arguments)};function _o(e,n,t,r){return new(t||(t=Promise))(function(o,s){function u(h){try{d(r.next(h))}catch(m){s(m)}}function c(h){try{d(r.throw(h))}catch(m){s(m)}}function d(h){h.done?o(h.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(h.value).then(u,c)}d((r=r.apply(e,n||[])).next())})}function ns(e,n){var r,i,o,s,t={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(h){return function c(d){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(t=0)),t;)try{if(r=1,i&&(o=2&d[0]?i.return:d[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,d[1])).done)return o;switch(i=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,i=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(!(o=(o=t.trys).length>0&&o[o.length-1])&&(6===d[0]||2===d[0])){t=0;continue}if(3===d[0]&&(!o||d[1]>o[0]&&d[1]<o[3])){t.label=d[1];break}if(6===d[0]&&t.label<o[1]){t.label=o[1],o=d;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(d);break}o[2]&&t.ops.pop(),t.trys.pop();continue}d=n.call(e,t)}catch(h){d=[6,h],i=0}finally{r=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,h])}}}function Sv(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)(o||!(r in n))&&(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}function Ya(e){return this instanceof Ya?(this.v=e,this):new Ya(e)}function B6(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Dv(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(u,c){!function i(o,s,u,c){Promise.resolve(c).then(function(d){o({value:d,done:u})},s)}(u,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const H6=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function G6(e){return at(e?.then)}function U6(e){return at(e[no])}function z6(e){return Symbol.asyncIterator&&at(e?.[Symbol.asyncIterator])}function W6(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const q6=function VV(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Z6(e){return at(e?.[q6])}function Y6(e){return function j6(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},u("next"),u("throw"),u("return",function s(y){return function(_){return Promise.resolve(_).then(y,m)}}),i[Symbol.asyncIterator]=function(){return this},i;function u(y,_){r[y]&&(i[y]=function(S){return new Promise(function(k,R){o.push([y,S,k,R])>1||c(y,S)})},_&&(i[y]=_(i[y])))}function c(y,_){try{!function d(y){y.value instanceof Ya?Promise.resolve(y.value.v).then(h,m):g(o[0][2],y)}(r[y](_))}catch(S){g(o[0][3],S)}}function h(y){c("next",y)}function m(y){c("throw",y)}function g(y,_){y(_),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield Ya(t.read());if(i)return yield Ya(void 0);yield yield Ya(r)}}finally{t.releaseLock()}})}function K6(e){return at(e?.getReader)}function rs(e){if(e instanceof gt)return e;if(null!=e){if(U6(e))return function $V(e){return new gt(n=>{const t=e[no]();if(at(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(H6(e))return function jV(e){return new gt(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(G6(e))return function BV(e){return new gt(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Us)})}(e);if(z6(e))return X6(e);if(Z6(e))return function HV(e){return new gt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(K6(e))return function GV(e){return X6(Y6(e))}(e)}throw W6(e)}function X6(e){return new gt(n=>{(function UV(e,n){var t,r,i,o;return _o(this,void 0,void 0,function*(){try{for(t=B6(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Ka(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function d0(e,n,t=1/0){return at(n)?d0((r,i)=>Kt((o,s)=>n(r,o,i,s))(rs(e(r,i))),t):("number"==typeof n&&(t=n),qn((r,i)=>function zV(e,n,t,r,i,o,s,u){const c=[];let d=0,h=0,m=!1;const g=()=>{m&&!c.length&&!d&&n.complete()},y=S=>d<r?_(S):c.push(S),_=S=>{o&&n.next(S),d++;let k=!1;rs(t(S,h++)).subscribe(Cn(n,R=>{i?.(R),o?y(R):n.next(R)},()=>{k=!0},void 0,()=>{if(k)try{for(d--;c.length&&d<r;){const R=c.shift();s?Ka(n,s,()=>_(R)):_(R)}g()}catch(R){n.error(R)}}))};return e.subscribe(Cn(n,y,()=>{m=!0,g()})),()=>{u?.()}}(r,i,e,t)))}function J6(e=1/0){return d0(wn,e)}const Q6=new gt(e=>e.complete());function eE(e){return e&&at(e.schedule)}function Tv(e){return e[e.length-1]}function h0(e){return eE(Tv(e))?e.pop():void 0}function tE(e,n=0){return qn((t,r)=>{t.subscribe(Cn(r,i=>Ka(r,e,()=>r.next(i),n),()=>Ka(r,e,()=>r.complete(),n),i=>Ka(r,e,()=>r.error(i),n)))})}function nE(e,n=0){return qn((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function rE(e,n){if(!e)throw new Error("Iterable cannot be null");return new gt(t=>{Ka(t,n,()=>{const r=e[Symbol.asyncIterator]();Ka(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Xa(e,n){return n?function e$(e,n){if(null!=e){if(U6(e))return function YV(e,n){return rs(e).pipe(nE(n),tE(n))}(e,n);if(H6(e))return function XV(e,n){return new gt(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(G6(e))return function KV(e,n){return rs(e).pipe(nE(n),tE(n))}(e,n);if(z6(e))return rE(e,n);if(Z6(e))return function JV(e,n){return new gt(t=>{let r;return Ka(t,n,()=>{r=e[q6](),Ka(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>at(r?.return)&&r.return()})}(e,n);if(K6(e))return function QV(e,n){return rE(Y6(e),n)}(e,n)}throw W6(e)}(e,n):rs(e)}function iE(e,n){return qn((t,r)=>{let i=null,o=0,s=!1;const u=()=>s&&!i&&r.complete();t.subscribe(Cn(r,c=>{i?.unsubscribe();let d=0;const h=o++;rs(e(c,h)).subscribe(i=Cn(r,m=>r.next(n?n(c,m,h,d++):m),()=>{i=null,u()}))},()=>{s=!0,u()}))})}const f0={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return f0.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return f0.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let Mv;function l$(e,n,t){let r=t;return function r$(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((i,o)=>!("*"===i||!function o$(e,n){if(!Mv){const t=Element.prototype;Mv=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Mv.call(e,n)}(e,i)||(r=o,0))),r}class h${constructor(n,t){this.componentFactory=t.get(Fu).resolveComponentFactory(n)}create(n){return new f$(this.componentFactory,n)}}class f${constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new vV(1),this.events=this.eventEmitters.pipe(iE(r=>function t$(...e){const n=h0(e),t=function ZV(e,n){return"number"==typeof Tv(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?rs(r[0]):J6(t)(Xa(r,n)):Q6}(...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(Et),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=f0.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,r){this.runInZone(()=>{r&&(t=r.call(this.componentRef?.instance,t)),null!==this.componentRef?function s$(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=Jt.create({providers:[],parent:this.injector}),r=function c$(e,n){const t=e.childNodes,r=n.map(()=>[]);let i=-1;n.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=t.length;o<s;++o){const u=t[o],c=l$(u,n,i);-1!==c&&r[c].push(u)}return r}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.viewChangeDetectorRef=this.componentRef.injector.get(pl),this.implementsOnChanges=function i$(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(yo).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>n.instance[r].pipe(Kt(s=>({name:i,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=f0.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[n];if(r)return void(r.currentValue=t);const i=this.unchangedInputs.has(n),o=i?void 0:this.getInputValue(n);this.inputChanges[n]=new x2(o,t,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class p$ extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class Tn{constructor(n,t){this.type=n,this.payload=t}}const qi={phoneNumber:{length:{min:4,max:30}},card:{code:{lengths:{"american-express":[3,4]}},number:{length:{min:13,max:19}},holder:{length:{min:1,max:128}}},keys:{apmsCollapse:"apms-collapse"}};function oE(e,n,t,r,i,o,s){try{var u=e[o](s),c=u.value}catch(d){return void t(d)}u.done?n(c):Promise.resolve(c).then(r,i)}function yl(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function s(c){oE(o,r,i,s,u,"next",c)}function u(c){oE(o,r,i,s,u,"throw",c)}s(void 0)})}}function p0(e,n){return new Promise(function(t){return setTimeout(t,e,n)})}function m0(e){return!!e&&"function"==typeof e.then}function aE(e,n){try{var t=e();m0(t)?t.then(function(r){return n(!0,r)},function(r){return n(!1,r)}):n(!0,t)}catch(r){n(!1,r)}}function uE(e,n,t){return void 0===t&&(t=16),_o(this,void 0,void 0,function(){var r,i,o,s;return ns(this,function(u){switch(u.label){case 0:r=Array(e.length),i=Date.now(),o=0,u.label=1;case 1:return o<e.length?(r[o]=n(e[o],o),(s=Date.now())>=i+t?(i=s,[4,new Promise(function(e){var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(null)})]):[3,3]):[3,4];case 2:u.sent(),u.label=3;case 3:return++o,[3,1];case 4:return[2,r]}})})}function dh(e){return e.then(void 0,function(){}),e}function Iv(e){return parseInt(e)}function is(e){return parseFloat(e)}function ga(e,n){return"number"==typeof e&&isNaN(e)?n:e}function di(e){return e.reduce(function(n,t){return n+(t?1:0)},0)}function cE(e,n){if(void 0===n&&(n=1),Math.abs(n)>=1)return Math.round(e/n)*n;var t=1/n;return Math.round(e*t)/t}function Ja(e,n){var h=0,m=0,g=0,y=0;g+=(y+=(65535&e[1])+(65535&n[1]))>>>16,y&=65535,m+=(g+=(e[1]>>>16)+(n[1]>>>16))>>>16,g&=65535,h+=(m+=(65535&e[0])+(65535&n[0]))>>>16,h+=(e[0]>>>16)+(n[0]>>>16),e[0]=(h&=65535)<<16|(m&=65535),e[1]=g<<16|y}function wo(e,n){var r=65535&e[0],i=e[1]>>>16,o=65535&e[1],u=65535&n[0],c=n[1]>>>16,d=65535&n[1],h=0,m=0,g=0,y=0;g+=(y+=o*d)>>>16,y&=65535,m+=(g+=i*d)>>>16,g&=65535,m+=(g+=o*c)>>>16,g&=65535,h+=(m+=r*d)>>>16,m&=65535,h+=(m+=i*c)>>>16,m&=65535,h+=(m+=o*u)>>>16,h+=(e[0]>>>16)*d+r*c+i*u+o*(n[0]>>>16),e[0]=(h&=65535)<<16|(m&=65535),e[1]=g<<16|y}function vl(e,n){var t=e[0];32==(n%=64)?(e[0]=e[1],e[1]=t):n<32?(e[0]=t<<n|e[1]>>>32-n,e[1]=e[1]<<n|t>>>32-n):(e[0]=e[1]<<(n-=32)|t>>>32-n,e[1]=t<<n|e[1]>>>32-n)}function Zi(e,n){0!=(n%=64)&&(n<32?(e[0]=e[1]>>>32-n,e[1]=e[1]<<n):(e[0]=e[1]<<n-32,e[1]=0))}function Mn(e,n){e[0]^=n[0],e[1]^=n[1]}var C$=[4283543511,3981806797],E$=[3301882366,444984403];function lE(e){var n=[0,e[0]>>>1];Mn(e,n),wo(e,C$),n[1]=e[0]>>>1,Mn(e,n),wo(e,E$),n[1]=e[0]>>>1,Mn(e,n)}var g0=[2277735313,289559509],y0=[1291169091,658871167],dE=[0,5],D$=[0,1390208809],S$=[0,944331445];function fE(){var e=window,n=navigator;return di(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in n,"msPointerEnabled"in n])>=4}function hh(){var e=window,n=navigator;return di(["webkitPersistentStorage"in n,"webkitTemporaryStorage"in n,0===n.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function os(){var e=window;return di(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Pv(){var e=window,n=e.HTMLElement,t=e.Document;return di(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),n&&!("autocapitalize"in n.prototype),t&&"pointerLockElement"in t.prototype])>=4}function fh(){var e=window;return function I$(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}(e.print)&&"[object WebPageNamespace]"===String(e.browser)}function pE(){var e,n,t=window;return di(["buildID"in navigator,"MozAppearance"in(null!==(n=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==n?n:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function ph(){var e=window,n=navigator,t=e.CSS,r=e.HTMLButtonElement;return di([!("getStorageUpdates"in n),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function F$(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Av(){var e=hh(),n=pE(),t=window,r=navigator,i="connection";return e?di([!("SharedWorker"in t),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:!!n&&di(["onorientationchange"in t,"orientation"in t,/android/i.test(r.appVersion)])>=2}function mE(e){var n=new Error(e);return n.name=e,n}function gE(e,n,t){var r,i,o;return void 0===t&&(t=50),_o(this,void 0,void 0,function(){var s,u;return ns(this,function(c){switch(c.label){case 0:s=document,c.label=1;case 1:return s.body?[3,3]:[4,p0(t)];case 2:return c.sent(),[3,1];case 3:u=s.createElement("iframe"),c.label=4;case 4:return c.trys.push([4,,10,11]),[4,new Promise(function(d,h){var m=!1,g=function(){m=!0,d()};u.onload=g,u.onerror=function(k){m=!0,h(k)};var _=u.style;_.setProperty("display","block","important"),_.position="absolute",_.top="0",_.left="0",_.visibility="hidden",n&&"srcdoc"in u?u.srcdoc=n:u.src="about:blank",s.body.appendChild(u);var S=function(){var k,R;m||("complete"===(null===(R=null===(k=u.contentWindow)||void 0===k?void 0:k.document)||void 0===R?void 0:R.readyState)?g():setTimeout(S,10))};S()})];case 5:c.sent(),c.label=6;case 6:return null!==(i=null===(r=u.contentWindow)||void 0===r?void 0:r.document)&&void 0!==i&&i.body?[3,8]:[4,p0(t)];case 7:return c.sent(),[3,6];case 8:return[4,e(u,u.contentWindow)];case 9:return[2,c.sent()];case 10:return null===(o=u.parentNode)||void 0===o||o.removeChild(u),[7];case 11:return[2]}})})}function z$(e){for(var n=function _$(e){for(var n,t,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),o=i[1]||void 0,s={},u=/([.:#][\w-]+|\[.+?\])/gi,c=function(g,y){s[g]=s[g]||[],s[g].push(y)};;){var d=u.exec(i[2]);if(!d)break;var h=d[0];switch(h[0]){case".":c("class",h.slice(1));break;case"#":c("id",h.slice(1));break;case"[":var m=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(h);if(!m)throw new Error(r);c(m[1],null!==(t=null!==(n=m[4])&&void 0!==n?n:m[5])&&void 0!==t?t:"");break;default:throw new Error(r)}}return[o,s]}(e),r=n[1],i=document.createElement(n[0]??"div"),o=0,s=Object.keys(r);o<s.length;o++){var u=s[o],c=r[u].join(" ");"style"===u?W$(i.style,c):i.setAttribute(u,c)}return i}function W$(e,n){for(var t=0,r=n.split(";");t<r.length;t++){var o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(r[t]);o&&e.setProperty(o[1],o[2],o[4]||"")}}var bl=["monospace","sans-serif","serif"],yE=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function xv(e){return e.toDataURL()}var v0,kv;function Nv(){var e=screen;return[ga(is(e.availTop),null),ga(is(e.width)-is(e.availWidth)-ga(is(e.availLeft),0),null),ga(is(e.height)-is(e.availHeight)-ga(is(e.availTop),0),null),ga(is(e.availLeft),null)]}function Ov(e){for(var n=0;n<4;++n)if(e[n])return!1;return!0}function Oj(e){var n;return _o(this,void 0,void 0,function(){var t,r,i,o,s,u,c;return ns(this,function(d){switch(d.label){case 0:for(t=document,r=t.createElement("div"),i=new Array(e.length),o={},vE(r),c=0;c<e.length;++c)"DIALOG"===(s=z$(e[c])).tagName&&s.show(),vE(u=t.createElement("div")),u.appendChild(s),r.appendChild(u),i[c]=s;d.label=1;case 1:return t.body?[3,3]:[4,p0(50)];case 2:return d.sent(),[3,1];case 3:t.body.appendChild(r);try{for(c=0;c<e.length;++c)i[c].offsetParent||(o[e[c]]=!0)}finally{null===(n=r.parentNode)||void 0===n||n.removeChild(r)}return[2,o]}})})}function vE(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function bE(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function _E(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function _l(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function wE(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function CE(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function EE(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var Vt=Math,hi=function(){return 0},Rv={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},tB=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),nB=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),rB=["FRAGMENT_SHADER","VERTEX_SHADER"],iB=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],TE="WEBGL_debug_renderer_info";function ME(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",function(){return t=void 0});for(var r=0,i=["webgl","experimental-webgl"];r<i.length;r++){var o=i[r];try{t=n.getContext(o)}catch{}if(t)break}return e.webgl={context:t},t}function uB(e,n,t){var r=e.getShaderPrecisionFormat(e[n],e[t]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function IE(e){return Object.keys(e.__proto__).filter(cB)}function cB(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function PE(){return pE()}function AE(e){return"function"==typeof e.getParameter}var hB={fonts:function K$(){var e=this;return gE(function(n,t){var r=t.document;return _o(e,void 0,void 0,function(){var i,o,s,u,c,d,m,g,y,_,S;return ns(this,function(k){for((i=r.body).style.fontSize="48px",(o=r.createElement("div")).style.setProperty("visibility","hidden","important"),s={},u={},d=function(R,N){return c("'".concat(R,"',").concat(N))},m=function(){for(var R={},N=function(ye){R[ye]=bl.map(function(Ie){return d(ye,Ie)})},Y=0,K=yE;Y<K.length;Y++)N(K[Y]);return R},g=function(R){return bl.some(function(N,Y){return R[Y].offsetWidth!==s[N]||R[Y].offsetHeight!==u[N]})},y=bl.map(c=function(R){var N=r.createElement("span"),Y=N.style;return Y.position="absolute",Y.top="0",Y.left="0",Y.fontFamily=R,N.textContent="mmMwWLliI0O&1",o.appendChild(N),N}),_=m(),i.appendChild(o),S=0;S<bl.length;S++)s[bl[S]]=y[S].offsetWidth,u[bl[S]]=y[S].offsetHeight;return[2,yE.filter(function(R){return g(_[R])})]})})})},domBlockers:function kj(e){var t=(void 0===e?{}:e).debug;return _o(this,void 0,void 0,function(){var r,i,s,u,c;return ns(this,function(d){switch(d.label){case 0:return function Nj(){return os()||Av()}()?(r=function xj(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),i=Object.keys(r),[4,Oj((c=[]).concat.apply(c,i.map(function(h){return r[h]})))]):[2,void 0];case 1:return s=d.sent(),t&&function Rj(e,n){for(var t="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];t+="\n".concat(o,":");for(var s=0,u=e[o];s<u.length;s++){var c=u[s];t+="\n ".concat(n[c]?"\u{1f6ab}":"\u27a1\ufe0f"," ").concat(c)}}console.log("".concat(t,"\n```"))}(r,s),(u=i.filter(function(h){var m=r[h];return di(m.map(function(y){return s[y]}))>.6*m.length})).sort(),[2,u]}})})},fontPreferences:function qj(){return function Zj(e,n){return void 0===n&&(n=4e3),gE(function(t,r){var i=r.document,o=i.body,s=o.style;s.width="".concat(n,"px"),s.webkitTextSizeAdjust=s.textSizeAdjust="none",hh()?o.style.zoom="".concat(1/r.devicePixelRatio):os()&&(o.style.zoom="reset");var u=i.createElement("div");return u.textContent=Sv([],Array(n/20|0),!0).map(function(){return"word"}).join(" "),o.appendChild(u),e(i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}(function(e,n){for(var t={},r={},i=0,o=Object.keys(Rv);i<o.length;i++){var u=Rv[s=o[i]],c=u[0],d=void 0===c?{}:c,h=u[1],m=void 0===h?"mmMwWLliI0fiflO&1":h,g=e.createElement("span");g.textContent=m,g.style.whiteSpace="nowrap";for(var y=0,_=Object.keys(d);y<_.length;y++){var S=_[y],k=d[S];void 0!==k&&(g.style[S]=k)}t[s]=g,n.append(e.createElement("br"),g)}for(var R=0,N=Object.keys(Rv);R<N.length;R++){var s;r[s=N[R]]=t[s].getBoundingClientRect().width}return r})},audio:function $$(){return function H$(){return os()&&ph()&&fh()||hh()&&function V$(){var e=navigator,n=window,t=Audio.prototype,r=n.visualViewport;return di(["srLatency"in t,"srChannelCount"in t,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}()&&function N$(){var e=window,n=e.URLPattern;return di(["union"in Set.prototype,"Iterator"in e,n&&"hasRegExpGroups"in n.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()}()?-4:function j$(){var e=window,n=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!n)return-2;if(function B$(){return os()&&!Pv()&&!function O$(){var e=window;return di(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()}())return-1;var i=new n(1,5e3,44100),o=i.createOscillator();o.type="triangle",o.frequency.value=1e4;var s=i.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,o.connect(s),s.connect(i.destination),o.start(0);var u=function G$(e){var o=function(){},s=new Promise(function(u,c){var d=!1,h=0,m=0;e.oncomplete=function(_){return u(_.renderedBuffer)};var g=function(){setTimeout(function(){return c(mE("timeout"))},Math.min(500,m+5e3-Date.now()))},y=function(){try{var _=e.startRendering();switch(m0(_)&&dh(_),e.state){case"running":m=Date.now(),d&&g();break;case"suspended":document.hidden||h++,d&&h>=3?c(mE("suspended")):setTimeout(y,500)}}catch(S){c(S)}};y(),o=function(){d||(d=!0,m>0&&g())}});return[s,o]}(i),d=u[1],h=dh(u[0].then(function(m){return function U$(e){for(var n=0,t=0;t<e.length;++t)n+=Math.abs(e[t]);return n}(m.getChannelData(0).subarray(4500))},function(m){if("timeout"===m.name||"suspended"===m.name)return-3;throw m}));return function(){return d(),h}}()},screenFrame:function vj(){var e=this;if(os()&&ph()&&fh())return function(){return Promise.resolve(void 0)};var n=function yj(){var e=this;return function gj(){if(void 0===kv){var e=function(){var n=Nv();Ov(n)?kv=setTimeout(e,2500):(v0=n,kv=void 0)};e()}}(),function(){return _o(e,void 0,void 0,function(){var n;return ns(this,function(t){switch(t.label){case 0:return Ov(n=Nv())?v0?[2,Sv([],v0,!0)]:function L$(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,F$()]:[3,2]:[3,2];case 1:t.sent(),n=Nv(),t.label=2;case 2:return Ov(n)||(v0=n),[2,n]}})})}}();return function(){return _o(e,void 0,void 0,function(){var t,r;return ns(this,function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,[(r=function(o){return null===o?null:cE(o,10)})(t[0]),r(t[1]),r(t[2]),r(t[3])]]}})})}},canvas:function J$(){return function Q$(e){var n,r,i,t=!1,o=function ej(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),s=o[0],u=o[1];return function tj(e,n){return!(!n||!e.toDataURL)}(s,u)?(t=function nj(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(u),e?r=i="skipped":(n=function rj(e,n){!function ij(e,n){e.width=240,e.height=60,n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(100,1,62,20),n.fillStyle="#069",n.font='11pt "Times New Roman"';var t="Cwm fjordbank gly ".concat("\u{1f603}");n.fillText(t,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(t,4,45)}(e,n);var t=xv(e);return t!==xv(e)?["unstable","unstable"]:(function oj(e,n){e.width=122,e.height=110,n.globalCompositeOperation="multiply";for(var t=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];t<r.length;t++){var i=r[t],s=i[1],u=i[2];n.fillStyle=i[0],n.beginPath(),n.arc(s,u,40,0,2*Math.PI,!0),n.closePath(),n.fill()}n.fillStyle="#f9c",n.arc(60,60,60,0,2*Math.PI,!0),n.arc(60,60,20,0,2*Math.PI,!0),n.fill("evenodd")}(e,n),[xv(e),t])}(s,u),r=n[0],i=n[1])):r=i="unsupported",{winding:t,geometry:r,text:i}}(function sj(){return os()&&ph()&&fh()}())},osCpu:function uj(){return navigator.oscpu},languages:function cj(){var e=navigator,n=[],t=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==t&&n.push([t]),Array.isArray(e.languages))hh()&&function k$(){var e=window;return di([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||n.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&n.push(r.split(","))}return n},colorDepth:function lj(){return window.screen.colorDepth},deviceMemory:function dj(){return ga(is(navigator.deviceMemory),void 0)},screenResolution:function hj(){if(!(os()&&ph()&&fh()))return function fj(){var e=screen,n=function(r){return ga(Iv(r),null)},t=[n(e.width),n(e.height)];return t.sort().reverse(),t}()},hardwareConcurrency:function bj(){return ga(Iv(navigator.hardwareConcurrency),void 0)},timezone:function _j(){var e,n=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(n){var t=(new n).resolvedOptions().timeZone;if(t)return t}var r=-function wj(){var e=(new Date).getFullYear();return Math.max(is(new Date(e,0,1).getTimezoneOffset()),is(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(r)},sessionStorage:function Cj(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function Ej(){try{return!!window.localStorage}catch{return!0}},indexedDB:function Dj(){if(!fE()&&!function x$(){var e=window,n=navigator;return di(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in n,"msSaveBlob"in n])>=3&&!fE()}())try{return!!window.indexedDB}catch{return!0}},openDatabase:function Sj(){return!!window.openDatabase},cpuClass:function Tj(){return navigator.cpuClass},platform:function Mj(){var e=navigator.platform;return"MacIntel"===e&&os()&&!Pv()?function R$(){if("iPad"===navigator.platform)return!0;var e=screen,n=e.width/e.height;return di(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,n>.65&&n<1.53])>=2}()?"iPad":"iPhone":e},plugins:function X$(){var e=navigator.plugins;if(e){for(var n=[],t=0;t<e.length;++t){var r=e[t];if(r){for(var i=[],o=0;o<r.length;++o){var s=r[o];i.push({type:s.type,suffixes:s.suffixes})}n.push({name:r.name,description:r.description,mimeTypes:i})}}return n}},touchSupport:function aj(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=Iv(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch{t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function Ij(){return navigator.vendor||""},vendorFlavors:function Pj(){for(var e=[],n=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];n<t.length;n++){var r=t[n],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function Aj(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var n=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",n}catch{return!1}},colorGamut:function Lj(){for(var e=0,n=["rec2020","p3","srgb"];e<n.length;e++){var t=n[e];if(matchMedia("(color-gamut: ".concat(t,")")).matches)return t}},invertedColors:function Fj(){return!!bE("inverted")||!bE("none")&&void 0},forcedColors:function Vj(){return!!_E("active")||!_E("none")&&void 0},monochrome:function jj(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function Bj(){return _l("no-preference")?0:_l("high")||_l("more")?1:_l("low")||_l("less")?-1:_l("forced")?10:void 0},reducedMotion:function Hj(){return!!wE("reduce")||!wE("no-preference")&&void 0},reducedTransparency:function Gj(){return!!CE("reduce")||!CE("no-preference")&&void 0},hdr:function Uj(){return!!EE("high")||!EE("standard")&&void 0},math:function zj(){var ve,n=Vt.acosh||hi,t=Vt.asin||hi,r=Vt.asinh||hi,i=Vt.atanh||hi,o=Vt.atan||hi,s=Vt.sin||hi,u=Vt.sinh||hi,c=Vt.cos||hi,d=Vt.cosh||hi,h=Vt.tan||hi,m=Vt.tanh||hi,g=Vt.exp||hi,y=Vt.expm1||hi,_=Vt.log1p||hi;return{acos:(Vt.acos||hi)(.12312423423423424),acosh:n(1e308),acoshPf:(ve=1e154,Vt.log(ve+Vt.sqrt(ve*ve-1))),asin:t(.12312423423423424),asinh:r(1),asinhPf:Vt.log(1+Vt.sqrt(2)),atanh:i(.5),atanhPf:Vt.log(3)/2,atan:o(.5),sin:s(-1e300),sinh:u(1),sinhPf:Vt.exp(1)-1/Vt.exp(1)/2,cos:c(10.000000000123),cosh:d(1),coshPf:(Vt.exp(1)+1/Vt.exp(1))/2,tan:h(-1e300),tanh:m(1),tanhPf:(Vt.exp(2)-1)/(Vt.exp(2)+1),exp:g(1),expm1:y(1),expm1Pf:Vt.exp(1)-1,log1p:_(10),log1pPf:Vt.log(11),powPI:Vt.pow(Vt.PI,-100)}},pdfViewerEnabled:function Yj(){return navigator.pdfViewerEnabled},architecture:function Kj(){var e=new Float32Array(1),n=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],n[3]},applePay:function Xj(){var e=window.ApplePaySession;if("function"!=typeof e?.canMakePayments)return-1;if(function q$(){for(var e=window;;){var n=e.parent;if(!n||n===e)return!1;try{if(n.location.origin!==e.location.origin)return!0}catch(t){if(t instanceof Error&&"SecurityError"===t.name)return!0;throw t}e=n}}())return-3;try{return e.canMakePayments()?1:0}catch(n){return function Qj(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}(n)}},privateClickMeasurement:function eB(){var e,n=document.createElement("a"),t=null!==(e=n.attributionSourceId)&&void 0!==e?e:n.attributionsourceid;return void 0===t?void 0:String(t)},audioBaseLatency:function dB(){var e;return Av()||os()?window.AudioContext&&null!==(e=(new AudioContext).baseLatency)&&void 0!==e?e:-1:-2},webGlBasics:function sB(e){var n,t,r,i,o,s,c=ME(e.cache);if(!c)return-1;if(!AE(c))return-2;var d=PE()?null:c.getExtension(TE);return{version:(null===(n=c.getParameter(c.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(t=c.getParameter(c.VENDOR))||void 0===t?void 0:t.toString())||"",vendorUnmasked:d?null===(r=c.getParameter(d.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=c.getParameter(c.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:d?null===(o=c.getParameter(d.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(s=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||""}},webGlExtensions:function aB(e){var t=ME(e.cache);if(!t)return-1;if(!AE(t))return-2;var r=t.getSupportedExtensions(),i=t.getContextAttributes(),o=[],s=[],u=[],c=[],d=[];if(i)for(var h=0,m=Object.keys(i);h<m.length;h++){var g=m[h];s.push("".concat(g,"=").concat(i[g]))}for(var _=0,S=IE(t);_<S.length;_++){var R=t[k=S[_]];u.push("".concat(k,"=").concat(R).concat(tB.has(R)?"=".concat(t.getParameter(R)):""))}if(r)for(var N=0,Y=r;N<Y.length;N++){var K=Y[N];if(!(K===TE&&PE()||"WEBGL_polygon_mode"===K&&(hh()||os()))){var ee=t.getExtension(K);if(!ee){o.push(K);continue}for(var ye=0,Ie=IE(ee);ye<Ie.length;ye++){var k;R=ee[k=Ie[ye]],c.push("".concat(k,"=").concat(R).concat(nB.has(R)?"=".concat(t.getParameter(R)):""))}}}for(var ve=0,In=rB;ve<In.length;ve++)for(var Vn=In[ve],Wn=0,pi=iB;Wn<pi.length;Wn++){var iu=pi[Wn],Do=uB(t,Vn,iu);d.push("".concat(Vn,".").concat(iu,"=").concat(Do.join(",")))}return c.sort(),u.sort(),{contextAttributes:s,parameters:u,shaderPrecisions:d,extensions:r,extensionParameters:c,unsupportedExtensions:o}}},pB="$ if upgrade to Pro: https://fpjs.dev/pro";function xE(e){return JSON.stringify(e,function(n,t){return t instanceof Error?function M$(e){var n;return l0({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(t):t},2)}function kE(e){return function T$(e,n){var h,t=function w$(e){for(var n=new Uint8Array(e.length),t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r>127)return(new TextEncoder).encode(e);n[t]=r}return n}(e),r=[0,t.length],i=r[1]%16,o=r[1]-i,s=[0,n=n||0],u=[0,n],c=[0,0],d=[0,0];for(h=0;h<o;h+=16)c[0]=t[h+4]|t[h+5]<<8|t[h+6]<<16|t[h+7]<<24,c[1]=t[h]|t[h+1]<<8|t[h+2]<<16|t[h+3]<<24,d[0]=t[h+12]|t[h+13]<<8|t[h+14]<<16|t[h+15]<<24,d[1]=t[h+8]|t[h+9]<<8|t[h+10]<<16|t[h+11]<<24,wo(c,g0),vl(c,31),wo(c,y0),Mn(s,c),vl(s,27),Ja(s,u),wo(s,dE),Ja(s,D$),wo(d,y0),vl(d,33),wo(d,g0),Mn(u,d),vl(u,31),Ja(u,s),wo(u,dE),Ja(u,S$);c[0]=0,c[1]=0,d[0]=0,d[1]=0;var m=[0,0];switch(i){case 15:m[1]=t[h+14],Zi(m,48),Mn(d,m);case 14:m[1]=t[h+13],Zi(m,40),Mn(d,m);case 13:m[1]=t[h+12],Zi(m,32),Mn(d,m);case 12:m[1]=t[h+11],Zi(m,24),Mn(d,m);case 11:m[1]=t[h+10],Zi(m,16),Mn(d,m);case 10:m[1]=t[h+9],Zi(m,8),Mn(d,m);case 9:m[1]=t[h+8],Mn(d,m),wo(d,y0),vl(d,33),wo(d,g0),Mn(u,d);case 8:m[1]=t[h+7],Zi(m,56),Mn(c,m);case 7:m[1]=t[h+6],Zi(m,48),Mn(c,m);case 6:m[1]=t[h+5],Zi(m,40),Mn(c,m);case 5:m[1]=t[h+4],Zi(m,32),Mn(c,m);case 4:m[1]=t[h+3],Zi(m,24),Mn(c,m);case 3:m[1]=t[h+2],Zi(m,16),Mn(c,m);case 2:m[1]=t[h+1],Zi(m,8),Mn(c,m);case 1:m[1]=t[h],Mn(c,m),wo(c,g0),vl(c,31),wo(c,y0),Mn(s,c)}return Mn(s,r),Mn(u,r),Ja(s,u),Ja(u,s),lE(s),lE(u),Ja(s,u),Ja(u,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[1]>>>0).toString(16)).slice(-8)}(function vB(e){for(var n="",t=0,r=Object.keys(e).sort();t<r.length;t++){var i=r[t],o=e[i],s="error"in o?"error":JSON.stringify(o.value);n+="".concat(n?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return n}(e))}function _B(e){return void 0===e&&(e=50),function y$(e,n){void 0===n&&(n=1/0);var t=window.requestIdleCallback;return t?new Promise(function(r){return t.call(window,function(){return r()},{timeout:n})}):p0(Math.min(e,n))}(e,2*e)}function wB(e,n){var t=Date.now();return{get:function(r){return _o(this,void 0,void 0,function(){var i,o,s;return ns(this,function(u){switch(u.label){case 0:return i=Date.now(),[4,e()];case 1:return o=u.sent(),s=function bB(e){var n,t=function mB(e){var n=function gB(e){if(Av())return.4;if(os())return!Pv()||ph()&&fh()?.3:.5;var n="value"in e.platform?e.platform.value:"";return/^Win/.test(n)?.6:/^Mac/.test(n)?.5:.7}(e),t=function yB(e){return cE(.99+.01*e,1e-4)}(n);return{score:n,comment:pB.replace(/\$/g,"".concat(t))}}(e);return{get visitorId(){return void 0===n&&(n=kE(this.components)),n},set visitorId(r){n=r},confidence:t,components:e,version:"4.5.1"}}(o),(n||r?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(i-t,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(xE(o),"\n```")),[2,s]}})})}}}var DB={load:function EB(e){var n;return void 0===e&&(e={}),_o(this,void 0,void 0,function(){var r,i;return ns(this,function(o){switch(o.label){case 0:return(!(null!==(n=e.monitoring)&&void 0!==n)||n)&&function CB(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat("4.5.1","/npm-monitoring"),!0),e.send()}catch(n){console.error(n)}}(),r=e.debug,[4,_B(e.delayFallback)];case 1:return o.sent(),i=function fB(e){return function A$(e,n,t,r){var i=Object.keys(e).filter(function(s){return function b$(e,n){return!function v$(e,n){for(var t=0,r=e.length;t<r;++t)if(e[t]===n)return!0;return!1}(e,n)}(t,s)}),o=dh(uE(i,function(s){return function P$(e,n){var t=dh(new Promise(function(r){var i=Date.now();aE(e.bind(null,n),function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var u=Date.now()-i;if(!o[0])return r(function(){return{error:o[1],duration:u}});var c=o[1];if(function hE(e){return"function"!=typeof e}(c))return r(function(){return{value:c,duration:u}});r(function(){return new Promise(function(d){var h=Date.now();aE(c,function(){for(var m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];var y=u+Date.now()-h;if(!m[0])return d({error:m[1],duration:y});d({value:m[1],duration:y})})})})})}));return function(){return t.then(function(i){return i()})}}(e[s],n)},r));return function(){return _o(this,void 0,void 0,function(){var c,d,h,m;return ns(this,function(g){switch(g.label){case 0:return[4,o];case 1:return[4,uE(g.sent(),function(y){return dh(y())},r)];case 2:return c=g.sent(),[4,Promise.all(c)];case 3:for(d=g.sent(),h={},m=0;m<i.length;++m)h[i[m]]=d[m];return[2,h]}})})}}(hB,e,[])}({cache:{},debug:r}),[2,wB(i,r)]}})})},hashComponents:kE,componentsToDebugString:xE},NE=function(e){return e[e.SMALL=1]="SMALL",e[e.MEDIUM=2]="MEDIUM",e[e.LARGE=3]="LARGE",e[e.EXTRA_LARGE=4]="EXTRA_LARGE",e[e.FULL_SCREEN=5]="FULL_SCREEN",e}(NE||{});const MB=DB.load();function IB(){return new gt(e=>{(function PB(){return Lv.apply(this,arguments)})().then(n=>{e.next(n),e.complete()}).catch(n=>{e.error(n)})})}function Lv(){return(Lv=yl(function*(){const e={};e.browserData=function SB(){const e=screen.height||window.innerHeight,n=screen.width||window.innerWidth,t=NE.FULL_SCREEN;return{timezoneOffsetUtcMinutes:(new Date).getTimezoneOffset(),locale:navigator.language,userAgent:navigator.userAgent,javaEnabled:navigator.javaEnabled()||!1,javaScriptEnabled:!0,colorDepth:screen.colorDepth,width:n,height:e,challengeWindowSize:t}}();try{const n=yield(yield MB).get();e.id=n.visitorId,e.fonts=n.components.fonts.value;const t=navigator,r=t.getBattery?t.getBattery():void 0;let i;r&&(i=yield r,e.batteryLevelAndChargingStatus=i?`level: ${i.level??"unknown"}; charging: ${i.charging??"unknown"}`:void 0);const o=t.connection||t.mozConnection||t.webkitConnection;e.networkParameters=o?`type: ${o.type??"unknown"}; effectiveType: ${o.effectiveType??"unknown"}`:void 0}catch{}return e})).apply(this,arguments)}class b0{constructor(){this.emitEnabled=!0,this.optionalEmitEnabled=!0,this.emitter=new yn}emit(n,t){this.emitEnabled&&(!t||t&&this.optionalEmitEnabled)&&this.emitter.emit(n)}}let ln=(()=>{class e{constructor(){this.componentsStates={availableCardBrands:mt({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardList:mt({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardForm:mt({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),additionalForm:mt({isRequired:!1,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),chargeTerms:mt({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),payButton:mt({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),apmList:mt({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),userPreferences:mt({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),merchantInfo:mt({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),protectedBy:mt({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0})},this.visibility={availableCardBrands:Tt(()=>this.componentsStates.availableCardBrands().enabled&&!!this.data.settings()?.components?.some(t=>"available-card-brands"===t)),cardList:Tt(()=>this.componentsStates.cardList().enabled&&!!this.data.settings()?.components?.some(t=>"card-list"===t)),cardForm:Tt(()=>this.componentsStates.cardForm().enabled&&!!this.data.settings()?.components?.some(t=>"requisites"===t)),additionalForm:Tt(()=>this.componentsStates.cardForm().enabled&&this.componentsStates.additionalForm().enabled&&!!this.data.settings()?.components?.some(t=>"phone-number"===t)),chargeTerms:Tt(()=>this.componentsStates.chargeTerms().enabled&&!!this.data.settings()?.components?.some(t=>"charge-terms"===t)&&!this.visibility.noMethods()),payButton:Tt(()=>(this.componentsStates.cardList().enabled||this.componentsStates.cardForm().enabled)&&this.componentsStates.payButton().enabled&&!!this.data.settings()?.components?.some(t=>"pay-button"===t)),apmList:Tt(()=>this.componentsStates.apmList().enabled&&!!this.data.settings()?.components?.some(t=>"apm-list"===t)),userPreferences:Tt(()=>this.componentsStates.userPreferences().enabled&&!!this.data.settings()?.components?.some(t=>"user-preferences"===t)&&!this.visibility.noMethods()),merchantInfo:Tt(()=>this.componentsStates.merchantInfo().enabled&&!!this.data.settings()?.components?.some(t=>"merchant-info"===t)),protectedBy:Tt(()=>this.componentsStates.protectedBy().enabled&&!!this.data.settings()?.components?.some(t=>"protected-by"===t)),noMethods:Tt(()=>!this.componentsStates.cardForm().enabled&&!this.componentsStates.cardList().enabled&&!this.componentsStates.apmList().enabled)},this.data={payment:mt(void 0),settings:mt(void 0),userProvidedInfo:mt({}),loadedPaymentSystems:mt([]),loadedExistingCards:mt([]),deviceInfo:mt(void 0),state:mt({type:"empty",payload:void 0}),paymentSystemsLoading:mt(!1),cardsLoading:mt(!1)},this.computed={isLoading:Tt(()=>this.data.paymentSystemsLoading()||this.data.cardsLoading()),paymentAvailability:Tt(()=>{const t=this.data.settings(),r={canPay:{byCard:!1,byApm:!1},isPayButtonDisabled:!1};if(!t)return r;let i=!0,o=!0;for(let s in this.componentsStates)if(this.componentsStates.hasOwnProperty(s)){const u=this.componentsStates[s]();i=i&&(u.isValid||!u.enabled),o=o&&(u.filled||!u.enabled),"chargeTerms"===s&&(!u.enabled||u.isValid)&&(r.canPay.byApm=!0)}return"disabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?"hidden-enabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?i?{canPay:{...r.canPay,byCard:!0}}:r:{...r,buttonDisableClass:"hidden-enabled-element",elementDisableClass:"hidden-enabled-element"}:{...r,elementDisableClass:"disabled-element",isPayButtonDisabled:!0}})},this.events={analytics:new b0,error:new b0,close:new b0,paid:new b0},this.callbacks={},this.clients={googlePay:void 0}}updateCanShowError(t){for(let r in this.componentsStates)this.componentsStates.hasOwnProperty(r)&&this.componentsStates[r].update(i=>i.canShowError===t?i:{...i,canShowError:t})}updateCanShowErrorForApm(t){this.componentsStates.chargeTerms.update(r=>({...r,canShowError:t}))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();function _0(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function Fv(e,...n){if(!n.length)return e;const t=n.shift();if(_0(e)&&_0(t))for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=t[r];e[r]=_0(i)&&_0(e[r])?Fv(e[r],i):i}return Fv(e,...n)}function AB(...e){return Fv({},...e)}function OE(e){return"string"==typeof e||e instanceof String?JSON.parse(e):e}const RE={header:"Checkout",errors:{notCheckedCheckboxes:"Please check these boxes",invalidCardHolder:"Invalid cardholder name",invalidCardNumber:"Invalid card number",invalidCardExpiration:"Invalid card date",invalidCvv:"Invalid card code",invalidPhoneNumber:"Invalid phone number"},requisites:{paymentDetailsHeader:"Payment details",cardNumberPlaceholder:"Card number",cardExpirationPlaceholder:"MM/YY",cvvHint:"CVV (Card Verification Value)",cardHolderHeader:"Name on card",cardHolderPlaceholder:"Name on card"},phone:{header:"Phone",placeholder:"Phone number"},apms:{or:"OR",orUseAlternative:"or use alternative methods"},totalHeader:"Total",pay:"Pay",availableCardBrandsHeader:"Payment methods",transactionProtectedBy:"Your transactions are protected by",existingCards:{manageCardsHeader:"Manage cards",addNewCard:"Add new card",removeCard:"Remove card"},paymentResult:{success:"We placed your order",failure:{main:"Something went wrong",paymentFailed:"Payment failed."}},paymentProcessing:"payment processing",notifications:{cardDeleted:{title:"Successful",text:"Card has been deleted"},error:{default:{title:"Attention!",text:"Unable to process the payment"}}},noAvailablePaymentMethods:"No available payment methods...",close:"Close"},kB={urls:{},availableCardBrands:["mastercard","visa"],chargeTerms:void 0,isCloseButtonVisible:!0,isProblemTipsListVisible:!1,isTaxVisible:!1,isSignatureRequired:!1,isHeaderVisible:!0,closePaymentRedirect:!0,languageSettings:{code:"en-US",languages:{"en-US":RE,"es-ES":{header:"Verificar",errors:{notCheckedCheckboxes:"Debe marcar estas casillas",invalidCardHolder:"Nombre del titular de la tarjeta no v\xe1lido",invalidCardNumber:"N\xfamero de tarjeta no v\xe1lido",invalidCardExpiration:"Fecha de la tarjeta no v\xe1lida",invalidCvv:"C\xf3digo de la tarjeta no v\xe1lido",invalidPhoneNumber:"N\xfamero de tel\xe9fono no v\xe1lido"},requisites:{paymentDetailsHeader:"Detalles del pago",cardNumberPlaceholder:"N\xfamero de tarjeta",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valor de verificaci\xf3n de la tarjeta)",cardHolderHeader:"Nombre en la tarjeta",cardHolderPlaceholder:"Nombre en la tarjeta"},phone:{header:"Tel\xe9fono",placeholder:"N\xfamero de tel\xe9fono"},apms:{or:"O",orUseAlternative:"o usar m\xe9todos alternativos"},totalHeader:"Total",pay:"Pagar",availableCardBrandsHeader:"M\xe9todos de pago",transactionProtectedBy:"Sus transacciones est\xe1n protegidas por",existingCards:{manageCardsHeader:"Gestionar tarjetas",addNewCard:"A\xf1adir nueva tarjeta",removeCard:"Eliminar tarjeta"},paymentResult:{success:"Hemos realizado su pedido",failure:{main:"Algo sali\xf3 mal",paymentFailed:"El pago no se ha procesado."}},paymentProcessing:"Procesando el pago\u2026",notifications:{cardDeleted:{title:"Exitoso",text:"Se ha eliminado la tarjeta."},error:{default:{title:"\xa1Atenci\xf3n!",text:"No se ha podido procesar el pago."}}},noAvailablePaymentMethods:"No hay m\xe9todos de pago disponibles\u2026",close:"Cerrar"},"fr-FR":{header:"Paiement",errors:{notCheckedCheckboxes:"Veuillez cocher les cases suivantes",invalidCardHolder:"Nom du titulaire de la carte invalide",invalidCardNumber:"Num\xe9ro de carte non valide",invalidCardExpiration:"Date de la carte invalide",invalidCvv:"Code de carte invalide",invalidPhoneNumber:"Num\xe9ro de t\xe9l\xe9phone invalide"},requisites:{paymentDetailsHeader:"Modalit\xe9s de paiement",cardNumberPlaceholder:"Num\xe9ro de carte",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valeur de v\xe9rification de la carte)",cardHolderHeader:"Nom sur la carte",cardHolderPlaceholder:"Nom sur la carte"},phone:{header:"T\xe9l\xe9phone",placeholder:"Num\xe9ro de t\xe9l\xe9phone"},apms:{or:"OU",orUseAlternative:"ou utilisez des m\xe9thodes alternatives"},totalHeader:"Total",pay:"Payer",availableCardBrandsHeader:"Modes de paiement",transactionProtectedBy:"Vos transactions sont prot\xe9g\xe9es par",existingCards:{manageCardsHeader:"G\xe9rer les cartes",addNewCard:"Ajoutez une nouvelle carte",removeCard:"Supprimer la carte"},paymentResult:{success:"Nous avons pass\xe9 votre commande",failure:{main:"Une erreur est survenue",paymentFailed:"Le paiement a \xe9chou\xe9."}},paymentProcessing:"traitement du paiement",notifications:{cardDeleted:{title:"R\xe9ussie",text:"La carte a \xe9t\xe9 supprim\xe9e"},error:{default:{title:"Attention !",text:"Impossible de traiter le paiement"}}},noAvailablePaymentMethods:"Aucune m\xe9thode de paiement disponible...",close:"Fermer"}}},merchantInfo:void 0,userPreferences:void 0,components:["available-card-brands","no-methods","card-list","requisites","phone-number","charge-terms","pay-button","apm-list","user-preferences","merchant-info","protected-by"],resultComponentsStructure:{aboveResult:["available-card-brands"],belowResult:["merchant-info","protected-by"]},events:{analytics:{optional:!1,required:!1},error:!0},requiredFieldsBehavior:{buttonStateUntilFilled:"enabled",markAsInvalidUntilCorrect:!1,showStars:!1},apmsCollapse:!1};function NB(e,n){if(1&e&&(oe(0,"div",1),kt(1,"img",2),se()),2&e){const t=fe();W(),Ce("src",t.src,vd)("alt",t.alt)}}let wl=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-picture"]],inputs:{src:"src",alt:"alt"},decls:1,vars:1,consts:[["class","__ndb-picture",4,"ngIf"],[1,"__ndb-picture"],[1,"__ndb-picture-tag",3,"src","alt"]],template:function(r,i){1&r&&ht(0,NB,2,2,"div",0),2&r&&Ce("ngIf",i.src)},dependencies:[n0],styles:[".__ndb-picture[_ngcontent-%COMP%]{height:inherit;width:inherit}.__ndb-picture-tag[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}"],changeDetection:0})}return e})();var Cl=function(e){return e.default="default-card-icon",e.mastercard="master-card-icon",e.maestro="maestro",e.visa="visa-card-icon-new",e.discover="discover",e.jcb="jcb",e["american-express"]="american-express",e.unionpay="unionpay",e}(Cl||{});const El_customHeaders_skipToastr="X-Skip-Toastr";let OB=(()=>{class e{transform(t){const r=Cl[t];let i=r?.toString();if(i&&(r==Cl.visa&&(i+="-brand"),r==Cl.mastercard&&(i+="-brand"),r))return`https://cdn.motopays.com/images/${i}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jn({name:"brandLogo",type:e,pure:!0})}return e})();function RB(e,n){1&e&&kt(0,"moto-picture",4),2&e&&Ce("src",n)}function LB(e,n){if(1&e&&(ht(0,RB,1,1,"moto-picture",4),un(1,"brandLogo")),2&e){let t;St((t=Xd(1,1,n.$implicit))?0:-1,t)}}let FE=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-available-card-brands"]],decls:8,vars:1,consts:[[1,"__ndb-brands"],[1,"__ndb-brands-paymentsheader"],[1,"fz-14","fw-500"],[1,"__ndb-brands-payments"],[1,"__ndb-brands-payments-logo",3,"src"]],template:function(r,i){if(1&r&&(go(0),oe(1,"div",0)(2,"div",1)(3,"h6",2),je(4),se()(),oe(5,"div",3),Xo(6,LB,2,3,null,null,fa),se()()),2&r){const o=i.settings();W(4),vn(" ",o.language.availableCardBrandsHeader," "),W(2),Jo(o.availableCardBrands)}},dependencies:[wl,OB],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-brands[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-brands-payments[_ngcontent-%COMP%]{gap:10px;display:flex;justify-content:center}.__ndb-brands-payments-logo[_ngcontent-%COMP%]{height:24px;width:36px}.__ndb-brands-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px}.__ndb-brands-paymentsheader[_ngcontent-%COMP%]{justify-content:center;display:flex;align-items:center;gap:10px}"],changeDetection:0})}return e})();class FB{constructor(n,t=mt(!1)){this.item=n,this.selected=t}setSelected(n){this.selected.set(n)}}var Be=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Be||{});const ya="*";function Dl(e,n){return{type:Be.Trigger,name:e,definitions:n,options:{}}}function ss(e,n=null){return{type:Be.Animate,styles:n,timings:e}}function Fn(e){return{type:Be.Style,styles:e,offset:null}}function mh(e,n,t){return{type:Be.State,name:e,styles:n,options:t}}function as(e,n,t=null){return{type:Be.Transition,expr:e,animation:n,options:t}}class gh{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class VE{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,u)=>Math.max(s,u.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const n=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}const yh_animation_defaultAnimateMc=0;class $v{constructor(n){this.animationTime=yh_animation_defaultAnimateMc,Object.assign(this,n)}}const GB=Dl("ANHeight",[as(":enter",[Fn({overflow:"hidden",height:"0px"}),ss(yh_animation_defaultAnimateMc,Fn({height:"*",overflow:"hidden"}))]),as(":leave",[Fn({height:"*",overflow:"hidden"}),ss(yh_animation_defaultAnimateMc,Fn({height:"0px",overflow:"hidden"}))])]),UB=Dl("ANScale",[as(":enter",[Fn({opacity:0,transform:"scale(0)"}),ss(yh_animation_defaultAnimateMc,Fn({opacity:1,transform:"scale(1)"}))]),as(":leave",ss(yh_animation_defaultAnimateMc,Fn({opacity:0,transform:"scale(0)"})))]),jv=e=>{const n=new $v({animationName:"ANTransform",fromStyles:{opacity:"0",transform:"translateY(-100%)"},toStyles:{opacity:"1",transform:"translateY(0%)"}}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return Dl(r,[as(":enter",[Fn(o),ss(i,Fn(s))]),as(":leave",[Fn(s),ss(i,Fn(o))])])},zB=e=>{const n=new $v({animationName:"ANStates",fromState:"a",toState:"b"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s,fromState:u,toState:c}=t;return Dl(r,[mh(u,Fn(o)),mh(c,Fn(s)),as(`${u}<=>${c}`,ss(i))])},WB=e=>{const n=new $v({animationName:"ANStates"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return Dl(r,[as(":enter",[Fn(o),ss(i,Fn(s))]),as(":leave",[Fn(s),ss(i,Fn(o))])])};function Yi(...e){return Xa(e,h0(e))}function Sl(e){return qn((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Cn(t,void 0,void 0,s=>{o=rs(e(s,Sl(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Tl(e,n){return at(n)?d0(e,n,1):d0(e,1)}function $E(e,n){return qn((t,r)=>{let i=0;t.subscribe(Cn(r,o=>e.call(n,o,i++)&&r.next(o)))})}class w0{}class C0{}class Ki{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Ki?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Ki;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ki?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(u=>-1===o.indexOf(u)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class ZB{encodeKey(n){return jE(n)}encodeValue(n){return jE(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const KB=/%(\d[a-f0-9])/gi,XB={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function jE(e){return encodeURIComponent(e).replace(KB,(n,t)=>XB[t]??n)}function E0(e){return`${e}`}class va{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new ZB,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function YB(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,u]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=t.get(s)||[];c.push(u),t.set(s,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(E0):[E0(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new va({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(E0(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(E0(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class JB{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function BE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function HE(e){return typeof Blob<"u"&&e instanceof Blob}function GE(e){return typeof FormData<"u"&&e instanceof FormData}class vh{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function QB(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ki,this.context??=new JB,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const u=t.indexOf("?");this.urlWithParams=t+(-1===u?"?":u<t.length-1?"&":"")+s}}else this.params=new va,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||BE(this.body)||HE(this.body)||GE(this.body)||function eH(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof va?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||GE(this.body)?null:HE(this.body)?this.body.type||null:BE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof va?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,u=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress;let d=n.headers||this.headers,h=n.params||this.params;const m=n.context??this.context;return void 0!==n.setHeaders&&(d=Object.keys(n.setHeaders).reduce((g,y)=>g.set(y,n.setHeaders[y]),d)),n.setParams&&(h=Object.keys(n.setParams).reduce((g,y)=>g.set(y,n.setParams[y]),h)),new vh(t,r,s,{params:h,headers:d,context:m,reportProgress:c,responseType:i,withCredentials:u,transferCache:o})}}var Qa=function(e){return 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}(Qa||{});class Bv{constructor(n,t=200,r="OK"){this.headers=n.headers||new Ki,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class D0 extends Bv{constructor(n={}){super(n),this.type=Qa.ResponseHeader}clone(n={}){return new D0({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Wu extends Bv{constructor(n={}){super(n),this.type=Qa.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Wu({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ml extends Bv{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Hv(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let S0=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof vh)o=t;else{let c,d;c=i.headers instanceof Ki?i.headers:new Ki(i.headers),i.params&&(d=i.params instanceof va?i.params:new va({fromObject:i.params})),o=new vh(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=Yi(o).pipe(Tl(c=>this.handler.handle(c)));if(t instanceof vh||"events"===i.observe)return s;const u=s.pipe($E(c=>c instanceof Wu));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Kt(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(Kt(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(Kt(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return u.pipe(Kt(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new va).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Hv(i,r))}post(t,r,i={}){return this.request("POST",t,Hv(i,r))}put(t,r,i={}){return this.request("PUT",t,Hv(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(l(w0))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const rH=/^\)\]\}',?\n/;function zE(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let Gv=(()=>{class e{constructor(){this.fetchImpl=p(oH,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=p(Et)}handle(t){return new gt(r=>{const i=new AbortController;return this.doRequest(t,i.signal,r).then(Uv,o=>r.error(new Ml({error:o}))),()=>i.abort()})}doRequest(t,r,i){var o=this;return yl(function*(){const s=o.createRequestInit(t);let u;try{const _=o.ngZone.runOutsideAngular(()=>o.fetchImpl(t.urlWithParams,{signal:r,...s}));(function sH(e){e.then(Uv,Uv)})(_),i.next({type:Qa.Sent}),u=yield _}catch(_){return void i.error(new Ml({error:_,status:_.status??0,statusText:_.statusText,url:t.urlWithParams,headers:_.headers}))}const c=new Ki(u.headers),d=u.statusText,h=zE(u)??t.urlWithParams;let m=u.status,g=null;if(t.reportProgress&&i.next(new D0({headers:c,status:m,statusText:d,url:h})),u.body){const _=u.headers.get("content-length"),S=[],k=u.body.getReader();let N,Y,R=0;const K=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(yl(function*(){for(;;){const{done:ye,value:Ie}=yield k.read();if(ye)break;if(S.push(Ie),R+=Ie.length,t.reportProgress){Y="text"===t.responseType?(Y??"")+(N??=new TextDecoder).decode(Ie,{stream:!0}):void 0;const ve=()=>i.next({type:Qa.DownloadProgress,total:_?+_:void 0,loaded:R,partialText:Y});K?K.run(ve):ve()}}}));const ee=o.concatChunks(S,R);try{const ye=u.headers.get("Content-Type")??"";g=o.parseBody(t,ee,ye)}catch(ye){return void i.error(new Ml({error:ye,headers:new Ki(u.headers),status:u.status,statusText:u.statusText,url:zE(u)??t.urlWithParams}))}}0===m&&(m=g?200:0),m>=200&&m<300?(i.next(new Wu({body:g,headers:c,status:m,statusText:d,url:h})),i.complete()):i.error(new Ml({error:g,headers:c,status:m,statusText:d,url:h}))})()}parseBody(t,r,i){switch(t.responseType){case"json":const o=(new TextDecoder).decode(r).replace(rH,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(t){const r={},i=t.withCredentials?"include":void 0;if(t.headers.forEach((o,s)=>r[o]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const o=t.detectContentTypeHeader();null!==o&&(r["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:i}}concatChunks(t,r){const i=new Uint8Array(r);let o=0;for(const s of t)i.set(s,o),o+=s.length;return i}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();class oH{}function Uv(){}function WE(e,n){return n(e)}const bh=new ae(""),qE=new ae(""),ZE=new ae("",{providedIn:"root",factory:()=>!0});let YE=(()=>{class e extends w0{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=p(Iu),this.contributeToStability=p(ZE)}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(bh),...this.injector.get(qE,[])]));this.chain=r.reduceRight((i,o)=>function uH(e,n,t){return(r,i)=>function l7(e,n){e instanceof vc&&e.assertNotDestroyed();const r=vt(e),i=Mr(void 0);try{return n()}finally{vt(r),Mr(i)}}(t,()=>n(r,o=>e(o,i)))}(i,o,this.injector),WE)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(function qB(e){return qn((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this.pendingTasks.remove(r)))}return this.chain(t,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||e)(l(C0),l(ho))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const mH=/^\)\]\}',?\n/;let XE=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new G(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Xa(r.\u0275loadImpl()):Yi(null)).pipe(iE(()=>new gt(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((S,k)=>s.setRequestHeader(S,k.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const S=t.detectContentTypeHeader();null!==S&&s.setRequestHeader("Content-Type",S)}if(t.responseType){const S=t.responseType.toLowerCase();s.responseType="json"!==S?S:"text"}const u=t.serializeBody();let c=null;const d=()=>{if(null!==c)return c;const S=s.statusText||"OK",k=new Ki(s.getAllResponseHeaders()),R=function gH(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return c=new D0({headers:k,status:s.status,statusText:S,url:R}),c},h=()=>{let{headers:S,status:k,statusText:R,url:N}=d(),Y=null;204!==k&&(Y=typeof s.response>"u"?s.responseText:s.response),0===k&&(k=Y?200:0);let K=k>=200&&k<300;if("json"===t.responseType&&"string"==typeof Y){const ee=Y;Y=Y.replace(mH,"");try{Y=""!==Y?JSON.parse(Y):null}catch(ye){Y=ee,K&&(K=!1,Y={error:ye,text:Y})}}K?(o.next(new Wu({body:Y,headers:S,status:k,statusText:R,url:N||void 0})),o.complete()):o.error(new Ml({error:Y,headers:S,status:k,statusText:R,url:N||void 0}))},m=S=>{const{url:k}=d(),R=new Ml({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:k||void 0});o.error(R)};let g=!1;const y=S=>{g||(o.next(d()),g=!0);let k={type:Qa.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(k.total=S.total),"text"===t.responseType&&s.responseText&&(k.partialText=s.responseText),o.next(k)},_=S=>{let k={type:Qa.UploadProgress,loaded:S.loaded};S.lengthComputable&&(k.total=S.total),o.next(k)};return s.addEventListener("load",h),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),t.reportProgress&&(s.addEventListener("progress",y),null!==u&&s.upload&&s.upload.addEventListener("progress",_)),s.send(u),o.next({type:Qa.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",h),s.removeEventListener("timeout",m),t.reportProgress&&(s.removeEventListener("progress",y),null!==u&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(l(g6))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const zv=new ae(""),JE=new ae("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),QE=new ae("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class e9{}let bH=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=s6(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr),l(Ba),l(JE))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();function _H(e,n){const t=e.url.toLowerCase();if(!p(zv)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=p(e9).getToken(),i=p(QE);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var eu=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(eu||{});function wH(...e){const n=[S0,XE,YE,{provide:w0,useExisting:YE},{provide:C0,useFactory:()=>p(Gv,{optional:!0})??p(XE)},{provide:bh,useValue:_H,multi:!0},{provide:zv,useValue:!0},{provide:e9,useClass:bH}];for(const t of e)n.push(...t.\u0275providers);return yc(n)}function CH(e){return function qu(e,n){return{\u0275kind:e,\u0275providers:n}}(eu.Interceptors,e.map(n=>({provide:bh,useValue:n,multi:!0})))}class xH extends ft{constructor(n,t){super()}schedule(n,t=0){return this}}const M0={setInterval(e,n,...t){const{delegate:r}=M0;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=M0;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class _h{constructor(n,t=_h.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}_h.now=wv.now;const c9=new class NH extends _h{constructor(n,t=_h.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class kH extends xH{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return M0.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&M0.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Oi(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),OH=c9;function l9(e=0,n,t=OH){let r=-1;return null!=n&&(eE(n)?t=n:r=n),new gt(i=>{let o=function RH(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function Wv(e,n){const t=at(e)?e:()=>e,r=i=>i.error(t());return new gt(n?i=>n.schedule(r,0,i):r)}function qv(e){return new va({fromObject:e})}function d9(e){const n=Object.entries(e).reduce((t,[r,i])=>(t[r]=String(i),t),{});return new Ki(n)}const h9="Watchdog fake error";function ba(e,n){return`${e.endsWith("/")?e.slice(0,-1):e}${n.startsWith("/")?n:`/${n}`}`}let Zv=(()=>{class e{constructor(t,r){this.http=t,this.context=r}getExistingCards(){const{merchantId:t,userAuthToken:r}=this.context.data.payment();if(!r)return Yi([]);const i=qv({merchantId:t}),o=d9({[El_customHeaders_skipToastr]:!0}),s=ba(this.host(),"/api/UserPaymentMethods");return this.http.get(s,{params:i,headers:o}).pipe(Kt(u=>u.map(c=>({...c,name:c.name.toLocaleLowerCase(),type:c.type.toLocaleLowerCase()}))),Kt(u=>u.filter(c=>"card"===c.type)),Sl(()=>Yi([])))}removeCard(t){const{merchantId:r}=this.context.data.payment(),i=qv({merchantId:r}),o=ba(this.host(),`/api/UserPaymentMethods/${t}`);return this.http.delete(o,{params:i})}host(){return this.context.data.settings().urls.billingProfiles}static#e=this.\u0275fac=function(r){return new(r||e)(l(S0),l(ln))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const f9=["toast-component",""];function VH(e,n){if(1&e){const t=Nr();oe(0,"button",5),ct("click",function(){return wt(t),Ct(fe().remove())}),oe(1,"span",6),je(2,"\xd7"),se()()}}function $H(e,n){if(1&e&&(al(0),je(1),ul()),2&e){const t=fe(2);W(),vn("[",t.duplicatesCount+1,"]")}}function jH(e,n){if(1&e&&(oe(0,"div"),je(1),ht(2,$H,2,1,"ng-container",4),se()),2&e){const t=fe();ha(t.options.titleClass),kr("aria-label",t.title),W(),vn(" ",t.title," "),W(),Ce("ngIf",t.duplicatesCount)}}function BH(e,n){if(1&e&&kt(0,"div",7),2&e){const t=fe();ha(t.options.messageClass),Ce("innerHTML",t.message,Ha)}}function HH(e,n){if(1&e&&(oe(0,"div",8),je(1),se()),2&e){const t=fe();ha(t.options.messageClass),kr("aria-label",t.message),W(),vn(" ",t.message," ")}}function GH(e,n){if(1&e&&(oe(0,"div"),kt(1,"div",9),se()),2&e){const t=fe();W(),sl("width",t.width()+"%")}}class KH{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class XH{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}class JH{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Yt;_activate=new Yt;_manualClose=new Yt;_resetTimeout=new Yt;_countDuplicate=new Yt;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class I0{toastId;config;message;title;toastType;toastRef;_onTap=new Yt;_onAction=new Yt;constructor(n,t,r,i,o,s){this.toastId=n,this.config=t,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const m9=new ae("ToastConfig");class QH extends XH{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,r){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(n,t){const r=this._componentFactoryResolver.resolveComponentFactory(n.component);let i;return i=r.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let eG=(()=>{class e{_document=p(Wr);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class tG{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}}let nG=(()=>{class e{_overlayContainer=p(eG);_componentFactoryResolver=p(Fu);_appRef=p(yo);_document=p(Wr);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){const i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new QH(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new tG(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),P0=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,i,o,s){this.overlay=r,this._injector=i,this.sanitizer=o,this.ngZone=s,this.toastrConfig={...t.default,...t.config},t.config.iconClasses&&(this.toastrConfig.iconClasses={...t.default.iconClasses,...t.config.iconClasses})}show(t,r,i={},o=""){return this._preBuildNotification(o,t,r,this.applyConfig(i))}success(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,r,this.applyConfig(i))}error(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,r,this.applyConfig(i))}info(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,r,this.applyConfig(i))}warning(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,r,this.applyConfig(i))}clear(t){for(const r of this.toasts)if(void 0!==t){if(r.toastId===t)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}remove(t){const r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",r="",i,o){const{includeTitleDuplicates:s}=this.toastrConfig;for(const u of this.toasts)if((!s||s&&u.title===t)&&u.message===r)return u.toastRef.onDuplicate(i,o),u;return null}applyConfig(t={}){return{...this.toastrConfig,...t}}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,i,o)):this._buildNotification(t,r,i,o)}_buildNotification(t,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=r;let u=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(u=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const c=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let d=r;r&&o.enableHtml&&(d=this.sanitizer.sanitize(Hi.HTML,r));const h=new JH(c),m=new I0(this.index,o,d,i,t,h),y=Jt.create({providers:[{provide:I0,useValue:m}],parent:this._injector}),_=new KH(o.toastComponent,y),S=c.attach(_,o.newestOnTop);h.componentInstance=S.instance;const k={toastId:this.index,title:i||"",message:r||"",toastRef:h,onShown:h.afterActivate(),onHidden:h.afterClosed(),onTap:m.onTap(),onAction:m.onAction(),portal:S};return u||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{k.toastRef.activate()})),this.toasts.push(k),k}static \u0275fac=function(r){return new(r||e)(l(m9),l(nG),l(Jt),l(_v),l(Et))};static \u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rG={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=mt(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if("inactive"===this.state().value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,i){this.toastrService=t,this.toastPackage=r,this.ngZone=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=mt({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>({...t,value:"active"})),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width()||100===this.width()||!this.options.timeOut)return;const t=(new Date).getTime();this.width.set((this.hideTime-t)/this.options.timeOut*100),"increasing"===this.options.progressAnimation&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>({...t,value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state().value&&(clearTimeout(this.timeout),this.state.update(t=>({...t,value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state().value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state().value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state().value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)(j(P0),j(I0),j(Et))};static \u0275cmp=gn({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,i){1&r&&ct("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&r&&(_p("@flyInOut",i._state),ha(i.toastClasses),sl("display",i.displayStyle))},standalone:!0,features:[_y],attrs:f9,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){1&r&&ht(0,VH,3,0,"button",0)(1,jH,3,5,"div",1)(2,BH,1,3,"div",2)(3,HH,2,4,"div",3)(4,GH,2,2,"div",4),2&r&&(Ce("ngIf",i.options.closeButton),W(),Ce("ngIf",i.title),W(),Ce("ngIf",i.message&&i.options.enableHtml),W(),Ce("ngIf",i.message&&!i.options.enableHtml),W(),Ce("ngIf",i.options.progressBar))},dependencies:[n0],encapsulation:2,data:{animation:[Dl("flyInOut",[mh("inactive",Fn({opacity:0})),mh("active",Fn({opacity:1})),mh("removed",Fn({opacity:0})),as("inactive => active",ss("{{ easeTime }}ms {{ easing }}")),as("active => removed",ss("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})()},iG=(e={})=>yc([{provide:m9,useValue:{default:rG,config:e}}]);let oG=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[iG(t)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=cr({type:e});static \u0275inj=Ln({})}return e})();const{isArray:sG}=Array,{getPrototypeOf:aG,prototype:uG,keys:cG}=Object;const{isArray:hG}=Array;function mG(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function g9(...e){const n=function qV(e){return at(Tv(e))?e.pop():void 0}(e),{args:t,keys:r}=function lG(e){if(1===e.length){const n=e[0];if(sG(n))return{args:n,keys:null};if(function dG(e){return e&&"object"==typeof e&&aG(e)===uG}(n)){const t=cG(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),i=new gt(o=>{const{length:s}=t;if(!s)return void o.complete();const u=new Array(s);let c=s,d=s;for(let h=0;h<s;h++){let m=!1;rs(t[h]).subscribe(Cn(o,g=>{m||(m=!0,d--),u[h]=g},()=>c--,void 0,()=>{(!c||!m)&&(d||o.next(r?mG(r,u):u),o.complete())}))}});return n?i.pipe(function pG(e){return Kt(n=>function fG(e,n){return hG(n)?e(...n):e(n)}(e,n))}(n)):i}function y9(e){return e&&e.replace(/\s+/g," ").trim()}let Il=(()=>{class e{constructor(t,r,i){this.context=t,this.http=r,this.mapper=i}getAvailablePaymentSystems(){const{currency:t,userId:r,merchantId:i}=this.context.data.payment(),o=qv({currency:t,payerId:r}),s=ba(this.host(),`/api/merchants/${i}/settings`);return this.http.get(s,{params:o}).pipe(Kt(u=>{const c=new Set;return{payments:u.payments.filter(h=>!c.has(h.name)&&(c.add(h.name),!0))}}),Sl(()=>Yi({payments:[]})))}getPaymentInfo(t){const{merchantId:r}=this.context.data.payment(),i=ba(this.host(),`/api/merchants/${r}/payments/${t}`);return this.http.get(i)}getGooglePaySettings(){const{merchantId:t}=this.context.data.payment(),r=ba(this.host(),`/api/googlepay/${t}/settings`);return this.http.get(r).pipe(Kt(i=>({...i,allowedCardNetworks:i.allowedCardNetworks.map(o=>o.toUpperCase())})))}pay(){const t=this.context.data.payment(),r=this.context.data.settings(),i=this.context.data.userProvidedInfo(),o=this.context.data.deviceInfo(),s={...o?.browserData};t.ipAddress&&(s.ipAddress=t.ipAddress);const c={headers:d9(s)},d=ba(this.host(),`/api/merchants/${t.merchantId}/payments`);let h=this.mapper.mapPaymentRequest(t,i,r,o),m="default";return"invoice-overridden"===r.paymentFlow.type&&this.context.callbacks.createInvoice?m="invoice-overridden":"payment-overridden"===r.paymentFlow.type&&this.context.callbacks.makePayment&&(m="payment-overridden"),"card"===h.requisites.type&&r.paymentFlow.tokenizeCard?this.getSecretKey().pipe(Tl(g=>Xa(this.encrypt(h.requisites,g))),Tl(g=>"default"!==m?this.getCardTokenData(g,t.merchantId).pipe(Kt(y=>y.token),Sl(()=>Yi(g)),Tl(y=>(h.requisites={type:"card",paymentToken:y},this.makeCallback(m,h,d,c)))):(h.requisites={type:"card",paymentToken:g},this.http.post(d,h,c)))):"default"!==m?this.makeCallback(m,h,d,c):this.http.post(d,h,c)}getCardTokenData(t,r){const i=ba(this.host(),`api/CardData/${r}/tokenize`);return this.http.post(i,{ei:2,invoice:t,es:{uo:!0}})}makeCallback(t,r,i,o){if("invoice-overridden"===t)return this.createInvoiceCallback(r).pipe(Tl(s=>this.http.post(i,s,o)));if("payment-overridden"===t)return this.makePaymentCallback(r);throw new Error("Not implemented flow type")}getSecretKey(){const t=ba(this.host(),"/api/security/key/2?formatId=2&size=4096");return this.http.get(t)}encrypt(t,r){var i=this;return yl(function*(){const o=JSON.stringify(t),s=function vG(e){return function bG(e){const n=new ArrayBuffer(e.length),t=new Uint8Array(n);for(let r=0,i=e.length;r<i;r++)t[r]=e.charCodeAt(r);return n}(atob(e))}(r);try{const u=yield window.crypto.subtle.importKey("spki",s,{name:"RSA-OAEP",hash:"SHA-1"},!1,["encrypt"]),c=(new TextEncoder).encode(o);return function yG(e){return btoa(String.fromCharCode(...new Uint8Array(e)))}(yield window.crypto.subtle.encrypt({name:"RSA-OAEP"},u,c))}catch(u){throw i.context.events.error.emit(u),u}})()}makePaymentCallback(t){return new gt(r=>(this.context.callbacks.makePayment(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}createInvoiceCallback(t){return new gt(r=>(this.context.callbacks.createInvoice(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}host(){return this.context.data.settings().urls.processing}static#e=this.\u0275fac=function(r){return new(r||e)(l(ln),l(S0),l(Nl))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const v9=new ae("moto-window-document",{providedIn:"root",factory:()=>window}),b9=new ae("LANGUAGE_TOKEN",{factory:()=>p(v9).navigator.language}),_9=new ae("APPLE_PAY_JS_SERVICE_TOKEN");let Yv=(()=>{class e{constructor(t,r){this.clientLanguage=t,this.applePayJsService=r,this.name="applepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.applePayJsService.canMakePayment():Yi(!1)}pay(t,r){const{amount:i,currency:o,description:s,billingAddress:u,merchantId:c,userAuthToken:d}=t,h=u?.country?u.country:this.defaultCountryCode,m={total:{amount:i.toString(),currency:o.toUpperCase(),label:s},countryCode:h.toUpperCase(),merchantId:c,userToken:d,processingUrl:r};return this.applePayJsService.pay(m).pipe(Kt(({payment:g})=>JSON.stringify(g)))}static#e=this.\u0275fac=function(r){return new(r||e)(l(b9),l(_9))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),w9=(()=>{class e{constructor(t){this.context=t,this.versionData={apiVersion:2,apiVersionMinor:0}}setData(t){this.settings=t,this.paymentMethodSpec={type:"CARD",parameters:{allowedCardNetworks:t.allowedCardNetworks,allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"]}}}isAvailable(){return this.context.clients.googlePay&&this.paymentMethodSpec?Xa(this.context.clients.googlePay.isReadyToPay({...this.versionData,allowedPaymentMethods:[this.paymentMethodSpec]}).then(t=>t.result)):Yi(!1)}pay(t){if(!this.paymentMethodSpec||!this.settings)return Wv(()=>"Something went wrong");const r={...this.versionData,allowedPaymentMethods:[{...this.paymentMethodSpec,tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:{gateway:this.settings.gateway.name,gatewayMerchantId:this.settings.gateway.merchantId}}}],merchantInfo:{merchantId:this.settings.merchant.id,merchantName:this.settings.merchant.name},transactionInfo:{totalPriceStatus:"FINAL",totalPrice:t.price,currencyCode:t.currency,countryCode:t.countryCode,transactionId:t.paymentId}};return Xa(this.context.clients.googlePay.loadPaymentData(r).then(i=>i.paymentMethodData.tokenizationData.token))}static#e=this.\u0275fac=function(r){return new(r||e)(l(ln))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),Kv=(()=>{class e{constructor(t,r,i,o){this.clientLanguage=t,this.googlePayJsService=r,this.context=i,this.processing=o,this.name="googlepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.processing.getGooglePaySettings().pipe(Tl(r=>(this.context.clients.googlePay=new google.payments.api.PaymentsClient({environment:r.isTest?"TEST":"PRODUCTION"}),this.googlePayJsService.setData(r),this.googlePayJsService.isAvailable())),Sl(()=>Yi(!1))):Yi(!1)}pay(t){const{paymentId:r,amount:i,currency:o,billingAddress:s}=t,c={countryCode:s?.country?s.country:this.defaultCountryCode,currency:o.toUpperCase(),paymentId:r,price:i.toString()};return this.googlePayJsService.pay(c)}static#e=this.\u0275fac=function(r){return new(r||e)(l(b9),l(w9),l(ln),l(Il))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),Xv=(()=>{class e{constructor(t,r,i,o,s){this.context=t,this.processingService=r,this.billingProfilesService=i,this.applePayService=o,this.googlePayService=s}refreshExistingCards(t){let r;this.context.data.cardsLoading.set(!0),r=t?Yi(t):this.billingProfilesService.getExistingCards().pipe(Kt(i=>i.concat().sort(o=>o.isDefault?-1:1))),r.subscribe(i=>{i.length?(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!1})),this.context.componentsStates.cardList().enabled||this.context.componentsStates.cardList.update(o=>({...o,enabled:!0}))):(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!0})),this.context.componentsStates.cardList.update(o=>({...o,enabled:!1})),"existing-card"===this.context.data.userProvidedInfo()?.requisites?.type&&this.context.data.userProvidedInfo.update(o=>({...o,requisites:void 0,paymentSystemName:void 0}))),this.context.data.loadedExistingCards.set(i),this.context.data.cardsLoading.set(!1)})}refreshPaymentSystems(){this.context.data.paymentSystemsLoading.set(!0),this.processingService.getAvailablePaymentSystems().subscribe(t=>{const r=t.payments.map(u=>u.name),i=this.context.data.payment(),s=[this.applePayService,this.googlePayService].filter(u=>r.includes(u.name)).map(u=>({name:u.name,isAvailable$:u.isAvailable(i)}));s.length>0?g9(s.map(u=>u.isAvailable$)).subscribe(u=>{const c=s.filter((h,m)=>!u[m]).map(h=>h.name),d=t.payments.filter(h=>!c.includes(h.name));this.applyPaymentSystems(d)}):this.applyPaymentSystems(t.payments)})}applyPaymentSystems(t){this.context.data.loadedPaymentSystems.set(t),t.some(r=>"card"===r.name)||(this.context.componentsStates.cardForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.additionalForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.cardList.update(r=>({...r,enabled:!1,isRequired:!1}))),t.some(r=>"card"!==r.name)||this.context.componentsStates.apmList.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.data.paymentSystemsLoading.set(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(l(ln),l(Il),l(Zv),l(Yv),l(Kv))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();var _G=P(634),C9=P.n(_G),E9=function(e){return e.mastercard="CVC Card Verification Code",e.visa="CVV (Card Verification Value)",e["american-express"]="CID (Card Identification Number)",e.unionpay="CVN (Card Verification Number)",e.jcb="CVV (Card Verification Value)",e.maestro="CVV (Card Verification Value)",e.discover="CID (Card Identification Number)",e}(E9||{});let Jv=(()=>{class e{transform(t,r,i=null,o=null){const[s]=C9()(t);if(!s)return"code"===r&&o?o[i]:i;switch(r){case"logo":return this.getLogo(s);case"payment-system":return s.niceType;case"card-number-mask":return"0000 0000 0000 0000 000";case"secure-text":return E9[s.type];case"code":if(o){const c=o[s.code.name];if(c)return c}return s.code.name;case"code-mask":{const{size:u}=s.code;return Array.from({length:u}).fill("0").join("")}}}getLogo(t){if(t)return`https://cdn.motopays.com/images/${Cl[t.type]||Cl.default}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jn({name:"cardInfo",type:e,pure:!0})}return e})(),D9=(()=>{class e{constructor(){this.selectEvent=new yn,this.removeEvent=new yn,this.optionsClickedEvent=new yn,this.isOpenPopup=!1,this.popupId=function TB(e=1){return window.crypto.getRandomValues(new Uint32Array(e)).toString()}()}hidePopup(t){t.closest("[data-card-popup]")?.getAttribute("data-card-popup")===this.popupId||(this.isOpenPopup=!1)}onOptionsClick(t){t.isPopupClick=!0,this.optionsClickedEvent.emit(this.option),this.isOpenPopup=!this.isOpenPopup}select(t){t.isPopupClick||this.option.selected()||this.selectEvent.emit(this.option)}remove(t){t.isPopupClick=!0,this.removeEvent.emit(this.option.item),this.isOpenPopup=!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-card"]],hostBindings:function(r,i){1&r&&ct("click",function(s){return i.hidePopup(s.target)},0,M3)},inputs:{option:"option",language:"language"},outputs:{selectEvent:"select",removeEvent:"remove",optionsClickedEvent:"optionsClicked"},decls:18,vars:26,consts:[[1,"__ndb-card",3,"click"],["data-locator","card-active-circle",1,"__ndb-card-active-circle",3,"id"],["alt","card logo",1,"__ndb-card-logo",3,"src"],[1,"__ndb-card-payment-name","fz-14","fw-500"],[1,"__ndb-card-number","fz-14","fw-500"],[1,"__ndb-card-more"],[1,"material-icons","pointer","__ndb-card-more-icon","description-text","fz-18",3,"click"],[1,"__ndb-card-more-popup"],["data-locator","remove-btn",1,"__ndb-card-more-popup-item","fz-14","fw-500",3,"click","id"]],template:function(r,i){1&r&&(oe(0,"div",0),ct("click",function(s){return i.select(s)}),kt(1,"div",1),un(2,"slice"),kt(3,"moto-picture",2),un(4,"cardInfo"),oe(5,"span",3),je(6),un(7,"cardInfo"),se(),oe(8,"span",4),je(9),un(10,"slice"),se(),oe(11,"div",5)(12,"i",6),ct("click",function(s){return i.onOptionsClick(s)}),je(13,"more_vert"),se(),oe(14,"div",7)(15,"span",8),un(16,"slice"),ct("click",function(s){return i.remove(s)}),je(17),se()()()()),2&r&&(W(),Zo("selected",i.option.selected()),Ce("id","select-card-"+zr(2,11,i.option.item.name,-6)+"-button"),W(2),Ce("src",zr(4,14,i.option.item.name,"logo")),W(3),vr(zr(7,17,i.option.item.name,"payment-system")),W(3),vr(zr(10,20,i.option.item.name,-6)),W(2),kr("data-card-popup",i.popupId),W(3),Zo("open",i.isOpenPopup),W(),Ce("id","remove-card-"+zr(16,23,i.option.item.name,-6)+"-button"),W(2),vr(i.language.existingCards.removeCard))},dependencies:[wl,av,Jv],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-card[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid var(--ndb-card-border-color);border-radius:8px;padding:14px;gap:10px}@media (max-width: 768px){.__ndb-card[_ngcontent-%COMP%]{padding:4px}}.__ndb-card-active-circle[_ngcontent-%COMP%]{position:relative;height:15px;width:15px;min-height:15px;min-width:15px;border:1px solid #c9ccd8;border-radius:50%;cursor:pointer}.__ndb-card-active-circle.selected[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;border:4px solid #e53;box-sizing:border-box;border-radius:50%}.__ndb-card-more[_ngcontent-%COMP%]{position:relative;display:flex;margin-left:auto}.__ndb-card-more-icon[_ngcontent-%COMP%]{margin:auto}.__ndb-card-more-popup[_ngcontent-%COMP%]{display:none;position:absolute;z-index:1;top:calc(100% + 10px);left:50%;transform:translate(-60%);background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #29304d1f;white-space:nowrap;overflow:hidden;animation:_ngcontent-%COMP%_show-popup .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup[_ngcontent-%COMP%]{top:calc(100% + 5px);transform:translate(-70%);animation:_ngcontent-%COMP%_mobile-show-popup .3s cubic-bezier(.25,.1,.25,1)}}.__ndb-card-more-popup.open[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-more-popup-item[_ngcontent-%COMP%]{padding:16px 12px;cursor:pointer;transition:background-color .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup-item[_ngcontent-%COMP%]{font-size:12px}}.__ndb-card-more-popup-item[_ngcontent-%COMP%]:hover{background-color:#c9ccd84d}@keyframes _ngcontent-%COMP%_show-popup{0%{opacity:0;transform:translate(-60%,50%)}to{opacity:1;transform:translate(-60%)}}@keyframes _ngcontent-%COMP%_mobile-show-popup{0%{opacity:0;transform:translate(-70%,50%)}to{opacity:1;transform:translate(-70%)}}'],changeDetection:0})}return e})();function wG(e,n){if(1&e){const t=Nr();oe(0,"moto-card",8),ct("select",function(i){return wt(t),Ct(fe().selectCard(i))})("remove",function(i){return wt(t),Ct(fe().removeCard(i))})("optionsClicked",function(i){return wt(t),Ct(fe().onOptionsClick(i))}),se()}if(2&e){const t=n.$implicit;fe();const r=zn(0);Ce("option",t)("language",r)}}function CG(e,n){if(1&e){const t=Nr();oe(0,"button",9),ct("click",function(){return wt(t),Ct(fe().showCardForm())})("focusin",function(){return wt(t),Ct(fe().onAddCardFocus())}),oe(1,"i",10),je(2,"add"),se(),oe(3,"span",11),je(4),se()()}if(2&e){fe();const t=zn(0);W(4),vr(t.existingCards.addNewCard)}}let Qv=(()=>{class e{constructor(t,r,i,o){this.billingProfiles=t,this.context=r,this.toastr=i,this.refreshService=o,this.isCardListShown=mt(!0),this.cardFormState=this.context.componentsStates.cardForm,this.componentState=this.context.componentsStates.cardList,this.isCardFormVisible=this.context.visibility.cardForm,this.settings=this.context.data.settings,this.loadedExistingCards=this.context.data.loadedExistingCards,this.cardOptions=Tt(()=>this.loadedExistingCards().map(u=>new FB(u))),Uy(()=>{const s=this.cardOptions();s?.length&&Qo(()=>{this.selectCardImpl(s[0],s)})})}showCardForm(){this.context.events.analytics.emit(new Tn("add-card-button-click")),this.isCardListShown.set(!1),this.cardFormState.update(t=>({...t,enabled:!0})),this.context.data.userProvidedInfo.update(t=>({...t,requisites:void 0,paymentSystemName:void 0})),this.resetSelected()}getSelectedCard(){return this.cardOptions().find(t=>t.selected())}removeCard(t){this.context.events.analytics.emit(new Tn("remove-card-button-click",{last4Digits:t.name.slice(-4)})),this.billingProfiles.removeCard(t.id).subscribe(r=>{this.refreshService.refreshExistingCards(this.loadedExistingCards().filter(o=>o.id!==t.id));const i=this.settings().language.notifications.cardDeleted;this.toastr.success(i.text,i.title)})}toggleCardList(){this.isCardListShown.update(t=>!t),this.context.events.analytics.emit(new Tn("cards-toggle-button-click",{toggle:this.isCardListShown()}))}onOptionsClick(t){this.context.events.analytics.emit(new Tn("card-options-button-click",{last4Digits:t.item.name.slice(-4)}))}selectCard(t){this.context.events.analytics.emit(new Tn("select-card-button-click",{last4Digits:t.item.name.slice(-4)})),this.selectCardImpl(t,this.cardOptions())}onAddCardFocus(){this.context.events.analytics.emit(new Tn("add-card-button-focus"),!0)}selectCardImpl(t,r){r.find(o=>o.selected())?.setSelected(!1),t.setSelected(!0),this.context.data.userProvidedInfo.update(o=>({...o,paymentSystemName:"card",requisites:{type:"existing-card",value:t.item}})),this.cardFormState().enabled&&this.cardFormState.update(o=>({...o,enabled:!1}))}resetSelected(){this.getSelectedCard()?.setSelected(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(j(Zv),j(ln),j(P0),j(Xv))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-card-list"]],decls:12,vars:6,consts:[[1,"__ndb-card-list"],["id","toggle-card-list-button",1,"__ndb-card-list-toggle",3,"click"],[1,"fw-700"],[1,"material-icons","font-description","__ndb-card-list-toggle-icon"],[1,"block"],[1,"__ndb-card-list-options"],[1,"__ndb-card-list-options-item",3,"option","language"],["id","add-card-button",1,"full-width"],[1,"__ndb-card-list-options-item",3,"select","remove","optionsClicked","option","language"],["id","add-card-button",1,"full-width",3,"click","focusin"],[1,"material-icons","fz-18"],[1,"text"]],template:function(r,i){if(1&r){const o=Nr();go(0),oe(1,"div",0)(2,"div",1),ct("click",function(){return wt(o),Ct(i.toggleCardList())}),oe(3,"span",2),je(4),se(),oe(5,"i",3),je(6,"keyboard_arrow_up"),se()(),oe(7,"div",4)(8,"div",5),Xo(9,wG,1,2,"moto-card",6,fa),se()(),ht(11,CG,5,1,"button",7),se()}if(2&r){const o=Ni(i.settings().language);W(4),vr(o.existingCards.manageCardsHeader),W(),Zo("active",i.isCardListShown()),W(2),Ce("@ANToggleList",i.isCardListShown()?"show":"hide"),W(2),Jo(i.cardOptions()),W(2),St(i.isCardFormVisible()?-1:11)}},dependencies:[D9],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%], .__ndb-card-list-toggle-icon.active[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-card-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.__ndb-card-list-options[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-list-options-item[_ngcontent-%COMP%]{width:100%}.__ndb-card-list-options-item[_ngcontent-%COMP%]:not(:first-child){margin-top:10px}.__ndb-card-list-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-card-list-toggle-icon[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .3s cubic-bezier(.25,.1,.25,1)}"],data:{animation:[GB,UB,zB({animationName:"ANToggleList",fromState:"hide",toState:"show",fromStyles:{height:"0px",overflow:"hidden"},toStyles:{height:"*"}})]},changeDetection:0})}return e})();function S9(e,n=c9){return qn((t,r)=>{let i=null,o=null,s=null;const u=()=>{if(i){i.unsubscribe(),i=null;const d=o;o=null,r.next(d)}};function c(){const d=s+e,h=n.now();if(h<d)return i=this.schedule(void 0,d-h),void r.add(i);u()}t.subscribe(Cn(r,d=>{o=d,s=n.now(),i||(i=n.schedule(c,e),r.add(i))},()=>{u(),r.complete()},void 0,()=>{o=i=null}))})}let T9=(()=>{class e{constructor(){this.detector$=new Yt}detectChanges(){this.detector$.next()}listenChangeDetection(){return this.detector$.asObservable()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),A0=(()=>{class e{constructor(t){this.injector=t,this.unsubscriber$=new Yt,this.childrenDetector$=new Yt}ngOnDestroy(){this.unsubscribe()}listenChildrenDetection(t){const r="local"===t,i="global"===t,o="full"===t;this.childrenDetector$.asObservable().pipe(S9(10),this.untilDestroy()).subscribe(()=>{(r||o)&&this.localDetect(),(i||o)&&this.globalDetect()})}localDetect(){this.injector.get(pl).detectChanges()}globalDetect(){this.injector.get(T9).detectChanges()}detect(){this.localDetect(),this.globalDetect()}untilDestroy(){return function EG(e){return qn((n,t)=>{rs(e).subscribe(Cn(t,()=>t.complete(),Qi)),!t.closed&&n.subscribe(t)})}(this.unsubscriber$.asObservable())}unsubscribe(){this.unsubscriber$.next()}static#e=this.\u0275fac=function(r){return new(r||e)(j(Jt))};static#t=this.\u0275cmp=gn({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,i){},encapsulation:2})}return e})(),M9=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(j(Fs),j(Pi))};static#t=this.\u0275dir=Fe({type:e})}return e})(),Zu=(()=>{class e extends M9{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=xr(e)))(i||e)}})();static#t=this.\u0275dir=Fe({type:e,features:[Dt]})}return e})();const Co=new ae(""),DG={provide:Co,useExisting:yt(()=>x0),multi:!0};let x0=(()=>{class e extends Zu{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=xr(e)))(i||e)}})();static#t=this.\u0275dir=Fe({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&ct("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[an([DG]),Dt]})}return e})();const SG={provide:Co,useExisting:yt(()=>k0),multi:!0},MG=new ae("");let k0=(()=>{class e extends M9{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function TG(){const e=sh()?sh().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(j(Fs),j(Pi),j(MG,8))};static#t=this.\u0275dir=Fe({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&ct("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[an([SG]),Dt]})}return e})();function tu(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function I9(e){return null!=e&&"number"==typeof e.length}const Or=new ae(""),nu=new ae(""),IG=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Bs{static min(n){return function P9(e){return n=>{if(tu(n.value)||tu(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function A9(e){return n=>{if(tu(n.value)||tu(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function x9(e){return tu(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function k9(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function N9(e){return tu(e.value)||IG.test(e.value)?null:{email:!0}}(n)}static minLength(n){return O9(n)}static maxLength(n){return R9(n)}static pattern(n){return function L9(e){if(!e)return N0;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(tu(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return H9(n)}static composeAsync(n){return G9(n)}}function O9(e){return n=>tu(n.value)||!I9(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}function R9(e){return n=>I9(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function N0(e){return null}function F9(e){return null!=e}function V9(e){return kp(e)?Xa(e):e}function $9(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function j9(e,n){return n.map(t=>t(e))}function B9(e){return e.map(n=>function PG(e){return!e.validate}(n)?n:t=>n.validate(t))}function H9(e){if(!e)return null;const n=e.filter(F9);return 0==n.length?null:function(t){return $9(j9(t,n))}}function e4(e){return null!=e?H9(B9(e)):null}function G9(e){if(!e)return null;const n=e.filter(F9);return 0==n.length?null:function(t){return g9(j9(t,n).map(V9)).pipe(Kt($9))}}function t4(e){return null!=e?G9(B9(e)):null}function U9(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function z9(e){return e._rawValidators}function W9(e){return e._rawAsyncValidators}function n4(e){return e?Array.isArray(e)?e:[e]:[]}function O0(e,n){return Array.isArray(e)?e.includes(n):e===n}function q9(e,n){const t=n4(n);return n4(e).forEach(i=>{O0(t,i)||t.push(i)}),t}function Z9(e,n){return n4(n).filter(t=>!O0(e,t))}class Y9{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=e4(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=t4(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class fi extends Y9{get formDirective(){return null}get path(){return null}}class _a extends Y9{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class K9{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Pl=(()=>{class e extends K9{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(j(_a,2))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&Zo("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Dt]})}return e})(),R0=(()=>{class e extends K9{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(j(fi,10))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&Zo("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Dt]})}return e})();const wh="VALID",F0="INVALID",Al="PENDING",Ch="DISABLED";class xl{}class J9 extends xl{constructor(n,t){super(),this.value=n,this.source=t}}class o4 extends xl{constructor(n,t){super(),this.pristine=n,this.source=t}}class s4 extends xl{constructor(n,t){super(),this.touched=n,this.source=t}}class V0 extends xl{constructor(n,t){super(),this.status=n,this.source=t}}class OG extends xl{constructor(n){super(),this.source=n}}class RG extends xl{constructor(n){super(),this.source=n}}function a4(e){return($0(e)?e.validators:e)||null}function u4(e,n){return($0(n)?n.asyncValidators:e)||null}function $0(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Q9(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new G(1e3,"");if(!r[t])throw new G(1001,"")}function eD(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new G(1002,"")})}class j0{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Tt(()=>this.statusReactive()),this.statusReactive=mt(void 0),this._pristine=Tt(()=>this.pristineReactive()),this.pristineReactive=mt(!0),this._touched=Tt(()=>this.touchedReactive()),this.touchedReactive=mt(!1),this._events=new Yt,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Qo(this.statusReactive)}set status(n){Qo(()=>this.statusReactive.set(n))}get valid(){return this.status===wh}get invalid(){return this.status===F0}get pending(){return this.status==Al}get disabled(){return this.status===Ch}get enabled(){return this.status!==Ch}get pristine(){return Qo(this.pristineReactive)}set pristine(n){Qo(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Qo(this.touchedReactive)}set touched(n){Qo(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(q9(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(q9(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Z9(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Z9(n,this._rawAsyncValidators))}hasValidator(n){return O0(this._rawValidators,n)}hasAsyncValidator(n){return O0(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new s4(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&!1!==n.emitEvent&&this._events.next(new s4(!1,r))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new o4(!1,r))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&!1!==n.emitEvent&&this._events.next(new o4(!0,r))}markAsPending(n={}){this.status=Al;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new V0(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ch,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue();const r=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new J9(this.value,r)),this._events.next(new V0(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=wh,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wh||this.status===Al)&&this._runAsyncValidator(r,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new J9(this.value,t)),this._events.next(new V0(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ch:wh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Al,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const r=V9(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new V0(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new yn,this.statusChanges=new yn}_calculateStatus(){return this._allControlsDisabled()?Ch:this.errors?F0:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Al)?Al:this._anyControlsHaveStatus(F0)?F0:wh}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),i&&this._events.next(new o4(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new s4(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){$0(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function LG(e){return Array.isArray(e)?e4(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function FG(e){return Array.isArray(e)?t4(e):e||null}(this._rawAsyncValidators)}}class Eh extends j0{constructor(n,t,r){super(a4(t),u4(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){eD(this,0,n),Object.keys(n).forEach(r=>{Q9(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class tD extends Eh{}const Yu=new ae("CallSetDisabledState",{providedIn:"root",factory:()=>Dh}),Dh="always";function B0(e,n){return[...n.path,e]}function Sh(e,n,t=Dh){c4(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function $G(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&nD(e,n)})}(e,n),function BG(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function jG(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&nD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function VG(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function H0(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),U0(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function G0(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function c4(e,n){const t=z9(e);null!==n.validator?e.setValidators(U9(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=W9(e);null!==n.asyncValidator?e.setAsyncValidators(U9(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();G0(n._rawValidators,i),G0(n._rawAsyncValidators,i)}function U0(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=z9(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=W9(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return G0(n._rawValidators,r),G0(n._rawAsyncValidators,r),t}function nD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function d4(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function h4(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===k0?t=o:function UG(e){return Object.getPrototypeOf(e.constructor)===Zu}(o)?r=o:i=o}),i||r||t||null}function oD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function sD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const Mh=class extends j0{constructor(n=null,t,r){super(a4(t),u4(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$0(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=sD(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){oD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){oD(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){sD(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let aD=(()=>{class e extends fi{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return B0(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=xr(e)))(i||e)}})();static#t=this.\u0275dir=Fe({type:e,features:[Dt]})}return e})();const YG={provide:_a,useExisting:yt(()=>z0)},cD=Promise.resolve();let z0=(()=>{class e extends _a{constructor(t,r,i,o,s,u){super(),this._changeDetectorRef=s,this.callSetDisabledState=u,this.control=new Mh,this._registered=!1,this.name="",this.update=new yn,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=h4(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),d4(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Sh(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){cD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function Gy(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);cD.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?B0(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(j(fi,9),j(Or,10),j(nu,10),j(Co,10),j(pl,8),j(Yu,8))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[an([YG]),Dt,Uo]})}return e})(),W0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Fe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const p4=new ae(""),tU={provide:fi,useExisting:yt(()=>kl)};let kl=(()=>{class e extends fi{get submitted(){return Qo(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,i){super(),this.callSetDisabledState=i,this._submitted=Tt(()=>this._submittedReactive()),this._submittedReactive=mt(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new yn,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(U0(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Sh(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){H0(t.control||null,t,!1),function zG(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),function iD(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new OG(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new RG(this.form))}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(H0(r||null,t),(e=>e instanceof Mh)(i)&&(Sh(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);(function rD(e,n){c4(e,n)})(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function HG(e,n){return U0(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){c4(this.form,this),this._oldForm&&U0(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(j(Or,10),j(nu,10),j(Yu,8))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&ct("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[an([tU]),Dt,Uo]})}return e})();const nU={provide:fi,useExisting:yt(()=>q0)};let q0=(()=>{class e extends aD{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){pD(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(j(fi,13),j(Or,10),j(nu,10))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[an([nU]),Dt]})}return e})();const rU={provide:fi,useExisting:yt(()=>Z0)};let Z0=(()=>{class e extends fi{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return B0(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){pD(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(j(fi,13),j(Or,10),j(nu,10))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[an([rU]),Dt]})}return e})();function pD(e){return!(e instanceof q0||e instanceof kl||e instanceof Z0)}const iU={provide:_a,useExisting:yt(()=>Ih)};let Ih=(()=>{class e extends _a{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new yn,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=h4(0,o)}ngOnChanges(t){this._added||this._setUpControl(),d4(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return B0(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(j(fi,13),j(Or,10),j(nu,10),j(Co,10),j(p4,8))};static#n=this.\u0275dir=Fe({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[an([iU]),Dt,Uo]})}return e})();function yD(e){return"number"==typeof e?e:parseInt(e,10)}let Ku=(()=>{class e{constructor(){this._validator=N0}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):N0,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=Fe({type:e,features:[Uo]})}return e})();const gU={provide:Or,useExisting:yt(()=>Y0),multi:!0};let Y0=(()=>{class e extends Ku{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>yD(t),this.createValidator=t=>O9(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=xr(e)))(i||e)}})();static#t=this.\u0275dir=Fe({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&kr("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[an([gU]),Dt]})}return e})();const yU={provide:Or,useExisting:yt(()=>Ph),multi:!0};let Ph=(()=>{class e extends Ku{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>yD(t),this.createValidator=t=>R9(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=xr(e)))(i||e)}})();static#t=this.\u0275dir=Fe({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&kr("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[an([yU]),Dt]})}return e})(),DD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({})}return e})();class SD extends j0{constructor(n,t,r){super(a4(t),u4(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){eD(this,0,n),n.forEach((r,i)=>{Q9(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function TD(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let v4=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return TD(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new Eh(i,o)}record(t,r=null){const i=this._reduceControls(t);return new tD(i,r)}control(t,r,i){let o={};return this.useNonNullable?(TD(r)?o=r:(o.validators=r,o.asyncValidators=i),new Mh(t,{...o,nonNullable:!0})):new Mh(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new SD(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof Mh||t instanceof j0?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MD=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Yu,useValue:t.callSetDisabledState??Dh}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({imports:[DD]})}return e})(),ID=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:p4,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Yu,useValue:t.callSetDisabledState??Dh}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({imports:[DD]})}return e})();class K0{static luhnAlgorithm({value:n}){return n&&function bU(e){return/^\d+$/.test(e)&&!(e.split("").reverse().map(function(n,t){return n=parseInt(n,10),t%2==0?n:(n*=2)>9?n-9:n}).reduce(function(n,t){return n+t})%10)}(n)?void 0:{luhnAlgorithm:!0}}static cardExpiration({value:n}){const t={expiration:!0};if(n){if(n.length<4)return t;const i=+(new Date).getFullYear().toString().slice(-2),[o,s,u,c]=n.split(""),d=`${o}${s}`;return+d<1||+d>12||+`${u}${c}`<i?t:void 0}return t}static cardNumberLength({value:n}){const t=n?.length||0;return t>=qi.card.number.length.min&&t<=qi.card.number.length.max?void 0:{cardLength:!0}}static cardCodeLength(n="cardNumber"){return({value:t,parent:r})=>{const i=r?.get(n),[o]=C9()(i?.value),s=!!o?.code.size&&!!t,u=qi.card.code.lengths[o?.type];return s&&(o?.code.size===t?.length||u?.includes(t?.length))?null:{cardCodeLength:!0}}}}function PD(...e){return function wU(){return J6(1)}()(Xa(e,h0(e)))}function AD(...e){const n=h0(e);return qn((t,r)=>{(n?PD(e,t,n):PD(e,t)).subscribe(r)})}function b4(e,n,t,r,i,o,s){e.valueChanges.pipe(AD(null),S9(50),function CU(){return qn((e,n)=>{let t,r=!1;e.subscribe(Cn(n,i=>{const o=t;t=i,r&&n.next([o,i]),r=!0}))})}(),$E(([u,c])=>JSON.stringify(u)!==JSON.stringify(c)),t.untilDestroy()).subscribe(([u,c])=>{const d={...n()};let h=!1;!r()&&d.canShowError&&(h=!0,d.canShowError=!1);const m=i(c);d.filled!==m&&(h=!0,d.filled=m),h&&n.update(g=>({...d})),o&&o(c,s)}),e.statusChanges.pipe(AD(e.status),t.untilDestroy()).subscribe(u=>{n.update(c=>({...c,isValid:"VALID"===u}))})}const X0=new ae("ngx-mask config"),xD=new ae("new ngx-mask config"),kD=new ae("initial ngx-mask config"),MU={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new yn,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},IU=["Hh:m0:s0","Hh:m0","m0:s0"],PU=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let AU=(()=>{class e{constructor(){this._config=p(X0),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(t,r,i,o)=>{let s=[],u="";if(Array.isArray(i)){const g=new RegExp(i.map(y=>"[\\^$.|?*+()".indexOf(y)>=0?`\\${y}`:y).join("|"));s=t.split(g),u=t.match(g)?.[0]??""}else s=t.split(i),u=i;const c=s.length>1?`${u}${s[1]}`:"";let d=s[0]??"";const h=this.separatorLimit.replace(/\s/g,"");h&&+h&&(d="-"===d[0]?`-${d.slice(1,d.length).slice(0,h.length)}`:d.slice(0,h.length));const m=/(\d+)(\d{3})/;for(;r&&m.test(d);)d=d.replace(m,"$1"+r+"$2");return void 0===o?d+c:0===o?d:d+c.substring(0,o+1)},this.percentage=t=>{const r=t.replace(",","."),i=Number(r);return!isNaN(i)&&i>=0&&i<=100},this.getPrecision=t=>{const r=t.split(".");return r.length>1?Number(r[r.length-1]):1/0},this.checkAndRemoveSuffix=t=>{for(let r=this.suffix?.length-1;r>=0;r--){const i=this.suffix.substring(r,this.suffix?.length);if(t.includes(i)&&r!==this.suffix?.length-1&&(r-1<0||!t.includes(this.suffix.substring(r-1,this.suffix?.length))))return t.replace(i,"")}return t},this.checkInputPrecision=(t,r,i)=>{if(r<1/0){if(Array.isArray(i)){const c=i.find(d=>d!==this.thousandSeparator);i=c||i[0]}const o=new RegExp(this._charToRegExpExpression(i)+`\\d{${r}}.*$`),s=t.match(o),u=(s&&s[0]?.length)??0;u-1>r&&(t=t.substring(0,t.length-(u-1-r))),0===r&&this._compareOrIncludes(t[t.length-1],i,this.thousandSeparator)&&(t=t.substring(0,t.length-1))}return t}}applyMaskWithPattern(t,r){const[i,o]=r;return this.customPattern=o,this.applyMask(t,i)}applyMask(t,r,i=0,o=!1,s=!1,u=()=>{}){if(!r||"string"!=typeof t)return"";let c=0,d="",h=!1,m=!1,g=1,y=!1;t.slice(0,this.prefix.length)===this.prefix&&!this.showMaskTyped&&(t=t.slice(this.prefix.length,t.length)),this.suffix&&t?.length>0&&(t=this.checkAndRemoveSuffix(t)),"("===t&&this.prefix&&(t="");const _=t.toString().split("");if(this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&(d+=t.slice(c,c+1)),"IP"===r){const K=t.split(".");this.ipError=this._validIP(K),r="099.099.099.099"}const S=[];for(let K=0;K<t.length;K++)t[K]?.match("\\d")&&S.push(t[K]??"");if("CPF_CNPJ"===r&&(this.cpfCnpjError=11!==S.length&&14!==S.length,r=S.length>11?"00.000.000/0000-00":"000.000.000-00"),r.startsWith("percent")){if(t.match("[a-z]|[A-Z]")||t.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!s){t=this._stripToDecimal(t);const ye=this.getPrecision(r);t=this.checkInputPrecision(t,ye,this.decimalMarker)}const K="string"==typeof this.decimalMarker?this.decimalMarker:".";if(t.indexOf(K)>0&&!this.percentage(t.substring(0,t.indexOf(K)))){let ye=t.substring(0,t.indexOf(K)-1);this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&!s&&(ye=t.substring(0,t.indexOf(K))),t=`${ye}${t.substring(t.indexOf(K),t.length)}`}let ee="";ee=this.allowNegativeNumbers&&"-"===t.slice(c,c+1)?t.slice(c+1,c+t.length):t,d=this.percentage(ee)?this._splitPercentZero(t):this._splitPercentZero(t.substring(0,t.length-1))}else if(r.startsWith("separator")){(t.match("[w\u0430-\u044f\u0410-\u042f]")||t.match("[\u0401\u0451\u0410-\u044f]")||t.match("[a-z]|[A-Z]")||t.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||t.match("[^A-Za-z0-9,]"))&&(t=this._stripToDecimal(t)),t="-"===t[0]&&this.allowNegativeNumbers?t.length>2&&"0"===t[1]&&t[2]!==this.thousandSeparator&&!this._compareOrIncludes(t[2],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t:t.length>1&&"0"===t[0]&&t[1]!==this.thousandSeparator&&!this._compareOrIncludes(t[1],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t,s&&(t=this._compareOrIncludes(t[t.length-1],this.decimalMarker,this.thousandSeparator)?t.slice(0,t.length-1):t);const K=this._charToRegExpExpression(this.thousandSeparator);let ee='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(K,"");if(Array.isArray(this.decimalMarker))for(const Wn of this.decimalMarker)ee=ee.replace(this._charToRegExpExpression(Wn),"");else ee=ee.replace(this._charToRegExpExpression(this.decimalMarker),"");const ye=new RegExp("["+ee+"]");(t.match(ye)||1===t.length&&this._compareOrIncludes(t,this.decimalMarker,this.thousandSeparator))&&(t=t.substring(0,t.length-1));const Ie=this.getPrecision(r),ve=(t=this.checkInputPrecision(t,Ie,this.decimalMarker)).replace(new RegExp(K,"g"),"");d=this._formatWithSeparators(ve,this.thousandSeparator,this.decimalMarker,Ie);const In=d.indexOf(",")-t.indexOf(","),Vn=d.length-t.length;if(Vn>0&&d[i]!==this.thousandSeparator){m=!0;let Wn=0;do{this._shift.add(i+Wn),Wn++}while(Wn<Vn)}else d[i-1]===this.decimalMarker||-4===Vn||-3===Vn||","===d[i]?(this._shift.clear(),this._shift.add(i-1)):0!==In&&i>0&&!(d.indexOf(",")>=i&&i>3)||!(d.indexOf(".")>=i&&i>3)&&Vn<=0?(this._shift.clear(),m=!0,g=Vn,this._shift.add(i+=Vn)):this._shift.clear()}else for(let K=0,ee=_[0];K<_.length&&c!==r.length;K++,ee=_[K]??""){const ye="*"in this.patterns;if(this._checkSymbolMask(ee,r[c]??"")&&"?"===r[c+1])d+=ee,c+=2;else if("*"===r[c+1]&&h&&this._checkSymbolMask(ee,r[c+2]??""))d+=ee,c+=3,h=!1;else if(this._checkSymbolMask(ee,r[c]??"")&&"*"===r[c+1]&&!ye)d+=ee,h=!0;else if("?"===r[c+1]&&this._checkSymbolMask(ee,r[c+2]??""))d+=ee,c+=3;else if(this._checkSymbolMask(ee,r[c]??"")){if("H"===r[c]&&(this.apm?Number(ee)>9:Number(ee)>2)){i+=1,c+=1,this._shiftStep(r,c,_.length),K--,this.leadZeroDateTime&&(d+="0");continue}if("h"===r[c]&&(this.apm?1===d.length&&Number(d)>1||"1"===d&&Number(ee)>2||1===t.slice(c-1,c).length&&Number(t.slice(c-1,c))>2||"1"===t.slice(c-1,c)&&Number(ee)>2:"2"===d&&Number(ee)>3||("2"===d.slice(c-2,c)||"2"===d.slice(c-3,c)||"2"===d.slice(c-4,c)||"2"===d.slice(c-1,c))&&Number(ee)>3&&c>10)){i+=1,c+=1,K--;continue}if(("m"===r[c]||"s"===r[c])&&Number(ee)>5){i+=1,c+=1,this._shiftStep(r,c,_.length),K--,this.leadZeroDateTime&&(d+="0");continue}const Ie=31,ve=t[c],In=t[c+1],Vn=t[c+2],Wn=t[c-1],pi=t[c-2],iu=t[c-3],Do=t.slice(c-3,c-1),ec=t.slice(c-1,c+1),pe=t.slice(c,c+2),Me=t.slice(c-2,c);if("d"===r[c]){const Ne="M0"===r.slice(0,2),lt="M0"===r.slice(0,2)&&this.specialCharacters.includes(pi);if(Number(ee)>3&&this.leadZeroDateTime||!Ne&&(Number(pe)>Ie||Number(ec)>Ie||this.specialCharacters.includes(In))||(lt?Number(ec)>Ie||!this.specialCharacters.includes(ve)&&this.specialCharacters.includes(Vn)||this.specialCharacters.includes(ve):Number(pe)>Ie||this.specialCharacters.includes(In))){i+=1,c+=1,this._shiftStep(r,c,_.length),K--,this.leadZeroDateTime&&(d+="0");continue}}if("M"===r[c]){const lt=0===c&&(Number(ee)>2||Number(pe)>12||this.specialCharacters.includes(In)),rr=r.slice(c+2,c+3),So=Do.includes(rr)&&(this.specialCharacters.includes(pi)&&Number(ec)>12&&!this.specialCharacters.includes(ve)||this.specialCharacters.includes(ve)||this.specialCharacters.includes(iu)&&Number(Me)>12&&!this.specialCharacters.includes(Wn)||this.specialCharacters.includes(Wn)),mi=Number(Do)<=Ie&&!this.specialCharacters.includes(Do)&&this.specialCharacters.includes(Wn)&&(Number(pe)>12||this.specialCharacters.includes(In)),Gs=Number(pe)>12&&5===c||this.specialCharacters.includes(In)&&5===c,bn=Number(Do)>Ie&&!this.specialCharacters.includes(Do)&&!this.specialCharacters.includes(Me)&&Number(Me)>12,fm=Number(Do)<=Ie&&!this.specialCharacters.includes(Do)&&!this.specialCharacters.includes(Wn)&&Number(ec)>12;if(Number(ee)>1&&this.leadZeroDateTime||lt||So||fm||bn||mi||Gs&&!this.leadZeroDateTime){i+=1,c+=1,this._shiftStep(r,c,_.length),K--,this.leadZeroDateTime&&(d+="0");continue}}d+=ee,c++}else" "===ee&&" "===r[c]||"/"===ee&&"/"===r[c]?(d+=ee,c++):-1!==this.specialCharacters.indexOf(r[c]??"")?(d+=r[c],c++,this._shiftStep(r,c,_.length),K--):"9"===r[c]&&this.showMaskTyped?this._shiftStep(r,c,_.length):this.patterns[r[c]??""]&&this.patterns[r[c]??""]?.optional?(_[c]&&"099.099.099.099"!==r&&"000.000.000-00"!==r&&"00.000.000/0000-00"!==r&&!r.match(/^9+\.0+$/)&&!this.patterns[r[c]??""]?.optional&&(d+=_[c]),r.includes("9*")&&r.includes("0*")&&c++,c++,K--):"*"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(ee)===this.maskExpression[c+2]&&h||"?"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(ee)===this.maskExpression[c+2]&&h?(c+=3,d+=ee):this.showMaskTyped&&this.specialCharacters.indexOf(ee)<0&&ee!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(y=!0)}d.length+1===r.length&&-1!==this.specialCharacters.indexOf(r[r.length-1]??"")&&(d+=r[r.length-1]);let k=i+1;for(;this._shift.has(k);)g++,k++;let R=o&&!r.startsWith("separator")?c:this._shift.has(i)?g:0;y&&R--,u(R,m),g<0&&this._shift.clear();let N=!1;s&&(N=_.every(K=>this.specialCharacters.includes(K)));let Y=`${this.prefix}${N?"":d}${this.suffix}`;if(0===d.length&&(Y=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`),d.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(s&&"-"===d)return"";Y=`-${this.prefix}${d.split("-").join("")}${this.suffix}`}return Y}_findDropSpecialChar(t){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===t):this._findSpecialChar(t)}_findSpecialChar(t){return this.specialCharacters.find(r=>r===t)}_checkSymbolMask(t,r){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[r]?.pattern&&this.patterns[r]?.pattern.test(t))??!1}_stripToDecimal(t){return t.split("").filter((r,i)=>{const o="string"==typeof this.decimalMarker?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||"-"===r&&0===i&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(t){return t&&(" "===t?"\\s":"[\\^$.|?*+()".indexOf(t)>=0?`\\${t}`:t)}_shiftStep(t,r,i){const o=/[*?]/g.test(t.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(t,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(t):t===r}_validIP(t){return!(4===t.length&&!t.some((r,i)=>t.length!==i+1?""===r||Number(r)>255:""===r||Number(r.substring(0,3))>255))}_splitPercentZero(t){const r=t.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===r){const i=parseInt(t,10);return isNaN(i)?"":i.toString()}{const i=parseInt(t.substring(0,r),10),o=t.substring(r+1),s=isNaN(i)?"":i.toString();return""===s?"":s+("string"==typeof this.decimalMarker?this.decimalMarker:".")+o}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),_4=(()=>{class e extends AU{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._emitValue=!1,this._previousValue="",this._currentValue="",this.onChange=t=>{},this.document=p(Wr),this._config=p(X0),this._elementRef=p(Pi,{optional:!0}),this._renderer=p(Fs,{optional:!0})}applyMask(t,r,i=0,o=!1,s=!1,u=()=>{}){if(!r)return t!==this.actualValue?this.actualValue:t;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),!t&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const c=t&&"number"==typeof this.selStart?t[this.selStart]??"":"";let d="";if(void 0!==this.hiddenInput&&!this.writingValue){let y=t&&1===t.length?t.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==t&&y.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(t.length>y.length?y.splice(this.selStart,0,c):t.length<y.length&&(y.length-t.length==1?y.splice(s?this.selStart-1:t.length-1,1):y.splice(this.selStart,this.selEnd-this.selStart))):y=[],this.showMaskTyped&&(this.hiddenInput||(t=this.removeMask(t))),d=this.actualValue.length&&y.length<=t.length?this.shiftTypedSymbols(y.join("")):t}if(o&&(this.hiddenInput||!this.hiddenInput)&&(d=t),this.deletedSpecialCharacter&&i&&(this.specialCharacters.includes(this.actualValue.slice(i,i+1))?i+=1:"M0"!==r.slice(i-1,i+1)&&(i-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(t=this.removeMask(t)),d=this.maskChanged?t:d&&d.length?d:t,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!o){const y=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(y),this.actualValue?this.actualValue:this.prefix+this.maskIsShown+this.suffix}const h=super.applyMask(d,r,i,o,s,u);if(this.actualValue=this.getActualValue(h),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(y=>!this._compareOrIncludes(y,this.decimalMarker,this.thousandSeparator))),(h||""===h)&&(this._previousValue=this._currentValue,this._currentValue=h,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&o),this._emitValue&&this.formControlResult(h),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?s?this.hideInput(h,this.maskExpression):this.hideInput(h,this.maskExpression)+this.maskIsShown.slice(h.length):h;const m=h.length,g=this.prefix+this.maskIsShown;if(this.maskExpression.includes("H")){const y=this._numberSkipedSymbols(h);return h+g.slice(m+y)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?h+g:h+g.slice(m)}_numberSkipedSymbols(t){const r=/(^|\D)(\d\D)/g;let i=r.exec(t),o=0;for(;null!=i;)o+=1,i=r.exec(t);return o}applyValueChanges(t,r,i,o=()=>{}){const s=this._elementRef?.nativeElement;s&&(s.value=this.applyMask(s.value,this.maskExpression,t,r,i,o),s!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(t,r){return t.split("").map((i,o)=>this.patterns&&this.patterns[r[o]??""]&&this.patterns[r[o]??""]?.symbol?this.patterns[r[o]??""]?.symbol:i).join("")}getActualValue(t){const r=t.split("").filter((i,o)=>{const s=this.maskExpression[o]??"";return this._checkSymbolMask(i,s)||this.specialCharacters.includes(s)&&i===s});return r.join("")===t?r.join(""):t}shiftTypedSymbols(t){let r="";return(t&&t.split("").map((o,s)=>{if(this.specialCharacters.includes(t[s+1]??"")&&t[s+1]!==this.maskExpression[s+1])return r=o,t[s+1];if(r.length){const u=r;return r="",u}return o})||[]).join("")}numberToString(t){return!t&&0!==t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(t).length>14?String(t):Number(t).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(t){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(t){if("IP"===this.maskExpression)return this._checkForIp(t);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(t)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const t=this._elementRef?.nativeElement;t&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==t.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([t,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,t,r))}checkDropSpecialCharAmount(t){return t.split("").filter(i=>this._findDropSpecialChar(i)).length}removeMask(t){return this._removeMask(this._removeSuffix(this._removePrefix(t)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(t){if("#"===t)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const r=[];for(let i=0;i<t.length;i++){const o=t[i]??"";o&&o.match("\\d")&&r.push(o)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(t){const r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,i=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===t)return r;const o=[];for(let s=0;s<t.length;s++){const u=t[s]??"";u&&u.match("\\d")&&o.push(u)}return o.length<=3?r.slice(o.length,r.length):o.length>3&&o.length<=6?r.slice(o.length+1,r.length):o.length>6&&o.length<=9?r.slice(o.length+2,r.length):o.length>9&&o.length<11?r.slice(o.length+3,r.length):11===o.length?"":12===o.length?i.slice(17===t.length?16:15,i.length):o.length>12&&o.length<=14?i.slice(o.length+4,i.length):""}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}formControlResult(t){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(t)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(t)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===t?this._checkSymbols(this._removeSuffix(this._removePrefix(t))):t)))}_toNumber(t){if(!this.isNumberValue||""===t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return t;if(String(t).length>16&&this.separatorLimit.length>14)return String(t);const r=Number(t);if(this.maskExpression.startsWith("separator")&&Number.isNaN(r)){const i=String(t).replace(",",".");return Number(i)}return Number.isNaN(r)?t:r}_removeMask(t,r){return this.maskExpression.startsWith("percent")&&t.includes(".")?t:t&&t.replace(this._regExpForRemove(r),"")}_removePrefix(t){return this.prefix?t&&t.replace(this.prefix,""):t}_removeSuffix(t){return this.suffix?t&&t.replace(this.suffix,""):t}_retrieveSeparatorValue(t){const r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(i=>this.dropSpecialCharacters.includes(i)):this.specialCharacters;return this._removeMask(t,r)}_regExpForRemove(t){return new RegExp(t.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(t){const r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return t.replace(this._regExpForRemove(r),".")}_checkSymbols(t){if(""===t)return t;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(t=t.replace(",","."));const r=this._retrieveSeparatorPrecision(this.maskExpression),i=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(t));return this.isNumberValue&&r?t===this.decimalMarker?null:this.separatorLimit.length>14?String(i):this._checkPrecision(this.maskExpression,i):i}_retrieveSeparatorPrecision(t){const r=t.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(t,r){const i=t.slice(10,11);return t.indexOf("2")>0||this.leadZero&&Number(i)>1?(","===this.decimalMarker&&this.leadZero&&(r=r.replace(",",".")),this.leadZero?Number(r).toFixed(Number(i)):Number(r).toFixed(2)):this.numberToString(r)}_repeatPatternSymbols(t){return t.match(/{[0-9]+}/)&&t.split("").reduce((r,i,o)=>{if(this._start="{"===i?o:this._start,"}"!==i)return this._findSpecialChar(i)?r+i:r;this._end=o;const s=Number(t.slice(this._start+1,this._end)),u=new Array(s+1).join(t[this._start-1]);if(t.slice(0,this._start).length>1&&t.includes("S")){const c=t.slice(0,this._start-1);return c.includes("{")?r+u:c+r+u}return r+u},"")||t}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}}return e.\u0275fac=(()=>{let n;return function(r){return(n||(n=xr(e)))(r||e)}})(),e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),xU=(()=>{class e{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new yn,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isComposing=!1,this.document=p(Wr),this._maskService=p(_4,{self:!0}),this._config=p(X0),this.onChange=t=>{},this.onTouch=()=>{}}ngOnChanges(t){const{maskExpression:r,specialCharacters:i,patterns:o,prefix:s,suffix:u,thousandSeparator:c,decimalMarker:d,dropSpecialCharacters:h,hiddenInput:m,showMaskTyped:g,placeHolderCharacter:y,shownMaskExpression:_,showTemplate:S,clearIfNotMatch:k,validation:R,separatorLimit:N,allowNegativeNumbers:Y,leadZeroDateTime:K,leadZero:ee,triggerOnMaskChange:ye,apm:Ie,inputTransformFn:ve,outputTransformFn:In,keepCharacterPositions:Vn}=t;if(r&&(r.currentValue!==r.previousValue&&!r.firstChange&&(this._maskService.maskChanged=!0),Y&&(this._maskService.allowNegativeNumbers=Y.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(Wn=>"-"!==Wn))),r.currentValue&&r.currentValue.split("||").length>1?(this._maskExpressionArray=r.currentValue.split("||").sort((Wn,pi)=>Wn.length-pi.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=r.currentValue||"",this._maskService.maskExpression=this._maskValue)),i){if(!i.currentValue||!Array.isArray(i.currentValue))return;this._maskService.specialCharacters=i.currentValue||[]}o&&o.currentValue&&(this._maskService.patterns=o.currentValue),Ie&&Ie.currentValue&&(this._maskService.apm=Ie.currentValue),s&&(this._maskService.prefix=s.currentValue),u&&(this._maskService.suffix=u.currentValue),c&&(this._maskService.thousandSeparator=c.currentValue),d&&(this._maskService.decimalMarker=d.currentValue),h&&(this._maskService.dropSpecialCharacters=h.currentValue),m&&(this._maskService.hiddenInput=m.currentValue),g&&(this._maskService.showMaskTyped=g.currentValue),y&&(this._maskService.placeHolderCharacter=y.currentValue),_&&(this._maskService.shownMaskExpression=_.currentValue),S&&(this._maskService.showTemplate=S.currentValue),k&&(this._maskService.clearIfNotMatch=k.currentValue),R&&(this._maskService.validation=R.currentValue),N&&(this._maskService.separatorLimit=N.currentValue),K&&(this._maskService.leadZeroDateTime=K.currentValue),ee&&(this._maskService.leadZero=ee.currentValue),ye&&(this._maskService.triggerOnMaskChange=ye.currentValue),ve&&(this._maskService.inputTransformFn=ve.currentValue),In&&(this._maskService.outputTransformFn=In.currentValue),Vn&&(this._maskService.keepCharacterPositions=Vn.currentValue),this._applyMask()}validate({value:t}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(t);if(this._maskService.cpfCnpjError)return this._createValidationError(t);if(this._maskValue.startsWith("separator")||PU.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(IU.includes(this._maskValue))return this._validateTime(t);if(t&&t.toString().length>=1){let r=0;if(this._maskValue.startsWith("percent"))return null;for(const i in this._maskService.patterns)if(this._maskService.patterns[i]?.optional&&(this._maskValue.indexOf(i)!==this._maskValue.lastIndexOf(i)?r+=this._maskValue.split("").filter(s=>s===i).join("").length:-1!==this._maskValue.indexOf(i)&&r++,-1!==this._maskValue.indexOf(i)&&t.toString().length>=this._maskValue.indexOf(i)||r===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&t.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&t.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&t.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(t);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){t="number"==typeof t?String(t):t;const i=this._maskValue.split("*"),o=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-r:this.prefix?this._maskValue.length+this.prefix.length-r:this._maskValue.length-r;if(1===i.length&&t.toString().length<o)return this._createValidationError(t);if(i.length>1){const s=i[i.length-1];if(s&&this._maskService.specialCharacters.includes(s[0])&&String(t).includes(s[0]??"")&&!this.dropSpecialCharacters){const u=t.split(s[0]);return u[u.length-1].length===s.length-1?null:this._createValidationError(t)}return(s&&!this._maskService.specialCharacters.includes(s[0])||!s||this._maskService.dropSpecialCharacters)&&t.length>=o-1?null:this._createValidationError(t)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return t&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onModelChange(t){(""===t||null==t)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(t){if(this._isComposing)return;const r=t.target,i=this._maskService.inputTransformFn(r.value);if("number"!==r.type)if("string"==typeof i||"number"==typeof i){if(r.value=i.toString(),this._inputValue=r.value,this._setMask(),!this._maskValue)return void this.onChange(r.value);let o=1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const d=r.value.slice(o-1,o),h=this.prefix.length,m=this._maskService._checkSymbolMask(d,this._maskService.maskExpression[o-1-h]??""),g=this._maskService._checkSymbolMask(d,this._maskService.maskExpression[o+1-h]??""),y=this._maskService.selStart===this._maskService.selEnd,_=Number(this._maskService.selStart)-h,S=Number(this._maskService.selEnd)-h;if("Backspace"===this._code)if(y){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(o-this.prefix.length,o+1-this.prefix.length))&&y)if(1===_&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+r.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,o-=1;else{const k=r.value.substring(0,o),R=r.value.substring(o);this._maskService.actualValue=k+this._maskService.placeHolderCharacter+R}}else this._maskService.actualValue=this._maskService.selStart===h?this.prefix+this._maskService.maskIsShown.slice(0,S)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+h?this._inputValue+this._maskService.maskIsShown.slice(_,S):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,_)+this._maskService.maskIsShown.slice(_,S)+this._maskService.actualValue.slice(S+h,this._maskService.maskIsShown.length+h)+this.suffix;"Backspace"!==this._code&&(m||g||!y?this._maskService.specialCharacters.includes(r.value.slice(o,o+1))&&g&&!this._maskService.specialCharacters.includes(r.value.slice(o+1,o+2))?(this._maskService.actualValue=r.value.slice(0,o-1)+r.value.slice(o,o+1)+d+r.value.slice(o+2),o+=1):m&&(this._maskService.actualValue=r.value.slice(0,o-1)+d+r.value.slice(o+1).split(this.suffix).join("")+this.suffix):o=Number(r.selectionStart)-1)}let s=0,u=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&o<10){const d=this._inputValue.slice(o-1,o);r.value=this._inputValue.slice(0,o-1)+d+this._inputValue.slice(o+1)}if("Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===r.value.slice(0,2)&&(r.value=r.value.slice(1,2)+r.value.slice(2,r.value.length)),r.value="00"===r.value?"0":r.value),this._maskService.applyValueChanges(o,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(d,h)=>{this._justPasted=!1,s=d,u=h}),this._getActiveElement()!==r)return;this._maskExpressionArray.length&&(o="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(o-1,o))?o-1:o:1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let c=this._position?this._inputValue.length+o+s:o+("Backspace"!==this._code||u?s:0);c>this._getActualInputLength()&&(c=this._getActualInputLength()),c<0&&(c=0),r.setSelectionRange(c,c),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof i);else this._maskService.applyValueChanges(r.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,this._justPasted=!0,this.onInput(t)}onBlur(t){if(this._maskValue){const r=t.target;if(this.leadZero&&r.value.length>0&&"string"==typeof this.decimalMarker){const i=this._maskService.maskExpression,o=Number(this._maskService.maskExpression.slice(i.length-1,i.length));if(o>1){r.value=this.suffix?r.value.split(this.suffix).join(""):r.value;const s=r.value.split(this.decimalMarker)[1];r.value=r.value.includes(this.decimalMarker)?r.value+"0".repeat(o-s.length)+this.suffix:r.value+this.decimalMarker+"0".repeat(o)+this.suffix,this._maskService.actualValue=r.value}}this._maskService.clearIfNotMatchFn()}this.onTouch()}onClick(t){if(!this._maskValue)return;const r=t.target;null!==r&&null!==r.selectionStart&&r.selectionStart===r.selectionEnd&&r.selectionStart>this._maskService.prefix.length&&38!==t.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),r.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===r.value?(r.focus(),r.setSelectionRange(0,0)):r.selectionStart>this._maskService.actualValue.length&&r.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const s=r&&(r.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:r.value);r&&r.value!==s&&(r.value=s),r&&"number"!==r.type&&(r.selectionStart||r.selectionEnd)<=this._maskService.prefix.length?r.selectionStart=this._maskService.prefix.length:r&&r.selectionEnd>this._getActualInputLength()&&(r.selectionEnd=this._getActualInputLength())}onKeyDown(t){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===t.key&&this.onCompositionEnd(t));this._code=t.code?t.code:t.key;const r=t.target;if(this._inputValue=r.value,this._setMask(),"number"!==r.type){if("ArrowUp"===t.key&&t.preventDefault(),"ArrowLeft"===t.key||"Backspace"===t.key||"Delete"===t.key){if("Backspace"===t.key&&0===r.value.length&&(r.selectionStart=r.selectionEnd),"Backspace"===t.key&&0!==r.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&r.selectionStart<=this.prefix.length)r.setSelectionRange(this.prefix.length,r.selectionEnd);else if(this._inputValue.length!==r.selectionStart&&1!==r.selectionStart)for(;this.specialCharacters.includes((this._inputValue[r.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&r.selectionStart>this.prefix.length||0===this.prefix.length);)r.setSelectionRange(r.selectionStart-1,r.selectionEnd);this.checkSelectionOnDeletion(r),this._maskService.prefix.length&&r.selectionStart<=this._maskService.prefix.length&&r.selectionEnd<=this._maskService.prefix.length&&t.preventDefault(),"Backspace"===t.key&&!r.readOnly&&0===r.selectionStart&&r.selectionEnd===r.value.length&&0!==r.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<r.selectionStart?r.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===t.code&&t.ctrlKey||"KeyA"===t.code&&t.metaKey)&&(r.setSelectionRange(0,this._getActualInputLength()),t.preventDefault()),this._maskService.selStart=r.selectionStart,this._maskService.selEnd=r.selectionEnd}}writeValue(t){var r=this;return yl(function*(){if("object"==typeof t&&null!==t&&"value"in t&&("disable"in t&&r.setDisabledState(!!t.disable),t=t.value),null!==t&&(t=r.inputTransformFn?r.inputTransformFn(t):t),"string"==typeof t||"number"==typeof t||null===t){let i=t;if("number"==typeof i||r._maskValue.startsWith("separator")){i=String(i);const o=r._maskService.currentLocaleDecimalMarker();Array.isArray(r._maskService.decimalMarker)||(i=r._maskService.decimalMarker!==o?i.replace(o,r._maskService.decimalMarker):i),r._maskService.leadZero&&i&&r.maskExpression&&!1!==r.dropSpecialCharacters&&(i=r._maskService._checkPrecision(r._maskService.maskExpression,i)),","===r._maskService.decimalMarker&&(i=i.toString().replace(".",",")),r.maskExpression?.startsWith("separator")&&r.leadZero&&requestAnimationFrame(()=>{r._maskService.applyMask(i?.toString()??"",r._maskService.maskExpression)}),r._maskService.isNumberValue=!0}"string"!=typeof i&&(i=""),r._inputValue=i,r._setMask(),i&&r._maskService.maskExpression||r._maskService.maskExpression&&(r._maskService.prefix||r._maskService.showMaskTyped)?("function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!0),r._maskService.formElementProperty=["value",r._maskService.applyMask(i,r._maskService.maskExpression)],"function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!1)):r._maskService.formElementProperty=["value",i],r._inputValue=i}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof t)})()}registerOnChange(t){this._maskService.onChange=this.onChange=t}registerOnTouched(t){this.onTouch=t}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}checkSelectionOnDeletion(t){t.selectionStart=Math.min(Math.max(this.prefix.length,t.selectionStart),this._inputValue.length-this.suffix.length),t.selectionEnd=Math.min(Math.max(this.prefix.length,t.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(t){this._maskService.formElementProperty=["disabled",t]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(t){const r=this._maskValue.split("").filter(i=>":"!==i).length;return t&&(0==+(t[t.length-1]??-1)&&t.length<r||t.length<=r-2)?this._createValidationError(t):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(t){return{mask:{requiredMask:this._maskValue,actualValue:t}}}_setMask(){this._maskExpressionArray.some(t=>{if(t.split("").some(i=>this._maskService.specialCharacters.includes(i))&&this._inputValue&&!t.includes("S")||t.includes("{")){const i=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(t)?.length;if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t.includes("{")?this._maskService._repeatPatternSymbols(t):t,i;{const o=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=o.includes("{")?this._maskService._repeatPatternSymbols(o):o}}else{const i=this._inputValue?.split("").every((o,s)=>{const u=t.charAt(s);return this._maskService._checkSymbolMask(o,u)});if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t,i}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Fe({type:e,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(t,r){1&t&&ct("paste",function(){return r.onPaste()})("ngModelChange",function(o){return r.onModelChange(o)})("input",function(o){return r.onInput(o)})("compositionstart",function(o){return r.onCompositionStart(o)})("compositionend",function(o){return r.onCompositionEnd(o)})("blur",function(o){return r.onBlur(o)})("click",function(o){return r.onClick(o)})("keydown",function(o){return r.onKeyDown(o)})},inputs:{maskExpression:[0,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},features:[an([{provide:Co,useExisting:yt(()=>e),multi:!0},{provide:Or,useExisting:yt(()=>e),multi:!0},_4]),Uo]}),e})();function kU(e,n){return n instanceof Function?{...e,...n()}:{...e,...n}}let ND=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:xD,useValue:t},{provide:kD,useValue:MU},{provide:X0,useFactory:kU,deps:[kD,xD]},_4]}}static forChild(){return{ngModule:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=cr({type:e}),e.\u0275inj=Ln({}),e})();const NU=[[["prefix"]],[["suffix"]]],OU=["prefix","suffix"];let OD=(()=>{class e{constructor(t,r){this.cdr=t,this.injector=r,this.value=null,this.disabled=!1,this.onChange=i=>{},this.onTouched=()=>{},this.trimAfterPaste=!1,this.autocomplete="false",this.password=!1,this.transparent=!1,this.placeholder="Enter a value...",this.type="text",this.validate=!0,this.dropSpecialCharacters=!0,this._paste=new yn}ngOnInit(){this.initFormControl()}initFormControl(){this.formControl=this.injector.get(_a)}get isInvalidControl(){return"invalid"===this.status||function EU(e){const{invalid:n,pristine:t,touched:r}=e;return!(!n||!r||t)}(this.formControl)&&this.validate}setValue(t){this.value=y9(t),this.onChange(t),this.cdr.detectChanges()}paste(t){t.stopPropagation(),setTimeout(()=>{this._paste.emit(t.target.value),this.cdr.detectChanges()})}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}writeValue(t){this.value=y9(t),this.cdr.detectChanges()}setDisabledState(t){this.disabled=t,this.cdr.detectChanges()}static#e=this.\u0275fac=function(r){return new(r||e)(j(pl),j(Jt))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-form-input"]],inputs:{formControlName:"formControlName",minlength:"minlength",maxlength:"maxlength",trimAfterPaste:"trimAfterPaste",autocomplete:"autocomplete",password:"password",transparent:"transparent",placeholder:"placeholder",type:"type",mask:"mask",validate:"validate",dropSpecialCharacters:"dropSpecialCharacters",status:"status"},outputs:{_paste:"paste"},features:[an([{provide:Co,useExisting:yt(()=>e),multi:!0}])],ngContentSelectors:OU,decls:8,vars:13,consts:[["inputRef",""],[1,"__ndb-form-control"],[1,"__ndb-form-control-affix"],[1,"__ndb-input-container"],[1,"__ndb-form-control-input",3,"ngModelChange","blur","paste","type","placeholder","minlength","maxlength","mask","dropSpecialCharacters","ngModel"]],template:function(r,i){if(1&r){const o=Nr();(function ZC(e){const n=U()[Sn][Pr];if(!n.projection){const r=n.projection=ef(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?oN(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}})(NU),oe(0,"div",1)(1,"div",2),dy(2),se(),oe(3,"div",3)(4,"input",4,0),ct("ngModelChange",function(u){return wt(o),Ct(i.setValue(u))})("blur",function(){return wt(o),Ct(i.onTouched())})("paste",function(u){return wt(o),Ct(i.paste(u))}),se()(),oe(6,"div",2),dy(7,1),se()()}2&r&&(Zo("transparent",i.transparent)("invalid",i.isInvalidControl),W(4),Ce("type",i.type)("placeholder",i.placeholder)("minlength",i.minlength)("maxlength",i.maxlength)("mask",i.mask)("dropSpecialCharacters",i.dropSpecialCharacters)("ngModel",i.value),kr("data-locator",i.formControlName||i.placeholder)("autocomplete",i.autocomplete))},dependencies:[xU,k0,Pl,Y0,Ph,z0],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-form-control[_ngcontent-%COMP%]{border:1px solid #c9ccd8;border-radius:4px;display:flex;align-items:center;box-shadow:0 2px #29304d14;padding:17px 10px}.__ndb-form-control-affix[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px}.__ndb-form-control.invalid[_ngcontent-%COMP%]{border:1px solid #f44336;color:#f44336}.__ndb-form-control.invalid[_ngcontent-%COMP%] .__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#eb001b}.__ndb-form-control.transparent[_ngcontent-%COMP%]{border:none;box-shadow:none}.__ndb-form-control[_ngcontent-%COMP%] .__ndb-input-container[_ngcontent-%COMP%]{display:flex;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]{display:block;width:100%;max-width:100%;border:none;outline:none;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#707797}"],changeDetection:0})}return e})();function RU(e,n){if(1&e&&(oe(0,"span",4),je(1),se()),2&e){const t=fe();Ce("@ANTransform",void 0),W(),vr(t.paymentsErrorMsg())}}function LU(e,n){if(1&e&&(oe(0,"span",15),je(1),se()),2&e){fe();const t=zn(2);Ce("@ANTransform",void 0),W(),vr(t.errors.invalidCardHolder)}}let RD=(()=>{class e extends A0{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.constants=qi}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.cardForm,this.initForm(),this.initComputedFields(),b4(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,this.areRequiredFieldsFilled,this.onUpdate,this.context)}pasteCardNumber(t){const r=function gG(e){return e.replace(/\s/g,"")}(t);this.form.get("cardCredentials").get("cardNumber").setValue(r,{onlySelf:!0}),function TU(e,n,t=null,r=!0){n.forEach(i=>{const o=e.get(i);o||function _U(e){throw new Error(e)}(`Invalid form control name: "${i}"`),o.reset(t),r&&o.updateValueAndValidity()})}(this.form.get("cardCredentials"),["expiration","cvv"]),this.detect()}resetForm(){this.form.reset(),this.localDetect()}onFocus(t){switch(t){case"number":this.context.events.analytics.emit(new Tn("card-number-field-focus"),!0);break;case"cvv":this.context.events.analytics.emit(new Tn("cvv-field-focus"),!0);break;case"holder":this.context.events.analytics.emit(new Tn("card-holder-field-focus"),!0);break;case"expiration":this.context.events.analytics.emit(new Tn("expiration-date-field-focus"),!0)}}initForm(){this.form=this.fb.group({cardCredentials:this.fb.group({cardNumber:[null,[Bs.required,K0.luhnAlgorithm,K0.cardNumberLength]],expiration:[null,[Bs.required,Bs.minLength(4),Bs.maxLength(4),K0.cardExpiration]],cvv:[null,[Bs.required,K0.cardCodeLength()]]}),cardHolder:[null,[Bs.required,Bs.maxLength(qi.card.holder.length.max)]]})}initComputedFields(){this.isCredentialsErrorShown=Tt(()=>{const t=this.form.get("cardCredentials");return this.componentState().canShowError&&t.invalid}),this.isCardHolderErrorShown=Tt(()=>{const t=this.form.get("cardHolder");return this.componentState().canShowError&&t.invalid}),this.paymentDetailsHeader=Tt(()=>{const t=this.settings();return`${t.language.requisites.paymentDetailsHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.nameOnCardHeader=Tt(()=>{const t=this.settings();return`${t.language.requisites.cardHolderHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.paymentsErrorMsg=Tt(()=>{const t=this.form.get("cardCredentials"),[r]=function SU(e){return function DU(e){return Object.entries(e.controls).filter(([,n])=>n.invalid)}(e).map(([n])=>n)}(t),i=this.settings().language.errors;switch(this.componentState(),r){case"cardNumber":return i.invalidCardNumber;case"expiration":return i.invalidCardExpiration;case"cvv":return i.invalidCvv}})}areRequiredFieldsFilled(t){const{cardCredentials:r,cardHolder:i}=t;return r?.cvv&&r?.cardNumber&&r?.expiration&&i}onUpdate(t,r){const{cardCredentials:i,cardHolder:o}=t;r.data.userProvidedInfo.update(s=>({...s,paymentSystemName:"card",requisites:{type:"card",value:{cvv:i.cvv,expiration:i.expiration,number:i.cardNumber,holder:o}}}))}static#e=this.\u0275fac=function(r){return new(r||e)(j(Jt),j(v4),j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-card-form"]],features:[Dt],decls:32,vars:49,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","card-credentials-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],["formGroupName","cardCredentials",1,"__ndb-form-stage-controls","__ndb-form-stage-controls_credentials"],["id","card-number-field","formControlName","cardNumber","type","tel","autocomplete","cc-number",1,"__ndb-form-stage-controls_card-number",3,"paste","focusin","placeholder","mask","transparent","validate","status"],["ngProjectAs","suffix",5,["suffix"],1,"__ndb-form-stage-controls_card-number-logo",3,"src"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_x"],[1,"__ndb-form-stage-controls-group"],["id","card-expiration-field","formControlName","expiration","mask","00 / 00","type","tel","autocomplete","cc-exp",1,"__ndb-form-stage-controls_expiration",3,"focusin","placeholder","transparent","validate","status"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_y"],["id","card-cvv-field","formControlName","cvv","type","tel",1,"__ndb-form-stage-controls_cvv",3,"focusin","mask","dropSpecialCharacters","placeholder","transparent","validate","status"],["tabindex","-1","ngProjectAs","suffix",5,["suffix"]],[1,"material-icons","font-description","block","fz-18","cursor-default"],["data-locator","card-holder-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","card-holder-field","formControlName","cardHolder","autocomplete","cc-name",3,"focusin","placeholder","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=Nr();go(0)(1)(2),oe(3,"form",0)(4,"div",1)(5,"div",2)(6,"h6",3),je(7),se(),ht(8,RU,2,2,"span",4),se(),oe(9,"div",5)(10,"moto-form-input",6),un(11,"cardInfo"),ct("paste",function(u){return wt(o),Ct(i.pasteCardNumber(u))})("focusin",function(){return wt(o),Ct(i.onFocus("number"))}),kt(12,"moto-picture",7),un(13,"cardInfo"),se(),kt(14,"div",8),oe(15,"div",9)(16,"moto-form-input",10),ct("focusin",function(){return wt(o),Ct(i.onFocus("expiration"))}),se(),kt(17,"div",11),oe(18,"moto-form-input",12),un(19,"cardInfo"),un(20,"cardInfo"),ct("focusin",function(){return wt(o),Ct(i.onFocus("cvv"))}),oe(21,"div",13),un(22,"cardInfo"),oe(23,"i",14),je(24,"error"),se()()()()()(),oe(25,"div",1)(26,"div",2)(27,"h6",3),je(28),se(),ht(29,LU,2,2,"span",15),se(),oe(30,"div",16)(31,"moto-form-input",17),ct("focusin",function(){return wt(o),Ct(i.onFocus("holder"))}),se()()()()}if(2&r){const o=i.isCardHolderErrorShown(),s=i.isCredentialsErrorShown();W(2);const u=Ni(i.settings().language);W(),Ce("formGroup",i.form),W(4),vn(" ",i.paymentDetailsHeader()," "),W(),St(s?8:-1),W(),Zo("invalid",s),W(),Ce("placeholder",u.requisites.cardNumberPlaceholder)("mask",dl(11,29,i.form.value.cardCredentials.cardNumber,"card-number-mask","0000 0000 0000 0000"))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),W(2),Ce("src",zr(13,33,i.form.value.cardCredentials.cardNumber,"logo")),W(4),Ce("placeholder",u.requisites.cardExpirationPlaceholder)("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),W(2),Ce("mask",dl(19,36,i.form.value.cardCredentials.cardNumber,"code-mask","000"))("dropSpecialCharacters",!1)("placeholder",function O8(e,n,t,r,i,o){const s=e+we,u=U(),c=Eu(u,s);return Jd(u,s)?k8(u,si(),n,c.transform,t,r,i,o,c):c.transform(t,r,i,o)}(20,40,i.form.value.cardCredentials.cardNumber,"code","CVV",u.requisites.cvvPlaceholder))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),W(3),kr("data-tooltip",dl(22,45,i.form.value.cardCredentials.cardNumber,"secure-text",u.requisites.cvvHint)),W(7),vn(" ",i.nameOnCardHeader()," "),W(),St(o?29:-1),W(2),Ce("placeholder",u.requisites.cardHolderPlaceholder)("maxlength",i.constants.card.holder.length.max)("validate",!1)("status",o?"invalid":"valid")}},dependencies:[W0,Pl,R0,Ph,kl,Ih,q0,wl,OD,Jv],data:{animation:[jv()]},changeDetection:0})}return e})();function FU(e,n){if(1&e&&(oe(0,"span",4),je(1),se()),2&e){fe();const t=zn(0);Ce("@ANTransform",void 0),W(),vn(" ",t.errors.invalidPhoneNumber,"")}}let LD=(()=>{class e extends A0{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.phoneConstants=qi.phoneNumber}ngOnInit(){this.componentState=this.context.componentsStates.additionalForm,this.cardFormState=this.context.componentsStates.cardForm,this.settings=this.context.data.settings,this.initComputed(),this.initForm(),b4(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,t=>!!t.phoneNumber)}onFocus(){this.context.events.analytics.emit(new Tn("number-field-focus"),!0)}initForm(){this.form=this.fb.group({phoneNumber:["",[Bs.minLength(qi.phoneNumber.length.min),Bs.maxLength(qi.phoneNumber.length.max)]]})}initComputed(){this.header=Tt(()=>{const t=this.settings();return`${t.language.phone.header}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.isErrorShown=Tt(()=>{const t=this.componentState();return t.canShowError&&!t.isValid})}static#e=this.\u0275fac=function(r){return new(r||e)(j(Jt),j(v4),j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-additional-form"]],features:[Dt],decls:10,vars:9,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","phone-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","phone-number-field","formControlName","phoneNumber","autocomplete","tel","type","tel",3,"focusin","placeholder","minlength","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=Nr();go(0)(1),oe(2,"form",0)(3,"div",1)(4,"div",2)(5,"h6",3),je(6),se(),ht(7,FU,2,2,"span",4),se(),oe(8,"div",5)(9,"moto-form-input",6),ct("focusin",function(){return wt(o),Ct(i.onFocus())}),se()()()()}if(2&r){const o=Ni(i.settings().language),s=i.isErrorShown();W(2),Ce("formGroup",i.form),W(4),vr(i.header()),W(),St(s?7:-1),W(2),Ce("placeholder",o.phone.placeholder)("minlength",i.phoneConstants.length.min)("maxlength",i.phoneConstants.length.max)("validate",!1)("status",s?"invalid":"valid")}},dependencies:[W0,Pl,R0,Y0,Ph,kl,Ih,OD],data:{animation:[jv()]},changeDetection:0})}return e})(),J0=(()=>{class e{constructor(t){this.sanitizer=t}transform(t,r){if(!t)return t;const i=this.parseLinks(t,r);return this.sanitizer.bypassSecurityTrustHtml(i)}parseLinks(t,r){return t.replace(/\{\s*href:\s*['"]([^'"]+)['"],\s*text:\s*['"]([^'"]+)['"]\s*\}/g,`<a href="$1" ${r?`class="${r}"`:""} target="_blank">$2</a>`)}static#e=this.\u0275fac=function(r){return new(r||e)(j(_v,16))};static#t=this.\u0275pipe=Jn({name:"linkify",type:e,pure:!0})}return e})();function VU(e,n){if(1&e){const t=Nr();oe(0,"label",5)(1,"input",6),ct("ngModelChange",function(i){wt(t);const o=fe(),s=o.$implicit,u=o.$index;return Ct(fe(2).onChange(s,u,i))})("focusin",function(){wt(t);const i=fe(),o=i.$implicit,s=i.$index;return Ct(fe(2).onFocus(o,s))}),se(),kt(2,"span",7)(3,"span",8),un(4,"linkify"),se()}if(2&e){const t=fe(),r=t.$implicit,i=t.$index,o=fe(2),s=zn(2);W(),Ce("name","charge-term-"+i)("id","charge-term-"+i)("formControlName",i),W(),Zo("invalid",s&&!o.form.get("checkboxes").get(i.toString()).value),W(),Ce("innerHTML",zr(4,6,r,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),Ha)}}function $U(e,n){1&e&&ht(0,VU,5,9,"label",5),2&e&&St(n.$implicit?0:-1)}function jU(e,n){if(1&e&&(oe(0,"form",1),al(1,4),Xo(2,$U,1,1,null,null,fa),ul(),se()),2&e){const t=fe(),r=zn(1);Ce("formGroup",t.form),W(2),Jo(r.checkboxes)}}function BU(e,n){if(1&e&&(oe(0,"p",2),un(1,"linkify"),je(2),se()),2&e){fe();const t=zn(1);Ce("innerHTML",zr(1,2,t.text,"fz-12 fw-500 font-description"),Ha),W(2),vn(" ",t.text," ")}}function HU(e,n){if(1&e&&(oe(0,"span",3),je(1),se()),2&e){fe();const t=zn(0);Ce("@ANTransform",void 0),W(),vn(" ",t.language.errors.notCheckedCheckboxes," ")}}let FD=(()=>{class e extends A0{constructor(t,r,i){super(r),this.context=t,this.injector=r,this.fb=i}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.chargeTerms,this.isErrorShown=Tt(()=>this.componentState().canShowError&&!this.componentState().isValid),this.initForm()?b4(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,()=>!0):this.componentState.update(t=>({...t,isValid:!0}))}onChange(t,r,i){this.context.events.analytics.emit(new Tn(i?`charge-term-checkbox-${r}-check`:`charge-term-checkbox-${r}-uncheck`,{text:t}))}onFocus(t,r){this.context.events.analytics.emit(new Tn(`charge-term-checkbox-${r}-focus`,{text:t}),!0)}initForm(){const t=this.settings().chargeTerms;if(!t.checkboxes?.length)return!1;const r=t.checkboxes.map(()=>this.fb.control(!1,Bs.requiredTrue));return this.form=this.fb.group({checkboxes:this.fb.array(r)}),!0}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(Jt),j(v4))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-charge-terms"]],features:[Dt],decls:7,vars:6,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes",3,"formGroup"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],["data-locator","charge-terms-error",1,"fz-14","fw-500","font-error"],["formArrayName","checkboxes"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","formControlName"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(go(0)(1)(2),oe(3,"div",0),ht(4,jU,4,1,"form",1)(5,BU,3,5,"p",2)(6,HU,2,2,"span",3),se()),2&r){const o=Ni(i.settings());W();const s=Ni(o.chargeTerms);W();const u=Ni(i.isErrorShown());W(2),St(null!=s.checkboxes&&s.checkboxes.length?4:-1),W(),St(s.text?5:-1),W(),St(u?6:-1)}},dependencies:[W0,x0,Pl,R0,kl,Ih,Z0,J0],data:{animation:[jv()]},changeDetection:0})}return e})();function VD(e){const n=function UU(e){return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="description" content="Waiting payment approval">\n\n <title>Moto pay</title>\n </head>\n <body>\n <div class="waiting">\n <div class="section">\n <h2 class="waiting__title">${e.paymentProcessing}</h2>\n <div class="section__content __ndb-spinner-container">\n <div class="spinner">\n <div class="lds-ring">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n </div>\n <div class="spinner__extra"></div>\n </div>\n </div>\n </div>\n </div>\n </body>\n </html>`}(e);let s=n.replace("</head>",'<style>\n\n .waiting__title {\n position: relative;\n z-index: 101;\n font-family: "Poppins", Helvetica, Arial, sans-serif;\n color: #29304d;\n font-size: 16px;\n margin: 0;\n text-align: center;\n transform: translateY(108px);\n }\n .__ndb__moto-modal-backdrop {\n background-color: #e5e5e5 !important;\n }\n .__ndb__moto-modal .header {\n margin: 0;\n }\n .section__content {\n margin: 0 auto;\n width: 870px;\n }\n @media screen and (max-width: 1000px) {\n .section__content {\n width: 720px;\n }\n }\n @media screen and (max-width: 768px) {\n .section__content {\n width: 375px;\n }\n }\n @media screen and (max-width: 375px) {\n .section__content {\n width: 320px;\n }\n }\n .spinner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 330px;\n }\n .spinner_small {\n height: 70px;\n }\n .spinner_extra {\n height: 550px;\n }\n .lds-ring {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 64px;\n height: 64px;\n margin: 8px;\n border: 8px solid #6936d3;\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: #6936d3 transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.45s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.15s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n</style>\n</head>');return s=s.replace("</body>","<script>\n\n const messageKey = '__moto_pay_message';\n\n function inputTemplate(name, value) {\n return `<input type=\"hidden\" name=\"${name}\" value=\"${value}\" />`;\n }\n \n function formTemplate(redirectUrl, inputsTpl) {\n return `<form action=\"${redirectUrl}\" method=\"post\">${inputsTpl}</form>`;\n }\n \n function makeFormTemplate(threeDsData) {\n const inputsTemplate = Object.entries(threeDsData).reduce((accum, [key, value]) => {\n const inputTpl = inputTemplate(key, value);\n return (accum += `${inputTpl}\n`);\n }, '');\n const template = formTemplate(threeDsData.acsurl, inputsTemplate);\n return template;\n }\n \n function simpleRedirect(url) {\n window.location.replace(url);\n }\n \n function postRedirect(threeDsData) {\n const template = makeFormTemplate(threeDsData);\n \n setTimeout(() => {\n document.body.innerHTML = template;\n const form = document.body.querySelector('form');\n form.submit();\n });\n }\n \n function onMessageReceived(event) {\n if (event.data && event.data.key == messageKey) {\n if (event.data.type == 'simpleRedirect') {\n simpleRedirect(event.data?.redirectData?.location);\n }\n \n if (event.data.type == 'postRedirect') {\n postRedirect(event.data.threeDsData);\n }\n }\n }\n\n window.addEventListener('message', onMessageReceived, false);\n \n<\/script>\n</body>"),s}fT();class Q0{constructor(){this.postMessageKey="__moto_pay_message"}tryOpenBlankWindow(n){return this.window||(this.window=window.open("","_blank")??void 0,n&&this.window?.document?.write(n)),this.window}threeDsRedirect(n){this.window?.postMessage({key:this.postMessageKey,type:"postRedirect",threeDsData:n})}redirect(n){this.window?.postMessage({key:this.postMessageKey,type:"simpleRedirect",redirectData:n})}closeWindow(){this.window?.close(),this.window=void 0}}let $D=(()=>{class e{constructor(t){this.window=t}transform(t,r){return Number(t).toLocaleString(this.window.navigator.language,{style:"currency",currency:r})}static#e=this.\u0275fac=function(r){return new(r||e)(j(v9,16))};static#t=this.\u0275pipe=Jn({name:"currencySymbol",type:e,pure:!0})}return e})(),WU=(()=>{class e{transform(t,r,i){return r&&i&&"net"==i?t+r:t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jn({name:"price",type:e,pure:!0})}return e})();function qU(e,n){if(1&e&&(oe(0,"span",4),je(1),se()),2&e){fe();const t=zn(3);W(),vr(t.taxDescription)}}function ZU(e,n){if(1&e&&(kt(0,"div",9),oe(1,"div",10),kt(2,"moto-picture",11),un(3,"cardInfo"),oe(4,"span",12),je(5),un(6,"slice"),se()()),2&e){const t=n;W(2),Ce("src",zr(3,2,t.name,"logo")),W(3),vn(" \u2022\u2022",zr(6,5,t.name,-4)," ")}}let jD=(()=>{class e{constructor(t,r,i){this.context=t,this.processing=r,this.windowService=i}ngOnInit(){this.settings=this.context.data.settings,this.payment=this.context.data.payment,this.userProvidedInfo=this.context.data.userProvidedInfo,this.paymentAvailability=this.context.computed.paymentAvailability,this.existingCard=Tt(()=>{const t=this.userProvidedInfo();if("existing-card"===t?.requisites?.type&&t.requisites?.value)return t.requisites.value})}pay(){if(this.context.events.analytics.emit(new Tn("pay-button-click")),!this.context.computed.paymentAvailability().canPay.byCard)return void this.context.updateCanShowError(!0);this.windowService.tryOpenBlankWindow(VD(this.settings().language));const t=this.processing.pay();this.context.data.state.set({type:"payLoading",payload:{observable:t}})}onFocus(){this.context.events.analytics.emit(new Tn("pay-button-focus"),!0)}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(Il),j(Q0))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-pay-button"]],decls:23,vars:23,consts:[[1,"__ndb-pay"],[1,"__ndb-pay-info"],[1,"__ndb-pay-title","fz-18","fw-600"],["data-locator","total-cost",1,"fz-24","fw-700"],["id","tax-description",1,"fz-11","fw-500","font-description"],["id","pay-button","data-locator","btn-submit",1,"__ndb-pay-btn","button-submit","full-width",3,"click","focusin","ngClass","disabled"],[1,"__ndb-pay-btn-content"],[1,"__ndb-pay-btn-cost-side"],["data-locator","btn-submit-cost"],[1,"__ndb-pay-btn-separator"],[1,"__ndb-pay-btn-card-side"],[1,"__ndb-pay-btn-card-side-logo",3,"src"],["data-locator","btn-submit-card-number",1,"__ndb-pay-btn-card-side-number"]],template:function(r,i){if(1&r){const o=Nr();go(0)(1)(2)(3),oe(4,"div",0)(5,"div",1)(6,"span",2),je(7),se(),oe(8,"span",3),je(9),un(10,"price"),un(11,"currencySymbol"),se()(),ht(12,qU,2,1,"span",4),oe(13,"button",5),ct("click",function(){return wt(o),Ct(i.pay())})("focusin",function(){return wt(o),Ct(i.onFocus())}),oe(14,"div",6)(15,"div",7)(16,"span"),je(17),oe(18,"span",8),je(19),un(20,"price"),un(21,"currencySymbol"),se()()(),ht(22,ZU,7,8),se()()()}if(2&r){let o;const s=i.payment(),u=i.paymentAvailability(),c=i.settings();W(3);const d=Ni(c.language);W(4),vr(d.totalHeader),W(2),vr(zr(11,13,dl(10,9,s.amount,s.tax,s.amountType),s.currency)),W(3),St(c.isTaxVisible&&d.taxDescription?12:-1),W(),Ce("ngClass",u.buttonDisableClass)("disabled",u.isPayButtonDisabled),W(4),vn(" ",d.pay," "),W(2),vn(" ",zr(21,20,dl(20,16,s.amount,s.tax,s.amountType),s.currency)," "),W(3),St((o=i.existingCard())?22:-1,o)}},dependencies:[tv,wl,$D,av,Jv,WU],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-pay[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.__ndb-pay-info[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;margin-bottom:7px}.__ndb-pay-btn[_ngcontent-%COMP%]{margin-top:7px}.__ndb-pay-btn-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;width:100%}.__ndb-pay-btn-separator[_ngcontent-%COMP%]{width:2px;height:18px;opacity:.3;background-color:var(--ndb-button-color)}.__ndb-pay-btn-card-side[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.__ndb-pay-btn-card-side-logo[_ngcontent-%COMP%]{height:24px;width:36px}"],changeDetection:0})}return e})(),em=(()=>{class e{constructor(){this.signals={}}getOrSetItemSignal(t,r){const i=window.sessionStorage.getItem(t);return i?this.signals[t]?JSON.stringify(this.signals[t]())!==i&&this.signals[t].set(JSON.parse(i)):this.signals[t]=mt(JSON.parse(i)):this.setItem(t,r),this.signals[t]}setItem(t,r){window.sessionStorage.setItem(t,JSON.stringify(r)),this.signals[t]?this.signals[t].set(r):this.signals[t]=mt(r)}removeItem(t){window.sessionStorage.removeItem(t),this.signals[t]?.set(void 0)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),YU=(()=>{class e{constructor(t,r){this.renderer=t,this.elRef=r,this.buttonClick=new yn,this.buttonStyle="white-outline",this.locale="en-US",this.type="continue"}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){const t=this.renderer.createElement("apple-pay-button");this.renderer.setAttribute(t,"type",this.type),this.renderer.setAttribute(t,"buttonstyle",this.buttonStyle),this.renderer.setAttribute(t,"locale",this.locale),this.buttonClickListener=this.renderer.listen(t,"click",r=>this.buttonClick.emit(r)),this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(j(Fs),j(Pi))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","motoApplePayButton",""]],inputs:{buttonStyle:"buttonStyle",locale:"locale",type:"type"},outputs:{buttonClick:"buttonClick"}})}return e})(),KU=(()=>{class e{constructor(t,r,i){this.renderer=t,this.elRef=r,this.context=i,this.buttonClick=new yn}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){if(!this.context.clients.googlePay)return;const t=this.context.clients.googlePay.createButton({buttonSizeMode:"fill",buttonRadius:4,onClick:r=>this.buttonClick.emit(r)});this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(j(Fs),j(Pi),j(ln))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","motoGooglePayButton",""]],outputs:{buttonClick:"buttonClick"}})}return e})(),XU=(()=>{class e{set _let(t){this.context.let=t}constructor(t,r){this.viewContainer=t,this.tpl=r,this.context={let:null}}ngOnInit(){this.viewContainer.createEmbeddedView(this.tpl,this.context)}static#e=this.\u0275fac=function(r){return new(r||e)(j(qo),j(Ls))};static#t=this.\u0275dir=Fe({type:e,selectors:[["","let",""]],inputs:{_let:[0,"let","_let"]}})}return e})();const JU=(e,n)=>n.name,QU=(e,n)=>({applepay:e,googlepay:n}),ez=e=>({$implicit:e});function tz(e,n){if(1&e){const t=Nr();oe(0,"div",5)(1,"span",7),ct("click",function(){return wt(t),Ct(fe(2).apmsCollapseClick())}),je(2),se()()}if(2&e){fe(2);const t=zn(2);W(),Ce("ngClass",t.apmsCollapse?"__ndb-apm-list__delimiter-text__apms-collapse":""),W(),vr(t.apmsCollapse?t.language.apms.orUseAlternative:t.language.apms.or)}}function nz(e,n){if(1&e&&cl(0,8),2&e){const t=n.$implicit,r=fe(2).let;fe();const i=Sp(5);Ce("ngTemplateOutlet",t.logo?i:r[t.name])("ngTemplateOutletContext",function M8(e,n,t,r){return P8(U(),si(),e,n,t,r)}(2,ez,t))}}function rz(e,n){if(1&e&&(oe(0,"div",6),Xo(1,nz,1,4,"ng-container",8,JU),se()),2&e){fe(2);const t=zn(0);W(),Jo(t)}}function iz(e,n){if(1&e&&(oe(0,"div",4),ht(1,tz,3,2,"div",5)(2,rz,3,0,"div",6),se()),2&e){let t;const r=fe(),i=zn(2);W(),St(r.cardPaymentAvailable()?1:-1),W(),St(i.apmsCollapse&&r.apmsCollapsed&&(null===(t=r.apmsCollapsed())||void 0===t||t)?-1:2)}}function oz(e,n){if(1&e){const t=Nr();oe(0,"button",9),ct("focusin",function(){const i=wt(t).$implicit;return Ct(fe().onFocus(i))})("click",function(){const i=wt(t).$implicit;return Ct(fe().pay(i))}),kt(1,"img",10),se()}if(2&e){const t=n.$implicit;fe();const r=zn(1);Ce("id","apm-"+(null==t?null:t.name)+"-button")("ngClass",r.elementDisableClass),W(),Ce("src",t.logo,vd)("alt",t.name)}}function sz(e,n){if(1&e){const t=Nr();oe(0,"div",11),ct("buttonClick",function(){const i=wt(t).$implicit;return Ct(fe().pay(i))})("focusin",function(){const i=wt(t).$implicit;return Ct(fe().onFocus(i))}),se()}2&e&&(fe(),Ce("ngClass",zn(1).elementDisableClass))}function az(e,n){if(1&e){const t=Nr();oe(0,"div",12),ct("buttonClick",function(){const i=wt(t).$implicit;return Ct(fe().pay(i))})("focusin",function(){const i=wt(t).$implicit;return Ct(fe().onFocus(i))}),se()}2&e&&(fe(),Ce("ngClass",zn(1).elementDisableClass))}let BD=(()=>{class e{constructor(t,r,i,o,s,u,c){this.context=t,this.processingService=r,this.mapper=i,this.applePayService=o,this.googlePayService=s,this.sessionStorage=u,this.windowService=c,this.apms=mt([])}ngOnInit(){this.settings=this.context.data.settings,this.paymentInfo=this.context.data.payment,this.settings().apmsCollapse&&(this.apmsCollapsed=this.sessionStorage.getOrSetItemSignal(qi.keys.apmsCollapse,!0)),this.paymentAvailability=this.context.computed.paymentAvailability,this.apms=Tt(()=>{let t=this.context.data.loadedPaymentSystems().filter(i=>"card"!==i.name);return this.mapper.mapApms(t)}),this.cardPaymentAvailable=Tt(()=>this.context.componentsStates.cardForm().enabled||this.context.componentsStates.cardList().enabled)}pay(t){if(this.context.events.analytics.emit(new Tn(`${t.name}-button-click`)),this.paymentAvailability().canPay.byApm)if("applepay"===t.name){const r=ba(this.settings().urls.processing,`api/applepay/${this.paymentInfo().merchantId}/merchantValidation`);this.applePayService.pay(this.paymentInfo(),r).subscribe({next:i=>{t.token=i,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()})}else"googlepay"===t.name?this.googlePayService.pay(this.paymentInfo()).subscribe({next:r=>{t.token=r,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()}):(this.windowService.tryOpenBlankWindow(VD(this.settings().language)),this.makePaymentAndRedirect(t));else this.context.updateCanShowErrorForApm(!0)}onFocus(t){this.context.events.analytics.emit(new Tn(`${t.name}-button-focus`),!0)}apmsCollapseClick(){if(this.settings().apmsCollapse){const t=this.apmsCollapsed();this.sessionStorage.setItem(qi.keys.apmsCollapse,!t),this.context.events.analytics.emit(new Tn("apms-show-button-click",{show:t}))}}makePaymentAndRedirect(t){this.context.data.userProvidedInfo.update(i=>({...i,paymentSystemName:t.name,requisites:{type:"apm",value:t}}));const r=this.processingService.pay();this.context.data.state.set({type:"payLoading",payload:{observable:r}})}apmTokenError(){this.windowService.closeWindow(),this.context.data.state.set({type:"result",payload:{}})}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(Il),j(Nl),j(Yv),j(Kv),j(em),j(Q0))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-apm-list"]],decls:10,vars:7,consts:[["apmDefaultRef",""],["applePayRef",""],["googlePayRef",""],["class","__ndb-apm-list",4,"let"],[1,"__ndb-apm-list"],[1,"__ndb-apm-list__delimiter"],[1,"__ndb-apm-list-apms"],["id","apms-collapse-button",1,"__ndb-apm-list__delimiter-text","fz-12",3,"click","ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"__ndb-apm-list-apms__item",3,"focusin","click","id","ngClass"],[1,"__ndb-apm-list-apms__item-img",3,"src","alt"],["id","apm-applepay-button","motoApplePayButton","",1,"__ndb-apm-list-apms__item","moto-apple-pay-button",3,"buttonClick","focusin","ngClass"],["id","apm-googlepay-button","motoGooglePayButton","",1,"__ndb-apm-list-apms__item","moto-google-pay-button",3,"buttonClick","focusin","ngClass"]],template:function(r,i){if(1&r&&(go(0)(1)(2),ht(3,iz,3,2,"div",3)(4,oz,2,4,"ng-template",null,0,Ip)(6,sz,1,1,"ng-template",null,1,Ip)(8,az,1,1,"ng-template",null,2,Ip)),2&r){const o=Sp(7),s=Sp(9);Ni(i.apms()),W(),Ni(i.paymentAvailability()),W(),Ni(i.settings()),W(),Ce("let",function I8(e,n,t,r,i){return A8(U(),si(),e,n,t,r,i)}(4,QU,o,s))}},dependencies:[tv,h6,YU,KU,XU],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]{margin-bottom:28px;display:flex;flex-direction:row;justify-content:center;align-items:center}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before, .__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{content:"";height:1px;flex:1;background-color:#c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before{margin-right:10px}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{margin-left:10px}.__ndb-apm-list__delimiter-text[_ngcontent-%COMP%]{font-weight:500;color:#636b8a}.__ndb-apm-list__delimiter-text__apms-collapse[_ngcontent-%COMP%]{-webkit-text-decoration:underline #636b8a dotted;text-decoration:underline #636b8a dotted;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-apm-list-apms[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]{position:relative;width:100%;height:60px;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:#e8eaf3;transition:box-shadow .25s ease-out;will-change:box-shadow;border-radius:4px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:hover:not(.disabled-element):not(.hidden-enabled-element){box-shadow:0 2px 3px #2f45704d}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:not(.disabled-element):not(.hidden-enabled-element){cursor:pointer}.__ndb-apm-list-apms__item-img[_ngcontent-%COMP%]{position:absolute;width:60%;height:100%;left:20%;top:0;object-fit:contain}.moto-apple-pay-button[_ngcontent-%COMP%]{--apple-pay-button-height: 60px;--apple-pay-button-width: 100%;width:100%;height:60px;padding:0}.moto-google-pay-button[_ngcontent-%COMP%]{width:100%;height:60px;padding:0}'],changeDetection:0})}return e})();function uz(e,n){if(1&e){const t=Nr();oe(0,"label",3)(1,"input",4),my("ngModelChange",function(i){wt(t);const o=fe().$implicit;return function C8(e,n){const t=ow(e);return t&&e.set(n),t}(o.value,i)||(o.value=i),Ct(i)}),ct("ngModelChange",function(){wt(t);const i=fe(),o=i.$implicit,s=i.$index;return Ct(fe(2).onChange(o,s))})("focusin",function(){wt(t);const i=fe(),o=i.$implicit,s=i.$index;return Ct(fe(2).onFocus(o,s))}),se(),kt(2,"span",5)(3,"span",6),un(4,"linkify"),se()}if(2&e){const t=fe().$implicit;W(),Ce("name","user-preference-"+t.name)("id","user-preference-"+t.name),py("ngModel",t.value),W(2),Ce("innerHTML",zr(4,4,t.text,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),Ha)}}function cz(e,n){1&e&&ht(0,uz,5,7,"label",3),2&e&&St(n.$implicit.text?0:-1)}function lz(e,n){if(1&e&&(oe(0,"div",1),Xo(1,cz,1,1,null,null,fa),se()),2&e){const t=fe();W(),Jo(t.userPreferenceCheckboxes)}}function dz(e,n){1&e&&(kt(0,"p",2),un(1,"linkify")),2&e&&(fe(),Ce("innerHTML",zr(1,1,zn(0).userPreferences.text,"fz-12 fw-500 font-description"),Ha))}let HD=(()=>{class e extends A0{constructor(t,r){super(t),this.injector=t,this.context=r,this.userPreferenceCheckboxes=[]}ngOnInit(){this.settings=this.context.data.settings,this.update(this.settings().userPreferences)}reset(){this.update(this.settings().userPreferences)}onChange(t,r){this.context.data.userProvidedInfo.update(o=>({...o,userPreferences:this.userPreferenceCheckboxes}));this.context.events.analytics.emit(new Tn(t.value?`user-preference-checkbox-${r}-check`:`user-preference-checkbox-${r}-uncheck`,{name:t.name,text:t.text}))}onFocus(t,r){this.context.events.analytics.emit(new Tn(`user-preference-checkbox-${r}-focus`,{name:t.name,text:t.text}),!0)}update(t){t?.checkboxes?.length?(this.userPreferenceCheckboxes=t.checkboxes.map(r=>({name:r.name,text:r.text,value:!!r.defaultValue})),this.context.data.userProvidedInfo.update(r=>({...r,userPreferences:this.userPreferenceCheckboxes})),this.localDetect()):this.userPreferenceCheckboxes=[]}static#e=this.\u0275fac=function(r){return new(r||e)(j(Jt),j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-user-preferences"]],features:[Dt],decls:4,vars:3,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","ngModel"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(go(0),oe(1,"div",0),ht(2,lz,3,0,"div",1)(3,dz,2,4,"p",2),se()),2&r){const o=Ni(i.settings());W(2),St(i.userPreferenceCheckboxes.length?2:-1),W(),St(null!=o&&null!=o.userPreferences&&o.userPreferences.text?3:-1)}},dependencies:[x0,Pl,z0,J0],styles:[".__ndb-settings-checkboxes-checkbox-checkmark[_ngcontent-%COMP%]{border-radius:2px}"],changeDetection:0})}return e})();function hz(e,n){1&e&&(oe(0,"span",4),je(1,"\xb7"),se())}function fz(e,n){if(1&e&&(oe(0,"a",3),je(1),se(),ht(2,hz,2,0,"span",4)),2&e){const t=n.$implicit,r=n.$index,i=n.$count;Ce("href",t.href,vd),W(),vn(" ",t.text," "),W(),St(r!==i-1?2:-1)}}function pz(e,n){if(1&e&&(oe(0,"div",1),Xo(1,fz,3,3,null,null,fa),se()),2&e){fe(2);const t=zn(0);W(),Jo(t.links)}}function mz(e,n){1&e&&(kt(0,"p",2),un(1,"linkify")),2&e&&(fe(2),Ce("innerHTML",zr(1,1,zn(0).text,"__ndb-merchant-info-checkbox-link fz-12 fw-500 font-description"),Ha))}function gz(e,n){if(1&e&&(oe(0,"div",0),ht(1,pz,3,0,"div",1)(2,mz,2,4,"p",2),se()),2&e){fe();const t=zn(0);W(),St(null!=t.links&&t.links.length?1:-1),W(),St(t.text?2:-1)}}let GD=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-merchant-info"]],decls:2,vars:2,consts:[[1,".__ndb-merchant-info"],[1,"__ndb-merchant-info-links"],[1,"__ndb-merchant-info-description","fz-11","fw-500","font-description",3,"innerHTML"],["target","_blank",1,"__ndb-merchant-info-links-link","fz-12","fw-500","font-description",3,"href"],[1,"__ndb-merchant-info-links-separator","fz-12","fw-500","font-description"]],template:function(r,i){if(1&r&&(go(0),ht(1,gz,3,2,"div",0)),2&r){const o=Ni(i.settings().merchantInfo);W(),St(null!=o.links&&o.links.length||o.text?1:-1)}},dependencies:[J0],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-merchant-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:28px;padding:0 28px 28px}@media (max-width: 768px){.__ndb-merchant-info[_ngcontent-%COMP%]{padding-bottom:14px}}.__ndb-merchant-info-links[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap}.__ndb-merchant-info-links-link[_ngcontent-%COMP%]{white-space:nowrap;text-decoration-line:underline}.__ndb-merchant-info-links-separator[_ngcontent-%COMP%]{margin:0 10px;white-space:nowrap}.__ndb-merchant-info-description[_ngcontent-%COMP%]{text-align:left;line-height:1.1;color:#000}"],changeDetection:0})}return e})(),UD=(()=>{class e{transform(t){return`https://cdn.motopays.com/images/${t}`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jn({name:"image",type:e,pure:!0})}return e})();function yz(e,n){1&e&&(kt(0,"moto-picture",3),un(1,"image")),2&e&&Ce("src",Xd(1,1,"visa-secure.svg"))}function vz(e,n){1&e&&(kt(0,"moto-picture",3),un(1,"image")),2&e&&Ce("src",Xd(1,1,"master-card-secure.svg"))}function bz(e,n){if(1&e&&(oe(0,"div",0)(1,"p",1),je(2),se(),oe(3,"div",2),ht(4,yz,2,3,"moto-picture",3)(5,vz,2,3,"moto-picture",3),se()()),2&e){const t=fe();W(2),vn(" ",t.settings().language.transactionProtectedBy," "),W(2),St(t.isVisaAvailable()?4:-1),W(),St(t.isMastercardAvailable()?5:-1)}}let zD=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings,this.isMastercardAvailable=Tt(()=>!!this.settings().availableCardBrands?.some(t=>"mastercard"===t)),this.isVisaAvailable=Tt(()=>!!this.settings().availableCardBrands?.some(t=>"visa"===t))}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-protected-by"]],decls:1,vars:1,consts:[[1,"__ndb-secure"],[1,"__ndb-secure-phrase","fz-12","fw-500","font-description"],[1,"__ndb-secure-logos"],[1,"__ndb-secure-logos-logo",3,"src"]],template:function(r,i){1&r&&ht(0,bz,6,3,"div",0),2&r&&St(i.isMastercardAvailable()||i.isVisaAvailable()?0:-1)},dependencies:[wl,UD],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-secure[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.__ndb-secure-phrase[_ngcontent-%COMP%]{color:#000}.__ndb-secure-logos[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:2px}.__ndb-secure-logos-logo[_ngcontent-%COMP%]{height:40px;width:max-content}"],changeDetection:0})}return e})(),WD=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-no-payments"]],decls:2,vars:1,consts:[[1,"__ndb-no-methods"]],template:function(r,i){1&r&&(oe(0,"h2",0),je(1),se()),2&r&&(W(),vn(" ",i.settings().language.noAvailablePaymentMethods,"\n"))},styles:[".__ndb-no-methods[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0})}return e})(),Nl=(()=>{class e{mapApms(t){return t.map(r=>({...r}))}mapPaymentRequest(t,r,i,o){let s=t.details;r.userPreferences?.length&&(s=r.userPreferences.reduce((d,h)=>(d[h.name]=h.value,d),s||{}));const u={amount:t.amount,amountType:this.mapAmountType(t.amountType),tax:t.tax,currency:t.currency,description:t.description?.substring(0,127),details:s?JSON.stringify(s):void 0,type:this.mapOrderType(t.orderType)},c={id:t.userId,email:t.email,phoneNumber:r.phoneNumber??t.phoneNumber,ipAddress:t.ipAddress,deviceInfo:o,billingAddress:t.billingAddress};return{id:t.paymentId,initiator:this.mapInitiatorType(t.initiator)??"Customer",returnUrl:t.returnUrl,webhookUrl:t.webhookUrl,order:u,payer:c,requisites:this.mapRequisites(r.requisites),signature:t.signature,rejectionPreferences:{showResolvingTips:i.isProblemTipsListVisible??!1}}}mapComponents(t,r){return t.map(i=>{switch(i){case"available-card-brands":return{component:FE,visible:r.availableCardBrands};case"no-methods":return{component:WD,visible:r.noMethods};case"card-list":return{component:Qv,visible:r.cardList};case"requisites":return{component:RD,visible:r.cardForm};case"phone-number":return{component:LD,visible:r.additionalForm};case"charge-terms":return{component:FD,visible:r.chargeTerms};case"pay-button":return{component:jD,visible:r.payButton};case"apm-list":return{component:BD,visible:r.apmList};case"user-preferences":return{component:HD,visible:r.userPreferences};case"merchant-info":return{component:GD,visible:r.merchantInfo};case"protected-by":return{component:zD,visible:r.protectedBy}}})}mapInterfaceSettingsToDomain(t){let r=t.languageSettings.code;t.languageSettings.languages[r]||(r="en-US");const i=t.languageSettings.languages[r],o=t.chargeTerms?{text:t.chargeTerms.text?t.chargeTerms.text[r]:void 0,checkboxes:t.chargeTerms.checkboxes?.length?t.chargeTerms.checkboxes.map(c=>c[r]).filter(c=>!!c):void 0}:void 0,s=t.userPreferences?{text:t.userPreferences.text?t.userPreferences.text[r]:void 0,checkboxes:t.userPreferences.checkboxes?.length?t.userPreferences.checkboxes.map(c=>({name:c.name,defaultValue:c.defaultValue,text:c.text[r]})).filter(c=>!!c.text):void 0}:void 0,u=t.merchantInfo?{links:t.merchantInfo.links?.length?t.merchantInfo.links.map(c=>({href:c.href,text:c.text[r]})).filter(c=>!!c.text):void 0,text:t.merchantInfo.text?t.merchantInfo.text[r]:void 0}:void 0;return{availableCardBrands:t.availableCardBrands,closePaymentRedirect:t.closePaymentRedirect,isTaxVisible:t.isTaxVisible,components:t.components,events:t.events,isCloseButtonVisible:t.isCloseButtonVisible,isHeaderVisible:t.isHeaderVisible,isProblemTipsListVisible:t.isProblemTipsListVisible,isSignatureRequired:t.isSignatureRequired,language:i??RE,requiredFieldsBehavior:{buttonStateUntilFilled:t.requiredFieldsBehavior.buttonStateUntilFilled,markAsInvalidUntilCorrect:t.requiredFieldsBehavior.markAsInvalidUntilCorrect,showStars:t.requiredFieldsBehavior.showStars},resultComponentsStructure:t.resultComponentsStructure,urls:t.urls,chargeTerms:o,userPreferences:s,merchantInfo:u,apmsCollapse:!!t.apmsCollapse,paymentFlow:{tokenizeCard:t.paymentFlow?.tokenizeCard??!0,type:t.paymentFlow?.type??"default"}}}mapRequisites(t){switch(t.type){case"apm":const r=t.value;return{type:r.name,paymentToken:r.token};case"existing-card":return{anchor:t.value.rebill,type:"rebill"};case"card":const o=t.value;return{cardHolder:o.holder,cardNumber:o.number,expiration:o.expiration,cvv:o.cvv,type:"card"};default:throw new Error("Unknown requisites type")}}mapInitiatorType(t){if(t){if("customer"===t)return"Customer";if("merchant"===t)return"Merchant";throw new Error("Unknown payment initiator type")}}mapAmountType(t){if(t){if("gross"===t)return"Gross";if("gross-without-gst"===t)return"GrossWithoutGst";if("net"===t)return"Net";throw new Error("Unknown amount type")}}mapOrderType(t){if(t){if("free-trial"===t)return"FreeTrial";if("regular"===t)return"Regular";if("gems"===t)return"Gems";throw new Error("Unknown order type")}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),qD=(()=>{class e{constructor(t){this.mapper=t}preparePaymentOrError(t){let r=OE(t);return this.validatePayment(r)||(r.userAuthToken&&!/^[^\s]+\s+/i.test(r.userAuthToken)&&(r.userAuthToken=`Bearer ${r.userAuthToken}`),r.currency&&(r.currency=r.currency.toUpperCase()),r.amount=+r.amount,r.tax&&(r.tax=+r.tax),r)}prepareSettingsOrError(t){let r=OE(t);const i=this.validateSettings(r);if(i)return i;const o=AB(kB,r);return this.mapper.mapInterfaceSettingsToDomain(o)}validateModelsCompatibility(t,r){return!t.signature&&r.isSignatureRequired?"not-exist-signature":t.userAuthToken||"default"===r.paymentFlow.type?void 0:"not-exist-auth-for-payment-flow"}validatePayment(t){return t?t.userId?t.paymentId?t.merchantId?null==t.amount||null==t.amount?"not-exist-amount":t.email?t.currency?void 0:"not-exist-currency":"not-exist-email":"not-exist-merchant-id":"not-exist-payment-id":"not-exist-customer-id":"not-exist-payment"}validateSettings(t){return t?t.urls&&t.urls.billingProfiles&&t.urls.processing?void 0:"invalid-urls":"not-exist-settings"}static#e=this.\u0275fac=function(r){return new(r||e)(l(Nl))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();function _z(e,n){if(1&e){const t=Nr();oe(0,"div",2)(1,"i",3),ct("click",function(){return wt(t),Ct(fe().close())}),je(2,"close"),se()()}if(2&e){let t;fe();const r=zn(0);kr("data-tooltip",null!==(t=null==r||null==r.language?null:r.language.close)&&void 0!==t?t:"Close")}}let ZD=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}close(){this.context.events.close.emit()}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-header"]],decls:5,vars:3,consts:[[1,"__ndb-header"],[1,"__ndb-header-title","fz-24","fw-700"],[1,"__ndb-header-close"],[1,"material-icons","pointer",3,"click"]],template:function(r,i){if(1&r&&(go(0),oe(1,"header",0)(2,"h6",1),je(3),se(),ht(4,_z,3,1,"div",2),se()),2&r){let o,s;const u=Ni(i.settings());W(3),vn(" ",null!==(o=null==u||null==u.language?null:u.language.header)&&void 0!==o?o:"Checkout"," "),W(),St(null===(s=null==u?null:u.isCloseButtonVisible)||void 0===s||s?4:-1)}},styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:28px;border-bottom:1px solid #c9ccd8}@media (max-width: 768px){.__ndb-header[_ngcontent-%COMP%]{padding:20px}}.__ndb-header-close[_ngcontent-%COMP%]{display:flex;align-items:center}"],changeDetection:0})}return e})(),YD=(()=>{class e{constructor(){this.shadow=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-loader"]],hostVars:1,hostBindings:function(r,i){2&r&&_p("@ANFade",i.fadeAnimation)},inputs:{shadow:"shadow"},decls:3,vars:5,consts:[[1,"__ndb-loader"],["alt","spinner",1,"__ndb-loader-picture",3,"src"]],template:function(r,i){1&r&&(oe(0,"div",0),kt(1,"moto-picture",1),un(2,"image"),se()),2&r&&(Zo("shadow",i.shadow),W(),Ce("src",Xd(2,3,"spinner-small.gif")))},dependencies:[wl,UD],styles:[".__ndb-loader[_ngcontent-%COMP%]{border-radius:4px}.__ndb-loader[_ngcontent-%COMP%]:not(.shadow){height:40px;width:40px}.__ndb-loader.shadow[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:100%;width:100%;background-color:#fff9;display:flex}.__ndb-loader.shadow[_ngcontent-%COMP%] .__ndb-loader-picture[_ngcontent-%COMP%]{margin:auto;height:40px;width:40px}"],data:{animation:[WB({animationName:"ANFade",fromStyles:{opacity:"0"},toStyles:{opacity:"1"}})]},changeDetection:0})}return e})();function wz(e,n){1&e&&cl(0)}function Cz(e,n){1&e&&ht(0,wz,1,0,"ng-container",0),2&e&&Ce("ngComponentOutlet",fe().$implicit.component)}function Ez(e,n){1&e&&ht(0,Cz,1,1,"ng-container"),2&e&&St(n.$implicit.visible()?0:-1)}function Dz(e,n){1&e&&kt(0,"moto-loader")}let Sz=(()=>{class e{constructor(t,r,i){this.context=t,this.mapper=r,this.refreshService=i,this.components=[]}ngOnInit(){this.isLoaderShown=this.context.computed.isLoading,this.refreshService.refreshPaymentSystems(),this.refreshService.refreshExistingCards(),this.components=this.mapper.mapComponents(this.context.data.settings().components,this.context.visibility)}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(Nl),j(Xv))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-pay-form"]],decls:3,vars:1,consts:[[4,"ngComponentOutlet"]],template:function(r,i){1&r&&(Xo(0,Ez,1,1,null,null,bC),ht(2,Dz,1,0,"moto-loader")),2&r&&(Jo(i.components),W(2),St(i.isLoaderShown()?2:-1))},dependencies:[YD,nv],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}"],changeDetection:0})}return e})();const KD={message:"You cannot make a payment!",errors:{"not-exist-payment":'Input parameter "payment" is required in the payment model',"not-exist-customer-id":'The field "userId" is required in the payment model',"not-exist-payment-id":"The field paymentId is required in the payment model","not-exist-settings":'Input parameter "settings" is required in the payment model',"not-exist-signature":'The field "signature" is configured as required in the payment model',"not-exist-amount":'The field "amount" is required in the payment model',"not-exist-currency":'The field "currency" is required in the payment model',"not-exist-email":'The field "email" is required in the payment model',"not-exist-merchant-id":'The field "merchant id" is required in the payment model',"invalid-urls":'The field "urls" is required and processing/billingProfiles must to be set',"not-exist-auth-for-payment-flow":'The field "userAuthToken" is required for selected payment flow'}};let Tz=(()=>{class e{constructor(t){this.context=t}ngOnInit(){const t=this.context.data.state().payload;this.error=KD.errors[t.error],this.message=KD.message}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-invalid-pay-form"]],decls:7,vars:2,consts:[[1,"__ndb-error-content"],[1,"material-icons-round","__ndb-error-content-icon"],[1,"__ndb-error-content-header","fz-24","fw-700"],[1,"__ndb-error-content-description","fz-14","fw-500","font-center"]],template:function(r,i){1&r&&(oe(0,"div",0)(1,"i",1),je(2,"cancel"),se(),oe(3,"h6",2),je(4),se(),oe(5,"p",3),je(6),se()()),2&r&&(W(4),vr(i.error),W(2),vn(" ",i.message," "))},styles:[".__ndb-error-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px}@media (max-width: 768px){.__ndb-error-content[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-error-content-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-error-content-header[_ngcontent-%COMP%], .__ndb-error-content-description[_ngcontent-%COMP%]{width:100%;text-align:center}"],changeDetection:0})}return e})(),Mz=(()=>{class e{constructor(t,r,i,o){this.context=t,this.processing=r,this.sessionStorage=i,this.windowService=o}ngOnInit(){this.settings=this.context.data.settings,this.context.data.state().payload.observable.subscribe({next:r=>this.afterPay(r),error:r=>this.showResult(void 0,r)})}afterPay(t){"needAction"===t.payment?.state?(this.handleConfirmation(t.action),this.waitingPaymentCompleted(t)):(this.showResult(t),this.windowService.closeWindow())}handleConfirmation(t){switch(t.name){case"3ds":this.windowService.threeDsRedirect(t.data);break;case"redirect":this.windowService.redirect(t.data);break;default:throw new Error("Unexpected action name")}}waitingPaymentCompleted(t){(function FH(e,n,t){return e.pipe(Kt(r=>{if(n(r))return r;throw new Error(h9)}),function LH(e=1/0){let n;n=e&&"object"==typeof e?e:{count:e};const{count:t=1/0,delay:r,resetOnSuccess:i=!1}=n;return t<=0?wn:qn((o,s)=>{let c,u=0;const d=()=>{let h=!1;c=o.subscribe(Cn(s,m=>{i&&(u=0),s.next(m)},void 0,m=>{if(u++<t){const g=()=>{c?(c.unsubscribe(),c=null,d()):h=!0};if(null!=r){const y="number"==typeof r?l9(r):rs(r(m,u)),_=Cn(s,()=>{_.unsubscribe(),g()},()=>{s.complete()});y.subscribe(_)}else g()}else s.error(m)})),h&&(c.unsubscribe(),c=null,d())};d()})}({delay:r=>r.message==h9?l9(t):Wv(()=>r)}))})(this.processing.getPaymentInfo(t.payment.paymentId),i=>"needAction"!=i.payment.state,1500).subscribe({next:i=>this.showResult(i),error:i=>{this.showResult(void 0,i),this.context.events.error.emit(i)}})}showResult(t,r){const i=this.settings();i.closePaymentRedirect&&this.windowService.closeWindow(),i.apmsCollapse&&t&&"rejected"===t.payment.state&&"card"===t.payment.info.paymentType&&this.sessionStorage.setItem(qi.keys.apmsCollapse,!1),this.context.data.state.set({type:"result",payload:{result:t,error:r}}),t&&this.context.events.paid.emit(t)}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(Il),j(em),j(Q0))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-processing"]],decls:12,vars:1,consts:[[1,"waiting"],[1,"section"],[1,"waiting__title"],[1,"section__content","__ndb-spinner-container"],[1,"spinner"],[1,"lds-ring"],[1,"spinner__extra"]],template:function(r,i){1&r&&(oe(0,"div",0)(1,"div",1)(2,"h2",2),je(3),se(),oe(4,"div",3)(5,"div",4)(6,"div",5),kt(7,"div")(8,"div")(9,"div")(10,"div"),se(),kt(11,"div",6),se()()()()),2&r&&(W(3),vr(i.settings().language.paymentProcessing))},styles:[".waiting__title[_ngcontent-%COMP%]{position:relative;z-index:101;font-family:Poppins,Helvetica,Arial,sans-serif;color:#29304d;font-size:16px;margin:0;text-align:center;transform:translateY(108px)}.__ndb__moto-modal-backdrop[_ngcontent-%COMP%]{background-color:#e5e5e5!important}.__ndb__moto-modal[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin:0}.section__content[_ngcontent-%COMP%]{margin:0 auto}.spinner[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:330px}.spinner_small[_ngcontent-%COMP%]{height:70px}.spinner_extra[_ngcontent-%COMP%]{height:550px}.lds-ring[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #6936d3;border-radius:50%;animation:_ngcontent-%COMP%_lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#6936d3 transparent transparent transparent}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){animation-delay:-.45s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-.3s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-.15s}@keyframes _ngcontent-%COMP%_lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0})}return e})();function Iz(e,n){1&e&&cl(0)}function Pz(e,n){1&e&&ht(0,Iz,1,0,"ng-container",5),2&e&&Ce("ngComponentOutlet",fe().$implicit.component)}function Az(e,n){1&e&&ht(0,Pz,1,1,"ng-container"),2&e&&St(n.$implicit.visible()?0:-1)}function xz(e,n){if(1&e&&(oe(0,"p",3),je(1),se()),2&e){const t=fe();W(),vn(" ",t.resultModel.description," ")}}function kz(e,n){if(1&e&&(oe(0,"li",6)(1,"p",7),je(2),se()()),2&e){const t=n.$implicit;W(2),vn(" ",t," ")}}function Nz(e,n){if(1&e&&(oe(0,"ul",4),Xo(1,kz,3,1,"li",6,fa),se()),2&e){const t=fe();W(),Jo(null==t.paymentResult.payment.rejectionDetails?null:t.paymentResult.payment.rejectionDetails.problemSolvingTips)}}function Oz(e,n){1&e&&cl(0)}function Rz(e,n){1&e&&ht(0,Oz,1,0,"ng-container",5),2&e&&Ce("ngComponentOutlet",fe().$implicit.component)}function Lz(e,n){1&e&&ht(0,Rz,1,1,"ng-container"),2&e&&St(n.$implicit.visible()?0:-1)}let Fz=(()=>{class e{constructor(t,r){this.context=t,this.mapper=r,this.aboveComponents=[],this.belowComponents=[]}ngOnInit(){const t=this.context.data.state().payload;this.paymentResult=t.result,this.error=t.error,this.settings=this.context.data.settings,this.resultModel=this.getResultModel(),this.initAdditionalComponents()}getResultModel(){const t=this.settings().language;if(!this.paymentResult||this.error)return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};switch(this.paymentResult.payment.state){case"completed":return{icon:"check_circle",description:void 0,title:t.paymentResult.success};case"rejected":return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};default:throw new Error("unknown result")}}initAdditionalComponents(){const t=this.settings().resultComponentsStructure;t.aboveResult.length&&(this.aboveComponents=this.mapper.mapComponents(t.aboveResult,this.context.visibility)),t.belowResult.length&&(this.belowComponents=this.mapper.mapComponents(t.belowResult,this.context.visibility))}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(Nl))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-result"]],decls:11,vars:4,consts:[[1,"__ndb-result"],[1,"material-icons-round","__ndb-result-icon"],[1,"__ndb-result-header","fz-24","fw-700"],[1,"__ndb-result-description","fz-14","fw-500","font-center"],[1,"__ndb-result-tips"],[4,"ngComponentOutlet"],[1,"__ndb-result-tips-tip"],[1,"__ndb-result-tips-tip-text","fz-11","fw-500","font-center"]],template:function(r,i){1&r&&(Xo(0,Az,1,1,null,null,fa),oe(2,"div",0)(3,"i",1),je(4),se(),oe(5,"h6",2),je(6),se(),ht(7,xz,2,1,"p",3)(8,Nz,3,0,"ul",4),se(),Xo(9,Lz,1,1,null,null,fa)),2&r&&(Jo(i.aboveComponents),W(4),vr(i.resultModel.icon),W(2),vr(i.resultModel.title),W(),St(i.resultModel.description?7:-1),W(),St(i.paymentResult&&i.settings().isProblemTipsListVisible&&null!=i.paymentResult.payment.rejectionDetails&&null!=i.paymentResult.payment.rejectionDetails.problemSolvingTips&&i.paymentResult.payment.rejectionDetails.problemSolvingTips.length?8:-1),W(),Jo(i.belowComponents))},dependencies:[nv],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}.__ndb-result[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px}@media (max-width: 768px){.__ndb-result[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-result-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-result-header[_ngcontent-%COMP%], .__ndb-result-description[_ngcontent-%COMP%]{width:100%;text-align:center}.__ndb-result-tips[_ngcontent-%COMP%]{gap:5px;padding-inline-start:0px}.__ndb-result-tips-tip[_ngcontent-%COMP%]{list-style-type:disc}.__ndb-result-tips-tip-text[_ngcontent-%COMP%]{width:100%;text-align:left}"],changeDetection:0})}return e})();function Vz(e,n){1&e&&kt(0,"moto-header")}function $z(e,n){1&e&&kt(0,"moto-pay-form")}function jz(e,n){1&e&&kt(0,"moto-invalid-pay-form")}function Bz(e,n){1&e&&kt(0,"moto-processing")}function Hz(e,n){1&e&&kt(0,"moto-result")}function Gz(e,n){}let Uz=(()=>{class e{constructor(t,r,i){this.context=t,this.dataHandler=r,this.sessionStorage=i,this.state=this.context.data.state,this.closeEvent=t.events.close.emitter,this.paidEvent=t.events.paid.emitter,this.analyticsEvent=t.events.analytics.emitter,this.error=t.events.error.emitter,Uy(()=>{this.context.computed.isLoading()?this.context.events.analytics.emit(new Tn("init-start")):this.context.events.analytics.emit(new Tn("loading-finish"))})}ngOnInit(){this.closeEvent=this.context.events.close.emitter,this.analyticsEvent=this.context.events.analytics.emitter,this.paidEvent=this.context.events.paid.emitter,this.error=this.context.events.error.emitter,IB().subscribe(t=>{this.context.data.deviceInfo.set(t)}),this.settingsSignal=Tt(()=>this.context.data.settings())}ngOnChanges(t){if(t.payment){const r=this.dataHandler.preparePaymentOrError(t.payment.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.payment.set(r)}if(t.settings){const r=this.dataHandler.prepareSettingsOrError(t.settings.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.settings.set(r)}this.validate(!!t.settings||!!t.payment)}ngOnDestroy(){this.context.data.settings()?.apmsCollapse&&this.sessionStorage.removeItem(qi.keys.apmsCollapse)}validate(t){const r=this.context.data.settings(),i=this.context.data.payment(),o=this.dataHandler.validateModelsCompatibility(i,r);o?this.state.set({type:"invalid",payload:{error:o}}):(this.applySettings(),this.context.callbacks.createInvoice=this.createInvoice?s=>this.createInvoice(s):void 0,this.context.callbacks.makePayment=this.makePayment?s=>this.makePayment(s):void 0,this.context.data.settings()?.requiredFieldsBehavior?.markAsInvalidUntilCorrect?this.context.updateCanShowError(!0):this.context.updateCanShowError(!1),t&&this.context.data.userProvidedInfo.set({}),this.state.set({type:"correct",payload:{}}))}applySettings(){const t=this.context.data.settings(),r=t.components,i=this.context.componentsStates;(!t.availableCardBrands.length||!r.some(o=>"available-card-brands"===o))&&i.availableCardBrands.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.chargeTerms?.checkboxes?.length&&!t.chargeTerms?.text||!r.some(o=>"charge-terms"===o))&&i.chargeTerms.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.userPreferences?.checkboxes?.length&&!t.userPreferences?.text||!r.some(o=>"user-preferences"===o))&&i.userPreferences.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"phone-number"===o)||i.additionalForm.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.merchantInfo?.text&&!t.merchantInfo?.links?.length||!r.some(o=>"merchant-info"===o))&&i.merchantInfo.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"apm-list"===o)||i.apmList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"requisites"===o)||i.cardForm.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"card-list"===o)||i.cardList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"pay-button"===o)||i.payButton.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.availableCardBrands.length||!r.some(o=>"protected-by"===o))&&i.protectedBy.update(o=>({...o,enabled:!1,isRequired:!1})),this.context.events.analytics.emitEnabled=t.events.analytics.required,this.context.events.analytics.optionalEmitEnabled=t.events.analytics.optional,this.context.events.error.emitEnabled=t.events.error,t.apmsCollapse&&this.sessionStorage.getOrSetItemSignal(qi.keys.apmsCollapse,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(j(ln),j(qD),j(em))};static#t=this.\u0275cmp=gn({type:e,selectors:[["moto-payment-form"]],inputs:{payment:"payment",settings:"settings",createInvoice:"createInvoice",makePayment:"makePayment"},outputs:{closeEvent:"close",paidEvent:"paid",analyticsEvent:"analyticsTracked",error:"error"},features:[Uo],decls:9,vars:2,consts:[[1,"__ndb-wrapper"],[1,"__ndb-wrapper-content"],[1,"__ndb-wrapper-content-main"]],template:function(r,i){if(1&r&&(oe(0,"div",0)(1,"div",1),ht(2,Vz,1,0,"moto-header"),oe(3,"div",2),ht(4,$z,1,0,"moto-pay-form")(5,jz,1,0,"moto-invalid-pay-form")(6,Bz,1,0,"moto-processing")(7,Hz,1,0,"moto-result")(8,Gz,0,0),se()()()),2&r){let o,s;W(2),St(null===(o=null==(o=i.settingsSignal())?null:o.isHeaderVisible)||void 0===o||o?2:-1),W(2),St("correct"===(s=i.state().type)?4:"invalid"===s?5:"payLoading"===s?6:"result"===s?7:"empty"===s?8:-1)}},dependencies:[ZD,Sz,Tz,Mz,Fz],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-wrapper[_ngcontent-%COMP%]{max-width:560px;width:100%;margin:0 auto;transition:max-width .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-wrapper[_ngcontent-%COMP%]{max-width:318px}}.__ndb-wrapper-content[_ngcontent-%COMP%]{margin:0 auto;position:relative;border:1px solid #c9ccd8;box-shadow:inset 0 -1px #29304d1a;border-radius:4px}.__ndb-wrapper-content-main[_ngcontent-%COMP%]{padding:28px;gap:40px;flex-direction:column;display:flex}"],changeDetection:0})}return e})(),XD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({})}return e})();function JD(e){return new G(3e3,!1)}function ru(e){switch(e.length){case 0:return new gh;case 1:return e[0];default:return new VE(e)}}function QD(e,n,t=new Map,r=new Map){const i=[],o=[];let s=-1,u=null;if(n.forEach(c=>{const d=c.get("offset"),h=d==s,m=h&&u||new Map;c.forEach((g,y)=>{let _=y,S=g;if("offset"!==y)switch(_=e.normalizePropertyName(_,i),S){case"!":S=t.get(y);break;case ya:S=r.get(y);break;default:S=e.normalizeStyleValue(y,_,S,i)}m.set(_,S)}),h||o.push(m),u=m,s=d}),i.length)throw function fW(){return new G(3502,!1)}();return o}function w4(e,n,t,r){switch(n){case"start":e.onStart(()=>r(t&&C4(t,"start",e)));break;case"done":e.onDone(()=>r(t&&C4(t,"done",e)));break;case"destroy":e.onDestroy(()=>r(t&&C4(t,"destroy",e)))}}function C4(e,n,t){const o=E4(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function E4(e,n,t,r,i="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Xi(e,n,t){let r=e.get(n);return r||e.set(n,r=t),r}function eS(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const SW=typeof document>"u"?null:document.documentElement;function D4(e){const n=e.parentNode||e.host||null;return n===SW?null:n}let Xu=null,tS=!1;function nS(e,n){for(;n;){if(n===e)return!0;n=D4(n)}return!1}function rS(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const r=e.querySelector(n);return r?[r]:[]}let S4=(()=>{class e{validateStyleProperty(t){return function MW(e){Xu||(Xu=function IW(){return typeof document<"u"?document.body:null}()||{},tS=!!Xu.style&&"WebkitAppearance"in Xu.style);let n=!0;return Xu.style&&!function TW(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Xu.style,!n&&tS&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Xu.style)),n}(t)}containsElement(t,r){return nS(t,r)}getParentElement(t){return D4(t)}query(t,r,i){return rS(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,u=[],c){return new gh(i,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();class T4{static#e=this.NOOP=new S4}class M4{}const AW=1e3,I4="ng-enter",tm="ng-leave",nm="ng-trigger",rm=".ng-trigger",oS="ng-animating",P4=".ng-animating";function wa(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:A4(parseFloat(n[1]),n[2])}function A4(e,n){return"s"===n?e*AW:e}function im(e,n,t){return e.hasOwnProperty("duration")?e:function kW(e,n,t){let i,o=0,s="";if("string"==typeof e){const u=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===u)return n.push(JD()),{duration:0,delay:0,easing:""};i=A4(parseFloat(u[1]),u[2]);const c=u[3];null!=c&&(o=A4(parseFloat(c),u[4]));const d=u[5];d&&(s=d)}else i=e;if(!t){let u=!1,c=n.length;i<0&&(n.push(function zz(){return new G(3100,!1)}()),u=!0),o<0&&(n.push(function Wz(){return new G(3101,!1)}()),u=!0),u&&n.splice(c,0,JD())}return{duration:i,delay:o,easing:s}}(e,n,t)}function Hs(e,n,t){n.forEach((r,i)=>{const o=k4(i);t&&!t.has(i)&&t.set(i,e.style[o]),e.style[o]=r})}function Ju(e,n){n.forEach((t,r)=>{const i=k4(r);e.style[i]=""})}function Ah(e){return Array.isArray(e)?1==e.length?e[0]:function VB(e,n=null){return{type:Be.Sequence,steps:e,options:n}}(e):e}const x4=new RegExp("{{\\s*(.+?)\\s*}}","g");function aS(e){let n=[];if("string"==typeof e){let t;for(;t=x4.exec(e);)n.push(t[1]);x4.lastIndex=0}return n}function xh(e,n,t){const r=`${e}`,i=r.replace(x4,(o,s)=>{let u=n[s];return null==u&&(t.push(function Zz(){return new G(3003,!1)}()),u=""),u.toString()});return i==r?e:i}const RW=/-+([a-z0-9])/g;function k4(e){return e.replace(RW,(...n)=>n[1].toUpperCase())}function Ji(e,n,t){switch(n.type){case Be.Trigger:return e.visitTrigger(n,t);case Be.State:return e.visitState(n,t);case Be.Transition:return e.visitTransition(n,t);case Be.Sequence:return e.visitSequence(n,t);case Be.Group:return e.visitGroup(n,t);case Be.Animate:return e.visitAnimate(n,t);case Be.Keyframes:return e.visitKeyframes(n,t);case Be.Style:return e.visitStyle(n,t);case Be.Reference:return e.visitReference(n,t);case Be.AnimateChild:return e.visitAnimateChild(n,t);case Be.AnimateRef:return e.visitAnimateRef(n,t);case Be.Query:return e.visitQuery(n,t);case Be.Stagger:return e.visitStagger(n,t);default:throw function Yz(){return new G(3004,!1)}()}}function N4(e,n){return window.getComputedStyle(e)[n]}const VW=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class uS extends M4{normalizePropertyName(n,t){return k4(n)}normalizeStyleValue(n,t,r,i){let o="";const s=r.toString().trim();if(VW.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const u=r.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&0==u[1].length&&i.push(function Kz(){return new G(3005,!1)}())}return s+o}}const om="*";const sm=new Set(["true","1"]),am=new Set(["false","0"]);function cS(e,n){const t=sm.has(e)||am.has(e),r=sm.has(n)||am.has(n);return(i,o)=>{let s=e==om||e==i,u=n==om||n==o;return!s&&t&&"boolean"==typeof i&&(s=i?sm.has(e):am.has(e)),!u&&r&&"boolean"==typeof o&&(u=o?sm.has(n):am.has(n)),s&&u}}const HW=new RegExp("s*:selfs*,?","g");function O4(e,n,t,r){return new GW(e).build(n,t,r)}class GW{constructor(n){this._driver=n}build(n,t,r){const i=new WW(t);return this._resetContextStyleTimingState(i),Ji(this,Ah(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function Xz(){return new G(3006,!1)}()),n.definitions.forEach(u=>{if(this._resetContextStyleTimingState(t),u.type==Be.State){const c=u,d=c.name;d.toString().split(/\s*,\s*/).forEach(h=>{c.name=h,o.push(this.visitState(c,t))}),c.name=d}else if(u.type==Be.Transition){const c=this.visitTransition(u,t);r+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(function Jz(){return new G(3007,!1)}())}),{type:Be.Trigger,name:n.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(n,t){const r=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(u=>{u instanceof Map&&u.forEach(c=>{aS(c).forEach(d=>{s.hasOwnProperty(d)||o.add(d)})})}),o.size&&t.errors.push(function Qz(){return new G(3008,!1)}(0,o.values()))}return{type:Be.State,name:n.name,style:r,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const r=Ji(this,Ah(n.animation),t),i=function $W(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function jW(e,n,t){if(":"==e[0]){const c=function BW(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return n.push(function cW(){return new G(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof c)return void n.push(c);e=c}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function uW(){return new G(3015,!1)}()),n;const i=r[1],o=r[2],s=r[3];n.push(cS(i,s)),"<"==o[0]&&(i!=om||s!=om)&&n.push(cS(s,i))}(r,t,n)):t.push(e),t}(n.expr,t.errors);return{type:Be.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Qu(n.options)}}visitSequence(n,t){return{type:Be.Sequence,steps:n.steps.map(r=>Ji(this,r,t)),options:Qu(n.options)}}visitGroup(n,t){const r=t.currentTime;let i=0;const o=n.steps.map(s=>{t.currentTime=r;const u=Ji(this,s,t);return i=Math.max(i,t.currentTime),u});return t.currentTime=i,{type:Be.Group,steps:o,options:Qu(n.options)}}visitAnimate(n,t){const r=function ZW(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return R4(im(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=R4(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=im(t,n);return R4(i.duration,i.delay,i.easing)}(n.timings,t.errors);t.currentAnimateTimings=r;let i,o=n.styles?n.styles:Fn({});if(o.type==Be.Keyframes)i=this.visitKeyframes(o,t);else{let s=n.styles,u=!1;if(!s){u=!0;const d={};r.easing&&(d.easing=r.easing),s=Fn(d)}t.currentTime+=r.duration+r.delay;const c=this.visitStyle(s,t);c.isEmptyStep=u,i=c}return t.currentAnimateTimings=null,{type:Be.Animate,timings:r,style:i,options:null}}visitStyle(n,t){const r=this._makeStyleAst(n,t);return this._validateStyleAst(r,t),r}_makeStyleAst(n,t){const r=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let u of i)"string"==typeof u?u===ya?r.push(u):t.errors.push(new G(3002,!1)):r.push(new Map(Object.entries(u)));let o=!1,s=null;return r.forEach(u=>{if(u instanceof Map&&(u.has("easing")&&(s=u.get("easing"),u.delete("easing")),!o))for(let c of u.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:Be.Style,styles:r,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((u,c)=>{const d=t.collectedStyles.get(t.currentQuerySelector),h=d.get(c);let m=!0;h&&(o!=i&&o>=h.startTime&&i<=h.endTime&&(t.errors.push(function tW(){return new G(3010,!1)}()),m=!1),o=h.startTime),m&&d.set(c,{startTime:o,endTime:i}),t.options&&function OW(e,n,t){const r=n.params||{},i=aS(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function qz(){return new G(3001,!1)}())})}(u,t.options,t.errors)})})}visitKeyframes(n,t){const r={type:Be.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function nW(){return new G(3011,!1)}()),r;let o=0;const s=[];let u=!1,c=!1,d=0;const h=n.steps.map(R=>{const N=this._makeStyleAst(R,t);let Y=null!=N.offset?N.offset:function qW(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(N.styles),K=0;return null!=Y&&(o++,K=N.offset=Y),c=c||K<0||K>1,u=u||K<d,d=K,s.push(K),N});c&&t.errors.push(function rW(){return new G(3012,!1)}()),u&&t.errors.push(function iW(){return new G(3200,!1)}());const m=n.steps.length;let g=0;o>0&&o<m?t.errors.push(function oW(){return new G(3202,!1)}()):0==o&&(g=1/(m-1));const y=m-1,_=t.currentTime,S=t.currentAnimateTimings,k=S.duration;return h.forEach((R,N)=>{const Y=g>0?N==y?1:g*N:s[N],K=Y*k;t.currentTime=_+S.delay+K,S.duration=K,this._validateStyleAst(R,t),R.offset=Y,r.styles.push(R)}),r}visitReference(n,t){return{type:Be.Reference,animation:Ji(this,Ah(n.animation),t),options:Qu(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:Be.AnimateChild,options:Qu(n.options)}}visitAnimateRef(n,t){return{type:Be.AnimateRef,animation:this.visitReference(n.animation,t),options:Qu(n.options)}}visitQuery(n,t){const r=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function UW(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(HW,"")),e=e.replace(/@\*/g,rm).replace(/@\w+/g,t=>rm+"-"+t.slice(1)).replace(/:animating/g,P4),[e,n]}(n.selector);t.currentQuerySelector=r.length?r+" "+o:o,Xi(t.collectedStyles,t.currentQuerySelector,new Map);const u=Ji(this,Ah(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Be.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:u,originalSelector:n.selector,options:Qu(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function sW(){return new G(3013,!1)}());const r="full"===n.timings?{duration:0,delay:0,easing:"full"}:im(n.timings,t.errors,!0);return{type:Be.Stagger,animation:Ji(this,Ah(n.animation),t),timings:r,options:null}}}class WW{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Qu(e){return e?(e={...e}).params&&(e.params=function zW(e){return e?{...e}:null}(e.params)):e={},e}function R4(e,n,t){return{duration:e,delay:n,easing:t}}function L4(e,n,t,r,i,o,s=null,u=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:u}}class um{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let r=this._map.get(n);r||this._map.set(n,r=[]),r.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const XW=new RegExp(":enter","g"),QW=new RegExp(":leave","g");function F4(e,n,t,r,i,o=new Map,s=new Map,u,c,d=[]){return(new eq).buildKeyframes(e,n,t,r,i,o,s,u,c,d)}class eq{buildKeyframes(n,t,r,i,o,s,u,c,d,h=[]){d=d||new um;const m=new V4(n,t,d,i,o,h,[]);m.options=c;const g=c.delay?wa(c.delay):0;m.currentTimeline.delayNextStep(g),m.currentTimeline.setStyles([s],null,m.errors,c),Ji(this,r,m);const y=m.timelines.filter(_=>_.containsAnimation());if(y.length&&u.size){let _;for(let S=y.length-1;S>=0;S--){const k=y[S];if(k.element===t){_=k;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([u],null,m.errors,c)}return y.length?y.map(_=>_.buildKeyframes()):[L4(t,[],[],[],0,g,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const r=t.createSubContext(n.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,r),this.visitReference(n.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,r){for(const i of n){const o=i?.delay;if(o){const s="number"==typeof o?o:wa(xh(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(n,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?wa(r.duration):null,u=null!=r.delay?wa(r.delay):null;return 0!==s&&n.forEach(c=>{const d=t.appendInstructionToTimeline(c,s,u);o=Math.max(o,d.duration+d.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),Ji(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const r=t.subContextCount;let i=t;const o=n.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==Be.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=cm);const s=wa(o.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Ji(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const r=[];let i=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?wa(n.options.delay):0;n.steps.forEach(s=>{const u=t.createSubContext(n.options);o&&u.delayNextStep(o),Ji(this,s,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const r=n.strValue;return im(t.params?xh(r,t.params,t.errors):r,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const r=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=n.style;o.type==Be.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||n.easing;n.isEmptyStep?r.applyEmptyStep(o):r.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,u=t.createSubContext().currentTimeline;u.easing=r.easing,n.styles.forEach(c=>{u.forwardTime((c.offset||0)*o),u.setStyles(c.styles,c.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(i+o),t.previousNode=n}visitQuery(n,t){const r=t.currentTimeline.currentTime,i=n.options||{},o=i.delay?wa(i.delay):0;o&&(t.previousNode.type===Be.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=cm);let s=r;const u=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=u.length;let c=null;u.forEach((d,h)=>{t.currentQueryIndex=h;const m=t.createSubContext(n.options,d);o&&m.delayNextStep(o),d===t.element&&(c=m.currentTimeline),Ji(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,m.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const r=t.parentContext,i=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),u=s*(t.currentQueryTotal-1);let c=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=u-c;break;case"full":c=r.currentStaggerTime}const h=t.currentTimeline;c&&h.delayNextStep(c);const m=h.currentTime;Ji(this,n.animation,t),t.previousNode=n,r.currentStaggerTime=i.currentTime-m+(i.startTime-r.currentTimeline.startTime)}}const cm={};class V4{constructor(n,t,r,i,o,s,u,c){this._driver=n,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=u,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new lm(this._driver,t,0),u.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const r=n;let i=this.options;null!=r.duration&&(i.duration=wa(r.duration)),null!=r.delay&&(i.delay=wa(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(u=>{(!t||!s.hasOwnProperty(u))&&(s[u]=xh(o[u],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const r=n.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return n}createSubContext(n=null,t,r){const i=t||this.element,o=new V4(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=cm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,r){const i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(r??0)+n.delay,easing:""},o=new tq(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,r,i,o,s){let u=[];if(i&&u.push(this.element),n.length>0){n=(n=n.replace(XW,"."+this._enterClassName)).replace(QW,"."+this._leaveClassName);let d=this._driver.query(this.element,n,1!=r);0!==r&&(d=r<0?d.slice(d.length+r,d.length):d.slice(0,r)),u.push(...d)}return!o&&0==u.length&&s.push(function aW(){return new G(3014,!1)}()),u}}class lm{constructor(n,t,r,i){this._driver=n,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new lm(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||ya),this._currentKeyframe.set(t,ya);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function nq(e,n){const t=new Map;let r;return e.forEach(i=>{if("*"===i){r??=n.keys();for(let o of r)t.set(o,ya)}else for(let[o,s]of i)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[u,c]of s){const d=xh(c,o,r);this._pendingStyles.set(u,d),this._localTimelineStyles.has(u)||this._backFill.set(u,this._globalTimelineStyles.get(u)??ya),this._updateStyle(u,d)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((u,c)=>{const d=new Map([...this._backFill,...u]);d.forEach((h,m)=>{"!"===h?n.add(m):h===ya&&t.add(m)}),r||d.set("offset",c/this.duration),i.push(d)});const o=[...n.values()],s=[...t.values()];if(r){const u=i[0],c=new Map(u);u.set("offset",0),c.set("offset",1),i=[u,c]}return L4(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class tq extends lm{constructor(n,t,r,i,o,s,u=!1){super(n,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=u,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,u=t/s,c=new Map(n[0]);c.set("offset",0),o.push(c);const d=new Map(n[0]);d.set("offset",hS(u)),o.push(d);const h=n.length-1;for(let m=1;m<=h;m++){let g=new Map(n[m]);const y=g.get("offset");g.set("offset",hS((t+y*r)/s)),o.push(g)}r=s,t=0,i="",n=o}return L4(this.element,n,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function hS(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function fS(e,n,t,r,i,o,s,u,c,d,h,m,g){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:u,queriedElements:c,preStyleProps:d,postStyleProps:h,totalTime:m,errors:g}}const $4={};class pS{constructor(n,t,r){this._triggerName=n,this.ast=t,this._stateStyles=r}match(n,t,r,i){return function rq(e,n,t,r,i){return e.some(o=>o(n,t,r,i))}(this.ast.matchers,n,t,r,i)}buildStyles(n,t,r){let i=this._stateStyles.get("*");return void 0!==n&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,r):new Map}build(n,t,r,i,o,s,u,c,d,h){const m=[],g=this.ast.options&&this.ast.options.params||$4,_=this.buildStyles(r,u&&u.params||$4,m),S=c&&c.params||$4,k=this.buildStyles(i,S,m),R=new Set,N=new Map,Y=new Map,K="void"===i,ee={params:mS(S,g),delay:this.ast.options?.delay},ye=h?[]:F4(n,t,this.ast.animation,o,s,_,k,ee,d,m);let Ie=0;return ye.forEach(ve=>{Ie=Math.max(ve.duration+ve.delay,Ie)}),m.length?fS(t,this._triggerName,r,i,K,_,k,[],[],N,Y,Ie,m):(ye.forEach(ve=>{const In=ve.element,Vn=Xi(N,In,new Set);ve.preStyleProps.forEach(pi=>Vn.add(pi));const Wn=Xi(Y,In,new Set);ve.postStyleProps.forEach(pi=>Wn.add(pi)),In!==t&&R.add(In)}),fS(t,this._triggerName,r,i,K,_,k,ye,[...R.values()],N,Y,Ie))}}function mS(e,n){const t={...n};return Object.entries(e).forEach(([r,i])=>{null!=i&&(t[r]=i)}),t}class iq{constructor(n,t,r){this.styles=n,this.defaultParams=t,this.normalizer=r}buildStyles(n,t){const r=new Map,i=mS(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,u)=>{s&&(s=xh(s,i,t));const c=this.normalizer.normalizePropertyName(u,t);s=this.normalizer.normalizeStyleValue(u,c,s,t),r.set(u,s)})}),r}}class sq{constructor(n,t,r){this.name=n,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new iq(i.style,i.options&&i.options.params||{},r))}),gS(this.states,"true","1"),gS(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new pS(n,i,this.states))}),this.fallbackTransition=function aq(e,n){return new pS(e,{type:Be.Transition,animation:{type:Be.Sequence,steps:[],options:null},matchers:[(s,u)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,r,i){return this.transitionFactories.find(s=>s.match(n,t,r,i))||null}matchStyles(n,t,r){return this.fallbackTransition.buildStyles(n,t,r)}}function gS(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const uq=new um;class cq{constructor(n,t,r){this.bodyNode=n,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const r=[],o=O4(this._driver,t,r,[]);if(r.length)throw function pW(){return new G(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,r){const i=n.element,o=QD(this._normalizer,n.keyframes,t,r);return this._driver.animate(i,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,r={}){const i=[],o=this._animations.get(n);let s;const u=new Map;if(o?(s=F4(this._driver,t,o,I4,tm,new Map,new Map,r,uq,i),s.forEach(h=>{const m=Xi(u,h.element,new Map);h.postStyleProps.forEach(g=>m.set(g,null))})):(i.push(function mW(){return new G(3300,!1)}()),s=[]),i.length)throw function gW(){return new G(3504,!1)}();u.forEach((h,m)=>{h.forEach((g,y)=>{h.set(y,this._driver.computeStyle(m,y,ya))})});const d=ru(s.map(h=>{const m=u.get(h.element);return this._buildPlayer(h,new Map,m)}));return this._playersById.set(n,d),d.onDestroy(()=>this.destroy(n)),this.players.push(d),d}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function yW(){return new G(3301,!1)}();return t}listen(n,t,r,i){const o=E4(t,"","","");return w4(this._getPlayer(n),r,o,i),()=>{}}command(n,t,r,i){if("register"==r)return void this.register(n,i[0]);if("create"==r)return void this.create(n,t,i[0]||{});const o=this._getPlayer(n);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n)}}}const yS="ng-animate-queued",j4="ng-animate-disabled",pq=[],vS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mq={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},us="__ng_removed";class B4{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const r=n&&n.hasOwnProperty("value");if(this.value=function bq(e){return e??null}(r?n.value:n),r){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const kh="void",H4=new B4(kh);class gq{constructor(n,t,r){this.id=n,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Eo(t,this._hostClassName)}listen(n,t,r,i){if(!this._triggers.has(t))throw function vW(){return new G(3302,!1)}();if(null==r||0==r.length)throw function bW(){return new G(3303,!1)}();if(!function _q(e){return"start"==e||"done"==e}(r))throw function _W(){return new G(3400,!1)}();const o=Xi(this._elementListeners,n,[]),s={name:t,phase:r,callback:i};o.push(s);const u=Xi(this._engine.statesByElement,n,new Map);return u.has(t)||(Eo(n,nm),Eo(n,nm+"-"+t),u.set(t,H4)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(t)||u.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function wW(){return new G(3401,!1)}();return t}trigger(n,t,r,i=!0){const o=this._getTrigger(t),s=new G4(this.id,t,n);let u=this._engine.statesByElement.get(n);u||(Eo(n,nm),Eo(n,nm+"-"+t),this._engine.statesByElement.set(n,u=new Map));let c=u.get(t);const d=new B4(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&d.absorbOptions(c.options),u.set(t,d),c||(c=H4),d.value!==kh&&c.value===d.value){if(!function Eq(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){const o=t[i];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(c.params,d.params)){const S=[],k=o.matchStyles(c.value,c.params,S),R=o.matchStyles(d.value,d.params,S);S.length?this._engine.reportError(S):this._engine.afterFlush(()=>{Ju(n,k),Hs(n,R)})}return}const g=Xi(this._engine.playersByElement,n,[]);g.forEach(S=>{S.namespaceId==this.id&&S.triggerName==t&&S.queued&&S.destroy()});let y=o.matchTransition(c.value,d.value,n,d.params),_=!1;if(!y){if(!i)return;y=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:y,fromState:c,toState:d,player:s,isFallbackTransition:_}),_||(Eo(n,yS),s.onStart(()=>{Ol(n,yS)})),s.onDone(()=>{let S=this.players.indexOf(s);S>=0&&this.players.splice(S,1);const k=this._engine.playersByElement.get(n);if(k){let R=k.indexOf(s);R>=0&&k.splice(R,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const r=this._engine.driver.query(n,rm,!0);r.forEach(i=>{if(i[us])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,r,i){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const u=[];if(o.forEach((c,d)=>{if(s.set(d,c.value),this._triggers.has(d)){const h=this.trigger(n,d,kh,i);h&&u.push(h)}}),u.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),r&&ru(u).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),r=this._engine.statesByElement.get(n);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const c=this._triggers.get(s).fallbackTransition,d=r.get(s)||H4,h=new B4(kh),m=new G4(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:c,fromState:d,toState:h,player:m,isFallbackTransition:!0})})}}removeNode(n,t){const r=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(n):[];if(o&&o.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)r.markElementAsRemoved(this.id,n,!1,t);else{const o=n[us];(!o||o===vS)&&(r.afterFlush(()=>this.clearElementCache(n)),r.destroyInnerAnimations(n),r._onRemovalComplete(n,t))}}insertNode(n,t){Eo(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(u=>{if(u.name==r.triggerName){const c=E4(o,r.triggerName,r.fromState.value,r.toState.value);c._data=n,w4(r.player,u.phase,c,u.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class yq{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,r){this.bodyNode=n,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&n.push(r)})}),n}createNamespace(n,t){const r=new gq(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[n]=r}_balanceNamespaceList(n,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,u=this.driver.getParentElement(t);for(;u;){const c=i.get(u);if(c){const d=r.indexOf(c);r.splice(d+1,0,n),s=!0;break}u=this.driver.getParentElement(u)}s||r.unshift(n)}else r.push(n);return i.set(t,n),n}register(n,t){let r=this._namespaceLookup[n];return r||(r=this.createNamespace(n,t)),r}registerTrigger(n,t,r){let i=this._namespaceLookup[n];i&&i.register(t,r)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(n);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,r=this.statesByElement.get(n);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(n,t,r,i){if(dm(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(n,t,r,i){if(!dm(t))return;const o=t[us];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Eo(n,j4)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ol(n,j4))}removeNode(n,t,r){if(dm(t)){const i=n?this._fetchNamespace(n):null;i?i.removeNode(t,r):this.markElementAsRemoved(n,t,!1,r);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(n,t,r,i,o){this.collectedLeaveElements.push(t),t[us]={namespaceId:n,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,r,i,o){return dm(t)?this._fetchNamespace(n).listen(t,r,i,o):()=>{}}_buildInstruction(n,t,r,i,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,r,i,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,rm,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,P4,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ru(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[us];if(t&&t.setForRemoval){if(n[us]=vS,t.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(j4)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)Eo(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,n)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?ru(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(n){throw function CW(){return new G(3402,!1)}()}_flushAnimations(n,t){const r=new um,i=[],o=new Map,s=[],u=new Map,c=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(pe=>{h.add(pe);const Me=this.driver.query(pe,".ng-animate-queued",!0);for(let Ne=0;Ne<Me.length;Ne++)h.add(Me[Ne])});const m=this.bodyNode,g=Array.from(this.statesByElement.keys()),y=wS(g,this.collectedEnterElements),_=new Map;let S=0;y.forEach((pe,Me)=>{const Ne=I4+S++;_.set(Me,Ne),pe.forEach(lt=>Eo(lt,Ne))});const k=[],R=new Set,N=new Set;for(let pe=0;pe<this.collectedLeaveElements.length;pe++){const Me=this.collectedLeaveElements[pe],Ne=Me[us];Ne&&Ne.setForRemoval&&(k.push(Me),R.add(Me),Ne.hasAnimation?this.driver.query(Me,".ng-star-inserted",!0).forEach(lt=>R.add(lt)):N.add(Me))}const Y=new Map,K=wS(g,Array.from(R));K.forEach((pe,Me)=>{const Ne=tm+S++;Y.set(Me,Ne),pe.forEach(lt=>Eo(lt,Ne))}),n.push(()=>{y.forEach((pe,Me)=>{const Ne=_.get(Me);pe.forEach(lt=>Ol(lt,Ne))}),K.forEach((pe,Me)=>{const Ne=Y.get(Me);pe.forEach(lt=>Ol(lt,Ne))}),k.forEach(pe=>{this.processLeaveNode(pe)})});const ee=[],ye=[];for(let pe=this._namespaceList.length-1;pe>=0;pe--)this._namespaceList[pe].drainQueuedTransitions(t).forEach(Ne=>{const lt=Ne.player,rr=Ne.element;if(ee.push(lt),this.collectedEnterElements.length){const qr=rr[us];if(qr&&qr.setForMove){if(qr.previousTriggersValues&&qr.previousTriggersValues.has(Ne.triggerName)){const tc=qr.previousTriggersValues.get(Ne.triggerName),To=this.statesByElement.get(Ne.element);if(To&&To.has(Ne.triggerName)){const pm=To.get(Ne.triggerName);pm.value=tc,To.set(Ne.triggerName,pm)}}return void lt.destroy()}}const So=!m||!this.driver.containsElement(m,rr),mi=Y.get(rr),Gs=_.get(rr),bn=this._buildInstruction(Ne,r,Gs,mi,So);if(bn.errors&&bn.errors.length)return void ye.push(bn);if(So)return lt.onStart(()=>Ju(rr,bn.fromStyles)),lt.onDestroy(()=>Hs(rr,bn.toStyles)),void i.push(lt);if(Ne.isFallbackTransition)return lt.onStart(()=>Ju(rr,bn.fromStyles)),lt.onDestroy(()=>Hs(rr,bn.toStyles)),void i.push(lt);const fm=[];bn.timelines.forEach(qr=>{qr.stretchStartingKeyframe=!0,this.disabledNodes.has(qr.element)||fm.push(qr)}),bn.timelines=fm,r.append(rr,bn.timelines),s.push({instruction:bn,player:lt,element:rr}),bn.queriedElements.forEach(qr=>Xi(u,qr,[]).push(lt)),bn.preStyleProps.forEach((qr,tc)=>{if(qr.size){let To=c.get(tc);To||c.set(tc,To=new Set),qr.forEach((pm,W4)=>To.add(W4))}}),bn.postStyleProps.forEach((qr,tc)=>{let To=d.get(tc);To||d.set(tc,To=new Set),qr.forEach((pm,W4)=>To.add(W4))})});if(ye.length){const pe=[];ye.forEach(Me=>{pe.push(function EW(){return new G(3505,!1)}())}),ee.forEach(Me=>Me.destroy()),this.reportError(pe)}const Ie=new Map,ve=new Map;s.forEach(pe=>{const Me=pe.element;r.has(Me)&&(ve.set(Me,Me),this._beforeAnimationBuild(pe.player.namespaceId,pe.instruction,Ie))}),i.forEach(pe=>{const Me=pe.element;this._getPreviousPlayers(Me,!1,pe.namespaceId,pe.triggerName,null).forEach(lt=>{Xi(Ie,Me,[]).push(lt),lt.destroy()})});const In=k.filter(pe=>ES(pe,c,d)),Vn=new Map;_S(Vn,this.driver,N,d,ya).forEach(pe=>{ES(pe,c,d)&&In.push(pe)});const pi=new Map;y.forEach((pe,Me)=>{_S(pi,this.driver,new Set(pe),c,"!")}),In.forEach(pe=>{const Me=Vn.get(pe),Ne=pi.get(pe);Vn.set(pe,new Map([...Me?.entries()??[],...Ne?.entries()??[]]))});const iu=[],Do=[],ec={};s.forEach(pe=>{const{element:Me,player:Ne,instruction:lt}=pe;if(r.has(Me)){if(h.has(Me))return Ne.onDestroy(()=>Hs(Me,lt.toStyles)),Ne.disabled=!0,Ne.overrideTotalTime(lt.totalTime),void i.push(Ne);let rr=ec;if(ve.size>1){let mi=Me;const Gs=[];for(;mi=mi.parentNode;){const bn=ve.get(mi);if(bn){rr=bn;break}Gs.push(mi)}Gs.forEach(bn=>ve.set(bn,rr))}const So=this._buildAnimation(Ne.namespaceId,lt,Ie,o,pi,Vn);if(Ne.setRealPlayer(So),rr===ec)iu.push(Ne);else{const mi=this.playersByElement.get(rr);mi&&mi.length&&(Ne.parentPlayer=ru(mi)),i.push(Ne)}}else Ju(Me,lt.fromStyles),Ne.onDestroy(()=>Hs(Me,lt.toStyles)),Do.push(Ne),h.has(Me)&&i.push(Ne)}),Do.forEach(pe=>{const Me=o.get(pe.element);if(Me&&Me.length){const Ne=ru(Me);pe.setRealPlayer(Ne)}}),i.forEach(pe=>{pe.parentPlayer?pe.syncPlayerEvents(pe.parentPlayer):pe.destroy()});for(let pe=0;pe<k.length;pe++){const Me=k[pe],Ne=Me[us];if(Ol(Me,tm),Ne&&Ne.hasAnimation)continue;let lt=[];if(u.size){let So=u.get(Me);So&&So.length&<.push(...So);let mi=this.driver.query(Me,P4,!0);for(let Gs=0;Gs<mi.length;Gs++){let bn=u.get(mi[Gs]);bn&&bn.length&<.push(...bn)}}const rr=lt.filter(So=>!So.destroyed);rr.length?wq(this,Me,rr):this.processLeaveNode(Me)}return k.length=0,iu.forEach(pe=>{this.players.push(pe),pe.onDone(()=>{pe.destroy();const Me=this.players.indexOf(pe);this.players.splice(Me,1)}),pe.play()}),iu}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,r,i,o){let s=[];if(t){const u=this.playersByQueriedElement.get(n);u&&(s=u)}else{const u=this.playersByElement.get(n);if(u){const c=!o||o==kh;u.forEach(d=>{d.queued||!c&&d.triggerName!=i||s.push(d)})}}return(r||i)&&(s=s.filter(u=>!(r&&r!=u.namespaceId||i&&i!=u.triggerName))),s}_beforeAnimationBuild(n,t,r){const o=t.element,s=t.isRemovalTransition?void 0:n,u=t.isRemovalTransition?void 0:t.triggerName;for(const c of t.timelines){const d=c.element,h=d!==o,m=Xi(r,d,[]);this._getPreviousPlayers(d,h,s,u,t.toState).forEach(y=>{const _=y.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),y.destroy(),m.push(y)})}Ju(o,t.fromStyles)}_buildAnimation(n,t,r,i,o,s){const u=t.triggerName,c=t.element,d=[],h=new Set,m=new Set,g=t.timelines.map(_=>{const S=_.element;h.add(S);const k=S[us];if(k&&k.removedBeforeQueried)return new gh(_.duration,_.delay);const R=S!==c,N=function Cq(e){const n=[];return CS(e,n),n}((r.get(S)||pq).map(Ie=>Ie.getRealPlayer())).filter(Ie=>!!Ie.element&&Ie.element===S),Y=o.get(S),K=s.get(S),ee=QD(this._normalizer,_.keyframes,Y,K),ye=this._buildPlayer(_,ee,N);if(_.subTimeline&&i&&m.add(S),R){const Ie=new G4(n,u,S);Ie.setRealPlayer(ye),d.push(Ie)}return ye});d.forEach(_=>{Xi(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function vq(e,n,t){let r=e.get(n);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&e.delete(n)}return r}(this.playersByQueriedElement,_.element,_))}),h.forEach(_=>Eo(_,oS));const y=ru(g);return y.onDestroy(()=>{h.forEach(_=>Ol(_,oS)),Hs(c,t.toStyles)}),m.forEach(_=>{Xi(i,_,[]).push(y)}),y}_buildPlayer(n,t,r){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,r):new gh(n.duration,n.delay)}}class G4{constructor(n,t,r){this.namespaceId=n,this.triggerName=t,this.element=r,this._player=new gh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>w4(n,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Xi(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function dm(e){return e&&1===e.nodeType}function bS(e,n){const t=e.style.display;return e.style.display=n??"none",t}function _S(e,n,t,r,i){const o=[];t.forEach(c=>o.push(bS(c)));const s=[];r.forEach((c,d)=>{const h=new Map;c.forEach(m=>{const g=n.computeStyle(d,m,i);h.set(m,g),(!g||0==g.length)&&(d[us]=mq,s.push(d))}),e.set(d,h)});let u=0;return t.forEach(c=>bS(c,o[u++])),s}function wS(e,n){const t=new Map;if(e.forEach(u=>t.set(u,[])),0==n.length)return t;const i=new Set(n),o=new Map;function s(u){if(!u)return 1;let c=o.get(u);if(c)return c;const d=u.parentNode;return c=t.has(d)?d:i.has(d)?1:s(d),o.set(u,c),c}return n.forEach(u=>{const c=s(u);1!==c&&t.get(c).push(u)}),t}function Eo(e,n){e.classList?.add(n)}function Ol(e,n){e.classList?.remove(n)}function wq(e,n,t){ru(t).onDone(()=>e.processLeaveNode(n))}function CS(e,n){for(let t=0;t<e.length;t++){const r=e[t];r instanceof VE?CS(r.players,n):n.push(r)}}function ES(e,n,t){const r=t.get(e);if(!r)return!1;let i=n.get(e);return i?r.forEach(o=>i.add(o)):n.set(e,r),t.delete(e),!0}class Nh{constructor(n,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new yq(n.body,t,r),this._timelineEngine=new cq(n.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(n,t,r,i,o){const s=n+"-"+i;let u=this._triggerCache[s];if(!u){const c=[],h=O4(this._driver,o,c,[]);if(c.length)throw function hW(){return new G(3404,!1)}();u=function oq(e,n,t){return new sq(e,n,t)}(i,h,this._normalizer),this._triggerCache[s]=u}this._transitionEngine.registerTrigger(t,i,u)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,r,i){this._transitionEngine.insertNode(n,t,r,i)}onRemove(n,t,r){this._transitionEngine.removeNode(n,t,r)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,r,i){if("@"==r.charAt(0)){const[o,s]=eS(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(n,t,r,i)}listen(n,t,r,i,o){if("@"==r.charAt(0)){const[s,u]=eS(r);return this._timelineEngine.listen(s,t,u,o)}return this._transitionEngine.listen(n,t,r,i,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class Oh{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,r){this._element=n,this._startStyles=t,this._endStyles=r,this._state=0;let i=Oh.initialStylesByElement.get(n);i||Oh.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Hs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Hs(this._element,this._initialStyles),this._endStyles&&(Hs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Oh.initialStylesByElement.delete(this._element),this._startStyles&&(Ju(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ju(this._element,this._endStyles),this._endStyles=null),Hs(this._element,this._initialStyles),this._state=3)}}function U4(e){let n=null;return e.forEach((t,r)=>{(function Sq(e){return"display"===e||"position"===e})(r)&&(n=n||new Map,n.set(r,t))}),n}class DS{constructor(n,t,r,i){this.element=n,this.keyframes=t,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(n,t,r){return n.animate(this._convertKeyframesToObject(t),r)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&n.set(i,this._finished?r:N4(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class SS{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return nS(n,t)}getParentElement(n){return D4(n)}query(n,t,r){return rS(n,t,r)}computeStyle(n,t,r){return N4(n,t)}animate(n,t,r,i,o,s=[]){const c={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(c.easing=o);const d=new Map,h=s.filter(y=>y instanceof DS);(function LW(e,n){return 0===e||0===n})(r,i)&&h.forEach(y=>{y.currentSnapshot.forEach((_,S)=>d.set(S,_))});let m=function NW(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(y=>new Map(y));m=function FW(e,n,t){if(t.size&&n.length){let r=n[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<n.length;o++){let s=n[o];i.forEach(u=>s.set(u,N4(e,u)))}}return n}(n,m,d);const g=function Dq(e,n){let t=null,r=null;return Array.isArray(n)&&n.length?(t=U4(n[0]),n.length>1&&(r=U4(n[n.length-1]))):n instanceof Map&&(t=U4(n)),t||r?new Oh(e,t,r):null}(n,m);return new DS(n,m,c,g)}}const TS="@.disabled";class MS{constructor(n,t,r,i){this.namespaceId=n,this.delegate=t,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,r,i=!0){this.delegate.insertBefore(n,t,r),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,r,i){this.delegate.setAttribute(n,t,r,i)}removeAttribute(n,t,r){this.delegate.removeAttribute(n,t,r)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,r,i){this.delegate.setStyle(n,t,r,i)}removeStyle(n,t,r){this.delegate.removeStyle(n,t,r)}setProperty(n,t,r){"@"==t.charAt(0)&&t==TS?this.disableAnimations(n,!!r):this.delegate.setProperty(n,t,r)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,r){return this.delegate.listen(n,t,r)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class Tq extends MS{constructor(n,t,r,i,o){super(t,r,i,o),this.factory=n,this.namespaceId=t}setProperty(n,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==TS?this.disableAnimations(n,r=void 0===r||!!r):this.engine.process(this.namespaceId,n,t.slice(1),r):this.delegate.setProperty(n,t,r)}listen(n,t,r){if("@"==t.charAt(0)){const i=function Mq(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function Iq(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,u=>{this.factory.scheduleListenerCallback(u._data||-1,r,u)})}return this.delegate.listen(n,t,r)}}class Pq{constructor(n,t,r){this.delegate=n,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(n,t){const i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const d=this._rendererCache;let h=d.get(i);return h||(h=new MS("",i,this.engine,()=>d.delete(i)),d.set(i,h)),h}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const u=d=>{Array.isArray(d)?d.forEach(u):this.engine.registerTrigger(o,s,n,d.name,d)};return t.data.animation.forEach(u),new Tq(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,r){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{const[s,u]=o;s(u)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const IS=[{provide:M4,useFactory:function xq(){return new uS}},{provide:Nh,useClass:(()=>{class e extends Nh{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(r){return new(r||e)(l(Wr),l(T4),l(M4))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})()},{provide:op,useFactory:function kq(e,n,t){return new Pq(e,n,t)},deps:[yv,Nh,Et]}],z4=[{provide:T4,useFactory:()=>new SS},{provide:Xb,useValue:"BrowserAnimations"},...IS],PS=[{provide:T4,useClass:S4},{provide:Xb,useValue:"NoopAnimations"},...IS];let AS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?PS:z4}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:z4,imports:[u0]})}return e})();P(877);const xS={merchantCapabilities:["supports3DS"],supportedNetworks:["visa","masterCard","amex","discover"]},Nq=xn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),kS=new ae("APPLE_PAY_SESSION_TOKEN",{factory:()=>p(Wr).defaultView.ApplePaySession});let NS=(()=>{class e{constructor(t){this.applePaySession=t}canMakePayments(){return ApplePaySession.canMakePayments()}createPaySession(t,r,i){return new gt(o=>{const s=u=>{o.error(u),console.error(u)};try{const u=new this.applePaySession(t,r),c=(d,h)=>{u.abort(),s({event:d,error:h})};u.onvalidatemerchant=function(){var d=yl(function*(h){try{const m=yield function Oq(e,n){const t="object"==typeof n;return new Promise((r,i)=>{let s,o=!1;e.subscribe({next:u=>{s=u,o=!0},error:i,complete:()=>{o?r(s):t?r(n.defaultValue):i(new Nq)}})})}(i(h));u.completeMerchantValidation(m)}catch(m){c(h,m)}});return function(h){return d.apply(this,arguments)}}(),u.onpaymentmethodselected=d=>{const h={newTotal:{...r.total}};u.completePaymentMethodSelection(h)},u.onshippingmethodselected=d=>{u.completeShippingMethodSelection({})},u.onshippingcontactselected=d=>{u.completeShippingContactSelection({})},u.onpaymentauthorized=d=>{u.completePayment({status:ApplePaySession.STATUS_SUCCESS}),o.next(d),o.complete()},u.oncancel=d=>{s(d)},u.begin()}catch(u){s(u)}})}static#e=this.\u0275fac=function(r){return new(r||e)(l(kS))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})(),OS=(()=>{class e{constructor(t,r){this.nativeService=t,this.http=r}canMakePayment(){return Yi(this.nativeService.canMakePayments())}pay(t){const{version:r=10}=t;return this.nativeService.createPaySession(r,this.mapData(t),o=>this.validate(o,t))}validate(t,r){const{validationURL:i}=t,{merchantId:o,processingUrl:s,userToken:u}=r;return this.http.post(s,{validationUrl:i},{params:{merchantId:o},headers:u?{Authorization:u}:void 0})}mapData(t){const{total:r,countryCode:i,supportedNetworks:o=xS.supportedNetworks,merchantCapabilities:s=xS.merchantCapabilities}=t;return{countryCode:i,currencyCode:r.currency,supportedNetworks:o,merchantCapabilities:s,total:{amount:r.amount,label:r.label}}}static#e=this.\u0275fac=function(r){return new(r||e)(l(NS),l(S0))};static#t=this.\u0275prov=he({token:e,factory:e.\u0275fac})}return e})();const Rq=new ae("APPLE_PAY_SESSION_SUPPORT_TOKEN",{factory:()=>!!p(kS)}),Lq={canMakePayment:()=>Yi(!1),pay(e){throw new Error("not implemented")}};let RS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[NS,OS,{provide:_9,deps:[Rq,OS],useFactory:(t,r)=>t?r:Lq}]})}return e})();P(463);let LS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[w9]})}return e})(),FS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[T9],imports:[ND.forRoot(),XD,ID,MD,uv,u0,AS,RS,LS,ND,XD,ID,MD,uv,u0,AS,RS,LS]})}return e})(),Fq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[ln,Nl,Xv,Yv,Kv,em,Q0],imports:[FS]})}return e})(),Vq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[Zv,Il]})}return e})(),$q=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[qD]})}return e})();function jq(e,n){let t=e;const r=p(ln),i=p(P0),o=r.data.settings().language,s=!!e.headers.get(El_customHeaders_skipToastr);return s&&(t=e.clone({headers:e.headers.delete(El_customHeaders_skipToastr)})),n(t).pipe(Sl(u=>(s||i.error(o.notifications.error.default.text,o.notifications.error.default.title),r.events.error.emit(u),Wv(()=>u))))}function Bq(e,n){let t=e;const r=p(ln);if(!e.headers.get("Authorization")){const o=r.data.payment()?.userAuthToken;o&&(t=e.clone({headers:e.headers.append("Authorization",o)}))}return n(t)}let Hq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({providers:[wH(CH([jq,Bq]))],imports:[oG.forRoot(),Fq,FS,Vq,$q]})}return e})(),Gq=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(t){const{injector:r}=this,i=function m$(e,n){const t=function u$(e,n){return n.get(Fu).resolveComponentFactory(e).inputs}(e,n.injector),r=n.strategyFactory||new h$(e,n.injector),i=function a$(e){const n={};return e.forEach(({propName:t,templateName:r,transform:i})=>{n[function n$(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(r)]=[t,i]}),n}(t);class o extends p${static#e=this.observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const u=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;const h=this[c];delete this[c],u.setInputValue(c,h,d)})}return this._ngElementStrategy}constructor(u){super(),this.injector=u}attributeChangedCallback(u,c,d,h){const[m,g]=i[u];this.ngElementStrategy.setInputValue(m,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{const c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return t.forEach(({propName:s,transform:u})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,u)},configurable:!0,enumerable:!0})}),o}(Uz,{injector:r});customElements.define("moto-payment-form",i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Jt))};static#t=this.\u0275mod=cr({type:e});static#n=this.\u0275inj=Ln({imports:[u0,Hq]})}return e})();hV().bootstrapModule(Gq).catch(e=>console.log(e))},634:function(z,V,P){"use strict";var M=this&&this.__assign||function(){return M=Object.assign||function(_e){for(var Se,We=1,tt=arguments.length;We<tt;We++)for(var _n in Se=arguments[We])Object.prototype.hasOwnProperty.call(Se,_n)&&(_e[_n]=Se[_n]);return _e},M.apply(this,arguments)},de=P(990),Pe=P(402),Oe=P(987),te=P(250),me=P(507),B={},le={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},Pt=[le.VISA,le.MASTERCARD,le.AMERICAN_EXPRESS,le.DINERS_CLUB,le.DISCOVER,le.JCB,le.UNIONPAY,le.MAESTRO,le.ELO,le.MIR,le.HIPER,le.HIPERCARD],Mt=(0,me.clone)(Pt);function dn(_e){return B[_e]||de[_e]}function ot(_e,Se){void 0===Se&&(Se=!1);var We=Mt.indexOf(_e);if(!Se&&-1===We)throw new Error('"'+_e+'" is not a supported card type.');return We}function qe(_e){var Se=[];if(!(0,Oe.isValidInputType)(_e))return Se;if(0===_e.length)return function et(){return Mt.map(function(_e){return(0,me.clone)(dn(_e))})}();Mt.forEach(function(tt){var _n=dn(tt);(0,Pe.addMatchingCardsToResults)(_e,_n,Se)});var We=(0,te.findBestMatch)(Se);return We?[We]:Se}qe.getTypeInfo=function(_e){return(0,me.clone)(dn(_e))},qe.removeCard=function(_e){var Se=ot(_e);Mt.splice(Se,1)},qe.addCard=function(_e){var Se=ot(_e.type,!0);B[_e.type]=_e,-1===Se&&Mt.push(_e.type)},qe.updateCard=function(_e,Se){var We=B[_e]||de[_e];if(!We)throw new Error('"'.concat(_e,"\" is not a recognized type. Use `addCard` instead.'"));if(Se.type&&We.type!==Se.type)throw new Error("Cannot overwrite type parameter.");var tt=(0,me.clone)(We);tt=M(M({},tt),Se),B[tt.type]=tt},qe.changeOrder=function(_e,Se){var We=ot(_e);Mt.splice(We,1),Mt.splice(Se,0,_e)},qe.resetModifications=function(){Mt=(0,me.clone)(Pt),B={}},qe.types=le,z.exports=qe},402:(z,V,P)=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.addMatchingCardsToResults=void 0;var M=P(507),de=P(595);V.addMatchingCardsToResults=function Pe(Oe,te,me){var B,le;for(B=0;B<te.patterns.length;B++){var Pt=te.patterns[B];if((0,de.matches)(Oe,Pt)){var Mt=(0,M.clone)(te);le=Array.isArray(Pt)?String(Pt[0]).length:String(Pt).length,Oe.length>=le&&(Mt.matchStrength=le),me.push(Mt);break}}}},990:z=>{"use strict";z.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[62207,62209],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},507:(z,V)=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.clone=void 0,V.clone=function P(M){return M?JSON.parse(JSON.stringify(M)):null}},250:(z,V)=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.findBestMatch=void 0,V.findBestMatch=function M(de){return function P(de){var Pe=de.filter(function(Oe){return Oe.matchStrength}).length;return Pe>0&&Pe===de.length}(de)?de.reduce(function(Pe,Oe){return!Pe||Number(Pe.matchStrength)<Number(Oe.matchStrength)?Oe:Pe}):null}},987:(z,V)=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.isValidInputType=void 0,V.isValidInputType=function P(M){return"string"==typeof M||M instanceof String}},595:(z,V)=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.matches=void 0,V.matches=function de(Pe,Oe){return Array.isArray(Oe)?function P(Pe,Oe,te){var me=String(Oe).length,B=Pe.substr(0,me),le=parseInt(B,10);return Oe=parseInt(String(Oe).substr(0,B.length),10),te=parseInt(String(te).substr(0,B.length),10),le>=Oe&&le<=te}(Pe,Oe[0],Oe[1]):function M(Pe,Oe){return(Oe=String(Oe)).substring(0,Pe.length)===Pe.substring(0,Oe.length)}(Pe,Oe)}},877:()=>{!function(z){function V(B){for(var le,Pt,Mt=B[0],dn=B[1],et=0,ot=[];et<Mt.length;et++)Pt=Mt[et],Object.prototype.hasOwnProperty.call(M,Pt)&&M[Pt]&&ot.push(M[Pt][0]),M[Pt]=0;for(le in dn)Object.prototype.hasOwnProperty.call(dn,le)&&(z[le]=dn[le]);for(me&&me(B);ot.length;)ot.shift()()}var P={},M={0:0};function de(B){if(P[B])return P[B].exports;var le=P[B]={i:B,l:!1,exports:{}};return z[B].call(le.exports,le,le.exports,de),le.l=!0,le.exports}de.e=function(){return Promise.resolve()},de.m=z,de.c=P,de.d=function(B,le,Pt){de.o(B,le)||Object.defineProperty(B,le,{enumerable:!0,get:Pt})},de.r=function(B){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(B,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(B,"__esModule",{value:!0})},de.t=function(B,le){if(1&le&&(B=de(B)),8&le||4&le&&"object"==typeof B&&B&&B.__esModule)return B;var Pt=Object.create(null);if(de.r(Pt),Object.defineProperty(Pt,"default",{enumerable:!0,value:B}),2&le&&"string"!=typeof B)for(var Mt in B)de.d(Pt,Mt,function(dn){return B[dn]}.bind(null,Mt));return Pt},de.n=function(B){var le=B&&B.__esModule?function(){return B.default}:function(){return B};return de.d(le,"a",le),le},de.o=function(B,le){return Object.prototype.hasOwnProperty.call(B,le)},de.p="",de.oe=function(B){throw console.error(B),B};var Pe=window.webpackJsonp=window.webpackJsonp||[],Oe=Pe.push.bind(Pe);Pe.push=V,Pe=Pe.slice();for(var te=0;te<Pe.length;te++)V(Pe[te]);var me=Oe;de(de.s=103)}({103:function(z,V,P){"use strict";P.r(V),function(M){var de=P(14);function Pe(et,ot,qe,_e,Se,We,tt){try{var _n=et[We](tt),hn=_n.value}catch(Zr){return void qe(Zr)}_n.done?ot(hn):Promise.resolve(hn).then(_e,Se)}function Oe(et){return function(){var ot=this,qe=arguments;return new Promise(function(_e,Se){var We=et.apply(ot,qe);function tt(hn){Pe(We,_e,Se,tt,_n,"next",hn)}function _n(hn){Pe(We,_e,Se,tt,_n,"throw",hn)}tt(void 0)})}}function te(et,ot,qe){return ot in et?Object.defineProperty(et,ot,{value:qe,enumerable:!0,configurable:!0,writable:!0}):et[ot]=qe,et}function me(et,ot){return qe=et,(_e=le(et,ot,"get")).get?_e.get.call(qe):_e.value;var qe,_e}function le(et,ot,qe){if(!ot.has(et))throw new TypeError("attempted to "+qe+" private field on non-instance");return ot.get(et)}function Pt(){var et="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js",qe=document.createElement("div"),_e=et.slice(0,et.lastIndexOf("/"))||"",Se=T=>{for(var w in qe.setAttribute("data-"+T,""),qe.dataset)return delete qe.dataset[w],w},We=T=>{qe.dataset[T]="";var w=qe.attributes[0];return qe.removeAttribute(w.name),w.name.slice(5)};function tt(T){return _e+T.replace(/^\.\//,"/")}function _n(){var T;try{return null===(T=window.ApplePaySession)||void 0===T?void 0:T.canMakePayments()}catch(w){return console.warn(w),!1}}var hn=!1;if(typeof window<"u"){var Zr={get passive(){hn=!0}};window.addEventListener("testPassive",null,Zr),window.removeEventListener("testPassive",null,Zr)}var Nn=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),Pn=[],br=!1,De=-1,He=void 0,Le=void 0,nt=void 0,Ue=function(T){return Pn.some(function(w){return!(!w.options.allowTouchMove||!w.options.allowTouchMove(T))})},ze=function(T){var w=T||window.event;return!!Ue(w.target)||w.touches.length>1||(w.preventDefault&&w.preventDefault(),!1)},It=new WeakMap;class Re extends HTMLElement{constructor(){super(),It.set(this,{writable:!0,value:void 0}),te(this,"open",!1),te(this,"ready",!1),te(this,"url",Ye.url),te(this,"theme",Ye.theme),te(this,"locale",Ye.locale),this.close=this.close.bind(this)}connectedCallback(){var w=this;return Oe(function*(){(function B(et,ot,qe){(function(_e,Se,We){if(Se.set)Se.set.call(_e,We);else{if(!Se.writable)throw new TypeError("attempted to set read only private field");Se.value=We}})(et,le(et,ot,"set"),qe)})(w,It,w.attachShadow({mode:"closed"})),w.update(),me(w,It).addEventListener("click",x=>{x.preventDefault(),x.stopPropagation();var L=x.target.closest('a[href*="'.concat("#apple-pay-close",'"]'));L&&x.currentTarget.contains(L)&&w.close()}),w.addEventListener("click",x=>w.close())})()}show(){(function(T){if(T){if(!Pn.some(function(L){return L.targetElement===T})){var x={targetElement:T,options:{}};Pn=[].concat(function(L){if(Array.isArray(L)){for(var ne=0,re=Array(L.length);ne<L.length;ne++)re[ne]=L[ne];return re}return Array.from(L)}(Pn),[x]),Nn?window.requestAnimationFrame(function(){if(void 0===Le){Le={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var L=window,ne=L.scrollY,re=L.scrollX,ue=L.innerHeight;document.body.style.position="fixed",document.body.style.top=-ne,document.body.style.left=-re,setTimeout(function(){return window.requestAnimationFrame(function(){var pt=ue-window.innerHeight;pt&&ne>=ue&&(document.body.style.top=-(ne+pt))})},300)}}):function(){if(void 0===nt)window,document;void 0===He&&(He=document.body.style.overflow,document.body.style.overflow="hidden")}(),Nn&&(T.ontouchstart=function(L){1===L.targetTouches.length&&(De=L.targetTouches[0].clientY)},T.ontouchmove=function(L){var ne,re,pt,ue;1===L.targetTouches.length&&(re=T,ue=(ne=L).targetTouches[0].clientY-De,!Ue(ne.target)&&(re&&0===re.scrollTop&&ue>0||(pt=re)&&pt.scrollHeight-pt.scrollTop<=pt.clientHeight&&ue<0?ze(ne):ne.stopPropagation()))},br||(document.addEventListener("touchmove",ze,hn?{passive:!1}:void 0),br=!0))}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")})(this.ownerDocument.body||this.ownerDocument.documentElement),this.setAttribute("open",""),this.open=!0;var w=me(this,It).querySelector("iframe");this.ready||(this.ready=!0,this.accessibilityTranslations(),Promise.race([new Promise(x=>w.onload=x),new Promise((x,L)=>setTimeout(L,10800))]).then(()=>{},()=>(console.error("Modal loading timeout. Check connection or try again later."),this.close())))}close(){var T;(T=this.ownerDocument.body||this.ownerDocument.documentElement)?(Pn=Pn.filter(function(w){return w.targetElement!==T}),Nn&&(T.ontouchstart=null,T.ontouchmove=null,br&&0===Pn.length&&(document.removeEventListener("touchmove",ze,hn?{passive:!1}:void 0),br=!1)),Nn?function(){if(void 0!==Le){var w=-parseInt(document.body.style.top,10),x=-parseInt(document.body.style.left,10);document.body.style.position=Le.position,document.body.style.top=Le.top,document.body.style.left=Le.left,window.scrollTo(x,w),Le=void 0}}():(void 0!==nt&&(document.body.style.paddingRight=nt,nt=void 0),void 0!==He&&(document.body.style.overflow=He,He=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices."),this.removeAttribute("open"),this.open=!1}update(){me(this,It).innerHTML='<section class="dialog theme-'.concat(this.theme,'" role="dialog" aria-modal="true"><div class="content"><iframe src="').concat(this.url,'" frameBorder="0" scrolling="no" loading="lazy"></iframe></div><a class="close" data-accessibility="closeButton" href="').concat("#apple-pay-close",'"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M12.12,10l4.07-4.06a1.5,1.5,0,1,0-2.11-2.12L10,7.88,5.94,3.81A1.5,1.5,0,1,0,3.82,5.93L7.88,10,3.81,14.06a1.5,1.5,0,0,0,0,2.12,1.51,1.51,0,0,0,2.13,0L10,12.12l4.06,4.07a1.45,1.45,0,0,0,1.06.44,1.5,1.5,0,0,0,1.06-2.56Z"></path></svg></a></section><style>').concat(":host{font-family:var(--apple-pay-font-family, '-apple-system', 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif');position:fixed;overflow:scroll;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;visibility:hidden;background-color:rgba(50,50,50,.58);-ms-flex-pack:center;justify-content:center;padding:2rem 0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;opacity:0;-webkit-transition:visibility 0s .28s, opacity .28s, z-index 0s .28s;transition:visibility 0s .28s, opacity .28s, z-index 0s .28s;z-index:-1}:host([open]){visibility:visible;opacity:1;-webkit-transition:visibility 0s, opacity .28s, z-index 0s 0s;transition:visibility 0s, opacity .28s, z-index 0s 0s;z-index:1728}.dialog{--apple-pay-modal-padding-top:22px;--apple-pay-modal-padding-bottom:22px;--apple-pay-modal-padding-inline:22px;border-radius:20px;border:none;background-color:white;padding:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:relative;margin:auto;opacity:0;-webkit-transform:scale(.97) translateZ(0);transform:scale(.97) translateZ(0);-webkit-transition:all .108s .054s;transition:all .108s .054s}:host([open]) .dialog{opacity:1;-webkit-transform:scale(1) translateZ(0);transform:scale(1) translateZ(0)}.dialog.theme-dark{background-color:#000}@media (prefers-color-scheme: dark){.dialog.theme-auto{background-color:#000}}.dialog .content{-webkit-margin-start:var(--apple-pay-modal-padding-inline);margin-inline-start:var(--apple-pay-modal-padding-inline);-webkit-margin-end:var(--apple-pay-modal-padding-inline);margin-inline-end:var(--apple-pay-modal-padding-inline);margin-top:var(--apple-pay-modal-padding-top);margin-bottom:var(--apple-pay-modal-padding-bottom);position:relative}.dialog iframe{border:none;width:320px;height:750px}@media (min-width: 376px){.dialog iframe{width:360px;height:720px}}.dialog footer{-webkit-padding-start:var(--apple-pay-modal-padding-inline);padding-inline-start:var(--apple-pay-modal-padding-inline);-webkit-padding-end:var(--apple-pay-modal-padding-inline);padding-inline-end:var(--apple-pay-modal-padding-inline);padding-top:var(--apple-pay-modal-padding-top);padding-bottom:var(--apple-pay-modal-padding-bottom);position:absolute;bottom:0;left:0;right:0}.dialog .close{position:absolute;top:20px;right:20px;width:36px;height:36px;border-radius:36px;display:-ms-flexbox;display:flex;background-color:rgb(232, 232, 237);color:rgba(0, 0, 0, 0.56);-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;outline:none}.dialog .close:hover{background-color:rgb(236, 236, 240);color:rgba(0, 0, 0, 0.72)}.dialog .close svg{fill:currentColor;width:20px;height:20px}.theme-dark.dialog .close{background-color:#333336;color:rgba(255,255,255,0.8)}.theme-dark.dialog .close:hover{background-color:#37373a;color:#fff}@media (prefers-color-scheme: dark){.theme-auto.dialog .close{background-color:#333336;color:rgba(255,255,255,0.8)}.theme-auto.dialog .close:hover{background-color:#37373a;color:#fff}}","</style>"),this.setAttribute("theme",this.theme)}accessibilityTranslations(){var w=this;Oe(function*(){var x=yield(yield fetch(tt("./merchandising-".concat(w.locale.split("-")[1].toLowerCase(),".json")))).json(),L=w.locale.split("-")[0],ne=x.accessibility[L],re=/\{\{\s*([^\s]+)\s*\}\}/gi;me(w,It).querySelectorAll("[data-accessibility]").forEach(ue=>{var pt=ue.dataset.accessibility;ue.ariaLabel=ne[pt].replaceAll(re,(Xt,sr,Ci)=>sr),ue.alt=ne[pt].replaceAll(re,(Xt,sr,Ci)=>sr)})})()}static get observedAttributes(){return Wt}attributeChangedCallback(w,x,L){w=Se(w),null==L?delete this[w]:this[w]="true"===L||"false"!==L&&(""===L||L),L!==x&&this.update()}}var Ye={theme:"auto",locale:"en-US",url:""},Wt=Object.keys(Ye).map(We);Object.assign(Re.prototype,Ye),customElements.define("apple-pay-merchandising-modal",Re);var tn=document.createElement("apple-pay-merchandising-modal");document.contains(tn)||(document.body||document.documentElement).appendChild(tn);var $n,fn,Rt,qt=function(T,w,x){if(!w.has(T))throw new TypeError("attempted to set private field on non-instance");return w.set(T,x),x},Je=function(T,w){if(!w.has(T))throw new TypeError("attempted to get private field on non-instance");return w.get(T)},jn={us:{text:{en:{badge:'<a class="info-circle" href="{{ modalUrl }}" style="display:block"><svg width="16" style="display:block" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M29.9475268,59.5867724 C46.1333288,59.5867724 59.534715,46.15661 59.534715,29.9998218 C59.534715,13.8140198 46.1043387,0.412871288 29.9185367,0.412871288 C13.7617248,0.412871288 0.36059406,13.8140198 0.36059406,29.9998218 C0.36059406,46.15661 13.7907743,59.5867724 29.9475268,59.5867724 Z M29.9475268,54.6556041 C16.256299,54.6556041 5.32073466,43.6910496 5.32073466,29.9998218 C5.32073466,16.3085941 16.2273089,5.34403961 29.9185367,5.34403961 C43.6097644,5.34403961 54.5743189,16.3085941 54.6035429,29.9998218 C54.6325367,43.6910496 43.6387545,54.6556041 29.9475268,54.6556041 Z M29.6864971,19.673406 C31.8039624,19.673406 33.4573486,17.9909703 33.4573486,15.873505 C33.4573486,13.7559802 31.8039624,12.073604 29.6864971,12.073604 C27.5979624,12.073604 25.9155862,13.7559802 25.9155862,15.873505 C25.9155862,17.9909703 27.5979624,19.673406 29.6864971,19.673406 Z M24.8713486,45.9535605 L36.6770912,45.9535605 C37.8663981,45.9535605 38.7946159,45.0833585 38.7946159,43.8940991 C38.7946159,42.7628318 37.8663981,41.863604 36.6770912,41.863604 L33.0802991,41.863604 L33.0802991,27.0991486 C33.0802991,25.5327921 32.2970911,24.4885545 30.8177644,24.4885545 L25.3644773,24.4885545 C24.1751703,24.4885545 23.2469525,25.3877228 23.2469525,26.5189901 C23.2469525,27.7082971 24.1751703,28.5784753 25.3644773,28.5784753 L28.4682,28.5784753 L28.4682,41.863604 L24.8713486,41.863604 C23.6820416,41.863604 22.7538238,42.7628318 22.7538238,43.8940991 C22.7538238,45.0833585 23.6820416,45.9535605 24.8713486,45.9535605 Z" transform="translate(2 2)"></path></svg></a>',plain:'Pay in full or use Apple Pay Later to make {{ frequency }} interest\u2011free payments of {{ paymentsAmount }}. <a href="{{ modalUrl }}"><strong>Learn more</strong></a>',price:'Or {{ frequency }} interest\u2011free payments of {{ paymentsAmount }} with Apple Pay Later. <a href="{{ modalUrl }}"><strong>Learn more</strong></a>',checkout:'Pay in full or use Apple Pay Later to make {{ frequency }} interest\u2011free payments of {{ paymentsAmount }}. <a href="{{ modalUrl }}"><strong>Learn more</strong></a>'}},legal:{default:"No fees and no impact to credit fees eligibility.\nPayment options are subject to eligibility checks and approvals at checkout.\nLoans are issued by Apple Financing LLC, NMLS #2154940, and may not be available in all states.\nCA Residents: Loans issued by Apple Financing LLC are made or arranged pursuant to a California Finance Lenders Law license.",learnMore:"Apple Pay Later loans are subject to eligibility checks and approvals, are issued by Apple Financing LLC, NMLS #2154940, and may not be available in all states. CA residents: Loans are made or arranged pursuant to a California Finance Lenders Law license."},nativeContent:{en:{promoText:"Pay in full or use Apple Pay Later to make {frequency} interest\u2011free payments of {paymentsAmount}."}},modal:{en:{"large-title":"Apple Pay Later",intro:"Pay purchases in {{ frequency }} interest-free payments every 2 weeks. Available to use everywhere Apple Pay is accepted.",payments:"Example payments for",amount:"{{ paymentsAmount }} every 2 weeks",frequency:"{{ frequency }} payments",today:'Due Today <span style="float: right;">{{ paymentsAmount }}</span>',"2weeks":'In 2 Weeks <span style="float: right;">{{ paymentsAmount }}</span>',"4weeks":'In 4 Weeks <span style="float: right;">{{ paymentsAmount }}</span>',"6weeks":'In 6 Weeks <span style="float: right;">{{ lastPaymentAmount }}</span>',total:"Total Cost {{ amount }}",interest:"No Interest"}},learnMore:{en:{intro:"Pay 4 interest-free payments, every 2 weeks.",headline1:"Check out with Apple Pay",subheadline1:"Check out with Apple Pay online and select the Pay Later option to review your available payment plan.",headline2:"No Fees or Impact to Credit",subheadline2:"No fees or funny stuff. Checking your eligibility will never impact your credit.",headline3:"Pay 25% today",subheadline3:"Your first payment is due at checkout, the rest every 2 weeks for 6 weeks.",headline4:"Manage in Wallet",subheadline4:"After your purchase, you can relax and manage your remaining payments right in the Wallet app."}},accessibility:{en:{applePayLaterLogo:"Apple Pay Later",applePayIcon:"Apple Pay icon",priceTagIcon:"Price Tag icon",dollarSignIcon:"Dollar Sign icon",walletIcon:"Wallet icon",applePayLaterAppLogo:"Apple Pay Later Icon",closeButton:"Close Button"}},presets:{badge:{logoType:"pay_later",logoStyle:"none",logoAlign:"left"},plain:{logoType:"pay",logoAlign:"right",logoStyle:"black"},checkout:{logoType:"pay",logoAlign:"left",logoStyle:"white"},price:{logoType:"pay",logoAlign:"right",logoStyle:"black"},custom:{logoType:"none",logoAlign:"left",logoStyle:"none"}},currencyCode:"USD",method:{bnpl:{minAmount:50,maxAmount:1e3,frequency:4}}}},Zt={apple_pay_later_logo_black:'<svg xmlns="http://www.w3.org/2000/svg" width="476.234" height="99.409" viewBox="0 0 476.234 99.409" style="enable-background:new 0 0 476.234 99.409" xml:space="preserve"><path d="M105.946 5.505c14.176 0 24.048 9.771 24.048 23.998 0 14.277-10.074 24.1-24.402 24.1H89.896v24.96h-11.34V5.505h27.39zm-16.05 38.579h13.012c9.873 0 15.492-5.315 15.492-14.53 0-9.214-5.619-14.479-15.441-14.479H89.896v29.009zm43.164 19.341c0-9.316 7.139-15.037 19.796-15.746l14.581-.86v-4.101c0-5.924-4-9.468-10.683-9.468-6.329 0-10.278 3.037-11.24 7.797h-10.328c.607-9.62 8.81-16.708 21.973-16.708 12.911 0 21.163 6.835 21.163 17.518v36.706h-10.48v-8.759h-.253c-3.088 5.924-9.821 9.67-16.809 9.67-10.429 0-17.72-6.481-17.72-16.049zm34.377-4.81v-4.202l-13.113.81c-6.531.456-10.227 3.342-10.227 7.898 0 4.657 3.848 7.695 9.721 7.695 7.645 0 13.619-5.265 13.619-12.201zm20.779 39.541v-8.86c.81.202 2.632.202 3.544.202 5.062 0 7.797-2.126 9.467-7.594 0-.102.963-3.24.963-3.291l-19.24-53.312h11.847l13.468 43.339h.202l13.468-43.339h11.543L213.53 81.347c-4.556 12.911-9.821 17.062-20.858 17.062-.912 0-3.647-.101-4.456-.253zm112.339-19.594h-45.363V5.505h11.341V68.74h34.022v9.822zm4.937-15.137c0-9.316 7.139-15.037 19.796-15.746l14.581-.86v-4.101c0-5.924-4-9.468-10.683-9.468-6.329 0-10.278 3.037-11.24 7.797h-10.328c.607-9.62 8.81-16.708 21.973-16.708 12.911 0 21.163 6.835 21.163 17.518v36.706h-10.48v-8.759h-.253c-3.088 5.924-9.821 9.67-16.809 9.67-10.43 0-17.72-6.481-17.72-16.049zm34.377-4.81v-4.202l-13.113.81c-6.531.456-10.227 3.342-10.227 7.898 0 4.657 3.848 7.695 9.721 7.695 7.644 0 13.619-5.265 13.619-12.201zm35.649-45.921V25.3h10.125v8.658h-10.125v29.364c0 4.607 2.024 6.683 6.48 6.683 1.113 0 2.886-.101 3.594-.253v8.657c-1.215.305-3.645.507-6.075.507-10.784 0-14.986-4.101-14.986-14.379V33.959h-7.746v-8.658h7.746V12.694h10.987zm63.409 50.224c-1.519 9.721-10.733 16.657-22.935 16.657-15.645 0-25.111-10.581-25.111-27.391 0-16.707 9.619-27.846 24.656-27.846 14.783 0 23.997 10.43 23.997 26.58v3.747h-37.616v.658c0 9.265 5.568 15.391 14.327 15.391 6.228 0 10.835-3.139 12.303-7.797h10.379zM401.968 47.02h26.631c-.253-8.15-5.417-13.872-13.062-13.872s-13.012 5.823-13.569 13.872zm46.028-21.719h10.43v9.062h.253c1.772-6.227 6.531-9.923 12.81-9.923 1.569 0 2.937.253 3.746.405v10.176c-.86-.354-2.784-.607-4.911-.607-7.037 0-11.391 4.709-11.391 12.252v31.896h-10.937V25.301zm-400.1-6.172c-6.518-.482-12.048 3.641-15.133 3.641-3.13 0-7.956-3.537-13.074-3.44-6.719.098-12.912 3.91-16.377 9.926C-3.667 41.369 1.53 59.32 8.328 69.15c3.325 4.803 7.291 10.216 12.5 10.019 5.014-.197 6.911-3.243 12.972-3.243 6.057 0 7.766 3.243 13.068 3.146 5.397-.1 8.816-4.903 12.117-9.733 3.82-5.575 5.389-10.973 5.482-11.259-.119-.045-10.52-4.036-10.624-16.019-.094-10.018 8.177-14.834 8.553-15.066-4.693-6.914-11.945-7.677-14.5-7.866zm-4.022-6.489C46.642 9.294 48.505 4.634 47.992 0c-3.984.158-8.803 2.654-11.661 5.998-2.559 2.962-4.807 7.706-4.196 12.246 4.441.342 8.973-2.257 11.739-5.604z"/></svg>',apple_pay_later_mark_black:'<svg viewBox="0 0 299 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M283.698,0 L14.823,0 C14.257,0 13.69,0 13.125,0.003 C12.648,0.007 12.172,0.012 11.695,0.025 C10.656,0.053 9.608,0.115 8.582,0.299 C7.55304935,0.475289397 6.5561053,0.803896713 5.624,1.274 C3.75016438,2.22707876 2.22707876,3.75016438 1.274,5.624 C0.803057197,6.55646163 0.474412543,7.5541931 0.299,8.584 C0.113,9.611 0.052,10.658 0.024,11.696 C0.011,12.173 0.005,12.649 0,13.126 C0,13.69 0,14.256 0,14.823 L0,91.141 C0,91.708 0,92.273 0,92.84 C0.005,93.316 0.011,93.793 0.024,94.27 C0.052,95.306 0.114,96.354 0.299,97.38 C0.474052532,98.4097641 0.802361489,99.4074997 1.273,100.34 C1.74618424,101.271314 2.36382962,102.121842 3.103,102.86 C3.84090499,103.599466 4.69148278,104.217148 5.623,104.69 C6.57,105.173 7.54,105.48 8.583,105.667 C9.608,105.85 10.656,105.912 11.695,105.94 C12.172,105.951 12.648,105.958 13.125,105.96 C13.69,105.964 14.257,105.964 14.823,105.964 L283.698,105.964 C284.263,105.964 284.83,105.964 285.395,105.96 C285.87205,105.957616 286.349069,105.950949 286.826,105.94 C287.863,105.912 288.911,105.85 289.939,105.667 C290.968174,105.490543 291.96519,105.161238 292.897,104.69 C294.769895,103.735625 296.292625,102.212895 297.247,100.34 C297.73,99.393 298.036,98.423 298.221,97.38 C298.407,96.354 298.467,95.306 298.495,94.27 C298.508,93.793 298.515,93.316 298.517,92.84 C298.521,92.273 298.521,91.708 298.521,91.141 L298.521,14.824 C298.521,14.257 298.521,13.691 298.517,13.125 C298.515064,12.6485989 298.50773,12.172235 298.495,11.696 C298.467,10.658 298.407,9.611 298.221,8.584 C298.046831,7.55401695 297.71848,6.55615176 297.247,5.624 C296.293413,3.75053315 294.770467,2.22758663 292.897,1.274 C291.964782,0.80438048 290.967861,0.476117852 289.939,0.3 C288.911,0.115 287.863,0.054 286.826,0.026 C286.349085,0.0138870152 285.872062,0.00655331365 285.395,0.004 C284.83,0 284.263,0 283.698,0 Z" id="Outline" fill="rgba(255,255,255,.075)"></path><path d="M285.37,3.535 C285.822,3.538 286.275,3.543 286.73,3.555 C287.522,3.577 288.449,3.62 289.313,3.775 C290.063,3.91 290.693,4.115 291.297,4.423 C292.505746,5.03755904 293.487734,6.0205978 294.101,7.23 C294.407,7.83 294.611,8.456 294.746,9.213 C294.9,10.067 294.943,10.996 294.964,11.793 C294.977,12.243 294.983,12.693 294.984,13.153 C294.989,13.71 294.989,14.266 294.989,14.824 L294.989,91.142 C294.989,91.7 294.989,92.256 294.985,92.824 C294.983,93.274 294.977,93.724 294.965,94.174 C294.943,94.97 294.9,95.899 294.744,96.763 C294.630594,97.4502806 294.413097,98.1162614 294.099,98.738 C293.484409,99.9478082 292.501027,100.93084 291.291,101.545 C290.691,101.851 290.063,102.057 289.32,102.19 C288.438,102.347 287.473,102.39 286.746,102.41 C286.289,102.42 285.834,102.427 285.367,102.429 C284.812,102.433 284.254,102.433 283.698,102.433 L14.801,102.433 C14.251,102.433 13.701,102.433 13.141,102.429 C12.6909551,102.427046 12.240937,102.421046 11.791,102.411 C11.047,102.391 10.081,102.347 9.207,102.191 C8.51598039,102.075842 7.84638728,101.85669 7.221,101.541 C6.62111744,101.236271 6.07359362,100.837949 5.599,100.361 C5.12290857,99.8857571 4.72529217,99.3379376 4.421,98.738 C4.10640097,98.1127736 3.88826296,97.4435248 3.774,96.753 C3.619,95.89 3.576,94.965 3.554,94.175 C3.54269765,93.7234137 3.53603063,93.2717232 3.532,92.82 L3.532,91.493 L3.532,14.474 L3.532,13.149 C3.537,12.696 3.542,12.244 3.554,11.792 C3.576,11 3.619,10.075 3.776,9.205 C3.89017322,8.51586104 4.10797216,7.84796678 4.422,7.224 C4.726,6.626 5.122,6.08 5.602,5.602 C6.07772872,5.1254978 6.62583457,4.72724354 7.226,4.422 C7.8498075,4.10823092 8.5172811,3.89012212 9.206,3.775 C10.071,3.62 10.998,3.577 11.792,3.555 C12.244,3.543 12.697,3.538 13.146,3.535 L14.823,3.532 L283.698,3.532 L285.37,3.535 Z" id="Bg" fill="#000"></path><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay" fill="#fff"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later" fill="#fff"></path></svg>',apple_pay_later_mark_none:'<svg viewBox="20 0 260 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later"></path></svg>',apple_pay_later_mark_white_outline:'<svg viewBox="0 0 299 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M283.698,0 L14.823,0 C14.257,0 13.69,0 13.125,0.003 C12.648,0.007 12.172,0.012 11.695,0.025 C10.656,0.053 9.608,0.115 8.582,0.299 C7.55304935,0.475289397 6.5561053,0.803896713 5.624,1.274 C3.75016438,2.22707876 2.22707876,3.75016438 1.274,5.624 C0.803057197,6.55646163 0.474412543,7.5541931 0.299,8.584 C0.113,9.611 0.052,10.658 0.024,11.696 C0.011,12.173 0.005,12.649 0,13.126 C0,13.69 0,14.256 0,14.823 L0,91.141 C0,91.708 0,92.273 0,92.84 C0.005,93.316 0.011,93.793 0.024,94.27 C0.052,95.306 0.114,96.354 0.299,97.38 C0.474052532,98.4097641 0.802361489,99.4074997 1.273,100.34 C1.74618424,101.271314 2.36382962,102.121842 3.103,102.86 C3.84090499,103.599466 4.69148278,104.217148 5.623,104.69 C6.57,105.173 7.54,105.48 8.583,105.667 C9.608,105.85 10.656,105.912 11.695,105.94 C12.172,105.951 12.648,105.958 13.125,105.96 C13.69,105.964 14.257,105.964 14.823,105.964 L283.698,105.964 C284.263,105.964 284.83,105.964 285.395,105.96 C285.87205,105.957616 286.349069,105.950949 286.826,105.94 C287.863,105.912 288.911,105.85 289.939,105.667 C290.968174,105.490543 291.96519,105.161238 292.897,104.69 C294.769895,103.735625 296.292625,102.212895 297.247,100.34 C297.73,99.393 298.036,98.423 298.221,97.38 C298.407,96.354 298.467,95.306 298.495,94.27 C298.508,93.793 298.515,93.316 298.517,92.84 C298.521,92.273 298.521,91.708 298.521,91.141 L298.521,14.824 C298.521,14.257 298.521,13.691 298.517,13.125 C298.515064,12.6485989 298.50773,12.172235 298.495,11.696 C298.467,10.658 298.407,9.611 298.221,8.584 C298.046831,7.55401695 297.71848,6.55615176 297.247,5.624 C296.293413,3.75053315 294.770467,2.22758663 292.897,1.274 C291.964782,0.80438048 290.967861,0.476117852 289.939,0.3 C288.911,0.115 287.863,0.054 286.826,0.026 C286.349085,0.0138870152 285.872062,0.00655331365 285.395,0.004 C284.83,0 284.263,0 283.698,0 Z" id="Outline" fill="#000000"></path><path d="M285.37,3.535 C285.822,3.538 286.275,3.543 286.73,3.555 C287.522,3.577 288.449,3.62 289.313,3.775 C290.063,3.91 290.693,4.115 291.297,4.423 C292.505746,5.03755904 293.487734,6.0205978 294.101,7.23 C294.407,7.83 294.611,8.456 294.746,9.213 C294.9,10.067 294.943,10.996 294.964,11.793 C294.977,12.243 294.983,12.693 294.984,13.153 C294.989,13.71 294.989,14.266 294.989,14.824 L294.989,91.142 C294.989,91.7 294.989,92.256 294.985,92.824 C294.983,93.274 294.977,93.724 294.965,94.174 C294.943,94.97 294.9,95.899 294.744,96.763 C294.630594,97.4502806 294.413097,98.1162614 294.099,98.738 C293.484409,99.9478082 292.501027,100.93084 291.291,101.545 C290.691,101.851 290.063,102.057 289.32,102.19 C288.438,102.347 287.473,102.39 286.746,102.41 C286.289,102.42 285.834,102.427 285.367,102.429 C284.812,102.433 284.254,102.433 283.698,102.433 L14.801,102.433 C14.251,102.433 13.701,102.433 13.141,102.429 C12.6909551,102.427046 12.240937,102.421046 11.791,102.411 C11.047,102.391 10.081,102.347 9.207,102.191 C8.51598039,102.075842 7.84638728,101.85669 7.221,101.541 C6.62111744,101.236271 6.07359362,100.837949 5.599,100.361 C5.12290857,99.8857571 4.72529217,99.3379376 4.421,98.738 C4.10640097,98.1127736 3.88826296,97.4435248 3.774,96.753 C3.619,95.89 3.576,94.965 3.554,94.175 C3.54269765,93.7234137 3.53603063,93.2717232 3.532,92.82 L3.532,91.493 L3.532,14.474 L3.532,13.149 C3.537,12.696 3.542,12.244 3.554,11.792 C3.576,11 3.619,10.075 3.776,9.205 C3.89017322,8.51586104 4.10797216,7.84796678 4.422,7.224 C4.726,6.626 5.122,6.08 5.602,5.602 C6.07772872,5.1254978 6.62583457,4.72724354 7.226,4.422 C7.8498075,4.10823092 8.5172811,3.89012212 9.206,3.775 C10.071,3.62 10.998,3.577 11.792,3.555 C12.244,3.543 12.697,3.538 13.146,3.535 L14.823,3.532 L283.698,3.532 L285.37,3.535 Z" id="Bg" fill="#FFFFFF"></path><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay" fill="#000000"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later" fill="#000000"></path></svg>',apple_pay_later_mark_white:'<svg viewBox="0 0 299 106" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M283.698,0 L14.823,0 C14.257,0 13.69,0 13.125,0.003 C12.648,0.007 12.172,0.012 11.695,0.025 C10.656,0.053 9.608,0.115 8.582,0.299 C7.55304935,0.475289397 6.5561053,0.803896713 5.624,1.274 C3.75016438,2.22707876 2.22707876,3.75016438 1.274,5.624 C0.803057197,6.55646163 0.474412543,7.5541931 0.299,8.584 C0.113,9.611 0.052,10.658 0.024,11.696 C0.011,12.173 0.005,12.649 0,13.126 C0,13.69 0,14.256 0,14.823 L0,91.141 C0,91.708 0,92.273 0,92.84 C0.005,93.316 0.011,93.793 0.024,94.27 C0.052,95.306 0.114,96.354 0.299,97.38 C0.474052532,98.4097641 0.802361489,99.4074997 1.273,100.34 C1.74618424,101.271314 2.36382962,102.121842 3.103,102.86 C3.84090499,103.599466 4.69148278,104.217148 5.623,104.69 C6.57,105.173 7.54,105.48 8.583,105.667 C9.608,105.85 10.656,105.912 11.695,105.94 C12.172,105.951 12.648,105.958 13.125,105.96 C13.69,105.964 14.257,105.964 14.823,105.964 L283.698,105.964 C284.263,105.964 284.83,105.964 285.395,105.96 C285.87205,105.957616 286.349069,105.950949 286.826,105.94 C287.863,105.912 288.911,105.85 289.939,105.667 C290.968174,105.490543 291.96519,105.161238 292.897,104.69 C294.769895,103.735625 296.292625,102.212895 297.247,100.34 C297.73,99.393 298.036,98.423 298.221,97.38 C298.407,96.354 298.467,95.306 298.495,94.27 C298.508,93.793 298.515,93.316 298.517,92.84 C298.521,92.273 298.521,91.708 298.521,91.141 L298.521,14.824 C298.521,14.257 298.521,13.691 298.517,13.125 C298.515064,12.6485989 298.50773,12.172235 298.495,11.696 C298.467,10.658 298.407,9.611 298.221,8.584 C298.046831,7.55401695 297.71848,6.55615176 297.247,5.624 C296.293413,3.75053315 294.770467,2.22758663 292.897,1.274 C291.964782,0.80438048 290.967861,0.476117852 289.939,0.3 C288.911,0.115 287.863,0.054 286.826,0.026 C286.349085,0.0138870152 285.872062,0.00655331365 285.395,0.004 C284.83,0 284.263,0 283.698,0 Z" id="Outline" fill="rgba(0,0,0,.075)"></path><path d="M285.37,3.535 C285.822,3.538 286.275,3.543 286.73,3.555 C287.522,3.577 288.449,3.62 289.313,3.775 C290.063,3.91 290.693,4.115 291.297,4.423 C292.505746,5.03755904 293.487734,6.0205978 294.101,7.23 C294.407,7.83 294.611,8.456 294.746,9.213 C294.9,10.067 294.943,10.996 294.964,11.793 C294.977,12.243 294.983,12.693 294.984,13.153 C294.989,13.71 294.989,14.266 294.989,14.824 L294.989,91.142 C294.989,91.7 294.989,92.256 294.985,92.824 C294.983,93.274 294.977,93.724 294.965,94.174 C294.943,94.97 294.9,95.899 294.744,96.763 C294.630594,97.4502806 294.413097,98.1162614 294.099,98.738 C293.484409,99.9478082 292.501027,100.93084 291.291,101.545 C290.691,101.851 290.063,102.057 289.32,102.19 C288.438,102.347 287.473,102.39 286.746,102.41 C286.289,102.42 285.834,102.427 285.367,102.429 C284.812,102.433 284.254,102.433 283.698,102.433 L14.801,102.433 C14.251,102.433 13.701,102.433 13.141,102.429 C12.6909551,102.427046 12.240937,102.421046 11.791,102.411 C11.047,102.391 10.081,102.347 9.207,102.191 C8.51598039,102.075842 7.84638728,101.85669 7.221,101.541 C6.62111744,101.236271 6.07359362,100.837949 5.599,100.361 C5.12290857,99.8857571 4.72529217,99.3379376 4.421,98.738 C4.10640097,98.1127736 3.88826296,97.4435248 3.774,96.753 C3.619,95.89 3.576,94.965 3.554,94.175 C3.54269765,93.7234137 3.53603063,93.2717232 3.532,92.82 L3.532,91.493 L3.532,14.474 L3.532,13.149 C3.537,12.696 3.542,12.244 3.554,11.792 C3.576,11 3.619,10.075 3.776,9.205 C3.89017322,8.51586104 4.10797216,7.84796678 4.422,7.224 C4.726,6.626 5.122,6.08 5.602,5.602 C6.07772872,5.1254978 6.62583457,4.72724354 7.226,4.422 C7.8498075,4.10823092 8.5172811,3.89012212 9.206,3.775 C10.071,3.62 10.998,3.577 11.792,3.555 C12.244,3.543 12.697,3.538 13.146,3.535 L14.823,3.532 L283.698,3.532 L285.37,3.535 Z" id="Bg" fill="#FFFFFF"></path><path d="M45.186,35.64 C46.603,33.868 47.566,31.488 47.312,29.055 C45.237,29.159 42.705,30.425 41.239,32.198 C39.923,33.718 38.759,36.198 39.062,38.528 C41.392,38.73 43.718,37.363 45.186,35.641 M47.285,38.983 C43.903,38.781 41.027,40.902 39.412,40.902 C37.796,40.902 35.322,39.084 32.648,39.133 C29.166,39.184 25.935,41.153 24.168,44.283 C20.534,50.547 23.209,59.839 26.743,64.94 C28.46,67.464 30.528,70.243 33.253,70.143 C35.828,70.042 36.837,68.475 39.967,68.475 C43.095,68.475 44.004,70.143 46.73,70.092 C49.557,70.042 51.324,67.567 53.04,65.041 C55.009,62.164 55.815,59.386 55.865,59.233 C55.815,59.183 50.415,57.111 50.365,50.9 C50.314,45.699 54.605,43.225 54.806,43.072 C52.383,39.488 48.597,39.084 47.286,38.982 M76.734,31.944 C84.084,31.944 89.204,37.011 89.204,44.388 C89.204,51.792 83.979,56.885 76.55,56.885 L68.41,56.885 L68.41,69.828 L62.53,69.828 L62.53,31.944 L76.734,31.944 Z M68.41,51.949 L75.157,51.949 C80.277,51.949 83.191,49.193 83.191,44.415 C83.191,39.637 80.277,36.906 75.183,36.906 L68.41,36.906 L68.41,51.95 L68.41,51.949 Z M90.74,61.979 C90.74,57.148 94.442,54.181 101.006,53.813 L108.566,53.367 L108.566,51.241 C108.566,48.169 106.492,46.331 103.027,46.331 C99.745,46.331 97.697,47.906 97.199,50.374 L91.843,50.374 C92.158,45.386 96.411,41.71 103.237,41.71 C109.932,41.71 114.211,45.255 114.211,50.794 L114.211,69.828 L108.776,69.828 L108.776,65.286 L108.646,65.286 C107.044,68.358 103.552,70.301 99.929,70.301 C94.521,70.301 90.74,66.941 90.74,61.979 L90.74,61.979 Z M108.566,59.485 L108.566,57.305 L101.766,57.725 C98.38,57.962 96.463,59.458 96.463,61.821 C96.463,64.236 98.459,65.811 101.504,65.811 C105.468,65.811 108.566,63.081 108.566,59.485 L108.566,59.485 Z M119.342,79.989 L119.342,75.394 C119.761,75.499 120.706,75.499 121.179,75.499 C123.804,75.499 125.222,74.397 126.088,71.561 C126.088,71.509 126.588,69.881 126.588,69.855 L116.611,42.209 L122.754,42.209 L129.738,64.683 L129.842,64.683 L136.827,42.209 L142.812,42.209 L132.468,71.272 C130.106,77.967 127.375,80.12 121.652,80.12 C121.179,80.12 119.761,80.067 119.342,79.989 L119.342,79.989 Z" id="Pay" fill="#000000"></path><path d="M181.896484,70 L181.896484,64.7792969 L164.204102,64.7792969 L164.204102,31.9521484 L158.113281,31.9521484 L158.113281,70 L181.896484,70 Z M194.369219,70.5009766 C198.113359,70.5009766 201.224688,68.734375 202.859453,65.8076172 L203.149492,65.8076172 L203.149492,70 L209.003008,70 L209.003008,50.6201172 C209.003008,44.8193359 204.784258,41.2333984 197.770586,41.2333984 C191.020586,41.2333984 186.696367,44.6347656 186.142656,49.4072266 L186.116289,49.6445312 L191.706133,49.6445312 L191.7325,49.4863281 C192.312578,47.4033203 194.342852,46.0585938 197.533281,46.0585938 C201.171953,46.0585938 203.149492,47.8251953 203.149492,50.8574219 L203.149492,53.1513672 L195.555742,53.5996094 C188.805742,53.9951172 185.008867,56.9746094 185.008867,61.9580078 L185.008867,62.0107422 C185.008867,67.1259766 188.884844,70.5009766 194.369219,70.5009766 Z M196.003984,65.8339844 C192.971758,65.8339844 190.88875,64.3046875 190.88875,61.7998047 L190.88875,61.7470703 C190.88875,59.3212891 192.708086,57.8974609 196.346758,57.6601562 L203.149492,57.2382812 L203.149492,59.5322266 C203.149492,63.1181641 200.090898,65.8339844 196.003984,65.8339844 Z M225.06168,70.3691406 C226.221836,70.3691406 227.302891,70.2373047 228.120273,70.1054688 L228.120273,65.5175781 C227.513828,65.5703125 227.012852,65.6230469 226.248203,65.6230469 C223.637852,65.6230469 222.451328,64.5683594 222.451328,61.6416016 L222.451328,46.4013672 L228.120273,46.4013672 L228.120273,41.7871094 L222.451328,41.7871094 L222.451328,34.5888672 L216.439609,34.5888672 L216.439609,41.7871094 L212.220859,41.7871094 L212.220859,46.4013672 L216.439609,46.4013672 L216.439609,62.5380859 C216.439609,68.0751953 219.102695,70.3691406 225.06168,70.3691406 Z M244.23168,70.5537109 C251.377187,70.5537109 255.464102,66.3876953 256.386953,62.3007812 L256.439687,62.0634766 L250.823477,62.0634766 L250.744375,62.2480469 C250.058828,64.0146484 247.870352,65.78125 244.363516,65.78125 C239.801992,65.78125 236.901602,62.6962891 236.796133,57.3964844 L256.729727,57.3964844 L256.729727,55.3925781 C256.729727,46.9023438 251.851797,41.2333984 243.941641,41.2333984 C236.005117,41.2333984 230.889883,47.1132812 230.889883,55.9462891 L230.889883,55.9726562 C230.889883,64.9111328 235.926016,70.5537109 244.23168,70.5537109 Z M250.928945,53.2568359 L236.875234,53.2568359 C237.376211,48.5371094 240.223867,46.0058594 243.968008,46.0058594 C247.738516,46.0058594 250.480703,48.3789062 250.928945,53.2568359 Z M267.093086,70 L267.093086,53.2568359 C267.093086,49.1171875 269.703438,46.5859375 273.71125,46.5859375 C274.818672,46.5859375 275.820625,46.7177734 276.585273,46.9023438 L276.585273,41.4970703 C276.05793,41.3916016 275.187813,41.2597656 274.317695,41.2597656 C270.810859,41.2597656 268.332344,43.1582031 267.356758,46.3222656 L267.093086,46.3222656 L267.093086,41.7871094 L261.186836,41.7871094 L261.186836,70 L267.093086,70 Z" id="Later" fill="#000000"></path></svg>',apple_pay_mark_black:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path fill="rgba(255,255,255,.075)" d="M150.698 0H14.823c-.566 0-1.133 0-1.698.003-.477.004-.953.009-1.43.022-1.039.028-2.087.09-3.113.274a10.51 10.51 0 0 0-2.958.975 9.932 9.932 0 0 0-4.35 4.35 10.463 10.463 0 0 0-.975 2.96C.113 9.611.052 10.658.024 11.696c-.013.477-.019.953-.022 1.43C0 13.69 0 14.256 0 14.823v76.318c0 .567 0 1.132.002 1.699.003.476.009.953.022 1.43.028 1.036.09 2.084.275 3.11a10.46 10.46 0 0 0 .974 2.96 9.897 9.897 0 0 0 1.83 2.52 9.874 9.874 0 0 0 2.52 1.83c.947.483 1.917.79 2.96.977 1.025.183 2.073.245 3.112.273.477.011.953.018 1.43.02.565.004 1.132.004 1.698.004h135.875c.565 0 1.132 0 1.697-.004a79.71 79.71 0 0 0 1.431-.02c1.037-.028 2.085-.09 3.113-.273a10.478 10.478 0 0 0 2.958-.977 9.955 9.955 0 0 0 4.35-4.35c.483-.947.789-1.917.974-2.96.186-1.026.246-2.074.274-3.11.013-.477.02-.954.022-1.43.004-.567.004-1.132.004-1.699V14.824c0-.567 0-1.133-.004-1.699a63.067 63.067 0 0 0-.022-1.429c-.028-1.038-.088-2.085-.274-3.112a10.4 10.4 0 0 0-.974-2.96 9.941 9.941 0 0 0-4.35-4.35A10.52 10.52 0 0 0 156.939.3c-1.028-.185-2.076-.246-3.113-.274a71.413 71.413 0 0 0-1.431-.022C151.83 0 151.263 0 150.698 0z"/><path fill="black" d="m150.698 3.532 1.672.003c.452.003.905.008 1.36.02.792.022 1.719.065 2.583.22.75.135 1.38.34 1.984.648a6.392 6.392 0 0 1 2.804 2.807c.306.6.51 1.226.645 1.983.154.854.197 1.783.218 2.58.013.45.019.9.02 1.36.005.557.005 1.113.005 1.671v76.318c0 .558 0 1.114-.004 1.682-.002.45-.008.9-.02 1.35-.022.796-.065 1.725-.221 2.589a6.855 6.855 0 0 1-.645 1.975 6.397 6.397 0 0 1-2.808 2.807c-.6.306-1.228.512-1.971.645-.882.157-1.847.2-2.574.22-.457.01-.912.017-1.379.019-.555.004-1.113.004-1.669.004H14.801c-.55 0-1.1 0-1.66-.004a75.086 75.086 0 0 1-1.35-.018c-.744-.02-1.71-.064-2.584-.22a6.938 6.938 0 0 1-1.986-.65 6.337 6.337 0 0 1-1.622-1.18 6.355 6.355 0 0 1-1.178-1.623 6.935 6.935 0 0 1-.647-1.985c-.155-.863-.198-1.788-.22-2.578a66.017 66.017 0 0 1-.02-1.355l-.002-1.327V14.474l.002-1.325c.003-.453.008-.905.02-1.357.022-.792.065-1.717.222-2.587a6.924 6.924 0 0 1 .646-1.981c.304-.598.7-1.144 1.18-1.622a6.385 6.385 0 0 1 1.624-1.18 6.96 6.96 0 0 1 1.98-.647c.865-.155 1.792-.198 2.586-.22.452-.012.905-.017 1.354-.02l1.677-.003h135.875"/><path fill="white" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>',apple_pay_mark_none:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path fill="black" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>',apple_pay_mark_white_outline:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path d="M150.698 0H14.823c-.566 0-1.133 0-1.698.003-.477.004-.953.009-1.43.022-1.039.028-2.087.09-3.113.274a10.51 10.51 0 0 0-2.958.975 9.932 9.932 0 0 0-4.35 4.35 10.463 10.463 0 0 0-.975 2.96C.113 9.611.052 10.658.024 11.696c-.013.477-.019.953-.022 1.43C0 13.69 0 14.256 0 14.823v76.318c0 .567 0 1.132.002 1.699.003.476.009.953.022 1.43.028 1.036.09 2.084.275 3.11a10.46 10.46 0 0 0 .974 2.96 9.897 9.897 0 0 0 1.83 2.52 9.874 9.874 0 0 0 2.52 1.83c.947.483 1.917.79 2.96.977 1.025.183 2.073.245 3.112.273.477.011.953.018 1.43.02.565.004 1.132.004 1.698.004h135.875c.565 0 1.132 0 1.697-.004a79.71 79.71 0 0 0 1.431-.02c1.037-.028 2.085-.09 3.113-.273a10.478 10.478 0 0 0 2.958-.977 9.955 9.955 0 0 0 4.35-4.35c.483-.947.789-1.917.974-2.96.186-1.026.246-2.074.274-3.11.013-.477.02-.954.022-1.43.004-.567.004-1.132.004-1.699V14.824c0-.567 0-1.133-.004-1.699a63.067 63.067 0 0 0-.022-1.429c-.028-1.038-.088-2.085-.274-3.112a10.4 10.4 0 0 0-.974-2.96 9.941 9.941 0 0 0-4.35-4.35A10.52 10.52 0 0 0 156.939.3c-1.028-.185-2.076-.246-3.113-.274a71.413 71.413 0 0 0-1.431-.022C151.83 0 151.263 0 150.698 0z"/><path fill="white" d="m150.698 3.532 1.672.003c.452.003.905.008 1.36.02.792.022 1.719.065 2.583.22.75.135 1.38.34 1.984.648a6.392 6.392 0 0 1 2.804 2.807c.306.6.51 1.226.645 1.983.154.854.197 1.783.218 2.58.013.45.019.9.02 1.36.005.557.005 1.113.005 1.671v76.318c0 .558 0 1.114-.004 1.682-.002.45-.008.9-.02 1.35-.022.796-.065 1.725-.221 2.589a6.855 6.855 0 0 1-.645 1.975 6.397 6.397 0 0 1-2.808 2.807c-.6.306-1.228.512-1.971.645-.882.157-1.847.2-2.574.22-.457.01-.912.017-1.379.019-.555.004-1.113.004-1.669.004H14.801c-.55 0-1.1 0-1.66-.004a75.086 75.086 0 0 1-1.35-.018c-.744-.02-1.71-.064-2.584-.22a6.938 6.938 0 0 1-1.986-.65 6.337 6.337 0 0 1-1.622-1.18 6.355 6.355 0 0 1-1.178-1.623 6.935 6.935 0 0 1-.647-1.985c-.155-.863-.198-1.788-.22-2.578a66.017 66.017 0 0 1-.02-1.355l-.002-1.327V14.474l.002-1.325c.003-.453.008-.905.02-1.357.022-.792.065-1.717.222-2.587a6.924 6.924 0 0 1 .646-1.981c.304-.598.7-1.144 1.18-1.622a6.385 6.385 0 0 1 1.624-1.18 6.96 6.96 0 0 1 1.98-.647c.865-.155 1.792-.198 2.586-.22.452-.012.905-.017 1.354-.02l1.677-.003h135.875"/><path fill="black" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>',apple_pay_mark_white:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 165.521 105.965"><path fill="rgba(0,0,0,.075)" d="M150.698 0H14.823c-.566 0-1.133 0-1.698.003-.477.004-.953.009-1.43.022-1.039.028-2.087.09-3.113.274a10.51 10.51 0 0 0-2.958.975 9.932 9.932 0 0 0-4.35 4.35 10.463 10.463 0 0 0-.975 2.96C.113 9.611.052 10.658.024 11.696c-.013.477-.019.953-.022 1.43C0 13.69 0 14.256 0 14.823v76.318c0 .567 0 1.132.002 1.699.003.476.009.953.022 1.43.028 1.036.09 2.084.275 3.11a10.46 10.46 0 0 0 .974 2.96 9.897 9.897 0 0 0 1.83 2.52 9.874 9.874 0 0 0 2.52 1.83c.947.483 1.917.79 2.96.977 1.025.183 2.073.245 3.112.273.477.011.953.018 1.43.02.565.004 1.132.004 1.698.004h135.875c.565 0 1.132 0 1.697-.004a79.71 79.71 0 0 0 1.431-.02c1.037-.028 2.085-.09 3.113-.273a10.478 10.478 0 0 0 2.958-.977 9.955 9.955 0 0 0 4.35-4.35c.483-.947.789-1.917.974-2.96.186-1.026.246-2.074.274-3.11.013-.477.02-.954.022-1.43.004-.567.004-1.132.004-1.699V14.824c0-.567 0-1.133-.004-1.699a63.067 63.067 0 0 0-.022-1.429c-.028-1.038-.088-2.085-.274-3.112a10.4 10.4 0 0 0-.974-2.96 9.941 9.941 0 0 0-4.35-4.35A10.52 10.52 0 0 0 156.939.3c-1.028-.185-2.076-.246-3.113-.274a71.413 71.413 0 0 0-1.431-.022C151.83 0 151.263 0 150.698 0z"/><path fill="white" d="m150.698 3.532 1.672.003c.452.003.905.008 1.36.02.792.022 1.719.065 2.583.22.75.135 1.38.34 1.984.648a6.392 6.392 0 0 1 2.804 2.807c.306.6.51 1.226.645 1.983.154.854.197 1.783.218 2.58.013.45.019.9.02 1.36.005.557.005 1.113.005 1.671v76.318c0 .558 0 1.114-.004 1.682-.002.45-.008.9-.02 1.35-.022.796-.065 1.725-.221 2.589a6.855 6.855 0 0 1-.645 1.975 6.397 6.397 0 0 1-2.808 2.807c-.6.306-1.228.512-1.971.645-.882.157-1.847.2-2.574.22-.457.01-.912.017-1.379.019-.555.004-1.113.004-1.669.004H14.801c-.55 0-1.1 0-1.66-.004a75.086 75.086 0 0 1-1.35-.018c-.744-.02-1.71-.064-2.584-.22a6.938 6.938 0 0 1-1.986-.65 6.337 6.337 0 0 1-1.622-1.18 6.355 6.355 0 0 1-1.178-1.623 6.935 6.935 0 0 1-.647-1.985c-.155-.863-.198-1.788-.22-2.578a66.017 66.017 0 0 1-.02-1.355l-.002-1.327V14.474l.002-1.325c.003-.453.008-.905.02-1.357.022-.792.065-1.717.222-2.587a6.924 6.924 0 0 1 .646-1.981c.304-.598.7-1.144 1.18-1.622a6.385 6.385 0 0 1 1.624-1.18 6.96 6.96 0 0 1 1.98-.647c.865-.155 1.792-.198 2.586-.22.452-.012.905-.017 1.354-.02l1.677-.003h135.875"/><path fill="black" d="M45.186 35.64c1.417-1.772 2.38-4.152 2.126-6.585-2.075.104-4.607 1.37-6.073 3.143-1.316 1.52-2.48 4-2.177 6.33 2.33.202 4.656-1.165 6.124-2.887M47.285 38.983c-3.382-.202-6.258 1.919-7.873 1.919-1.616 0-4.09-1.818-6.764-1.769-3.482.051-6.713 2.02-8.48 5.15-3.634 6.264-.959 15.556 2.575 20.657 1.717 2.524 3.785 5.303 6.51 5.203 2.575-.101 3.584-1.668 6.714-1.668 3.128 0 4.037 1.668 6.763 1.617 2.827-.05 4.594-2.525 6.31-5.051 1.969-2.877 2.775-5.655 2.825-5.808-.05-.05-5.45-2.122-5.5-8.333-.051-5.201 4.24-7.675 4.441-7.828-2.423-3.584-6.209-3.988-7.52-4.09M76.734 31.944c7.35 0 12.47 5.067 12.47 12.444 0 7.404-5.225 12.497-12.654 12.497h-8.14v12.943h-5.88V31.944h14.204zM68.41 51.949h6.747c5.12 0 8.034-2.756 8.034-7.534 0-4.778-2.914-7.509-8.008-7.509h-6.773V51.95zM90.74 61.979c0-4.831 3.702-7.798 10.266-8.166l7.56-.446v-2.126c0-3.072-2.074-4.91-5.539-4.91-3.282 0-5.33 1.575-5.828 4.043h-5.356c.315-4.988 4.568-8.664 11.394-8.664 6.695 0 10.974 3.545 10.974 9.084v19.034h-5.435v-4.542h-.13c-1.602 3.072-5.094 5.015-8.717 5.015-5.408 0-9.189-3.36-9.189-8.322zm17.826-2.494v-2.18l-6.8.42c-3.386.237-5.303 1.733-5.303 4.096 0 2.415 1.996 3.99 5.041 3.99 3.964 0 7.062-2.73 7.062-6.326zM119.342 79.989v-4.595c.419.105 1.364.105 1.837.105 2.625 0 4.043-1.102 4.909-3.938 0-.052.5-1.68.5-1.706l-9.977-27.646h6.143l6.984 22.474h.104l6.985-22.474h5.985l-10.344 29.063c-2.362 6.695-5.093 8.848-10.816 8.848-.473 0-1.891-.053-2.31-.131z"/></svg>'},Yr=/\{\{\s*([^\s]+)\s*\}\}/gi;typeof WEBVIEW>"u"&&(M.WEBVIEW=!1);class At extends HTMLElement{constructor(){super(),this.locale=An.locale,this.countryCode=An.countryCode,this.currencyCode=An.currencyCode,this.type=An.type,this.modalType=An.modalType,this.debug=!1,$n.set(this,void 0),fn.set(this,void 0),Rt.set(this,void 0),qt(this,Rt,new Promise(w=>setTimeout(w)).then(()=>At.getData({countryCode:this.countryCode,amount:this.amount,currencyCode:this.currencyCode,locale:this.locale})).then(w=>{var x=new Event("load");return this.dispatchEvent(x),this.data=w,new Promise(L=>setTimeout(L))},w=>{console.warn("Apple Pay Merchandising: unable to fetch merchandising data",w),this.disable()}).then(()=>{qt(this,$n,this.ownerDocument.createElement("div")),Je(this,$n).className="theme-".concat(this.theme," content"),qt(this,fn,this.attachShadow({mode:"closed"})),Je(this,fn).innerHTML="<style>".concat(":host{font-family:var(--apple-pay-font-family, '-apple-system', 'SF Pro Display', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif');font-size:var(--apple-pay-font-size, 13px);line-height:1.33;max-width:var(--apple-pay-width, 340px);display:inline-block}:host([disabled]),:host([hidden]){display:none!important;margin:0}:host>*{display:none}*{-webkit-box-sizing:border-box;box-sizing:border-box}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start;margin:0 auto;color:inherit;gap:.75ex}.theme-dark.content .paymark.align-left.type-pay_later.style-none{-webkit-filter:invert(1);filter:invert(1)}.theme-dark.content .theme-dark.text .info-circle{-webkit-filter:invert(1);filter:invert(1)}.paymark{-ms-flex-order:2;order:2;margin:.054em 0 0}.paymark.align-left{-ms-flex-order:0;order:0;margin-right:.75ex}.paymark.align-right{margin-left:.75ex}.paymark.type-none{display:none}.paymark.style-none{margin:0}.content p{-ms-flex-order:1;order:1;margin:0}.content .text{-ms-flex-positive:1;flex-grow:1;margin:0 auto;-ms-flex-item-align:center;align-self:center}a{color:var(--apple-pay-link-color, #0066CC);text-decoration:none}@media (hover: hover){a:hover{text-decoration:underline}}.theme-dark{color:var(--apple-pay-text-color-dark, #F5F5F7)}.theme-light{color:var(--apple-pay-text-color, #1D1D1F)}.theme-dark a{color:var(--apple-pay-link-color-dark, #2997FF)}.theme-light a{color:var(--apple-pay-link-color, #0066CC)}.paymark svg,.paymark img{display:block;height:2rem}","</style>"),Je(this,fn).appendChild(Je(this,$n)),Je(this,fn).addEventListener("click",w=>{var x,L,ne=w.target.closest('a[href*="'.concat(this.data.modalUrl,'"]'));ne&&w.currentTarget.contains(ne)&&(w.preventDefault(),WEBVIEW?null===(L=null===(x=webkit.messageHandlers)||void 0===x?void 0:x.applePayDetails)||void 0===L||L.postMessage("show-modal"):(tn.setAttribute("locale",this.locale),tn.setAttribute("theme",this.theme),tn.setAttribute("url",this.data.modalUrl),tn.show()))})}))}connectedCallback(){var w=this;return Oe(function*(){yield Je(w,Rt),w.ready=!0,w.classList.add("ready"),w.update()})()}disconnectedCallback(){var w=this;return Oe(function*(){yield Je(w,Rt),w.disable()})()}disable(){var w,x;!(null===(w=Je(this,fn))||void 0===w)&&w.contains(Je(this,$n))&&(null===(x=Je(this,fn))||void 0===x||x.removeChild(Je(this,$n))),this.setAttribute("disabled",""),this.setAttribute("hidden",""),this.disabled=!0}enable(){var w;null===(w=Je(this,fn))||void 0===w||w.appendChild(Je(this,$n)),this.disabled=!1,this.removeAttribute("disabled"),this.removeAttribute("hidden")}update(){var w=this;return Oe(function*(){if(w.ready)if(w.debug||(yield At.isEligible(w))){w.enable();var x=w.data=yield At.getData(w),L=yield At.fetchData(w),ne=L.presets[w.type||An.type]||L.presets.custom;"custom"===w.type&&(x.promoText=w.innerHTML);var re=new Intl.NumberFormat(w.locale,{style:"currency",currency:w.currencyCode,minimumFractionDigits:Number.isInteger(x.paymentsAmount)?0:2,currencyDisplay:"narrowSymbol"}),ue=Object.assign(Object.assign(Object.assign({},x),ne),{paymentsAmount:re.format(x.paymentsAmount),hideLogo:x.logo?"":"hidden",hideText:x.promoText?"":"hidden",theme:w.theme||An.theme,modalUrl:x.modalUrl}),pt='<div class="paymark align-{{ logoAlign }} type-{{ logoType }} style-{{ logoStyle }}" {{ hideLogo }}>{{ logo }}</div><p class="theme-{{ theme }} text" {{ hideText }}>'.concat(x.promoText,"</p>");Je(w,$n).innerHTML=pt.replace(Yr,(Xt,sr)=>ue[sr])}else w.disable()})()}static get observedAttributes(){return Kr}attributeChangedCallback(w,x,L){w=Se(w),null==L?delete this[w]:this[w]="true"===L||"false"!==L&&(""===L||L),x!==L&&this.update()}static fetchData({countryCode:w}){return Oe(function*(){var x,L=w.toLowerCase();try{x=jn[L]||(jn[L]=yield(yield fetch(tt("./merchandising-".concat(L,".json")))).json())}catch{throw Error("Apple Pay Merchandising: unable to fetch merchandising data")}return x})()}static getData({countryCode:w,locale:x,amount:L,modalType:ne="learn-more",theme:re="light",type:ue="plain"}){return Oe(function*(){var pt,Xt=yield At.fetchData({countryCode:w}),sr=(Xt.text[x]||Xt.text[x.slice(0,2)]||Xt.text[Object.keys(Xt.text)[0]])[ue]||"",Ci=null===(pt=Object.entries(Xt.method).find(([,ro])=>ro.minAmount<=L&&ro.maxAmount>=L))||void 0===pt?void 0:pt[1],Ao=Xt.presets[ue||An.type]||Xt.presets.custom,ms=Math.round(L/Ci.frequency*100)/100,gs=location.hostname||window.frames.top.document.location.hostname;if(x.split("-")[1].toLowerCase()!==w.toLowerCase())throw Error("Apple Pay Merchandising: unsupported locale");return Object.assign({logo:"none"===Ao.logoType?"":Zt["apple_".concat(Ao.logoType,"_mark_").concat(Ao.logoStyle)],promoText:sr,paymentsAmount:ms,lastPaymentAmount:L-ms*(Ci.frequency-1),modalUrl:tt("./".concat(ne,".html"))+"#data=".concat(btoa(JSON.stringify(Object.assign({amount:L,theme:re,locale:x,referrerUrl:gs},Ci))))},Ci)})()}static isEligible({amount:w,currencyCode:x,countryCode:L}){return Oe(function*(){if(!function(re={}){try{return new PaymentRequest([{supportedMethods:"https://apple.com/apple-pay",data:{version:15,features:["applePayLater"],merchantIdentifier:"",countryCode:re.countryCode,supportedNetworks:["masterCard"],merchantCapabilities:["supports3DS"]}}],{total:{label:"applePayLater",amount:{currency:re.currencyCode,value:"0.00"}}}),!0}catch{return!1}}({currencyCode:x,countryCode:L}))return!1;var ne=yield At.fetchData({countryCode:L});return x===ne.currencyCode&&Object.entries(ne.method).some(([,re])=>re.minAmount<=w&&re.maxAmount>=w)})()}}$n=new WeakMap,fn=new WeakMap,Rt=new WeakMap;var An={merchantToken:null,amount:null,type:"plain",locale:"en-US",modalType:"learn-more",countryCode:"US",currencyCode:"USD",debug:!1,theme:"auto"},Kr=Object.keys(An).map(We);customElements.define("apple-pay-merchandising",At),window.ApplePayMerchandising=At;var at=["ar-AB","ca-ES","cs-CZ","da-DK","de-DE","el-GR","en-US","en-AU","en-GB","es-ES","es-MX","fi-FI","fr-CA","fr-FR","he-IL","hi-IN","hr-HR","hu-HU","id-ID","it-IT","ja-JP","ko-KR","ms-MY","nb-NO","nl-NL","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sv-SE","th-TH","tr-TR","uk-UA","vi-VN","zh-CN","zh-HK","zh-TW"];function xn(T){return T?.includes("-")&&!!at.find(w=>w===T)}function Lt(T){if(T){var w=T.trim().replace("_","-").split("-"),x=w[0].toLowerCase();return 1===w.length?x:x+"-"+w[1].toUpperCase()}}function ft(T,w=!0){var re,ue,x=T?.includes("-");if(x){var L=at.find(re=>re===T);if(L)return L}if(T&&(!x||w)){var ne=(re=T,ue=re?.split("-")[0],at.find(pt=>new RegExp("^".concat(ue),"g").test(pt)));if(ne)return ne}}function gi(T){var w=function Oi(T){var w=((void 0===navigator.languages?[navigator.language]:navigator.languages)||[]).map(Lt),x=T?.closest("[lang]"),L=x?.lang?Lt(x.lang):void 0;return L&&w.unshift(L),w}(T).reduce((x,L)=>{if(x&&x.includes("-"))return x;if(!x){if(xn(L))return L;var ne=(re=L,ue=re?.split("-")[0],ue&&at.find(pt=>pt.startsWith(ue))?ue:void 0);if(ne)return ne}var re,ue;return x&&!x.includes("-")&&L.startsWith(x)&&xn(L)?L:x},void 0);return(w?.includes("-")?w:ft(w))||"en-US"}function cs(){try{return document.fonts.check("15px -apple-system")}catch{return!1}}function $t(T){return!!document.getElementById(Ft(T))}function Rr(T){var w=document.createElement("style");w.id=Ft(T),w.innerHTML="@font-face{"+"font-family:apple-pay-btn-".concat(T,";")+"src:url(".concat(Us("./assets/1.0.0/fonts/".concat(T,".woff2")),') format("woff2"),')+"url(".concat(Us("./assets/1.0.0/fonts/".concat(T,".woff")),') format("woff");')+"font-display:block;}",document.head.appendChild(w)}function Ft(T){return"apple-pay-btn-font-".concat(T)}function Us(T){return _e+T.replace(/^\.\//,"/")}var Qi=["add-money","book","buy","check-out","continue","contribute","donate","order","pay","plain","reload","rent","set-up","subscribe","support","tip","top-up"];function Xr(T){return Qi.includes(T)}function ls(T){switch(T){case"add-money":return"a";case"book":return"bo";case"buy":return"bu";case"check-out":return"ch";case"continue":return"ci";case"contribute":return"co";case"donate":return"d";case"order":return"o";case"pay":return"pa";case"plain":return"p";case"reload":return"rl";case"rent":return"rn";case"set-up":return"se";case"subscribe":return"sb";case"support":return"sp";case"tip":return"ti";case"top-up":return"to"}}function Ca(T,w){var x=[...T.l[ls(w)]],L=x[0].t.startsWith("%@")?0:1;return(x=x.map(ne=>Object.assign(Object.assign({},ne),{t:ne.t.replace(/%@/g,"")}))).splice(L,0,{t:"%@"}),T.rtl&&x.reverse(),x}function zs(T,w){if("plain"===w)return"Apple Pay";var x=Ca(T,w);return T.rtl&&x.reverse(),x.reduce((L,ne)=>L+("%@"===ne.t?"Apple Pay":ne.t),"")}function Lr(T,w,x,L,ne){var re=w.t.replace(/\s/g," ");return'<text x="'.concat(T,'" y="').concat(function(ue){switch(ue){case"ja-JP":return 20;case"ko-KR":return 19.6}return 19.5}(L),'" ')+"".concat(x?'direction="rtl" unicode-bidi="bidi-override" text-anchor="end"':""," ")+"".concat(ne?'style="letter-spacing:'.concat(ne,';"'):""," ")+"".concat(function(ue){return"hi-IN"!==ue&&"th-TH"!==ue}(L)?'height="'.concat(w.h,'" width="').concat(w.w,'" ').concat(x?"":'textLength="'.concat(w.w,'"')):"",">")+"".concat(re,"</text>")}function eo(T,w,x,L,ne){var re='<?xml version="1.0" encoding="UTF-8"?>\n<svg class="logo" viewBox="0 0 105 43" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Apple Logo</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="#FFF">\n <path d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"></path>\n <path d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"></path>\n <path d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"></path>\n <path d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"></path>\n <path d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"></path>\n </g>\n </g>\n</svg>'.replace("<svg","<svg ".concat(ne?'id="'.concat(ne,'"'):"",' x="').concat(T,'" y="').concat(w,'" height="').concat(x,'" width="').concat(35,'"'));return"black"!==L&&(re=re.replace('fill="#FFF"','fill="#000"')),re}function Ws(T){var w=Ca(T.metadata,T.buttonType),x=T.metadata.ls,{width:L,domStr:ne}=w.reduce((re,ue,pt)=>{var Xt;if("%@"===ue.t){pt>0&&new RegExp(/\s$/).test(re.prev)&&(re.width=re.width+1);var sr=0===pt||pt===w.length-1;return{domStr:re.domStr+eo(re.width+.2,7.92,15,T.buttonStyle),width:re.width+35+(sr?.2:.4),prev:ue.t}}return"%@"===re.prev&&null!==(Xt=ue.t)&&void 0!==Xt&&Xt.startsWith(" ")?re.width=re.width+1:"%@"===re.prev&&(re.width=re.width+.2),{domStr:re.domStr+Lr(re.width,ue,!!T.metadata.rtl,T.locale,x),width:re.width+ue.w,prev:ue.t}},{width:12.5,domStr:"",prev:""});return{width:L+12.5,domStr:ne}}function ir(T,w=!1){return'<svg id="svg-logo" viewBox="0 0 '.concat(35," ").concat(15,'" ').concat(w?'class="hidden"':"",">\n ").concat(eo(0,3.85,7.3,T,"svg-logo"),"\n </svg>")}function _r(T){if("plain"===T.buttonType)return ir(T.buttonStyle,!1);var{width:w,domStr:x}=Ws(T),L=cs();return'<svg id="svg-text" viewBox="0 0 '.concat(w,' 28.571" aria-hidden="true">\n <defs>\n <style>\n text {\n fill: ').concat("black"===T.buttonStyle?"#FFF":"#000",";\n font-family: ").concat(L?"-apple-system":"apple-pay-btn-".concat(T.locale),";\n font-size: ").concat(T.metadata.s,";\n font-weight: ").concat(T.metadata.w||500,";\n }\n </style>\n </defs>\n <g>\n ").concat(x,"\n </g>\n </svg>\n ").concat(ir(T.buttonStyle,!0))}var Jr,T,ou={"en-US":{l:{a:[{w:110.86,h:18,t:"Add Money with %@"}],bo:[{w:68.8,h:18,t:"Book with %@"}],bu:[{w:60.39,h:18,t:"Buy with %@"}],ch:[{w:102.89,h:18,t:"Check out with %@"}],ci:[{w:95.58,h:18,t:"Continue with %@"}],co:[{w:105.94,h:18,t:"Contribute with %@"}],d:[{w:83,h:18,t:"Donate with %@"}],o:[{w:72.86,h:18,t:"Order with %@"}],pa:[{w:59,h:18,t:"Pay with %@"}],rl:[{w:80.89,h:18,t:"Reload with %@"}],rn:[{w:65.67,h:18,t:"Rent with %@"}],se:[{w:45.88,h:18,t:"Set up %@"}],sb:[{w:102.14,h:18,t:"Subscribe with %@"}],sp:[{w:88.67,h:18,t:"Support with %@"}],ti:[{w:55.58,h:18,t:"Tip with %@"}],to:[{w:81.66,h:18,t:"Top Up with %@"}]},s:"15px",ls:"0.22px"},"fr-FR":{l:{a:[{w:159.45,h:18,t:"Ajouter de l\u2019argent avec %@"}],bo:[{w:96.92,h:18,t:"R\xe9server avec %@"}],bu:[{w:90.47,h:18,t:"Acheter avec %@"}],ch:[{w:75.22,h:18,t:"Payer avec %@"}],ci:[{w:108.56,h:18,t:"Poursuivre avec %@"}],co:[{w:109.41,h:18,t:"Contribuer avec %@"}],d:[{w:118.92,h:18,t:"Faire un don avec %@"}],o:[{w:120.53,h:18,t:"Commander avec %@"}],pa:[{w:75.22,h:18,t:"Payer avec %@"}],rl:[{w:106.7,h:18,t:"Recharger avec %@"}],rn:[{w:75.95,h:18,t:"Louer avec %@"}],se:[{w:74.19,h:18,t:"Configurer %@"}],sb:[{w:105.61,h:18,t:"S\u2019abonner avec %@"}],sp:[{w:93.98,h:18,t:"Soutenir avec %@"}],ti:[{w:173.25,h:18,t:"Laisser un pourboire avec %@"}],to:[{w:106.7,h:18,t:"Recharger avec %@"}]},s:"15px",ls:"0.22px"},"el-GR":{l:{a:[{w:190.19,h:18,t:"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03c7\u03c1\u03b7\u03bc\u03ac\u03c4\u03c9\u03bd \u03bc\u03ad\u03c3\u03c9 %@"}],bo:[{w:106,h:18,t:"\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],bu:[{w:87.64,h:18,t:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03ad\u03c3\u03c9 %@"}],ch:[{w:109.66,h:18,t:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03ad\u03c3\u03c9 %@"}],ci:[{w:95.81,h:18,t:"\u03a3\u03c5\u03bd\u03ad\u03c7\u03b5\u03b9\u03b1 \u03bc\u03b5 \xab"},{w:9.42,h:18,t:"\xbb"}],co:[{w:127.23,h:18,t:"\u03a3\u03c5\u03bd\u03b5\u03b9\u03c3\u03c6\u03bf\u03c1\u03ac \u03bc\u03ad\u03c3\u03c9 %@"}],d:[{w:90.83,h:18,t:"\u0394\u03c9\u03c1\u03b5\u03ac \u03bc\u03ad\u03c3\u03c9 %@"}],o:[{w:127.36,h:18,t:"\u03a0\u03b1\u03c1\u03b1\u03b3\u03b3\u03b5\u03bb\u03af\u03b1 \u03bc\u03ad\u03c3\u03c9 %@"}],pa:[{w:89.17,h:18,t:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03b5 %@"}],rl:[{w:153.41,h:18,t:"\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],rn:[{w:113.61,h:18,t:"\u0395\u03bd\u03bf\u03b9\u03ba\u03af\u03b1\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],se:[{w:92.92,h:18,t:"\u0394\u03b9\u03b1\u03bc\u03cc\u03c1\u03c6\u03c9\u03c3\u03b7 %@"}],sb:[{w:112.38,h:18,t:"\u03a3\u03c5\u03bd\u03b4\u03c1\u03bf\u03bc\u03ae \u03bc\u03ad\u03c3\u03c9 %@"}],sp:[{w:126.31,h:18,t:"\u03a5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}],ti:[{w:132.8,h:18,t:"\u03a6\u03b9\u03bb\u03bf\u03b4\u03ce\u03c1\u03b7\u03bc\u03b1 \u03bc\u03ad\u03c3\u03c9 %@"}],to:[{w:116.41,h:18,t:"\u0391\u03bd\u03b1\u03bd\u03ad\u03c9\u03c3\u03b7 \u03bc\u03ad\u03c3\u03c9 %@"}]},s:"15px",ls:"0.22px"},"zh-HK":{l:{a:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u589e\u503c"}],bo:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u4f4d"}],bu:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8cfc\u8cb7"}],ch:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7d50\u5e33"}],ci:[{w:32.61,h:18,t:"\u4f7f\u7528 "},{w:32.61,h:18,t:" \u7e7c\u7e8c"}],co:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u8d08"}],d:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u6b3e"}],o:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u8cfc"}],pa:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u4ed8\u6b3e"}],rl:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u589e\u503c"}],rn:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u79df\u501f"}],se:[{w:32.61,h:18,t:"\u8a2d\u5b9a %@"}],sb:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u95b2"}],sp:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u6301"}],ti:[{w:17.81,h:18,t:"\u7528 "},{w:62.2,h:18,t:" \u652f\u4ed8\u8cbc\u58eb"}],to:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u589e\u503c"}]},s:"14.8px"},"zh-CN":{l:{a:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}],bo:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u9884\u8ba2"}],bu:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8d2d\u4e70"}],ch:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7ed3\u8d26"}],ci:[{w:32.61,h:18,t:"\u901a\u8fc7 "},{w:32.61,h:18,t:" \u7ee7\u7eed"}],co:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u8d60"}],d:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u6b3e"}],o:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8ba2\u8d2d"}],pa:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u4ed8"}],rl:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}],rn:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u79df\u501f"}],se:[{w:32.61,h:18,t:"\u8bbe\u7f6e %@"}],sb:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8ba2\u9605"}],sp:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u6301"}],ti:[{w:17.81,h:18,t:"\u7528 "},{w:47.41,h:18,t:" \u4ed8\u5c0f\u8d39"}],to:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}]},s:"14.8px"},"pt-BR":{l:{a:[{w:152.69,h:18,t:"Adicione Dinheiro com %@"}],bo:[{w:94.23,h:18,t:"Reservar com %@"}],bu:[{w:93.73,h:18,t:"Comprar com %@"}],ch:[{w:73.58,h:18,t:"Pagar com %@"}],ci:[{w:101.13,h:18,t:"Continuar com %@"}],co:[{w:101.52,h:18,t:"Contribua com %@"}],d:[{w:67.33,h:18,t:"Doar com %@"}],o:[{w:119.66,h:18,t:"Encomendar com %@"}],pa:[{w:73.58,h:18,t:"Pagar com %@"}],rl:[{w:108.69,h:18,t:"Recarregar com %@"}],rn:[{w:78.98,h:18,t:"Alugar com %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:85.17,h:18,t:"Assinar com %@"}],sp:[{w:78.98,h:18,t:"Apoiar com %@"}],ti:[{w:108.94,h:18,t:"Dar gorjeta com %@"}],to:[{w:108.69,h:18,t:"Recarregar com %@"}]},s:"15px",ls:"0.22px"},"en-AU":{l:{a:[{w:110.86,h:18,t:"Add Money with %@"}],bo:[{w:68.8,h:18,t:"Book with %@"}],bu:[{w:60.39,h:18,t:"Buy with %@"}],ch:[{w:102.89,h:18,t:"Check out with %@"}],ci:[{w:95.58,h:18,t:"Continue with %@"}],co:[{w:105.94,h:18,t:"Contribute with %@"}],d:[{w:83,h:18,t:"Donate with %@"}],o:[{w:72.86,h:18,t:"Order with %@"}],pa:[{w:59,h:18,t:"Pay with %@"}],rl:[{w:80.89,h:18,t:"Reload with %@"}],rn:[{w:65.67,h:18,t:"Rent with %@"}],se:[{w:45.88,h:18,t:"Set up %@"}],sb:[{w:102.14,h:18,t:"Subscribe with %@"}],sp:[{w:88.67,h:18,t:"Support with %@"}],ti:[{w:55.58,h:18,t:"Tip with %@"}],to:[{w:81.66,h:18,t:"Top Up with %@"}]},s:"15px",ls:"0.22px"},"he-IL":{l:{a:[{w:148.58,h:17.22,t:"\u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05e1\u05e3 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],bo:[{w:111.2,h:17.22,t:"\u05d4\u05d6\u05de\u05df/\u05d9 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],bu:[{w:112.61,h:17,t:"\u05e8\u05db\u05d9\u05e9\u05d4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],ch:[{w:68.77,h:17.22,t:"\u05dc\u05e7\u05d5\u05e4\u05d4 \u05e2\u05dd %@"}],ci:[{w:77.39,h:17.22,t:"\u05d4\u05de\u05e9\u05da/\u05d9 \u05e2\u05dd %@"}],co:[{w:69.34,h:17,t:"\u05dc\u05ea\u05e8\u05d5\u05dd \u05e2\u05dd %@"}],d:[{w:70.98,h:17,t:"\u05ea\u05e8\u05d5\u05dd/\u05d9 \u05e2\u05dd %@"}],o:[{w:113.98,h:17.22,t:"\u05dc\u05d4\u05d6\u05de\u05d9\u05df \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],pa:[{w:109.45,h:17,t:"\u05e9\u05dc\u05dd/\u05d9 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],rl:[{w:63.39,h:17.22,t:"\u05dc\u05d8\u05e2\u05d5\u05df \u05e2\u05dd %@"}],rn:[{w:110.7,h:17,t:"\u05dc\u05e9\u05db\u05d5\u05e8 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],se:[{w:76.44,h:17,t:"\u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea %@"}],sb:[{w:108.44,h:17,t:"\u05e8\u05d9\u05e9\u05d5\u05dd \u05db\u05de\u05d9\u05e0\u05d5\u05d9 \u05e2\u05dd %@"}],sp:[{w:112.34,h:17.22,t:"\u05dc\u05ea\u05de\u05d5\u05da \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],ti:[{w:150.63,h:17,t:"\u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05d8\u05d9\u05e4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}],to:[{w:106,h:17,t:"\u05dc\u05de\u05dc\u05d0 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea %@"}]},s:"14px",rtl:!0,w:700},"ar-AB":{l:{a:[{w:99.73,h:15,t:"\u0625\u0636\u0627\u0641\u0629 \u0645\u0627\u0644 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],bo:[{w:72.73,h:15,t:"\u062d\u062c\u0632 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],bu:[{w:74.05,h:15,t:"\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],ch:[{w:111.41,h:15,t:"\u062f\u0641\u0639 \u0627\u0644\u062d\u0633\u0627\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],ci:[{w:33.95,h:15,t:"\u0645\u062a\u0627\u0628\u0639\u0629 %@"}],co:[{w:51.61,h:15,t:"\u0645\u0633\u0627\u0647\u0645\u0629 \u0628\u0640 %@"}],d:[{w:73.14,h:15,t:"\u062a\u0628\u0631\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],o:[{w:74.09,h:15,t:"\u0637\u0644\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],pa:[{w:69.69,h:15,t:"\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],rl:[{w:112.33,h:15,t:"\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u062a\u0639\u0628\u0626\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],rn:[{w:88.36,h:15,t:"\u0627\u0633\u062a\u0626\u062c\u0627\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],se:[{w:29.02,h:15,t:"\u0625\u0639\u062f\u0627\u062f %@"}],sb:[{w:85.2,h:15,t:"\u0627\u0634\u062a\u0631\u0627\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],sp:[{w:71.73,h:15.08,t:"\u062f\u0639\u0645 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],ti:[{w:113.48,h:15,t:"\u062f\u0641\u0639 \u0627\u0644\u0625\u0643\u0631\u0627\u0645\u064a\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}],to:[{w:112.78,h:15,t:"\u062a\u0639\u0628\u0626\u0629 \u0627\u0644\u0631\u0635\u064a\u062f \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 %@"}]},s:"12px",rtl:!0,w:700},"da-DK":{l:{a:[{w:113.38,h:18,t:"Tilf\xf8j penge med %@"}],bo:[{w:72.86,h:18,t:"Bestil med %@"}],bu:[{w:62.19,h:18,t:"K\xf8b med %@"}],ch:[{w:69.8,h:18,t:"Betal med %@"}],ci:[{w:88.09,h:18,t:"Forts\xe6t med %@"}],co:[{w:79.16,h:18,t:"Bidrag med %@"}],d:[{w:76.38,h:18,t:"Doner med %@"}],o:[{w:72.86,h:18,t:"Bestil med %@"}],pa:[{w:69.8,h:18,t:"Betal med %@"}],rl:[{w:87.45,h:18,t:"Tank op med %@"}],rn:[{w:55.41,h:18,t:"Lej med %@"}],se:[{w:43.45,h:18,t:"Indstil %@"}],sb:[{w:93.02,h:18,t:"Abonner med %@"}],sp:[{w:63.41,h:18,t:"St\xf8t med %@"}],ti:[{w:143.91,h:18,t:"Giv drikkepenge med %@"}],to:[{w:84.28,h:18,t:"Fyld op med %@"}]},s:"15px",ls:"0.22px"},"es-MX":{l:{a:[{w:129.58,h:18,t:"Agregar dinero con %@"}],bo:[{w:90.03,h:18,t:"Reservar con %@"}],bu:[{w:89.53,h:18,t:"Comprar con %@"}],ch:[{w:69.38,h:18,t:"Pagar con %@"}],ci:[{w:96.92,h:18,t:"Continuar con %@"}],co:[{w:97.92,h:18,t:"Contribuir con %@"}],d:[{w:71.52,h:18,t:"Donar con %@"}],o:[{w:65.34,h:18,t:"Pedir con %@"}],pa:[{w:69.38,h:18,t:"Pagar con %@"}],rl:[{w:91.2,h:18,t:"Recargar con %@"}],rn:[{w:75.05,h:18,t:"Rentar con %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:105.81,h:18,t:"Suscribirse con %@"}],sp:[{w:78.77,h:18,t:"Apoyar con %@"}],ti:[{w:108.42,h:18,t:"Dar propina con %@"}],to:[{w:124.44,h:18,t:"Cubrir el resto con %@"}]},s:"15px",ls:"0.22px"},"uk-UA":{l:{a:[{w:121.47,h:18,t:"\u041f\u043e\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],bo:[{w:113.38,h:18,t:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],bu:[{w:94.89,h:18,t:"\u041a\u0443\u043f\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],ch:[{w:119.34,h:18,t:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],ci:[{w:101,h:18,t:"\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u0437 %@"}],co:[{w:155.2,h:18,t:"\u0417\u0440\u043e\u0431\u0438\u0442\u0438 \u0432\u043d\u0435\u0441\u043e\u043a \u0447\u0435\u0440\u0435\u0437 %@"}],d:[{w:145.48,h:18,t:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],o:[{w:113.38,h:18,t:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],pa:[{w:96.17,h:18,t:"\u041e\u043f\u043b\u0430\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 %@"}],rl:[{w:121.47,h:18,t:"\u041f\u043e\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],rn:[{w:129.73,h:18,t:"\u041e\u0440\u0435\u043d\u0434\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],se:[{w:95.08,h:18,t:"\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 %@"}],sb:[{w:132.28,h:18,t:"\u041f\u0456\u0434\u043f\u0438\u0441\u0430\u0442\u0438\u0441\u044f \u0447\u0435\u0440\u0435\u0437 %@"}],sp:[{w:126.63,h:18,t:"\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}],ti:[{w:161.66,h:18,t:"\u0417\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u0447\u0430\u0439\u043e\u0432\u0456 \u0447\u0435\u0440\u0435\u0437 %@"}],to:[{w:121.47,h:18,t:"\u041f\u043e\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 %@"}]},s:"15px"},"tr-TR":{l:{a:[{w:82.14,h:18,t:"%@ ile Para Ekle"}],bo:[{w:134.94,h:18,t:"%@ ile Rezervasyon Yap"}],bu:[{w:72.36,h:18,t:"%@ ile Sat\u0131n Al"}],ch:[{w:49.59,h:18,t:"%@ ile \xd6de"}],ci:[{w:64.34,h:18,t:"%@ ile s\xfcrd\xfcr"}],co:[{w:113.28,h:18,t:"%@ ile Katk\u0131da Bulun"}],d:[{w:86.64,h:18,t:"%@ ile Ba\u011f\u0131\u015f Yap"}],o:[{w:92.42,h:18,t:"%@ ile Sipari\u015f Ver"}],pa:[{w:49.59,h:18,t:"%@ ile \xd6de"}],rl:[{w:114.63,h:18,t:"%@ ile Yeniden Y\xfckle"}],rn:[{w:59.02,h:18,t:"%@ ile Kirala"}],se:[{w:48.86,h:18,t:"Ayarla: %@"}],sb:[{w:83.16,h:18,t:"%@ ile Abone Ol"}],sp:[{w:86.34,h:18,t:"%@ ile Destek Ol"}],ti:[{w:91.27,h:18,t:"%@ ile Bah\u015fi\u015f Ver"}],to:[{w:66.09,h:18,t:"%@ ile Doldur"}]},s:"15px",ls:"0.22px"},"th-TH":{l:{a:[{w:64.11,h:15,t:"\u0e40\u0e15\u0e34\u0e21\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 %@"}],bo:[{w:45.84,h:15,t:"\u0e08\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22 %@"}],bu:[{w:40.47,h:18.41,t:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 %@"}],ch:[{w:69.86,h:15,t:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 %@"}],ci:[{w:96.7,h:15,t:"\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e14\u0e49\u0e27\u0e22 %@"}],co:[{w:76.97,h:15,t:"\u0e21\u0e35\u0e2a\u0e48\u0e27\u0e19\u0e23\u0e48\u0e27\u0e21\u0e14\u0e49\u0e27\u0e22 %@"}],d:[{w:61.7,h:15,t:"\u0e1a\u0e23\u0e34\u0e08\u0e32\u0e04\u0e14\u0e49\u0e27\u0e22 %@"}],o:[{w:39.22,h:17.08,t:"\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e49\u0e27\u0e22 %@"}],pa:[{w:51.52,h:15,t:"\u0e0a\u0e33\u0e23\u0e30\u0e14\u0e49\u0e27\u0e22 %@"}],rl:[{w:79.27,h:15.05,t:"\u0e42\u0e2b\u0e25\u0e14\u0e43\u0e2b\u0e21\u0e48\u0e14\u0e49\u0e27\u0e22 %@"}],rn:[{w:43.58,h:15,t:"\u0e40\u0e0a\u0e48\u0e32\u0e14\u0e49\u0e27\u0e22 %@"}],se:[{w:31.77,h:17.7,t:"\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 %@"}],sb:[{w:70.42,h:15,t:"\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e23\u0e31\u0e1a\u0e14\u0e49\u0e27\u0e22 %@"}],sp:[{w:73.39,h:15.64,t:"\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19\u0e14\u0e49\u0e27\u0e22 %@"}],ti:[{w:57.23,h:15,t:"\u0e43\u0e2b\u0e49\u0e17\u0e34\u0e1b\u0e14\u0e49\u0e27\u0e22 %@"}],to:[{w:45.75,h:15,t:"\u0e40\u0e15\u0e34\u0e21\u0e14\u0e49\u0e27\u0e22 %@"}]},s:"13px"},"ro-RO":{l:{a:[{w:114.67,h:18,t:"Ad\u0103uga\u021bi bani cu %@"}],bo:[{w:84.72,h:18,t:"Rezerva\u021bi cu %@"}],bu:[{w:92.45,h:18,t:"Cump\u0103ra\u021bi cu %@"}],ch:[{w:151.14,h:18,t:"Finaliza\u021bi tranzac\u021bia cu %@"}],ci:[{w:91.88,h:18,t:"Continua\u021bi cu %@"}],co:[{w:92.88,h:18,t:"Contribui\u021bi cu %@"}],d:[{w:66.47,h:18,t:"Dona\u021bi cu %@"}],o:[{w:95.94,h:18,t:"Comanda\u021bi cu %@"}],pa:[{w:60.25,h:18,t:"Pl\u0103ti\u021bi cu %@"}],rl:[{w:97.3,h:18,t:"Re\xeenc\u0103rca\u021bi cu %@"}],rn:[{w:80.72,h:18,t:"\xcenchiria\u021bi cu %@"}],se:[{w:77.58,h:18,t:"Configura\u021bi %@"}],sb:[{w:96.95,h:18,t:"Abona\u021bi\u2011v\u0103 cu %@"}],sp:[{w:92.88,h:18,t:"Contribui\u021bi cu %@"}],ti:[{w:110.34,h:18,t:"Oferi\u021bi bac\u0219i\u0219 cu %@"}],to:[{w:97.3,h:18,t:"Re\xeenc\u0103rca\u021bi cu %@"}]},s:"15px",ls:"0.22px"},"fi-FI":{l:{a:[{w:78.92,h:18,t:"Lis\xe4\xe4 rahaa "},{w:14.75,h:18,t:"lla"}],bo:[{w:74.11,h:18,t:"Tee varaus "},{w:14.75,h:18,t:"lla"}],bu:[{w:34.66,h:18,t:"Osta "},{w:14.75,h:18,t:"lla"}],ch:[{w:121.22,h:18,t:"Siirry maksamaan "},{w:14.75,h:18,t:"lla"}],ci:[{w:39.81,h:18,t:"Jatka "},{w:14.75,h:18,t:"lla"}],co:[{w:56.03,h:18,t:"Lahjoita "},{w:14.75,h:18,t:"lla"}],d:[{w:56.03,h:18,t:"Lahjoita "},{w:14.75,h:18,t:"lla"}],o:[{w:34.69,h:18,t:"Tilaa "},{w:14.75,h:18,t:"lla"}],pa:[{w:46.7,h:18,t:"Maksa "},{w:14.75,h:18,t:"lla"}],rl:[{w:40.13,h:18,t:"Lataa "},{w:14.75,h:18,t:"lla"}],rn:[{w:57.97,h:18,t:"Vuokraa "},{w:14.75,h:18,t:"lla"}],se:[{w:27.25,h:18,t:"Ota "},{w:61.7,h:18,t:" k\xe4ytt\xf6\xf6n"}],sb:[{w:34.69,h:18,t:"Tilaa "},{w:14.75,h:18,t:"lla"}],sp:[{w:27.2,h:18,t:"Tue "},{w:14.75,h:18,t:"lla"}],ti:[{w:70.44,h:18,t:"Anna tippi "},{w:14.75,h:18,t:"lla"}],to:[{w:68.19,h:18,t:"T\xe4ydenn\xe4 "},{w:14.75,h:18,t:"lla"}]},s:"15px",ls:"0.22px"},"pl-PL":{l:{a:[{w:91.52,h:18,t:"Dodaj \u015brodki ("},{w:5.16,h:18,t:")"}],bo:[{w:146.19,h:18,t:"Zarezerwuj, u\u017cywaj\u0105c %@"}],bu:[{w:98.39,h:18,t:"Kup, u\u017cywaj\u0105c %@"}],ch:[{w:175.7,h:18,t:"Sfinalizuj zakup, u\u017cywaj\u0105c %@"}],ci:[{w:80.53,h:18,t:"Kontynuuj - %@"}],co:[{w:92.56,h:18,t:"Wnie\u015b wk\u0142ad ("},{w:5.16,h:18,t:")"}],d:[{w:165.52,h:18,t:"Przeka\u017c datek, u\u017cywaj\u0105c %@"}],o:[{w:58.28,h:18,t:"Zam\xf3w ("},{w:5.16,h:18,t:")"}],pa:[{w:117.69,h:18,t:"Zap\u0142a\u0107, u\u017cywaj\u0105c %@"}],rl:[{w:114.61,h:18,t:"Uzupe\u0142nij \u015brodki ("},{w:5.16,h:18,t:")"}],rn:[{w:77.73,h:18,t:"Wypo\u017cycz ("},{w:5.16,h:18,t:")"}],se:[{w:79.19,h:18,t:"Skonfiguruj %@"}],sb:[{w:147.33,h:18,t:"Subskrybuj, u\u017cywaj\u0105c %@"}],sp:[{w:70.06,h:18,t:"Wesprzyj ("},{w:5.16,h:18,t:")"}],ti:[{w:89.44,h:18,t:"Daj napiwek ("},{w:5.16,h:18,t:")"}],to:[{w:59.44,h:18,t:"Do\u0142aduj ("},{w:5.16,h:18,t:")"}]},s:"15px",ls:"0.22px"},"zh-TW":{l:{a:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5132\u503c"}],bo:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u9810\u7d04"}],bu:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8cfc\u8cb7"}],ch:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7d50\u5e33"}],ci:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u7e7c\u7e8c"}],co:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u52a9"}],d:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u6350\u6b3e"}],o:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u8cfc"}],pa:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u4ed8\u6b3e"}],rl:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u5145\u503c"}],rn:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u79df\u501f"}],se:[{w:32.61,h:18,t:"\u8a2d\u5b9a %@"}],sb:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u8a02\u95b1"}],sp:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u652f\u63f4"}],ti:[{w:17.81,h:18,t:"\u7528 "},{w:62.2,h:18,t:" \u652f\u4ed8\u5c0f\u8cbb"}],to:[{w:17.81,h:18,t:"\u7528 "},{w:32.61,h:18,t:" \u52a0\u503c"}]},s:"14.8px"},"fr-CA":{l:{a:[{w:154.91,h:18,t:"Ajouter des fonds avec %@"}],bo:[{w:96.92,h:18,t:"R\xe9server avec %@"}],bu:[{w:90.47,h:18,t:"Acheter avec %@"}],ch:[{w:75.22,h:18,t:"Payer avec %@"}],ci:[{w:108.56,h:18,t:"Poursuivre avec %@"}],co:[{w:109.41,h:18,t:"Contribuer avec %@"}],d:[{w:118.92,h:18,t:"Faire un don avec %@"}],o:[{w:120.53,h:18,t:"Commander avec %@"}],pa:[{w:75.22,h:18,t:"Payer avec %@"}],rl:[{w:106.7,h:18,t:"Recharger avec %@"}],rn:[{w:75.95,h:18,t:"Louer avec %@"}],se:[{w:74.19,h:18,t:"Configurer %@"}],sb:[{w:105.61,h:18,t:"S\u2019abonner avec %@"}],sp:[{w:93.98,h:18,t:"Soutenir avec %@"}],ti:[{w:174.38,h:18,t:"Donner un pourboire avec %@"}],to:[{w:106.7,h:18,t:"Recharger avec %@"}]},s:"15px",ls:"0.22px"},"en-GB":{l:{a:[{w:110.86,h:18,t:"Add Money with %@"}],bo:[{w:68.8,h:18,t:"Book with %@"}],bu:[{w:60.39,h:18,t:"Buy with %@"}],ch:[{w:102.89,h:18,t:"Check out with %@"}],ci:[{w:95.58,h:18,t:"Continue with %@"}],co:[{w:105.94,h:18,t:"Contribute with %@"}],d:[{w:83,h:18,t:"Donate with %@"}],o:[{w:72.86,h:18,t:"Order with %@"}],pa:[{w:59,h:18,t:"Pay with %@"}],rl:[{w:80.89,h:18,t:"Reload with %@"}],rn:[{w:65.67,h:18,t:"Rent with %@"}],se:[{w:45.88,h:18,t:"Set up %@"}],sb:[{w:102.14,h:18,t:"Subscribe with %@"}],sp:[{w:88.67,h:18,t:"Support with %@"}],ti:[{w:55.58,h:18,t:"Tip with %@"}],to:[{w:81.66,h:18,t:"Top Up with %@"}]},s:"15px",ls:"0.22px"},"es-ES":{l:{a:[{w:120.05,h:18,t:"A\xf1adir dinero con %@"}],bo:[{w:90.03,h:18,t:"Reservar con %@"}],bu:[{w:89.53,h:18,t:"Comprar con %@"}],ch:[{w:69.38,h:18,t:"Pagar con %@"}],ci:[{w:96.92,h:18,t:"Continuar con %@"}],co:[{w:97.92,h:18,t:"Contribuir con %@"}],d:[{w:71.52,h:18,t:"Donar con %@"}],o:[{w:65.34,h:18,t:"Pedir con %@"}],pa:[{w:69.38,h:18,t:"Pagar con %@"}],rl:[{w:91.2,h:18,t:"Recargar con %@"}],rn:[{w:81.73,h:18,t:"Alquilar con %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:105.81,h:18,t:"Suscribirse con %@"}],sp:[{w:97.92,h:18,t:"Contribuir con %@"}],ti:[{w:108.42,h:18,t:"Dar propina con %@"}],to:[{w:91.2,h:18,t:"Recargar con %@"}]},s:"15px",ls:"0.22px"},"de-DE":{l:{a:[{w:58.7,h:18,t:"Geld mit "},{w:77.88,h:18,t:" hinzuf\xfcgen"}],bo:[{w:24.41,h:18,t:"Mit "},{w:53.23,h:18,t:" buchen"}],bu:[{w:24.41,h:18,t:"Mit "},{w:48.45,h:18,t:" kaufen"}],ch:[{w:24.41,h:18,t:"Mit "},{w:63.94,h:18,t:" bezahlen"}],ci:[{w:70.61,h:18,t:"Weiter mit %@"}],co:[{w:24.41,h:18,t:"Mit "},{w:66.64,h:18,t:" beitragen"}],d:[{w:24.41,h:18,t:"Mit "},{w:61,h:18,t:" spenden"}],o:[{w:24.41,h:18,t:"Mit "},{w:63.91,h:18,t:" bestellen"}],pa:[{w:24.41,h:18,t:"Mit "},{w:63.94,h:18,t:" bezahlen"}],rl:[{w:24.41,h:18,t:"Mit "},{w:86.28,h:18,t:" erneut laden"}],rn:[{w:24.41,h:18,t:"Mit "},{w:43.22,h:18,t:" leihen"}],se:[{w:69.55,h:18,t:"%@ einrichten"}],sb:[{w:24.41,h:18,t:"Mit "},{w:77.94,h:18,t:" abonnieren"}],sp:[{w:24.41,h:18,t:"Mit "},{w:87.59,h:18,t:" unterst\xfctzen"}],ti:[{w:64.16,h:18,t:"%@ Trinkgeld"}],to:[{w:24.41,h:18,t:"Mit "},{w:61.42,h:18,t:" auff\xfcllen"}]},s:"15px",ls:"0.22px"},"nb-NO":{l:{a:[{w:135.02,h:18,t:"Legg til penger med %@"}],bo:[{w:76.34,h:18,t:"Bestill med %@"}],bu:[{w:66.05,h:18,t:"Kj\xf8p med %@"}],ch:[{w:69.8,h:18,t:"Betal med %@"}],ci:[{w:62.28,h:18,t:"Fortsett i %@"}],co:[{w:70.47,h:18,t:"Bidra med %@"}],d:[{w:76.38,h:18,t:"Doner med %@"}],o:[{w:76.34,h:18,t:"Bestill med %@"}],pa:[{w:69.8,h:18,t:"Betal med %@"}],rl:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}],rn:[{w:55.41,h:18,t:"Lei med %@"}],se:[{w:72.77,h:18,t:"Konfigurer %@"}],sb:[{w:93.02,h:18,t:"Abonner med %@"}],sp:[{w:68.44,h:18,t:"St\xf8tt med %@"}],ti:[{w:85.83,h:18,t:"Gi driks med %@"}],to:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}]},s:"15px",ls:"0.22px"},"ca-ES":{l:{a:[{w:120.41,h:18,t:"Afegir diners amb %@"}],bo:[{w:94.61,h:18,t:"Reservar amb %@"}],bu:[{w:94.11,h:18,t:"Comprar amb %@"}],ch:[{w:73.97,h:18,t:"Pagar amb %@"}],ci:[{w:96.38,h:18,t:"Continua amb %@"}],co:[{w:102.52,h:18,t:"Contribuir amb %@"}],d:[{w:141.59,h:18,t:"Fer una donaci\xf3 amb %@"}],o:[{w:96.41,h:18,t:"Demanar amb %@"}],pa:[{w:73.97,h:18,t:"Pagar amb %@"}],rl:[{w:109.06,h:18,t:"Recarregar amb %@"}],rn:[{w:77.56,h:18,t:"Llogar amb %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:117.7,h:18,t:"Subscriure\u2019s amb %@"}],sp:[{w:129.63,h:18,t:"Compatibilitat amb %@"}],ti:[{w:132.08,h:18,t:"Deixar propina amb %@"}],to:[{w:109.06,h:18,t:"Recarregar amb %@"}]},s:"15px",ls:"0.22px"},"ja-JP":{l:{a:[{w:75,h:18,t:"%@\u3067\u30c1\u30e3\u30fc\u30b8"}],bo:[{w:45,h:18,t:"%@\u3067\u4e88\u7d04"}],bu:[{w:45,h:18,t:"%@\u3067\u8cfc\u5165"}],ch:[{w:90,h:18,t:"%@\u3067\u8cfc\u5165\u306b\u9032\u3080"}],ci:[{w:60,h:18,t:"%@\u3067\u7d9a\u3051\u308b"}],co:[{w:45,h:18,t:"%@\u3067\u732e\u91d1"}],d:[{w:45,h:18,t:"%@\u3067\u5bc4\u4ed8"}],o:[{w:45,h:18,t:"%@\u3067\u6ce8\u6587"}],pa:[{w:60,h:18,t:"%@\u3067\u652f\u6255\u3046"}],rl:[{w:75,h:18,t:"%@\u3067\u30c1\u30e3\u30fc\u30b8"}],rn:[{w:75,h:18,t:"%@\u3067\u30ec\u30f3\u30bf\u30eb"}],se:[{w:45,h:18,t:"%@\u3092\u8a2d\u5b9a"}],sb:[{w:150,h:18,t:"%@\u3067\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3"}],sp:[{w:45,h:18,t:"%@\u3067\u652f\u63f4"}],ti:[{w:60,h:18,t:"%@\u3067\u30c1\u30c3\u30d7"}],to:[{w:75,h:18,t:"%@\u3067\u30c1\u30e3\u30fc\u30b8"}]},s:"15px",w:600},"vi-VN":{l:{a:[{w:95.7,h:18,t:"N\u1ea1p ti\u1ec1n b\u1eb1ng %@"}],bo:[{w:91.86,h:18,t:"\u0110\u1eb7t ch\u1ed7 b\u1eb1ng %@"}],bu:[{w:69.39,h:18,t:"Mua b\u1eb1ng %@"}],ch:[{w:115.56,h:18,t:"Thanh to\xe1n b\u1eb1ng %@"}],ci:[{w:93.8,h:18,t:"Ti\u1ebfp t\u1ee5c b\u1eb1ng %@"}],co:[{w:105.2,h:18,t:"\u0110\xf3ng g\xf3p b\u1eb1ng %@"}],d:[{w:113.02,h:18,t:"Quy\xean g\xf3p b\u1eb1ng %@"}],o:[{w:100.55,h:18,t:"\u0110\u1eb7t h\xe0ng b\u1eb1ng %@"}],pa:[{w:115.56,h:18,t:"Thanh to\xe1n b\u1eb1ng %@"}],rl:[{w:85.63,h:18,t:"N\u1ea1p l\u1ea1i b\u1eb1ng %@"}],rn:[{w:74.27,h:18,t:"Thu\xea b\u1eb1ng %@"}],se:[{w:60.72,h:18,t:"Thi\u1ebft l\u1eadp %@"}],sb:[{w:94.59,h:18,t:"\u0110\u0103ng k\xfd b\u1eb1ng %@"}],sp:[{w:81.38,h:18,t:"H\u1ed7 tr\u1ee3 b\u1eb1ng %@"}],ti:[{w:61,h:18,t:"Tip b\u1eb1ng %@"}],to:[{w:95.7,h:18,t:"N\u1ea1p ti\u1ec1n b\u1eb1ng %@"}]},s:"15px",ls:"0.22px"},"nl-NL":{l:{a:[{w:123.2,h:18,t:"Voeg geld toe met %@"}],bo:[{w:99.25,h:18,t:"Reserveer met %@"}],bu:[{w:66.8,h:18,t:"Koop met %@"}],ch:[{w:74.06,h:18,t:"Betaal met %@"}],ci:[{w:96.69,h:18,t:"Ga verder met %@"}],co:[{w:144.58,h:18,t:"Doe een bijdrage met %@"}],d:[{w:80.8,h:18,t:"Doneer met %@"}],o:[{w:73.63,h:18,t:"Bestel met %@"}],pa:[{w:74.06,h:18,t:"Betaal met %@"}],rl:[{w:125.09,h:18,t:"Laad opnieuw met %@"}],rn:[{w:64.84,h:18,t:"Huur met %@"}],se:[{w:82.33,h:18,t:"Configureer %@"}],sb:[{w:112.31,h:18,t:"Abonneer je met %@"}],sp:[{w:71.16,h:18,t:"Steun met %@"}],ti:[{w:92.61,h:18,t:"Geef fooi met %@"}],to:[{w:88.31,h:18,t:"Verhoog met %@"}]},s:"15px",ls:"0.22px"},"cs-CZ":{l:{a:[{w:114.92,h:18,t:"P\u0159idat hotovost s %@"}],bo:[{w:100.98,h:18,t:"Zarezervovat s %@"}],bu:[{w:56.98,h:18,t:"Koupit s %@"}],ch:[{w:65.02,h:18,t:"Zaplatit s %@"}],ci:[{w:88.44,h:18,t:"Pokra\u010dovat s %@"}],co:[{w:60.81,h:18,t:"P\u0159isp\u011bt s %@"}],d:[{w:65.84,h:18,t:"Darovat s %@"}],o:[{w:75.61,h:18,t:"Objednat s %@"}],pa:[{w:65.02,h:18,t:"Zaplatit s %@"}],rl:[{w:49.97,h:18,t:"Dob\xedt s %@"}],rn:[{w:68.38,h:18,t:"Vyp\u016fj\u010dit s %@"}],se:[{w:58.19,h:18,t:"Nastavit %@"}],sb:[{w:78.28,h:18,t:"P\u0159edplatit s %@"}],sp:[{w:70.45,h:18,t:"Podpo\u0159it s %@"}],ti:[{w:103.66,h:18,t:"D\xe1t spropitn\xe9 s %@"}],to:[{w:61.77,h:18,t:"Doplnit s %@"}]},s:"15px",ls:"0.22px"},"sv-SE":{l:{a:[{w:138.39,h:18,t:"L\xe4gg till pengar med %@"}],bo:[{w:69.44,h:18,t:"Boka med %@"}],bu:[{w:62.11,h:18,t:"K\xf6p med %@"}],ch:[{w:77.78,h:18,t:"Betala med %@"}],ci:[{w:88.16,h:18,t:"Forts\xe4tt med %@"}],co:[{w:70.47,h:18,t:"Bidra med %@"}],d:[{w:84.2,h:18,t:"Donera med %@"}],o:[{w:80.8,h:18,t:"Best\xe4ll med %@"}],pa:[{w:77.78,h:18,t:"Betala med %@"}],rl:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}],rn:[{w:59.63,h:18,t:"Hyr med %@"}],se:[{w:47.42,h:18,t:"St\xe4ll in %@"}],sb:[{w:121.25,h:18,t:"Prenumerera med %@"}],sp:[{w:67.13,h:18,t:"St\xf6d med %@"}],ti:[{w:98.45,h:18,t:"Ge dricks med %@"}],to:[{w:78.59,h:18,t:"Fyll p\xe5 med %@"}]},s:"15px",ls:"0.22px"},"it-IT":{l:{a:[{w:118.47,h:18,t:"Versa denaro con %@"}],bo:[{w:82.81,h:18,t:"Prenota con %@"}],bu:[{w:89.77,h:18,t:"Acquista con %@"}],ch:[{w:64.23,h:18,t:"Paga con %@"}],ci:[{w:91.78,h:18,t:"Continua con %@"}],co:[{w:111.69,h:18,t:"Contribuisci con %@"}],d:[{w:150.94,h:18,t:"Fai una donazione con %@"}],o:[{w:75.78,h:18,t:"Ordina con %@"}],pa:[{w:64.23,h:18,t:"Paga con %@"}],rl:[{w:84.5,h:18,t:"Ricarica con %@"}],rn:[{w:90.75,h:18,t:"Noleggia con %@"}],se:[{w:69.08,h:18,t:"Configura %@"}],sb:[{w:91.91,h:18,t:"Abbonati con %@"}],sp:[{w:84.77,h:18,t:"Sostieni con %@"}],ti:[{w:153.83,h:18,t:"Lascia una mancia con %@"}],to:[{w:84.5,h:18,t:"Ricarica con %@"}]},s:"15px",ls:"0.22px"},"hr-HR":{l:{a:[{w:145.14,h:18,t:"Dodaj novac koriste\u0107i %@"}],bo:[{w:128.28,h:18,t:"Rezerviraj koriste\u0107i %@"}],bu:[{w:92.84,h:18,t:"Kupi koriste\u0107i %@"}],ch:[{w:114.06,h:18,t:"Naplati koriste\u0107i: %@"}],ci:[{w:63.89,h:18,t:"Nastavi s %@"}],co:[{w:126.33,h:18,t:"Doprinesi koriste\u0107i %@"}],d:[{w:109.88,h:18,t:"Doniraj koriste\u0107i %@"}],o:[{w:106.19,h:18,t:"Naru\u010di koriste\u0107i %@"}],pa:[{w:91.72,h:18,t:"Plati koriste\u0107i %@"}],rl:[{w:110.16,h:18,t:"Napuni koriste\u0107i %@"}],rn:[{w:109.28,h:18,t:"Unajmi koriste\u0107i %@"}],se:[{w:48.05,h:18,t:"Podesi %@"}],sb:[{w:137.25,h:18,t:"Pretplati se koriste\u0107i %@"}],sp:[{w:104.63,h:18,t:"Podr\u017ei koriste\u0107i %@"}],ti:[{w:173.84,h:18,t:"Ostavi napojnicu koriste\u0107i %@"}],to:[{w:127.06,h:18,t:"Nadoplati koriste\u0107i %@"}]},s:"15px",ls:"0.22px"},"id-ID":{l:{a:[{w:146.39,h:18,t:"Tambah uang dengan %@"}],bo:[{w:97.41,h:18,t:"Pesan dengan %@"}],bu:[{w:81.23,h:18,t:"Beli dengan %@"}],ch:[{w:138.91,h:18,t:"Lanjut bayar dengan %@"}],ci:[{w:122.27,h:18,t:"Lanjutkan dengan %@"}],co:[{w:145.36,h:18,t:"Berkontribusi dengan %@"}],d:[{w:102.89,h:18,t:"Donasi dengan %@"}],o:[{w:94.8,h:18,t:"Order dengan %@"}],pa:[{w:94.91,h:18,t:"Bayar dengan %@"}],rl:[{w:113.94,h:18,t:"Isi Ulang dengan %@"}],rn:[{w:93.31,h:18,t:"Sewa dengan %@"}],se:[{w:31.2,h:18,t:"Atur %@"}],sb:[{w:149.42,h:18,t:"Berlangganan dengan %@"}],sp:[{w:108.81,h:18,t:"Dukung dengan %@"}],ti:[{w:103.34,h:18,t:"Beri tip dengan %@"}],to:[{w:147.81,h:18,t:"Tambah Dana dengan %@"}]},s:"15px",ls:"0.22px"},"hu-HU":{l:{a:[{w:160.58,h:18,t:"P\xe9nz hozz\xe1ad\xe1sa ezzel: %@"}],bo:[{w:113.28,h:18,t:"Lefoglal\xe1s ezzel: %@"}],bu:[{w:129.64,h:18,t:"Megv\xe1s\xe1rl\xe1s ezzel: %@"}],ch:[{w:116.84,h:18,t:"Kassz\xe1hoz ezzel: %@"}],ci:[{w:105.84,h:18,t:"Folytat\xe1s ezzel: %@"}],co:[{w:130.72,h:18,t:"Hozz\xe1j\xe1rul\xe1s ezzel: %@"}],d:[{w:139.45,h:18,t:"Adom\xe1nyoz\xe1s ezzel: %@"}],o:[{w:131.88,h:18,t:"Megrendel\xe9s ezzel: %@"}],pa:[{w:92.38,h:18,t:"Fizet\xe9s ezzel: %@"}],rl:[{w:109.23,h:18,t:"\xdajrat\xf6lt\xe9s ezzel: %@"}],rn:[{w:120.95,h:18,t:"K\xf6lcs\xf6nz\xe9s ezzel: %@"}],se:[{w:66.75,h:18,t:"%@ be\xe1ll\xedt\xe1sa"}],sb:[{w:109.69,h:18,t:"El\u0151fizet\xe9s ezzel: %@"}],sp:[{w:118.05,h:18,t:"T\xe1mogat\xe1s ezzel: %@"}],ti:[{w:108.28,h:18,t:"Borraval\xf3 ezzel: %@"}],to:[{w:101.67,h:18,t:"Felt\xf6lt\xe9s ezzel: %@"}]},s:"15px",ls:"0.22px"},"ru-RU":{l:{a:[{w:134.39,h:18,t:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0435\u043d\u044c\u0433\u0438 \u0441 %@"}],bo:[{w:77.81,h:18,t:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0441 %@"}],bu:[{w:63.44,h:18,t:"\u041a\u0443\u043f\u0438\u0442\u044c \u0441 %@"}],ch:[{w:81.38,h:18,t:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0441 %@"}],ci:[{w:103.5,h:18,t:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441 %@"}],co:[{w:89.8,h:18,t:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441 %@"}],d:[{w:116.05,h:18,t:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 %@"}],o:[{w:77.81,h:18,t:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0441 %@"}],pa:[{w:81.38,h:18,t:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0441 %@"}],rl:[{w:90.94,h:18,t:"\u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441 %@"}],rn:[{w:98.55,h:18,t:"\u0410\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0441 %@"}],se:[{w:78.13,h:18,t:"\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c %@"}],sb:[{w:106.73,h:18,t:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0441 %@"}],sp:[{w:103.39,h:18,t:"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441 %@"}],ti:[{w:144.09,h:18,t:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0447\u0430\u0435\u0432\u044b\u0435 \u0441 %@"}],to:[{w:90.94,h:18,t:"\u041f\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441 %@"}]},s:"15px",ls:"0.22px"},"ko-KR":{l:{a:[{w:44.6,h:17,t:"%@ \ub85c \ucda9\uc804"}],bo:[{w:44.6,h:17,t:"%@ \ub85c \uc608\uc57d"}],bu:[{w:44.6,h:17,t:"%@ \ub85c \uad6c\uc785"}],ch:[{w:44.6,h:17,t:"%@ \ub85c \uacb0\uc81c"}],ci:[{w:73.04,h:17,t:"%@ \ub85c \uacc4\uc18d \uc9c4\ud589"}],co:[{w:69.16,h:17,t:"%@ \ub85c \ucc38\uc5ec\ud558\uae30"}],d:[{w:69.16,h:17,t:"%@ \ub85c \uae30\ubd80\ud558\uae30"}],o:[{w:44.6,h:17,t:"%@ \ub85c \uc8fc\ubb38"}],pa:[{w:44.6,h:17,t:"%@ \ub85c \uc9c0\ubd88"}],rl:[{w:44.6,h:17,t:"%@ \ub85c \ucda9\uc804"}],rn:[{w:44.6,h:17,t:"%@ \ub85c \ub300\uc5ec"}],se:[{w:28.45,h:17,t:"%@ \uc124\uc815"}],sb:[{w:44.6,h:17,t:"%@ \ub85c \uad6c\ub3c5"}],sp:[{w:69.16,h:17,t:"%@ \ub85c \uc9c0\uc6d0\ud558\uae30"}],ti:[{w:60.76,h:17,t:"%@ \ub85c \ud301 \uc9c0\ubd88"}],to:[{w:104.43,h:17,t:"%@ \ub85c \ucda9\uc804(top-up)"}]},s:"14.2px",w:600,ls:"1px"},"pt-PT":{l:{a:[{w:155.92,h:18,t:"Adicionar dinheiro com %@"}],bo:[{w:94.23,h:18,t:"Reservar com %@"}],bu:[{w:93.73,h:18,t:"Comprar com %@"}],ch:[{w:73.58,h:18,t:"Pagar com %@"}],ci:[{w:101.13,h:18,t:"Continuar com %@"}],co:[{w:102.14,h:18,t:"Contribuir com %@"}],d:[{w:156.5,h:18,t:"Fazer uma doa\xe7\xe3o com %@"}],o:[{w:119.66,h:18,t:"Encomendar com %@"}],pa:[{w:73.58,h:18,t:"Pagar com %@"}],rl:[{w:108.69,h:18,t:"Recarregar com %@"}],rn:[{w:78.98,h:18,t:"Alugar com %@"}],se:[{w:74.22,h:18,t:"Configurar %@"}],sb:[{w:85.17,h:18,t:"Assinar com %@"}],sp:[{w:78.98,h:18,t:"Apoiar com %@"}],ti:[{w:108.94,h:18,t:"Dar gorjeta com %@"}],to:[{w:93.81,h:18,t:"Carregar com %@"}]},s:"15px",ls:"0.22px"},"hi-IN":{l:{a:[{w:49.42,h:14.28,t:"%@ \u0938\u0947 \u0927\u0928 \u091c\u094b\u0921\u093c\u0947\u0902"}],bo:[{w:47.23,h:14.89,t:"%@ \u0938\u0947 \u092c\u0941\u0915 \u0915\u0930\u0947\u0902"}],bu:[{w:38.5,h:14.42,t:"%@ \u0938\u0947 \u0916\u093c\u0930\u0940\u0926\u0947\u0902"}],ch:[{w:96.38,h:14.28,t:"%@ \u0915\u0947 \u0938\u093e\u0925 \u091a\u0947\u0915\u0906\u0909\u091f \u0915\u0930\u0947\u0902"}],ci:[{w:75.66,h:14.42,t:"%@ \u0915\u0947 \u0938\u093e\u0925 \u091c\u093e\u0930\u0940 \u0930\u0916\u0947\u0902"}],co:[{w:65.02,h:14.28,t:"%@ \u0938\u0947 \u092f\u094b\u0917\u0926\u093e\u0928 \u0915\u0930\u0947\u0902"}],d:[{w:38.94,h:14.28,t:"%@ \u0938\u0947 \u0926\u093e\u0928 \u0926\u0947\u0902"}],o:[{w:55.03,h:14.34,t:"%@ \u0938\u0947 \u0911\u0930\u094d\u0921\u0930 \u0915\u0930\u0947\u0902"}],pa:[{w:61.91,h:14.89,t:"%@ \u0938\u0947 \u092d\u0941\u0917\u0924\u093e\u0928 \u0915\u0930\u0947\u0902"}],rl:[{w:58.19,h:14.42,t:"%@ \u0938\u0947 \u0930\u0940\u0932\u094b\u0921 \u0915\u0930\u0947\u0902"}],rn:[{w:67.59,h:14.42,t:"%@ \u0938\u0947 \u0915\u093f\u0930\u093e\u090f \u092a\u0930 \u0932\u0947\u0902"}],se:[{w:50.67,h:14.28,t:"%@ \u0938\u0947\u091f\u0905\u092a \u0915\u0930\u0947\u0902"}],sb:[{w:102.09,h:14.28,t:"%@ \u0915\u0947 \u0938\u093e\u0925 \u0938\u092c\u094d\u0938\u0915\u094d\u0930\u093e\u0907\u092c \u0915\u0930\u0947\u0902"}],sp:[{w:61.06,h:14.34,t:"%@ \u0938\u0947 \u0938\u092e\u0930\u094d\u0925\u0928 \u0915\u0930\u0947\u0902"}],ti:[{w:39.22,h:14.42,t:"%@ \u0938\u0947 \u091f\u093f\u092a \u0926\u0947\u0902"}],to:[{w:65.84,h:14.28,t:"%@ \u0938\u0947 \u091f\u0949\u092a \u0905\u092a \u0915\u0930\u0947\u0902"}]},s:"12px",w:600},"sk-SK":{l:{a:[{w:124.89,h:18,t:"Prida\u0165 peniaze cez %@"}],bo:[{w:104.45,h:18,t:"Rezervova\u0165 cez %@"}],bu:[{w:65.42,h:18,t:"K\xfapi\u0165 cez %@"}],ch:[{w:81.42,h:18,t:"Zaplati\u0165 cez %@"}],ci:[{w:100.61,h:18,t:"Pokra\u010dujte cez %@"}],co:[{w:80.69,h:18,t:"Prispie\u0165 cez %@"}],d:[{w:80.69,h:18,t:"Prispie\u0165 cez %@"}],o:[{w:92.02,h:18,t:"Objedna\u0165 cez %@"}],pa:[{w:81.42,h:18,t:"Zaplati\u0165 cez %@"}],rl:[{w:66.38,h:18,t:"Dobi\u0165 cez %@"}],rn:[{w:79.02,h:18,t:"Po\u017ei\u010da\u0165 cez %@"}],se:[{w:58.52,h:18,t:"Nastavi\u0165 %@"}],sb:[{w:93.55,h:18,t:"Odobera\u0165 cez %@"}],sp:[{w:86.86,h:18,t:"Podpori\u0165 cez %@"}],ti:[{w:119.8,h:18,t:"Da\u0165 sprepitn\xe9 cez %@"}],to:[{w:66.38,h:18,t:"Dobi\u0165 cez %@"}]},s:"15px",ls:"0.22px"},"ms-MY":{l:{a:[{w:151.3,h:18,t:"Tambah Wang dengan %@"}],bo:[{w:109.78,h:18,t:"Tempah dengan %@"}],bu:[{w:81.23,h:18,t:"Beli dengan %@"}],ch:[{w:94.91,h:18,t:"Bayar dengan %@"}],ci:[{w:117.09,h:18,t:"Teruskan dengan %@"}],co:[{w:144.94,h:18,t:"Sumbangkan dengan %@"}],d:[{w:101.03,h:18,t:"Derma dengan %@"}],o:[{w:97.41,h:18,t:"Pesan dengan %@"}],pa:[{w:94.91,h:18,t:"Bayar dengan %@"}],rl:[{w:122.72,h:18,t:"Isi semula dengan %@"}],rn:[{w:93.31,h:18,t:"Sewa dengan %@"}],se:[{w:64.88,h:18,t:"Sediakan %@"}],sb:[{w:114.98,h:18,t:"Langgan dengan %@"}],sp:[{w:107.3,h:18,t:"Sokong dengan %@"}],ti:[{w:127.48,h:18,t:"Berikan tip dengan %@"}],to:[{w:142.14,h:18,t:"Tambah Nilai dengan %@"}]},s:"15px",ls:"0.22px"}},wr=[],to="ResizeObserver loop completed with undelivered notifications.";(T=Jr||(Jr={})).BORDER_BOX="border-box",T.CONTENT_BOX="content-box",T.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var qs,Ri,Fr=function(T){return Object.freeze(T)},no=function(T,w){this.inlineSize=T,this.blockSize=w,Fr(this)},wn=function(){function T(w,x,L,ne){return this.x=w,this.y=x,this.width=L,this.height=ne,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Fr(this)}return T.prototype.toJSON=function(){var w=this;return{x:w.x,y:w.y,top:w.top,right:w.right,bottom:w.bottom,left:w.left,width:w.width,height:w.height}},T.fromRect=function(w){return new T(w.x,w.y,w.width,w.height)},T}(),Mo=function(T){return T instanceof SVGElement&&"getBBox"in T},yi=function(T){if(Mo(T)){var w=T.getBBox();return!w.width&&!w.height}return!(T.offsetWidth||T.offsetHeight||T.getClientRects().length)},gt=function(T){var w,x;if(T instanceof Element)return!0;var L=null===(x=null===(w=T)||void 0===w?void 0:w.ownerDocument)||void 0===x?void 0:x.defaultView;return!!(L&&T instanceof L.Element)},jt=typeof window<"u"?window:{},rt=new WeakMap,vi=/auto|scroll/,Zs=/^tb|vertical/,Yt=/msie|trident/i.test(jt.navigator&&jt.navigator.userAgent),or=function(T){return parseFloat(T||"0")},bi=function(T,w,x){return void 0===T&&(T=0),void 0===w&&(w=0),void 0===x&&(x=!1),new no((x?w:T)||0,(x?T:w)||0)},Ys=Fr({devicePixelContentBoxSize:bi(),borderBoxSize:bi(),contentBoxSize:bi(),contentRect:new wn(0,0,0,0)}),qn=function(T,w){if(void 0===w&&(w=!1),rt.has(T)&&!w)return rt.get(T);if(yi(T))return rt.set(T,Ys),Ys;var x=getComputedStyle(T),L=Mo(T)&&T.ownerSVGElement&&T.getBBox(),ne=!Yt&&"border-box"===x.boxSizing,re=Zs.test(x.writingMode||""),ue=!L&&vi.test(x.overflowY||""),pt=!L&&vi.test(x.overflowX||""),Xt=L?0:or(x.paddingTop),sr=L?0:or(x.paddingRight),Ci=L?0:or(x.paddingBottom),Ao=L?0:or(x.paddingLeft),ms=L?0:or(x.borderTopWidth),gs=L?0:or(x.borderRightWidth),ro=L?0:or(x.borderBottomWidth),ta=Ao+sr,Qr=Xt+Ci,Zn=(L?0:or(x.borderLeftWidth))+gs,ys=ms+ro,Ta=pt?T.offsetHeight-ys-T.clientHeight:0,jr=ue?T.offsetWidth-Zn-T.clientWidth:0,na=ne?ta+Zn:0,Ei=ne?Qr+ys:0,xo=L?L.width:or(x.width)-na-jr,Yn=L?L.height:or(x.height)-Ei-Ta,io=xo+ta+jr+Zn,oo=Yn+Qr+Ta+ys,vs=Fr({devicePixelContentBoxSize:bi(Math.round(xo*devicePixelRatio),Math.round(Yn*devicePixelRatio),re),borderBoxSize:bi(io,oo,re),contentBoxSize:bi(xo,Yn,re),contentRect:new wn(Ao,Xt,xo,Yn)});return rt.set(T,vs),vs},Cn=function(T,w,x){var L=qn(T,x),ne=L.borderBoxSize,re=L.contentBoxSize,ue=L.devicePixelContentBoxSize;switch(w){case Jr.DEVICE_PIXEL_CONTENT_BOX:return ue;case Jr.BORDER_BOX:return ne;default:return re}},Vr=function(T){var w=qn(T);this.target=T,this.contentRect=w.contentRect,this.borderBoxSize=Fr([w.borderBoxSize]),this.contentBoxSize=Fr([w.contentBoxSize]),this.devicePixelContentBoxSize=Fr([w.devicePixelContentBoxSize])},Kt=function(T){if(yi(T))return 1/0;for(var w=0,x=T.parentNode;x;)w+=1,x=x.parentNode;return w},Ea=function(){var T=1/0,w=[];wr.forEach(function(ne){if(0!==ne.activeTargets.length){var re=[];ne.activeTargets.forEach(function(ue){var pt=new Vr(ue.target),Xt=Kt(ue.target);re.push(pt),ue.lastReportedSize=Cn(ue.target,ue.observedBox),Xt<T&&(T=Xt)}),w.push(function(){ne.callback.call(ne.observer,re,ne.observer)}),ne.activeTargets.splice(0,ne.activeTargets.length)}});for(var x=0,L=w;x<L.length;x++)(0,L[x])();return T},_i=function(T){wr.forEach(function(w){w.activeTargets.splice(0,w.activeTargets.length),w.skippedTargets.splice(0,w.skippedTargets.length),w.observationTargets.forEach(function(x){x.isActive()&&(Kt(x.target)>T?w.activeTargets.push(x):w.skippedTargets.push(x))})})},Cr=[],wi=0,Ks={attributes:!0,characterData:!0,childList:!0,subtree:!0},ds=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Li=function(T){return void 0===T&&(T=0),Date.now()+T},be=!1,hs=new(function(){function T(){var w=this;this.stopped=!0,this.listener=function(){return w.schedule()}}return T.prototype.run=function(w){var x=this;if(void 0===w&&(w=250),!be){be=!0;var L,ne=Li(w);L=function(){var re=!1;try{re=function(){var T,w=0;for(_i(w);wr.some(function(x){return x.activeTargets.length>0});)w=Ea(),_i(w);return wr.some(function(x){return x.skippedTargets.length>0})&&("function"==typeof ErrorEvent?T=new ErrorEvent("error",{message:to}):((T=document.createEvent("Event")).initEvent("error",!1,!1),T.message=to),window.dispatchEvent(T)),w>0}()}finally{if(be=!1,w=ne-Li(),!wi)return;re?x.run(1e3):w>0?x.run(w):x.start()}},function(){if(!qs){var w=0,x=document.createTextNode("");new MutationObserver(function(){return Cr.splice(0).forEach(function(L){return L()})}).observe(x,{characterData:!0}),qs=function(){x.textContent=""+(w?w--:w++)}}Cr.push(function(){requestAnimationFrame(L)}),qs()}()}},T.prototype.schedule=function(){this.stop(),this.run()},T.prototype.observe=function(){var w=this,x=function(){return w.observer&&w.observer.observe(document.body,Ks)};document.body?x():jt.addEventListener("DOMContentLoaded",x)},T.prototype.start=function(){var w=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ds.forEach(function(x){return jt.addEventListener(x,w.listener,!0)}))},T.prototype.stop=function(){var w=this;this.stopped||(this.observer&&this.observer.disconnect(),ds.forEach(function(x){return jt.removeEventListener(x,w.listener,!0)}),this.stopped=!0)},T}()),Xs=function(T){!wi&&T>0&&hs.start(),!(wi+=T)&&hs.stop()},fs=function(){function T(w,x){this.target=w,this.observedBox=x||Jr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return T.prototype.isActive=function(){var w,x=Cn(this.target,this.observedBox,!0);return Mo(w=this.target)||function(L){switch(L.tagName){case"INPUT":if("image"!==L.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(w)||"inline"!==getComputedStyle(w).display||(this.lastReportedSize=x),this.lastReportedSize.inlineSize!==x.inlineSize||this.lastReportedSize.blockSize!==x.blockSize},T}(),Js=function(T,w){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=T,this.callback=w},ps=new WeakMap,Qs=function(T,w){for(var x=0;x<T.length;x+=1)if(T[x].target===w)return x;return-1},ea=function(){function T(){}return T.connect=function(w,x){var L=new Js(w,x);ps.set(w,L)},T.observe=function(w,x,L){var ne=ps.get(w),re=0===ne.observationTargets.length;Qs(ne.observationTargets,x)<0&&(re&&wr.push(ne),ne.observationTargets.push(new fs(x,L&&L.box)),Xs(1),hs.schedule())},T.unobserve=function(w,x){var L=ps.get(w),ne=Qs(L.observationTargets,x);ne>=0&&(1===L.observationTargets.length&&wr.splice(wr.indexOf(L),1),L.observationTargets.splice(ne,1),Xs(-1))},T.disconnect=function(w){var x=this,L=ps.get(w);L.observationTargets.slice().forEach(function(ne){return x.unobserve(w,ne.target)}),L.activeTargets.splice(0,L.activeTargets.length)},T}(),gr=function(){function T(w){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof w)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ea.connect(this,w)}return T.prototype.observe=function(w,x){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gt(w))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ea.observe(this,w,x)},T.prototype.unobserve=function(w){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gt(w))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ea.unobserve(this,w)},T.prototype.disconnect=function(){ea.disconnect(this)},T.toString=function(){return"function ResizeObserver () { [polyfill code] }"},T}();Ri=gi(document.documentElement),cs()||$t(Ri)||Rr(Ri);var Io=cs(),ut=class extends HTMLElement{constructor(){super(),this.__registerHost(),Object(de.b)(this),this.logoOnly=!1,this.fontLoading=!Io,this.buttonStyle="black",this.type="buy"}checkStyle(T,w){var x=Fi(T,w);x!==T&&this.element.setAttribute("buttonstyle",x)}checkType(T,w){var x=Po(T,w);x!==T&&this.element.setAttribute("type",x),this.metadata&&(this.minButtonWidth=this.getMinButtonWidth(this.metadata))}verifyLocaleAndSwapMetadata(T){this._locale=this.adjustLocaleAndSetLangIfNecessary(T),Io||this.loadFontIfNecessary(this._locale),this.metadata=ou[this._locale],this.minButtonWidth=this.getMinButtonWidth(this.metadata)}componentWillLoad(){var T=this;return Oe(function*(){var w=Fi(T.buttonStyle);w!==T.buttonStyle&&T.element.setAttribute("buttonstyle",w);var x=Po(T.type);x!==T.type&&T.element.setAttribute("type",x),T.verifyLocaleAndSwapMetadata(T.locale)})()}componentDidRender(){this.validateFontSize(this.container.offsetWidth)}componentDidLoad(){new gr((T,w)=>{for(var x of T){var{width:L}=x.contentRect;if("plain"===this.type)return;this.validateFontSize(L)}}).observe(this.container),this.element.addEventListener("click",T=>T.stopPropagation())}validateFontSize(T){var w,x,L,ne;"plain"!==this.type&&(T<this.minButtonWidth?(null===(w=this.container.querySelector("#svg-text"))||void 0===w||w.classList.add("hidden"),null===(x=this.container.querySelector("#svg-logo"))||void 0===x||x.classList.remove("hidden")):(null===(L=this.container.querySelector("#svg-text"))||void 0===L||L.classList.remove("hidden"),null===(ne=this.container.querySelector("#svg-logo"))||void 0===ne||ne.classList.add("hidden")))}getStyle(T){return":host(apple-pay-button){display:inline-block;width:var(--apple-pay-button-width, auto);"+"min-width:".concat("plain"===T?"100px":"140px",";")+"min-height:30px;"+(_n()?"":"display:none;")+"}"}loadFontIfNecessary(T){try{var w=document.fonts.check("15px apple-pay-btn-".concat(T)),x=$t(T);x||Rr(T),this.fontLoading=!x||!w,this.fontLoading&&document.fonts.ready.then(()=>setTimeout(()=>{this.fontLoading=!1},0))}catch{this.fontLoading=!1}}getMinButtonWidth(T){var re,w=Po(this.type),{width:x,height:L}="plain"===(re=w)?{width:35,height:15}:{width:Ws({metadata:T,buttonType:re}).width,height:18};return 15*x/L}adjustLocaleAndSetLangIfNecessary(T){var w=function(L){if(L){var ne=ft(Lt(L));if(ne)return ne}}(T);if(w){w!==T&&this.element.setAttribute("locale",w);var x=w.replace("_","-");this.element.setAttribute("lang",x)}else this.element.removeAttribute("locale"),this.element.removeAttribute("lang"),w=gi(this.element);return w}render(){var T=Fi(this.buttonStyle),w=Po(this.type);return Object(de.c)(de.a,{"aria-hidden":_n()?void 0:"true"},Object(de.c)("div",{class:"apple-pay-btn-wrapper ".concat(w," ").concat(this._locale),style:{visibility:this.fontLoading?"hidden":"visible"}},Object(de.c)("style",null,this.getStyle(w)),Object(de.c)("button",{"aria-label":zs(this.metadata,w),class:"apple-pay-btn ".concat(T)},Object(de.c)("span",{ref:x=>this.container=x,innerHTML:_r({metadata:this.metadata,locale:this._locale,buttonStyle:T,buttonType:w})}))))}static get assetsDirs(){return["assets/1.0.0"]}get element(){return this}static get watchers(){return{buttonStyle:["checkStyle"],type:["checkType"],locale:["verifyLocaleAndSwapMetadata"]}}static get style(){return'.apple-pay-btn-wrapper{width:100%;min-height:30px;height:var(--apple-pay-button-height, 30px)}.apple-pay-btn-wrapper.plain{min-width:100px}.plain .apple-pay-btn{--apple-pay-button-width-default:100px}.apple-pay-btn-wrapper .apple-pay-btn{background-color:black;border:none;color:white;cursor:pointer;font-synthesis:none;-ms-flex-pack:center;justify-content:center;position:relative;margin:0;-webkit-box-sizing:var(--apple-pay-button-box-sizing, content-box);box-sizing:var(--apple-pay-button-box-sizing, content-box);min-height:30px;height:calc(var(--apple-pay-button-height, 30px));min-width:var(--apple-pay-button-width-default, 140px);width:100%;border-radius:var(--apple-pay-button-border-radius, 4px);padding:var(--apple-pay-button-padding, 0);-moz-font-feature-settings:kern;-moz-osx-font-smoothing:"grayscale";-webkit-font-smoothing:antialiased}.apple-pay-btn-wrapper .apple-pay-btn.white,.apple-pay-btn-wrapper .apple-pay-btn.white-outline{background-color:white;color:black}.apple-pay-btn-wrapper .apple-pay-btn.white-outline{border:1px solid black}.apple-pay-btn-wrapper .apple-pay-btn>span{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%}.apple-pay-btn-wrapper .apple-pay-btn>span>svg{max-width:100%;min-height:24px;min-width:50%;height:100%;-webkit-transform:translateZ(0) scale(1, 1);transform:translateZ(0) scale(1, 1)}.apple-pay-btn-wrapper .apple-pay-btn #svg-text.hidden,.apple-pay-btn-wrapper .apple-pay-btn #svg-logo.hidden{display:none}'}};function Fi(T,w){var x=["black","white-outline","white"],L=T.trim();return x.includes(L)?L:w&&x.includes(w)?w:"black"}function Po(T,w){var x=T.trim();return Xr(x)?x:w&&Xr(w)?w:"buy"}typeof customElements<"u"&&[Object(de.d)(ut,[1,"apple-pay-button",{buttonStyle:[513,"buttonstyle"],type:[1537],locale:[1025],logoOnly:[32],fontLoading:[32]}])].forEach(T=>{customElements.get(T.is)||customElements.define(T.is,T,void 0)})}var Mt="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js";P.p=new URL(Mt.slice(0,Mt.lastIndexOf("/")));var et,ot,qe,_e,dn=!0;try{dn=globalThis}catch{dn=!1}window.customElements&&window.fetch&&Symbol("desc").description&&dn?Pt():(et=P.p+"/polyfills.js",ot=Pt,qe=document.body,(_e=document.createElement("script")).src=et,_e.onload=ot,_e.onreadystatechange=ot,qe.appendChild(_e))}.call(this,P(44))},104:function(z,V){function P(M){return Promise.resolve().then(function(){var de=new Error("Cannot find module '"+M+"'");throw de.code="MODULE_NOT_FOUND",de})}P.keys=function(){return[]},P.resolve=P,z.exports=P,P.id=104},14:function(z,V,P){"use strict";var M,de,Pe;function wr(b,E,I,O,F,H,Z){try{var $=b[H](Z),J=$.value}catch(Q){return void I(Q)}$.done?E(J):Promise.resolve(J).then(O,F)}function to(b){return function(){var E=this,I=arguments;return new Promise(function(O,F){var H=b.apply(E,I);function Z(J){wr(H,O,F,Z,$,"next",J)}function $(J){wr(H,O,F,Z,$,"throw",J)}Z(void 0)})}}P.d(V,"a",function(){return be}),P.d(V,"b",function(){return Rl}),P.d(V,"c",function(){return ds}),P.d(V,"d",function(){return Lh});var b,Ri=!1,Fr=!1,no=!1,wn=!1,yi=!1,gt=typeof window<"u"?window:{},jt=gt.document||{head:{}},rt={$flags$:0,$resourcesUrl$:"",jmp:b=>b(),raf:b=>requestAnimationFrame(b),ael:(b,E,I,O)=>b.addEventListener(E,I,O),rel:(b,E,I,O)=>b.removeEventListener(E,I,O),ce:(b,E)=>new CustomEvent(b,E)},Zs=(()=>{var b=!1;try{jt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){b=!0}}))}catch{}return b})(),Yt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch{}return!1})(),or=(b,E,I,O)=>{I&&I.map(([F,H,Z])=>{var $=Ys(b,F),J=bi(E,Z),Q=qn(F);rt.ael($,H,J,Q),(E.$rmListeners$=E.$rmListeners$||[]).push(()=>rt.rel($,H,J,Q))})},bi=(b,E)=>I=>{try{b.$hostElement$[E](I)}catch(O){ei(O)}},Ys=(b,E)=>4&E?jt:8&E?gt:16&E?jt.body:b,qn=b=>Zs?{passive:!!(1&b),capture:!!(2&b)}:!!(2&b),Cn="http://www.w3.org/1999/xlink",Kt=new WeakMap,Cr=(b,E)=>"sc-"+(E&&32&b.$flags$?b.$tagName$+"-"+E:b.$tagName$),wi={},Ks=b=>"object"==(b=typeof b)||"function"===b,ds=(b,E,...I)=>{var O=null,F=null,H=null,Z=!1,$=!1,J=[],Q=Ke=>{for(var nn=0;nn<Ke.length;nn++)O=Ke[nn],Array.isArray(O)?Q(O):null!=O&&"boolean"!=typeof O&&((Z="function"!=typeof b&&!Ks(O))&&(O=String(O)),Z&&$?J[J.length-1].$text$+=O:J.push(Z?Li(null,O):O),$=Z)};if(Q(I),E&&(E.key&&(F=E.key),E.name&&(H=E.name),1)){var Te=E.className||E.class;Te&&(E.class="object"!=typeof Te?Te:Object.keys(Te).filter(Ke=>Te[Ke]).join(" "))}if("function"==typeof b)return b(null===E?{}:E,J,Xs);var Ee=Li(b,null);return Ee.$attrs$=E,J.length>0&&(Ee.$children$=J),Ee.$key$=F,Ee.$name$=H,Ee},Li=(b,E)=>({$flags$:0,$tag$:b,$text$:E,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),be={},Xs={forEach:(b,E)=>b.map(fs).forEach(E),map:(b,E)=>b.map(fs).map(E).map(Js)},fs=b=>({vattrs:b.$attrs$,vchildren:b.$children$,vkey:b.$key$,vname:b.$name$,vtag:b.$tag$,vtext:b.$text$}),Js=b=>{if("function"==typeof b.vtag){var E=Object.assign({},b.vattrs);return b.vkey&&(E.key=b.vkey),b.vname&&(E.name=b.vname),ds(b.vtag,E,...b.vchildren||[])}var I=Li(b.vtag,b.vtext);return I.$attrs$=b.vattrs,I.$children$=b.vchildren,I.$key$=b.vkey,I.$name$=b.vname,I},Qs=(b,E,I,O,F,H)=>{if(I!==O){var Z=Di(b,E),$=E.toLowerCase();if("class"===E){var J=b.classList,Q=gr(I),Te=gr(O);J.remove(...Q.filter(pn=>pn&&!Te.includes(pn))),J.add(...Te.filter(pn=>pn&&!Q.includes(pn)))}else if("style"===E){for(var Ee in I)O&&null!=O[Ee]||(Ee.includes("-")?b.style.removeProperty(Ee):b.style[Ee]="");for(var Ke in O)I&&O[Ke]===I[Ke]||(Ke.includes("-")?b.style.setProperty(Ke,O[Ke]):b.style[Ke]=O[Ke])}else if("key"!==E)if("ref"===E)O&&O(b);else if(b.__lookupSetter__(E)||"o"!==E[0]||"n"!==E[1]){var nn=Ks(O);if((Z||nn&&null!==O)&&!F)try{if(b.tagName.includes("-"))b[E]=O;else{var kn=O??"";"list"===E?Z=!1:null!=I&&b[E]==kn||(b[E]=kn)}}catch{}var Gt=!1;$!==($=$.replace(/^xlink\:?/,""))&&(E=$,Gt=!0),null==O||!1===O?!1===O&&""!==b.getAttribute(E)||(Gt?b.removeAttributeNS(Cn,E):b.removeAttribute(E)):(!Z||4&H||F)&&!nn&&(O=!0===O?"":O,Gt?b.setAttributeNS(Cn,E,O):b.setAttribute(E,O))}else E="-"===E[2]?E.slice(3):Di(gt,$)?$.slice(2):$[2]+E.slice(3),I&&rt.rel(b,E,I,!1),O&&rt.ael(b,E,O,!1)}},ea=/\s/,gr=b=>b?b.split(ea):[],Io=(b,E,I,O)=>{var F=11===E.$elm$.nodeType&&E.$elm$.host?E.$elm$.host:E.$elm$,H=b&&b.$attrs$||wi,Z=E.$attrs$||wi;for(O in H)O in Z||Qs(F,O,H[O],void 0,I,E.$flags$);for(O in Z)Qs(F,O,H[O],Z[O],I,E.$flags$)},ut=(b,E,I,O)=>{var F,H,Z,$=E.$children$[I],J=0;if(!Ri&&(no=!0,"slot"===$.$tag$&&(M&&O.classList.add(M+"-s"),$.$flags$|=$.$children$?2:1)),null!==$.$text$)F=$.$elm$=jt.createTextNode($.$text$);else if(1&$.$flags$)F=$.$elm$=jt.createTextNode("");else{if(!wn&&(wn="svg"===$.$tag$),F=$.$elm$=jt.createElementNS(wn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$.$flags$?"slot-fb":$.$tag$),wn&&"foreignObject"===$.$tag$&&(wn=!1),Io(null,$,wn),null!=M&&F["s-si"]!==M&&F.classList.add(F["s-si"]=M),$.$children$)for(J=0;J<$.$children$.length;++J)(H=ut(b,$,J,F))&&F.appendChild(H);"svg"===$.$tag$?wn=!1:"foreignObject"===F.tagName&&(wn=!0)}return F["s-hn"]=Pe,3&$.$flags$&&(F["s-sr"]=!0,F["s-cr"]=de,F["s-sn"]=$.$name$||"",(Z=b&&b.$children$&&b.$children$[I])&&Z.$tag$===$.$tag$&&b.$elm$&&Fi(b.$elm$,!1)),F},Fi=(b,E)=>{rt.$flags$|=1;for(var I=b.childNodes,O=I.length-1;O>=0;O--){var F=I[O];F["s-hn"]!==Pe&&F["s-ol"]&&(x(F).insertBefore(F,w(F)),F["s-ol"].remove(),F["s-ol"]=void 0,no=!0),E&&Fi(F,E)}rt.$flags$&=-2},Po=(b,E,I,O,F,H)=>{var Z,$=b["s-cr"]&&b["s-cr"].parentNode||b;for($.shadowRoot&&$.tagName===Pe&&($=$.shadowRoot);F<=H;++F)O[F]&&(Z=ut(null,I,F,b))&&(O[F].$elm$=Z,$.insertBefore(Z,w(E)))},$r=(b,E,I,O,F)=>{for(;E<=I;++E)(O=b[E])&&(F=O.$elm$,Xt(O),Fr=!0,F["s-ol"]?F["s-ol"].remove():Fi(F,!0),F.remove())},T=(b,E)=>b.$tag$===E.$tag$&&("slot"===b.$tag$?b.$name$===E.$name$:b.$key$===E.$key$),w=b=>b&&b["s-ol"]||b,x=b=>(b["s-ol"]?b["s-ol"]:b).parentNode,L=(b,E)=>{var I,O=E.$elm$=b.$elm$,F=b.$children$,H=E.$children$,Z=E.$tag$,$=E.$text$;null!==$?(I=O["s-cr"])?I.parentNode.textContent=$:b.$text$!==$&&(O.data=$):(wn="svg"===Z||"foreignObject"!==Z&&wn,"slot"===Z||Io(b,E,wn),null!==F&&null!==H?((J,Q,Te,Ee)=>{for(var Ke,nn,kn=0,Gt=0,pn=0,Si=0,Kn=Q.length-1,Ut=Q[0],Dr=Q[Kn],ti=Ee.length-1,Sr=Ee[0],yr=Ee[ti];kn<=Kn&&Gt<=ti;)if(null==Ut)Ut=Q[++kn];else if(null==Dr)Dr=Q[--Kn];else if(null==Sr)Sr=Ee[++Gt];else if(null==yr)yr=Ee[--ti];else if(T(Ut,Sr))L(Ut,Sr),Ut=Q[++kn],Sr=Ee[++Gt];else if(T(Dr,yr))L(Dr,yr),Dr=Q[--Kn],yr=Ee[--ti];else if(T(Ut,yr))"slot"!==Ut.$tag$&&"slot"!==yr.$tag$||Fi(Ut.$elm$.parentNode,!1),L(Ut,yr),J.insertBefore(Ut.$elm$,Dr.$elm$.nextSibling),Ut=Q[++kn],yr=Ee[--ti];else if(T(Dr,Sr))"slot"!==Ut.$tag$&&"slot"!==yr.$tag$||Fi(Dr.$elm$.parentNode,!1),L(Dr,Sr),J.insertBefore(Dr.$elm$,Ut.$elm$),Dr=Q[--Kn],Sr=Ee[++Gt];else{for(pn=-1,Si=kn;Si<=Kn;++Si)if(Q[Si]&&null!==Q[Si].$key$&&Q[Si].$key$===Sr.$key$){pn=Si;break}pn>=0?((nn=Q[pn]).$tag$!==Sr.$tag$?Ke=ut(Q&&Q[Gt],Te,pn,J):(L(nn,Sr),Q[pn]=void 0,Ke=nn.$elm$),Sr=Ee[++Gt]):(Ke=ut(Q&&Q[Gt],Te,Gt,J),Sr=Ee[++Gt]),Ke&&x(Ut.$elm$).insertBefore(Ke,w(Ut.$elm$))}kn>Kn?Po(J,null==Ee[ti+1]?null:Ee[ti+1].$elm$,Te,Ee,Gt,ti):Gt>ti&&$r(Q,kn,Kn)})(O,F,E,H):null!==H?(null!==b.$text$&&(O.textContent=""),Po(O,null,E,H,0,H.length-1)):null!==F&&$r(F,0,F.length-1),wn&&"svg"===Z&&(wn=!1))},ne=b=>{var E,I,O,F,H,Z,$=b.childNodes;for(I=0,O=$.length;I<O;I++)if(1===(E=$[I]).nodeType){if(E["s-sr"])for(H=E["s-sn"],E.hidden=!1,F=0;F<O;F++)if(Z=$[F].nodeType,$[F]["s-hn"]!==E["s-hn"]||""!==H){if(1===Z&&H===$[F].getAttribute("slot")){E.hidden=!0;break}}else if(1===Z||3===Z&&""!==$[F].textContent.trim()){E.hidden=!0;break}ne(E)}},re=[],ue=b=>{for(var E,I,O,F,H,Z,$=0,J=b.childNodes,Q=J.length;$<Q;$++){if((E=J[$])["s-sr"]&&(I=E["s-cr"])&&I.parentNode)for(F=E["s-sn"],Z=(O=I.parentNode.childNodes).length-1;Z>=0;Z--)(I=O[Z])["s-cn"]||I["s-nr"]||I["s-hn"]===E["s-hn"]||(pt(I,F)?(H=re.find(Te=>Te.$nodeToRelocate$===I),Fr=!0,I["s-sn"]=I["s-sn"]||F,H?H.$slotRefNode$=E:re.push({$slotRefNode$:E,$nodeToRelocate$:I}),I["s-sr"]&&re.map(Te=>{pt(Te.$nodeToRelocate$,I["s-sn"])&&(H=re.find(Ee=>Ee.$nodeToRelocate$===I))&&!Te.$slotRefNode$&&(Te.$slotRefNode$=H.$slotRefNode$)})):re.some(Te=>Te.$nodeToRelocate$===I)||re.push({$nodeToRelocate$:I}));1===E.nodeType&&ue(E)}},pt=(b,E)=>1===b.nodeType?null===b.getAttribute("slot")&&""===E||b.getAttribute("slot")===E:b["s-sn"]===E||""===E,Xt=b=>{b.$attrs$&&b.$attrs$.ref&&b.$attrs$.ref(null),b.$children$&&b.$children$.map(Xt)},sr=(b,E)=>{var I=b.$hostElement$,O=b.$cmpMeta$,F=b.$vnode$||Li(null,null),H=(b=>b&&b.$tag$===be)(E)?E:ds(null,null,E);if(Pe=I.tagName,O.$attrsToReflect$&&(H.$attrs$=H.$attrs$||{},O.$attrsToReflect$.map(([nn,kn])=>H.$attrs$[kn]=I[nn])),H.$tag$=null,H.$flags$|=4,b.$vnode$=H,H.$elm$=F.$elm$=I.shadowRoot||I,M=I["s-sc"],de=I["s-cr"],Ri=!!(1&O.$flags$),Fr=!1,L(F,H),rt.$flags$|=1,no){var Z,$,J,Q,Te,Ee;ue(H.$elm$);for(var Ke=0;Ke<re.length;Ke++)($=(Z=re[Ke]).$nodeToRelocate$)["s-ol"]||((J=jt.createTextNode(""))["s-nr"]=$,$.parentNode.insertBefore($["s-ol"]=J,$));for(Ke=0;Ke<re.length;Ke++)if($=(Z=re[Ke]).$nodeToRelocate$,Z.$slotRefNode$){for(Q=Z.$slotRefNode$.parentNode,Te=Z.$slotRefNode$.nextSibling,J=$["s-ol"];J=J.previousSibling;)if((Ee=J["s-nr"])&&Ee["s-sn"]===$["s-sn"]&&Q===Ee.parentNode&&(!(Ee=Ee.nextSibling)||!Ee["s-nr"])){Te=Ee;break}(!Te&&Q!==$.parentNode||$.nextSibling!==Te)&&$!==Te&&(!$["s-hn"]&&$["s-ol"]&&($["s-hn"]=$["s-ol"].parentNode.nodeName),Q.insertBefore($,Te))}else 1===$.nodeType&&($.hidden=!0)}Fr&&ne(H.$elm$),rt.$flags$&=-2,re.length=0},ro=(b,E)=>{b.$flags$|=16;return Aa(()=>ta(b,E))},ta=(b,E)=>{var I,O=b.$hostElement$,H=O;return E?(Ei(O,"componentWillLoad"),I=jr(H,"componentWillLoad")):(Ei(O,"componentWillUpdate"),I=jr(H,"componentWillUpdate")),Ei(O,"componentWillRender"),I=na(I,()=>jr(H,"componentWillRender")),na(I,()=>Qr(b,H,E))},Qr=(b=to(function*(E,I,O){var F=E.$hostElement$;O&&(b=>{var E=b.$cmpMeta$,I=b.$hostElement$,O=E.$flags$,H=((b,E,I)=>{var F=Cr(E,I),H=Br.get(F);if(b=11===b.nodeType?b:jt,H)if("string"==typeof H){var Z,$=Kt.get(b=b.head||b);$||Kt.set(b,$=new Set),$.has(F)||((Z=jt.createElement("style")).innerHTML=H,b.insertBefore(Z,b.querySelector("link")),$&&$.add(F))}else!b.adoptedStyleSheets.includes(H)&&(b.adoptedStyleSheets=[...b.adoptedStyleSheets,H]);return F})(I.shadowRoot?I.shadowRoot:I.getRootNode(),E,b.$modeName$);10&O&&(I["s-sc"]=H,I.classList.add(H+"-h"),2&O&&I.classList.add(H+"-s"))})(E);Zn(E,I,F),ys(E)}),function(E,I,O){return b.apply(this,arguments)}),Zn=(b,E,I)=>{try{E=E.render&&E.render(),b.$flags$&=-17,b.$flags$|=2,sr(b,E)}catch($){ei($,b.$hostElement$)}return null},ys=b=>{var I=b.$hostElement$,F=I;jr(F,"componentDidRender"),Ei(I,"componentDidRender"),64&b.$flags$?(jr(F,"componentDidUpdate"),Ei(I,"componentDidUpdate")):(b.$flags$|=64,jr(F,"componentDidLoad"),Ei(I,"componentDidLoad"))},jr=(b,E,I)=>{if(b&&b[E])try{return b[E](I)}catch(O){ei(O)}},na=(b,E)=>b&&b.then?b.then(E):E(),Ei=(b,E)=>{},so=(b,E,I)=>{if(E.$members$){b.watchers&&(E.$watchers$=b.watchers);var O=Object.entries(E.$members$),F=b.prototype;O.map(([Z,[$]])=>{(31&$||32&$)&&Object.defineProperty(F,Z,{get(){return J=Z,ko(this).$instanceValues$.get(J);var J},set(J){((b,E,I,O)=>{var F,H,Z=ko(b),$=b,J=Z.$instanceValues$.get(E),Q=Z.$flags$,Te=$;if(H=O.$members$[E][0],(I=null==(F=I)||Ks(F)?F:4&H?"false"!==F&&(""===F||!!F):2&H?parseFloat(F):1&H?String(F):F)!==J&&(Z.$instanceValues$.set(E,I),1)){if(O.$watchers$&&128&Q){var Ee=O.$watchers$[E];Ee&&Ee.map(Ke=>{try{Te[Ke](I,J,E)}catch(nn){ei(nn,$)}})}if(2==(18&Q)){if(Te.componentShouldUpdate&&!1===Te.componentShouldUpdate(I,J,E))return;ro(Z,!1)}}})(this,Z,J,E)},configurable:!0,enumerable:!0})});var H=new Map;F.attributeChangedCallback=function(Z,$,J){rt.jmp(()=>{var Q=H.get(Z);this[Q]=(null!==J||"boolean"!=typeof this[Q])&&J})},b.observedAttributes=O.filter(([Z,$])=>15&$[0]).map(([Z,$])=>{var J=$[1]||Z;return H.set(J,Z),512&$[0]&&E.$attrsToReflect$.push([Z,J]),J})}return b},On=function(){var b=to(function*(E,I,O,F,H){if(!(32&I.$flags$)&&(H=E.constructor,I.$flags$|=160,H.style)){var J=H.style;"string"!=typeof J&&(J=J[I.$modeName$=(b=>au.map(E=>E(b)).find(E=>!!E))(E)]);var Q=Cr(O,I.$modeName$);if(!Br.has(Q)){((b,E,I)=>{var O=Br.get(b);Yt&&I?(O=O||new CSSStyleSheet).replace(E):O=E,Br.set(b,O)})(Q,J,!!(1&O.$flags$))}}ro(I,!0)});return function(E,I,O,F,H){return b.apply(this,arguments)}}(),Lh=(b,E)=>{var I={$flags$:E[0],$tagName$:E[1]};I.$members$=E[2],I.$listeners$=E[3],I.$watchers$=b.$watchers$,I.$attrsToReflect$=[];var O=b.prototype.connectedCallback,F=b.prototype.disconnectedCallback;return Object.assign(b.prototype,{__registerHost(){Er(this,I)},connectedCallback(){(b=>{if(!(1&rt.$flags$)){var E=ko(b),I=E.$cmpMeta$;1&E.$flags$?or(b,E,I.$listeners$):(E.$flags$|=1,12&I.$flags$&&(b=>{var E=b["s-cr"]=jt.createComment("");E["s-cn"]=!0,b.insertBefore(E,b.firstChild)})(b),On(b,E,I))}})(this),O&&O.call(this)},disconnectedCallback(){(()=>{if(!(1&rt.$flags$)){var E=ko(this);E.$rmListeners$&&(E.$rmListeners$.map(O=>O()),E.$rmListeners$=void 0)}})(),F&&F.call(this)}}),b.is=I.$tagName$,so(b,I)},Rl=b=>{b.attachShadow({mode:"open"})},Vi=new WeakMap,ko=b=>Vi.get(b),Er=(b,E)=>{var I={$flags$:0,$hostElement$:b,$cmpMeta$:E,$instanceValues$:new Map};return or(b,I,E.$listeners$),Vi.set(b,I)},Di=(b,E)=>E in b,ei=(b,E)=>(0,console.error)(b,E),Br=new Map,au=[],_s=[],Oo=[],uu=b=>{for(var E=0;E<b.length;E++)try{b[E](performance.now())}catch(I){ei(I)}b.length=0},Pa=()=>{uu(_s),uu(Oo),(yi=_s.length>0)&&rt.raf(Pa)},Aa=(b=>I=>{b.push(I),yi||(yi=!0,4&rt.$flags$?(b=>{Promise.resolve(void 0).then(b)})(Pa):rt.raf(Pa))})(Oo)},195:function(z,V,P){"use strict";P.r(V),P.d(V,"scopeCss",function(){return br});var M=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",de=new RegExp("(-shadowcsshost"+M,"gim"),Pe=new RegExp("(-shadowcsscontext"+M,"gim"),Oe=new RegExp("(-shadowcssslotted"+M,"gim"),te=/-shadowcsshost-no-combinator([^\s]*)/,me=[/::shadow/g,/::content/g],B=/-shadowcsshost/gim,le=/:host/gim,Pt=/::slotted/gim,Mt=/:host-context/gim,dn=/\/\*\s*[\s\S]*?\*\//g,et=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ot=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,qe=/([{}])/g,_e=(De,He)=>{var Le=Se(De),nt=0;return Le.escapedString.replace(ot,(...Ue)=>{var ze=Ue[2],Ze="",Xe=Ue[4],It="";Xe&&Xe.startsWith("{%BLOCK%")&&(Ze=Le.blocks[nt++],Xe=Xe.substring(8),It="{");var Re=He({selector:ze,content:Ze});return"".concat(Ue[1]).concat(Re.selector).concat(Ue[3]).concat(It).concat(Re.content).concat(Xe)})},Se=De=>{for(var He=De.split(qe),Le=[],nt=[],Ue=0,ze=[],Ze=0;Ze<He.length;Ze++){var Xe=He[Ze];"}"===Xe&&Ue--,Ue>0?ze.push(Xe):(ze.length>0&&(nt.push(ze.join("")),Le.push("%BLOCK%"),ze=[]),Le.push(Xe)),"{"===Xe&&Ue++}return ze.length>0&&(nt.push(ze.join("")),Le.push("%BLOCK%")),{escapedString:Le.join(""),blocks:nt}},We=(De,He,Le)=>De.replace(He,(...nt)=>{if(nt[2]){for(var Ue=nt[2].split(","),ze=[],Ze=0;Ze<Ue.length;Ze++){var Xe=Ue[Ze].trim();if(!Xe)break;ze.push(Le("-shadowcsshost-no-combinator",Xe,nt[3]))}return ze.join(",")}return"-shadowcsshost-no-combinator"+nt[3]}),tt=(De,He,Le)=>De+He.replace("-shadowcsshost","")+Le,_n=(De,He,Le)=>He.indexOf("-shadowcsshost")>-1?tt(De,He,Le):De+He+Le+", "+He+" "+De+Le,Nn=(De,He,Le,nt,Ue)=>_e(De,ze=>{var Re,Ye,Wt,Ze=ze.selector,Xe=ze.content;return"@"!==ze.selector[0]?(Re=He,Ye=Le,Wt=nt,Ze=ze.selector.split(",").map(tn=>Wt&&tn.indexOf("."+Wt)>-1?tn.trim():((De,He)=>{return!(Le=He,Le=Le.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+Le+")([>\\s~+[.,{:][\\s\\S]*)?$","m")).test(De);var Le})(tn,Re)?((De,He,Le)=>{for(var nt,Ue="."+(He=He.replace(/\[is=([^\]]*)\]/g,(qt,...Je)=>Je[0])),ze=qt=>{var Je=qt.trim();if(!Je)return"";if(qt.indexOf("-shadowcsshost-no-combinator")>-1)Je=((Yr,At,An)=>{if(B.lastIndex=0,B.test(Yr)){var Kr=".".concat(An);return Yr.replace(te,(at,xn)=>xn.replace(/([^:]*)(:*)(.*)/,(Lt,Oi,ft,gi)=>Oi+Kr+ft+gi)).replace(B,Kr+" ")}return At+" "+Yr})(qt,He,Le);else{var jn=qt.replace(B,"");if(jn.length>0){var Zt=jn.match(/([^:]*)(:*)(.*)/);Zt&&(Je=Zt[1]+Ue+Zt[2]+Zt[3])}}return Je},Ze=(qt=>{var Je=[],jn=0;return{content:(qt=qt.replace(/(\[[^\]]*\])/g,(Zt,Yr)=>{var At="__ph-".concat(jn,"__");return Je.push(Yr),jn++,At})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(Zt,Yr,At)=>{var An="__ph-".concat(jn,"__");return Je.push(At),jn++,Yr+An}),placeholders:Je}})(De),Xe="",It=0,Re=/( |>|\+|~(?!=))\s*/g,Ye=!((De=Ze.content).indexOf("-shadowcsshost-no-combinator")>-1);null!==(nt=Re.exec(De));){var Wt=nt[1],tn=De.slice(It,nt.index).trim(),$n=(Ye=Ye||tn.indexOf("-shadowcsshost-no-combinator")>-1)?ze(tn):tn;Xe+="".concat($n," ").concat(Wt," "),It=Re.lastIndex}var fn,Rt=De.substring(It);return Xe+=(Ye=Ye||Rt.indexOf("-shadowcsshost-no-combinator")>-1)?ze(Rt):Rt,fn=Ze.placeholders,Xe.replace(/__ph-(\d+)__/g,(qt,Je)=>fn[+Je])})(tn,Re,Ye).trim():tn.trim()).join(", ")):(ze.selector.startsWith("@media")||ze.selector.startsWith("@supports")||ze.selector.startsWith("@page")||ze.selector.startsWith("@document"))&&(Xe=Nn(ze.content,He,Le,nt)),{selector:Ze.replace(/\s{2,}/g," ").trim(),content:Xe}}),br=(De,He,Le)=>{var nt=He+"-h",Ue=He+"-s",ze=De.match(et)||[];De=De.replace(dn,"");var Ze=[];if(Le){var Xe=Re=>{var Ye="/*!@___".concat(Ze.length,"___*/"),Wt="/*!@".concat(Re.selector,"*/");return Ze.push({placeholder:Ye,comment:Wt}),Re.selector=Ye+Re.selector,Re};De=_e(De,Re=>"@"!==Re.selector[0]?Xe(Re):((Re.selector.startsWith("@media")||Re.selector.startsWith("@supports")||Re.selector.startsWith("@page")||Re.selector.startsWith("@document"))&&(Re.content=_e(Re.content,Xe)),Re))}var It=((De,He,Le,nt)=>{var Ze,ze=((Ze,Xe)=>{var It="."+Xe+" > ",Re=[];return Ze=Ze.replace(Oe,(...Ye)=>{if(Ye[2]){for(var Wt=Ye[2].trim(),$n=It+Wt+Ye[3],fn="",Rt=Ye[4]-1;Rt>=0;Rt--){var qt=Ye[5][Rt];if("}"===qt||","===qt)break;fn=qt+fn}var Je=fn+$n,jn="".concat(fn.trimRight()).concat($n.trim());if(Je.trim()!==jn.trim()){var Zt="".concat(jn,", ").concat(Je);Re.push({orgSelector:Je,updatedSelector:Zt})}return $n}return"-shadowcsshost-no-combinator"+Ye[3]}),{selectors:Re,cssText:Ze}})(De=(Ze=>We(Ze,Pe,_n))((Ze=De=De.replace(Mt,"-shadowcsscontext").replace(le,"-shadowcsshost").replace(Pt,"-shadowcssslotted"),De=We(Ze,de,tt))),nt);return De=(Ze=>me.reduce((Xe,It)=>Xe.replace(It," "),Ze))(De=ze.cssText),He&&(De=Nn(De,He,Le,nt)),{cssText:(De=(De=De.replace(/-shadowcsshost-no-combinator/g,".".concat(Le))).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:ze.selectors}})(De,He,nt,Ue);return De=[It.cssText,...ze].join("\n"),Le&&Ze.forEach(({placeholder:Re,comment:Ye})=>{De=De.replace(Re,Ye)}),It.slottedSelectors.forEach(Re=>{De=De.replace(Re.orgSelector,Re.updatedSelector)}),De}},44:function(z,V){var P;P=function(){return this}();try{P=P||new Function("return this")()}catch{"object"==typeof window&&(P=window)}z.exports=P}})},463:function(){(function(){window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo=[-718583466,-651407173,1501053020,1270931793,1878965203,1359979311,-1556396599,-929820290,-1993966558,969369487,813004726,545283320,1144403640]}).call(this),function(){window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo=[1432838318]}.call(this),function(){window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo=[1260893,211376492,-383338062,621213554,-1574521140,318272649,-1021013306]}.call(this),function(){window.denylistedMerchantIdsHashedValueListForGpayButtonVariant=[]}.call(this),function(){window.allowlistedMerchantDomainsForBnplDynamicButton=[1605359444,1058617217,-1952496552,1475577307,-266458566,-1100178842,82073654,1871160076,1512037837,-324377671,-1836633316,1257306572,-490810357,914948972,1312509109,1456172824,1359979311,2119319518,1000705814,-557041780,217951089,-733157279,545927057,-1637503934,587727802,439938499,-82521450,1010792251,-1600155240,501105821,1687733144,-594871460,-292702292,1047750569,1757603081,1277798904,140429097,830662232,-1591032177,409676547,388255805,14664163,-888714055,2024616735,-1854751591,969369487,-1671782663,-364941361,1459357773,1285145032,949802706,-965096850,-800621897,-705555514,-1274801837,-371468606,401692316,596576164]}.call(this),function(){window.allowlistedMerchantDomainsForRlmiaDynamicButton=[1030427005,-1467922549,-539967585]}.call(this),function(){window.allowlistedMerchantDomainsForPopupModeLoadingScreen=[-1952239152,-1239320691,1567214642,697229904,486133992,-31862958,-1800077669]}.call(this),function(){window.dynamicGpayButtonVariant="GPAY_BUTTON_VARIANT_TYPE_NONE"}.call(this),function(){this.google=this.google||{},this.google.payments=this.google.payments||{},this.google.payments.api=this.google.payments.api||{},this.google.payments.api.ButtonTypePolicyInPayjs=0}.call(this),function(){this.google=this.google||{},this.google.payments=this.google.payments||{},this.google.payments.api=this.google.payments.api||{},this.google.payments.api.IsAnonymousUser=!1}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","ReadyToPayAdditionalBrowsers"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","PaymentHandlerLaunchPayjs"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","PaymentHandlerDynamicUpdatesLaunchPayjs"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnablePopupForChromeAndroid"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableDynamicGpayButton"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableDynamicUpdateForClank"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableGpayButtonAriaLabelLocalization"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnablePaymentRequest"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableLoadPaymentDataTimeout"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableOfferCallback"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","UseCanMakePaymentForFallbackOnMobile"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableImprovedIsrtpLogging"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableClosePopupOnHostingPageUnload"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnablePaymentHandlerSandboxBuyflow"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableGpayButtonDynamicRadius"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableWebNgbfForCallbackIntents"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableDynamicGpayButtonForPayButton"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableDynamicGpayButtonForPlainButton"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableRlmiaButtonAnimation"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableCreateButtonApiOnClickLogging"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableLoadingScreenForPopupMode"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableButtonBorderInset"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){for(var M,z=this||self,V=["google","payments","api","EnableRlmiaSmallerText"],P=window||z;V.length&&(M=V.shift());)V.length?P=P[M]&&P[M]!==Object.prototype[M]?P[M]:P[M]={}:P[M]=!0}.call(this),function(){var z,V,P=function(a){var l=0;return function(){return l<a.length?{done:!1,value:a[l++]}:{done:!0}}},M="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,f){return a==Array.prototype||a==Object.prototype||(a[l]=f.value),a},Pe=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var l=0;l<a.length;++l){var f=a[l];if(f&&f.Math==Math)return f}throw Error("Cannot find global object")}(this),Oe="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),te={},me={},B=function(a,l,f){if(!f||null!=a)return null==(f=me[l])?a[l]:void 0!==(f=a[f])?f:a[l]},le=function(a,l,f){if(l)e:{var p=a.split("."),v=p[0];v=!(a=1===p.length)&&v in te?te:Pe;for(var C=0;C<p.length-1;C++){var D=p[C];if(!(D in v))break e;v=v[D]}p=p[p.length-1],null!=(l=l(f=Oe&&"es6"===f?v[p]:null))&&(a?M(te,p,{configurable:!0,writable:!0,value:l}):l!==f&&(void 0===me[p]&&(a=1e9*Math.random()>>>0,me[p]=Oe?Pe.Symbol(p):"$jscp$"+a+"$"+p),M(v,me[p],{configurable:!0,writable:!0,value:l})))}};le("Symbol",function(a){if(a)return a;var l=function(C,D){this.kc=C,M(this,"description",{configurable:!0,writable:!0,value:D})};l.prototype.toString=function(){return this.kc};var f="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",p=0,v=function(C){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return new l(f+(C||"")+"_"+p++,C)};return v},"es6"),le("Symbol.iterator",function(a){if(a)return a;a=(0,te.Symbol)("Symbol.iterator");for(var l="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),f=0;f<l.length;f++){var p=Pe[l[f]];"function"==typeof p&&"function"!=typeof p.prototype[a]&&M(p.prototype,a,{configurable:!0,writable:!0,value:function(){return Pt(P(this))}})}return a},"es6");var dn,Pt=function(a){return(a={next:a})[B(te.Symbol,"iterator")]=function(){return this},a},Mt="function"==typeof Object.create?Object.create:function(a){var l=function(){};return l.prototype=a,new l};if(Oe&&"function"==typeof Object.setPrototypeOf)dn=Object.setPrototypeOf;else{var et;e:{var qe={};try{qe.__proto__={a:!0},et=qe.a;break e}catch{}et=!1}dn=et?function(a,l){if(a.__proto__=l,a.__proto__!==l)throw new TypeError(a+" is not extensible");return a}:null}var _e=dn,Se=function(a){var l=typeof te.Symbol<"u"&&B(te.Symbol,"iterator")&&a[B(te.Symbol,"iterator")];if(l)return l.call(a);if("number"==typeof a.length)return{next:P(a)};throw Error(String(a)+" is not an iterable or ArrayLike")},We=function(a){if(!(a instanceof Array)){a=Se(a);for(var l,f=[];!(l=a.next()).done;)f.push(l.value);a=f}return a},tt=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},_n=Oe&&"function"==typeof B(Object,"assign")?B(Object,"assign"):function(a,l){for(var f=1;f<arguments.length;f++){var p=arguments[f];if(p)for(var v in p)tt(p,v)&&(a[v]=p[v])}return a};le("Object.assign",function(a){return a||_n},"es6");var hn=function(){this.Ja=!1,this.la=null,this.Xa=void 0,this.X=1,this.Rb=this.ob=0,this.wa=null},Zr=function(a){if(a.Ja)throw new TypeError("Generator is already running");a.Ja=!0};hn.prototype.Ka=function(a){this.Xa=a},hn.prototype.Ta=function(a){this.wa={vc:a,zc:!0},this.X=this.ob||this.Rb},hn.prototype.return=function(a){this.wa={return:a},this.X=this.Rb};var Nn=function(a,l,f){return a.X=f,{value:l}},Pn=function(a){this.h=new hn,this.Gc=a};Pn.prototype.Ka=function(a){return Zr(this.h),this.h.la?De(this,this.h.la.next,a,this.h.Ka):(this.h.Ka(a),He(this))},Pn.prototype.Ta=function(a){return Zr(this.h),this.h.la?De(this,this.h.la.throw,a,this.h.Ka):(this.h.Ta(a),He(this))};var De=function(a,l,f,p){try{var v=l.call(a.h.la,f);if(!(v instanceof Object))throw new TypeError("Iterator result "+v+" is not an object");if(!v.done)return a.h.Ja=!1,v;var C=v.value}catch(D){return a.h.la=null,a.h.Ta(D),He(a)}return a.h.la=null,p.call(a.h,C),He(a)},He=function(a){for(;a.h.X;)try{var l=a.Gc(a.h);if(l)return a.h.Ja=!1,{value:l.value,done:!1}}catch(f){a.h.Xa=void 0,a.h.Ta(f)}if(a.h.Ja=!1,a.h.wa){if(l=a.h.wa,a.h.wa=null,l.zc)throw l.vc;return{value:l.return,done:!0}}return{value:void 0,done:!0}},Le=function(a){this.next=function(l){return a.Ka(l)},this.throw=function(l){return a.Ta(l)},this.return=function(l){return function(a,l){Zr(a.h);var f=a.h.la;return f?De(a,"return"in f?f.return:function(p){return{value:p,done:!0}},l,a.h.return):(a.h.return(l),He(a))}(a,l)},this[B(te.Symbol,"iterator")]=function(){return this}},Ue=function(a){return function(a){function l(p){return a.next(p)}function f(p){return a.throw(p)}return new te.Promise(function(p,v){!function C(D){D.done?p(D.value):te.Promise.resolve(D.value).then(l,f).then(C,v)}(a.next())})}(new Le(new Pn(a)))},ze=function(){for(var a=Number(this),l=[],f=a;f<arguments.length;f++)l[f-a]=arguments[f];return l};le("globalThis",function(a){return a||Pe},"es_2020"),le("Promise",function(a){function l(){this.Z=null}function f(D){return D instanceof v?D:new v(function(A){A(D)})}if(a)return a;l.prototype.Kb=function(D){if(null==this.Z){this.Z=[];var A=this;this.Lb(function(){A.wc()})}this.Z.push(D)};var p=Pe.setTimeout;l.prototype.Lb=function(D){p(D,0)},l.prototype.wc=function(){for(;this.Z&&this.Z.length;){var D=this.Z;this.Z=[];for(var A=0;A<D.length;++A){var X=D[A];D[A]=null;try{X()}catch(q){this.rc(q)}}}this.Z=null},l.prototype.rc=function(D){this.Lb(function(){throw D})};var v=function(D){this.Ba=0,this.ea=void 0,this.Aa=[],this.Tb=!1;var A=this.rb();try{D(A.resolve,A.reject)}catch(X){A.reject(X)}};v.prototype.rb=function(){function D(q){return function(ge){X||(X=!0,q.call(A,ge))}}var A=this,X=!1;return{resolve:D(this.Lc),reject:D(this.Bb)}},v.prototype.Lc=function(D){if(D===this)this.Bb(new TypeError("A Promise cannot resolve to itself"));else if(D instanceof v)this.Oc(D);else{e:switch(typeof D){case"object":var A=null!=D;break e;case"function":A=!0;break e;default:A=!1}A?this.Kc(D):this.Sb(D)}},v.prototype.Kc=function(D){var A=void 0;try{A=D.then}catch(X){return void this.Bb(X)}"function"==typeof A?this.Pc(A,D):this.Sb(D)},v.prototype.Bb=function(D){this.ic(2,D)},v.prototype.Sb=function(D){this.ic(1,D)},v.prototype.ic=function(D,A){if(0!=this.Ba)throw Error("Cannot settle("+D+", "+A+"): Promise already settled in state"+this.Ba);this.Ba=D,this.ea=A,2===this.Ba&&this.Mc(),this.xc()},v.prototype.Mc=function(){var D=this;p(function(){if(D.Cc()){var A=Pe.console;typeof A<"u"&&A.error(D.ea)}},1)},v.prototype.Cc=function(){if(this.Tb)return!1;var D=Pe.CustomEvent,A=Pe.Event,X=Pe.dispatchEvent;return typeof X>"u"||("function"==typeof D?D=new D("unhandledrejection",{cancelable:!0}):"function"==typeof A?D=new A("unhandledrejection",{cancelable:!0}):(D=Pe.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,D),D.promise=this,D.reason=this.ea,X(D))},v.prototype.xc=function(){if(null!=this.Aa){for(var D=0;D<this.Aa.length;++D)C.Kb(this.Aa[D]);this.Aa=null}};var C=new l;return v.prototype.Oc=function(D){var A=this.rb();D.bb(A.resolve,A.reject)},v.prototype.Pc=function(D,A){var X=this.rb();try{D.call(A,X.resolve,X.reject)}catch(q){X.reject(q)}},v.prototype.then=function(D,A){function X(En,ur){return"function"==typeof En?function(vu){try{q(En(vu))}catch(ri){ge(ri)}}:ur}var q,ge,Bt=new v(function(En,ur){q=En,ge=ur});return this.bb(X(D,q),X(A,ge)),Bt},v.prototype.catch=function(D){return this.then(void 0,D)},v.prototype.bb=function(D,A){function X(){switch(q.Ba){case 1:D(q.ea);break;case 2:A(q.ea);break;default:throw Error("Unexpected state: "+q.Ba)}}var q=this;null==this.Aa?C.Kb(X):this.Aa.push(X),this.Tb=!0},v.resolve=f,v.reject=function(D){return new v(function(A,X){X(D)})},v.race=function(D){return new v(function(A,X){for(var q=Se(D),ge=q.next();!ge.done;ge=q.next())f(ge.value).bb(A,X)})},v.all=function(D){var A=Se(D),X=A.next();return X.done?f([]):new v(function(q,ge){function Bt(vu){return function(ri){En[vu]=ri,0==--ur&&q(En)}}var En=[],ur=0;do{En.push(void 0),ur++,f(X.value).bb(Bt(En.length-1),ge),X=A.next()}while(!X.done)})},v},"es6"),le("Symbol.dispose",function(a){return a||(0,te.Symbol)("Symbol.dispose")},"es_next"),le("WeakMap",function(a){function l(){}function f(D){var A=typeof D;return"object"===A&&null!==D||"function"===A}if(function(){if(!a||!Object.seal)return!1;try{var D=Object.seal({}),A=Object.seal({}),X=new a([[D,2],[A,3]]);return 2==X.get(D)&&3==X.get(A)&&(X.delete(D),X.set(A,4),!X.has(D)&&4==X.get(A))}catch{return!1}}())return a;var p="$jscomp_hidden_"+Math.random(),v=0,C=function(D){if(this.Ha=(v+=Math.random()+1).toString(),D){D=Se(D);for(var A;!(A=D.next()).done;)this.set((A=A.value)[0],A[1])}};return C.prototype.set=function(D,A){if(!f(D))throw Error("Invalid WeakMap key");if(!tt(D,p)){var X=new l;M(D,p,{value:X})}if(!tt(D,p))throw Error("WeakMap key fail: "+D);return D[p][this.Ha]=A,this},C.prototype.get=function(D){return f(D)&&tt(D,p)?D[p][this.Ha]:void 0},C.prototype.has=function(D){return f(D)&&tt(D,p)&&tt(D[p],this.Ha)},C.prototype.delete=function(D){return!!(f(D)&&tt(D,p)&&tt(D[p],this.Ha))&&delete D[p][this.Ha]},C},"es6"),le("Map",function(a){if(function(){if(!a||"function"!=typeof a||!B(a.prototype,"entries")||"function"!=typeof Object.seal)return!1;try{var A=Object.seal({x:4}),X=new a(Se([[A,"s"]]));if("s"!=X.get(A)||1!=X.size||X.get({x:4})||X.set({x:4},"t")!=X||2!=X.size)return!1;var q=B(X,"entries").call(X),ge=q.next();return!ge.done&&ge.value[0]==A&&"s"==ge.value[1]&&!((ge=q.next()).done||4!=ge.value[0].x||"t"!=ge.value[1]||!q.next().done)}catch{return!1}}())return a;var l=new te.WeakMap,f=function(A){if(this[0]={},this[1]=C(),this.size=0,A){A=Se(A);for(var X;!(X=A.next()).done;)this.set((X=X.value)[0],X[1])}};f.prototype.set=function(A,X){var q=p(this,A=0===A?0:A);return q.list||(q.list=this[0][q.id]=[]),q.C?q.C.value=X:(q.C={next:this[1],Y:this[1].Y,head:this[1],key:A,value:X},q.list.push(q.C),this[1].Y.next=q.C,this[1].Y=q.C,this.size++),this},f.prototype.delete=function(A){return!(!(A=p(this,A)).C||!A.list||(A.list.splice(A.index,1),A.list.length||delete this[0][A.id],A.C.Y.next=A.C.next,A.C.next.Y=A.C.Y,A.C.head=null,this.size--,0))},f.prototype.clear=function(){this[0]={},this[1]=this[1].Y=C(),this.size=0},f.prototype.has=function(A){return!!p(this,A).C},f.prototype.get=function(A){return(A=p(this,A).C)&&A.value},f.prototype.entries=function(){return v(this,function(A){return[A.key,A.value]})},f.prototype.keys=function(){return v(this,function(A){return A.key})},f.prototype.values=function(){return v(this,function(A){return A.value})},f.prototype.forEach=function(A,X){for(var ge,q=B(this,"entries").call(this);!(ge=q.next()).done;)A.call(X,(ge=ge.value)[1],ge[0],this)},f.prototype[B(te.Symbol,"iterator")]=B(f.prototype,"entries");var p=function(A,X){var q=X&&typeof X;"object"==q||"function"==q?l.has(X)?q=l.get(X):(q=""+ ++D,l.set(X,q)):q="p_"+X;var ge=A[0][q];if(ge&&tt(A[0],q))for(A=0;A<ge.length;A++){var Bt=ge[A];if(X!=X&&Bt.key!=Bt.key||X===Bt.key)return{id:q,list:ge,index:A,C:Bt}}return{id:q,list:ge,index:-1,C:void 0}},v=function(A,X){var q=A[1];return Pt(function(){if(q){for(;q.head!=A[1];)q=q.Y;for(;q.next!=q.head;)return{done:!1,value:X(q=q.next)};q=null}return{done:!0,value:void 0}})},C=function(){var A={};return A.Y=A.next=A.head=A},D=0;return f},"es6");var Ze=function(a,l){a instanceof String&&(a+="");var f=0,p=!1,v={next:function(){if(!p&&f<a.length){var C=f++;return{value:l(C,a[C]),done:!1}}return p=!0,{done:!0,value:void 0}}};return v[B(te.Symbol,"iterator")]=function(){return v},v};le("Array.prototype.entries",function(a){return a||function(){return Ze(this,function(l,f){return[l,f]})}},"es6"),le("Array.prototype.keys",function(a){return a||function(){return Ze(this,function(l){return l})}},"es6"),le("Object.entries",function(a){return a||function(l){var p,f=[];for(p in l)tt(l,p)&&f.push([p,l[p]]);return f}},"es8"),le("Array.prototype.values",function(a){return a||function(){return Ze(this,function(l,f){return f})}},"es8"),le("Array.from",function(a){return a||function(l,f,p){f=f??function(A){return A};var v=[],C=typeof te.Symbol<"u"&&B(te.Symbol,"iterator")&&l[B(te.Symbol,"iterator")];if("function"==typeof C){l=C.call(l);for(var D=0;!(C=l.next()).done;)v.push(f.call(p,C.value,D++))}else for(C=l.length,D=0;D<C;D++)v.push(f.call(p,l[D],D));return v}},"es6"),le("Object.values",function(a){return a||function(l){var p,f=[];for(p in l)tt(l,p)&&f.push(l[p]);return f}},"es8"),le("Object.is",function(a){return a||function(l,f){return l===f?0!==l||1/l==1/f:l!=l&&f!=f}},"es6"),le("Array.prototype.includes",function(a){return a||function(l,f){var p=this;p instanceof String&&(p=String(p));var v=p.length;for((f=f||0)<0&&(f=Math.max(f+v,0));f<v;f++){var C=p[f];if(C===l||B(Object,"is").call(Object,C,l))return!0}return!1}},"es7"),le("String.prototype.includes",function(a){return a||function(l,f){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(l instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(l,f||0)}},"es6");var Xe=this||self,It=function(a,l){a=a.split(".");for(var p,f=window||Xe;a.length&&(p=a.shift());)a.length||void 0===l?f=f[p]&&f[p]!==Object.prototype[p]?f[p]:f[p]={}:f[p]=l},Re=function(a){var l=typeof a;return"object"!=l?l:a?Array.isArray(a)?"array":l:"null"},Ye=function(a){var l=Re(a);return"array"==l||"object"==l&&"number"==typeof a.length},Wt=function(a){var l=typeof a;return"object"==l&&null!=a||"function"==l},tn=function(a,l,f){return a.call.apply(a.bind,arguments)},$n=function(a,l,f){if(!a)throw Error();if(arguments.length>2){var p=Array.prototype.slice.call(arguments,2);return function(){var v=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(v,p),a.apply(l,v)}}return function(){return a.apply(l,arguments)}},fn=function(a,l,f){return(fn=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?tn:$n).apply(null,arguments)},Rt=function(a,l){function f(){}f.prototype=l.prototype,a.Da=l.prototype,a.prototype=new f,a.prototype.constructor=a,a.zd=function(p,v,C){for(var D=Array(arguments.length-2),A=2;A<arguments.length;A++)D[A-2]=arguments[A];return l.prototype[v].apply(p,D)}};function qt(a,l){if(Error.captureStackTrace)Error.captureStackTrace(this,qt);else{var f=Error().stack;f&&(this.stack=f)}a&&(this.message=String(a)),void 0!==l&&(this.cause=l)}function Je(a,l){for(var f="",p=(a=a.split("%s")).length-1,v=0;v<p;v++)f+=a[v]+(v<l.length?l[v]:"%s");qt.call(this,f+a[p])}function jn(a,l,f,p){var v="Assertion failed";if(f){v+=": "+f;var C=p}else a&&(v+=": "+a,C=l);throw new Je(""+v,C||[])}Rt(qt,Error),qt.prototype.name="CustomError",Rt(Je,qt),Je.prototype.name="AssertionError";var Zt=function(a,l,f){return a||jn("",null,l,Array.prototype.slice.call(arguments,2)),a},At=function(a,l,f){return"number"!=typeof a&&jn("Expected number but got %s: %s.",[Re(a),a],l,Array.prototype.slice.call(arguments,2)),a},Kr=function(a,l){this.jc=a===Oi&&l||"",this.oc=Lt};Kr.prototype.toString=function(){return this.jc};var at=function(a){return a instanceof Kr&&a.constructor===Kr&&a.oc===Lt?a.jc:(function(a,l){throw new Je("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1))}("expected object of type Const, got '"+a+"'"),"type_error:Const")},xn=function(a){return new Kr(Oi,a)},Lt={},Oi={},ft={lc:"PAYMENT_AUTHORIZATION",mc:"SHIPPING_ADDRESS",nc:"SHIPPING_OPTION",vd:"UNKNOWN_INTENT"},gi={Wc:"CANARY",fd:"LOCAL",od:"PREPROD",pd:"PRODUCTION",qd:"SANDBOX",td:"TEST",ud:"TIN"},cs={Yc:"CRYPTOGRAM_3DS",ld:"PAN_ONLY"},$t={bd:"ESTIMATED",dd:"FINAL",hd:"NOT_CURRENTLY_KNOWN"},Rr={SHORT:"short",gd:"long",nd:"plain",Vc:"buy",ad:"donate",Uc:"book",Xc:"checkout",kd:"order",md:"pay",sd:"subscribe"},Ft={Zc:"default",Tc:"black",xd:"white"},Us={rd:"static",cd:"fill"},Qi={buy:{en:152,ar:189,bg:163,ca:182,cs:192,da:154,de:183,el:178,es:183,et:147,fi:148,fr:183,hr:157,id:186,it:182,ja:148,ko:137,ms:186,nl:167,no:158,pl:182,pt:193,ru:206,sk:157,sl:211,sr:146,sv:154,th:146,tr:161,uk:207,zh:156},book:{ar:205,bg:233,ca:187,cs:213,da:162,de:176,el:180,en:161,es:188,et:186,fi:152,fr:197,hr:198,id:195,it:178,ja:150,ko:150,ms:211,nl:178,no:195,pl:221,pt:208,ru:265,sk:206,sl:266,sr:196,sv:161,th:150,tr:238,uk:248,zh:158},checkout:{ar:245,bg:200,ca:268,cs:175,da:162,de:188,el:286,en:201,es:188,et:171,fi:158,fr:170,hr:166,id:226,it:256,ja:150,ko:150,ms:291,nl:178,no:230,pl:187,pt:271,ru:283,sk:176,sl:313,sr:153,sv:172,th:168,tr:195,uk:216,zh:158},donate:{ar:205,bg:205,ca:162,cs:212,da:171,de:186,el:163,en:180,es:165,et:150,fi:171,fr:225,hr:182,id:237,it:157,ja:167,ko:150,ms:201,nl:187,no:171,pl:252,pt:175,ru:342,sk:178,sl:242,sr:171,sv:181,th:158,tr:181,uk:256,zh:158},order:{ar:198,bg:195,ca:247,cs:198,da:166,de:190,el:208,en:170,es:157,et:150,fi:150,fr:226,hr:201,id:195,it:171,ja:150,ko:150,ms:195,nl:192,no:171,pl:190,pt:177,ru:207,sk:190,sl:240,sr:165,sv:176,th:151,tr:188,uk:216,zh:158},pay:{ar:202,bg:200,ca:160,cs:183,da:162,de:188,el:185,en:150,es:162,et:150,fi:158,fr:170,hr:172,id:192,it:155,ja:150,ko:150,ms:192,nl:178,no:162,pl:187,pt:182,ru:213,sk:176,sl:225,sr:153,sv:172,th:168,tr:150,uk:216,zh:158},subscribe:{ar:221,bg:217,ca:226,cs:201,da:192,de:208,el:180,en:202,es:206,et:150,fi:150,fr:206,hr:178,id:260,it:190,ja:150,ko:150,ms:216,nl:208,no:192,pl:221,pt:196,ru:243,sk:193,sl:333,sr:217,sv:228,th:213,tr:173,uk:305,zh:158}},Xr={buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041a\u0443\u043f\u0443\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Compra amb GPay",cs:"Koupit s GPay",da:"K\xf8b med GPay",de:"Mit GPay kaufen",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 GPay",en:"Buy with GPay",es:"Comprar con GPay",et:"Osta GPayga",fi:"Osta GPaylla",fr:"Acheter avec GPay",hr:"Kupnja uz GPay",id:"Beli dengan GPay",it:"Acquista con GPay",ja:"GPay \u3067\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub9e4",ms:"Beli dengan GPay",nl:"Kopen met GPay",no:"Kj\xf8p med GPay",pl:"Kup to z GPay",pt:"Comprar com o GPay",ru:"\u041a\u0443\u043f\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"K\xfapi\u0165 cez GPay",sl:"Nakup s storitvijo GPay",sr:"\u041a\u0443\u043f\u0438 \u0443\u0437 GPay",sv:"K\xf6pa med GPay",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sat\u0131n al",uk:"\u041a\u0443\u043f\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8d2d\u4e70"},book:{ar:"\u0627\u0644\u062d\u062c\u0632 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Reserva amb GPay",cs:"Rezervovat s GPay",da:"Book med GPay",de:"Mit GPay buchen",el:"\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b5 GPay",en:"Book with GPay",es:"Reservar con GPay",et:"Broneeri GPayga",fi:"Varaa GPaylla",fr:"R\xe9server avec GPay",hr:"Rezervacija uz GPay",id:"Reservasi dengan GPay",it:"Prenota con GPay",ja:"GPay \u3067\u4e88\u7d04\u3059\u308b",ko:"GPay\ub85c \uc608\uc57d",ms:"Tempah dengan GPay",nl:"Boeken met GPay",no:"Bestill med GPay",pl:"Zarezerwuj z GPay",pt:"Reservar com o GPay",ru:"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Rezervova\u0165 cez GPay",sl:"Rezervacija s storitvijo GPay",sr:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0448\u0438 \u0443\u0437 GPay",sv:"Boka med GPay",th:"\u0e08\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile rezervasyon yap",uk:"\u0417\u0430\u0431\u0440\u043e\u043d\u044e\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u9884\u8ba2"},checkout:{ar:"\u0625\u062a\u0645\u0627\u0645 \u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Tramita la compra amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 \u03b1\u03b3\u03bf\u03c1\u03ac\u03c2 \u03bc\u03b5 GPay",en:"Checkout with GPay",es:"Confirmar compra con GPay",et:"Tasu GPayga",fi:"Osta GPaylla",fr:"R\xe9gler avec GPay",hr:"Naplata uz GPay",id:"Checkout dengan GPay",it:"Vai al pagamento con GPay",ja:"GPay \u3067\u6c7a\u6e08\u3059\u308b",ko:"GPay\ub85c \uacb0\uc81c",ms:"Semak keluar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Zaklju\u010dek nakupa s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Handla med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \xf6deme yap",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u7ed3\u8d26"},donate:{ar:"\u0627\u0644\u062a\u0628\u0631\u0651\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0414\u0430\u0440\u044f\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una donaci\xf3 amb GPay",cs:"Darovat s GPay",da:"Doner med GPay",de:"Mit GPay spenden",el:"\u0394\u03c9\u03c1\u03b5\u03ac \u03bc\u03b5 GPay",en:"Donate with GPay",es:"Donar con GPay",et:"Anneta GPayga",fi:"Lahjoita GPaylla",fr:"Donner avec GPay",hr:"Donacija uz GPay",id:"Beri donasi dengan GPay",it:"Fai una donazione con GPay",ja:"GPay \u3067\u5bc4\u4ed8\u3059\u308b",ko:"GPay\ub85c \uae30\ubd80",ms:"Derma dengan GPay",nl:"Doneren met GPay",no:"Don\xe9r med GPay",pl:"Przeka\u017c darowizn\u0119 przez GPay",pt:"Doar com o GPay",ru:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Darova\u0165 cez GPay",sl:"Donacija s storitvijo GPay",sr:"\u0414\u043e\u043d\u0438\u0440\u0430\u0458 \u0443\u0437 GPay",sv:"Donera med GPay",th:"\u0e1a\u0e23\u0e34\u0e08\u0e32\u0e04\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile ba\u011f\u0131\u015f yap",uk:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u6350\u6b3e"},order:{ar:"\u0627\u0644\u0637\u0644\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043e\u0440\u044a\u0447\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una comanda amb GPay",cs:"Objednat s GPay",da:"Bestil med GPay",de:"Mit GPay bestellen",el:"\u03a0\u03b1\u03c1\u03b1\u03b3\u03b3\u03b5\u03bb\u03af\u03b1 \u03bc\u03b5 GPay",en:"Order with GPay",es:"Realizar pedido con GPay",et:"Telli GPayga",fi:"Tee tilaus GPaylla",fr:"Commander avec GPay",hr:"Narud\u017eba uz GPay",id:"Pesan dengan GPay",it:"Ordina con GPay",ja:"GPay \u3067\u6ce8\u6587\u3059\u308b",ko:"GPay\ub85c \uc8fc\ubb38",ms:"Pesan dengan GPay",nl:"Bestellen met GPay",no:"Bestill med GPay",pl:"Zam\xf3w z GPay",pt:"Pedir com o GPay",ru:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Objedna\u0165 cez GPay",sl:"Naro\u010dilo s storitvijo GPay",sr:"\u041f\u043e\u0440\u0443\u0447\u0438 \u0443\u0437 GPay ",sv:"Best\xe4lla med GPay",th:"\u0e2a\u0e31\u0e48\u0e07\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sipari\u015f ver",uk:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u8d2d"},pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Paga amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03b5 GPay",en:"Pay with GPay",es:"Pagar con GPay",et:"Maksa GPayga",fi:"Maksa GPaylla",fr:"Payer avec GPay",hr:"Pla\u0107anje uz GPay",id:"Bayar dengan GPay",it:"Paga con GPay",ja:"GPay \u3067\u652f\u6255\u3046",ko:"GPay\ub85c \uacb0\uc81c",ms:"Bayar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u0420\u0430\u0441\u043f\u043b\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Pla\u010dilo s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Betala med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \xf6de",uk:"\u0421\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u4ed8\u6b3e"},subscribe:{ar:"\u0627\u0644\u0627\u0634\u062a\u0631\u0627\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0410\u0431\u043e\u043d\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Subscriu-te amb GPay",cs:"P\u0159edplatit s GPay",da:"Abonner med GPay",de:"Mit GPay abonnieren",el:"\u0395\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae \u03bc\u03b5 GPay",en:"Subscribe with GPay",es:"Suscribirse con GPay",et:"Telli GPayga",fi:"Tilaa GPaylla",fr:"S'abonner avecGPay",hr:"Pretplata uz GPay",id:"Berlangganan dengan GPay",it:"Abbonati con GPay",ja:"GPay \u3067\u5b9a\u671f\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub3c5",ms:"Langgan dengan GPay",nl:"Abonneren met GPay",no:"Abonner med GPay",pl:"Zasubskrybuj z GPay",pt:"Assinar com o GPay",ru:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Odobera\u0165 cez GPay",sl:"Sklenitev naro\u010dnine s storitvijo GPay",sr:"\u041f\u0440\u0435\u0442\u043f\u043b\u0430\u0442\u0430 \u0443\u0437 GPay",sv:"Prenumerera med GPay",th:"\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile abone ol",uk:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u043f\u0456\u0434\u043f\u0438\u0441\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u9605"}},ls={GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0627\u0644\u0622\u0646 \u0623\u0648 \u0644\u0627\u062d\u0642\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay",bg:"\u041f\u043b\u0430\u0442\u0435\u0442\u0435 \u0441\u0435\u0433\u0430 \u0438\u043b\u0438 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e \u0441 Google Pay",ca:"Paga ara o m\xe9s tard amb Google Pay",cs:"Pla\u0165te ihned nebo pozd\u011bji s Google Pay",da:"Betal nu eller senere med Google Pay",de:"Jetzt oder sp\xe4ter mit Google Pay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03c4\u03ce\u03c1\u03b1 \u03ae \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1 \u03bc\u03b5 \u03c4\u03bf Google Pay",en:"Pay Now or Later with Google Pay",es:"Paga ahora o m\xe1s tarde con Google Pay",et:"Makske kohe v\xf5i hiljem koos Google Payga",fi:"Maksa nyt tai my\xf6hemmin Google Paylla",fr:"Payer maintenant ou plus tard avec Google Pay",hr:"Platite odmah ili kasnije uz Google Pay",id:"Bayar Sekarang atau Nanti dengan Google Pay",it:"Paga ora o dopo con Google Pay",ja:"Google Pay \u3067\u4eca\u3059\u3050\u652f\u6255\u3046\u304b\u3001\u5f8c\u3067\u652f\u6255\u3046",ko:"Google Pay\uc5d0\uc11c \uc9c0\uae08 \ub610\ub294 \ub098\uc911\uc5d0 \uacb0\uc81c",ms:"Bayar Sekarang atau Kemudian dengan Google Pay",nl:"Betaal nu of later met Google Pay",no:"Betal n\xe5 eller senere med Google Pay",pl:"Zap\u0142a\u0107 teraz lub p\xf3\u017aniej za pomoc\u0105 Google Pay",pt:"Pagar agora ou depois com o Google Pay",ru:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay \u0441\u0440\u0430\u0437\u0443 \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0441\u0440\u043e\u0447\u043a\u0443",sk:"Zaplati\u0165 teraz alebo nesk\xf4r cez Google Pay",sl:"Pla\u010dajte zdaj ali pozneje z Googlom Pay",sr:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u043e\u0434\u043c\u0430\u0445 \u0438\u043b\u0438 \u043a\u0430\u0441\u043d\u0438\u0458\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430",sv:"Betala nu eller senare med Google Pay",th:"\u0e08\u0e48\u0e32\u0e22\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e08\u0e48\u0e32\u0e22\u0e17\u0e35\u0e2b\u0e25\u0e31\u0e07\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22 Google Pay",tr:"Google Pay ile \u015eimdi veya Sonra \xd6de",uk:"\u041e\u043f\u043b\u0430\u0442\u0456\u0442\u044c \u0437\u0430\u0440\u0430\u0437 \u0430\u0431\u043e \u043f\u0456\u0437\u043d\u0456\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay",zh:"\u901a\u8fc7 Google Pay \u53ef\u7acb\u5373\u4ed8\u6b3e\u6216\u65e5\u540e\u4ed8\u6b3e"},GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY:{ar:'\u0645\u064a\u0632\u0629 "\u0627\u0644\u062f\u0641\u0639 \u0644\u0627\u062d\u0642\u064b\u0627" \u0645\u062a\u0627\u062d\u0629 \u0645\u0639 Google Pay',bg:"\u0424\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 \u201e\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e\u201c \u0435 \u043d\u0430\u043b\u0438\u0446\u0435 \u0441 Google Pay",ca:"Paga m\xe9s tard disponible amb Google Pay",cs:"Zaplatit pozd\u011bji dostupn\xe9 s Google Pay",da:"Betal senere er tilg\xe6ngeligt med Google Pay",de:"\u201eSp\xe4ter bezahlen\u201c mit Google Pay verf\xfcgbar",el:"\u039c\u03b5 \u03c4\u03bf Google Pay, \u03b4\u03b9\u03b1\u03c4\u03af\u03b8\u03b5\u03c4\u03b1\u03b9 \u03b7 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1",en:"Pay Later available with Google Pay",es:"Pago m\xe1s tarde disponible con Google Pay",et:"Funktsioon Maksa hiljem saadaval koos Google Payga",fi:"Maksa my\xf6hemmin Google Paylla",fr:"Payer plus tard avec Google Pay",hr:"Pla\u0107anje kasnije dostupno je uz Google Pay",id:"Bayar Nanti tersedia dengan Google Pay",it:"Paga dopo disponibile con Google Pay",ja:"Google Pay \u3067\u5f8c\u6255\u3044\u304c\u5229\u7528\u53ef\u80fd",ko:"Google Pay\uc5d0\uc11c \ub098\uc911\uc5d0 \uacb0\uc81c \uac00\ub2a5",ms:"Bayar Kemudian tersedia dengan Google Pay",nl:"Betaal later is beschikbaar met Google Pay",no:"\xabBetal senere\xbb er tilgjengelig med Google Pay",pl:"Funkcja Zap\u0142a\u0107 p\xf3\u017aniej jest dost\u0119pna w Google Pay",pt:"Pagar depois dispon\xedvel com o Google Pay",ru:"\u0427\u0435\u0440\u0435\u0437 Google Pay \u043c\u043e\u0436\u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0432 \u0440\u0430\u0441\u0441\u0440\u043e\u0447\u043a\u0443",sk:"Mo\u017enos\u0165 Zaplati\u0165 nesk\xf4r je k dispoz\xedcii v slu\u017ebe Google Pay",sl:"Poznej\u0161e pla\u010dilo je na voljo z Googlom Pay",sr:"\u041e\u043f\u0446\u0438\u0458\u0430 \u041f\u043b\u0430\u0442\u0438 \u043a\u0430\u0441\u043d\u0438\u0458\u0435 \u0458\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0443\u0437 Google Pay",sv:"Betala senare \xe4r tillg\xe4ngligt med Google Pay",th:"\u0e08\u0e48\u0e32\u0e22\u0e17\u0e35\u0e2b\u0e25\u0e31\u0e07\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22 Google Pay",tr:"Google Pay ile Sonra \xd6de se\xe7ene\u011fi kullan\u0131labilir.",uk:"\u041e\u043f\u043b\u0430\u0442\u0456\u0442\u044c \u043f\u0456\u0437\u043d\u0456\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay",zh:"Google Pay \u652f\u6301\u65e5\u540e\u4ed8\u6b3e"},GPAY_BUTTON_VARIANT_TYPE_OLYMPICS:{buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441 Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Compra amb Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Nakupujte pomoc\xed Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"K\xf8b med Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"Mit Google Pay kaufen. Internationale Schwimmer auf dem Weg zu Gold",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Buy with Google Pay. International competitors swimming toward victory",es:"Comprar con Google Pay. Competidores internacionales nadando hacia la victoria",et:"Ostke Google Payga. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Osta Google Paylla. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Acheter avec Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Kupite uz Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Beli dengan Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Acquista con Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay \u3067\u8cfc\u5165\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay\ub85c \uad6c\ub9e4. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Beli melalui Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Kopen met Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Kj\xf8p med Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Zap\u0142a\u0107 przez Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Comprar com o Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"K\xfapi\u0165 cez Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Nakup z Googlom Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"\u041a\u0443\u043f\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"K\xf6p med Google Pay. Internationella konkurrenter som simmar mot seger",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google pay ile sat\u0131n al. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"\u4f7f\u7528 Google Pay \u4ed8\u6b3e\u3002\u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"},pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"\u041f\u043b\u0430\u0442\u0435\u0442\u0435 \u0441 Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Paga amb Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Pla\u0165te pomoc\xed Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"Betal med Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"\xdcber mein Google-Konto bezahlen. Internationale Schwimmer auf dem Weg zu Gold",el:"\u03a0\u03bb\u03b7\u03c1\u03ce\u03c3\u03c4\u03b5 \u03bc\u03ad\u03c3\u03c9 Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Pay with Google Pay. International competitors swimming toward victory",es:"Pagar con Google Pay. Competidores internacionales nadando hacia la victoria",et:"Makske Google Payga. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Maksa Google Paylla. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Payer avec Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Platite uz Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Bayar dengan Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Paga con Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay \u3067\u304a\u652f\u6255\u3044\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay\ub85c \uacb0\uc81c. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Bayar dengan Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Betalen met Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Betal med Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Zap\u0142a\u0107 przez Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Pagar com o Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"Zaplati\u0165 cez Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Pla\u010dajte z Googlom Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"Betala med Google Pay. Internationella konkurrenter som simmar mot seger",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google Pay ile \xf6de. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"\u901a\u8fc7 Google Pay \u4ed8\u6b3e\u3002\u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"},plain:{ar:"\u202bGoogle Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"Google Pay. Internationale Schwimmer auf dem Weg zu Gold",el:"Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Google Pay. International competitors swimming toward victory",es:"Google Pay. Competidores internacionales nadando hacia la victoria",et:"Google Pay. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Google Pay. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Google Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"Google Pay. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"Google Pay. Internationella konkurrenter som simmar mot seger",th:"Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google Pay. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"Google Pay\u3002 \u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"}},GPAY_BUTTON_VARIANT_TYPE_RLMIA:{af:"Koop met Google Pay. Met Rolling Loud-10e-herdenkingkleure (pienk en grys) met palmbome om Miami voor te stel",am:"\u1260Google Pay \u12ed\u130d\u12d9\u1362 \u12e8\u122e\u120a\u1295\u130d \u120b\u12cd\u12f5 10\u129b \u12d3\u1218\u1275 \u12a2\u12ee\u1264\u120d\u12e9 \u1240\u1208\u121b\u1275\u1295 (\u1210\u121d\u122b\u12ca \u12a5\u1293 \u130d\u122b\u132b) \u121b\u12eb\u121a\u1295 \u12a8\u121a\u12c8\u12ad\u1209 \u12e8\u12d8\u1295\u1263\u1263 \u12db\u134e\u127d \u130b\u122d \u1208\u12ed\u1276 \u1260\u121b\u1245\u1228\u1265 \u120b\u12ed",ar:'\u0632\u0631 "\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay" \u0628\u0623\u0644\u0648\u0627\u0646 \u062a\u062d\u062a\u0641\u0644 \u0628\u0627\u0644\u0630\u0643\u0631\u0649 \u0627\u0644\u0640 10 \u0644\u0645\u0647\u0631\u062c\u0627\u0646 Rolling Loud (\u0627\u0644\u0648\u0631\u062f\u064a \u0648\u0627\u0644\u0631\u0645\u0627\u062f\u064a) \u0645\u0639 \u0623\u0634\u062c\u0627\u0631 \u0646\u062e\u064a\u0644 \u062a\u0645\u062b\u0644 \u0645\u062f\u064a\u0646\u0629 \u0645\u064a\u0627\u0645\u064a',az:"Google Pay il\u0259 al\u0131n. Mayamini t\u0259msil etm\u0259k \xfc\xe7\xfcn xurma a\u011faclar\u0131 il\u0259 Rolling Loud 10-cu ild\xf6n\xfcm\xfc r\u0259ngl\u0259ri (\xe7\u0259hray\u0131 v\u0259 boz) t\u0259qdim edilir",be:"\u0410\u043f\u043b\u0430\u0446\u0456\u0446\u044c \u043f\u0440\u0430\u0437 Google Pay. \u0412\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043d\u044b \u043a\u043e\u043b\u0435\u0440\u044b, \u0432\u044b\u0431\u0440\u0430\u043d\u044b\u044f \u0434\u043b\u044f 10-\u0439 \u0433\u0430\u0434\u0430\u0432\u0456\u043d\u044b \u0444\u0435\u0441\u0442\u044b\u0432\u0430\u043b\u044e Rolling Loud (\u0440\u0443\u0436\u043e\u0432\u044b \u0456 \u0448\u044d\u0440\u044b), \u0430 \u0442\u0430\u043a\u0441\u0430\u043c\u0430 \u0432\u0456\u0434\u0430\u0440\u044b\u0441\u044b \u043f\u0430\u043b\u044c\u043c\u0430\u045e, \u044f\u043a\u0456\u044f \u0441\u0456\u043c\u0432\u0430\u043b\u0456\u0437\u0443\u044e\u0446\u044c \u041c\u0430\u044f\u043c\u0456.",bg:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441 Google Pay. \u0412\u043a\u043b\u044e\u0447\u0432\u0430 \u0446\u0432\u0435\u0442\u043e\u0432\u0435\u0442\u0435 (\u0440\u043e\u0437\u043e\u0432\u043e \u0438 \u0441\u0438\u0432\u043e) \u043e\u0442 10-\u0430\u0442\u0430 \u0433\u043e\u0434\u0438\u0448\u043d\u0438\u043d\u0430 \u043d\u0430 Rolling Loud \u0441 \u043f\u0430\u043b\u043c\u0438, \u043a\u043e\u0438\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0432\u0430\u0442 \u041c\u0430\u044f\u043c\u0438",bn:"Google Pay \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u0995\u09bf\u09a8\u09c1\u09a8\u0964 Rolling Loud-\u098f\u09b0 \u09e7\u09e6\u09ae \u09ac\u09b0\u09cd\u09b7\u09aa\u09c2\u09b0\u09cd\u09a4\u09bf\u09b0 \u09a5\u09bf\u09ae \u09b0\u0999 (\u0997\u09cb\u09b2\u09be\u09aa\u09bf \u0993 \u09a7\u09c2\u09b8\u09b0) \u098f\u09ac\u0982 \u09ae\u09bf\u09df\u09be\u09ae\u09bf\u09b0 \u09aa\u09cd\u09b0\u09a4\u09c0\u0995 \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7 \u09aa\u09be\u09ae \u0997\u09be\u099b \u09a6\u09c7\u0996\u09be\u09a8\u09cb \u09b9\u09df\u09c7\u099b\u09c7",bs:"Kupite putem Google Paya. Uklju\u010duje boje 10. godi\u0161njice Rolling Louda (ru\u017ei\u010dastu i sivu) s palmama koje simboliziraju Miami",ca:"Compra amb Google Pay. Amb els colors del des\xe8 aniversari de Rolling Loud (rosa i gris) i palmeres que representen Miami.",cs:"Nakupte pomoc\xed Google Pay. S barvami 10. jubilejn\xedho ro\u010dn\xedku hudebn\xedho festivalu Rolling Loud (r\u016f\u017eovou a \u0161edou) a palmami reprezentuj\xedc\xedmi Miami",cy:"Prynu gyda Google Pay. Yn cynnwys lliwiau 10fed pen-blwydd Rolling Loud (pinc a llwyd) gyda choed palmwydd i gynrychioli Miami",da:"K\xf8b med Google Pay. Med farverne fra Rolling Louds 10-\xe5rs jubil\xe6um (pink og gr\xe5) og palmer, der repr\xe6senterer Miami",de:"Mit Google Pay kaufen. Anl\xe4sslich der 10. Ausgabe des Rolling Loud Festivals in den Jubil\xe4umsfarben Rosa und Grau gehalten. Die Palmen sollen den Veranstaltungsort Miami symbolisieren.",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 Google Pay. \u039c\u03b5 \u03c4\u03b1 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 \u03c4\u03b7\u03c2 10\u03b7\u03c2 \u03b5\u03c0\u03b5\u03c4\u03b5\u03af\u03bf\u03c5 \u03c4\u03bf\u03c5 Rolling Loud (\u03c1\u03bf\u03b6 \u03ba\u03b1\u03b9 \u03b3\u03ba\u03c1\u03b9) \u03ba\u03b1\u03b9 \u03c6\u03bf\u03af\u03bd\u03b9\u03ba\u03b5\u03c2 \u03c0\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b9\u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b5\u03cd\u03bf\u03c5\u03bd \u03c4\u03bf \u039c\u03b1\u03ca\u03ac\u03bc\u03b9",en:"Buy with Google Pay. Featuring Rolling Loud 10th anniversary colours (pink and grey) with palm trees to represent Miami",es:"Comprar con Google Pay. Con los colores del d\xe9cimo aniversario de Rolling Loud (rosa y gris) y palmeras que representan Miami",La:"Comprar con Google Pay. Con los colores del 10\xba aniversario de Rolling Loud (rosa y gris) y palmeras que representan a Miami",et:"Ostke Google Payga. Kasutatud on festivali Rolling Loud 10. aastap\xe4eva v\xe4rve (roosa ja hall) ning Miamit s\xfcmboliseerivaid palmipuid",eu:"Erosi Google Pay-rekin. Rolling Loud-en 10. urteurrenaren koloreak ditu (arrosa eta grisa), Miami irudikatzen duten palmondo eta guzti.",fa:"\u062e\u0631\u06cc\u062f\u0646 \u0628\u0627 Google Pay. \u0628\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0648\u06cc\u0698\u0647 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u062f\u0647\u0645\u06cc\u0646 \u0633\u0627\u0644\u06af\u0631\u062f Rolling Loud (\u0635\u0648\u0631\u062a\u06cc \u0648 \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc) \u0628\u0647\u200c\u0647\u0645\u0631\u0627\u0647 \u062f\u0631\u062e\u062a\u0627\u0646 \u0646\u062e\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062d\u0627\u0644\u200c\u0648\u0647\u0648\u0627\u06cc \u0645\u06cc\u0627\u0645\u06cc",fi:"Osta Google Paylla. Kuvituksena Rolling Loudin 10-vuotisjuhlav\xe4rit (pinkki ja harmaa) ja Miamia symboloivat palmut.",fi__1:"Bumili gamit ang Google Pay. Tampok ang mga kulay ng ika-10 anibersaryo (pink at gray) ng Rolling Loud na may mga palm tree na kumakatawan sa Miami",fr:"Acheter avec Google Pay. Aux couleurs du 10e anniversaire de Rolling Loud (rose et gris) et avec des palmiers pour repr\xe9senter Miami",Ca:"Acheter avec Google Pay. Avec les couleurs du 10\u1d49 anniversaire de Rolling Loud (rose et gris) et des palmiers pour repr\xe9senter Miami",ga:"Ceannaigh le Google Pay. Ina bhfuil dathanna chom\xf3radh 10 mbliana Rolling Loud le feice\xe1il (b\xe1ndearg agus liath) agus crainn phailme chun Miami a l\xe9iri\xfa",gl:"Comprar con Google Pay. Coas as cores (rosa e gris) do X aniversario do festival Rolling Loud con palmeiras que representan Miami",gu:"Google Pay \u0ab5\u0aa1\u0ac7 \u0a96\u0ab0\u0ac0\u0aa6\u0ac0 \u0a95\u0ab0\u0acb. \u0aae\u0abe\u0aaf\u0abe\u0aae\u0ac0\u0aa8\u0ac7 \u0ab0\u0a9c\u0ac2 \u0a95\u0ab0\u0aa4\u0abe \u0aa4\u0abe\u0aa1\u0aa8\u0abe \u0ab5\u0ac3\u0a95\u0acd\u0ab7\u0acb \u0ab8\u0abe\u0aa5\u0ac7 Rolling Loud\u0aa8\u0ac0 10\u0aae\u0ac0 \u0ab5\u0ab0\u0acd\u0ab7\u0a97\u0abe\u0a82\u0aa0\u0aa8\u0abe \u0ab0\u0a82\u0a97\u0acb (\u0a97\u0ac1\u0ab2\u0abe\u0aac\u0ac0 \u0a85\u0aa8\u0ac7 \u0ab0\u0abe\u0a96\u0acb\u0aa1\u0ac0) \u0aa6\u0ab0\u0acd\u0ab6\u0abe\u0ab5\u0aa4\u0ac1\u0a82",hi:"Google Pay \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u0916\u0930\u0940\u0926\u0947\u0902. \u0907\u092e\u0947\u091c \u092e\u0947\u0902 \u0930\u094b\u0932\u093f\u0902\u0917 \u0932\u093e\u0909\u0921 \u092b\u093c\u0947\u0938\u094d\u091f\u093f\u0935\u0932 \u0915\u0940 10\u0935\u0940\u0902 \u0938\u093e\u0932\u0917\u093f\u0930\u0939 \u0915\u0940 \u0925\u0940\u092e, \u091c\u094b \u0917\u0941\u0932\u093e\u092c\u0940 \u0914\u0930 \u0938\u094d\u0932\u0947\u091f\u0940 \u0930\u0902\u0917\u094b\u0902 \u0915\u0947 \u0938\u093e\u0925-\u0938\u093e\u0925 \u092e\u093f\u092f\u093e\u092e\u0940 \u0915\u0940 \u092a\u0939\u091a\u093e\u0928 \u0915\u0947 \u0924\u094c\u0930 \u092a\u0930 \u0924\u093e\u0921\u093c \u0915\u0947 \u092a\u0947\u0921\u093c\u094b\u0902 \u0915\u094b \u0926\u093f\u0916\u093e\u0924\u0940 \u0939\u0948",hr:"Kupite uz Google Pay. Uklju\u010duje boje 10. godi\u0161njice festivala Rolling Loud (ru\u017ei\u010dastu i sivu) s palmama koje simboliziraju Miami",hu:"V\xe1s\xe1rl\xe1s a Google Pay haszn\xe1lat\xe1val. A Rolling Loud fesztiv\xe1l 10. \xe9vfordul\xf3j\xe1nak sz\xedneivel (r\xf3zsasz\xedn \xe9s sz\xfcrke) \xe9s p\xe1lmaf\xe1kkal, amelyek Miamit szimboliz\xe1lj\xe1k",hy:"\u0533\u0576\u0565\u056c Google Pay-\u0578\u057e\u0589 Rolling Loud \u0583\u0561\u057c\u0561\u057f\u0578\u0576\u056b 10-\u0561\u0574\u0575\u0561\u056f\u056b \u0563\u0578\u0582\u0575\u0576\u0565\u0580\u0568 (\u057e\u0561\u0580\u0564\u0561\u0563\u0578\u0582\u0575\u0576 \u0587 \u0574\u0578\u056d\u0580\u0561\u0563\u0578\u0582\u0575\u0576) \u0587 \u0561\u0580\u0574\u0561\u057e\u0565\u0576\u056b\u0576\u0565\u0580\u0568 \u056d\u0578\u0580\u0570\u0580\u0564\u0561\u0576\u0577\u0578\u0582\u0574 \u0565\u0576 \u0544\u0561\u0575\u0561\u0574\u056b\u0576",id:"Beli dengan Google Pay. Menampilkan warna ulang tahun ke-10 Rolling Loud (merah muda dan abu-abu) dengan pohon palem untuk mewakili Miami",is:"Kaupa me\xf0 Google Pay. Me\xf0 afm\xe6lislitum Rolling Loud \xed tilefni af 10 \xe1ra afm\xe6li h\xe1t\xed\xf0arinnar (bleikur og gr\xe1r) me\xf0 p\xe1lmatrj\xe1m sem t\xe1kna Miami",it:"Acquista con Google Pay. Con i colori di Rolling Loud per il 10\xb0 anniversario (rosa e grigio) e palme per rappresentare Miami",iw:"\u05ea\u05e9\u05dc\u05d5\u05dd \u05d3\u05e8\u05da Google Pay. \u05e2\u05dd \u05d4\u05e6\u05d1\u05e2\u05d9\u05dd \u05e9\u05dc \u05d9\u05d5\u05dd \u05d4\u05e9\u05e0\u05d4 \u05d4\u05e2\u05e9\u05d9\u05e8\u05d9 \u05e9\u05dc \u05e4\u05e1\u05d8\u05d9\u05d1\u05dc Rolling Loud (\u05d5\u05e8\u05d5\u05d3 \u05d5\u05d0\u05e4\u05d5\u05e8) \u05d5\u05e2\u05e6\u05d9 \u05d3\u05e7\u05dc \u05e9\u05de\u05d9\u05d9\u05e6\u05d2\u05d9\u05dd \u05d0\u05ea \u05de\u05d9\u05d0\u05de\u05d9",ja:"Google Pay \u3067\u8cfc\u5165\u3002Rolling Loud \u306e 10 \u5468\u5e74\u8a18\u5ff5\u30ab\u30e9\u30fc\uff08\u30d4\u30f3\u30af\u3068\u30b0\u30ec\u30fc\uff09\u306b\u3001\u30de\u30a4\u30a2\u30df\u3092\u8c61\u5fb4\u3059\u308b\u30e4\u30b7\u306e\u6728\u304c\u63cf\u304b\u308c\u3066\u3044\u308b",ka:"Google Pay-\u10e1 \u10db\u10d4\u10e8\u10d5\u10d4\u10dd\u10d1\u10d8\u10d7 \u10e8\u10d4\u10eb\u10d4\u10dc\u10d0. \u10e8\u10d4\u10e5\u10db\u10dc\u10d8\u10da\u10d8\u10d0 Rolling Loud-\u10d8\u10e1 \u10db\u10d4-10 \u10ec\u10da\u10d8\u10e1\u10d7\u10d0\u10d5\u10d8\u10e1 \u10e4\u10d4\u10e0\u10d4\u10d1\u10e8\u10d8 (\u10d5\u10d0\u10e0\u10d3\u10d8\u10e1\u10e4\u10d4\u10e0\u10d8 \u10d3\u10d0 \u10dc\u10d0\u10ea\u10e0\u10d8\u10e1\u10e4\u10d4\u10e0\u10d8) \u10e4\u10d8\u10dc\u10d8\u10d9\u10d8\u10e1 \u10de\u10d0\u10da\u10db\u10d4\u10d1\u10d8\u10d7 \u10db\u10d0\u10d8\u10d0\u10db\u10d8\u10e1 \u10ec\u10d0\u10e0\u10db\u10dd\u10e1\u10d0\u10d3\u10d2\u10d4\u10dc\u10d0\u10d3",kk:"Google Pay-\u043c\u0435\u043d \u0441\u0430\u0442\u044b\u043f \u0430\u043b\u0443 Rolling Loud \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u0456\u043d\u0456\u04a3 10 \u0436\u044b\u043b\u0434\u044b\u0493\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u044b\u043f, \u049b\u044b\u0437\u0493\u044b\u043b\u0442 \u0436\u04d9\u043d\u0435 \u0441\u04b1\u0440 \u0442\u04af\u0441\u0442\u0435\u0440, \u0441\u043e\u043d\u0434\u0430\u0439-\u0430\u049b \u041c\u0430\u0439\u0430\u043c\u0438\u0434\u0456\u04a3 \u0431\u0435\u043b\u0433\u0456\u0441\u0456 \u0441\u0430\u043d\u0430\u043b\u0430\u0442\u044b\u043d \u043f\u0430\u043b\u044c\u043c\u0430 \u0430\u0493\u0430\u0448\u0442\u0430\u0440\u044b \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u043d\u0433\u0435\u043d.",km:"\u1791\u17b7\u1789\u178f\u17b6\u1798 Google Pay\u17d4 \u1780\u17b6\u179a\u178f\u17b6\u17c6\u1784\u179a\u17c6\u179b\u17c1\u1785\u1796\u178e\u17cc\u1782\u1798\u17d2\u179a\u1794\u17cb\u1781\u17bd\u1794 10 \u1786\u17d2\u1793\u17b6\u17c6\u1793\u17c3 Rolling Loud (\u1795\u17d2\u1780\u17b6\u1788\u17bc\u1780 \u1793\u17b7\u1784\u1794\u17d2\u179a\u1795\u17c1\u17c7) \u178a\u17c2\u179b\u1798\u17b6\u1793\u178a\u17be\u1798\u178a\u17bc\u1784\u178f\u17c6\u178e\u17b6\u1784\u17b1\u17d2\u1799 Miami",kn:"Google Pay \u0cac\u0cb3\u0cb8\u0cbf\u0c95\u0cca\u0c82\u0ca1\u0cc1 \u0c96\u0cb0\u0cc0\u0ca6\u0cbf\u0cb8\u0cbf. Rolling Loud \u0ca8 10 \u0ca8\u0cc7 \u0cb5\u0cbe\u0cb0\u0ccd\u0cb7\u0cbf\u0c95\u0ccb\u0ca4\u0ccd\u0cb8\u0cb5\u0ca6 \u0cac\u0ca3\u0ccd\u0ca3\u0c97\u0cb3 (\u0c97\u0cc1\u0cb2\u0cbe\u0cac\u0cbf \u0cae\u0ca4\u0ccd\u0ca4\u0cc1 \u0cac\u0cc2\u0ca6\u0cc1) \u0c9c\u0cca\u0ca4\u0cc6\u0c97\u0cc6 \u0cae\u0cbf\u0caf\u0cbe\u0cae\u0cbf\u0caf\u0ca8\u0ccd\u0ca8\u0cc1 \u0caa\u0ccd\u0cb0\u0ca4\u0cbf\u0ca8\u0cbf\u0ca7\u0cbf\u0cb8\u0cb2\u0cc1 \u0ca4\u0cbe\u0cb3\u0cc6 \u0cae\u0cb0\u0c97\u0cb3\u0ca8\u0ccd\u0ca8\u0cc1 \u0ca4\u0ccb\u0cb0\u0cbf\u0cb8\u0cb2\u0cbe\u0c97\u0cbf\u0ca6\u0cc6",ko:"Google Pay\ub85c \uad6c\ub9e4. Rolling Loud 10\uc8fc\ub144\uc744 \uae30\ub150\ud558\ub294 \uc0c9\uc0c1(\ud551\ud06c\uc0c9\uacfc \ud68c\uc0c9)\uc774 \uc0ac\uc6a9\ub418\uc5c8\uc73c\uba70 \ub9c8\uc774\uc560\ubbf8\ub97c \uc0c1\uc7a5\ud558\ub294 \uc57c\uc790\uc218 \uc774\ubbf8\uc9c0\uac00 \ud45c\uc2dc\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.",ky:"Google Pay \u0430\u0440\u043a\u044b\u043b\u0443\u0443 \u0441\u0430\u0442\u044b\u043f \u0430\u043b\u0443\u0443. Rolling Loud \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u044b\u043d\u044b\u043d 10 \u0436\u044b\u043b\u0434\u044b\u0433\u044b\u043d\u0430 \u043a\u0430\u0440\u0430\u0442\u0430 \u043a\u044b\u0437\u0433\u044b\u043b\u0442\u044b\u043c \u0436\u0430\u043d\u0430 \u0431\u043e\u0437 \u0442\u04af\u0441\u0442\u04e9\u0440 \u043a\u043e\u043b\u0434\u043e\u043d\u0443\u043b\u0443\u043f, \u041c\u0430\u0439\u0430\u043c\u0438\u043d\u0438\u043d c\u0438\u043c\u0432\u043e\u043b\u0443 \u0431\u043e\u043b\u0433\u043e\u043d \u043f\u0430\u043b\u044c\u043c\u0430 \u0434\u0430\u0440\u0430\u043a\u0442\u0430\u0440\u044b \u0447\u0430\u0433\u044b\u043b\u0434\u044b\u0440\u044b\u043b\u0434\u044b",lo:"\u0e8a\u0eb7\u0ec9\u0ec2\u0e94\u0e8d\u0ec3\u0e8a\u0ec9 Google Pay. \u0e99\u0eb3\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0eaa\u0eb5\u0e84\u0ebb\u0e9a\u0eae\u0ead\u0e9a 10 \u0e9b\u0eb5 Rolling Loud (\u0eaa\u0eb5\u0e9a\u0ebb\u0ea7 \u0ec1\u0ea5\u0eb0 \u0eaa\u0eb5\u0ec0\u0e97\u0ebb\u0eb2) \u0e9e\u0ec9\u0ead\u0ea1\u0e95\u0ebb\u0ec9\u0e99\u0e9b\u0eb2\u0ea1\u0ec0\u0e9e\u0eb7\u0ec8\u0ead\u0ec0\u0e9b\u0eb1\u0e99\u0e95\u0ebb\u0ea7\u0ec1\u0e97\u0e99\u0ec3\u0eab\u0ec9 Miami",lt:"Pirkti naudojant \u201eGoogle Pay\u201c. Jubiliejinio de\u0161imtojo festivalio \u201eRolling Loud\u201c spalvos (ro\u017ein\u0117 ir pilka) su palm\u0117mis, simbolizuojan\u010diomis Majam\u012f.",lv:"Ieg\u0101d\u0101jieties, izmantojot Google Pay. Festiv\u0101la \u201cRolling Loud\u201d 10. gadadienas kr\u0101sas (roz\u0101 un pel\u0113ka) un palmas, kas simboliz\u0113 Maiami",mk:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441\u043e Google Pay. \u0412\u043e \u0431\u043e\u0438\u0442\u0435 \u043d\u0430 10-\u0433\u043e\u0434\u0438\u0448\u043d\u0438\u043d\u0430\u0442\u0430 \u043d\u0430 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u043e\u0442 Rolling Loud (\u0440\u043e\u0437\u043e\u0432\u0430 \u0438 \u0441\u0438\u0432\u0430) \u0441\u043e \u043f\u0430\u043b\u043c\u0438 \u0448\u0442\u043e \u0433\u043e \u043f\u0440\u0435\u0442\u0441\u0442\u0430\u0432\u0443\u0432\u0430\u0430\u0442 \u041c\u0430\u0458\u0430\u043c\u0438",ml:"Google Pay-\u0d2f\u0d3f\u0d32\u0d42\u0d1f\u0d46 \u0d35\u0d3e\u0d19\u0d4d\u0d19\u0d42. \u0d2e\u0d3f\u0d2f\u0d3e\u0d2e\u0d3f\u0d2f\u0d46 \u0d2a\u0d4d\u0d30\u0d24\u0d3f\u0d28\u0d3f\u0d27\u0d40\u0d15\u0d30\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d \u0d08\u0d28\u0d4d\u0d24\u0d2a\u0d4d\u0d2a\u0d28 \u0d2e\u0d30\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4a\u0d2a\u0d4d\u0d2a\u0d02 Rolling Loud 10-\u0d3e\u0d02 \u0d35\u0d3e\u0d7c\u0d37\u0d3f\u0d15 \u0d28\u0d3f\u0d31\u0d19\u0d4d\u0d19\u0d7e (\u0d2a\u0d3f\u0d19\u0d4d\u0d15\u0d4d, \u0d1a\u0d3e\u0d30\u0d28\u0d3f\u0d31\u0d02) \u0d2b\u0d40\u0d1a\u0d4d\u0d1a\u0d7c \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d28\u0d4d\u0d28\u0d41",mn:"Google Pay-\u0440 \u0445\u0443\u0434\u0430\u043b\u0434\u0430\u043d \u0430\u0432\u0430\u0445. \u041c\u0430\u0439\u0430\u043c\u0438\u0433 \u0442\u04e9\u043b\u04e9\u04e9\u043b\u0434\u04e9\u0433 \u0434\u0430\u043b\u0434\u0443\u0443 \u043c\u043e\u0434\u043e\u043e\u0440 Rolling Loud-\u043d 10 \u0436\u0438\u043b\u0438\u0439\u043d \u043e\u0439\u043d \u04e9\u043d\u0433\u04e9 \u0442\u04e9\u0440\u0445\u0438\u0439\u0433 (\u044f\u0433\u0430\u0430\u043d, \u0441\u0430\u0430\u0440\u0430\u043b) \u043e\u043d\u0446\u043e\u043b\u0436 \u0431\u0430\u0439\u043d\u0430",mr:"Google Pay \u0935\u093e\u092a\u0930\u0942\u0928 \u0916\u0930\u0947\u0926\u0940 \u0915\u0930\u093e. \u092e\u093e\u092f\u093e\u092e\u0940\u091a\u0947 \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0915\u0930\u0923\u094d\u092f\u093e\u0938\u093e\u0920\u0940 \u0924\u093e\u0921\u093e\u091a\u094d\u092f\u093e \u091d\u093e\u0921\u093e\u0902\u0938\u0939 \u0930\u094b\u0932\u093f\u0902\u0917 \u0932\u093e\u090a\u0921 \u091a\u094d\u092f\u093e \u0967\u0966 \u0935\u094d\u092f\u093e \u0935\u0930\u094d\u0927\u093e\u092a\u0928 \u0926\u093f\u0928\u093e\u091a\u0947 \u0930\u0902\u0917 (\u0917\u0941\u0932\u093e\u092c\u0940 \u0906\u0923\u093f \u0930\u093e\u0916\u093e\u0921\u0940) \u0926\u093e\u0916\u0935\u0932\u0947 \u0906\u0939\u0947\u0924",ms:"Beli melalui Google Pay. Menampilkan warna ulang tahun ke-10 Rolling Loud (merah jambu dan kelabu) dengan pokok palma untuk mewakili Miami",my:"Google Pay \u1016\u103c\u1004\u1037\u103a \u101d\u101a\u103a\u101b\u1014\u103a\u104b \u1019\u102d\u102f\u1004\u103a\u101a\u102c\u1019\u102e\u1000\u102d\u102f \u1000\u102d\u102f\u101a\u103a\u1005\u102c\u1038\u1015\u103c\u102f\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a \u1021\u102f\u1014\u103a\u1038\u1015\u1004\u103a\u1019\u103b\u102c\u1038\u1016\u103c\u1004\u1037\u103a Rolling Loud \u104f \u1041\u1040 \u1014\u103e\u1005\u103a\u1015\u103c\u100a\u1037\u103a\u1014\u103e\u1005\u103a\u1015\u1010\u103a\u101c\u100a\u103a \u1021\u101b\u1031\u102c\u1004\u103a\u1019\u103b\u102c\u1038 (\u1015\u1014\u103a\u1038\u101b\u1031\u102c\u1004\u103a\u1014\u103e\u1004\u1037\u103a \u1019\u102e\u1038\u1001\u102d\u102f\u1038\u101b\u1031\u102c\u1004\u103a) \u1000\u102d\u102f \u1021\u101e\u102c\u1038\u1015\u1031\u1038\u1016\u1031\u102c\u103a\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a",ne:"Google Pay \u092a\u094d\u0930\u092f\u094b\u0917 \u0917\u0930\u0940 \u0916\u0930\u093f\u0926 \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\u0964 \u0930\u094b\u0932\u093f\u0919 \u0932\u093e\u0909\u0921 \u0938\u0919\u094d\u0917\u0940\u0924 \u092e\u0939\u094b\u0924\u094d\u0938\u0935\u0915\u094b \u0967\u0966 \u0914\u0901 \u0935\u093e\u0930\u094d\u0937\u093f\u0915\u094b\u0924\u094d\u0938\u0935\u0915\u094b \u0925\u093f\u092e (\u0917\u0941\u0932\u093e\u092c\u0940 \u0924\u0925\u093e \u0916\u0948\u0930\u094b \u0930\u0919\u0915\u094b) \u0915\u093e \u0938\u093e\u0925\u0948 \u092e\u093e\u092f\u093e\u092e\u0940\u0915\u094b \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0917\u0930\u094d\u0928\u0947 \u0924\u093e\u0921\u0915\u093e \u0930\u0942\u0916\u0939\u0930\u0942 \u0926\u0947\u0916\u093e\u0907\u090f\u0915\u094b \u091b",nl:"Kopen met Google Pay. De Rolling Loud-kleuren voor het 10-jarig bestaan (roze en grijs) en palmbomen om Miami te vertegenwoordigen",Bo:"Kj\xf8p med Google Pay. Med fargene for Rolling Louds 10-\xe5rsjubileum (rosa og gr\xe5) og palmer som representerer Miami.",pa:"Google Pay \u0a28\u0a3e\u0a32 \u0a16\u0a30\u0a40\u0a26\u0a4b\u0964 '\u0a30\u0a4b\u0a32\u0a3f\u0a70\u0a17 \u0a32\u0a3e\u0a09\u0a21' \u0a38\u0a70\u0a17\u0a40\u0a24 \u0a09\u0a24\u0a38\u0a35 \u0a26\u0a40 10\u0a35\u0a40\u0a02 \u0a35\u0a30\u0a4d\u0a39\u0a47\u0a17\u0a70\u0a22 \u0a26\u0a47 \u0a30\u0a70\u0a17\u0a3e\u0a02 (\u0a17\u0a41\u0a32\u0a3e\u0a2c\u0a40 \u0a05\u0a24\u0a47 \u0a38\u0a32\u0a47\u0a1f\u0a40) \u0a35\u0a3e\u0a32\u0a3e \u0a25\u0a40\u0a2e \u0a2e\u0a3f\u0a06\u0a2e\u0a40 \u0a26\u0a40 \u0a2a\u0a1b\u0a3e\u0a23 \u0a26\u0a47 \u0a24\u0a4c\u0a30 '\u0a24\u0a47 \u0a24\u0a3e\u0a5c \u0a26\u0a47 \u0a30\u0a41\u0a71\u0a16\u0a3e\u0a02 \u0a28\u0a42\u0a70 \u0a26\u0a30\u0a38\u0a3e\u0a09\u0a02\u0a26\u0a3e \u0a39\u0a48",pl:"Zap\u0142a\u0107 przez Google Pay Kolory 10 rocznicy festiwalu Rolling Loud (r\xf3\u017cowy i szary) oraz palmy symbolizuj\u0105ce Miami",Br:"Comprar com o Google Pay. As cores do 10\xba anivers\xe1rio do Rolling Loud (rosa e cinza) com palmeiras para representar Miami",Po:"Comprar com Google Pay. Com as cores do 10.\xba anivers\xe1rio do Rolling Loud (rosa e cinzento) com palmeiras a representar Miami",ro:"Cump\u0103r\u0103 cu Google Pay. Are culorile celei de-a zecea aniversare a festivalului Rolling Loud (roz \u0219i gri) \u0219i palmieri pentru a reprezenta Miami.",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0446\u0432\u0435\u0442\u0430\u0445, \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043e 10-\u043b\u0435\u0442\u043d\u0435\u0439 \u0433\u043e\u0434\u043e\u0432\u0449\u0438\u043d\u0435 Rolling Loud (\u0441\u0435\u0440\u043e\u043c \u0438 \u0440\u043e\u0437\u043e\u0432\u043e\u043c), \u0438 \u0441 \u043f\u0430\u043b\u044c\u043c\u0430\u043c\u0438, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u041c\u0430\u0439\u0430\u043c\u0438.",si:"Google Pay \u0dc3\u0db8\u0d9c\u0dd2\u0db1\u0dca \u0db8\u0dd2\u0dbd \u0daf\u0dd3 \u0d9c\u0db1\u0dca\u0db1. Miami \u0db1\u0dd2\u0dba\u0ddd\u0da2\u0db1\u0dba \u0d9a\u0dd2\u0dbb\u0dd3\u0db8 \u0dc3\u0db3\u0dc4\u0dcf \u0dad\u0dbd\u0dca \u0d9c\u0dc3\u0dca \u0dc3\u0db8\u0d9c Rolling Loud 10 \u0dc0\u0dd0\u0db1\u0dd2 \u0dc3\u0d82\u0dc0\u0dad\u0dca\u0dc3\u0dbb \u0dc0\u0dbb\u0dca\u0dab (\u0dbb\u0ddd\u0dc3 \u0dc3\u0dc4 \u0d85\u0dc5\u0dd4) \u0dc0\u0dd2\u0dc1\u0dda\u0dc2\u0dcf\u0d82\u0d9c\u0dba",sk:"K\xfapi\u0165 cez Google Pay. Obsahuje farby jubilejn\xe9ho 10. ro\u010dn\xedka festivalu Rolling Loud (ru\u017eov\xfa a siv\xfa) a palmy, ktor\xe9 s\xfa symbolom Miami.",sl:"Nakup z Googlom Pay. Z barvami 10. obletnice festivala Rolling Loud (ro\u017enato in sivo) in palmami, ki predstavljajo Miami",sq:"Bli me Google Pay. P\xebrfshin ngjyrat e p\xebrvjetorit t\xeb 10-t\xeb t\xeb Rolling Loud (roz\xeb dhe gri) me pem\xeb palme p\xebr t\xeb p\xebrfaq\xebsuar Majamin",sr:"\u041a\u0443\u043f\u0438 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u0423\u0437 \u0431\u043e\u0458\u0435 \u043a\u043e\u0458\u0435 \u043e\u0431\u0435\u043b\u0435\u0436\u0430\u0432\u0430\u0458\u0443 10. \u0433\u043e\u0434\u0438\u0448\u045a\u0438\u0446\u0443 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u0430 Rolling Loud (\u0440\u0443\u0436\u0438\u0447\u0430\u0441\u0442\u0430 \u0438 \u0441\u0438\u0432\u0430) \u0438 \u043f\u0430\u043b\u043c\u0435 \u043a\u043e\u0458\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0459\u0430\u0458\u0443 \u041c\u0430\u0458\u0430\u043c\u0438",sv:"K\xf6p med Google Pay. I f\xe4rgerna fr\xe5n Rolling Louds tio\xe5rsjubileum (rosa och gr\xe5tt) med palmer som representerar Miami",sw:"Nunua kupitia Google Pay. Inaangazia rangi (waridi na kijivu) za kumbukumbu ya miaka 10 ya tamasha la Rolling Loud pamoja na minazi ili kuwakilisha Miami",ta:"Google Pay \u0bae\u0bc2\u0bb2\u0bae\u0bcd \u0bb5\u0bbe\u0b99\u0bcd\u0b95\u0bc1\u0b95. \u0bae\u0bbf\u0baf\u0bbe\u0bae\u0bbf\u0baf\u0bc8\u0b95\u0bcd \u0b95\u0bc1\u0bb1\u0bbf\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0bb5\u0b95\u0bc8\u0baf\u0bbf\u0bb2\u0bcd \u0baa\u0ba9\u0bc8 \u0bae\u0bb0\u0b99\u0bcd\u0b95\u0bb3\u0bc1\u0b9f\u0ba9\u0bcd, \u0bb0\u0bcb\u0bb2\u0bbf\u0b99\u0bcd \u0bb2\u0bcc\u0b9f\u0bc1 10\u0bb5\u0ba4\u0bc1 \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0bb5\u0bbf\u0bb4\u0bbe\u0bb5\u0bbf\u0ba9\u0bcd \u0bb5\u0ba3\u0bcd\u0ba3\u0b99\u0bcd\u0b95\u0bb3\u0bcd (\u0baa\u0bbf\u0b99\u0bcd\u0b95\u0bcd \u0bae\u0bb1\u0bcd\u0bb1\u0bc1\u0bae\u0bcd \u0b9a\u0bbe\u0bae\u0bcd\u0baa\u0bb2\u0bcd) \u0b87\u0b9f\u0bae\u0bcd\u0baa\u0bc6\u0bb1\u0bcd\u0bb1\u0bc1\u0bb3\u0bcd\u0bb3\u0ba9.",te:"Google Pay\u0c24\u0c4b \u0c15\u0c4a\u0c28\u0c02\u0c21\u0c3f. Rolling Loud 10\u0c35 \u0c35\u0c3e\u0c30\u0c4d\u0c37\u0c3f\u0c15\u0c4b\u0c24\u0c4d\u0c38\u0c35 \u0c25\u0c40\u0c2e\u0c4d\u200c\u0c28\u0c41 \u0c2b\u0c40\u0c1a\u0c30\u0c4d \u0c1a\u0c47\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f, \u0c07\u0c02\u0c26\u0c41\u0c32\u0c4b \u0c2e\u0c3f\u0c2f\u0c3e\u0c2e\u0c40\u0c15\u0c3f \u0c1a\u0c3f\u0c39\u0c4d\u0c28\u0c02\u0c17\u0c3e \u0c17\u0c41\u0c32\u0c3e\u0c2c\u0c40 \u0c30\u0c02\u0c17\u0c41, \u0c32\u0c47\u0c24 \u0c2c\u0c42\u0c21\u0c3f\u0c26\u0c30\u0c02\u0c17\u0c41, \u0c24\u0c3e\u0c1f\u0c3f \u0c1a\u0c46\u0c1f\u0c4d\u0c32\u0c41 \u0c09\u0c28\u0c4d\u0c28\u0c3e\u0c2f\u0c3f",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e2a\u0e35\u0e09\u0e25\u0e2d\u0e07\u0e04\u0e23\u0e1a\u0e23\u0e2d\u0e1a 10 \u0e1b\u0e35\u0e02\u0e2d\u0e07 Rolling Loud (\u0e2a\u0e35\u0e0a\u0e21\u0e1e\u0e39\u0e41\u0e25\u0e30\u0e40\u0e17\u0e32) \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e15\u0e49\u0e19\u0e1b\u0e32\u0e25\u0e4c\u0e21\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e37\u0e48\u0e2d\u0e16\u0e36\u0e07\u0e44\u0e21\u0e2d\u0e32\u0e21\u0e35",tr:"Google Pay ile sat\u0131n al. Rolling Loud M\xfczik Festivali'nin 10. y\u0131l d\xf6n\xfcm\xfc renkleri (pembe ve gri) ve Miami'yi temsil eden palmiye a\u011fa\xe7lar\u0131",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0417 \u043d\u0430\u0433\u043e\u0434\u0438 10-\u0457 \u0440\u0456\u0447\u043d\u0438\u0446\u0456 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u044e Rolling Loud Miami \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043e \u0440\u043e\u0436\u0435\u0432\u0438\u0439 \u0456 \u0441\u0456\u0440\u0438\u0439 \u043a\u043e\u043b\u044c\u043e\u0440\u0438, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u043f\u0430\u043b\u044c\u043c\u0438, \u044f\u043a\u0456 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0437\u0443\u044e\u0442\u044c \u041c\u0430\u044f\u043c\u0456.",ur:"\u202bGoogle Pay \u06a9\u06d2 \u0633\u0627\u062a\u06be \u062e\u0631\u06cc\u062f\u06cc\u06ba\u06d4 \u0645\u06cc\u0627\u0645\u06cc \u06a9\u06cc \u0646\u0645\u0627\u0626\u0646\u062f\u06af\u06cc \u06a9\u0631\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u06a9\u06be\u062c\u0648\u0631 \u06a9\u06d2 \u062f\u0631\u062e\u062a\u0648\u06ba \u06a9\u06d2 \u0633\u0627\u062a\u06be \u0631\u0648\u0644\u0646\u06af \u0644\u0627\u0624\u0688 \u06a9\u06cc 10\u0648\u06cc\u06ba \u0633\u0627\u0644\u06af\u0631\u06c1 \u06a9\u06d2 \u0631\u0646\u06af\u0648\u06ba (\u06af\u0644\u0627\u0628\u06cc \u0627\u0648\u0631 \u0633\u0631\u0645\u0626\u06cc) \u06a9\u0648 \u0646\u0645\u0627\u06cc\u0627\u06ba \u06a9\u06cc\u0627 \u062c\u0627 \u0631\u06c1\u0627 \u06c1\u06d2",vi:"Mua b\u1eb1ng Google Pay C\xf3 m\xe0u s\u1eafc k\u1ef7 ni\u1ec7m 10 n\u0103m l\u1ec5 h\u1ed9i Rolling Loud (m\xe0u h\u1ed3ng v\xe0 x\xe1m) v\u1edbi h\xe0ng c\xe2y c\u1ecd, \u0111\u1ea1i di\u1ec7n cho Miami",Si:"\u4f7f\u7528 Google Pay \u4ed8\u6b3e\u3002\u91c7\u7528 Rolling Loud \u5341\u5468\u5e74\u7eaa\u5ff5\u8272\uff08\u7c89\u8272\u548c\u7070\u8272\uff09\uff0c\u5e76\u4ee5\u68d5\u6988\u6811\u4ee3\u8868\u8fc8\u963f\u5bc6",Ho:"\u7528 Google Pay \u4ed8\u6b3e\u3002\u4ee5 Rolling Loud 10 \u9031\u5e74\u7d00\u5ff5\u984f\u8272 (\u7c89\u7d05\u8272\u548c\u7070\u8272) \u70ba\u4e3b\u8272\uff0c\u4e26\u4ee5\u68d5\u6ada\u6a39\u4ee3\u8868\u9081\u963f\u5bc6",Tr:"\u4f7f\u7528 Google Pay \u7d50\u5e33\u3002\u63a1\u7528 Rolling Loud 10 \u9031\u5e74\u7d00\u5ff5\u8272 (\u7c89\u7d05\u8272\u548c\u7070\u8272)\uff0c\u4e26\u642d\u914d\u4ee3\u8868\u9081\u963f\u5bc6\u7684\u68d5\u6ada\u6a39",zu:"Thenga ngeGoogle Pay Ifaka imibala yesikhumbuzo seminyaka eyi-10 seRolling Loud (okuphinki nokumpunga) ngezihlahla zamasundu ezimelela iMiami"}},Ca=xn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #d9d9d9; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5F6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),zs=xn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #5F6368; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #FFFFFF">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Lr=xn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #d9d9d9; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5f6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),eo=xn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #5f6368; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #fff">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Ws=["ELECTRON","MAESTRO","ELO_DEBIT"];function ir(a,l){l=void 0===l?document:l;var f=document.createElement("style");if(f.type="text/css",f.textContent=a,l instanceof HTMLDocument)document.head.appendChild(f);else{if(!(l instanceof ShadowRoot))throw Error("Parameter 'buttonRootNode' should be either document or a shadowroot.");l.appendChild(f)}return f}var _r=function(){this.Sc=gr.contentWindow};_r.prototype.postMessage=function(a,l){this.Sc.postMessage(a,l)};var Jr=Array.prototype.indexOf?function(a,l){return Zt(null!=a.length),Array.prototype.indexOf.call(a,l,void 0)}:function(a,l){if("string"==typeof a)return"string"!=typeof l||1!=l.length?-1:a.indexOf(l,0);for(var f=0;f<a.length;f++)if(f in a&&a[f]===l)return f;return-1},ou=Array.prototype.forEach?function(a,l){Zt(null!=a.length),Array.prototype.forEach.call(a,l,void 0)}:function(a,l){for(var f=a.length,p="string"==typeof a?a.split(""):a,v=0;v<f;v++)v in p&&l.call(void 0,p[v],v,a)};function wr(a){var l=a.length;if(l>0){for(var f=Array(l),p=0;p<l;p++)f[p]=a[p];return f}return[]}var Ri="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var yi,Mo=te.globalThis.trustedTypes;function jt(){return void 0===yi&&(yi=function gt(){var a=null;if(!Mo)return a;try{var l=function(f){return f};a=Mo.createPolicy("goog#html",{createHTML:l,createScript:l,createScriptURL:l})}catch(f){throw f}return a}()),yi}var rt=function(a){this.ac=a};function vi(a){var l=jt();return new rt(l?l.createScriptURL(a):a)}function Zs(a){if(a instanceof rt)return a.ac;throw Error("Unexpected type when unwrapping TrustedResourceUrl")}rt.prototype.toString=function(){return this.ac+""};var Yt=function(a){this.bc=a};Yt.prototype.toString=function(){return this.bc},new Yt("about:blank"),new Yt("about:invalid#zClosurez");var or=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i,bi=[],Ys=function(){};!function qn(a){-1===bi.indexOf(a)&&bi.push(a),Ys=function(l){bi.forEach(function(f){f(l)})}}(function(a){console.warn("A URL with content '"+a+"' was sanitized away.")});var Cn=function(a){this.Zb=a};function Vr(a,l){a.src=Zs(l).toString()}function Kt(a,l,f,p){if(l instanceof Yt){if(!(l instanceof Yt))throw Error("Unexpected type when unwrapping SafeUrl, got '"+l+"' of type '"+typeof l+"'");l=l.bc}else{var v=!or.test(l);v&&Ys(l),l=v?void 0:l}return void 0!==l?a.open(l,f,p):null}function Ea(a){if("string"!=typeof a||""===a.trim())throw Error("Calls to uncheckedconversion functions must go through security review. A justification must be provided to capture what security assumptions are being made. See go/unchecked-conversions")}function Cr(){var a=Xe.navigator;return a&&(a=a.userAgent)?a:""}Cn.prototype.toString=function(){return this.Zb+""};var Sa=!(-1==Cr().indexOf("Gecko")||-1!=Cr().toLowerCase().indexOf("webkit")&&-1==Cr().indexOf("Edge")||-1!=Cr().indexOf("Trident")||-1!=Cr().indexOf("MSIE")||-1!=Cr().indexOf("Edge")),wi=-1!=Cr().toLowerCase().indexOf("webkit")&&-1==Cr().indexOf("Edge"),Li={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},hs=function(a,l,f){function p(A){A&&l.appendChild("string"==typeof A?a.createTextNode(A):A)}for(var v=2;v<f.length;v++){var C=f[v];if(!Ye(C)||Wt(C)&&C.nodeType>0)p(C);else{e:{if(C&&"number"==typeof C.length){if(Wt(C)){var D="function"==typeof C.item||"string"==typeof C.item;break e}if("function"==typeof C){D="function"==typeof C.item;break e}}D=!1}ou(D?wr(C):C,p)}}},Xs=function(a,l){return l=String(l),"application/xhtml+xml"===a.contentType&&(l=l.toLowerCase()),a.createElement(l)},fs=function(a){var l=Array.prototype.map.call(arguments,at).join("");Ea("Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");var f=jt(),p=new Cn(f?f.createHTML(l):l);if(f=document,1===(l=Xs(f,"DIV")).nodeType){var v=l.tagName;if(/^(script|style)$/i.test(v))throw l="script"===v.toLowerCase()?"Use setScriptTextContent with a SafeScript.":"Use setStyleTextContent with a SafeStyleSheet.",Error(l)}if(!(p instanceof Cn))throw Error("Unexpected type when unwrapping SafeHtml");if(l.innerHTML=p=p.Zb,1==l.childNodes.length)l=l.removeChild(Zt(l.firstChild));else{for(f=f.createDocumentFragment();l.firstChild;)f.appendChild(l.firstChild);l=f}return l};function Js(a,l){var f=at(a);if(!Qs.test(f))throw Error("Invalid TrustedResourceUrl format: "+f);return a=f.replace(ps,function(p,v){if(!Object.prototype.hasOwnProperty.call(l,v))throw Error('Found marker, "'+v+'", in format string, "'+f+'", but no valid label mapping found in args: '+JSON.stringify(l));return(p=l[v])instanceof Kr?at(p):encodeURIComponent(String(p))}),Ea("Deprecated, but safe closure/html builder"),vi(a)}var ps=/%{(\w+)}/g,Qs=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),ea={wd:0,ed:1,lc:2,mc:3,nc:4,jd:5},gr=null,Io=null,ut=null,Fi=null,Po=Date.now(),$r=null,T=!1,w=[],L=function(a,l,f,p){window.addEventListener("message",function v(C){ne(f,C)&&(p(C),re(v))}),a=B(Object,"assign").call(Object,{eventType:l},a),ue(a)},ne=function(a,l){for(var f=0;f<a.length;f++)if(l.data[a[f]])return!0;return!1},re=function(a){window.removeEventListener("message",a)},ue=function(a){T&&Io?pt(a):w.push(a)},pt=function(a){if(Io){if(a=B(Object,"assign").call(Object,{buyFlowActivityMode:$r,googleTransactionId:Fi,originTimeMs:Po},a),"CANARY"==ut)var l="https://ibfe-canary.corp.google.com";else l="https://pay","SANDBOX"==ut?l+=".sandbox":"PREPROD"==ut&&(l+="-preprod.sandbox"),l+=".google.com";Io.postMessage(a,l)}else google.payments.api.LogInternally&&console.log("postMessageService is null when expected to exist.")},Xt=function(a,l){T||(l>30?(google.payments.api.LogInternally&&console.log("PayJS-PayFrame handshake unsuccessful."),ue({eventType:20,clientLatencyStartMs:Date.now()}),a&&re(a),sr()):(a||(a=function f(p){ne(["pingResponse"],p)&&(ue({eventType:19,clientLatencyStartMs:Date.now()}),a&&re(a),sr())},window.addEventListener("message",a)),pt({eventType:14}),setTimeout(function(){return Xt(a,l+1)},10)))},sr=function(){T=!0,w.forEach(function(a){ue(a)}),w.length=0};!function(){if(!gr){var a=window.gpayInitParams||{};"PRODUCTION"!==(ut=a.environment||"PRODUCTION")&&"TEST"!==ut||function(){var a=function(a,l,f){var p=arguments,v=document,C=p[1],D=Xs(v,String(p[0]));return C&&("string"==typeof C?D.className=C:Array.isArray(C)?D.className=C.join(" "):function(a,l){!function to(a,l){for(var f in a)l.call(void 0,a[f],f,a)}(l,function(f,p){"style"==p?a.style.cssText=f:"class"==p?a.className=f:"for"==p?a.htmlFor=f:Li.hasOwnProperty(p)?a.setAttribute(Li[p],f):0==p.lastIndexOf("aria-",0)||0==p.lastIndexOf("data-",0)?a.setAttribute(p,f):a[p]=f})}(D,C)),p.length>2&&hs(v,D,p),D}("META");a.httpEquiv="origin-trial",a.id="origin-trial",a.content="Ayudt5SzRWp86yExqv4T3+PiWzcX+WBtprm+ux6vfIGn5Dg3JSrZL2Y5UkppRzYnVyYzu8hvj+Q4pdGSWsLVYgMAAABgeyJvcmlnaW4iOiJodHRwczovL3BheS5nb29nbGUuY29tOjQ0MyIsImZlYXR1cmUiOiJUcGNkIiwiZXhwaXJ5IjoxNzM1MzQzOTk5LCJpc1RoaXJkUGFydHkiOnRydWV9",document.head.append(a)}(),Vr(gr=document.createElement("iframe"),Js(xn(("CANARY"==ut?"https://ibfe-canary.corp":"https://pay")+("PREPROD"==ut?"-preprod.sandbox":"SANDBOX"==ut?".sandbox":"")+".google.com/gp/p/ui/payframe?origin=%{windowOrigin}&mid=%{merchantId}"),{windowOrigin:window.location.origin,merchantId:a.merchantInfo&&a.merchantInfo.merchantId||""})),ue({eventType:15,clientLatencyStartMs:Date.now()}),L({},11,["canMakePaymentForPaymentHandlerResponse"],function(){}),gr.height="0",gr.width="0",gr.style.display="none",gr.style.visibility="hidden",gr.setAttribute("allowpaymentrequest",!0),gr.onload=function(){Io=new _r,ue({eventType:17,clientLatencyStartMs:Date.now()}),ue({eventType:16,clientLatencyStartMs:Date.now()}),ue({eventType:18,clientLatencyStartMs:Date.now()}),Xt(null,0)},document.body?document.body.appendChild(gr):document.addEventListener("DOMContentLoaded",function(){document.body.appendChild(gr)})}}();var ms="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function ta(a,l){if("object"!=typeof l||null===l)return a;for(var f in l)l.hasOwnProperty(f)&&void 0!==l[f]&&(null==l[f]?a[f]=null:null==a[f]||"object"!=typeof a[f]||"object"!=typeof l[f]||Array.isArray(l[f])||Array.isArray(a[f])?a[f]=l[f]:ta(a[f],l[f]));return a}function Qr(a){var f,l=0;if(0==a.length)return l;for(f=0;f<a.length;f++)l=(l<<5)-l+a.charCodeAt(f),l&=l;return l}function Zn(a){console.error("DEVELOPER_ERROR in "+a.M+": "+a.errorMessage)}var jr=function(a,l,f){if(a.forEach&&"function"==typeof a.forEach)a.forEach(l,f);else if(Ye(a)||"string"==typeof a)Array.prototype.forEach.call(a,l,f);else for(var p=function(a){if(a.sb&&"function"==typeof a.sb)return a.sb();if(!a.oa||"function"!=typeof a.oa){if(typeof te.Map<"u"&&a instanceof te.Map)return B(Array,"from").call(Array,B(a,"keys").call(a));if(!(typeof Set<"u"&&a instanceof Set)){if(Ye(a)||"string"==typeof a){var l=[];a=a.length;for(var f=0;f<a;f++)l.push(f);return l}for(var p in l=[],f=0,a)l[f++]=p;return l}}}(a),v=function(a){if(a.oa&&"function"==typeof a.oa)return a.oa();if(typeof te.Map<"u"&&a instanceof te.Map||typeof Set<"u"&&a instanceof Set)return B(Array,"from").call(Array,B(a,"values").call(a));if("string"==typeof a)return a.split("");if(Ye(a)){for(var l=[],f=a.length,p=0;p<f;p++)l.push(a[p]);return l}for(p in l=[],f=0,a)l[f++]=a[p];return l}(a),C=v.length,D=0;D<C;D++)l.call(f,v[D],p&&p[D],a)},na=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Ei=function(a){var l=a.match(na);a=l[1];var f=l[3];l=l[4];var p="";return a&&(p+=a+":"),f&&(p=p+"//"+f,l&&(p+=":"+l)),p},Yn=function(a){if(this.U=this.va=this.ha="",this.o=null,this.R=this.S="",this.J=this.Ac=!1,a instanceof Yn){this.J=a.J,io(this,a.ha);var l=a.va;On(this),this.va=l,l=a.U,On(this),this.U=l,oo(this,a.o),l=a.S,On(this),this.S=l,vs(this,a.K.clone()),a=a.R,On(this),this.R=a}else a&&(l=String(a).match(na))?(this.J=!1,io(this,l[1]||"",!0),a=l[2]||"",On(this),this.va=bs(a),a=l[3]||"",On(this),this.U=bs(a,!0),oo(this,l[4]),a=l[5]||"",On(this),this.S=bs(a,!0),vs(this,l[6]||"",!0),a=l[7]||"",On(this),this.R=bs(a)):(this.J=!1,this.K=new Er(null,this.J))};Yn.prototype.toString=function(){var a=[],l=this.ha;l&&a.push(ra(l,nc,!0),":");var f=this.U;return(f||"file"==l)&&(a.push("//"),(l=this.va)&&a.push(ra(l,nc,!0),"@"),a.push(encodeURIComponent(String(f)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(f=this.o)&&a.push(":",String(f))),(f=this.S)&&(this.U&&"/"!=f.charAt(0)&&a.push("/"),a.push(ra(f,"/"==f.charAt(0)?Rl:Lh,!0))),(f=this.K.toString())&&a.push("?",f),(f=this.R)&&a.push("#",ra(f,ko)),a.join("")},Yn.prototype.resolve=function(a){var l=this.clone(),f=!!a.ha;if(f?io(l,a.ha):f=!!a.va,f){var p=a.va;On(l),l.va=p}else f=!!a.U;if(f?(p=a.U,On(l),l.U=p):f=null!=a.o,p=a.S,f)oo(l,a.o);else if(f=!!a.S){if("/"!=p.charAt(0))if(this.U&&!this.S)p="/"+p;else{var v=l.S.lastIndexOf("/");-1!=v&&(p=l.S.slice(0,v+1)+p)}if(".."==(v=p)||"."==v)p="";else if(-1!=v.indexOf("./")||-1!=v.indexOf("/.")){p=0==v.lastIndexOf("/",0),v=v.split("/");for(var C=[],D=0;D<v.length;){var A=v[D++];"."==A?p&&D==v.length&&C.push(""):".."==A?((C.length>1||1==C.length&&""!=C[0])&&C.pop(),p&&D==v.length&&C.push("")):(C.push(A),p=!0)}p=C.join("/")}else p=v}return f?(On(l),l.S=p):f=""!==a.K.toString(),f?vs(l,a.K.clone()):f=!!a.R,f&&(a=a.R,On(l),l.R=a),l},Yn.prototype.clone=function(){return new Yn(this)};var io=function(a,l,f){On(a),a.ha=f?bs(l,!0):l,a.ha&&(a.ha=a.ha.replace(/:$/,""))},oo=function(a,l){if(On(a),l){if(l=Number(l),isNaN(l)||l<0)throw Error("Bad port number "+l);a.o=l}else a.o=null},vs=function(a,l,f){On(a),l instanceof Er?(a.K=l,a.K.Eb(a.J)):(f||(l=ra(l,Vi)),a.K=new Er(l,a.J))};Yn.prototype.getQuery=function(){return this.K.toString()};var so=function(a,l,f){On(a),a.K.set(l,f)};Yn.prototype.removeParameter=function(a){return On(this),this.K.remove(a),this};var On=function(a){if(a.Ac)throw Error("Tried to modify a read-only Uri")};Yn.prototype.Eb=function(a){this.J=a,this.K&&this.K.Eb(a)};var bs=function(a,l){return a?l?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ra=function(a,l,f){return"string"==typeof a?(a=encodeURI(a).replace(l,Rh),f&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Rh=function(a){return"%"+((a=a.charCodeAt(0))>>4&15).toString(16)+(15&a).toString(16)},nc=/[#\/\?@]/g,Lh=/[#\?:]/g,Rl=/[#\?]/g,Vi=/[#\?@]/g,ko=/#/g,Er=function(a,l){this.F=this.j=null,this.H=a||null,this.J=!!l},Di=function(a){a.j||(a.j=new te.Map,a.F=0,a.H&&function(a,l){if(a){a=a.split("&");for(var f=0;f<a.length;f++){var p=a[f].indexOf("="),v=null;if(p>=0){var C=a[f].substring(0,p);v=a[f].substring(p+1)}else C=a[f];l(C,v?decodeURIComponent(v.replace(/\+/g," ")):"")}}}(a.H,function(l,f){a.add(decodeURIComponent(l.replace(/\+/g," ")),f)}))};Er.prototype.add=function(a,l){Di(this),this.H=null,a=ao(this,a);var f=this.j.get(a);return f||this.j.set(a,f=[]),f.push(l),this.F=At(this.F)+1,this},Er.prototype.remove=function(a){return Di(this),a=ao(this,a),!!this.j.has(a)&&(this.H=null,this.F=At(this.F)-this.j.get(a).length,this.j.delete(a))},Er.prototype.clear=function(){this.j=this.H=null,this.F=0};var ei=function(a,l){return Di(a),l=ao(a,l),a.j.has(l)};(z=Er.prototype).forEach=function(a,l){Di(this),this.j.forEach(function(f,p){f.forEach(function(v){a.call(l,v,p,this)},this)},this)},z.sb=function(){Di(this);for(var a=B(Array,"from").call(Array,B(this.j,"values").call(this.j)),l=B(Array,"from").call(Array,B(this.j,"keys").call(this.j)),f=[],p=0;p<l.length;p++)for(var v=a[p],C=0;C<v.length;C++)f.push(l[p]);return f},z.oa=function(a){Di(this);var l=[];if("string"==typeof a)ei(this,a)&&(l=l.concat(this.j.get(ao(this,a))));else{a=B(Array,"from").call(Array,B(this.j,"values").call(this.j));for(var f=0;f<a.length;f++)l=l.concat(a[f])}return l},z.set=function(a,l){return Di(this),this.H=null,a=ao(this,a),ei(this,a)&&(this.F=At(this.F)-this.j.get(a).length),this.j.set(a,[l]),this.F=At(this.F)+1,this},z.get=function(a,l){return a&&(a=this.oa(a)).length>0?String(a[0]):l},z.toString=function(){if(this.H)return this.H;if(!this.j)return"";for(var a=[],l=B(Array,"from").call(Array,B(this.j,"keys").call(this.j)),f=0;f<l.length;f++){var p=l[f],v=encodeURIComponent(String(p));p=this.oa(p);for(var C=0;C<p.length;C++){var D=v;""!==p[C]&&(D+="="+encodeURIComponent(String(p[C]))),a.push(D)}}return this.H=a.join("&")},z.clone=function(){var a=new Er;return a.H=this.H,this.j&&(a.j=new te.Map(this.j),a.F=this.F),a};var ao=function(a,l){return l=String(l),a.J&&(l=l.toLowerCase()),l};Er.prototype.Eb=function(a){a&&!this.J&&(Di(this),this.H=null,this.j.forEach(function(l,f){var p=f.toLowerCase();f!=p&&(this.remove(f),this.remove(p),l.length>0&&(this.H=null,this.j.set(ao(this,p),wr(l)),this.F=At(this.F)+l.length))},this)),this.J=a},Er.prototype.extend=function(a){for(var l=0;l<arguments.length;l++)jr(arguments[l],function(f,p){this.add(p,f)},this)};var uo=[],No=[],Ma=null,su=[],Br=window.location.hostname,au=window.location.ancestorOrigins,_s=window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo||[],Oo=window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo||[],Ro=window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo||[],rc=window.denylistedMerchantIdsHashedValueListForGpayButtonVariant||[],uu=window.allowlistedMerchantDomainsForBnplDynamicButton||[],Ia=window.allowlistedMerchantDomainsForRlmiaDynamicButton||[],Pa=window.allowlistedMerchantDomainsForPopupModeLoadingScreen||[],ia=window.dynamicGpayButtonVariant||"",Aa=window.testOnlyLocalIbfeUrl||"";function O(){switch(ia){case"GPAY_BUTTON_VARIANT_TYPE_NONE":return 1;case"GPAY_BUTTON_VARIANT_TYPE_DEBIT":return 2;case"GPAY_BUTTON_VARIANT_TYPE_SECURE":return 3;case"GPAY_BUTTON_VARIANT_TYPE_SPEED":return 4;case"GPAY_BUTTON_VARIANT_TYPE_SNOWFALL":return 5;case"GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY":return 6;case"GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD":return 7;case"GPAY_BUTTON_VARIANT_TYPE_OLYMPICS":return 8;case"GPAY_BUTTON_VARIANT_TYPE_RLMIA":return 9;default:return 0}}function F(a){["mouseover","mouseout"].map(function(l){a.addEventListener(l,function(f){a.classList.toggle("hover","mouseover"==f.type);var p=document.querySelector(".gpay-card-info-animation-container");null!==p&&p.classList.toggle("hover","mouseover"==f.type)})}),["mousedown","mouseup","mouseout"].map(function(l){a.addEventListener(l,function(f){a.classList.toggle("active","mousedown"==f.type)})}),["focus","blur"].map(function(l){a.addEventListener(l,function(f){a.classList.toggle("focus","focus"==f.type)})})}function H(a,l){a.setAttribute("type","button");var f="Google Pay";if(google.payments.api.EnableGpayButtonAriaLabelLocalization){var p=Ee(l.buttonLocale,!0);switch(l.buttonType){case"buy":case"long":var v;f=null!=(v=Xr.buy[p])?v:f;break;case"book":var C;f=null!=(C=Xr.book[p])?C:f;break;case"checkout":var D;f=null!=(D=Xr.checkout[p])?D:f;break;case"donate":var A;f=null!=(A=Xr.donate[p])?A:f;break;case"order":var X;f=null!=(X=Xr.order[p])?X:f;break;case"pay":var q;f=null!=(q=Xr.pay[p])?q:f;break;case"subscribe":var ge;f=null!=(ge=Xr.subscribe[p])?ge:f;break;default:f="Google Pay"}}a.setAttribute("aria-label",f)}function $(a,l){google.payments.api.EnableGpayButtonDynamicRadius&&null!=l.buttonRadius&&null!=l.buttonRadius&&(Ma&&Ma.remove(),Ma=ir(".gpay-card-info-container.gpay-card-info-custom-radius, .gpay-button.gpay-card-info-custom-radius\n {\n border-radius: "+l.buttonRadius+"px;\n overflow: hidden;\n }\n",l.buttonRootNode),a.forEach(function(f){return f.classList.add("gpay-card-info-custom-radius")}))}function Q(a){var l="white";Te(a)||(l="black");var f=a.buttonType||"buy";return"buy"===a.buttonType?f="buy long":"plain"===a.buttonType&&(f="plain short"),l+" "+f+" "+Ee(a.buttonLocale)}function Te(a){return"white"==a.buttonColor}function Ee(a,l){var f=null!=navigator.language?navigator.language.substring(0,5):"en",p=(a||f||"en").substring(0,5);return p in Qi.buy?p:(p!==f&&void 0!==l&&l&&Zn({M:"createButton",errorMessage:'Button locale "'+a+'" is not supported, falling back to browser locale.'}),f in Qi.buy?f:"en")}function kn(a){2===a&&B(Pa,"includes").call(Pa,Qr(Br))&&Kt(window,"about:blank","gp-js-popup","width=600,height=600,menubar=no,toolbar=no,scrollbars=no")}var Gt=function(){},pn=function(a,l){return new te.Promise(function(f,p){setTimeout(function(){p({reason:"OTHER_ERROR",intent:a,message:"REQUEST_TIMEOUT"})},l)})},Si=function(a,l){return{error:{reason:a.reason||"OTHER_ERROR",intent:a.intent||l,message:a.message}}},Kn=function(a,l,f){Zn({M:"loadPaymentData",errorMessage:"An error occurred in call back, please try to avoid this by setting structured error in callback response"}),a&&ue({eventType:l,merchantCallbackInfo:{callbackTrigger:f||0}})};Gt.prototype.Wb=function(a,l,f){return null===l.error&&(console.warn("Please remove null fields in callback returns."),delete l.error),{modifiers:[{supportedMethods:[f&&"SANDBOX"===f&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:l}]}},Gt.prototype.hb=function(a,l){return{type:a,data:l}};var Ut=function(a,l,f,p,v){return te.Promise.resolve(te.Promise.race([pn("PAYMENT_AUTHORIZATION",f),l.onPaymentAuthorized(a)])).then(function(C){return p("paymentAuthorizationResponse",C,v)},function(C){return Kn("REQUEST_TIMEOUT"===C.message,27,2),p("paymentAuthorizationResponse",Si(C,"PAYMENT_AUTHORIZATION"),v)})},Dr=function(a,l,f,p,v){return te.Promise.resolve(te.Promise.race([pn(a.callbackTrigger in ft?ft[a.callbackTrigger]:"UNKNOWN_INTENT",f),l.onPaymentDataChanged(a)])).then(function(C){return p("paymentDataCallbackResponse",C,v)},function(C){return Kn("REQUEST_TIMEOUT"===C.message,26,ea[a.callbackTrigger]),p("paymentDataCallbackResponse",Si(C,a.callbackTrigger||"UNKNOWN_INTENT"),v)})},ti=function(){var a=window.document,l=this;this.Qb=a,this.V=a.createElement("gpay-graypane"),yr(this.V,{"z-index":2147483647,display:"none",position:"fixed",top:0,right:0,bottom:0,left:0,"background-color":"rgba(32, 33, 36, .6)"}),this.kb=null,this.V.addEventListener("click",function(){l.O()})};function yr(a,l){for(var f in l)a.style.setProperty(f,l[f].toString(),"important")}function ws(a,l){var f=a.ownerDocument.defaultView,p=a.style.transition||"";return new te.Promise(function(v){f.setTimeout(function(){f.setTimeout(v,300),yr(a,B(Object,"assign").call(Object,{transition:"transform 300ms ease-out, opacity 300ms ease-out"},l))})}).then(function(){yr(a,B(Object,"assign").call(Object,{transition:p},l))})}ti.prototype.show=function(a){return this.kb=a||null,this.Qb.body.appendChild(this.V),yr(this.V,{display:"block",opacity:0}),ws(this.V,{opacity:1})},ti.prototype.O=function(){if(this.kb)try{this.kb.focus()}catch{}};var mm=function(a){this.m=a,this.yb=this.zb=this.A=this.ma=null,this.sa=3e4};(z=mm.prototype).Ab=function(a){this.A=a},z.Ma=function(a){this.ma=a},z.isReadyToPay=function(a){var l=Fh(a);return new te.Promise(function(f){var p=!1;if(null!=l.hasEnrolledInstrument){var v=l.hasEnrolledInstrument();p=!0}else v=l.canMakePayment();v.then(function(C){window.sessionStorage.setItem("google.payments.api.storage.isreadytopay.result",C.toString());var D={result:C};a.apiVersion>=2&&a.existingPaymentMethodRequired&&(D.paymentMethodPresent=C),google.payments.api.EnableImprovedIsrtpLogging&&!D.result&&(D.notReadyToPayFactors=[p?8:9]),f(D)}).catch(function(){if(window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")){var C={result:"true"==window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")};google.payments.api.EnableImprovedIsrtpLogging&&!C.result&&(C.notReadyToPayFactors=[p?10:11,12]),f(C)}else C={result:!1},google.payments.api.EnableImprovedIsrtpLogging&&(C.notReadyToPayFactors=[p?10:11]),f(C)})})},z.prefetchPaymentData=function(a){Fh(a,this.m,a.transactionInfo.currencyCode,a.transactionInfo.totalPrice)},z.loadPaymentData=function(a){Vh(this,a)},z.O=function(){};var Fh=function(a,l,f,p){var v={};return a&&(v=JSON.parse(JSON.stringify(a))),v.apiVersion||(v.apiVersion=1),v.swg&&(v.allowedPaymentMethods=["CARD"]),l&&"TEST"==l&&(v.environment=l),new PaymentRequest([{supportedMethods:[l&&"SANDBOX"===l&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:v}],{total:{label:"Estimated Total Price",amount:{currency:f||"USD",value:p||"0"}}})},Vh=function(a,l){(l=Fh(l,a.m,l.transactionInfo&&l.transactionInfo.currencyCode||void 0,l.transactionInfo&&l.transactionInfo.totalPrice||void 0)).onpaymentmethodchange=function(f){var p=new Gt;p=f.methodDetails.callbackTrigger?Dr(f.methodDetails,a.A,a.sa,p.Wb,a.m):Ut(f.methodDetails,a.A,a.sa,p.Wb,a.m),f.updateWith(p)},a.ma(l.show().then(function(f){return google.payments.api.LogInternally&&console.log("payment response",f),f.complete("success"),f.details.statusCode?(google.payments.api.LogInternally&&console.log("status code",f.details.statusCode),{error:f.details}):f.details}).catch(function(f){throw google.payments.api.LogInternally&&console.log("payment response with err",f),f.statusCode="CANCELED",f}))},Ll=["SHIPPING_ADDRESS","SHIPPING_OPTION"];function $h(a){if(a.apiVersion>=2){var l=ym(a);if(l&&1==l.length&&"CRYPTOGRAM_3DS"==l[0])return!0}return 1==a.allowedPaymentMethods.length&&"TOKENIZED_CARD"==a.allowedPaymentMethods[0]}function Fl(a,l){return!!(a.apiVersion>=2&&(a=ym(a))&&B(a,"includes").call(a,l))}function cu(a){return!!(a.apiVersion>=2&&a.allowedPaymentMethods&&Vl(a,"EWALLET"))}function lu(){var a=window.location.hostname,l=a.length-11;return l>=0&&a.indexOf(".google.com",l)==l||void 0===window.isSecureContext||window.isSecureContext?null:"Google Pay APIs should be called in secure context!"}function Y4(a){return"CARD"===a||"TOKENIZED_CARD"===a}function K4(a){return(V=B(Object,"values").call(Object,cs),B(V,"includes")).call(V,a)}function jh(a){return a?a.encryptedParameters?null:a.apiVersion<2||!a.allowedPaymentMethods||!Vl(a,"UPI")?a.swg?(a=a.swg)?a.skuId&&a.publicationId?null:"Both skuId and publicationId must be provided":"Swg parameters must be provided":a.transactionInfo?a.transactionInfo.currencyCode?a.transactionInfo.totalPriceStatus&&(V=B(Object,"values").call(Object,$t),B(V,"includes")).call(V,a.transactionInfo.totalPriceStatus)?"NOT_CURRENTLY_KNOWN"===a.transactionInfo.totalPriceStatus||a.transactionInfo.totalPrice?null:"totalPrice in transactionInfo must be set when totalPriceStatus is ESTIMATED or FINAL!":"totalPriceStatus in transactionInfo must be set to one of NOT_CURRENTLY_KNOWN, ESTIMATED or FINAL!":"currencyCode in transactionInfo must be set!":"transactionInfo must be set!":"UPI not supported":"paymentDataRequest must be set!"}function gm(a,l){if(a.callbackIntents&&!l)return"paymentDataCallbacks must be set";if(B(a.callbackIntents,"includes").call(a.callbackIntents,"PAYMENT_AUTHORIZATION")!==!!l.onPaymentAuthorized)return"Both PAYMENT_AUTHORIZATION intent and onPaymentAuthorized must be set";var f=Ll.slice();return google.payments.api.EnableOfferCallback&&f.push("OFFER"),f.push("PAYMENT_METHOD"),!!f.filter(function(p){return B(a.callbackIntents,"includes").call(a.callbackIntents,p)}).length!=!!l.onPaymentDataChanged?"onPaymentDataChanged callback must be set if any of "+f+" callback intent is set.":null}function ym(a){return a.allowedPaymentMethods&&(a=Vl(a,"CARD"))&&a.parameters?a.parameters.allowedAuthMethods:null}function Vl(a,l){for(var f=0;f<a.allowedPaymentMethods.length;f++){var p=a.allowedPaymentMethods[f];if(p.type==l)return p}return null}var G={},xa=function(a,l){Array.isArray(l)||(l=[l]),Zt(l.length>0,"At least one Css3Property should be specified."),l=l.map(function(f){if("string"==typeof f)return f;!function(a,l,f){Wt(a)||jn("Expected object but got %s: %s.",[Re(a),a],l,Array.prototype.slice.call(arguments,2))}(f,"Expected css3 property to be an object.");var p=f.Hc+" "+f.duration+"s "+f.timing+" "+f.delay+"s";return Zt(f.Hc&&"number"==typeof f.duration&&f.timing&&"number"==typeof f.delay,"Unexpected css3 property value: %s",p),p}),function(a,l){var f=G.transition;if(!f){var p="transition".replace(/\-([a-z])/g,function(a,l){return l.toUpperCase()});f=p,void 0===a.style[p]&&(p=(wi?"Webkit":Sa?"Moz":null)+function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(l,f,p){return f+p.toUpperCase()})}(p),void 0!==a.style[p]&&(f=p)),G.transition=f}f&&(a.style[f]=l)}(a,l.join(","))},Lo=function(){this.cb=this.cb,this.jb=this.jb};Lo.prototype.cb=!1,Lo.prototype.dispose=function(){this.cb||(this.cb=!0,this.Fa())},Lo.prototype[B(te.Symbol,"dispose")]=function(){this.dispose()},Lo.prototype.Fa=function(){if(this.jb)for(;this.jb.length;)this.jb.shift()()};var Cs=function(a,l){this.type=a,this.currentTarget=this.target=l,this.defaultPrevented=this.Pa=!1};Cs.prototype.stopPropagation=function(){this.Pa=!0},Cs.prototype.preventDefault=function(){this.defaultPrevented=!0};var X4=function(){if(!Xe.addEventListener||!Object.defineProperty)return!1;var a=!1,l=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var f=function(){};Xe.addEventListener("test",f,l),Xe.removeEventListener("test",f,l)}catch{}return a}(),ka=function(a,l){if(Cs.call(this,a?a.type:""),this.relatedTarget=this.currentTarget=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.key="",this.charCode=this.keyCode=0,this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.timeStamp=0,this.Ga=null,a){var f=this.type=a.type,p=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement,this.currentTarget=l,(l=a.relatedTarget)||("mouseover"==f?l=a.fromElement:"mouseout"==f&&(l=a.toElement)),this.relatedTarget=l,p?(this.clientX=void 0!==p.clientX?p.clientX:p.pageX,this.clientY=void 0!==p.clientY?p.clientY:p.pageY,this.screenX=p.screenX||0,this.screenY=p.screenY||0):(this.offsetX=wi||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=wi||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0),this.button=a.button,this.keyCode=a.keyCode||0,this.key=a.key||"",this.charCode=a.charCode||("keypress"==f?a.keyCode:0),this.ctrlKey=a.ctrlKey,this.altKey=a.altKey,this.shiftKey=a.shiftKey,this.metaKey=a.metaKey,this.pointerId=a.pointerId||0,this.pointerType=a.pointerType,this.state=a.state,this.timeStamp=a.timeStamp,this.Ga=a,a.defaultPrevented&&ka.Da.preventDefault.call(this)}};Rt(ka,Cs),ka.prototype.stopPropagation=function(){ka.Da.stopPropagation.call(this),this.Ga.stopPropagation?this.Ga.stopPropagation():this.Ga.cancelBubble=!0},ka.prototype.preventDefault=function(){ka.Da.preventDefault.call(this);var a=this.Ga;a.preventDefault?a.preventDefault():a.returnValue=!1};var Na="closure_listenable_"+(1e6*Math.random()|0),Fo=0,Oa=function(a,l,f,p,v){this.listener=a,this.proxy=null,this.src=l,this.type=f,this.capture=!!p,this.fb=v,this.key=++Fo,this.Qa=this.ab=!1},Vo=function(a){a.Qa=!0,a.listener=null,a.proxy=null,a.src=null,a.fb=null};function Ti(a){this.src=a,this.D={},this.Va=0}Ti.prototype.add=function(a,l,f,p,v){var C=a.toString();(a=this.D[C])||(a=this.D[C]=[],this.Va++);var D=du(a,l,p,v);return D>-1?(l=a[D],f||(l.ab=!1)):((l=new Oa(l,this.src,C,!!p,v)).ab=f,a.push(l)),l},Ti.prototype.remove=function(a,l,f,p){if(!((a=a.toString())in this.D))return!1;var v=this.D[a];return(l=du(v,l,f,p))>-1&&(Vo(v[l]),Zt(null!=v.length),Array.prototype.splice.call(v,l,1),0==v.length&&(delete this.D[a],this.Va--),!0)};var ic=function(a,l){var f=l.type;if(f in a.D){var C,p=a.D[f],v=Jr(p,l);(C=v>=0)&&(Zt(null!=p.length),Array.prototype.splice.call(p,v,1)),C&&(Vo(l),0==a.D[f].length&&(delete a.D[f],a.Va--))}};Ti.prototype.tb=function(a,l,f,p){var v=-1;return(a=this.D[a.toString()])&&(v=du(a,l,f,p)),v>-1?a[v]:null},Ti.prototype.hasListener=function(a,l){var f=void 0!==a,p=f?a.toString():"",v=void 0!==l;return function qs(a,l){for(var f in a)if(l.call(void 0,a[f],f,a))return!0;return!1}(this.D,function(C){for(var D=0;D<C.length;++D)if(!(f&&C[D].type!=p||v&&C[D].capture!=l))return!0;return!1})};var du=function(a,l,f,p){for(var v=0;v<a.length;++v){var C=a[v];if(!C.Qa&&C.listener==l&&C.capture==!!f&&C.fb==p)return v}return-1},Es="closure_lm_"+(1e6*Math.random()|0),Hh={},vm=function(a,l,f,p,v){if(p&&p.once)Gh(a,l,f,p,v);else if(Array.isArray(l))for(var C=0;C<l.length;C++)vm(a,l[C],f,p,v);else f=Ra(f),a&&a[Na]?(p=Wt(p)?!!p.capture:!!p,Uh(a),a.N.add(String(l),f,!1,p,v)):bm(a,l,f,!1,p,v)},bm=function(a,l,f,p,v,C){if(!l)throw Error("Invalid event type");var D=Wt(v)?!!v.capture:!!v,A=yt(a);if(A||(a[Es]=A=new Ti(a)),!(f=A.add(l,f,p,D,C)).proxy)if(p=xt(),f.proxy=p,p.src=a,p.listener=f,a.addEventListener)X4||(v=D),void 0===v&&(v=!1),a.addEventListener(l.toString(),p,v);else if(a.attachEvent)a.attachEvent(_m(l.toString()),p);else{if(!a.addListener||!a.removeListener)throw Error("addEventListener and attachEvent are unavailable.");Zt("change"===l,"MediaQueryList only has a change event"),a.addListener(p)}},xt=function(){var a=wm,l=function(f){return a.call(l.src,l.listener,f)};return l},Gh=function(a,l,f,p,v){if(Array.isArray(l))for(var C=0;C<l.length;C++)Gh(a,l[C],f,p,v);else f=Ra(f),a&&a[Na]?a.N.add(String(l),f,!0,Wt(p)?!!p.capture:!!p,v):bm(a,l,f,!0,p,v)},Rn=function(a,l,f,p,v){if(Array.isArray(l))for(var C=0;C<l.length;C++)Rn(a,l[C],f,p,v);else p=Wt(p)?!!p.capture:!!p,f=Ra(f),a&&a[Na]?a.N.remove(String(l),f,p,v):a&&(a=yt(a))&&(l=a.tb(l,f,p,v))&&oc(l)},oc=function(a){if("number"!=typeof a&&a&&!a.Qa){var l=a.src;if(l&&l[Na])ic(l.N,a);else{var f=a.type,p=a.proxy;l.removeEventListener?l.removeEventListener(f,p,a.capture):l.detachEvent?l.detachEvent(_m(f),p):l.addListener&&l.removeListener&&l.removeListener(p),(f=yt(l))?(ic(f,a),0==f.Va&&(f.src=null,l[Es]=null)):Vo(a)}}},_m=function(a){return a in Hh?Hh[a]:Hh[a]="on"+a},wm=function(a,l){if(a.Qa)a=!0;else{l=new ka(l,this);var f=a.listener,p=a.fb||a.src;a.ab&&oc(a),a=f.call(p,l)}return a},yt=function(a){return(a=a[Es])instanceof Ti?a:null},ke="__closure_events_fn_"+(1e9*Math.random()>>>0),Ra=function(a){return Zt(a,"Listener can not be null."),"function"==typeof a?a:(Zt(a.handleEvent,"An object listener must have handleEvent method."),a[ke]||(a[ke]=function(l){return a.handleEvent(l)}),a[ke])},mn=function(){Lo.call(this),this.N=new Ti(this),this.pc=this,this.xb=null};Rt(mn,Lo),mn.prototype[Na]=!0,mn.prototype.addEventListener=function(a,l,f,p){vm(this,a,l,f,p)},mn.prototype.removeEventListener=function(a,l,f,p){Rn(this,a,l,f,p)},mn.prototype.dispatchEvent=function(a){Uh(this);var C,l=this.xb;if(l)for(var f=[],p=1;l;l=l.xb)f.push(l),Zt(++p<1e3,"infinite loop");if(l=this.pc,p=a.type||a,"string"==typeof a)a=new Cs(a,l);else if(a instanceof Cs)a.target=a.target||l;else{var v=a;!function Fr(a,l){for(var f,p,v=1;v<arguments.length;v++){for(f in p=arguments[v])a[f]=p[f];for(var C=0;C<Ri.length;C++)f=Ri[C],Object.prototype.hasOwnProperty.call(p,f)&&(a[f]=p[f])}}(a=new Cs(p,l),v)}if(v=!0,f)for(C=f.length-1;!a.Pa&&C>=0;C--){var D=a.currentTarget=f[C];v=$l(D,p,!0,a)&&v}if(a.Pa||(D=a.currentTarget=l,v=$l(D,p,!0,a)&&v,a.Pa||(v=$l(D,p,!1,a)&&v)),f)for(C=0;!a.Pa&&C<f.length;C++)D=a.currentTarget=f[C],v=$l(D,p,!1,a)&&v;return v},mn.prototype.Fa=function(){if(mn.Da.Fa.call(this),this.N){var f,a=this.N;for(f in a.D){for(var p=a.D[f],v=0;v<p.length;v++)Vo(p[v]);delete a.D[f],a.Va--}}this.xb=null};var $l=function(a,l,f,p){if(!(l=a.N.D[String(l)]))return!0;l=l.concat();for(var v=!0,C=0;C<l.length;++C){var D=l[C];if(D&&!D.Qa&&D.capture==f){var A=D.listener,X=D.fb||D.src;D.ab&&ic(a.N,D),v=!1!==A.call(X,p)&&v}}return v&&!p.defaultPrevented};mn.prototype.tb=function(a,l,f,p){return this.N.tb(String(a),l,f,p)},mn.prototype.hasListener=function(a,l){return this.N.hasListener(void 0!==a?String(a):void 0,l)};var Uh=function(a){Zt(a.N,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")},jl=function(a,l){mn.call(this),this.gb=a||1,this.Ua=l||Xe,this.Nb=fn(this.Rc,this),this.Ub=Date.now()};Rt(jl,mn),(z=jl.prototype).enabled=!1,z.P=null,z.setInterval=function(a){this.gb=a,this.P&&this.enabled?(this.stop(),this.start()):this.P&&this.stop()},z.Rc=function(){if(this.enabled){var a=Date.now()-this.Ub;a>0&&a<.8*this.gb?this.P=this.Ua.setTimeout(this.Nb,this.gb-a):(this.P&&(this.Ua.clearTimeout(this.P),this.P=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}},z.start=function(){this.enabled=!0,this.P||(this.P=this.Ua.setTimeout(this.Nb,this.gb),this.Ub=Date.now())},z.stop=function(){this.enabled=!1,this.P&&(this.Ua.clearTimeout(this.P),this.P=null)},z.Fa=function(){jl.Da.Fa.call(this),this.stop(),delete this.Ua};var co=function(a,l,f,p,v,C){this.code=a,this.data="ok"==a?l:null,this.mode=f,this.origin=p,this.wb=v,this.Nc=C,this.ok="ok"==a,this.error="failed"==a?Error(String(l)||""):null};function J4(a){var l=a.indexOf("#");return-1==l?a:a.substring(0,l)}function zh(a,l,f){if(l.ok)f(l);else{var p;if(!(p=l.error)){if(p=null,"function"==typeof a.DOMException){a=a.DOMException;try{p=new a("AbortError","AbortError")}catch{}}p||((p=Error("AbortError")).name="AbortError",p.code=20)}(a=p).yd=l,f(te.Promise.reject(a))}}var Ds=function(a,l,f){this.g=a,this.Gb=l,this.G=f,this.Jc=!0,this.Hb=null,this.Ib=!1,this.aa=this.ib=this.ba=this.o=null,this.Mb=this.yc.bind(this)};Ds.prototype.connect=function(a){if(this.ba)throw Error("already connected");this.ba=a,this.g.addEventListener("message",this.Mb)},Ds.prototype.disconnect=function(){if(this.ba&&(this.ba=null,this.o&&(sc(this.o),this.o=null),this.g.removeEventListener("message",this.Mb),this.aa)){for(var a in this.aa){var l=this.aa[a];l.port1&&sc(l.port1),l.port2&&sc(l.port2)}this.aa=null}},Ds.prototype.isConnected=function(){return null!=this.G};var Wh=function(a){return a.ba&&!a.Hb&&(a.Hb="function"==typeof a.Gb?a.Gb():a.Gb),a.Hb},Tr=function(a){if(null==a.G)throw Error("not connected");return a.G},xe=function(a,l){var f=null;a.Ib&&"function"==typeof a.g.MessageChannel&&(f=new a.g.MessageChannel),f?(hu(a,"start",l,[f.port2]),Dm(a,f.port1)):hu(a,"start",l)},hu=function(a,l,f,p){if(f={sentinel:"__ACTIVITIES__",cmd:l,payload:f||null},a.o)a.o.postMessage(f,p||void 0);else{var v=Wh(a);if(!v)throw Error("not connected");a="connect"==l?null!=a.G?a.G:"*":Tr(a),v.postMessage(f,a,p||void 0)}};Ds.prototype.customMessage=function(a){hu(this,"msg",a)};var Em=function(a,l){a.aa||(a.aa={});var p,f=a.aa[l];return f||(f=new te.Promise(function(v){p=v}),a.aa[l]=f={port1:null,port2:null,fc:p,promise:f}),f},Dm=function(a,l){a.o&&sc(a.o),a.o=l,a.o.onmessage=function(f){var p=f.data,v=p&&p.cmd;p=p&&p.payload||null,v&&a.za(v,p,f)}};function sc(a){try{a.close()}catch{}}Ds.prototype.yc=function(a){if(!this.Jc||Wh(this)==a.source){var l=a.data;if(l&&"__ACTIVITIES__"==l.sentinel){var f=l.cmd;if(!this.o||"connect"==f||"start"==f){var p=a.origin;l=l.payload||null,null==this.G&&"start"==f&&(this.G=p),null==this.G&&a.source&&Wh(this)==a.source&&(this.G=p),p==this.G&&this.za(f,l,a)}}}},Ds.prototype.za=function(a,l,f){"connect"==a?(this.o&&(sc(this.o),this.o=null),this.Ib=l&&l.acceptsChannel||!1,this.ba(a,l)):"start"==a?((f=f.ports&&f.ports[0])&&Dm(this,f),this.ba(a,l)):"msg"==a?null!=this.ib&&null!=l&&this.ib(l):"cnget"==a?((a=Em(this,l=l.name||"")).port1||(f=new this.g.MessageChannel,a.port1=f.port1,a.port2=f.port2,a.fc(a.port1)),a.port2&&(hu(this,"cnset",{name:l},[a.port2]),a.port2=null)):"cnset"==a?(a=f.ports[0],(l=Em(this,l.name)).port1=a,l.fc(a)):this.ba(a,l)};var Sm=function(a,l,f){var p=this;this.Ia=a,this.nb=l,this.Za=f||null,this.g=this.Ia.ownerDocument.defaultView,this.G=Ei(Zs(l).toString()),this.Ea=null,this.qb=new te.Promise(function(v){p.Ea=v}),this.lb=null,new te.Promise(function(v){p.lb=v}),this.L=null,this.mb=new te.Promise(function(v){p.L=v}),this.ec=this.Xb=null,this.u=new Ds(this.g,function(){return p.Ia.contentWindow},this.G)};(z=Sm.prototype).connect=function(){var a=this.Ia;if("isConnected"in a)a=a.isConnected;else{var l=a.ownerDocument&&a.ownerDocument.documentElement;a=l&&l.contains(a)||!1}if(!a)throw Error("iframe must be in DOM");return this.u.connect(this.za.bind(this)),Vr(this.Ia,this.nb),this.qb},z.disconnect=function(){this.u.disconnect()},z.Ya=function(){return this.mb},z.eb=function(){return this.Ia.contentWindow||null},z.message=function(a){this.u.customMessage(a)},z.onMessage=function(a){this.u.ib=a},z.za=function(a,l){"connect"==a?(xe(this.u,this.Za),this.Ea()):"result"==a?this.L&&(l=new co(a=l.code,"failed"==a?Error(l.data||""):l.data,"iframe",Tr(this.u),!0,!0),zh(this.g,l,this.L),this.L=null,hu(this.u,"close"),this.disconnect()):"ready"==a?this.lb&&(this.lb(),this.lb=null):"resize"==a&&(this.ec=l.height,this.Xb&&this.Xb(this.ec))};var he=function(a,l,f,p,v,C){var D=this;if(!p||"_blank"!=p&&"_top"!=p&&"_"==p[0])throw Error('The only allowed targets are "_blank", "_top" and name targets');this.g=a,this.Ic=l,this.nb=f,this.Ec=p,this.Za=v||null,this.ra=C||{},this.Ea=null,this.qb=new te.Promise(function(A){D.Ea=A}),this.L=null,this.mb=new te.Promise(function(A){D.L=A}),this.u=this.W=this.ia=null};(z=he.prototype).open=function(){return n2(this)},z.disconnect=function(){if(this.W&&(this.W.stop(),this.W=null),this.u&&(this.u.disconnect(),this.u=null),this.ia){try{this.ia.close()}catch{}this.ia=null}this.L=null},z.eb=function(){return this.ia},z.Ya=function(){return this.mb},z.message=function(a){this.u.customMessage(a)},z.onMessage=function(a){this.u.ib=a};var n2=function(a){var l=Ln(a),f=a.nb;if(!a.ra.Cd){var p=function e2(a){var l={requestId:a.requestId,returnUrl:a.hc,args:a.qc};return void 0!==a.origin&&(l.origin=a.origin),void 0!==a.wb&&(l.originVerified=a.wb),JSON.stringify(l)}({requestId:a.Ic,hc:a.ra.hc||J4(a.g.location.href),qc:a.Za});f=f+(-1==f.indexOf("#")?"#":"&")+encodeURIComponent("__WA__")+"="+encodeURIComponent(p)}"_top"!=(p=a.Ec)&&function Cm(a){return/Trident|MSIE|IEMobile/i.test((a=a.navigator)&&a.userAgent)}(a.g)&&(p="_top");try{var v=Kt(a.g,f,p,l)}catch{}if(!v&&"_top"!=p&&!a.ra.Ad){p="_top";try{v=Kt(a.g,f,p)}catch{}}return v?(a.ia=v,"_top"!=p&&ac(a)):Bl(a,Error("failed to open window")),a.mb.catch(function(){})},Ln=function(a){var l=a.g.screen,f=l.availWidth||l.width,p=l.availHeight||l.height,v=a.g==a.g.top,C=a.g.navigator;C=/Edge/i.test(C&&C.userAgent),f=Math.max(f-(v&&a.g.outerWidth>a.g.innerWidth?Math.min(100,a.g.outerWidth-a.g.innerWidth):C?100:0),.5*f);var D=Math.max(p-(v&&a.g.outerHeight>a.g.innerHeight?Math.min(100,a.g.outerHeight-a.g.innerHeight):C?100:0),.5*p);for(var A in p=Math.floor(Math.min(600,.9*f)),v=Math.floor(Math.min(600,.9*D)),a.ra.width&&(p=Math.min(a.ra.width,f)),a.ra.height&&(v=Math.min(a.ra.height,D)),a=Math.floor((l.width-p)/2),l=Math.floor((l.height-v)/2),f={height:v,width:p,resizable:"yes",scrollbars:"yes"},C||(f.left=a,f.top=l),C="",f)C&&(C+=","),C+=A+"="+f[A];return C},ac=function(a){a.W=new jl(500),a.W.addEventListener("tick",function(){Tm(a,!0)}),a.W.start(),a.u=new Ds(a.g,a.ia,null),a.u.connect(a.za.bind(a))},Tm=function(a,l){(!a.ia||a.ia.closed)&&(a.W&&(a.W.stop(),a.W=null),a.g.setTimeout(function(){try{a.ea("canceled",null)}catch(f){Bl(a,f)}},l?3e3:0))},Bl=function(a,l){a.L&&a.L(te.Promise.reject(l)),a.disconnect()};he.prototype.ea=function(a,l){if(this.L){var f=this.u.isConnected();a=new co(a,l,"popup",f?Tr(this.u):Ei(this.nb),f,f),zh(this.g,a,this.L),this.L=null}this.u&&hu(this.u,"close"),this.disconnect()},he.prototype.za=function(a,l){var f=this;"connect"==a?(xe(this.u,this.Za),this.Ea()):"result"==a?this.ea(a=l.code,"failed"==a?Error(l.data||""):l.data):"check"==a&&this.g.setTimeout(function(){return Tm(f)},200)};var qh=function(a,l,f,p,v){this.g=a,this.tc=l,this.uc=f,this.G=p,this.Qc=v};qh.prototype.Ya=function(){var a=this,l=new co(this.tc,this.uc,"redirect",this.G,this.Qc,!1);return new te.Promise(function(f){zh(a.g,l,f)})};var La=function(){var a=window,l=this;this.version="1.23",this.g=a,this.R=a.location.hash,this.Cb={},this.Db={},this.cc=null,new te.Promise(function(f){l.cc=f})};La.prototype.open=function(a,l,f,p,v){return{Dd:Gl(this,a,l,f,p,v).eb()}},La.prototype.Ma=function(a,l){var f=this.Cb[a];if(f||(this.Cb[a]=f=[]),f.push(l),!(f=this.Db[a])&&this.R){try{var p=this.g,v=function Q4(a){return a?(/^[?#]/.test(a)?a.slice(1):a).split("&").reduce(function(l,f){var p=f.split("=");return f=decodeURIComponent(p[0]||""),p=decodeURIComponent(p[1]||""),f&&(l[f]=p),l},{}):{}}(this.R).__WA_RES__;if(v){var C=JSON.parse(v);if(C&&C.requestId==a){var D=p.location.hash;if(D){var A=encodeURIComponent("__WA_RES__")+"=";v=-1;do{if(-1!=(v=D.indexOf(A,v))){var X=v>0?D.substring(v-1,v):"";if(""==X||"?"==X||"#"==X||"&"==X){var q=D.indexOf("&",v+1);-1==q&&(q=D.length),D=D.substring(0,v)+D.substring(q+1)}else v++}}while(-1!=v&&v<D.length)}var ge=D;if((ge=ge||"")!=p.location.hash&&p.history&&p.history.replaceState)try{p.history.replaceState(p.history.state,"",ge)}catch{}var Bt=C.code,En=C.data,ur=C.origin,vu=p.document.referrer&&Ei(p.document.referrer);f=new qh(p,Bt,En,ur,ur==vu)}else f=null}else f=null}catch(ri){(function t2(a){setTimeout(function(){throw a})})(ri),this.cc(ri)}f&&(this.Db[a]=f)}(a=f)&&Zh(a,l)};var Gl=function(a,l,f,p,v,C){var D=new he(a.g,l,f,p,v,C);return D.open().then(function(){ae(a,l,D)}),D},Zh=function(a,l){te.Promise.resolve().then(function(){l(a)})},ae=function(a,l,f){var p=a.Cb[l];p&&p.forEach(function(v){Zh(f,v)}),a.Db[l]=f},cc=window.testOnlyLocalIbfeUrl||"",lc=window.testOnlyLocalWeb5Url||"",Ul=window.integratorExperimentIds||[],Mi=function(a,l,f,p){this.m=a,this.Wa=l||!1,this.Jb=f||new La,this.ub=new ti,this.Oa=this.ma=null,this.Fb=!1,this.Pb=this.o=null,this.dc=p||null,this.yb=this.zb=this.A=this.Ra=null,this.sa=3e4,this.Wa&&ir("\n.google-payments-dialog {\n animation: none 0s ease 0s 1 normal none running;\n background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n border: 0 none #333;\n border-collapse: separate;\n bottom: 0;\n box-shadow: #808080 0 3px 0 0, #808080 0 0 22px;\n box-sizing: border-box;\n letter-spacing: normal;\n max-height: 100%;\n overflow: visible;\n position: fixed;\n width: 100%;\n appearance: none;\n left: 0;\n}\n@media (min-width: 600px) {\n .google-payments-dialog {\n width: 480px;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n max-height: 600px;\n }\n}\n.google-payments-dialogContainer {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n background-color: rgba(0,0,0,0.4);\n}\n")};Mi.prototype.Ma=function(a){this.ma||(this.ma=a,this.Jb.Ma("GPAY",this.Dc.bind(this)))},Mi.prototype.O=function(){this.ub.O()},Mi.prototype.Dc=function(a){var l=this;(function(a){a.kb=null,a.V.parentElement&&ws(a.V,{opacity:0}).then(function(){yr(a.V,{display:"none"}),a.Qb.body.removeChild(a.V)})})(this.ub),this.ma(a.Ya().then(function(f){if("TIN"!=l.m&&f.origin!=Yh(l))throw Error("channel mismatch");var p=f.data;if(p.redirectEncryptedCallbackData)return $r=3,Mm(l,p.redirectEncryptedCallbackData).then(function(v){var C=B(Object,"assign").call(Object,{},p);return delete C.redirectEncryptedCallbackData,B(Object,"assign").call(Object,C,v)});if(!f.wb||!f.Nc)throw Error("channel mismatch");return p},function(f){var p=f.message;f=f.message;try{f=JSON.parse(p.substring(7))}catch{}return f.statusCode&&-1==["DEVELOPER_ERROR","MERCHANT_ACCOUNT_ERROR"].indexOf(f.statusCode)&&(f={statusCode:"CANCELED"}),"AbortError"==f&&(f={statusCode:"CANCELED"}),te.Promise.reject(f)}))};var Mm=function(a,l){return new te.Promise(function(f,p){var v=i2(a),C=new XMLHttpRequest;C.open("POST",v,!0),"withCredentials"in C&&(C.withCredentials=!0),C.onreadystatechange=function(){if(!(C.readyState<2))if(C.status<100||C.status>599)C.onreadystatechange=null,p(Error("Unknown HTTP status "+C.status));else if(4==C.readyState)try{f(JSON.parse(C.responseText))}catch(D){p(D)}},C.onerror=function(){p(Error("Network failure"))},C.onabort=function(){p(Error("Request aborted"))},C.send(l)})};Mi.prototype.isReadyToPay=function(a){var l=this;return new te.Promise(function(f,p){if($h(a)){var v={result:!1};google.payments.api.EnableImprovedIsrtpLogging&&(v.notReadyToPayFactors=[1]),f(v)}else{if(google.payments.api.EnableImprovedIsrtpLogging&&(v=function(a){var l=window.navigator.userAgent,f=l.indexOf("OPA/")>0&&l.indexOf("AppleWebKit")>0,p=l.indexOf("Instagram")>0,v=l.indexOf("Instagram")>0&&l.indexOf("IABMV/1")>0,C=l.indexOf("FB_IAB")>0||l.indexOf("FBIOS")>0,D=(l.indexOf("FB_IAB")>0||l.indexOf("FBIOS")>0)&&l.indexOf("IABMV/1")>0,A=l.indexOf("AndroidMapsWebView")>0;if(!a.Wa){if(f)return{result:!1,notReadyToPayFactors:[2]};if(p&&!v)return{result:!1,notReadyToPayFactors:[3]};if(C&&!D)return{result:!1,notReadyToPayFactors:[4]};if(A)return{result:!1,notReadyToPayFactors:[5]}}return a=l.indexOf("UCMini")>0,google.payments.api.ReadyToPayAdditionalBrowsers&&a?{result:!1,notReadyToPayFactors:[6]}:(a=google.payments.api.ReadyToPayAdditionalBrowsers&&(l.indexOf("OPT")>0||l.indexOf("UCBrowser")>0),l.indexOf("Chrome")>0||l.indexOf("Firefox")>0||l.indexOf("Safari")>0||a||f||v||D?{result:!0,notReadyToPayFactors:[]}:{result:!1,notReadyToPayFactors:[7]})}(l),!v.result))return void f(v);var C=(v=window.navigator.userAgent).indexOf("OPA/")>0&&v.indexOf("AppleWebKit")>0,D=v.indexOf("Instagram")>0,A=v.indexOf("Instagram")>0&&v.indexOf("IABMV/1")>0,X=v.indexOf("FB_IAB")>0||v.indexOf("FBIOS")>0,q=(v.indexOf("FB_IAB")>0||v.indexOf("FBIOS")>0)&&v.indexOf("IABMV/1")>0,ge=v.indexOf("AndroidMapsWebView")>0;if((C||D&&!A||X&&!q||ge)&&!l.Wa)f({result:!1});else{if(D=!1,google.payments.api.ReadyToPayAdditionalBrowsers){if(v.indexOf("UCMini")>0)return void f({result:!1});D=v.indexOf("OPT")>0||v.indexOf("UCBrowser")>0}var Bt=v.indexOf("Chrome")>0||v.indexOf("Firefox")>0||v.indexOf("Safari")>0||D||C||A||q;Bt&&a.apiVersion>=2&&a.existingPaymentMethodRequired?(a.environment=l.m,L(a,6,["isReadyToPayResponse","isReadyToPayError"],function(En){var ur={result:Bt};a.existingPaymentMethodRequired&&(En.data.isReadyToPayError?p({statusCode:"DEVELOPER_ERROR",statusMessage:"Ready to pay error. Cause : "+En.data.isReadyToPayError}):ur.paymentMethodPresent="READY_TO_PAY"==En.data.isReadyToPayResponse),f(ur)})):f({result:Bt})}}})},Mi.prototype.prefetchPaymentData=function(a){if(this.Wa){this.xa(a);var l=dc(this),f=Fa(this,l.container,l.iframe,a,Im(a));this.Oa={container:l.container,iframe:l.iframe,request:a,dataPromise:f}}},Mi.prototype.loadPaymentData=function(a){var l=this;if(a.swg||a.apiVersion||(a.apiVersion=1),a.forceRedirect&&this.A)throw Error("Callback is not supported in redirect mode");a.environment=this.m,this.xa(a);var f=Im(a);if(!this.Wa)return $r=a.forceRedirect?3:2,function(a,l,f,p,v){var C=Gl(a,"GPAY",l,f,p,v);return C.qb.then(function(){return C})}(this.Jb,Wl(this,f),a.forceRedirect?"_top":"gp-js-popup",a,r2(a)).then(function(C){var D=new Gt;l.ub.show(C&&C.eb()),google.payments.api.EnableClosePopupOnHostingPageUnload&&window.addEventListener("beforeunload",function(){var A;null==(A=C.eb())||A.close()}),C.onMessage(function(A){"partialPaymentDataCallback"==A.type?l.zb=Dr(A.data,l.A,l.sa,D.hb,l.m).then(function(X){return C.message(X)}):"fullPaymentDataCallback"==A.type&&(l.yb=Ut(A.data,l.A,l.sa,D.hb,l.m).then(function(X){C.message(X)}))})});if($r=1,this.Oa){var p=this.Oa;a=this.Oa.dataPromise,this.Oa=null}else p=dc(this),a=Fa(this,p.container,p.iframe,a,f);Kh(this,p.container,p.iframe),history.pushState({},"",window.location.href);var v=function(C){C.preventDefault(),(C=p).container.parentNode&&(l.Pb(te.Promise.reject({errorCode:"CANCELED"})),pu(C.container,C.iframe),l.o&&l.o.disconnect()),window.removeEventListener("popstate",v)};window.addEventListener("popstate",v),f=new te.Promise(function(C){l.Pb=C}),this.ma(te.Promise.race([a,f]))};var r2=function(a){var l={width:600,height:550};return a.forceRedirect||a.swg||(l.disableRedirectFallback=!0),l};Mi.prototype.Ab=function(a){this.A=a};var Yh=function(a){return"LOCAL"==a.m?"":"TEST"==a.m&&""!=cc?cc:"https://"+("PREPROD"==a.m?"pay-preprod.sandbox":"SANDBOX"==a.m?"pay.sandbox":"CANARY"==a.m?"ibfe-canary.corp":"pay")+".google.com"},i2=function(a){var l=Yh(a)+"/gp/p/apis/buyflow/process";return a.dc&&(l+="?rk="+encodeURIComponent(a.dc)),l},Im=function(a){var l,f;if(null!=(l=a.i)&&l.disableNgbf)return!1;if(null!=(f=a.callbackIntents)&&f.length&&(l=B(a.callbackIntents,"includes").call(a.callbackIntents,"OFFER"),!google.payments.api.EnableWebNgbfForCallbackIntents||l&&!google.payments.api.EnableWebNgbfForOfferCallbackIntent)||a.Bd)return!1;if(a.allowedPaymentMethods)for(l=(a=Se(a.allowedPaymentMethods)).next();!l.done;l=a.next())if((l=l.value).parameters&&l.parameters.cvcRequired&&!google.payments.api.EnableWebNgbfForCvcRequired)return!1;return!0},Wl=function(a,l){var f="TIN"==a.m?"/ui/pay":Yh(a)+"/gp/p/ui/pay",p=!1;return l&&(p=!0,f+="?ng=true","TEST"==a.m&&""!=lc&&(f+="&_web5host="+lc)),Ul.length>0&&(f+=(p?"&":"?")+"expids="+Ul.join(",")),f},pu=function(a,l){ni(l,"all 250ms ease 0s"),l.height="0px",setTimeout(function(){a.parentNode&&a.parentNode.removeChild(a)},250)},dc=function(a){var l=document.createElement("div");l.classList.add("google-payments-dialogContainer");var f=document.createElement("div");f.classList.add("iframeContainer");var p=document.createElement("iframe");return p.classList.add("google-payments-dialog"),p.setAttribute("frameborder","0"),p.setAttribute("scrolling","no"),f.appendChild(p),l.appendChild(f),document.body.appendChild(l),f=(l={container:l,iframe:p}).iframe,(p=l.container).addEventListener("click",fn(a.sc,a,l)),p.style.display="none",f.style.display="none",f.height="0px",ni(f,"all 250ms ease 0s"),a.Fb=!1,l};Mi.prototype.sc=function(a){a.container.parentNode&&history.back()};var Kh=function(a,l,f){l.style.display="block",f.style.display="block",setTimeout(function(){f.height="280px",setTimeout(function(){a.Fb=!0,a.Ra&&(ni(f,a.Ra.transition),f.height=a.Ra.height,a.Ra=null)},250)},1)},ni=function(a,l){xa(a,l),a.style.setProperty("-webkit-transition",l)},Fa=function(a,l,f,p,v){p.swg||p.apiVersion||(p.apiVersion=1);var D,C="";return p.i&&p.i.coordinationToken&&(C=p.i.coordinationToken),p.environment=a.m,v=function(a,l,f,p){var v=window.location.origin;f=void 0===f?"":f,p=void 0===p?"":p;var C=xn("https://pay.google.com/%{path}");return"CANARY"==a?C=xn("https://ibfe-canary.corp.google.com/%{path}"):("SANDBOX"==a||"PREPROD"==a)&&(C=xn("https://pay"+("PREPROD"==a?"-preprod":"")+".sandbox.google.com/%{path}")),l={origin:v,coordination_token:f,ng:l,hl:p},p=(f=Zs(a=Js(C,{path:xn("gp/p/ui/pay")})).toString()).split(/[?#]/),v=/[?]/.test(f)?"?"+p[1]:"",function Ks(a,l,f,p){function v(D,A){null!=D&&(Array.isArray(D)?D.forEach(function(X){return v(X,A)}):(l+=C+encodeURIComponent(A)+"="+encodeURIComponent(D),C="&"))}var C=l.length?"&":"?";return p.constructor===Object&&(p=B(Object,"entries").call(Object,p)),Array.isArray(p)?p.forEach(function(D){return v(D[1],D[0])}):p.forEach(v),vi(a+l+f)}(p[0],v,/[#]/.test(f)?"#"+(v?p[2]:p[1]):"",l)}(a.m,v,C,p.i.firstPartyLocale),function(a,l,f){var p=new Sm(a,l,f);return p.connect().then(function(){return p})}(f,v,p).then(function(A){a.o=A;var X=new Gt;return A.onMessage(function(q){"partialPaymentDataCallback"==q.type?a.zb=Dr(q.data,a.A,a.sa,X.hb).then(function(ge){return A.message(ge)}):"fullPaymentDataCallback"==q.type?a.yb=Ut(q.data,a.A,a.sa,X.hb).then(function(ge){return A.message(ge)}):"resize"==q.type&&(a.Fb?(D||(D=Date.now()),Date.now()<D+250?ni(f,q.transition+", height 250ms"):ni(f,q.transition),f.height=q.height):a.Ra={height:q.height,transition:q.transition})}),A.Ya()}).then(function(A){return pu(l,f),history.back(),A.data},function(A){return pu(l,f),history.back(),te.Promise.reject(A)})};Mi.prototype.xa=function(a){var l={startTimeMs:Date.now()};a.i=a.i?B(Object,"assign").call(Object,l,a.i):l};var dt,ql="actions.google.com amp-actions.sandbox.google.com amp-actions-staging.sandbox.google.com amp-actions-autopush.sandbox.google.com payments.developers.google.com payments.google.com".split(" "),ce=function(a,l,f,p){this.qa=l,function q4(a){if(a.environment&&!(V=B(Object,"values").call(Object,gi),B(V,"includes")).call(V,a.environment))throw Error("Parameter environment in PaymentsClientOptions can optionally be set to PRODUCTION, otherwise it defaults to TEST.")}(a),this.vb=null,this.m=a.environment||"TEST",dt||(dt=-1!=ql.indexOf(window.location.hostname)&&a.i&&a.i.googleTransactionId?a.i.googleTransactionId:function gs(a){for(var p,l=Array(36),f=0,v=0;v<36;v++)8==v||13==v||18==v||23==v?l[v]="-":14==v?l[v]="4":(f<=2&&(f=33554432+16777216*Math.random()|0),p=15&f,f>>=4,l[v]=ms[19==v?3&p|8:p]);return l.join("")+"."+a}(this.m)),this.v=a,this.Ob=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:"",a.paymentDataCallback&&(a.paymentDataCallbacks={onPaymentDataChanged:a.paymentDataCallback}),this.A=null,this.l=new yu(a,f),this.T=new Mi(this.m,f,p,a.i&&a.i.redirectKey),this.I=5,this.B=null,this.na=5===(l=this.l.mode)||4===l?new mm(this.m):this.T,a.paymentDataCallbacks&&(this.A=a.paymentDataCallbacks,this.na.Ab(a.paymentDataCallbacks),this.T.Ab(a.paymentDataCallbacks)),this.T.Ma(this.Yb.bind(this)),this.na.Ma(this.Yb.bind(this)),$r=l,Fi=dt,ue({eventType:9,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.s,softwareInfo:Xn(this),merchantInfo:ar(this),merchantPageAddress:google.payments.api.EnableImprovedMerchantLogging?""+window.location.origin+window.location.pathname:null}),window.addEventListener("message",function(v){-1!=ql.indexOf(window.location.hostname)&&"logPaymentData"===v.data.name&&ue(v.data.data)})},Xn=function(a){return a.v.merchantInfo&&a.v.merchantInfo.softwareInfo?a.v.merchantInfo.softwareInfo:null},ar=function(a){var l,f,p,v;return null!=(l=a.v.merchantInfo)&&l.merchantId||null!=(f=a.v.merchantInfo)&&f.merchantName?(l={},null!=(p=a.v.merchantInfo)&&p.merchantId&&(l.merchantId=a.v.merchantInfo.merchantId),null!=(v=a.v.merchantInfo)&&v.merchantName&&(l.merchantName=a.v.merchantInfo.merchantName),l):null};ce.prototype.isReadyToPay=function(a){var l=this;if(a){var f={};this.v.environment&&(f.environment=this.v.environment),this.v.merchantInfo&&(f.merchantInfo=this.v.merchantInfo),this.v.i&&(f.i=this.v.i),a=B(Object,"assign").call(Object,{},f,a),this.Ob=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:""}var p=Date.now(),v=[].concat(We(this.l.s));ue({eventType:12,clientLatencyStartMs:p,buyFlowActivityReason:v,softwareInfo:Xn(this),isReadyToPayRequest:a});var C=lu()||function Z4(a){if(!a)return"isReadyToPayRequest must be set!";if(!(a.apiVersion<2)&&a.allowedPaymentMethods&&Vl(a,"UPI"))return"UPI not supported";if(a.apiVersion>=2){if(!("apiVersionMinor"in a))return"apiVersionMinor must be set!";if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length)return"for v2 allowedPaymentMethods must be set to an array containing a list of accepted payment methods";for(var l=0;l<a.allowedPaymentMethods.length;l++){var f=a.allowedPaymentMethods[l];if("CARD"==f.type){if(!f.parameters)return"Field parameters must be setup in each allowedPaymentMethod";var p=f.parameters.allowedCardNetworks;if(!p||!Array.isArray(p)||0==p.length)return"allowedCardNetworks must be setup in parameters for type CARD";if(!(f=f.parameters.allowedAuthMethods)||!Array.isArray(f)||0==f.length||!f.every(K4))return"allowedAuthMethods must be setup in parameters for type 'CARD' and must contain 'CRYPTOGRAM_3DS' and/or 'PAN_ONLY'"}}}else if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length||!a.allowedPaymentMethods.every(Y4))return"allowedPaymentMethods must be set to an array containing 'CARD' and/or 'TOKENIZED_CARD'!";return null}(a);if(C)return new te.Promise(function(q,ge){Zn({M:"isReadyToPay",errorMessage:C}),ue({eventType:0,buyFlowActivityReason:v,error:2,errorMessage:C,softwareInfo:Xn(l),merchantInfo:ar(l)}),ge({statusCode:"DEVELOPER_ERROR",statusMessage:C})});var D=[].concat(We(this.l.s)),A=st(this,a,D);if(a.activityModeRequired){var X=null;return gu.then(function(q){return X=q,A},function(){return X=!1,A}).then(function(q){return X||(D.push(40),5===l.l.mode&&(l.l.mode=2)),q.activityMode=l.l.mode,Xh(l,p,q,D,a),google.payments.api.EnableImprovedIsrtpLogging?Pm(q):q}).catch(function(q){throw hc(l,q,D,a),q})}return A.then(function(q){return Xh(l,p,q,D,a),google.payments.api.EnableImprovedIsrtpLogging?Pm(q):q}).catch(function(q){throw hc(l,q,D,a),q})};var Pm=function(a){return a.hasOwnProperty("notReadyToPayFactors")&&delete(a=B(Object,"assign").call(Object,{},a)).notReadyToPayFactors,a},Xh=function(a,l,f,p,v){ue({eventType:0,clientLatencyStartMs:l,isReadyToPayApiResponse:f,buyFlowActivityReason:p,softwareInfo:Xn(a),merchantInfo:ar(a),isReadyToPayRequest:v})},hc=function(a,l,f,p){l=l.statusCode?"INTERNAL_ERROR"==(l=l.statusCode)?1:"DEVELOPER_ERROR"==l?2:"MERCHANT_ACCOUNT_ERROR"==l?4:"UNSUPPORTED_API_VERSION"==l?5:"BUYER_CANCEL"==l?6:0:1,ue({eventType:0,buyFlowActivityReason:f,error:l,softwareInfo:Xn(a),merchantInfo:ar(a),isReadyToPayRequest:p})},st=function(a,l,f){var p=4===a.l.mode&&!Ss(l);if(cu(l)&&!p&&(!(l=Mr(l)).allowedPaymentMethods||0===l.allowedPaymentMethods.length))return google.payments.api.EnableImprovedIsrtpLogging?mu(l,[13]):mu(l,[]);if(p){if(l.apiVersion>=2)return Zl(a,l,f);var v=a.T.isReadyToPay(l);return p=a.na.isReadyToPay(l),$h(l)&&!a.l.ua?(f.push(6),p):(f.push(7),p.then(function(){return v}))}return a.T.isReadyToPay(l)},Zl=function(a,l,f){var p=mu(l,[]);google.payments.api.EnableImprovedIsrtpLogging&&(p=mu(l,[14]));var v=p;if(Fl(l,"CRYPTOGRAM_3DS")||cu(l)){v=JSON.parse(JSON.stringify(l));for(var C=0;C<v.allowedPaymentMethods.length;C++)"CARD"==v.allowedPaymentMethods[C].type&&(v.allowedPaymentMethods[C].parameters.allowedAuthMethods=["CRYPTOGRAM_3DS"]);f.push(8),v=a.na.isReadyToPay(v)}var D=p;return Fl(l,"PAN_ONLY")&&(f.push(9),f=cu(l)?Mr(l):l,D=a.T.isReadyToPay(f)),v.then(function(A){return 1==(A&&A.result)||google.payments.api.EnableImprovedIsrtpLogging&&A&&0==A.result&&!Fl(l,"PAN_ONLY")?A:D})},mu=function(a,l){var f={result:!1};return a.existingPaymentMethodRequired&&(f.paymentMethodPresent=!1),google.payments.api.EnableImprovedIsrtpLogging&&l&&l.length>0&&(f.notReadyToPayFactors=l),te.Promise.resolve(f)},Mr=function(a){var l=B(Object,"assign").call(Object,{},a);return l.allowedPaymentMethods=a.allowedPaymentMethods.filter(function(f){return"EWALLET"!=f.type}),l},Yl=function(a){var l=B(Object,"assign").call(Object,{},a);return l.allowedPaymentMethods=a.allowedPaymentMethods.filter(function(f){return"EWALLET"!=f.type}),l};(z=ce.prototype).prefetchPaymentData=function(a){var l=lu()||jh(a);l?Zn({M:"prefetchPaymentData",errorMessage:l}):(this.xa(a),this.l.Sa&&!Ss(a)?this.na.prefetchPaymentData(a):this.T.prefetchPaymentData(a))},z.notifyAvailableOffers=function(){},z.loadPaymentData=function(a){var l=this,f=[].concat(We(this.l.s)),p=Date.now(),v=function(){var q={eventType:5,buyFlowActivityReason:f.length?f:[99],softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B};google.payments.api.EnableCreateButtonApiOnClickLogging&&(q.clientLatencyStartMs=p),ue(q)},C=lu()||jh(a);if(this.I=a&&a.swg?6:5,$r=this.l.mode,C)this.qa(new te.Promise(function(q,ge){ue({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}),Zn({M:"loadPaymentData",errorMessage:C}),ge({statusCode:"DEVELOPER_ERROR",statusMessage:C})})),v();else{if(this.A||a.callbackIntents){var D=gm(a,this.A);if(D)return this.qa(new te.Promise(function(q,ge){ue({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}),Zn({M:"loadPaymentData",errorMessage:D}),ge({statusCode:"DEVELOPER_ERROR",statusMessage:D})})),void v()}this.vb=Date.now();var A=pc(this.l,a,f),X=5===A||4===A?this.na:this.T;if(A!==this.l.mode&&($r=A),this.xa(a),v(),cu(a)&&(4!=this.l.mode||Ss(a))&&(!(a=Yl(a)).allowedPaymentMethods||0===a.allowedPaymentMethods.length))return this.qa(new te.Promise(function(q,ge){ue({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}),Zn({M:"loadPaymentData",errorMessage:"EWALLET is not supported in this environment."}),ge({statusCode:"DEVELOPER_ERROR",statusMessage:"EWALLET is not supported in this environment."})})),void v();X.loadPaymentData(a)}},z.Vb=function(a){var f,p,v,C,D,A,X,l=this;return Ue(function(q){return 1==q.X?(f=[].concat(We(l.l.s)),p=Date.now(),v=function(){var ge={eventType:5,buyFlowActivityReason:f.length?f:[99],softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B};google.payments.api.EnableCreateButtonApiOnClickLogging&&(ge.clientLatencyStartMs=p),ue(ge)},C=lu()||jh(a),l.I=a&&a.swg?6:5,$r=l.l.mode,C?(l.qa(new te.Promise(function(ge,Bt){ue({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}),Zn({M:"loadPaymentData",errorMessage:C}),Bt({statusCode:"DEVELOPER_ERROR",statusMessage:C})})),v(),q.return()):(l.A||a.callbackIntents)&&(D=gm(a,l.A))?(l.qa(new te.Promise(function(ge,Bt){ue({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}),Zn({M:"loadPaymentData",errorMessage:D}),Bt({statusCode:"DEVELOPER_ERROR",statusMessage:D})})),v(),q.return()):(l.vb=Date.now(),Nn(q,Am(l.l,a,f),2))):(X=5===(A=q.Xa)||4===A?l.na:l.T,A!==l.l.mode&&($r=A),l.xa(a),v(),!cu(a)||4==l.l.mode&&!Ss(a)||(a=Yl(a)).allowedPaymentMethods&&0!==a.allowedPaymentMethods.length?(X.loadPaymentData(a),void(q.X=0)):(l.qa(new te.Promise(function(ge,Bt){ue({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}),Zn({M:"loadPaymentData",errorMessage:"EWALLET is not supported in this environment."}),Bt({statusCode:"DEVELOPER_ERROR",statusMessage:"EWALLET is not supported in this environment."})})),v(),q.return()))})},z.createButton=function(a){this.B=function(a){var l=0,f=0;switch(a.buttonType){case"short":l=1;break;case"long":l=2;break;case"plain":l=3;break;case"buy":l=4;break;case"donate":l=5;break;case"book":l=6;break;case"checkout":l=7;break;case"order":l=8;break;case"pay":l=9;break;case"subscribe":l=10}switch(a.buttonSizeMode){case"static":f=1;break;case"fill":f=2}var p=void 0===a.buttonRootNode?0:3;a.buttonRootNode instanceof ShadowRoot?p=1:a.buttonRootNode instanceof HTMLDocument&&(p=2);var v=null;return null!=a.buttonRadius&&null!=a.buttonRadius&&(v=Number(a.buttonRadius)),{buttonType:l,buttonSizeMode:f,buttonRootNode:p,buttonRadius:v}}(a=void 0===a?{}:a);var l=function b(a,l,f,p,v){if(a=void 0===a?{}:a,l=void 0===l?"":l,f=void 0===f?"":f,v=void 0===v?0:v,(V=B(Object,"values").call(Object,Rr),B(V,"includes")).call(V,a.buttonType)||(a.buttonType="long"),(V=B(Object,"values").call(Object,Us),B(V,"includes")).call(V,a.buttonSizeMode)||(a.buttonSizeMode="static"),(V=B(Object,"values").call(Object,Ft),B(V,"includes")).call(V,a.buttonColor)||(a.buttonColor="black"),void 0!==a.allowedPaymentMethods&&!Array.isArray(a.allowedPaymentMethods)&&"object"==typeof a.allowedPaymentMethods&&null!==a.allowedPaymentMethods&&a.allowedPaymentMethods.hasOwnProperty("type")&&a.allowedPaymentMethods.hasOwnProperty("parameters")&&(a.allowedPaymentMethods=[a.allowedPaymentMethods]),function Ke(a,l){l=l&&B(Ro,"includes").call(Ro,Qr(l));var f=B(_s,"includes").call(_s,Qr(Br)),p=B(Oo,"includes").call(Oo,Qr(Br));return(google.payments.api.EnableDynamicGpayButtonForTesting||google.payments.api.EnableDynamicGpayButton||f)&&!l&&!p&&("long"===a.buttonType||"buy"===a.buttonType||google.payments.api.EnableDynamicGpayButtonForPayButton&&"pay"===a.buttonType||google.payments.api.EnableDynamicGpayButtonForPlainButton&&"plain"===a.buttonType)}(a,l)&&(p?.({eventType:13,isAnonymousUser:google.payments.api.IsAnonymousUser}),function I(a,l,f,p){if(void 0!==p)if(B(rc,"includes").call(rc,Qr(a)))p.buttonVariant=1;else{var v=6===(a=O())||7===a,C=B(uu,"includes").call(uu,Qr(Br))&&"en"===f,D=B(Ia,"includes").call(Ia,Qr(Br))||function nn(){if(!au)return!1;var a=B(Array,"from").call(Array,Array.prototype.slice.call(au));if(!a||0===a.length)return!1;for(var l=(a=Se(a)).next();!l.done;l=a.next()){l=l.value;try{var f=Qr(new URL(l).hostname);if(B(Ia,"includes").call(Ia,f))return!0}catch{}}return!1}();if(google.payments.api.EnableRlmiaButtonAnimation&&D)p.buttonVariant=9;else if(google.payments.api.EnableRlmiaSmallerText&&D)p.buttonVariant=10;else{if(D=google.payments.api.EnableOlympicsButtonAnimation,(!v||!C)&&(google.payments.api.LogOlympicsButtonAnimation&&(p.olympicsAnimationConditionsMet=!0),D))return void(p.buttonVariant=8);if(2===a){if("pt"===f&&void 0!==l)for(f=(l=Se(l)).next();!f.done;f=l.next())if("CARD"===(a=f.value).type)for(f=void 0,a=null==(f=a.parameters)?void 0:f.allowedCardNetworks,a=(f=Se(a)).next();!a.done;a=f.next())if(B(Ws,"includes").call(Ws,a.value))return void(p.buttonVariant=2);p.buttonVariant=1}else p.buttonVariant=v&&!C?1:a}}}(l,a.allowedPaymentMethods||[],Ee(a.buttonLocale)||"",a),!google.payments.api.ForceDisableDynamicGpayButton&&1!=google.payments.api.ButtonTypePolicyInPayjs))return function E(a,l,f,p){p=void 0===p?0:p,B(su,"includes").call(su,a.buttonRootNode||document)||(ir("\n .gpay-card-info-container {\n padding: 0;\n position: relative;\n min-width: 240px;\n height: 40px;\n min-height: 40px;\n border-radius: 4px;\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n cursor: pointer;\n border: 0px;\n }\n\n .gpay-card-info-container.black,\n .gpay-card-info-animation-container.black {\n background-color: #000;\n box-shadow: none;\n }\n\n .gpay-card-info-container.white,\n .gpay-card-info-animation-container.white {\n background-color: #fff;\n }\n\n .gpay-card-info-container.black.border-inset,\n .gpay-card-info-animation-container.black.border-inset {\n outline: 1px solid #757575;\n outline-offset: -1px;\n }\n\n .gpay-card-info-container.white.border-inset,\n .gpay-card-info-animation-container.white.border-inset {\n outline: 1px solid #3C4043;\n outline-offset: -1px;\n }\n\n .gpay-card-info-container.black.active {\n background-color: #5f6368;\n }\n\n .gpay-card-info-container.black.hover,\n .gpay-card-info-animation-container.black.hover {\n background-color: #3c4043;\n }\n\n .gpay-card-info-container.white.active {\n background-color: #fff;\n }\n\n .gpay-card-info-container.white.focus {\n box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n }\n\n .gpay-card-info-container.white.hover,\n .gpay-card-info-animation-container.white.hover {\n background-color: #f8f8f8;\n }\n\n .gpay-card-info-iframe {\n border: 0;\n display: block;\n height: 100%;\n margin: auto;\n max-width: 100%;\n width: 240px;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-iframe{\n position: absolute;\n top: 0;\n height: 100%;\n width: 100%;\n }\n\n .gpay-card-info-container-fill,\n .gpay-card-info-container-fill > .gpay-card-info-container{\n width: 100%;\n height: inherit;\n }\n\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-container {\n align-items: center;\n justify-content: center;\n width: 100%;\n padding-top: 3px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container{\n position: relative;\n width: 60%;\n height: inherit;\n max-height: 80%;\n margin-right: -20%;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container > svg {\n position: absolute;\n left: 0;\n height: 100%;\n max-width: 100%;\n }\n",a.buttonRootNode),ir('\n .gpay-card-info-animation-container {\n display: flex;\n width:100%;\n position: absolute;\n z-index: 100;\n height: 40px;\n border-radius: 4px;\n }\n\n .gpay-card-info-placeholder-container {\n display: flex;\n width: 100%;\n height: 100%;\n margin: auto;\n justify-content: center;\n }\n\n .gpay-card-info-animated-progress-bar-container {\n display: flex;\n box-sizing: border-box;\n position: absolute;\n width: 100%;\n }\n\n .gpay-card-info-animated-progress-bar-container.border-inset {\n z-index: -1;\n }\n\n .gpay-card-info-animated-progress-bar {\n border-radius: 4px 4px 0px 0px;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-name: gpayProgressFill;\n animation-timing-function: cubic-bezier(0.97, 0.33, 1, 1);\n background: #caccce;\n width: 100%;\n height: 3px;\n max-height: 3px;\n }\n\n .gpay-card-info-animated-progress-bar-indicator {\n border-radius: 4px 4px 0px 0px;\n max-width: 20px;\n min-width: 20px;\n height: 3px;\n max-height: 3px;\n background: linear-gradient(to right, #caccce 30%, #acaeaf 60%);\n animation-delay: 0.5s;\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-name: gpayPlaceHolderShimmer;\n }\n\n .gpay-card-info-animated-progress-bar.no-radius {\n border-radius: 0;\n }\n\n .gpay-card-info-animated-progress-bar-indicator.no-radius {\n border-radius: 0;\n }\n\n .gpay-card-info-iframe-fade-in {\n animation-fill-mode: forwards;\n animation-duration: 0.6s;\n animation-name: gpayIframeFadeIn;\n }\n\n .gpay-card-info-animation-container-fade-out {\n animation-fill-mode: forwards;\n animation-duration: 0.6s;\n animation-name: gpayPlaceHolderFadeOut;\n }\n\n .gpay-card-info-animation-gpay-logo {\n margin: 13px 7px 0px 39px;\n background-origin: content-box;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: contain;\n height: 17px;\n max-height: 17px;\n max-width: 41px;\n min-width: 41px;\n }\n\n .gpay-card-info-animation-gpay-logo.black {\n background-image: url("https://www.gstatic.com/instantbuy/svg/dark_gpay.svg");\n }\n\n .gpay-card-info-animation-gpay-logo.white {\n background-image: url("https://www.gstatic.com/instantbuy/svg/light_gpay.svg");\n }\n\n @keyframes gpayPlaceHolderShimmer{\n 0% {\n margin-left: 0px;\n }\n 100% {\n margin-left: calc(100% - 20px);\n }\n }\n\n @keyframes gpayIframeFadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes gpayPlaceHolderFadeOut {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n }\n\n @keyframes gpayProgressFill {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n }\n\n .gpay-card-info-container-fill .gpay-card-info-animation-container{\n top: 0;\n width: 100%;\n height: 100%;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-animation-gpay-logo{\n background-position: right;\n margin: 0 0 0 0;\n max-width: none;\n width: 25%;\n height:inherit;\n max-height: 50%;\n }\n\n',a.buttonRootNode),google.payments.api.EnableGpayButtonDynamicRadius&&ir("\n .gpay-card-info-container.black,\n .gpay-button.black {\n outline: 1px solid #757575;\n box-shadow: none;\n }\n .gpay-card-info-container.black.focus,\n .gpay-button.black.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n .gpay-card-info-container.white,\n .gpay-button.white {\n outline: 1px solid #3C4043;\n box-shadow: none;\n }\n .gpay-card-info-container.white.focus,\n .gpay-button.white.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n",a.buttonRootNode||document),5===O()&&ir("\n .gpay-card-info-container,\n .gpay-button {\n overflow: hidden;\n }\n",a.buttonRootNode||document),su.push(a.buttonRootNode||document));var v=Q(a),C=document.createElement("button");H(C,a),0!==a.buttonVariant&&function Z(a,l){var f=Ee(l.buttonLocale,!0);7===l.buttonVariant?a.setAttribute("aria-label",ls.GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD[f]):6===l.buttonVariant?a.setAttribute("aria-label",ls.GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY[f]):8===l.buttonVariant?("buy"!==(l=l.buttonType)&&"pay"!==l&&"plain"!==l&&(l="buy"),f in(l=ls.GPAY_BUTTON_VARIANT_TYPE_OLYMPICS[l])||(f="en"),a.setAttribute("aria-label",l[f])):9===l.buttonVariant&&(f in(l=ls.GPAY_BUTTON_VARIANT_TYPE_RLMIA)||(f="en"),a.setAttribute("aria-label",l[f]))}(C,a),v=(-1658203989===Qr(Br)?"gpay-button":"")+" gpay-card-info-container "+v,C.setAttribute("id","gpay-button-online-api-id"),C.setAttribute("class",v),$([C],a),google.payments.api.EnableButtonBorderInset&&C.classList.add("border-inset");var D=document.createElement("div");D.setAttribute("class",Te(a)?"gpay-card-info-animation-container white":"gpay-card-info-animation-container black"),google.payments.api.EnableButtonBorderInset&&D.classList.add("border-inset"),(v=document.createElement("div")).setAttribute("class","gpay-card-info-placeholder-container");var A=document.createElement("div");A.setAttribute("class",Te(a)?"gpay-card-info-animation-gpay-logo white":"gpay-card-info-animation-gpay-logo black");var X=fs(Te(a)?Ca:zs),q=document.createElement("div");q.setAttribute("class","gpay-card-info-animated-progress-bar-container"),google.payments.api.EnableButtonBorderInset&&q.classList.add("border-inset");var ge=document.createElement("div");ge.setAttribute("class","gpay-card-info-animated-progress-bar"),google.payments.api.EnableGpayButtonDynamicRadius&&ge.classList.add("no-radius");var Bt=document.createElement("div");Bt.setAttribute("class","gpay-card-info-animated-progress-bar-indicator"),google.payments.api.EnableGpayButtonDynamicRadius&&Bt.classList.add("no-radius"),ge.appendChild(Bt),v.appendChild(A),"fill"!==a.buttonSizeMode||(A=fs(Te(a)?Lr:eo),(X=document.createElement("div")).appendChild(A),X.setAttribute("class","gpay-card-info-placeholder-svg-container")),v.appendChild(X),q.appendChild(ge),D.appendChild(v),D.appendChild(q),F(D),C.appendChild(D);var En=document.createElement("iframe");En.setAttribute("class","gpay-card-info-iframe"),En.setAttribute("scrolling","no");e:if("TEST"==l&&null!=Aa&&""!=Aa)l=Aa+"/gp/p/generate_gpay_btn_img";else{if("SANDBOX"===l){l="https://pay.sandbox.google.com/gp/p/generate_gpay_btn_img";break e}l="https://pay.google.com/gp/p/generate_gpay_btn_img"}return l=new Yn(l),so(l,"buttonColor",a.buttonColor),so(l,"browserLocale",Ee(a.buttonLocale)),so(l,"hl",Ee(a.buttonLocale)),so(l,"buttonSizeMode",a.buttonSizeMode),Array.isArray(a.allowedPaymentMethods)&&a.allowedPaymentMethods.length>0&&so(l,"allowedPaymentMethods",JSON.stringify(a.allowedPaymentMethods)),so(l,"gpayButtonVariantType",a.buttonVariant),so(l,"gpayButtonType",a.buttonType),En.src=l.toString(),En.onload=function(){En.classList.add("gpay-card-info-iframe-fade-in"),D.classList.add("gpay-card-info-animation-container-fade-out"),google.payments.api.EnableFastPayFeatureDemo&&C.click()},a.onClick&&(google.payments.api.EnableCreateButtonApiOnClickLogging?C.addEventListener("click",function(){var ur=ze.apply(0,arguments);f?.({eventType:21,clientLatencyStartMs:Date.now()}),google.payments.api.EnableLoadingScreenForPopupMode&&kn(p),a.onClick.apply(a,We(ur))}):C.addEventListener("click",a.onClick)),F(C),C.appendChild(En),l=document.createElement("div"),"fill"===a.buttonSizeMode&&l.setAttribute("class","gpay-card-info-container-fill"),l.appendChild(C),l}(a,f,p,v);!function J(a){var l=Ee(a.buttonLocale,!0),f=a.buttonRootNode||document;B(uo,"includes").call(uo,f)||(ir("\n.gpay-button {\n background-origin: content-box;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: contain;\n border: 0px;\n border-radius: 4px;\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n cursor: pointer;\n height: 40px;\n min-height: 40px;\n padding: 12px 24px 10px;\n width: 240px;\n}\n\n.gpay-button.black {\n background-color: #000;\n box-shadow: none;\n}\n\n.gpay-button.white {\n background-color: #fff;\n}\n\n.gpay-button.black.border-inset,\n.gpay-button.black.border-inset {\n outline: 1px solid #757575;\n outline-offset: -1px;\n}\n\n.gpay-button.white.border-inset,\n.gpay-button.white.border-inset {\n outline: 1px solid #3C4043;\n outline-offset: -1px;\n}\n\n.gpay-button.short, .gpay-button.plain {\n min-width: 90px;\n width: 160px;\n}\n\n.gpay-button.black.short, .gpay-button.black.plain {\n background-image: url(https://www.gstatic.com/instantbuy/svg/dark_gpay.svg);\n}\n\n.gpay-button.white.short, .gpay-button.white.plain {\n background-image: url(https://www.gstatic.com/instantbuy/svg/light_gpay.svg);\n}\n\n.gpay-button.black.active {\n background-color: #5f6368;\n}\n\n.gpay-button.black.hover {\n background-color: #3c4043;\n}\n\n.gpay-button.white.active {\n background-color: #fff;\n}\n\n.gpay-button.white.focus {\n box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n}\n\n.gpay-button.white.hover {\n background-color: #f8f8f8;\n}\n\n.gpay-button-fill, .gpay-button-fill > .gpay-button.white, .gpay-button-fill > .gpay-button.black {\n width: 100%;\n height: inherit;\n}\n\n.gpay-button-fill > .gpay-button.white,\n .gpay-button-fill > .gpay-button.black {\n padding: 12px 15% 10px;\n}\n\n.gpay-button.donate, .gpay-button.book,\n.gpay-button.checkout,\n.gpay-button.subscribe, .gpay-button.pay,\n.gpay-button.order {\n padding: 9px 24px;\n}\n\n.gpay-button-fill > .gpay-button.donate,\n.gpay-button-fill > .gpay-button.book,\n.gpay-button-fill > .gpay-button.checkout,\n.gpay-button-fill > .gpay-button.order,\n.gpay-button-fill > .gpay-button.pay,\n.gpay-button-fill > .gpay-button.subscribe {\n padding: 9px 15%;\n}\n\n",f),google.payments.api.EnableGpayButtonDynamicRadius&&ir("\n .gpay-card-info-container.black,\n .gpay-button.black {\n outline: 1px solid #757575;\n box-shadow: none;\n }\n .gpay-card-info-container.black.focus,\n .gpay-button.black.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n .gpay-card-info-container.white,\n .gpay-button.white {\n outline: 1px solid #3C4043;\n box-shadow: none;\n }\n .gpay-card-info-container.white.focus,\n .gpay-button.white.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n",f),5===O()&&ir("\n .gpay-card-info-container,\n .gpay-button {\n overflow: hidden;\n }\n",f),uo.push(f),No.push([]));var p=uo.indexOf(f),v=Te(a)?"white":"black",C=l+"_"+a.buttonType+"_"+v,D=a.buttonType;if(D&&"short"!=D&&"plain"!=D&&!B(No[p],"includes").call(No[p],C)){D="white"===v?"light":"dark";var A="long"===(a=a.buttonType)?Qi.buy[l]:Qi[a||"buy"][l];ir("long"==a||"buy"==a?"\n .gpay-button."+v+".long."+l+", .gpay-button."+v+".buy."+l+" {\n background-image: url(https://www.gstatic.com/instantbuy/svg/"+D+"/"+l+".svg);\n min-width: "+A+"px;\n }":"\n .gpay-button."+v+"."+a+"."+l+" {\n background-image: url(https://www.gstatic.com/instantbuy/svg/"+D+"/"+a+"/"+l+".svg);\n min-width: "+A+"px;\n }\n ",f),No[p].push(C)}}(a);var C=document.createElement("button");if(H(C,a),"default"==a.buttonColor&&(a.buttonColor="black"),l=Q(a),C.setAttribute("class","gpay-button "+l),C.setAttribute("id","gpay-button-online-api-id"),F(C),$([C],a),google.payments.api.EnableButtonBorderInset&&C.classList.add("border-inset"),!a.onClick)throw Error("Parameter 'onClick' must be set.");return google.payments.api.EnableCreateButtonApiOnClickLogging?C.addEventListener("click",function(){var D=ze.apply(0,arguments);p?.({eventType:21,clientLatencyStartMs:Date.now()}),google.payments.api.EnableLoadingScreenForPopupMode&&kn(v),a.onClick.apply(a,We(D))}):C.addEventListener("click",a.onClick),l=document.createElement("div"),"fill"===a.buttonSizeMode&&l.setAttribute("class","gpay-button-fill"),l.appendChild(C),google.payments.api.EnableFastPayFeatureDemo&&setTimeout(function(){return C.click()},100),l}(a,this.Ob,this.m,function(f){return ue(f)},this.l.mode);return null!=a.buttonVariant&&(this.B.buttonVariant=Number(a.buttonVariant)),null!=a.olympicsAnimationConditionsMet&&(this.B.olympicsAnimationConditionsMet=a.olympicsAnimationConditionsMet),ue({eventType:2,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.s,softwareInfo:Xn(this),merchantInfo:ar(this),buttonInfo:this.B}),l},z.O=function(){google.payments.api.EnableFocusPaymentSheetApi&&(ue({eventType:34,buyFlowMode:this.I,buyFlowActivityReason:this.l.s,softwareInfo:Xn(this),merchantInfo:ar(this)}),this.T.O())},z.Yb=function(a){var l=this;(a=a.then(function(f){if(google.payments.api.LogInternally&&console.log("payment data",f),f.error){var p=Error();throw p.statusCode=f.error.statusCode,p.statusMessage=f.error.statusMessage,Zn({M:"loadPaymentData",errorMessage:p.statusMessage}),p}return f})).then(function(f){google.payments.api.LogInternally&&console.log("payment data resolve to ",f),ue({eventType:1,clientLatencyStartMs:l.vb,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B})}).catch(function(f){google.payments.api.LogInternally&&console.log("payment data has error",f),ue(f.errorCode?{eventType:1,error:f.errorCode,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B}:{eventType:1,error:6,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:Xn(l),merchantInfo:ar(l),buttonInfo:l.B})}),this.qa(a)},z.xa=function(a){var l={googleTransactionId:dt,usingPayJs:!0};a.i=a.i?B(Object,"assign").call(Object,l,a.i):l,a.i.firstPartyMerchantIdentifier&&delete a.i.firstPartyMerchantIdentifier,this.v.i&&this.v.i.firstPartyMerchantIdentifier&&(a.i.firstPartyMerchantIdentifier=this.v.i.firstPartyMerchantIdentifier)},ce.prototype.focusPaymentSheet=ce.prototype.O,ce.prototype.createButton=ce.prototype.createButton,ce.prototype.loadPaymentDataAsync=ce.prototype.Vb,ce.prototype.loadPaymentData=ce.prototype.loadPaymentData,ce.prototype.notifyAvailableOffers=ce.prototype.notifyAvailableOffers,ce.prototype.prefetchPaymentData=ce.prototype.prefetchPaymentData,ce.prototype.isReadyToPay=ce.prototype.isReadyToPay;var gu=null,fc=null,yu=function(a,l){l=void 0!==l&&l,this.pb=a,this.s=[],null!=window.navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile/i)?(this.s.push(37),a=!1):(a=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),"PaymentRequest"in window&&null!=a&&Number(a[1])>=70&&"Google Inc."==window.navigator.vendor?(this.s.push(98),this.pb.paymentDataCallbacks&&this.s.push(97),a=!0):(this.s.push(36),a=!1)),this.ua=a,this.Sa=xm(this),this.mode=2,l?(this.s=[38],this.mode=1):this.Sa&&this.ua?this.mode=5:this.Sa&&(this.mode=4),this.pb.paymentDataCallbacks&&this.s.push(1)},Ss=function(a){return!0===(a.i&&a.i.disableNative)},pc=function(a,l,f){return 2===a.mode||1===a.mode?a.mode:Ss(l)?(f.push(3),2):!fc&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Sa)?(f.push(40),2):a.ua&&l.swg?(f.push(5),2):a.mode},Am=function(a,l,f){return Ue(function(p){return 1==p.X?2===a.mode||1===a.mode?p.return(a.mode):Ss(l)?(f.push(3),p.return(2)):Nn(p,Ue(function(a){return 1==a.X?null!=fc?a.return(fc):gu?(a.ob=2,Nn(a,gu,4)):a.return(!1):2!=a.X?a.return(a.Xa):(a.ob=0,a.wa=null,a.return(!1))}),2):!p.Xa&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Sa)?(f.push(40),p.return(2)):a.ua&&l.swg?(f.push(5),p.return(2)):p.return(a.mode)})},xm=function(a){if(!window.PaymentRequest)return a.s.push(41),!1;var l=-1!==window.navigator.userAgent.indexOf("OPT/"),f=-1!==window.navigator.userAgent.indexOf("SamsungBrowser/");return-1!==window.navigator.userAgent.indexOf("OPR/")||l||f?(a.s.push(35),!1):!(!a.ua&&(google.payments.api.EnablePaymentRequest?(l=window.navigator.userAgent.match(/Android/i),f=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),null!=l&&"PaymentRequest"in window&&"Google Inc."==window.navigator.vendor&&null!=f&&Number(f[1])>=59?a.pb.paymentDataCallbacks&&(Number(f[1])<92||(a.s.push(96),!google.payments.api.EnableDynamicUpdateForClank&&(a.s.push(42),1))):(a.s.push(34),1)):(a.s.push(3),1)))};It("google.payments.api.PaymentsAsyncClient",ce),ce.prototype.isReadyToPay=ce.prototype.isReadyToPay,ce.prototype.prefetchPaymentData=ce.prototype.prefetchPaymentData,ce.prototype.loadPaymentData=ce.prototype.loadPaymentData,ce.prototype.createButton=ce.prototype.createButton,ce.prototype.notifyAvailableOffers=ce.prototype.notifyAvailableOffers,ce.prototype.focusPaymentSheet=ce.prototype.O;var $o=function(){var a=Error.call(this,"This method can only be called one at a time");this.message=a.message,"stack"in a&&(this.stack=a.stack)},oa=Error;if(($o.prototype=Mt(oa.prototype)).constructor=$o,_e)_e($o,oa);else for(var lo in oa)if("prototype"!=lo)if(Object.defineProperties){var Jh=Object.getOwnPropertyDescriptor(oa,lo);Jh&&Object.defineProperty($o,lo,Jh)}else $o[lo]=oa[lo];$o.Da=oa.prototype;var vt=function(a,l){a=void 0===a?{}:a,this.Bc=function ro(a){for(var l=1;l<arguments.length;l++)a=ta(a,arguments[l]);return a}({},window.gpayMerchantIdFromUrl?{merchantInfo:{merchantId:window.gpayMerchantIdFromUrl}}:{},window.gpayInitParams,a),this.ya=new ce(this.Bc,this.Fc.bind(this),l),this.Na=null};(z=vt.prototype).Fc=function(a){this.Na(a)},z.isReadyToPay=function(a){return this.ya.isReadyToPay(a)},z.prefetchPaymentData=function(a){this.ya.prefetchPaymentData(a)},z.notifyAvailableOffers=function(){},z.loadPaymentData=function(a){var l=this;return new te.Promise(function(f,p){if(l.Na)throw new $o;l.Na=f,google.payments.api.EnableCanMakePaymentConsistency?l.ya.Vb(a).catch(p):l.ya.loadPaymentData(a)}).then(function(f){return l.Na=null,f},function(f){throw f instanceof $o||(l.Na=null),f})},z.createButton=function(a){return this.ya.createButton(a=void 0===a?{}:a)},z.O=function(){this.ya.O()},vt.prototype.createButton=vt.prototype.createButton,vt.prototype.loadPaymentData=vt.prototype.loadPaymentData,vt.prototype.notifyAvailableOffers=vt.prototype.notifyAvailableOffers,vt.prototype.prefetchPaymentData=vt.prototype.prefetchPaymentData,vt.prototype.isReadyToPay=vt.prototype.isReadyToPay,It("google.payments.api.PaymentsClient",vt),vt.prototype.isReadyToPay=vt.prototype.isReadyToPay,vt.prototype.prefetchPaymentData=vt.prototype.prefetchPaymentData,vt.prototype.loadPaymentData=vt.prototype.loadPaymentData,vt.prototype.createButton=vt.prototype.createButton,vt.prototype.notifyAvailableOffers=vt.prototype.notifyAvailableOffers,vt.prototype.focusPaymentSheet=vt.prototype.O;try{gu=new PaymentRequest([{supportedMethods:["https://google.com/pay"],data:{apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["VISA","MASTERCARD"]}}]}}],{total:{label:"Estimated Total Price",amount:{currency:"USD",value:"10"}}}).canMakePayment()}catch{gu=te.Promise.resolve(!1)}gu.then(function(a){return fc=a}).catch(function(){return fc=!1})}.call(this)}},z=>{z(z.s=68)}]);
|