(self.webpackChunkmymarketinfo=self.webpackChunkmymarketinfo||[]).push([[792],{28584:(we,de,V)=>{"use strict";function T(n,t,e,i,s,r,o){try{var a=n[r](o),l=a.value}catch(c){return void e(c)}a.done?t(l):Promise.resolve(l).then(i,s)}function g(n){return function(){var t=this,e=arguments;return new Promise(function(i,s){var r=n.apply(t,e);function o(l){T(r,i,s,o,a,"next",l)}function a(l){T(r,i,s,o,a,"throw",l)}o(void 0)})}}function w(n,t){return Object.is(n,t)}let y=null,C=!1,S=1;const E=Symbol("SIGNAL");function A(n){const t=y;return y=n,t}const se={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 me(n){if(C)throw new Error("");if(null===y)return;y.consumerOnSignalRead(n);const t=y.nextProducerIndex++;ft(y),t<y.producerNode.length&&y.producerNode[t]!==n&&vt(y)&&ut(y.producerNode[t],y.producerIndexOfThis[t]),y.producerNode[t]!==n&&(y.producerNode[t]=n,y.producerIndexOfThis[t]=vt(y)?Qe(n,y,t):0),y.producerLastReadVersion[t]=n.version}function U(n){if((!vt(n)||n.dirty)&&(n.dirty||n.lastCleanEpoch!==S)){if(!n.producerMustRecompute(n)&&!Pe(n))return n.dirty=!1,void(n.lastCleanEpoch=S);n.producerRecomputeValue(n),n.dirty=!1,n.lastCleanEpoch=S}}function ne(n){if(void 0===n.liveConsumerNode)return;const t=C;C=!0;try{for(const e of n.liveConsumerNode)e.dirty||ae(e)}finally{C=t}}function $(){return!1!==y?.consumerAllowSignalWrites}function ae(n){n.dirty=!0,ne(n),n.consumerMarkedDirty?.(n)}function be(n){return n&&(n.nextProducerIndex=0),A(n)}function Ce(n,t){if(A(t),n&&void 0!==n.producerNode&&void 0!==n.producerIndexOfThis&&void 0!==n.producerLastReadVersion){if(vt(n))for(let e=n.nextProducerIndex;e<n.producerNode.length;e++)ut(n.producerNode[e],n.producerIndexOfThis[e]);for(;n.producerNode.length>n.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Pe(n){ft(n);for(let t=0;t<n.producerNode.length;t++){const e=n.producerNode[t],i=n.producerLastReadVersion[t];if(i!==e.version||(U(e),i!==e.version))return!0}return!1}function Je(n){if(ft(n),vt(n))for(let t=0;t<n.producerNode.length;t++)ut(n.producerNode[t],n.producerIndexOfThis[t]);n.producerNode.length=n.producerLastReadVersion.length=n.producerIndexOfThis.length=0,n.liveConsumerNode&&(n.liveConsumerNode.length=n.liveConsumerIndexOfThis.length=0)}function Qe(n,t,e){if(vn(n),ft(n),0===n.liveConsumerNode.length)for(let i=0;i<n.producerNode.length;i++)n.producerIndexOfThis[i]=Qe(n.producerNode[i],n,i);return n.liveConsumerIndexOfThis.push(e),n.liveConsumerNode.push(t)-1}function ut(n,t){if(vn(n),ft(n),1===n.liveConsumerNode.length)for(let i=0;i<n.producerNode.length;i++)ut(n.producerNode[i],n.producerIndexOfThis[i]);const e=n.liveConsumerNode.length-1;if(n.liveConsumerNode[t]=n.liveConsumerNode[e],n.liveConsumerIndexOfThis[t]=n.liveConsumerIndexOfThis[e],n.liveConsumerNode.length--,n.liveConsumerIndexOfThis.length--,t<n.liveConsumerNode.length){const i=n.liveConsumerIndexOfThis[t],s=n.liveConsumerNode[t];ft(s),s.producerIndexOfThis[i]=t}}function vt(n){return n.consumerIsAlwaysLive||(n?.liveConsumerNode?.length??0)>0}function ft(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function vn(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}const J=Symbol("UNSET"),_e=Symbol("COMPUTING"),ke=Symbol("ERRORED"),O={...se,value:J,dirty:!0,error:null,equal:w,producerMustRecompute:n=>n.value===J||n.value===_e,producerRecomputeValue(n){if(n.value===_e)throw new Error("Detected cycle in computations.");const t=n.value;n.value=_e;const e=be(n);let i;try{i=n.computation()}catch(s){i=ke,n.error=s}finally{Ce(n,e)}t!==J&&t!==ke&&i!==ke&&n.equal(t,i)?n.value=t:(n.value=i,n.version++)}};let ie=function H(){throw new Error};function ge(){ie()}let pe=null;function $e(n,t){$()||ge(),n.equal(n.value,t)||(n.value=t,function lt(n){n.version++,function ue(){S++}(),ne(n),pe?.()}(n))}const at={...se,equal:w,value:void 0};const Fn=()=>{},ui={...se,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{null!==n.schedule&&n.schedule(n.ref)},hasRun:!1,cleanupFn:Fn};function di(n){return"function"==typeof n}let Nr=!1;const ss={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else Nr&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Nr=n},get useDeprecatedSynchronousErrorHandling(){return Nr}};function Wo(n){setTimeout(()=>{throw n},0)}const Vf={closed:!0,next(n){},error(n){if(ss.useDeprecatedSynchronousErrorHandling)throw n;Wo(n)},complete(){}},ll=Array.isArray||(n=>n&&"number"==typeof n.length);function Uf(n){return null!==n&&"object"==typeof n}const du=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class hi{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof hi)e.remove(this);else if(null!==e)for(let o=0;o<e.length;++o)e[o].remove(this);if(di(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(o){t=o instanceof du?$0(o.errors):[o]}}if(ll(r)){let o=-1,a=r.length;for(;++o<a;){const l=r[o];if(Uf(l))try{l.unsubscribe()}catch(c){t=t||[],c instanceof du?t=t.concat($0(c.errors)):t.push(c)}}}if(t)throw new du(t)}add(t){let e=t;if(!t)return hi.EMPTY;switch(typeof t){case"function":e=new hi(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof hi)){const r=e;e=new hi,e._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof hi){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[e]:s.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function $0(n){return n.reduce((t,e)=>t.concat(e instanceof du?e.errors:e),[])}hi.EMPTY=((n=new hi).closed=!0,n);const zd="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Mn extends hi{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Vf;break;case 1:if(!t){this.destination=Vf;break}if("object"==typeof t){t instanceof Mn?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new zf(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new zf(this,t,e,i)}}[zd](){return this}static create(t,e,i){const s=new Mn(t,e,i);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class zf extends Mn{constructor(t,e,i,s){super(),this._parentSubscriber=t;let r,o=this;di(e)?r=e:e&&(r=e.next,i=e.error,s=e.complete,e!==Vf&&(o=Object.create(e),di(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=i,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;ss.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=ss;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):Wo(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;Wo(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);ss.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),ss.useDeprecatedSynchronousErrorHandling)throw i;Wo(i)}}__tryOrSetError(t,e,i){if(!ss.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(s){return ss.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(Wo(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const hu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Gd(n){return n}function $f(n){return 0===n.length?Gd:1===n.length?n[0]:function(e){return n.reduce((i,s)=>s(i),e)}}let Un=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,s){const{operator:r}=this,o=function _i(n,t,e){if(n){if(n instanceof Mn)return n;if(n[zd])return n[zd]()}return n||t||e?new Mn(n,t,e):new Mn(Vf)}(e,i,s);if(o.add(r?r.call(o,this.source):this.source||ss.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),ss.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){ss.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function Gf(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof Mn?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=nc(i))((s,r)=>{let o;o=this.subscribe(a=>{try{e(a)}catch(l){r(l),o&&o.unsubscribe()}},r,s)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[hu](){return this}pipe(...e){return 0===e.length?this:$f(e)(this)}toPromise(e){return new(e=nc(e))((i,s)=>{let r;this.subscribe(o=>r=o,o=>s(o),()=>i(r))})}}return n.create=t=>new n(t),n})();function nc(n){if(n||(n=ss.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const ic=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Wd extends hi{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class q0 extends Mn{constructor(t){super(t),this.destination=t}}let Zt=(()=>{class n extends Un{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[zd](){return new q0(this)}lift(e){const i=new sc(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ic;if(!this.isStopped){const{observers:i}=this,s=i.length,r=i.slice();for(let o=0;o<s;o++)r[o].next(e)}}error(e){if(this.closed)throw new ic;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,s=i.length,r=i.slice();for(let o=0;o<s;o++)r[o].error(e);this.observers.length=0}complete(){if(this.closed)throw new ic;this.isStopped=!0;const{observers:e}=this,i=e.length,s=e.slice();for(let r=0;r<i;r++)s[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new ic;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new ic;return this.hasError?(e.error(this.thrownError),hi.EMPTY):this.isStopped?(e.complete(),hi.EMPTY):(this.observers.push(e),new Wd(this,e))}asObservable(){const e=new Un;return e.source=this,e}}return n.create=(t,e)=>new sc(t,e),n})();class sc extends Zt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):hi.EMPTY}}class Gt extends Zt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ic;return this._value}next(t){super.next(this._value=t)}}function ht(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new bt(n,t))}}class bt{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new KD(t,this.project,this.thisArg))}}class KD extends Mn{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const $o="https://g.co/ng/security#xss";class Oe extends Error{constructor(t,e){super(function tn(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}const fu=Symbol("InputSignalNode#UNSET"),Wn={...at,transformFn:void 0,applyValueToInputSignal(n,t){$e(n,t)}};function $d(n,t){const e=Object.create(Wn);function i(){if(me(e),e.value===fu)throw new Oe(-950,!1);return e.value}return e.value=n,e.transformFn=t?.transform,i[E]=e,i}function wi(n){return{toString:n}.toString()}const Hs="__parameters__";function jr(n,t,e){return wi(()=>{const i=function lo(n){return function(...e){if(n){const i=n(...e);for(const s in i)this[s]=i[s]}}}(t);function s(...r){if(this instanceof s)return i.apply(this,r),this;const o=new s(...r);return a.annotation=o,a;function a(l,c,u){const d=l.hasOwnProperty(Hs)?l[Hs]:Object.defineProperty(l,Hs,{value:[]})[Hs];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(o),l}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}const zn=globalThis;function $n(n){for(let t in n)if(n[t]===$n)return t;throw Error("Could not find renamed property on target object.")}function pu(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Ri(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Ri).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Xf(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const ZD=$n({__forward_ref__:$n});function Yt(n){return n.__forward_ref__=Yt,n.toString=function(){return Ri(this())},n}function mt(n){return gu(n)?n():n}function gu(n){return"function"==typeof n&&n.hasOwnProperty(ZD)&&n.__forward_ref__===Yt}function cl(n,t,e){n!=t&&function Pt(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(e,n,t,"==")}function Ie(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function dn(n){return{providers:n.providers||[],imports:n.imports||[]}}function Qf(n){return Z0(n,tp)||Z0(n,J0)}function Z0(n,t){return n.hasOwnProperty(t)?n[t]:null}function ep(n){return n&&(n.hasOwnProperty(qd)||n.hasOwnProperty(Q0))?n[qd]:null}const tp=$n({\u0275prov:$n}),qd=$n({\u0275inj:$n}),J0=$n({ngInjectableDef:$n}),Q0=$n({ngInjectorDef:$n});class dt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ie({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Xm(n){return n&&!!n.\u0275providers}const Kd=$n({\u0275cmp:$n}),Zm=$n({\u0275dir:$n}),Jm=$n({\u0275pipe:$n}),np=$n({\u0275mod:$n}),co=$n({\u0275fac:$n}),Xd=$n({__NG_ELEMENT_ID__:$n}),Qm=$n({__NG_ENV_ID__:$n});function jt(n){return"string"==typeof n?n:null==n?"":String(n)}function rc(n,t){throw new Oe(-201,!1)}var nn=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(nn||{});let e_;function t_(){return e_}function Zs(n){const t=e_;return e_=n,t}function t1(n,t,e){const i=Qf(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&nn.Optional?null:void 0!==t?t:void rc()}const ac={},i_="__NG_DI_FLAG__",Br="ngTempTokenPath",s_=/\n/gm,n1="__source";let mu;function qo(n){const t=mu;return mu=n,t}function ux(n,t=nn.Default){if(void 0===mu)throw new Oe(-203,!1);return null===mu?t1(n,void 0,t):mu.get(n,t&nn.Optional?null:void 0,t)}function Ve(n,t=nn.Default){return(t_()||ux)(mt(n),t)}function fe(n,t=nn.Default){return Ve(n,sp(t))}function sp(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function r_(n){const t=[];for(let e=0;e<n.length;e++){const i=mt(n[e]);if(Array.isArray(i)){if(0===i.length)throw new Oe(900,!1);let s,r=nn.Default;for(let o=0;o<i.length;o++){const a=i[o],l=dx(a);"number"==typeof l?-1===l?s=a.token:r|=l:s=a}t.push(Ve(s,r))}else t.push(Ve(i))}return t}function Zd(n,t){return n[i_]=t,n.prototype[i_]=t,n}function dx(n){return n[i_]}const wa=Zd(jr("Optional"),8),_u=Zd(jr("SkipSelf"),4);function Ca(n,t){return n.hasOwnProperty(co)?n[co]:null}function yu(n,t){n.forEach(e=>Array.isArray(e)?yu(e,t):t(e))}function r1(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Jd(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Qs(n,t,e){let i=vu(n,t);return i>=0?n[1|i]=e:(i=~i,function o1(n,t,e,i){let s=n.length;if(s==t)n.push(e,i);else if(1===s)n.push(i,n[0]),n[0]=e;else{for(s--,n.push(n[s-1],n[s]);s>t;)n[s]=n[s-2],s--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function o_(n,t){const e=vu(n,t);if(e>=0)return n[1|e]}function vu(n,t){return function bu(n,t,e){let i=0,s=n.length>>e;for(;s!==i;){const r=i+(s-i>>1),o=n[r<<e];if(t===o)return r<<e;o>t?s=r:i=r+1}return~(s<<e)}(n,t,1)}const Ko={},In=[],lc=new dt(""),Qd=new dt("",-1),wu=new dt("");class Cu{get(t,e=ac){if(e===ac){const i=new Error(`NullInjectorError: No provider for ${Ri(t)}!`);throw i.name="NullInjectorError",i}return e}}var ap=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(ap||{}),Hr=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(Hr||{}),bn=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(bn||{});function a_(n,t,e){let i=n.length;for(;;){const s=n.indexOf(t,e);if(-1===s)return s;if(0===s||n.charCodeAt(s-1)<=32){const r=t.length;if(s+r===i||n.charCodeAt(s+r)<=32)return s}e=s+1}}function eh(n,t,e){let i=0;for(;i<e.length;){const s=e[i];if("number"==typeof s){if(0!==s)break;i++;const r=e[i++],o=e[i++],a=e[i++];n.setAttribute(t,o,a,r)}else{const r=s,o=e[++i];a1(r)?n.setProperty(t,r,o):n.setAttribute(t,r,o),i++}}return i}function lp(n){return 3===n||4===n||6===n}function a1(n){return 64===n.charCodeAt(0)}function th(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?e=s:0===e||l1(n,e,s,null,-1===e||2===e?t[++i]:null)}}return n}function l1(n,t,e,i,s){let r=0,o=n.length;if(-1===t)o=-1;else for(;r<n.length;){const a=n[r++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=r-1;break}}}for(;r<n.length;){const a=n[r];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==s&&(n[r+1]=s));if(i===n[r+1])return void(n[r+2]=s)}r++,null!==i&&r++,null!==s&&r++}-1!==o&&(n.splice(o,0,t),r=o+1),n.splice(r++,0,e),null!==i&&n.splice(r++,0,i),null!==s&&n.splice(r++,0,s)}const c1="ng-template";function _x(n,t,e,i){let s=0;if(i){for(;s<t.length&&"string"==typeof t[s];s+=2)if("class"===t[s]&&-1!==a_(t[s+1].toLowerCase(),e,0))return!0}else if(l_(n))return!1;if(s=t.indexOf(1,s),s>-1){let r;for(;++s<t.length&&"string"==typeof(r=t[s]);)if(r.toLowerCase()===e)return!0}return!1}function l_(n){return 4===n.type&&n.value!==c1}function yx(n,t,e){return t===(4!==n.type||e?n.value:c1)}function vx(n,t,e){let i=4;const s=n.attrs,r=null!==s?function Cx(n){for(let t=0;t<n.length;t++)if(lp(n[t]))return t;return n.length}(s):0;let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!yx(n,l,e)||""===l&&1===t.length){if(uo(i))return!1;o=!0}}else if(8&i){if(null===s||!_x(n,s,l,e)){if(uo(i))return!1;o=!0}}else{const c=t[++a],u=bx(l,s,l_(n),e);if(-1===u){if(uo(i))return!1;o=!0;continue}if(""!==c){let d;if(d=u>r?"":s[u+1].toLowerCase(),2&i&&c!==d){if(uo(i))return!1;o=!0}}}}else{if(!o&&!uo(i)&&!uo(l))return!1;if(o&&uo(l))continue;o=!1,i=l|1&i}}return uo(i)||o}function uo(n){return!(1&n)}function bx(n,t,e,i){if(null===t)return-1;let s=0;if(i||!e){let r=!1;for(;s<t.length;){const o=t[s];if(o===n)return s;if(3===o||6===o)r=!0;else{if(1===o||2===o){let a=t[++s];for(;"string"==typeof a;)a=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=r?1:2}return-1}return function ho(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const i=n[e];if("number"==typeof i)return-1;if(i===t)return e;e++}return-1}(t,n)}function c_(n,t,e=!1){for(let i=0;i<t.length;i++)if(vx(n,t[i],e))return!0;return!1}function cc(n,t){e:for(let e=0;e<t.length;e++){const i=t[e];if(n.length===i.length){for(let s=0;s<n.length;s++)if(n[s]!==i[s])continue e;return!0}}return!1}function u_(n,t){return n?":not("+t.trim()+")":t}function Mx(n){let t=n[0],e=1,i=2,s="",r=!1;for(;e<n.length;){let o=n[e];if("string"==typeof o)if(2&i){const a=n[++e];s+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""!==s&&!uo(o)&&(t+=u_(r,s),s=""),i=o,r=r||!uo(i);e++}return""!==s&&(t+=u_(r,s)),t}function xe(n){return wi(()=>{const t=p1(n),e={...t,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===ap.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Hr.Emulated,styles:n.styles||In,_:null,schemas:n.schemas||null,tView:null,id:""};g1(e);const i=n.dependencies;return e.directiveDefs=cp(i,!1),e.pipeDefs=cp(i,!0),e.id=function Sx(n){let t=0;const e=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const s of e)t=Math.imul(31,t)+s.charCodeAt(0)|0;return t+=2147483648,"c"+t}(e),e})}function Dx(n){return hn(n)||os(n)}function h1(n){return null!==n}function pn(n){return wi(()=>({type:n.type,bootstrap:n.bootstrap||In,declarations:n.declarations||In,imports:n.imports||In,exports:n.exports||In,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function f1(n,t){if(null==n)return Ko;const e={};for(const i in n)if(n.hasOwnProperty(i)){const s=n[i];let r,o,a=bn.None;Array.isArray(s)?(a=s[0],r=s[1],o=s[2]??r):(r=s,o=s),t?(e[r]=a!==bn.None?[i,a]:i,t[r]=o):e[r]=i}return e}function rt(n){return wi(()=>{const t=p1(n);return g1(t),t})}function rs(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function hn(n){return n[Kd]||null}function os(n){return n[Zm]||null}function Ms(n){return n[Jm]||null}function Is(n,t){const e=n[np]||null;if(!e&&!0===t)throw new Error(`Type ${Ri(n)} does not have '\u0275mod' property.`);return e}function p1(n){const t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:n.inputs||Ko,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||In,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:f1(n.inputs,t),outputs:f1(n.outputs),debugInfo:null}}function g1(n){n.features?.forEach(t=>t(n))}function cp(n,t){if(!n)return null;const e=t?Ms:Dx;return()=>("function"==typeof n?n():n).map(i=>e(i)).filter(h1)}function Tx(...n){return{\u0275providers:d_(0,n),\u0275fromNgModule:!0}}function d_(n,...t){const e=[],i=new Set;let s;const r=o=>{e.push(o)};return yu(t,o=>{const a=o;up(a,r,[],i)&&(s||=[],s.push(a))}),void 0!==s&&m1(s,r),e}function m1(n,t){for(let e=0;e<n.length;e++){const{ngModule:i,providers:s}=n[e];h_(s,r=>{t(r,i)})}}function up(n,t,e,i){if(!(n=mt(n)))return!1;let s=null,r=ep(n);const o=!r&&hn(n);if(r||o){if(o&&!o.standalone)return!1;s=n}else{const l=n.ngModule;if(r=ep(l),!r)return!1;s=l}const a=i.has(s);if(o){if(a)return!1;if(i.add(s),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)up(c,t,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(s);try{yu(r.imports,u=>{up(u,t,e,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&m1(c,t)}if(!a){const c=Ca(s)||(()=>new s);t({provide:s,useFactory:c,deps:In},s),t({provide:wu,useValue:s,multi:!0},s),t({provide:lc,useValue:()=>Ve(s),multi:!0},s)}const l=r.providers;if(null!=l&&!a){const c=n;h_(l,u=>{t(u,c)})}}}return s!==n&&void 0!==n.providers}function h_(n,t){for(let e of n)Xm(e)&&(e=e.\u0275providers),Array.isArray(e)?h_(e,t):t(e)}const Ex=$n({provide:String,useValue:$n});function f_(n){return null!==n&&"object"==typeof n&&Ex in n}function hl(n){return"function"==typeof n}const fl=new dt(""),uc={},_1={};let pl;function nh(){return void 0===pl&&(pl=new Cu),pl}class ys{}class Mu extends ys{get destroyed(){return this._destroyed}constructor(t,e,i,s){super(),this.parent=e,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,__(t,o=>this.processProvider(o)),this.records.set(Qd,Du(void 0,this)),s.has("environment")&&this.records.set(ys,Du(void 0,this));const r=this.records.get(fl);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(wu,In,nn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=A(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=qo(this),i=Zs(void 0);try{return t()}finally{qo(e),Zs(i)}}get(t,e=ac,i=nn.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Qm))return t[Qm](this);i=sp(i);const r=qo(this),o=Zs(void 0);try{if(!(i&nn.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function Ix(n){return"function"==typeof n||"object"==typeof n&&n instanceof dt}(t)&&Qf(t);l=c&&this.injectableDefInScope(c)?Du(m_(t),uc):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(i&nn.Self?nh():this.parent).get(t,e=i&nn.Optional&&e===ac?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Br]=a[Br]||[]).unshift(Ri(t)),r)throw a;return function hx(n,t,e,i){const s=n[Br];throw t[n1]&&s.unshift(t[n1]),n.message=function s1(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let s=Ri(t);if(Array.isArray(t))s=t.map(Ri).join(" -> ");else if("object"==typeof t){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];r.push(o+":"+("string"==typeof a?JSON.stringify(a):Ri(a)))}s=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${s}]: ${n.replace(s_,"\n  ")}`}("\n"+n.message,s,e,i),n.ngTokenPath=s,n[Br]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{Zs(o),qo(r)}}resolveInjectorInitializers(){const t=A(null),e=qo(this),i=Zs(void 0);try{const r=this.get(lc,In,nn.Self);for(const o of r)o()}finally{qo(e),Zs(i),A(t)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Ri(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Oe(205,!1)}processProvider(t){let e=hl(t=mt(t))?t:mt(t&&t.provide);const i=function Ox(n){return f_(n)?Du(void 0,n.useValue):Du(y1(n),uc)}(t);if(!hl(t)&&!0===t.multi){let s=this.records.get(e);s||(s=Du(void 0,uc,!0),s.factory=()=>r_(s.multi),this.records.set(e,s)),e=t,s.multi.push(t)}this.records.set(e,i)}hydrate(t,e){const i=A(null);try{return e.value===uc&&(e.value=_1,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Px(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{A(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const e=mt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function m_(n){const t=Qf(n),e=null!==t?t.factory:Ca(n);if(null!==e)return e;if(n instanceof dt)throw new Oe(204,!1);if(n instanceof Function)return function kx(n){if(n.length>0)throw new Oe(204,!1);const e=function ix(n){return n&&(n[tp]||n[J0])||null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new Oe(204,!1)}function y1(n,t,e){let i;if(hl(n)){const s=mt(n);return Ca(s)||m_(s)}if(f_(n))i=()=>mt(n.useValue);else if(function g_(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...r_(n.deps||[]));else if(function p_(n){return!(!n||!n.useExisting)}(n))i=()=>Ve(mt(n.useExisting));else{const s=mt(n&&(n.useClass||n.provide));if(!function Lx(n){return!!n.deps}(n))return Ca(s)||m_(s);i=()=>new s(...r_(n.deps))}return i}function Du(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function __(n,t){for(const e of n)Array.isArray(e)?__(e,t):e&&Xm(e)?__(e.\u0275providers,t):t(e)}function Xo(n,t){n instanceof Mu&&n.assertNotDestroyed();const i=qo(n),s=Zs(void 0);try{return t()}finally{qo(i),Zs(s)}}function v1(){return void 0!==t_()||null!=function ip(){return mu}()}function ih(n){if(!v1())throw new Oe(-203,!1)}const xi=0,it=1,St=2,Wi=3,fo=4,As=5,er=6,Su=7,fi=8,$i=9,po=10,Nt=11,oh=12,Ma=13,hc=14,Ni=15,ah=16,Tu=17,Xe=18,lh=19,w1=20,Da=21,Dn=22,Zo=23,Bt=25,ch=1,Jo=7,Eu=9,qi=10;var go=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(go||{});function Rs(n){return Array.isArray(n)&&"object"==typeof n[ch]}function Ds(n){return Array.isArray(n)&&!0===n[ch]}function v_(n){return!!(4&n.flags)}function fc(n){return n.componentOffset>-1}function dh(n){return!(1&~n.flags)}function mo(n){return!!n.template}function fp(n){return!!(512&n[St])}class xa{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function pc(n,t,e,i){null!==t?t.applyValueToInputSignal(t,i):n[e]=i}function Ut(){return D1}function D1(n){return n.type.prototype.ngOnChanges&&(n.setInput=Gx),zx}function zx(){const n=pp(this),t=n?.current;if(t){const e=n.previous;if(e===Ko)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function Gx(n,t,e,i,s){const r=this.declaredInputs[i],o=pp(n)||function Ou(n,t){return n[x1]=t}(n,{previous:Ko,current:null}),a=o.current||(o.current={}),l=o.previous,c=l[r];a[r]=new xa(c&&c.currentValue,e,l===Ko),pc(n,t,s,e)}Ut.ngInherit=!0;const x1="__ngSimpleChanges__";function pp(n){return n[x1]||null}const f=function(n,t,e){};let F=!1;function Te(n){for(;Array.isArray(n);)n=n[xi];return n}function It(n,t){return Te(t[n])}function At(n,t){return Te(t[n.index])}function vr(n,t){return n.data[t]}function br(n,t){return n[t]}function yo(n,t){const e=t[n];return Rs(e)?e:e[xi]}function Wx(n){return!(128&~n[St])}function gl(n,t){return null==t?null:n[t]}function wA(n){n[Tu]=0}function r9(n){1024&n[St]||(n[St]|=1024,Wx(n)&&M_(n))}function $x(n){return!!(9216&n[St]||n[Zo]?.dirty)}function qx(n){n[po].changeDetectionScheduler?.notify(1),$x(n)?M_(n):64&n[St]&&(function q(){return F}()?(n[St]|=1024,M_(n)):n[po].changeDetectionScheduler?.notify())}function M_(n){n[po].changeDetectionScheduler?.notify();let t=hh(n);for(;null!==t&&!(8192&t[St])&&(t[St]|=8192,Wx(t));)t=hh(t)}function S1(n,t){if(!(256&~n[St]))throw new Oe(911,!1);null===n[Da]&&(n[Da]=[]),n[Da].push(t)}function hh(n){const t=n[Wi];return Ds(t)?t[Wi]:t}const Ht={lFrame:LA(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function DA(){return Ht.bindingsEnabled}function gp(){return null!==Ht.skipHydrationRootTNode}function je(){return Ht.lFrame.lView}function xn(){return Ht.lFrame.tView}function ze(n){return Ht.lFrame.contextLView=n,n[fi]}function Ge(n){return Ht.lFrame.contextLView=null,n}function ai(){let n=xA();for(;null!==n&&64===n.type;)n=n.parent;return n}function xA(){return Ht.lFrame.currentTNode}function D_(){const n=Ht.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function ml(n,t){const e=Ht.lFrame;e.currentTNode=n,e.isParent=t}function Xx(){return Ht.lFrame.isParent}function Zx(){Ht.lFrame.isParent=!1}function wr(){const n=Ht.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function gc(){return Ht.lFrame.bindingIndex}function Sa(){return Ht.lFrame.bindingIndex++}function mc(n){const t=Ht.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function EA(n){Ht.lFrame.inI18n=n}function m9(n,t){const e=Ht.lFrame;e.bindingIndex=e.bindingRootIndex=n,Jx(t)}function Jx(n){Ht.lFrame.currentDirectiveIndex=n}function eS(){return Ht.lFrame.currentQueryIndex}function T1(n){Ht.lFrame.currentQueryIndex=n}function y9(n){const t=n[it];return 2===t.type?t.declTNode:1===t.type?n[As]:null}function kA(n,t,e){if(e&nn.SkipSelf){let s=t,r=n;for(;!(s=s.parent,null!==s||e&nn.Host||(s=y9(r),null===s||(r=r[hc],10&s.type))););if(null===s)return!1;t=s,n=r}const i=Ht.lFrame=OA();return i.currentTNode=t,i.lView=n,!0}function tS(n){const t=OA(),e=n[it];Ht.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function OA(){const n=Ht.lFrame,t=null===n?null:n.child;return null===t?LA(n):t}function LA(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function PA(){const n=Ht.lFrame;return Ht.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const IA=PA;function nS(){const n=PA();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function tr(){return Ht.lFrame.selectedIndex}function fh(n){Ht.lFrame.selectedIndex=n}function Si(){const n=Ht.lFrame;return vr(n.tView,n.selectedIndex)}let RA=!0;function x_(){return RA}function _l(n){RA=n}function E1(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){const r=n.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;o&&(n.contentHooks??=[]).push(-e,o),a&&((n.contentHooks??=[]).push(e,a),(n.contentCheckHooks??=[]).push(e,a)),l&&(n.viewHooks??=[]).push(-e,l),c&&((n.viewHooks??=[]).push(e,c),(n.viewCheckHooks??=[]).push(e,c)),null!=u&&(n.destroyHooks??=[]).push(e,u)}}function k1(n,t,e){NA(n,t,3,e)}function O1(n,t,e,i){(3&n[St])===e&&NA(n,t,e,i)}function iS(n,t){let e=n[St];(3&e)===t&&(e&=16383,e+=1,n[St]=e)}function NA(n,t,e,i){const r=i??-1,o=t.length-1;let a=0;for(let l=void 0!==i?65535&n[Tu]:0;l<o;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(n[Tu]+=65536),(a<r||-1==r)&&(x9(n,e,t,l),n[Tu]=(4294901760&n[Tu])+l+2),l++}function FA(n,t){f(4,n,t);const e=A(null);try{t.call(n)}finally{A(e),f(5,n,t)}}function x9(n,t,e,i){const s=e[i]<0,r=e[i+1],a=n[s?-e[i]:e[i]];s?n[St]>>14<n[Tu]>>16&&(3&n[St])===t&&(n[St]+=16384,FA(a,r)):FA(a,r)}const mp=-1;class S_{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function rS(n){return n!==mp}function T_(n){return 32767&n}function E_(n,t){let e=function O9(n){return n>>16}(n),i=t;for(;e>0;)i=i[hc],e--;return i}let oS=!0;function L1(n){const t=oS;return oS=n,t}const YA=255,jA=5;let L9=0;const yl={};function P1(n,t){const e=BA(n,t);if(-1!==e)return e;const i=t[it];i.firstCreatePass&&(n.injectorIndex=t.length,aS(i.data,n),aS(t,null),aS(i.blueprint,null));const s=I1(n,t),r=n.injectorIndex;if(rS(s)){const o=T_(s),a=E_(s,t),l=a[it].data;for(let c=0;c<8;c++)t[r+c]=a[o+c]|l[o+c]}return t[r+8]=s,r}function aS(n,t){n.push(0,0,0,0,0,0,0,0,t)}function BA(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function I1(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,s=t;for(;null!==s;){if(i=$A(s),null===i)return mp;if(e++,s=s[hc],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return mp}function lS(n,t,e){!function P9(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Xd)&&(i=e[Xd]),null==i&&(i=e[Xd]=L9++);const s=i&YA;t.data[n+(s>>jA)]|=1<<s}(n,t,e)}function HA(n,t,e){if(e&nn.Optional||void 0!==n)return n;rc()}function VA(n,t,e,i){if(e&nn.Optional&&void 0===i&&(i=null),!(e&(nn.Self|nn.Host))){const s=n[$i],r=Zs(void 0);try{return s?s.get(t,i,e&nn.Optional):t1(t,i,e&nn.Optional)}finally{Zs(r)}}return HA(i,0,e)}function UA(n,t,e,i=nn.Default,s){if(null!==n){if(2048&t[St]&&!(i&nn.Self)){const o=function F9(n,t,e,i,s){let r=n,o=t;for(;null!==r&&null!==o&&2048&o[St]&&!(512&o[St]);){const a=zA(r,o,e,i|nn.Self,yl);if(a!==yl)return a;let l=r.parent;if(!l){const c=o[w1];if(c){const u=c.get(e,yl,i);if(u!==yl)return u}l=$A(o),o=o[hc]}r=l}return s}(n,t,e,i,yl);if(o!==yl)return o}const r=zA(n,t,e,i,yl);if(r!==yl)return r}return VA(t,e,i,s)}function zA(n,t,e,i,s){const r=function R9(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(Xd)?n[Xd]:void 0;return"number"==typeof t?t>=0?t&YA:N9:t}(e);if("function"==typeof r){if(!kA(t,n,i))return i&nn.Host?HA(s,0,i):VA(t,e,i,s);try{let o;if(o=r(i),null!=o||i&nn.Optional)return o;rc()}finally{IA()}}else if("number"==typeof r){let o=null,a=BA(n,t),l=mp,c=i&nn.Host?t[Ni][As]:null;for((-1===a||i&nn.SkipSelf)&&(l=-1===a?I1(n,t):t[a+8],l!==mp&&WA(i,!1)?(o=t[it],a=T_(l),t=E_(l,t)):a=-1);-1!==a;){const u=t[it];if(GA(r,a,u.data)){const d=A9(a,t,e,o,i,c);if(d!==yl)return d}l=t[a+8],l!==mp&&WA(i,t[it].data[a+8]===c)&&GA(r,a,t)?(o=u,a=T_(l),t=E_(l,t)):a=-1}}return s}function A9(n,t,e,i,s,r){const o=t[it],a=o.data[n+8],u=A1(a,o,e,null==i?fc(a)&&oS:i!=o&&!!(3&a.type),s&nn.Host&&r===a);return null!==u?ph(t,o,u,a):yl}function A1(n,t,e,i,s){const r=n.providerIndexes,o=t.data,a=1048575&r,l=n.directiveStart,u=r>>20,h=s?a+u:n.directiveEnd;for(let p=i?a:a+u;p<h;p++){const _=o[p];if(p<l&&e===_||p>=l&&_.type===e)return p}if(s){const p=o[l];if(p&&mo(p)&&p.type===e)return l}return null}function ph(n,t,e,i){let s=n[e];const r=t.data;if(function S9(n){return n instanceof S_}(s)){const o=s;o.resolving&&function ox(n,t){throw t&&t.join(" > "),new Oe(-200,n)}(function jn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():jt(n)}(r[e]));const a=L1(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Zs(o.injectImpl):null;kA(n,i,nn.Default);try{s=n[e]=o.factory(void 0,r,n,i),t.firstCreatePass&&e>=i.directiveStart&&function D9(n,t,e){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=t.type.prototype;if(i){const o=D1(t);(e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o)}s&&(e.preOrderHooks??=[]).push(0-n,s),r&&((e.preOrderHooks??=[]).push(n,r),(e.preOrderCheckHooks??=[]).push(n,r))}(e,r[e],t)}finally{null!==c&&Zs(c),L1(a),o.resolving=!1,IA()}}return s}function GA(n,t,e){return!!(e[t+(n>>jA)]&1<<n)}function WA(n,t){return!(n&nn.Self||n&nn.Host&&t)}class xs{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return UA(this._tNode,this._lView,t,sp(i),e)}}function N9(){return new xs(ai(),je())}function Gn(n){return wi(()=>{const t=n.prototype.constructor,e=t[co]||cS(t),i=Object.prototype;let s=Object.getPrototypeOf(n.prototype).constructor;for(;s&&s!==i;){const r=s[co]||cS(s);if(r&&r!==e)return r;s=Object.getPrototypeOf(s)}return r=>new r})}function cS(n){return gu(n)?()=>{const t=cS(mt(n));return t&&t()}:Ca(n)}function $A(n){const t=n[it],e=t.type;return 2===e?t.declTNode:1===e?n[As]:null}function Pu(n){return function I9(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let s=0;for(;s<i;){const r=e[s];if(lp(r))break;if(0===r)s+=2;else if("number"==typeof r)for(s++;s<i&&"string"==typeof e[s];)s++;else{if(r===t)return e[s+1];s+=2}}}return null}(ai(),n)}function JA(n,t=null,e=null,i){const s=QA(n,t,e,i);return s.resolveInjectorInitializers(),s}function QA(n,t=null,e=null,i,s=new Set){const r=[e||In,Tx(n)];return i=i||("object"==typeof n?void 0:Ri(n)),new Mu(r,t||nh(),i||null,s)}let ls=(()=>{class n{static#e=this.THROW_IF_NOT_FOUND=ac;static#t=this.NULL=new Cu;static create(e,i){if(Array.isArray(e))return JA({name:""},i,e,"");{const s=e.name??"";return JA({name:s},e.parent,e.providers,s)}}static#n=this.\u0275prov=Ie({token:n,providedIn:"any",factory:()=>Ve(Qd)});static#i=this.__NG_ELEMENT_ID__=-1}return n})();function dS(n){return n.ngOriginalError}class Qo{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&dS(t);for(;e&&dS(e);)e=dS(e);return e||null}}const tR=new dt("",{providedIn:"root",factory:()=>fe(Qo).handleError.bind(void 0)});let Ta=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=W9;static#t=this.__NG_ENV_ID__=e=>e}return n})();class G9 extends Ta{constructor(t){super(),this._lView=t}onDestroy(t){return S1(this._lView,t),()=>function Kx(n,t){if(null===n[Da])return;const e=n[Da].indexOf(t);-1!==e&&n[Da].splice(e,1)}(this._lView,t)}}function W9(){return new G9(je())}class nR{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=fe(Qo,{optional:!0}),this.destroyRef=fe(Ta),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new Oe(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{const e=this.listeners?.indexOf(t);void 0!==e&&-1!==e&&this.listeners?.splice(e,1)}}}emit(t){if(this.destroyed)throw new Oe(953,!1);if(null===this.listeners)return;const e=A(null);try{for(const i of this.listeners)try{i(t)}catch(s){this.errorHandler?.handleError(s)}}finally{A(e)}}}function iR(n){return new nR}function sR(n,t){return $d(n,t)}const gh=(sR.required=function $9(n){return $d(fu,n)},sR);function q9(){return vp(ai(),je())}function vp(n,t){return new gn(At(n,t))}let gn=(()=>{class n{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=q9}return n})();function rR(n){return n instanceof gn?n.nativeElement:n}function hS(n){return t=>{setTimeout(n,void 0,t)}}const Ne=class K9 extends Zt{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,v1()&&(this.destroyRef=fe(Ta,{optional:!0})??void 0)}emit(t){const e=A(null);try{super.next(t)}finally{A(e)}}subscribe(t,e,i){let s=t,r=e||(()=>null),o=i;if(t&&"object"==typeof t){const l=t;s=l.next?.bind(l),r=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(r=hS(r),s&&(s=hS(s)),o&&(o=hS(o)));const a=super.subscribe({next:s,error:r,complete:o});return t instanceof hi&&t.add(a),a}};function X9(){return this._results[Symbol.iterator]()}class fS{static#e=Symbol.iterator;get changes(){return this._changes??=new Ne}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const e=fS.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=X9)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const i=function Js(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function mx(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let s=n[i],r=t[i];if(e&&(s=e(s),r=e(r)),r!==s)return!1}return!0}(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function N1(n){return!(128&~n.flags)}const pS=new Map;let J9=0;const mS="__ngContext__";function nr(n,t){Rs(t)?(n[mS]=t[lh],function eq(n){pS.set(n[lh],n)}(t)):n[mS]=t}function gR(n){return _R(n[oh])}function mR(n){return _R(n[fo])}function _R(n){for(;null!==n&&!Ds(n);)n=n[fo];return n}let _S;function Iu(){if(void 0!==_S)return _S;if(typeof document<"u")return document;throw new Oe(210,!1)}const j1=new dt("",{providedIn:"root",factory:()=>yq}),yq="ng",xR=new dt(""),_c=new dt("",{providedIn:"platform",factory:()=>"unknown"}),SR=new dt(""),TR=new dt("",{providedIn:"root",factory:()=>Iu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ER=()=>null;function xS(n,t,e=!1){return ER(n,t,e)}const IR=new dt("",{providedIn:"root",factory:()=>!1});let W1,$1;function Cp(n){return function kS(){if(void 0===W1&&(W1=null,zn.trustedTypes))try{W1=zn.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return W1}()?.createHTML(n)||n}function OS(){if(void 0===$1&&($1=null,zn.trustedTypes))try{$1=zn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $1}function RR(n){return OS()?.createHTML(n)||n}function FR(n){return OS()?.createScriptURL(n)||n}class YR{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$o})`}}function Au(n){return n instanceof YR?n.changingThisBreaksApplicationSecurity:n}function R_(n,t){const e=function Fq(n){return n instanceof YR&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${$o})`)}return e===t}function jR(n){const t=new jq(n);return function Bq(){try{return!!(new window.DOMParser).parseFromString(Cp(""),"text/html")}catch{return!1}}()?new Yq(t):t}class Yq{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Cp(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class jq{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Cp(t),e}}const Hq=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function LS(n){return(n=String(n)).match(Hq)?n:"unsafe:"+n}function yc(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function N_(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const BR=yc("area,br,col,hr,img,wbr"),HR=yc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),VR=yc("rp,rt"),PS=N_(BR,N_(HR,yc("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")),N_(VR,yc("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")),N_(VR,HR)),IS=yc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),UR=N_(IS,yc("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"),yc("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")),Vq=yc("script,style,template");class Uq{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0,s=[];for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)s.push(e),e=Wq(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=Gq(e);if(r){e=r;break}e=s.pop()}return this.buf.join("")}startElement(t){const e=zR(t).toLowerCase();if(!PS.hasOwnProperty(e))return this.sanitizedSomething=!0,!Vq.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let s=0;s<i.length;s++){const r=i.item(s),o=r.name,a=o.toLowerCase();if(!UR.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;IS[a]&&(l=LS(l)),this.buf.push(" ",o,'="',WR(l),'"')}return this.buf.push(">"),!0}endElement(t){const e=zR(t).toLowerCase();PS.hasOwnProperty(e)&&!BR.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(WR(t))}}function Gq(n){const t=n.nextSibling;if(t&&n!==t.previousSibling)throw GR(t);return t}function Wq(n){const t=n.firstChild;if(t&&function zq(n,t){return(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,t))throw GR(t);return t}function zR(n){const t=n.nodeName;return"string"==typeof t?t:"FORM"}function GR(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const $q=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qq=/([^\#-~ |!])/g;function WR(n){return n.replace(/&/g,"&amp;").replace($q,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qq,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let q1;function AS(n){return"content"in n&&function Xq(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Mp=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Mp||{});function mh(n){const t=F_();return t?RR(t.sanitize(Mp.HTML,n)||""):R_(n,"HTML")?RR(Au(n)):function Kq(n,t){let e=null;try{q1=q1||jR(n);let i=t?String(t):"";e=q1.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=e.innerHTML,e=q1.getInertBodyElement(i)}while(i!==r);return Cp((new Uq).sanitizeChildren(AS(e)||e))}finally{if(e){const i=AS(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Iu(),jt(n))}function qn(n){const t=F_();return t?t.sanitize(Mp.URL,n)||"":R_(n,"URL")?Au(n):LS(jt(n))}function $R(n){const t=F_();if(t)return FR(t.sanitize(Mp.RESOURCE_URL,n)||"");if(R_(n,"ResourceURL"))return FR(Au(n));throw new Oe(904,!1)}function F_(){const n=je();return n&&n[po].sanitizer}const nK=/^>|^->|<!--|-->|--!>|<!-$/g,iK=/(<|>)/g,sK="\u200b$1\u200b";function JR(n){return n.ownerDocument}function vo(n){return n instanceof Function?n():n}var Ru=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Ru||{});let YS;function jS(n,t){return YS(n,t)}function xp(n,t,e,i,s){if(null!=i){let r,o=!1;Ds(i)?r=i:Rs(i)&&(o=!0,i=i[xi]);const a=Te(i);0===n&&null!==e?null==s?aN(t,e,a):_h(t,e,a,s||null,!0):1===n&&null!==e?_h(t,e,a,s||null,!0):2===n?B_(t,a,o):3===n&&t.destroyNode(a),null!=r&&function xK(n,t,e,i,s){const r=e[Jo];r!==Te(e)&&xp(t,n,i,r,s);for(let a=qi;a<e.length;a++){const l=e[a];tb(l[it],l,n,t,i,r)}}(t,n,r,e,s)}}function BS(n,t){return n.createText(t)}function iN(n,t,e){n.setValue(t,e)}function HS(n,t){return n.createComment(function KR(n){return n.replace(nK,t=>t.replace(iK,sK))}(t))}function Z1(n,t,e){return n.createElement(t,e)}function sN(n,t){t[po].changeDetectionScheduler?.notify(1),tb(n,t,t[Nt],2,null,null)}function rN(n,t){const e=n[Eu],i=e.indexOf(t);e.splice(i,1)}function Y_(n,t){if(n.length<=qi)return;const e=qi+t,i=n[e];if(i){const s=i[ah];null!==s&&s!==n&&rN(s,i),t>0&&(n[e-1][fo]=i[fo]);const r=Jd(n,qi+t);!function gK(n,t){sN(n,t),t[xi]=null,t[As]=null}(i[it],i);const o=r[Xe];null!==o&&o.detachView(r[it]),i[Wi]=null,i[fo]=null,i[St]&=-129}return i}function J1(n,t){if(!(256&t[St])){const e=t[Nt];e.destroyNode&&tb(n,t,e,3,null,null),function _K(n){let t=n[oh];if(!t)return VS(n[it],n);for(;t;){let e=null;if(Rs(t))e=t[oh];else{const i=t[qi];i&&(e=i)}if(!e){for(;t&&!t[fo]&&t!==n;)Rs(t)&&VS(t[it],t),t=t[Wi];null===t&&(t=n),Rs(t)&&VS(t[it],t),e=t&&t[fo]}t=e}}(t)}}function VS(n,t){if(256&t[St])return;const e=A(null);try{t[St]&=-129,t[St]|=256,t[Zo]&&Je(t[Zo]),function wK(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i<e.length;i+=2){const s=t[e[i]];if(!(s instanceof S_)){const r=e[i+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){const a=s[r[o]],l=r[o+1];f(4,a,l);try{l.call(a)}finally{f(5,a,l)}}else{f(4,s,r);try{r.call(s)}finally{f(5,s,r)}}}}}(n,t),function bK(n,t){const e=n.cleanup,i=t[Su];if(null!==e)for(let r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){const o=e[r+3];o>=0?i[o]():i[-o].unsubscribe(),r+=2}else e[r].call(i[e[r+1]]);null!==i&&(t[Su]=null);const s=t[Da];if(null!==s){t[Da]=null;for(let r=0;r<s.length;r++)(0,s[r])()}}(n,t),1===t[it].type&&t[Nt].destroy();const i=t[ah];if(null!==i&&Ds(t[Wi])){i!==t[Wi]&&rN(i,t);const s=t[Xe];null!==s&&s.detachView(n)}!function tq(n){pS.delete(n[lh])}(t)}finally{A(e)}}function US(n,t,e){return oN(n,t.parent,e)}function oN(n,t,e){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return e[xi];{const{componentOffset:s}=i;if(s>-1){const{encapsulation:r}=n.data[i.directiveStart+s];if(r===Hr.None||r===Hr.Emulated)return null}return At(i,e)}}function _h(n,t,e,i,s){n.insertBefore(t,e,i,s)}function aN(n,t,e){n.appendChild(t,e)}function lN(n,t,e,i,s){null!==i?_h(n,t,e,i,s):aN(n,t,e)}function Q1(n,t){return n.parentNode(t)}function cN(n,t,e){return dN(n,t,e)}function uN(n,t,e){return 40&n.type?At(n,e):null}let zS,dN=uN;function hN(n,t){dN=n,zS=t}function eb(n,t,e,i){const s=US(n,i,t),r=t[Nt],a=cN(i.parent||t[As],i,t);if(null!=s)if(Array.isArray(e))for(let l=0;l<e.length;l++)lN(r,s,e[l],a,!1);else lN(r,s,e,a,!1);void 0!==zS&&zS(r,i,t,e,s)}function j_(n,t){if(null!==t){const e=t.type;if(3&e)return At(t,n);if(4&e)return GS(-1,n[t.index]);if(8&e){const i=t.child;if(null!==i)return j_(n,i);{const s=n[t.index];return Ds(s)?GS(-1,s):Te(s)}}if(32&e)return jS(t,n)()||Te(n[t.index]);{const i=fN(n,t);return null!==i?Array.isArray(i)?i[0]:j_(hh(n[Ni]),i):j_(n,t.next)}}return null}function fN(n,t){return null!==t?n[Ni][As].projection[t.projection]:null}function GS(n,t){const e=qi+n+1;if(e<t.length){const i=t[e],s=i[it].firstChild;if(null!==s)return j_(i,s)}return t[Jo]}function B_(n,t,e){const i=Q1(n,t);i&&function CK(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}function WS(n,t,e,i,s,r,o){for(;null!=e;){const a=i[e.index],l=e.type;if(o&&0===t&&(a&&nr(Te(a),i),e.flags|=2),32&~e.flags)if(8&l)WS(n,t,e.child,i,s,r,!1),xp(t,n,s,a,r);else if(32&l){const c=jS(e,i);let u;for(;u=c();)xp(t,n,s,u,r);xp(t,n,s,a,r)}else 16&l?gN(n,t,i,e,s,r):xp(t,n,s,a,r);e=o?e.projectionNext:e.next}}function tb(n,t,e,i,s,r){WS(e,i,n.firstChild,t,s,r,!1)}function gN(n,t,e,i,s,r){const o=e[Ni],l=o[As].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)xp(t,n,s,l[c],r);else{let c=l;const u=o[Wi];N1(i)&&(c.flags|=128),WS(n,t,c,u,s,r,!0)}}function mN(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function _N(n,t,e){const{mergedAttrs:i,classes:s,styles:r}=e;null!==i&&eh(n,t,i),null!==s&&mN(n,t,s),null!==r&&function TK(n,t,e){n.setAttribute(t,"style",e)}(n,t,r)}const Jt={};function m(n=1){yN(xn(),je(),tr()+n,!1)}function yN(n,t,e,i){if(!i)if(3&~t[St]){const r=n.preOrderHooks;null!==r&&O1(t,r,0,e)}else{const r=n.preOrderCheckHooks;null!==r&&k1(t,r,e)}fh(e)}function W(n,t=nn.Default){const e=je();return null===e?Ve(n,t):UA(ai(),e,mt(n),t)}function $S(){throw new Error("invalid")}function vN(n,t,e,i,s,r){const o=A(null);try{let a=null;s&bn.SignalBased&&(a=t[i][E]),null!==a&&void 0!==a.transformFn&&(r=a.transformFn(r)),s&bn.HasDecoratorInputTransform&&(r=n.inputTransforms[i].call(t,r)),null!==n.setInput?n.setInput(t,a,r,e,i):pc(t,a,i,r)}finally{A(o)}}function nb(n,t,e,i,s,r,o,a,l,c,u){const d=t.blueprint.slice();return d[xi]=s,d[St]=204|i,(null!==c||n&&2048&n[St])&&(d[St]|=2048),wA(d),d[Wi]=d[hc]=n,d[fi]=e,d[po]=o||n&&n[po],d[Nt]=a||n&&n[Nt],d[$i]=l||n&&n[$i]||null,d[As]=r,d[lh]=function Q9(){return J9++}(),d[er]=u,d[w1]=c,d[Ni]=2==t.type?n[Ni]:d,d}function Sp(n,t,e,i,s){let r=n.data[t];if(null===r)r=qS(n,t,e,i,s),function g9(){return Ht.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=e,r.value=i,r.attrs=s;const o=D_();r.injectorIndex=null===o?-1:o.injectorIndex}return ml(r,!0),r}function qS(n,t,e,i,s){const r=xA(),o=Xx(),l=n.data[t]=function RK(n,t,e,i,s,r){let o=t?t.injectorIndex:-1,a=0;return gp()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:s,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,e,t,i,s);return null===n.firstChild&&(n.firstChild=l),null!==r&&(o?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l,l.prev=r)),l}function H_(n,t,e,i){if(0===e)return-1;const s=t.length;for(let r=0;r<e;r++)t.push(i),n.blueprint.push(i),n.data.push(null);return s}function bN(n,t,e,i,s){const r=tr(),o=2&i;try{fh(-1),o&&t.length>Bt&&yN(n,t,Bt,!1),f(o?2:0,s),e(i,s)}finally{fh(r),f(o?3:1,s)}}function KS(n,t,e){if(v_(t)){const i=A(null);try{const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const a=n.data[o];a.contentQueries&&a.contentQueries(1,e[o],o)}}finally{A(i)}}}function XS(n,t,e){DA()&&(function VK(n,t,e,i){const s=e.directiveStart,r=e.directiveEnd;fc(e)&&function KK(n,t,e){const i=At(t,n),s=wN(e);let o=16;e.signals?o=4096:e.onPush&&(o=64);const a=ib(n,nb(n,s,null,o,i,t,null,n[po].rendererFactory.createRenderer(i,e),null,null,null));n[t.index]=a}(t,e,n.data[s+e.componentOffset]),n.firstCreatePass||P1(e,t),nr(i,t);const o=e.initialInputs;for(let a=s;a<r;a++){const l=n.data[a],c=ph(t,n,a,e);nr(c,t),null!==o&&XK(0,a-s,c,l,0,o),mo(l)&&(yo(e.index,t)[fi]=ph(t,n,a,e))}}(n,t,e,At(e,t)),!(64&~e.flags)&&SN(n,t,e))}function ZS(n,t,e=At){const i=t.localNames;if(null!==i){let s=t.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],a=-1===o?e(t,n):n[o];n[s++]=a}}}function wN(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=JS(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):t}function JS(n,t,e,i,s,r,o,a,l,c,u){const d=Bt+i,h=d+s,p=function kK(n,t){const e=[];for(let i=0;i<t;i++)e.push(i<n?null:Jt);return e}(d,h),_="function"==typeof c?c():c;return p[it]={type:n,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:t,data:p.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 r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:_,incompleteFirstPass:!1,ssrId:u}}let CN=()=>null;function MN(n,t,e,i,s){for(let r in t){if(!t.hasOwnProperty(r))continue;const o=t[r];if(void 0===o)continue;i??={};let a,l=bn.None;Array.isArray(o)?(a=o[0],l=o[1]):a=o;let c=r;if(null!==s){if(!s.hasOwnProperty(r))continue;c=s[r]}0===n?DN(i,e,c,a,l):DN(i,e,c,a)}return i}function DN(n,t,e,i,s){let r;n.hasOwnProperty(e)?(r=n[e]).push(t,i):r=n[e]=[t,i],void 0!==s&&r.push(s)}function Ur(n,t,e,i,s,r,o,a){const l=At(t,e);let u,c=t.inputs;!a&&null!=c&&(u=c[i])?(iT(n,e,u,i,s),fc(t)&&function YK(n,t){const e=yo(t,n);16&e[St]||(e[St]|=64)}(e,t.index)):3&t.type&&(i=function FK(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),s=null!=o?o(s,t.value||"",i):s,r.setProperty(l,i,s))}function QS(n,t,e,i){if(DA()){const s=null===i?null:{"":-1},r=function zK(n,t){const e=n.directiveRegistry;let i=null,s=null;if(e)for(let r=0;r<e.length;r++){const o=e[r];if(c_(t,o.selectors,!1))if(i||(i=[]),mo(o))if(null!==o.findHostDirectiveDefs){const a=[];s=s||new Map,o.findHostDirectiveDefs(o,a,s),i.unshift(...a,o),eT(n,t,a.length)}else i.unshift(o),eT(n,t,0);else s=s||new Map,o.findHostDirectiveDefs?.(o,i,s),i.push(o)}return null===i?null:[i,s]}(n,e);let o,a;null===r?o=a=null:[o,a]=r,null!==o&&xN(n,t,e,o,s,a),s&&function GK(n,t,e){if(t){const i=n.localNames=[];for(let s=0;s<t.length;s+=2){const r=e[t[s+1]];if(null==r)throw new Oe(-301,!1);i.push(t[s],r)}}}(e,i,s)}e.mergedAttrs=th(e.mergedAttrs,e.attrs)}function xN(n,t,e,i,s,r){for(let c=0;c<i.length;c++)lS(P1(e,t),n,i[c].type);!function $K(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}(e,n.data.length,i.length);for(let c=0;c<i.length;c++){const u=i[c];u.providersResolver&&u.providersResolver(u)}let o=!1,a=!1,l=H_(n,t,i.length,null);for(let c=0;c<i.length;c++){const u=i[c];e.mergedAttrs=th(e.mergedAttrs,u.hostAttrs),qK(n,e,t,l,u),WK(l,u,s),null!==u.contentQueries&&(e.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(e.flags|=64);const d=u.type.prototype;!o&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((n.preOrderHooks??=[]).push(e.index),o=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}!function NK(n,t,e){const s=t.directiveEnd,r=n.data,o=t.attrs,a=[];let l=null,c=null;for(let u=t.directiveStart;u<s;u++){const d=r[u],h=e?e.get(d):null,_=h?h.outputs:null;l=MN(0,d.inputs,u,l,h?h.inputs:null),c=MN(1,d.outputs,u,c,_);const v=null===l||null===o||l_(t)?null:ZK(l,u,o);a.push(v)}null!==l&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=l,t.outputs=c}(n,e,r)}function SN(n,t,e){const i=e.directiveStart,s=e.directiveEnd,r=e.index,o=function _9(){return Ht.lFrame.currentDirectiveIndex}();try{fh(r);for(let a=i;a<s;a++){const l=n.data[a],c=t[a];Jx(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&UK(l,c)}}finally{fh(-1),Jx(o)}}function UK(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function eT(n,t,e){t.componentOffset=e,(n.components??=[]).push(t.index)}function WK(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;mo(t)&&(e[""]=n)}}function qK(n,t,e,i,s){n.data[i]=s;const r=s.factory||(s.factory=Ca(s.type)),o=new S_(r,mo(s),W);n.blueprint[i]=o,e[i]=o,function BK(n,t,e,i,s){const r=s.hostBindings;if(r){let o=n.hostBindingOpCodes;null===o&&(o=n.hostBindingOpCodes=[]);const a=~t.index;(function HK(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(o)!=a&&o.push(a),o.push(e,i,r)}}(n,t,i,H_(n,e,s.hostVars,Jt),s)}function tT(n,t,e,i,s,r,o){if(null==r)n.removeAttribute(t,s,e);else{const a=null==o?jt(r):o(r,i||"",s);n.setAttribute(t,s,a,e)}}function XK(n,t,e,i,s,r){const o=r[t];if(null!==o)for(let a=0;a<o.length;)vN(i,e,o[a++],o[a++],o[a++],o[a++])}function ZK(n,t,e){let i=null,s=0;for(;s<e.length;){const r=e[s];if(0!==r)if(5!==r){if("number"==typeof r)break;if(n.hasOwnProperty(r)){null===i&&(i=[]);const o=n[r];for(let a=0;a<o.length;a+=3)if(o[a]===t){i.push(r,o[a+1],o[a+2],e[s+1]);break}}s+=2}else s+=2;else s+=4}return i}function TN(n,t,e,i){return[n,!0,0,t,null,i,null,e,null,null]}function EN(n,t){const e=n.contentQueries;if(null!==e){const i=A(null);try{for(let s=0;s<e.length;s+=2){const o=e[s+1];if(-1!==o){const a=n.data[o];T1(e[s]),a.contentQueries(2,t[o],o)}}}finally{A(i)}}}function ib(n,t){return n[oh]?n[Ma][fo]=t:n[oh]=t,n[Ma]=t,t}function nT(n,t,e){T1(0);const i=A(null);try{t(n,e)}finally{A(i)}}function kN(n){return n[Su]||(n[Su]=[])}function ON(n){return n.cleanup||(n.cleanup=[])}function sb(n,t){const e=n[$i],i=e?e.get(Qo,null):null;i&&i.handleError(t)}function iT(n,t,e,i,s){for(let r=0;r<e.length;){const o=e[r++],a=e[r++],l=e[r++];vN(n.data[o],t[o],i,a,l,s)}}function vc(n,t,e){const i=It(t,n);iN(n[Nt],i,e)}function JK(n,t){const e=yo(t,n),i=e[it];!function QK(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])}(i,e);const s=e[xi];null!==s&&null===e[er]&&(e[er]=xS(s,e[$i])),sT(i,e,e[fi])}function sT(n,t,e){tS(t);try{const i=n.viewQuery;null!==i&&nT(1,i,e);const s=n.template;null!==s&&bN(n,t,s,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),t[Xe]?.finishViewCreation(n),n.staticContentQueries&&EN(n,t),n.staticViewQueries&&nT(2,n.viewQuery,e);const r=n.components;null!==r&&function eX(n,t){for(let e=0;e<t.length;e++)JK(n,t[e])}(t,r)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[St]&=-5,nS()}}function V_(n,t,e,i){const s=A(null);try{const r=t.tView,l=nb(n,r,e,4096&n[St]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[ah]=n[t.index];const u=n[Xe];return null!==u&&(l[Xe]=u.createEmbeddedView(r)),sT(r,l,e),l}finally{A(s)}}function PN(n,t){const e=qi+t;if(e<n.length)return n[e]}function Tp(n,t){return!t||null===t.firstChild||N1(n)}function U_(n,t,e,i=!0){const s=t[it];if(function yK(n,t,e,i){const s=qi+i,r=e.length;i>0&&(e[s-1][fo]=t),i<r-qi?(t[fo]=e[s],r1(e,qi+i,t)):(e.push(t),t[fo]=null),t[Wi]=e;const o=t[ah];null!==o&&e!==o&&function vK(n,t){const e=n[Eu];t[Ni]!==t[Wi][Wi][Ni]&&(n[St]|=go.HasTransplantedViews),null===e?n[Eu]=[t]:e.push(t)}(o,t);const a=t[Xe];null!==a&&a.insertView(n),qx(t),t[St]|=128}(s,t,n,e),i){const o=GS(e,n),a=t[Nt],l=Q1(a,n[Jo]);null!==l&&function mK(n,t,e,i,s,r){i[xi]=s,i[As]=t,tb(n,i,e,1,s,r)}(s,n[As],a,t,l,o)}const r=t[er];null!==r&&null!==r.firstChild&&(r.firstChild=null)}function rT(n,t){const e=Y_(n,t);return void 0!==e&&J1(e[it],e),e}function z_(n,t,e,i,s=!1){for(;null!==e;){const r=t[e.index];null!==r&&i.push(Te(r)),Ds(r)&&IN(r,i);const o=e.type;if(8&o)z_(n,t,e.child,i);else if(32&o){const a=jS(e,t);let l;for(;l=a();)i.push(l)}else if(16&o){const a=fN(t,e);if(Array.isArray(a))i.push(...a);else{const l=hh(t[Ni]);z_(l[it],l,a,i,!0)}}e=s?e.projectionNext:e.next}return i}function IN(n,t){for(let e=qi;e<n.length;e++){const i=n[e],s=i[it].firstChild;null!==s&&z_(i[it],i,s,t)}n[Jo]!==n[xi]&&t.push(n[Jo])}let AN=[];const sX={...se,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{M_(n.lView)},consumerOnSignalRead(){this.lView[Zo]=this}},RN=100;function rb(n,t=!0,e=0){const i=n[po],s=i.rendererFactory;s.begin?.();try{!function rX(n,t){oT(n,t);let e=0;for(;$x(n);){if(e===RN)throw new Oe(103,!1);e++,oT(n,1)}}(n,e)}catch(o){throw t&&sb(n,o),o}finally{s.end?.(),i.inlineEffectRunner?.flush()}}function oX(n,t,e,i){const s=t[St];if(!(256&~s))return;t[po].inlineEffectRunner?.flush(),tS(t);let o=null,a=null;(function aX(n){return 2!==n.type})(n)&&(a=function tX(n){return n[Zo]??function nX(n){const t=AN.pop()??Object.create(sX);return t.lView=n,t}(n)}(t),o=be(a));try{wA(t),function TA(n){return Ht.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&bN(n,t,e,2,i);const l=!(3&~s);if(l){const d=n.preOrderCheckHooks;null!==d&&k1(t,d,null)}else{const d=n.preOrderHooks;null!==d&&O1(t,d,0,null),iS(t,0)}if(function lX(n){for(let t=gR(n);null!==t;t=mR(t)){if(!(t[St]&go.HasTransplantedViews))continue;const e=t[Eu];for(let i=0;i<e.length;i++){r9(e[i])}}}(t),NN(t,0),null!==n.contentQueries&&EN(n,t),l){const d=n.contentCheckHooks;null!==d&&k1(t,d)}else{const d=n.contentHooks;null!==d&&O1(t,d,1),iS(t,1)}!function EK(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const s=e[i];if(s<0)fh(~s);else{const r=s,o=e[++i],a=e[++i];m9(o,r),a(2,t[r])}}}finally{fh(-1)}}(n,t);const c=n.components;null!==c&&YN(t,c,0);const u=n.viewQuery;if(null!==u&&nT(2,u,i),l){const d=n.viewCheckHooks;null!==d&&k1(t,d)}else{const d=n.viewHooks;null!==d&&O1(t,d,2),iS(t,2)}if(!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[Dn]){for(const d of t[Dn])d();t[Dn]=null}t[St]&=-73}catch(l){throw M_(t),l}finally{null!==a&&(Ce(a,o),function iX(n){n.lView[Zo]!==n&&(n.lView=null,AN.push(n))}(a)),nS()}}function NN(n,t){for(let e=gR(n);null!==e;e=mR(e))for(let i=qi;i<e.length;i++)FN(e[i],t)}function cX(n,t,e){FN(yo(t,n),e)}function FN(n,t){Wx(n)&&oT(n,t)}function oT(n,t){const i=n[it],s=n[St],r=n[Zo];let o=!!(0===t&&16&s);if(o||=!!(64&s&&0===t),o||=!!(1024&s),o||=!(!r?.dirty||!Pe(r)),r&&(r.dirty=!1),n[St]&=-9217,o)oX(i,n,i.template,n[fi]);else if(8192&s){NN(n,1);const a=i.components;null!==a&&YN(n,a,1)}}function YN(n,t,e){for(let i=0;i<t.length;i++)cX(n,t[i],e)}function G_(n){for(n[po].changeDetectionScheduler?.notify();n;){n[St]|=64;const t=hh(n);if(fp(n)&&!t)return n;n=t}return null}class W_{get rootNodes(){const t=this._lView,e=t[it];return z_(e,t,e.firstChild,[])}constructor(t,e,i=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[fi]}set context(t){this._lView[fi]=t}get destroyed(){return!(256&~this._lView[St])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Wi];if(Ds(t)){const e=t[8],i=e?e.indexOf(this):-1;i>-1&&(Y_(t,i),Jd(e,i))}this._attachedToViewContainer=!1}J1(this._lView[it],this._lView)}onDestroy(t){S1(this._lView,t)}markForCheck(){G_(this._cdRefInjectingView||this._lView)}detach(){this._lView[St]&=-129}reattach(){qx(this._lView),this._lView[St]|=128}detectChanges(){this._lView[St]|=1024,rb(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Oe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,sN(this._lView[it],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Oe(902,!1);this._appRef=t,qx(this._lView)}}let Ti=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=hX}return n})();const uX=Ti,dX=class extends uX{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,i){const s=V_(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:i});return new W_(s)}};function hX(){return ob(ai(),je())}function ob(n,t){return 4&n.type?new dX(t,n,vp(n,t)):null}let zN=()=>null;function Ep(n,t){return zN(n,t)}class db{}class NX{}class GN{}class YX{resolveComponentFactory(t){throw function FX(n){const t=Error(`No component factory found for ${Ri(n)}.`);return t.ngComponent=n,t}(t)}}let kp=(()=>{class n{static#e=this.NULL=new YX}return n})();class hT{}let bc=(()=>{class n{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function jX(){const n=je(),e=yo(ai().index,n);return(Rs(e)?e:n)[Nt]}()}return n})(),BX=(()=>{class n{static#e=this.\u0275prov=Ie({token:n,providedIn:"root",factory:()=>null})}return n})();const fT={},$N=new Set;function bl(n){$N.has(n)||($N.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function qN(...n){}class sn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),typeof Zone>"u")throw new Oe(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&&e,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function HX(){const n="function"==typeof zn.requestAnimationFrame;let t=zn[n?"requestAnimationFrame":"setTimeout"],e=zn[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function zX(n){const t=()=>{!function UX(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(zn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,gT(n),n.isCheckStableRunning=!0,pT(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),gT(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,s,r,o,a)=>{if(function GX(n){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0].data?.__ignore_ng_zone__}(a))return e.invokeTask(s,r,o,a);try{return KN(n),e.invokeTask(s,r,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||n.shouldCoalesceRunChangeDetection)&&t(),XN(n)}},onInvoke:(e,i,s,r,o,a,l)=>{try{return KN(n),e.invoke(s,r,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),XN(n)}},onHasTask:(e,i,s,r)=>{e.hasTask(s,r),i===s&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,gT(n),pT(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,s,r)=>(e.handleError(s,r),n.runOutsideAngular(()=>n.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!sn.isInAngularZone())throw new Oe(909,!1)}static assertNotInAngularZone(){if(sn.isInAngularZone())throw new Oe(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,s){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+s,t,VX,qN,qN);try{return r.runTask(o,e,i)}finally{r.cancelTask(o)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const VX={};function pT(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function gT(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function KN(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function XN(n){n._nesting--,pT(n)}class ZN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,s){return t.apply(e,i)}}var yh=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(yh||{});const JN={destroy(){}};function _T(n,t){!t&&ih();const e=t?.injector??fe(ls);if(!function Ea(n){return"browser"===(n??fe(ls)).get(_c)}(e))return JN;bl("NgAfterNextRender");const i=e.get(Z_),s=i.handler??=new eF,r=t?.phase??yh.MixedReadWrite,o=()=>{s.unregister(l),a()},a=e.get(Ta).onDestroy(o),l=Xo(e,()=>new QN(r,()=>{o(),n()}));return s.register(l),{destroy:o}}class QN{constructor(t,e){this.phase=t,this.callbackFn=e,this.zone=fe(sn),this.errorHandler=fe(Qo,{optional:!0}),fe(db,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class eF{constructor(){this.executingCallbacks=!1,this.buckets={[yh.EarlyRead]:new Set,[yh.Write]:new Set,[yh.MixedReadWrite]:new Set,[yh.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const e of t)e.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Z_=(()=>{class n{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const e=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of e)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Ie({token:n,providedIn:"root",factory:()=>new n})}return n})();function fb(n,t,e){let i=e?n.styles:null,s=e?n.classes:null,r=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?r=a:1==r?s=Xf(s,a):2==r&&(i=Xf(i,a+": "+t[++o]+";"))}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=s:n.classesWithoutHost=s}class iF extends kp{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=hn(t);return new ey(e,this.ngModule)}}function sF(n){const t=[];for(const e in n){if(!n.hasOwnProperty(e))continue;const i=n[e];void 0!==i&&t.push({propName:Array.isArray(i)?i[0]:i,templateName:e})}return t}class pb{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=sp(i);const s=this.injector.get(t,fT,i);return s!==fT||e===fT?s:this.parentInjector.get(t,e,i)}}class ey extends GN{get inputs(){const t=this.componentDef,e=t.inputTransforms,i=sF(t.inputs);if(null!==e)for(const s of i)e.hasOwnProperty(s.propName)&&(s.transform=e[s.propName]);return i}get outputs(){return sF(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function u1(n){return n.map(Mx).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,s){const r=A(null);try{let o=(s=s||this.ngModule)instanceof ys?s:s?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new pb(t,o):t,l=a.get(hT,null);if(null===l)throw new Oe(407,!1);const c=a.get(BX,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:a.get(Z_,null),changeDetectionScheduler:a.get(db,null)},p=l.createRenderer(null,this.componentDef),_=this.componentDef.selectors[0][0]||"div",v=i?function OK(n,t,e,i){const r=i.get(IR,!1)||e===Hr.ShadowDom,o=n.selectRootElement(t,r);return function LK(n){CN(n)}(o),o}(p,i,this.componentDef.encapsulation,a):Z1(p,_,function XX(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(_));let x=512;this.componentDef.signals?x|=4096:this.componentDef.onPush||(x|=16);let k=null;null!==v&&(k=xS(v,a,!0));const P=JS(0,null,null,1,0,null,null,null,null,null,null),j=nb(null,P,null,x,null,null,h,p,a,null,k);let z,G;tS(j);try{const Z=this.componentDef;let oe,ce=null;Z.findHostDirectiveDefs?(oe=[],ce=new Map,Z.findHostDirectiveDefs(Z,oe,ce),oe.push(Z)):oe=[Z];const Se=function JX(n,t){const e=n[it],i=Bt;return n[i]=t,Sp(e,i,2,"#host",null)}(j,v),Re=function QX(n,t,e,i,s,r,o){const a=s[it];!function eZ(n,t,e,i){for(const s of n)t.mergedAttrs=th(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(fb(t,t.mergedAttrs,!0),null!==e&&_N(i,e,t))}(i,n,t,o);let l=null;null!==t&&(l=xS(t,s[$i]));const c=r.rendererFactory.createRenderer(t,e);let u=16;e.signals?u=4096:e.onPush&&(u=64);const d=nb(s,wN(e),null,u,s[n.index],n,r,c,null,null,l);return a.firstCreatePass&&eT(a,n,i.length-1),ib(s,d),s[n.index]=d}(Se,v,Z,oe,j,h,p);G=vr(P,Bt),v&&function nZ(n,t,e,i){if(i)eh(n,e,["ng-version","17.3.11"]);else{const{attrs:s,classes:r}=function d1(n){const t=[],e=[];let i=1,s=2;for(;i<n.length;){let r=n[i];if("string"==typeof r)2===s?""!==r&&t.push(r,n[++i]):8===s&&e.push(r);else{if(!uo(s))break;s=r}i++}return{attrs:t,classes:e}}(t.selectors[0]);s&&eh(n,e,s),r&&r.length>0&&mN(n,e,r.join(" "))}}(p,Z,v,i),void 0!==e&&function iZ(n,t,e){const i=n.projection=[];for(let s=0;s<t.length;s++){const r=e[s];i.push(null!=r?Array.from(r):null)}}(G,this.ngContentSelectors,e),z=function tZ(n,t,e,i,s,r){const o=ai(),a=s[it],l=At(o,s);xN(a,s,o,e,null,i);for(let u=0;u<e.length;u++)nr(ph(s,a,o.directiveStart+u,o),s);SN(a,s,o),l&&nr(l,s);const c=ph(s,a,o.directiveStart+o.componentOffset,o);if(n[fi]=s[fi]=c,null!==r)for(const u of r)u(c,t);return KS(a,o,s),c}(Re,Z,oe,ce,j,[sZ]),sT(P,j,null)}finally{nS()}return new ZX(this.componentType,z,vp(G,j),j,G)}finally{A(r)}}}class ZX extends NX{constructor(t,e,i,s,r){super(),this.location=i,this._rootLView=s,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new W_(s,void 0,!1),this.componentType=t}setInput(t,e){const i=this._tNode.inputs;let s;if(null!==i&&(s=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const r=this._rootLView;iT(r[it],r,s,t,e),this.previousInputValues.set(t,e),G_(yo(this._tNode.index,r))}}get injector(){return new xs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function sZ(){const n=ai();E1(je()[it],n)}let Us=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=rZ}return n})();function rZ(){return aF(ai(),je())}const oZ=Us,rF=class extends oZ{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return vp(this._hostTNode,this._hostLView)}get injector(){return new xs(this._hostTNode,this._hostLView)}get parentInjector(){const t=I1(this._hostTNode,this._hostLView);if(rS(t)){const e=E_(t,this._hostLView),i=T_(t);return new xs(e[it].data[i+8],e)}return new xs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=oF(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-qi}createEmbeddedView(t,e,i){let s,r;"number"==typeof i?s=i:null!=i&&(s=i.index,r=i.injector);const o=Ep(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},r,o);return this.insertImpl(a,s,Tp(this._hostTNode,o)),a}createComponent(t,e,i,s,r){const o=t&&!function sh(n){return"function"==typeof n}(t);let a;if(o)a=e;else{const _=e||{};a=_.index,i=_.injector,s=_.projectableNodes,r=_.environmentInjector||_.ngModuleRef}const l=o?t:new ey(hn(t)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const v=(o?c:this.parentInjector).get(ys,null);v&&(r=v)}const u=hn(l.componentType??{}),d=Ep(this._lContainer,u?.id??null),p=l.create(c,s,d?.firstChild??null,r);return this.insertImpl(p.hostView,a,Tp(this._hostTNode,d)),p}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,i){const s=t._lView;if(function s9(n){return Ds(n[Wi])}(s)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=s[Wi],c=new rF(l,l[As],l[Wi]);c.detach(c.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;return U_(o,s,r,i),t.attachToViewContainerRef(),r1(bT(o),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=oF(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),i=Y_(this._lContainer,e);i&&(Jd(bT(this._lContainer),e),J1(i[it],i))}detach(t){const e=this._adjustIndex(t,-1),i=Y_(this._lContainer,e);return i&&null!=Jd(bT(this._lContainer),e)?new W_(i):null}_adjustIndex(t,e=0){return t??this.length+e}};function oF(n){return n[8]}function bT(n){return n[8]||(n[8]=[])}function aF(n,t){let e;const i=t[n.index];return Ds(i)?e=i:(e=TN(i,t,null,n),t[n.index]=e,ib(t,e)),lF(e,t,n,i),new rF(e,n,t)}let lF=function uF(n,t,e,i){if(n[Jo])return;let s;s=8&e.type?Te(i):function aZ(n,t){const e=n[Nt],i=e.createComment(""),s=At(t,n);return _h(e,Q1(e,s),i,function MK(n,t){return n.nextSibling(t)}(e,s),!1),i}(t,e),n[Jo]=s},wT=()=>!1;class CT{constructor(t){this.queryList=t,this.matches=null}clone(){return new CT(this.queryList)}setDirty(){this.queryList.setDirty()}}class MT{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,s=[];for(let r=0;r<i;r++){const o=e.getByIndex(r);s.push(this.queries[o.indexInDeclarationView].clone())}return new MT(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==ET(t,e).matches&&this.queries[e].setDirty()}}class dF{constructor(t,e,i=null){this.flags=e,this.read=i,this.predicate="string"==typeof t?function gZ(n){return n.split(",").map(t=>t.trim())}(t):t}}class DT{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){const s=null!==e?e.length:0,r=this.getByIndex(i).embeddedTView(t,s);r&&(r.indexInDeclarationView=i,null!==e?e.push(r):e=[r])}return null!==e?new DT(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xT{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new xT(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let s=0;s<i.length;s++){const r=i[s];this.matchTNodeWithReadOption(t,e,dZ(e,r)),this.matchTNodeWithReadOption(t,e,A1(e,t,r,!1,!1))}else i===Ti?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,A1(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===gn||s===Us||s===Ti&&4&e.type)this.addMatch(e.index,-2);else{const r=A1(e,t,s,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function dZ(n,t){const e=n.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1];return null}function fZ(n,t,e,i){return-1===e?function hZ(n,t){return 11&n.type?vp(n,t):4&n.type?ob(n,t):null}(t,n):-2===e?function pZ(n,t,e){return e===gn?vp(t,n):e===Ti?ob(t,n):e===Us?aF(t,n):void 0}(n,t,i):ph(n,n[it],e,t)}function hF(n,t,e,i){const s=t[Xe].queries[i];if(null===s.matches){const r=n.data,o=e.matches,a=[];for(let l=0;null!==o&&l<o.length;l+=2){const c=o[l];a.push(c<0?null:fZ(t,r[c],o[l+1],e.metadata.read))}s.matches=a}return s.matches}function ST(n,t,e,i){const s=n.queries.getByIndex(e),r=s.matches;if(null!==r){const o=hF(n,t,s,e);for(let a=0;a<r.length;a+=2){const l=r[a];if(l>0)i.push(o[a/2]);else{const c=r[a+1],u=t[-l];for(let d=qi;d<u.length;d++){const h=u[d];h[ah]===h[Wi]&&ST(h[it],h,c,i)}if(null!==u[Eu]){const d=u[Eu];for(let h=0;h<d.length;h++){const p=d[h];ST(p[it],p,c,i)}}}}}return i}function fF(n,t,e){const i=new fS(!(4&~e));return function AK(n,t,e,i){const s=kN(t);s.push(e),n.firstCreatePass&&ON(n).push(i,s.length-1)}(n,t,i,i.destroy),(t[Xe]??=new MT).queries.push(new CT(i))-1}function mF(n,t,e){null===n.queries&&(n.queries=new DT),n.queries.track(new xT(t,e))}function ET(n,t){return n.queries.getByIndex(t)}function _F(n,t){const e=n[it],i=ET(e,t);return i.crossesNgTemplate?ST(e,n,t,[]):hF(e,n,i,t)}function Yu(n,t){bl("NgSignals");const e=function X(n){const t=Object.create(at);t.value=n;const e=()=>(me(t),t.value);return e[E]=t,e}(n),i=e[E];return t?.equal&&(i.equal=t.equal),e.set=s=>$e(i,s),e.update=s=>function yt(n,t){$()||ge(),$e(n,t(n.value))}(i,s),e.asReadonly=vF.bind(e),e}function vF(){const n=this[E];if(void 0===n.readonlyFn){const t=()=>this();t[E]=n,n.readonlyFn=t}return n.readonlyFn}function bF(n){return function yF(n){return"function"==typeof n&&void 0!==n[E]}(n)&&"function"==typeof n.set}function Ue(n){let t=function LF(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let s;if(mo(n))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Oe(903,!1);s=t.\u0275dir}if(s){if(e){i.push(s);const o=n;o.inputs=mb(n.inputs),o.inputTransforms=mb(n.inputTransforms),o.declaredInputs=mb(n.declaredInputs),o.outputs=mb(n.outputs);const a=s.hostBindings;a&&OZ(n,a);const l=s.viewQuery,c=s.contentQueries;if(l&&EZ(n,l),c&&kZ(n,c),SZ(n,s),pu(n.outputs,s.outputs),mo(s)&&s.data.animation){const u=n.data;u.animation=(u.animation||[]).concat(s.data.animation)}}const r=s.features;if(r)for(let o=0;o<r.length;o++){const a=r[o];a&&a.ngInherit&&a(n),a===Ue&&(e=!1)}}t=Object.getPrototypeOf(t)}!function TZ(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){const s=n[i];s.hostVars=t+=s.hostVars,s.hostAttrs=th(s.hostAttrs,e=th(e,s.hostAttrs))}}(i)}function SZ(n,t){for(const e in t.inputs){if(!t.inputs.hasOwnProperty(e)||n.inputs.hasOwnProperty(e))continue;const i=t.inputs[e];if(void 0!==i&&(n.inputs[e]=i,n.declaredInputs[e]=t.declaredInputs[e],null!==t.inputTransforms)){const s=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(s))continue;n.inputTransforms??={},n.inputTransforms[s]=t.inputTransforms[s]}}}function mb(n){return n===Ko?{}:n===In?[]:n}function EZ(n,t){const e=n.viewQuery;n.viewQuery=e?(i,s)=>{t(i,s),e(i,s)}:t}function kZ(n,t){const e=n.contentQueries;n.contentQueries=e?(i,s,r)=>{t(i,s,r),e(i,s,r)}:t}function OZ(n,t){const e=n.hostBindings;n.hostBindings=e?(i,s)=>{t(i,s),e(i,s)}:t}function OT(n){const t=e=>{const i=(Array.isArray(n)?n:n()).map(s=>"function"==typeof s?{directive:mt(s),inputs:Ko,outputs:Ko}:{directive:mt(s.directive),inputs:IF(s.inputs),outputs:IF(s.outputs)});null===e.hostDirectives?(e.findHostDirectiveDefs=PF,e.hostDirectives=i):e.hostDirectives.unshift(...i)};return t.ngInherit=!0,t}function PF(n,t,e){if(null!==n.hostDirectives)for(const i of n.hostDirectives){const s=os(i.directive);AZ(s.declaredInputs,i.inputs),PF(s,t,e),e.set(s,i),t.push(s)}}function IF(n){if(void 0===n||0===n.length)return Ko;const t={};for(let e=0;e<n.length;e+=2)t[n[e]]=n[e+1];return t}function AZ(n,t){for(const e in t)t.hasOwnProperty(e)&&(n[t[e]]=n[e])}function RF(n){const t=n.inputConfig,e={};for(const i in t)if(t.hasOwnProperty(i)){const s=t[i];Array.isArray(s)&&s[3]&&(e[i]=s[3])}n.inputTransforms=e}class vh{}class NF{}class LT extends vh{constructor(t,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new iF(this);const s=Is(t);this._bootstrapComponents=vo(s.bootstrap),this._r3Injector=QA(t,e,[{provide:vh,useValue:this},{provide:kp,useValue:this.componentFactoryResolver},...i],Ri(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class PT extends NF{constructor(t){super(),this.moduleType=t}create(t){return new LT(this.moduleType,t,[])}}class FF extends vh{constructor(t){super(),this.componentFactoryResolver=new iF(this),this.instance=null;const e=new Mu([...t.providers,{provide:vh,useValue:this},{provide:kp,useValue:this.componentFactoryResolver}],t.parent||nh(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function _b(n,t,e=null){return new FF({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}let ju=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Gt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function vb(n){return!!IT(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function IT(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function wl(n,t,e){return n[t]=e}function cs(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function bh(n,t,e,i){const s=cs(n,t,e);return cs(n,t+1,i)||s}function re(n,t,e,i,s,r,o,a){const l=je(),c=xn(),u=n+Bt,d=c.firstCreatePass?function VZ(n,t,e,i,s,r,o,a,l){const c=t.consts,u=Sp(t,n,4,o||null,gl(c,a));QS(t,e,u,gl(c,l)),E1(t,u);const d=u.tView=JS(2,u,i,s,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,e,i,s,r,o):c.data[u];ml(d,!1);const h=YF(c,l,d,n);x_()&&eb(c,l,h,d),nr(h,l);const p=TN(h,l,h,d);return l[u]=p,ib(l,p),function cF(n,t,e){return wT(n,t,e)}(p,d,l),dh(d)&&XS(c,l,d),null!=o&&ZS(l,d,a),re}let YF=function jF(n,t,e,i){return _l(!0),t[Nt].createComment("")};function Kn(n,t,e,i){const s=je();return cs(s,Sa(),t)&&(xn(),function vl(n,t,e,i,s,r){const o=At(n,t);tT(t[Nt],o,r,n.value,e,i,s)}(Si(),s,n,t,e,i)),Kn}function Yp(n,t,e,i){return cs(n,Sa(),e)?t+jt(e)+i:Jt}function jp(n,t,e,i,s,r){const a=bh(n,gc(),e,s);return mc(2),a?t+jt(e)+i+jt(s)+r:Jt}function Sb(n,t){return n<<17|t<<2}function Hu(n){return n>>17&32767}function UT(n){return 2|n}function Ch(n){return(131068&n)>>2}function zT(n,t){return-131069&n|t<<2}function GT(n){return 1|n}function m3(n,t,e,i){const s=n[e+1],r=null===t;let o=i?Hu(s):Ch(s),a=!1;for(;0!==o&&(!1===a||r);){const c=n[o+1];EJ(n[o],t)&&(a=!0,n[o+1]=i?GT(c):UT(c)),o=i?Hu(c):Ch(c)}a&&(n[e+1]=i?UT(s):GT(s))}function EJ(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&vu(n,t)>=0}const Ss={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _3(n){return n.substring(Ss.key,Ss.keyEnd)}function y3(n,t){const e=Ss.textEnd;return e===t?-1:(t=Ss.keyEnd=function PJ(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}(n,Ss.key=t,e),Wp(n,t,e))}function Wp(n,t,e){for(;t<e&&n.charCodeAt(t)<=32;)t++;return t}function R(n,t,e){const i=je();return cs(i,Sa(),t)&&Ur(xn(),Si(),i,n,t,i[Nt],e,!1),R}function WT(n,t,e,i,s){const o=s?"class":"style";iT(n,e,t.inputs[o],o,i)}function $p(n,t,e){return ka(n,t,e,!1),$p}function wn(n,t){return ka(n,t,null,!0),wn}function qp(n){Oa(HJ,Ml,n,!0)}function Ml(n,t){for(let e=function OJ(n){return function b3(n){Ss.key=0,Ss.keyEnd=0,Ss.value=0,Ss.valueEnd=0,Ss.textEnd=n.length}(n),y3(n,Wp(n,0,Ss.textEnd))}(t);e>=0;e=y3(t,e))Qs(n,_3(t),!0)}function ka(n,t,e,i){const s=je(),r=xn(),o=mc(2);r.firstUpdatePass&&D3(r,n,o,i),t!==Jt&&cs(s,o,t)&&S3(r,r.data[tr()],s,s[Nt],n,s[o+1]=function UJ(n,t){return null==n||""===n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Ri(Au(n)))),n}(t,e),i,o)}function Oa(n,t,e,i){const s=xn(),r=mc(2);s.firstUpdatePass&&D3(s,null,r,i);const o=je();if(e!==Jt&&cs(o,r,e)){const a=s.data[tr()];if(E3(a,i)&&!M3(s,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Xf(l,e||"")),WT(s,a,o,e,i)}else!function VJ(n,t,e,i,s,r,o,a){s===Jt&&(s=In);let l=0,c=0,u=0<s.length?s[0]:null,d=0<r.length?r[0]:null;for(;null!==u||null!==d;){const h=l<s.length?s[l+1]:void 0,p=c<r.length?r[c+1]:void 0;let v,_=null;u===d?(l+=2,c+=2,h!==p&&(_=d,v=p)):null===d||null!==u&&u<d?(l+=2,_=u):(c+=2,_=d,v=p),null!==_&&S3(n,t,e,i,_,v,o,a),u=l<s.length?s[l]:null,d=c<r.length?r[c]:null}}(s,a,o,o[Nt],o[r+1],o[r+1]=function BJ(n,t,e){if(null==e||""===e)return In;const i=[],s=Au(e);if(Array.isArray(s))for(let r=0;r<s.length;r++)n(i,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&n(i,r,s[r]);else"string"==typeof s&&t(i,s);return i}(n,t,e),i,r)}}function M3(n,t){return t>=n.expandoStartIndex}function D3(n,t,e,i){const s=n.data;if(null===s[e+1]){const r=s[tr()],o=M3(n,e);E3(r,i)&&null===t&&!o&&(t=!1),t=function NJ(n,t,e,i){const s=function Qx(n){const t=Ht.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let r=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(e=ay(e=$T(null,n,t,e,i),t.attrs,i),r=null);else{const o=t.directiveStylingLast;if(-1===o||n[o]!==s)if(e=$T(s,n,t,e,i),null===r){let l=function FJ(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Ch(i))return n[Hu(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=$T(null,n,t,l[1],i),l=ay(l,t.attrs,i),function YJ(n,t,e,i){n[Hu(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else r=function jJ(n,t,e){let i;const s=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<s;r++)i=ay(i,n[r].hostAttrs,e);return ay(i,t.attrs,e)}(n,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),e}(s,r,t,i),function SJ(n,t,e,i,s,r){let o=r?t.classBindings:t.styleBindings,a=Hu(o),l=Ch(o);n[i]=e;let u,c=!1;if(Array.isArray(e)?(u=e[1],(null===u||vu(e,u)>0)&&(c=!0)):u=e,s)if(0!==l){const h=Hu(n[a+1]);n[i+1]=Sb(h,a),0!==h&&(n[h+1]=zT(n[h+1],i)),n[a+1]=function DJ(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=Sb(a,0),0!==a&&(n[a+1]=zT(n[a+1],i)),a=i;else n[i+1]=Sb(l,0),0===a?a=i:n[l+1]=zT(n[l+1],i),l=i;c&&(n[i+1]=UT(n[i+1])),m3(n,u,i,!0),m3(n,u,i,!1),function TJ(n,t,e,i,s){const r=s?n.residualClasses:n.residualStyles;null!=r&&"string"==typeof t&&vu(r,t)>=0&&(e[i+1]=GT(e[i+1]))}(t,u,n,i,r),o=Sb(a,l),r?t.classBindings=o:t.styleBindings=o}(s,r,t,e,o,i)}}function $T(n,t,e,i,s){let r=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<o&&(r=t[a],i=ay(i,r.hostAttrs,s),r!==n);)a++;return null!==n&&(e.directiveStylingLast=a),i}function ay(n,t,e){const i=e?1:2;let s=-1;if(null!==t)for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?s=o:s===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),Qs(n,o,!!e||t[++r]))}return void 0===n?null:n}function HJ(n,t,e){const i=String(t);""!==i&&!i.includes(" ")&&Qs(n,i,e)}function S3(n,t,e,i,s,r,o,a){if(!(3&t.type))return;const l=n.data,c=l[a+1],u=function xJ(n){return!(1&~n)}(c)?T3(l,t,e,s,Ch(c),o):void 0;Tb(u)||(Tb(r)||function MJ(n){return!(2&~n)}(c)&&(r=T3(l,null,e,s,a,o)),function SK(n,t,e,i,s){if(t)s?n.addClass(e,i):n.removeClass(e,i);else{let r=-1===i.indexOf("-")?void 0:Ru.DashCase;null==s?n.removeStyle(e,i,r):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),r|=Ru.Important),n.setStyle(e,i,s,r))}}(i,o,It(tr(),e),s,r))}function T3(n,t,e,i,s,r){const o=null===t;let a;for(;s>0;){const l=n[s],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[s+1];h===Jt&&(h=d?In:void 0);let p=d?o_(h,i):u===i?h:void 0;if(c&&!Tb(p)&&(p=o_(l,i)),Tb(p)&&(a=p,o))return a;const _=n[s+1];s=o?Hu(_):Ch(_)}if(null!==t){let l=r?t.residualClasses:t.residualStyles;null!=l&&(a=o_(l,i))}return a}function Tb(n){return void 0!==n}function E3(n,t){return!!(n.flags&(t?8:16))}function qT(n,t,e){Oa(Qs,Ml,Yp(je(),n,t,e),!0)}class QJ{destroy(t){}updateValue(t,e){}swap(t,e){const i=Math.min(t,e),s=Math.max(t,e),r=this.detach(s);if(s-i>1){const o=this.detach(i);this.attach(i,r),this.attach(s,o)}else this.attach(i,r)}move(t,e){this.attach(e,this.detach(t))}}function KT(n,t,e,i,s){return n===e&&Object.is(t,i)?1:Object.is(s(n,t),s(e,i))?-1:0}function XT(n,t,e,i){return!(void 0===t||!t.has(i)||(n.attach(e,t.get(i)),t.delete(i),0))}function k3(n,t,e,i,s){if(XT(n,t,i,e(i,s)))n.updateValue(i,s);else{const r=n.create(i,s);n.attach(i,r)}}function O3(n,t,e,i){const s=new Set;for(let r=t;r<=e;r++)s.add(i(r,n.at(r)));return s}class L3{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const e=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const s=this._vMap;for(;s.has(i);)i=s.get(i);s.set(i,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,i]of this.kvMap)if(t(i,e),void 0!==this._vMap){const s=this._vMap;for(;s.has(i);)i=s.get(i),t(i,e)}}}function Xn(n,t,e){bl("NgControlFlow");const i=je(),s=Sa(),r=ZT(i,Bt+n);if(cs(i,s,t)){const a=A(null);try{if(rT(r,0),-1!==t){const l=JT(i[it],Bt+t),c=Ep(r,l.tView.ssrId);U_(r,V_(i,l,e,{dehydratedView:c}),0,Tp(l,c))}}finally{A(a)}}else{const a=PN(r,0);void 0!==a&&(a[fi]=e)}}class tQ{constructor(t,e,i){this.lContainer=t,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-qi}}function wo(n,t){return t}class iQ{constructor(t,e,i){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=i}}function Co(n,t,e,i,s,r,o,a,l,c,u,d,h){bl("NgControlFlow");const p=void 0!==l,_=je(),v=a?o.bind(_[Ni][fi]):o,x=new iQ(p,v);_[Bt+n]=x,re(n+1,t,e,i,s,r),p&&re(n+2,l,c,u,d,h)}class sQ extends QJ{constructor(t,e,i){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-qi}at(t){return this.getLView(t)[fi].$implicit}attach(t,e){const i=e[er];this.needsIndexUpdate||=t!==this.length,U_(this.lContainer,e,t,Tp(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function rQ(n,t){return Y_(n,t)}(this.lContainer,t)}create(t,e){const i=Ep(this.lContainer,this.templateTNode.tView.ssrId);return V_(this.hostLView,this.templateTNode,new tQ(this.lContainer,e,t),{dehydratedView:i})}destroy(t){J1(t[it],t)}updateValue(t,e){this.getLView(t)[fi].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[fi].$index=t}getLView(t){return function oQ(n,t){return PN(n,t)}(this.lContainer,t)}}function Mo(n){const t=A(null),e=tr();try{const i=je(),s=i[it],r=i[e];if(void 0===r.liveCollection){const a=e+1,l=ZT(i,a),c=JT(s,a);r.liveCollection=new sQ(l,i,c)}else r.liveCollection.reset();const o=r.liveCollection;if(function eQ(n,t,e){let i,s,r=0,o=n.length-1;if(Array.isArray(t)){let a=t.length-1;for(;r<=o&&r<=a;){const l=n.at(r),c=t[r],u=KT(r,l,r,c,e);if(0!==u){u<0&&n.updateValue(r,c),r++;continue}const d=n.at(o),h=t[a],p=KT(o,d,a,h,e);if(0!==p){p<0&&n.updateValue(o,h),o--,a--;continue}const _=e(r,l),v=e(o,d),x=e(r,c);if(Object.is(x,v)){const k=e(a,h);Object.is(k,_)?(n.swap(r,o),n.updateValue(o,h),a--,o--):n.move(o,r),n.updateValue(r,c),r++}else if(i??=new L3,s??=O3(n,r,o,e),XT(n,i,r,x))n.updateValue(r,c),r++,o++;else if(s.has(x))i.set(_,n.detach(r)),o--;else{const k=n.create(r,t[r]);n.attach(r,k),r++,o++}}for(;r<=a;)k3(n,i,e,r,t[r]),r++}else if(null!=t){const a=t[Symbol.iterator]();let l=a.next();for(;!l.done&&r<=o;){const c=n.at(r),u=l.value,d=KT(r,c,r,u,e);if(0!==d)d<0&&n.updateValue(r,u),r++,l=a.next();else{i??=new L3,s??=O3(n,r,o,e);const h=e(r,u);if(XT(n,i,r,h))n.updateValue(r,u),r++,o++,l=a.next();else if(s.has(h)){const p=e(r,c);i.set(p,n.detach(r)),o--}else n.attach(r,n.create(r,u)),r++,o++,l=a.next()}}for(;!l.done;)k3(n,i,e,n.length,l.value),l=a.next()}for(;r<=o;)n.destroy(n.detach(o--));i?.forEach(a=>{n.destroy(a)})}(o,n,r.trackByFn),o.updateIndexes(),r.hasEmptyBlock){const a=Sa(),l=0===o.length;if(cs(i,a,l)){const c=e+2,u=ZT(i,c);if(l){const d=JT(s,c),h=Ep(u,d.tView.ssrId);U_(u,V_(i,d,void 0,{dehydratedView:h}),0,Tp(d,h))}else rT(u,0)}}}finally{A(t)}}function ZT(n,t){return n[t]}function JT(n,t){return vr(n,t)}function D(n,t,e,i){const s=je(),r=xn(),o=Bt+n,a=s[Nt],l=r.firstCreatePass?function aQ(n,t,e,i,s,r){const o=t.consts,l=Sp(t,n,2,i,gl(o,s));return QS(t,e,l,gl(o,r)),null!==l.attrs&&fb(l,l.attrs,!1),null!==l.mergedAttrs&&fb(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,r,s,t,e,i):r.data[o],c=P3(r,s,l,a,t,n);s[o]=c;const u=dh(l);return ml(l,!0),_N(a,c,l),!function iy(n){return!(32&~n.flags)}(l)&&x_()&&eb(r,s,c,l),0===function o9(){return Ht.lFrame.elementDepthCount}()&&nr(c,s),function a9(){Ht.lFrame.elementDepthCount++}(),u&&(XS(r,s,l),KS(r,l,s)),null!==i&&ZS(s,l),D}function M(){let n=ai();Xx()?Zx():(n=n.parent,ml(n,!1));const t=n;(function c9(n){return Ht.skipHydrationRootTNode===n})(t)&&function f9(){Ht.skipHydrationRootTNode=null}(),function l9(){Ht.lFrame.elementDepthCount--}();const e=xn();return e.firstCreatePass&&(E1(e,n),v_(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function E9(n){return!!(8&n.flags)}(t)&&WT(e,t,je(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function k9(n){return!!(16&n.flags)}(t)&&WT(e,t,je(),t.stylesWithoutHost,!1),M}function ee(n,t,e,i){return D(n,t,e,i),M(),ee}let P3=(n,t,e,i,s,r)=>(_l(!0),Z1(i,s,function AA(){return Ht.lFrame.currentNamespace}()));function mn(n,t,e){const i=je(),s=xn(),r=n+Bt,o=s.firstCreatePass?function uQ(n,t,e,i,s){const r=t.consts,o=gl(r,i),a=Sp(t,n,8,"ng-container",o);return null!==o&&fb(a,o,!0),QS(t,e,a,gl(r,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(r,s,i,t,e):s.data[r];ml(o,!0);const a=I3(s,i,o,n);return i[r]=a,x_()&&eb(s,i,a,o),nr(a,i),dh(o)&&(XS(s,i,o),KS(s,o,i)),null!=e&&ZS(i,o),mn}function _n(){let n=ai();const t=xn();return Xx()?Zx():(n=n.parent,ml(n,!1)),t.firstCreatePass&&(E1(t,n),v_(n)&&t.queries.elementEnd(n)),_n}function Eb(n,t,e){return mn(n,t,e),_n(),Eb}let I3=(n,t,e,i)=>(_l(!0),HS(t[Nt],""));function tt(){return je()}function Do(n,t,e){const i=je();return cs(i,Sa(),t)&&Ur(xn(),Si(),i,n,t,i[Nt],e,!0),Do}const Mh=void 0;var pQ=["en",[["a","p"],["AM","PM"],Mh],[["AM","PM"],Mh,Mh],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Mh,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Mh,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Mh,"{1} 'at' {0}",Mh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function fQ(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Kp={};function Cr(n){const t=function mQ(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=N3(t);if(e)return e;const i=t.split("-")[0];if(e=N3(i),e)return e;if("en"===i)return pQ;throw new Oe(701,!1)}function N3(n){return n in Kp||(Kp[n]=zn.ng&&zn.ng.common&&zn.ng.common.locales&&zn.ng.common.locales[n]),Kp[n]}var Ei=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData",n}(Ei||{});const _Q=["zero","one","two","few","many"],Xp="en-US",kb={marker:"element"},Ob={marker:"ICU"};var zr=function(n){return n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT",n}(zr||{});let F3=Xp;function j3(n,t,e){const i=t.insertBeforeIndex,s=Array.isArray(i)?i[0]:i;return null===s?uN(n,0,e):Te(e[s])}function B3(n,t,e,i,s){const r=t.insertBeforeIndex;if(Array.isArray(r)){let o=i,a=null;if(3&t.type||(a=o,o=s),null!==o&&-1===t.componentOffset)for(let l=1;l<r.length;l++)_h(n,o,e[r[l]],a,!1)}}function H3(n,t){if(n.push(t),n.length>1)for(let e=n.length-2;e>=0;e--){const i=n[e];V3(i)||wQ(i,t)&&null===CQ(i)&&MQ(i,t.index)}}function V3(n){return!(64&n.type)}function wQ(n,t){return V3(t)||n.index>t.index}function CQ(n){const t=n.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function MQ(n,t){const e=n.insertBeforeIndex;Array.isArray(e)?e[0]=t:(hN(j3,B3),n.insertBeforeIndex=t)}function ly(n,t){const e=n.data[t];return null===e||"string"==typeof e?null:e.hasOwnProperty("currentCaseLViewIndex")?e:e.value}function SQ(n,t,e){const i=qS(n,e,64,null,null);return H3(t,i),i}function Lb(n,t){const e=t[n.currentCaseLViewIndex];return null===e?e:e<0?~e:e}function U3(n){return n>>>17}function z3(n){return(131070&n)>>>1}let cy=0,uy=0;let dy=(n,t,e,i)=>(_l(!0),function W3(n,t,e){const i=n[Nt];switch(e){case Node.COMMENT_NODE:return HS(i,t);case Node.TEXT_NODE:return BS(i,t);case Node.ELEMENT_NODE:return Z1(i,t,null)}}(n,e,i));function $3(n,t,e,i){const s=e[Nt];let o,r=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const c=t[++a];null===e[c]&&(e[c]=dy(e,c,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:const c=U3(l);let u,d;if(null===r&&(r=c,o=Q1(s,i)),c===r?(u=i,d=o):(u=null,d=Te(e[c])),null!==d){const v=z3(l);_h(s,d,e[v],u,!1);const k=ly(n,v);if(null!==k&&"object"==typeof k){const P=Lb(k,e);null!==P&&$3(n,k.create[P],e,e[k.anchorIdx])}}break;case 1:const p=t[++a],_=t[++a];tT(s,It(l>>>1,e),null,null,p,_,null)}else switch(l){case Ob:const c=t[++a],u=t[++a];null===e[u]&&nr(e[u]=dy(e,u,c,Node.COMMENT_NODE),e);break;case kb:const d=t[++a],h=t[++a];null===e[h]&&nr(e[h]=dy(e,h,d,Node.ELEMENT_NODE),e)}}}function q3(n,t,e,i,s){for(let r=0;r<e.length;r++){const o=e[r],a=e[++r];if(o&s){let l="";for(let c=r+1;c<=r+a;c++){const u=e[c];if("string"==typeof u)l+=u;else if("number"==typeof u)if(u<0)l+=jt(t[i-u]);else{const d=u>>>2;switch(3&u){case 1:const h=e[++c],p=e[++c],_=n.data[d];"string"==typeof _?tT(t[Nt],t[d],null,_,h,l,p):Ur(n,_,t,h,l,t[Nt],p,!1);break;case 0:const v=t[d];null!==v&&iN(t[Nt],v,l);break;case 2:IQ(n,ly(n,d),t,l);break;case 3:K3(n,ly(n,d),i,t)}}}}else{const l=e[r+1];if(l>0&&!(3&~l)){const u=ly(n,l>>>2);t[u.currentCaseLViewIndex]<0&&K3(n,u,i,t)}}r+=a}}function K3(n,t,e,i){let s=i[t.currentCaseLViewIndex];if(null!==s){let r=cy;s<0&&(s=i[t.currentCaseLViewIndex]=~s,r=-1),q3(n,i,t.update[s],e,r)}}function IQ(n,t,e,i){const s=function AQ(n,t){let e=n.cases.indexOf(t);if(-1===e)switch(n.type){case 1:{const i=function yQ(n,t){const e=function R3(n){return Cr(n)[Ei.PluralCase]}(t)(parseInt(n,10)),i=_Q[e];return void 0!==i?i:"other"}(t,function bQ(){return F3}());e=n.cases.indexOf(i),-1===e&&"other"!==i&&(e=n.cases.indexOf("other"));break}case 0:e=n.cases.indexOf("other")}return-1===e?null:e}(t,i);if(Lb(t,e)!==s&&(X3(n,t,e),e[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const o=e[t.anchorIdx];o&&$3(n,t.create[s],e,o)}}function X3(n,t,e){let i=Lb(t,e);if(null!==i){const s=t.remove[i];for(let r=0;r<s.length;r++){const o=s[r];if(o>0){const a=It(o,e);null!==a&&B_(e[Nt],a)}else X3(n,ly(n,~o),e)}}}function RQ(){const n=[];let e,i,t=-1;function r(a,l){t=0;const c=Lb(a,l);i=null!==c?a.remove[c]:In}function o(){if(t<i.length){const a=i[t++];return a>0?e[a]:(n.push(t,i),r(e[it].data[~a],e),o())}return 0===n.length?null:(i=n.pop(),t=n.pop(),o())}return function s(a,l){for(e=l;n.length;)n.pop();return r(a.value,l),o}}const Pb=/\ufffd(\d+):?\d*\ufffd/gi,FQ=/\ufffd(\d+)\ufffd/,J3=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,hy="\ufffd",YQ=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,jQ=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,BQ=/\uE500/g;function Q3(n,t,e,i,s,r,o){const a=H_(n,i,1,null);let l=a<<zr.SHIFT,c=D_();t===c&&(c=null),null===c&&(l|=zr.APPEND_EAGERLY),o&&(l|=zr.COMMENT,function pK(n){void 0===YS&&(YS=n())}(RQ)),s.push(l,null===r?"":r);const u=qS(n,a,o?32:1,null===r?"":r,null);H3(e,u);const d=u.index;return ml(u,!1),null!==c&&t!==c&&function xQ(n,t){let e=n.insertBeforeIndex;null===e?(hN(j3,B3),e=n.insertBeforeIndex=[null,t]):(cl(Array.isArray(e),!0,"Expecting array here"),e.push(t))}(c,d),u}function UQ(n,t,e,i,s,r,o,a){const l=a.match(Pb),u=Q3(t,e,i,o,s,l?null:a,!1).index;l&&fy(r,a,u,null,0,null),n.push({kind:0,index:u})}function fy(n,t,e,i,s,r){const o=n.length,a=o+1;n.push(null,null);const l=o+2,c=t.split(Pb);let u=0;for(let d=0;d<c.length;d++){const h=c[d];if(1&d){const p=s+parseInt(h,10);n.push(-1-p),u|=e5(p)}else""!==h&&n.push(h)}return n.push(e<<2|(i?1:0)),i&&n.push(i,r),n[o]=u,n[a]=n.length-l,u}function e5(n){return 1<<Math.min(n,31)}function t5(n){let t,r,e="",i=0,s=!1;for(;null!==(t=YQ.exec(n));)s?t[0]===`${hy}/*${r}${hy}`&&(i=t.index,s=!1):(e+=n.substring(i,t.index+t[0].length),r=t[1],s=!0);return e+=n.slice(i),e}function n5(n,t,e,i,s,r,o){let a=0;const l={type:r.type,currentCaseLViewIndex:H_(t,e,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};(function ZQ(n,t,e){n.push(e5(t.mainBinding),2,-1-t.mainBinding,e<<2|2)})(i,r,o),function DQ(n,t,e){const i=n.data[t];null===i?n.data[t]=e:i.value=e}(t,o,l);const c=r.values,u=[];for(let d=0;d<c.length;d++){const h=c[d],p=[];for(let v=0;v<h.length;v++){const x=h[v];if("string"!=typeof x){const k=p.push(x)-1;h[v]=`\x3c!--\ufffd${k}\ufffd--\x3e`}}const _=[];u.push(_),a=KQ(_,t,l,e,i,s,r.cases[d],h.join(""),p)|a}a&&function JQ(n,t,e){n.push(t,1,e<<2|3)}(i,a,o),n.push({kind:3,index:o,cases:u,currentCaseLViewIndex:l.currentCaseLViewIndex})}function qQ(n){const t=[],e=[];let i=1,s=0;const r=QT(n=n.replace(J3,function(o,a,l){return i="select"===l?0:1,s=parseInt(a.slice(1),10),""}));for(let o=0;o<r.length;){let a=r[o++].trim();1===i&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);const l=QT(r[o++]);t.length>e.length&&e.push(l)}return{type:i,mainBinding:s,cases:t,values:e}}function QT(n){if(!n)return[];let t=0;const e=[],i=[],s=/[{}]/g;let r;for(s.lastIndex=0;r=s.exec(n);){const a=r.index;if("}"==r[0]){if(e.pop(),0==e.length){const l=n.substring(t,a);J3.test(l)?i.push(qQ(l)):i.push(l),t=a+1}}else{if(0==e.length){const l=n.substring(t,a);i.push(l),t=a+1}e.push("{")}}const o=n.substring(t);return i.push(o),i}function KQ(n,t,e,i,s,r,o,a,l){const c=[],u=[],d=[];e.cases.push(o),e.create.push(c),e.remove.push(u),e.update.push(d);const p=jR(Iu()).getInertBodyElement(a),_=AS(p)||p;return _?i5(n,t,e,i,s,c,u,d,_,r,l,0):0}function i5(n,t,e,i,s,r,o,a,l,c,u,d){let h=0,p=l.firstChild;for(;p;){const _=H_(t,i,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const v=p,x=v.tagName.toLowerCase();if(PS.hasOwnProperty(x)){eE(r,kb,x,c,_),t.data[_]=x;const z=v.attributes;for(let Z=0;Z<z.length;Z++){const oe=z.item(Z),ce=oe.name.toLowerCase();oe.value.match(Pb)?UR.hasOwnProperty(ce)&&fy(a,oe.value,_,oe.name,0,IS[ce]?LS:null):QQ(r,_,oe)}const G={kind:1,index:_,children:[]};n.push(G),h=i5(G.children,t,e,i,s,r,o,a,p,_,u,d+1)|h,s5(o,_,d)}break;case Node.TEXT_NODE:const k=p.textContent||"",P=k.match(Pb);eE(r,null,P?"":k,c,_),s5(o,_,d),P&&(h=fy(a,k,_,null,0,null)|h),n.push({kind:0,index:_});break;case Node.COMMENT_NODE:const j=FQ.exec(p.textContent||"");if(j){const G=u[parseInt(j[1],10)];eE(r,Ob,"",c,_),n5(n,t,i,s,c,G,_),XQ(o,_,d)}}p=p.nextSibling}return h}function s5(n,t,e){0===e&&n.push(t)}function XQ(n,t,e){0===e&&(n.push(~t),n.push(t))}function eE(n,t,e,i,s){null!==t&&n.push(t),n.push(e,s,function TQ(n,t,e){return n|t<<17|e<<1}(0,i,s))}function QQ(n,t,e){n.push(t<<1|1,e.name,e.value)}function o5(n,t,e=-1){const i=xn(),s=je(),r=Bt+n,o=gl(i.consts,t),a=D_();i.firstCreatePass&&function VQ(n,t,e,i,s,r){const o=D_(),a=[],l=[],c=[[]],u=[[]];s=function $Q(n,t){if(function WQ(n){return-1===n}(t))return t5(n);{const e=n.indexOf(`:${t}${hy}`)+2+t.toString().length,i=n.search(new RegExp(`${hy}\\/\\*\\d+:${t}${hy}`));return t5(n.substring(e,i))}}(s,r);const d=function HQ(n){return n.replace(BQ," ")}(s).split(jQ);for(let h=0;h<d.length;h++){let p=d[h];if(1&h){const _=47===p.charCodeAt(0),v=p.charCodeAt(_?1:0),x=Bt+Number.parseInt(p.substring(_?2:1));if(_)c.shift(),u.shift(),ml(D_(),!1);else{const k=SQ(n,c[0],x);c.unshift([]),ml(k,!0);const P={kind:2,index:x,children:[],type:35===v?0:1};u[0].push(P),u.unshift(P.children)}}else{const _=QT(p);for(let v=0;v<_.length;v++){let x=_[v];if(1&v){const k=x;if("object"!=typeof k)throw new Error(`Unable to parse ICU expression in "${s}" message.`);const j=Q3(n,o,c[0],e,a,"",!0).index;n5(u[0],n,e,l,t,k,j)}else""!==x&&UQ(u[0],n,o,c[0],a,l,e,x)}}}n.data[i]={create:a,update:l,ast:u[0]}}(i,null===a?0:a.index,s,r,o,e),2===i.type?s[Ni][St]|=32:s[St]|=32;const l=i.data[r],u=oN(i,a===s[As]?null:a,s);(function PQ(n,t,e,i){const s=n[Nt];for(let r=0;r<t.length;r++){const o=t[r++],c=(o&zr.APPEND_EAGERLY)===zr.APPEND_EAGERLY,u=o>>>zr.SHIFT;let d=n[u],h=!1;null===d&&(d=n[u]=dy(n,u,t[r],(o&zr.COMMENT)===zr.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),h=x_()),c&&null!==e&&h&&_h(s,e,d,i,!1)}})(s,l.create,u,a&&8&a.type?s[a.index]:null),EA(!0)}function Vu(n,t,e){o5(n,t,e),function a5(){EA(!1)}()}function tE(n){return function EQ(n){n&&(cy|=1<<Math.min(uy,31)),uy++}(cs(je(),Sa(),n)),tE}function Le(n,t,e,i){const s=je(),r=xn(),o=ai();return nE(r,s,s[Nt],o,n,t,i),Le}function nE(n,t,e,i,s,r,o){const a=dh(i),c=n.firstCreatePass&&ON(n),u=t[fi],d=kN(t);let h=!0;if(3&i.type||o){const v=At(i,t),x=o?o(v):v,k=d.length,P=o?z=>o(Te(z[i.index])):i.index;let j=null;if(!o&&a&&(j=function uee(n,t,e,i){const s=n.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const o=s[r];if(o===e&&s[r+1]===i){const a=t[Su],l=s[r+2];return a.length>l?a[l]:null}"string"==typeof o&&(r+=2)}return null}(n,t,s,i.index)),null!==j)(j.__ngLastListenerFn__||j).__ngNextListenerFn__=r,j.__ngLastListenerFn__=r,h=!1;else{r=d5(i,t,u,r,!1);const z=e.listen(x,s,r);d.push(r,z),c&&c.push(s,P,k,k+1)}}else r=d5(i,t,u,r,!1);const p=i.outputs;let _;if(h&&null!==p&&(_=p[s])){const v=_.length;if(v)for(let x=0;x<v;x+=2){const G=t[_[x]][_[x+1]].subscribe(r),Z=d.length;d.push(r,G),c&&c.push(s,i.index,Z,-(Z+1))}}}function u5(n,t,e,i){const s=A(null);try{return f(6,t,e),!1!==e(i)}catch(r){return sb(n,r),!1}finally{f(7,t,e),A(s)}}function d5(n,t,e,i,s){return function r(o){if(o===Function)return i;G_(n.componentOffset>-1?yo(n.index,t):t);let l=u5(t,e,i,o),c=r.__ngNextListenerFn__;for(;c;)l=u5(t,e,c,o)&&l,c=c.__ngNextListenerFn__;return s&&!1===l&&o.preventDefault(),l}}function K(n=1){return function v9(n){return(Ht.lFrame.contextLView=function CA(n,t){for(;n>0;)t=t[hc],n--;return t}(n,Ht.lFrame.contextLView))[fi]}(n)}function dee(n,t){let e=null;const i=function wx(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let s=0;s<t.length;s++){const r=t[s];if("*"!==r){if(null===i?c_(n,r,!0):cc(i,r))return s}else e=s}return e}function Wt(n){const t=je()[Ni][As];if(!t.projection){const i=t.projection=function rp(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}(n?n.length:1,null),s=i.slice();let r=t.child;for(;null!==r;){const o=n?dee(r,n):0;null!==o&&(s[o]?s[o].projectionNext=r:i[o]=r,s[o]=r),r=r.next}}}function $t(n,t=0,e){const i=je(),s=xn(),r=Sp(s,Bt+n,16,null,e||null);null===r.projection&&(r.projection=t),Zx(),(!i[er]||gp())&&32&~r.flags&&function DK(n,t,e){gN(t[Nt],0,t,e,US(n,e,t),cN(e.parent||t[As],e,t))}(s,i,r)}function He(n,t,e){return wc(n,"",t,"",e),He}function wc(n,t,e,i,s){const r=je(),o=Yp(r,t,e,i);return o!==Jt&&Ur(xn(),Si(),r,n,o,r[Nt],s,!1),wc}function Zp(n,t,e,i,s,r,o){const a=je(),l=jp(a,t,e,i,s,r);return l!==Jt&&Ur(xn(),Si(),a,n,l,a[Nt],o,!1),Zp}function ni(n,t,e,i){!function gF(n,t,e,i){const s=xn();if(s.firstCreatePass){const r=ai();mF(s,new dF(t,e,i),r.index),function mZ(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(s,n),!(2&~e)&&(s.staticContentQueries=!0)}return fF(s,je(),e)}(n,t,e,i)}function xo(n,t,e){!function pF(n,t,e){const i=xn();return i.firstCreatePass&&(mF(i,new dF(n,t,e),-1),!(2&~t)&&(i.staticViewQueries=!0)),fF(i,je(),t)}(n,t,e)}function ln(n){const t=je(),e=xn(),i=eS();T1(i+1);const s=ET(e,i);if(n.dirty&&function i9(n){return!(4&~n[St])}(t)===!(2&~s.metadata.flags)){if(null===s.matches)n.reset([]);else{const r=_F(t,i);n.reset(r,rR),n.notifyOnChanges()}return!0}return!1}function cn(){return function TT(n,t){return n[Xe].queries[t].queryList}(je(),eS())}function Fi(n){return br(function p9(){return Ht.lFrame.contextLView}(),Bt+n)}function N(n,t=""){const e=je(),i=xn(),s=n+Bt,r=i.firstCreatePass?Sp(i,s,1,t,null):i.data[s],o=E5(i,e,r,t,n);e[s]=o,x_()&&eb(i,e,o,r),ml(r,!1)}let E5=(n,t,e,i,s)=>(_l(!0),BS(t[Nt],i));function le(n){return ve("",n,""),le}function ve(n,t,e){const i=je(),s=Yp(i,n,t,e);return s!==Jt&&vc(i,tr(),s),ve}function ir(n,t,e,i,s){const r=je(),o=jp(r,n,t,e,i,s);return o!==Jt&&vc(r,tr(),o),ir}function Uu(n,t,e){bF(t)&&(t=t());const i=je();return cs(i,Sa(),t)&&Ur(xn(),Si(),i,n,t,i[Nt],e,!1),Uu}function Dh(n,t){const e=bF(n);return e&&n.set(t),e}function zu(n,t){const e=je(),i=xn(),s=ai();return nE(i,e,e[Nt],s,n,t),zu}function iE(n,t,e,i,s){if(n=mt(n),Array.isArray(n))for(let r=0;r<n.length;r++)iE(n[r],t,e,i,s);else{const r=xn(),o=je(),a=ai();let l=hl(n)?n:mt(n.provide);const c=y1(n),u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(hl(n)||!n.multi){const p=new S_(c,s,W),_=rE(l,t,s?u:u+h,d);-1===_?(lS(P1(a,o),r,l),sE(r,n,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,s&&(a.providerIndexes+=1048576),e.push(p),o.push(p)):(e[_]=p,o[_]=p)}else{const p=rE(l,t,u+h,d),_=rE(l,t,u,u+h),x=_>=0&&e[_];if(s&&!x||!s&&!(p>=0&&e[p])){lS(P1(a,o),r,l);const k=function Oee(n,t,e,i,s){const r=new S_(n,e,W);return r.multi=[],r.index=t,r.componentProviders=0,N5(r,s,i&&!e),r}(s?kee:Eee,e.length,s,i,c);!s&&x&&(e[_].providerFactory=k),sE(r,n,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,s&&(a.providerIndexes+=1048576),e.push(k),o.push(k)}else sE(r,n,p>-1?p:_,N5(e[s?_:p],c,!s&&i));!s&&i&&x&&e[_].componentProviders++}}}function sE(n,t,e,i){const s=hl(t),r=function dp(n){return!!n.useClass}(t);if(s||r){const l=(r?mt(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!s&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function N5(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function rE(n,t,e,i){for(let s=e;s<i;s++)if(t[s]===n)return s;return-1}function Eee(n,t,e,i){return oE(this.multi,[])}function kee(n,t,e,i){const s=this.multi;let r;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=ph(e,e[it],this.providerFactory.index,i);r=a.slice(0,o),oE(s,r);for(let l=o;l<a.length;l++)r.push(a[l])}else r=[],oE(s,r);return r}function oE(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function kt(n,t=[]){return e=>{e.providersResolver=(i,s)=>function Tee(n,t,e){const i=xn();if(i.firstCreatePass){const s=mo(n);iE(e,i.data,i.blueprint,s,!0),iE(t,i.data,i.blueprint,s,!1)}}(i,s?s(n):n,t)}}let Lee=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=d_(0,e.type),s=i.length>0?_b([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ie({token:n,providedIn:"environment",factory:()=>new n(Ve(ys))})}return n})();function So(n){bl("NgStandalone"),n.getStandaloneInjector=t=>t.get(Lee).getOrCreateStandaloneInjector(n)}function xh(n,t,e){const i=wr()+n,s=je();return s[i]===Jt?wl(s,i,e?t.call(e):t()):function ny(n,t){return n[t]}(s,i)}function Lt(n,t,e,i){return Y5(je(),wr(),n,t,e,i)}function Jp(n,t,e,i,s){return j5(je(),wr(),n,t,e,i,s)}function Ab(n,t,e,i,s,r,o){return function H5(n,t,e,i,s,r,o,a,l){const c=t+e;return function ea(n,t,e,i,s,r){const o=bh(n,t,e,i);return bh(n,t+2,s,r)||o}(n,c,s,r,o,a)?wl(n,c+4,l?i.call(l,s,r,o,a):i(s,r,o,a)):py(n,c+4)}(je(),wr(),n,t,e,i,s,r,o)}function py(n,t){const e=n[t];return e===Jt?void 0:e}function Y5(n,t,e,i,s,r){const o=t+e;return cs(n,o,s)?wl(n,o+1,r?i.call(r,s):i(s)):py(n,o+1)}function j5(n,t,e,i,s,r,o){const a=t+e;return bh(n,a,s,r)?wl(n,a+2,o?i.call(o,s,r):i(s,r)):py(n,a+2)}function B5(n,t,e,i,s,r,o,a){const l=t+e;return function bb(n,t,e,i,s){const r=bh(n,t,e,i);return cs(n,t+2,s)||r}(n,l,s,r,o)?wl(n,l+3,a?i.call(a,s,r,o):i(s,r,o)):py(n,l+3)}function Y(n,t){const e=xn();let i;const s=n+Bt;e.firstCreatePass?(i=function jee(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[s]=i,i.onDestroy&&(e.destroyHooks??=[]).push(s,i.onDestroy)):i=e.data[s];const r=i.factory||(i.factory=Ca(i.type)),a=Zs(W);try{const l=L1(!1),c=r();return L1(l),function gee(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,je(),s,c),c}finally{Zs(a)}}function B(n,t,e){const i=n+Bt,s=je(),r=br(s,i);return gy(s,i)?Y5(s,wr(),t,r.transform,e,r):r.transform(e)}function On(n,t,e,i){const s=n+Bt,r=je(),o=br(r,s);return gy(r,s)?j5(r,wr(),t,o.transform,e,i,o):o.transform(e,i)}function gy(n,t){return n[it].data[t].pure}function hs(n,t){return ob(n,t)}let rY=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();const uY=new dt(""),Fb=new dt("");let gE,fE=(()=>{class n{constructor(e,i,s){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,gE||(function Ate(n){gE=n}(s),s.addToWindow(i)),this._watchAngularEvents(),e.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:()=>{sn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,s){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==r),e()},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:s})}whenStable(e,i,s){if(s&&!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(e,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,s){return[]}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(sn),Ve(pE),Ve(Fb))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),pE=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return gE?.findTestabilityInTree(this,e,i)??null}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function vy(n){return!!n&&"function"==typeof n.then}function dY(n){return!!n&&"function"==typeof n.subscribe}const mE=new dt("");let _E=(()=>{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=fe(mE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const s of this.appInits){const r=s();if(vy(r))e.push(r);else if(dY(r)){const o=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(o)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(s=>{this.reject(s)}),0===e.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const yE=new dt("");function pY(n,t){return Array.isArray(t)?t.reduce(pY,n):{...n,...t}}let Dl=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=fe(tR),this.afterRenderEffectManager=fe(Z_),this.externalTestViews=new Set,this.beforeRender=new Zt,this.afterTick=new Zt,this.componentTypes=[],this.components=[],this.isStable=fe(ju).hasPendingTasks.pipe(ht(e=>!e)),this._injector=fe(ys)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const s=e instanceof GN;if(!this._injector.get(_E).done)throw!s&&function ul(n){const t=hn(n)||os(n)||Ms(n);return null!==t&&t.standalone}(e),new Oe(405,!1);let o;o=s?e:this._injector.get(kp).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const a=function Rte(n){return n.isBoundToModule}(o)?void 0:this._injector.get(vh),c=o.create(ls.NULL,[],i||o.selector,a),u=c.location.nativeElement,d=c.injector.get(uY,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Yb(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(e){if(this._runningTick)throw new Oe(101,!1);const i=A(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(e)}catch(s){this.internalErrorHandler(s)}finally{this.afterTick.next(),this._runningTick=!1,A(i)}}detectChangesInAttachedViews(e){let i=0;const s=this.afterRenderEffectManager;for(;;){if(i===RN)throw new Oe(103,!1);if(e){const r=0===i;this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:a}of this._views)Fte(o,r,a)}if(i++,s.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:r})=>vE(r))&&(s.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:r})=>vE(r))))break}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Yb(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(yE,[]);[...this._bootstrapListeners,...i].forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Yb(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Oe(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Yb(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function Fte(n,t,e){!t&&!vE(n)||function Yte(n,t,e){let i;e?(i=0,n[St]|=1024):i=64&n[St]?0:1,rb(n,t,i)}(n,e,t)}function vE(n){return $x(n)}class jte{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let gY=(()=>{class n{compileModuleSync(e){return new PT(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=vo(Is(e).declarations).reduce((o,a)=>{const l=hn(a);return l&&o.push(new ey(l)),o},[]);return new jte(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Vte=(()=>{class n{constructor(){this.zone=fe(sn),this.applicationRef=fe(Dl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Ute(){const n=fe(sn),t=fe(Qo);return e=>n.runOutsideAngular(()=>t.handleError(e))}let Gte=(()=>{class n{constructor(){this.subscription=new hi,this.initialized=!1,this.zone=fe(sn),this.pendingTasks=fe(ju)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{sn.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{sn.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const La=new dt("",{providedIn:"root",factory:()=>fe(La,nn.Optional|nn.SkipSelf)||function Wte(){return typeof $localize<"u"&&$localize.locale||Xp}()}),bE=new dt("");let vY=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const s=function WX(n="zone.js",t){return"noop"===n?new ZN:"zone.js"===n?new sn(t):n}(i?.ngZone,function yY(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return s.run(()=>{const r=function NZ(n,t,e){return new LT(n,t,e)}(e.moduleType,this.injector,function _Y(n){return[{provide:sn,useFactory:n},{provide:lc,multi:!0,useFactory:()=>{const t=fe(Vte,{optional:!0});return()=>t.initialize()}},{provide:lc,multi:!0,useFactory:()=>{const t=fe(Gte);return()=>{t.initialize()}}},{provide:tR,useFactory:Ute}]}(()=>s)),o=r.injector.get(Qo,null);return s.runOutsideAngular(()=>{const a=s.onError.subscribe({next:l=>{o.handleError(l)}});r.onDestroy(()=>{Yb(this._modules,r),a.unsubscribe()})}),function fY(n,t,e){try{const i=e();return vy(i)?i.catch(s=>{throw t.runOutsideAngular(()=>n.handleError(s)),s}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(o,s,()=>{const a=r.injector.get(_E);return a.runInitializers(),a.donePromise.then(()=>(function Y3(n){"string"==typeof n&&(F3=n.toLowerCase().replace(/_/g,"-"))}(r.injector.get(La,Xp)||Xp),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,i=[]){const s=pY({},i);return function Hte(n,t,e){const i=new PT(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,s))}_moduleDoBootstrap(e){const i=e.injector.get(Dl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new Oe(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Oe(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(bE,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(ls))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),Gu=null;const bY=new dt("");function wY(n,t,e=[]){const i=`Platform: ${t}`,s=new dt(i);return(r=[])=>{let o=wE();if(!o||o.injector.get(bY,!1)){const a=[...e,...r,{provide:s,useValue:!0}];n?n(a):function Kte(n){if(Gu&&!Gu.get(bY,!1))throw new Oe(400,!1);(function hY(){!function Me(n){ie=n}(()=>{throw new Oe(600,!1)})})(),Gu=n;const t=n.get(vY);(function MY(n){n.get(xR,null)?.forEach(e=>e())})(n)}(function CY(n=[],t){return ls.create({name:t,providers:[{provide:fl,useValue:"platform"},{provide:bE,useValue:new Set([()=>Gu=null])},...n]})}(a,i))}return function Xte(n){const t=wE();if(!t)throw new Oe(401,!1);return t}()}}function wE(){return Gu?.get(vY)??null}let Dr=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=Jte}return n})();function Jte(n){return function Qte(n,t,e){if(fc(n)&&!e){const i=yo(n.index,t);return new W_(i,i)}return 47&n.type?new W_(t[Ni],t):null}(ai(),je(),!(16&~n))}class EY{constructor(){}supports(t){return vb(t)}create(t){return new sne(t)}}const ine=(n,t)=>t;class sne{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ine}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,s=0,r=null;for(;e||i;){const o=!i||e&&e.currentIndex<OY(i,s,r)?e:i,a=OY(o,s,r),l=o.currentIndex;if(o===i)s--,i=i._nextRemoved;else if(e=e._next,null==o.previousIndex)s++;else{r||(r=[]);const c=a-s,u=l-s;if(c!=u){for(let h=0;h<c;h++){const p=h<r.length?r[h]:r[h]=0,_=p+h;u<=_&&_<c&&(r[h]=p+1)}r[o.previousIndex]=u-c}}a!==l&&t(o,a,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!vb(t))throw new Oe(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,r,o,e=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)r=t[a],o=this._trackByFn(a,r),null!==e&&Object.is(e.trackById,o)?(i&&(e=this._verifyReinsertion(e,r,o,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)):(e=this._mismatch(e,r,o,a),i=!0),e=e._next}else s=0,function BZ(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[Symbol.iterator]();let i;for(;!(i=e.next()).done;)t(i.value)}}(t,a=>{o=this._trackByFn(s,a),null!==e&&Object.is(e.trackById,o)?(i&&(e=this._verifyReinsertion(e,a,o,s)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,s),i=!0),e=e._next,s++}),this.length=s;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,s){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,s)):t=this._addAfter(new rne(e,i),r,s),t}_verifyReinsertion(t,e,i,s){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,r=t._nextRemoved;return null===s?this._removalsHead=r:s._nextRemoved=r,null===r?this._removalsTail=s:r._prevRemoved=s,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new kY),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new kY),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class rne{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class one{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class kY{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new one,this.map.set(e,i)),i.add(t)}get(t,e){const s=this.map.get(t);return s?s.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function OY(n,t,e){const i=n.previousIndex;if(null===i)return i;let s=0;return e&&i<e.length&&(s=e[i]),i+t+s}class LY{constructor(){}supports(t){return t instanceof Map||IT(t)}create(){return new ane}}class ane{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||IT(t)))throw new Oe(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,s)=>{if(e&&e.key===s)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(s,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,e);const r=s._prev,o=s._next;return r&&(r._next=o),o&&(o._prev=r),s._next=null,s._prev=null,s}const i=new lne(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class lne{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function PY(){return new SE([new EY])}let SE=(()=>{class n{static#e=this.\u0275prov=Ie({token:n,providedIn:"root",factory:PY});constructor(e){this.factories=e}static create(e,i){if(null!=i){const s=i.factories.slice();e=e.concat(s)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||PY()),deps:[[n,new _u,new wa]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(null!=i)return i;throw new Oe(901,!1)}}return n})();function IY(){return new Vb([new LY])}let Vb=(()=>{class n{static#e=this.\u0275prov=Ie({token:n,providedIn:"root",factory:IY});constructor(e){this.factories=e}static create(e,i){if(i){const s=i.factories.slice();e=e.concat(s)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||IY()),deps:[[n,new _u,new wa]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new Oe(901,!1)}}return n})();const dne=wY(null,"core",[]);let hne=(()=>{class n{constructor(e){}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Dl))};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();function ng(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function Th(n,t){bl("NgSignals");const e=function qt(n){const t=Object.create(O);t.computation=n;const e=()=>{if(U(t),me(t),t.value===ke)throw t.error;return t.value};return e[E]=t,e}(n);return t?.equal&&(e[E].equal=t.equal),e}function tj(n){const t=A(null);try{return n()}finally{A(t)}}const Vne=new dt("",{providedIn:"root",factory:()=>fe(Une)});let Une=(()=>{class n{static#e=this.\u0275prov=Ie({token:n,providedIn:"root",factory:()=>new zne})}return n})();class zne{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=fe(ju),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(t){const e=t.creationZone;this.queues.has(e)||this.queues.set(e,new Set);const i=this.queues.get(e);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,e]of this.queues)null===t?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(const e of t)t.delete(e),this.queuedEffectCount--,e.run()}}class Gne{constructor(t,e,i,s,r,o){this.scheduler=t,this.effectFn=e,this.creationZone=i,this.injector=r,this.watcher=function Vn(n,t,e){const i=Object.create(ui);e&&(i.consumerAllowSignalWrites=!0),i.fn=n,i.schedule=t;const s=l=>{i.cleanupFn=l};return i.ref={notify:()=>ae(i),run:()=>{if(null===i.fn)return;if(function Q(){return C}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Pe(i))return;i.hasRun=!0;const l=be(i);try{i.cleanupFn(),i.cleanupFn=Fn,i.fn(s)}finally{Ce(i,l)}},cleanup:()=>i.cleanupFn(),destroy:()=>function o(l){(function r(l){return null===l.fn&&null===l.schedule})(l)||(Je(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Fn)}(i),[E]:i},i.ref}(a=>this.runEffect(a),()=>this.schedule(),o),this.unregisterOnDestroy=s?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(e){this.injector.get(Qo,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function kE(n,t){const e=hn(n),i=t.elementInjector||nh();return new ey(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}let ij=null;function Wu(){return ij}class qne{}const Ki=new dt("");let OE=(()=>{class n{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>fe(Xne),providedIn:"platform"})}return n})();const Kne=new dt("");let Xne=(()=>{class n extends OE{constructor(){super(),this._doc=fe(Ki),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Wu().getBaseHref(this._doc)}onPopState(e){const i=Wu().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Wu().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,s){this._history.pushState(e,i,s)}replaceState(e,i,s){this._history.replaceState(e,i,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function LE(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function sj(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Cc(n){return n&&"?"!==n[0]?"?"+n:n}let $u=(()=>{class n{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>fe(PE),providedIn:"root"})}return n})();const rj=new dt("");let PE=(()=>{class n extends $u{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??fe(Ki).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return LE(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Cc(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${i}${s}`:i}pushState(e,i,s,r){const o=this.prepareExternalUrl(s+Cc(r));this._platformLocation.pushState(e,i,o)}replaceState(e,i,s,r){const o=this.prepareExternalUrl(s+Cc(r));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(OE),Ve(rj,8))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Zne=(()=>{class n extends $u{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=LE(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,s,r){let o=this.prepareExternalUrl(s+Cc(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,s,r){let o=this.prepareExternalUrl(s+Cc(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(OE),Ve(rj,8))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Eh=(()=>{class n{constructor(e){this._subject=new Ne,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function eie(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(sj(oj(i))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Cc(i))}normalize(e){return n.stripTrailingSlash(function Qne(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,oj(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",s=null){this._locationStrategy.pushState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Cc(i)),s)}replaceState(e,i="",s=null){this._locationStrategy.replaceState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Cc(i)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(s=>s(e,i))}subscribe(e,i,s){return this._subject.subscribe({next:e,error:i,complete:s})}static#e=this.normalizeQueryParams=Cc;static#t=this.joinWithSlash=LE;static#n=this.stripTrailingSlash=sj;static#i=this.\u0275fac=function(i){return new(i||n)(Ve($u))};static#s=this.\u0275prov=Ie({token:n,factory:()=>function Jne(){return new Eh(Ve($u))}(),providedIn:"root"})}return n})();function oj(n){return n.replace(/\/index.html$/,"")}var qb=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}(qb||{}),Ns=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}(Ns||{}),Bn=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}(Bn||{}),To=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}(To||{});const vs={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function lj(n,t,e){const i=Cr(n),r=na([i[Ei.DaysFormat],i[Ei.DaysStandalone]],t);return na(r,e)}function IE(n,t,e){const i=Cr(n),r=na([i[Ei.MonthsFormat],i[Ei.MonthsStandalone]],t);return na(r,e)}function Kb(n,t){return na(Cr(n)[Ei.DateFormat],t)}function Xb(n,t){return na(Cr(n)[Ei.TimeFormat],t)}function Zb(n,t){return na(Cr(n)[Ei.DateTimeFormat],t)}function ta(n,t){const e=Cr(n),i=e[Ei.NumberSymbols][t];if(typeof i>"u"){if(t===vs.CurrencyDecimal)return e[Ei.NumberSymbols][vs.Decimal];if(t===vs.CurrencyGroup)return e[Ei.NumberSymbols][vs.Group]}return i}function cj(n){if(!n[Ei.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[Ei.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function na(n,t){for(let e=t;e>-1;e--)if(typeof n[e]<"u")return n[e];throw new Error("Locale data API: locale data undefined")}function RE(n){const[t,e]=n.split(":");return{hours:+t,minutes:+e}}const hie=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Jb={},fie=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Mc=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}(Mc||{}),Zn=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}(Zn||{}),Jn=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}(Jn||{});function NE(n,t,e,i){let s=function Cie(n){if(hj(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[s,r=1,o=1]=n.split("-").map(a=>+a);return Qb(s,r-1,o)}const e=parseFloat(n);if(!isNaN(n-e))return new Date(e);let i;if(i=n.match(hie))return function Mie(n){const t=new Date(0);let e=0,i=0;const s=n[8]?t.setUTCFullYear:t.setFullYear,r=n[8]?t.setUTCHours:t.setHours;n[9]&&(e=Number(n[9]+n[10]),i=Number(n[9]+n[11])),s.call(t,Number(n[1]),Number(n[2])-1,Number(n[3]));const o=Number(n[4]||0)-e,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return r.call(t,o,a,l,c),t}(i)}const t=new Date(n);if(!hj(t))throw new Error(`Unable to convert "${n}" into a date`);return t}(n);t=Dc(e,t)||t;let a,o=[];for(;t;){if(a=fie.exec(t),!a){o.push(t);break}{o=o.concat(a.slice(1));const u=o.pop();if(!u)break;t=u}}let l=s.getTimezoneOffset();i&&(l=dj(i,l),s=function wie(n,t,e){const i=e?-1:1,s=n.getTimezoneOffset();return function bie(n,t){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+t),n}(n,i*(dj(t,s)-s))}(s,i,!0));let c="";return o.forEach(u=>{const d=function vie(n){if(YE[n])return YE[n];let t;switch(n){case"G":case"GG":case"GGG":t=ki(Jn.Eras,Bn.Abbreviated);break;case"GGGG":t=ki(Jn.Eras,Bn.Wide);break;case"GGGGG":t=ki(Jn.Eras,Bn.Narrow);break;case"y":t=bs(Zn.FullYear,1,0,!1,!0);break;case"yy":t=bs(Zn.FullYear,2,0,!0,!0);break;case"yyy":t=bs(Zn.FullYear,3,0,!1,!0);break;case"yyyy":t=bs(Zn.FullYear,4,0,!1,!0);break;case"Y":t=iw(1);break;case"YY":t=iw(2,!0);break;case"YYY":t=iw(3);break;case"YYYY":t=iw(4);break;case"M":case"L":t=bs(Zn.Month,1,1);break;case"MM":case"LL":t=bs(Zn.Month,2,1);break;case"MMM":t=ki(Jn.Months,Bn.Abbreviated);break;case"MMMM":t=ki(Jn.Months,Bn.Wide);break;case"MMMMM":t=ki(Jn.Months,Bn.Narrow);break;case"LLL":t=ki(Jn.Months,Bn.Abbreviated,Ns.Standalone);break;case"LLLL":t=ki(Jn.Months,Bn.Wide,Ns.Standalone);break;case"LLLLL":t=ki(Jn.Months,Bn.Narrow,Ns.Standalone);break;case"w":t=FE(1);break;case"ww":t=FE(2);break;case"W":t=FE(1,!0);break;case"d":t=bs(Zn.Date,1);break;case"dd":t=bs(Zn.Date,2);break;case"c":case"cc":t=bs(Zn.Day,1);break;case"ccc":t=ki(Jn.Days,Bn.Abbreviated,Ns.Standalone);break;case"cccc":t=ki(Jn.Days,Bn.Wide,Ns.Standalone);break;case"ccccc":t=ki(Jn.Days,Bn.Narrow,Ns.Standalone);break;case"cccccc":t=ki(Jn.Days,Bn.Short,Ns.Standalone);break;case"E":case"EE":case"EEE":t=ki(Jn.Days,Bn.Abbreviated);break;case"EEEE":t=ki(Jn.Days,Bn.Wide);break;case"EEEEE":t=ki(Jn.Days,Bn.Narrow);break;case"EEEEEE":t=ki(Jn.Days,Bn.Short);break;case"a":case"aa":case"aaa":t=ki(Jn.DayPeriods,Bn.Abbreviated);break;case"aaaa":t=ki(Jn.DayPeriods,Bn.Wide);break;case"aaaaa":t=ki(Jn.DayPeriods,Bn.Narrow);break;case"b":case"bb":case"bbb":t=ki(Jn.DayPeriods,Bn.Abbreviated,Ns.Standalone,!0);break;case"bbbb":t=ki(Jn.DayPeriods,Bn.Wide,Ns.Standalone,!0);break;case"bbbbb":t=ki(Jn.DayPeriods,Bn.Narrow,Ns.Standalone,!0);break;case"B":case"BB":case"BBB":t=ki(Jn.DayPeriods,Bn.Abbreviated,Ns.Format,!0);break;case"BBBB":t=ki(Jn.DayPeriods,Bn.Wide,Ns.Format,!0);break;case"BBBBB":t=ki(Jn.DayPeriods,Bn.Narrow,Ns.Format,!0);break;case"h":t=bs(Zn.Hours,1,-12);break;case"hh":t=bs(Zn.Hours,2,-12);break;case"H":t=bs(Zn.Hours,1);break;case"HH":t=bs(Zn.Hours,2);break;case"m":t=bs(Zn.Minutes,1);break;case"mm":t=bs(Zn.Minutes,2);break;case"s":t=bs(Zn.Seconds,1);break;case"ss":t=bs(Zn.Seconds,2);break;case"S":t=bs(Zn.FractionalSeconds,1);break;case"SS":t=bs(Zn.FractionalSeconds,2);break;case"SSS":t=bs(Zn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=tw(Mc.Short);break;case"ZZZZZ":t=tw(Mc.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=tw(Mc.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=tw(Mc.Long);break;default:return null}return YE[n]=t,t}(u);c+=d?d(s,e,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Qb(n,t,e){const i=new Date(0);return i.setFullYear(n,t,e),i.setHours(0,0,0),i}function Dc(n,t){const e=function nie(n){return Cr(n)[Ei.LocaleId]}(n);if(Jb[e]??={},Jb[e][t])return Jb[e][t];let i="";switch(t){case"shortDate":i=Kb(n,To.Short);break;case"mediumDate":i=Kb(n,To.Medium);break;case"longDate":i=Kb(n,To.Long);break;case"fullDate":i=Kb(n,To.Full);break;case"shortTime":i=Xb(n,To.Short);break;case"mediumTime":i=Xb(n,To.Medium);break;case"longTime":i=Xb(n,To.Long);break;case"fullTime":i=Xb(n,To.Full);break;case"short":const s=Dc(n,"shortTime"),r=Dc(n,"shortDate");i=ew(Zb(n,To.Short),[s,r]);break;case"medium":const o=Dc(n,"mediumTime"),a=Dc(n,"mediumDate");i=ew(Zb(n,To.Medium),[o,a]);break;case"long":const l=Dc(n,"longTime"),c=Dc(n,"longDate");i=ew(Zb(n,To.Long),[l,c]);break;case"full":const u=Dc(n,"fullTime"),d=Dc(n,"fullDate");i=ew(Zb(n,To.Full),[u,d])}return i&&(Jb[e][t]=i),i}function ew(n,t){return t&&(n=n.replace(/\{([^}]+)}/g,function(e,i){return null!=t&&i in t?t[i]:e})),n}function Pa(n,t,e="-",i,s){let r="";(n<0||s&&n<=0)&&(s?n=1-n:(n=-n,r=e));let o=String(n);for(;o.length<t;)o="0"+o;return i&&(o=o.slice(o.length-t)),r+o}function bs(n,t,e=0,i=!1,s=!1){return function(r,o){let a=function gie(n,t){switch(n){case Zn.FullYear:return t.getFullYear();case Zn.Month:return t.getMonth();case Zn.Date:return t.getDate();case Zn.Hours:return t.getHours();case Zn.Minutes:return t.getMinutes();case Zn.Seconds:return t.getSeconds();case Zn.FractionalSeconds:return t.getMilliseconds();case Zn.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${n}".`)}}(n,r);if((e>0||a>-e)&&(a+=e),n===Zn.Hours)0===a&&-12===e&&(a=12);else if(n===Zn.FractionalSeconds)return function pie(n,t){return Pa(n,3).substring(0,t)}(a,t);const l=ta(o,vs.MinusSign);return Pa(a,t,l,i,s)}}function ki(n,t,e=Ns.Format,i=!1){return function(s,r){return function mie(n,t,e,i,s,r){switch(e){case Jn.Months:return IE(t,s,i)[n.getMonth()];case Jn.Days:return lj(t,s,i)[n.getDay()];case Jn.DayPeriods:const o=n.getHours(),a=n.getMinutes();if(r){const c=function aie(n){const t=Cr(n);return cj(t),(t[Ei.ExtraData][2]||[]).map(i=>"string"==typeof i?RE(i):[RE(i[0]),RE(i[1])])}(t),u=function lie(n,t,e){const i=Cr(n);cj(i);const r=na([i[Ei.ExtraData][0],i[Ei.ExtraData][1]],t)||[];return na(r,e)||[]}(t,s,i),d=c.findIndex(h=>{if(Array.isArray(h)){const[p,_]=h,v=o>=p.hours&&a>=p.minutes,x=o<_.hours||o===_.hours&&a<_.minutes;if(p.hours<_.hours){if(v&&x)return!0}else if(v||x)return!0}else if(h.hours===o&&h.minutes===a)return!0;return!1});if(-1!==d)return u[d]}return function iie(n,t,e){const i=Cr(n),r=na([i[Ei.DayPeriodsFormat],i[Ei.DayPeriodsStandalone]],t);return na(r,e)}(t,s,i)[o<12?0:1];case Jn.Eras:return function sie(n,t){return na(Cr(n)[Ei.Eras],t)}(t,i)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(s,r,n,t,e,i)}}function tw(n){return function(t,e,i){const s=-1*i,r=ta(e,vs.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(n){case Mc.Short:return(s>=0?"+":"")+Pa(o,2,r)+Pa(Math.abs(s%60),2,r);case Mc.ShortGMT:return"GMT"+(s>=0?"+":"")+Pa(o,1,r);case Mc.Long:return"GMT"+(s>=0?"+":"")+Pa(o,2,r)+":"+Pa(Math.abs(s%60),2,r);case Mc.Extended:return 0===i?"Z":(s>=0?"+":"")+Pa(o,2,r)+":"+Pa(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${n}"`)}}}const _ie=0,nw=4;function uj(n){const t=n.getDay(),e=0===t?-3:nw-t;return Qb(n.getFullYear(),n.getMonth(),n.getDate()+e)}function FE(n,t=!1){return function(e,i){let s;if(t){const r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();s=1+Math.floor((o+r)/7)}else{const r=uj(e),o=function yie(n){const t=Qb(n,_ie,1).getDay();return Qb(n,0,1+(t<=nw?nw:nw+7)-t)}(r.getFullYear()),a=r.getTime()-o.getTime();s=1+Math.round(a/6048e5)}return Pa(s,n,ta(i,vs.MinusSign))}}function iw(n,t=!1){return function(e,i){return Pa(uj(e).getFullYear(),n,ta(i,vs.MinusSign),t)}}const YE={};function dj(n,t){n=n.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?t:e}function hj(n){return n instanceof Date&&!isNaN(n.valueOf())}const Die=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function VE(n){const t=parseInt(n);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+n);return t}function kh(n,t,e){return function gQ(n,t,e){"string"!=typeof t&&(e=t,t=n[Ei.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Kp[t]=n,e&&(Kp[t][Ei.ExtraData]=e)}(n,t,e)}function mj(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[s,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(s.trim()===t)return decodeURIComponent(r)}return null}const zE=/\s+/,_j=[];let xr=(()=>{class n{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=_j,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(zE):_j}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(zE):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const s=this.stateMap.get(e);void 0!==s?(s.enabled!==i&&(s.changed=!0,s.enabled=i),s.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],s=e[1];s.changed?(this._toggleClass(i,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),s.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(zE).forEach(s=>{i?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn),W(bc))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngClass",""]],inputs:{klass:[bn.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return n})();class Nie{constructor(t,e,i,s){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let zs=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,s){this._viewContainer=e,this._template=i,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((s,r,o)=>{if(null==s.previousIndex)i.createEmbeddedView(this._template,new Nie(s.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,o),vj(a,s)}});for(let s=0,r=i.length;s<r;s++){const a=i.get(s).context;a.index=s,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(s=>{vj(i.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||n)(W(Us),W(Ti),W(SE))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return n})();function vj(n,t){n.context.$implicit=t.item}let wt=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new Fie,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){bj("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){bj("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||n)(W(Us),W(Ti))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return n})();class Fie{constructor(){this.$implicit=null,this.ngIf=null}}function bj(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Ri(t)}'.`)}class GE{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let rw=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e===this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return n})(),wj=(()=>{class n{constructor(e,i,s){this.ngSwitch=s,s._addCase(),this._view=new GE(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(i){return new(i||n)(W(Us),W(Ti),W(rw,9))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return n})(),Cj=(()=>{class n{constructor(e,i,s){s._addDefault(new GE(e,i))}static#e=this.\u0275fac=function(i){return new(i||n)(W(Us),W(Ti),W(rw,9))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return n})(),ow=(()=>{class n{constructor(e,i,s){this._ngEl=e,this._differs=i,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[s,r]=e.split("."),o=-1===s.indexOf("-")?void 0:Ru.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,s,r?`${i}${r}`:i,o):this._renderer.removeStyle(this._ngEl.nativeElement,s,o)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn),W(Vb),W(bc))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return n})(),xc=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const s=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,s,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,s)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,s),get:(e,i,s)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,s)}})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Us))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ut]})}return n})();function Ia(n,t){return new Oe(2100,!1)}class Bie{createSubscription(t,e){return tj(()=>t.subscribe({next:e,error:i=>{throw i}}))}dispose(t){tj(()=>t.unsubscribe())}}class Hie{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const Vie=new Hie,Uie=new Bie;let Dj=(()=>{class n{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(vy(e))return Vie;if(dY(e))return Uie;throw Ia()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||n)(W(Dr,16))};static#t=this.\u0275pipe=rs({name:"async",type:n,pure:!1,standalone:!0})}return n})();const Kie=new dt(""),Xie=new dt("");let Xi=(()=>{class n{constructor(e,i,s){this.locale=e,this.defaultTimezone=i,this.defaultOptions=s}transform(e,i,s,r){if(null==e||""===e||e!=e)return null;try{return NE(e,i??this.defaultOptions?.dateFormat??"mediumDate",r||this.locale,s??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(o){throw Ia()}}static#e=this.\u0275fac=function(i){return new(i||n)(W(La,16),W(Kie,24),W(Xie,24))};static#t=this.\u0275pipe=rs({name:"date",type:n,pure:!0,standalone:!0})}return n})(),xj=(()=>{class n{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=Sj}transform(e,i=Sj){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ??=this.differs.find(e).create();const s=this.differ.diff(e),r=i!==this.compareFn;return s&&(this.keyValues=[],s.forEachItem(o=>{this.keyValues.push(function tse(n,t){return{key:n,value:t}}(o.key,o.currentValue))})),(s||r)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}static#e=this.\u0275fac=function(i){return new(i||n)(W(Vb,16))};static#t=this.\u0275pipe=rs({name:"keyvalue",type:n,pure:!1,standalone:!0})}return n})();function Sj(n,t){const e=n.key,i=t.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e<i?-1:1;if("number"==typeof e&&"number"==typeof i)return e-i;if("boolean"==typeof e&&"boolean"==typeof i)return e<i?-1:1;const s=String(e),r=String(i);return s==r?0:s<r?-1:1}let aw=(()=>{class n{constructor(e){this._locale=e}transform(e,i,s){if(!function WE(n){return!(null==n||""===n||n!=n)}(e))return null;s||=this._locale;try{return function kie(n,t,e){return function BE(n,t,e,i,s,r,o=!1){let a="",l=!1;if(isFinite(n)){let c=function Pie(n){let i,s,r,o,a,t=Math.abs(n)+"",e=0;for((s=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(s<0&&(s=r),s+=+t.slice(r+1),t=t.substring(0,r)):s<0&&(s=t.length),r=0;"0"===t.charAt(r);r++);if(r===(a=t.length))i=[0],s=1;else{for(a--;"0"===t.charAt(a);)a--;for(s-=r,i=[],o=0;r<=a;r++,o++)i[o]=Number(t.charAt(r))}return s>22&&(i=i.splice(0,21),e=s-1,s=1),{digits:i,exponent:e,integerLen:s}}(n);o&&(c=function Lie(n){if(0===n.digits[0])return n;const t=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===t?n.digits.push(0,0):1===t&&n.digits.push(0),n.integerLen+=2),n}(c));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(r){const P=r.match(Die);if(null===P)throw new Error(`${r} is not a valid digit info`);const j=P[1],z=P[3],G=P[5];null!=j&&(u=VE(j)),null!=z&&(d=VE(z)),null!=G?h=VE(G):null!=z&&d>h&&(h=d)}!function Iie(n,t,e){if(t>e)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${e}).`);let i=n.digits,s=i.length-n.integerLen;const r=Math.min(Math.max(t,s),e);let o=r+n.integerLen,a=i[o];if(o>0){i.splice(Math.max(n.integerLen,o));for(let d=o;d<i.length;d++)i[d]=0}else{s=Math.max(0,s),n.integerLen=1,i.length=Math.max(1,o=r+1),i[0]=0;for(let d=1;d<o;d++)i[d]=0}if(a>=5)if(o-1<0){for(let d=0;d>o;d--)i.unshift(0),n.integerLen++;i.unshift(1),n.integerLen++}else i[o-1]++;for(;s<Math.max(0,r);s++)i.push(0);let l=0!==r;const c=t+n.integerLen,u=i.reduceRight(function(d,h,p,_){return _[p]=(h+=d)<10?h:h-10,l&&(0===_[p]&&p>=c?_.pop():l=!1),h>=10?1:0},0);u&&(i.unshift(u),n.integerLen++)}(c,d,h);let p=c.digits,_=c.integerLen;const v=c.exponent;let x=[];for(l=p.every(P=>!P);_<u;_++)p.unshift(0);for(;_<0;_++)p.unshift(0);_>0?x=p.splice(_,p.length):(x=p,p=[0]);const k=[];for(p.length>=t.lgSize&&k.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)k.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&k.unshift(p.join("")),a=k.join(ta(e,i)),x.length&&(a+=ta(e,s)+x.join("")),v&&(a+=ta(e,vs.Exponential)+"+"+v)}else a=ta(e,vs.Infinity);return a=n<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(n,function HE(n,t="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=n.split(";"),s=i[0],r=i[1],o=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";e.posPre=a.substring(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const d=l.charAt(u);"0"===d?e.minFrac=e.maxFrac=u+1:"#"===d?e.maxFrac=u+1:e.posSuf+=d}const c=a.split(",");if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){const u=s.length-e.posPre.length-e.posSuf.length,d=r.indexOf("#");e.negPre=r.substring(0,d).replace(/'/g,""),e.negSuf=r.slice(d+u).replace(/'/g,"")}else e.negPre=t+e.posPre,e.negSuf=e.posSuf;return e}(function AE(n,t){return Cr(n)[Ei.NumberFormats][t]}(t,qb.Percent),ta(t,vs.MinusSign)),t,vs.Group,vs.Decimal,e,!0).replace(new RegExp("%","g"),ta(t,vs.PercentSign))}(function $E(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(`${n} is not a number`);return n}(e),s,i)}catch(r){throw Ia()}}static#e=this.\u0275fac=function(i){return new(i||n)(W(La,16))};static#t=this.\u0275pipe=rs({name:"percent",type:n,pure:!0,standalone:!0})}return n})();let qu=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();const Tj="browser";function Ej(n){return n===Tj}function kj(n){return"server"===n}let ase=(()=>{class n{static#e=this.\u0275prov=Ie({token:n,providedIn:"root",factory:()=>Ej(fe(_c))?new lse(fe(Ki),window):new use})}return n})();class lse{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){const e=function cse(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&"function"==typeof n.body.attachShadow){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let s=i.currentNode;for(;s;){const r=s.shadowRoot;if(r){const o=r.getElementById(t)||r.querySelector(`[name="${t}"]`);if(o)return o}s=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],s-r[1])}}class use{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}class Oj{}class Yse extends qne{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class KE extends Yse{static makeCurrent(){!function $ne(n){ij??=n}(new KE)}onAndCancel(t,e,i){return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function jse(){return xy=xy||document.querySelector("base"),xy?xy.getAttribute("href"):null}();return null==e?null:function Bse(n){return new URL(n,document.baseURI).pathname}(e)}resetBaseElement(){xy=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mj(document.cookie,t)}}let xy=null,Vse=(()=>{class n{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const XE=new dt("");let jj=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(s=>{s.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,s){return this._findPluginFor(i).addEventListener(e,i,s)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new Oe(5101,!1);return this._eventNameToPlugin.set(e,i),i}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(XE),Ve(sn))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class Bj{constructor(t){this._doc=t}}const ZE="ng-app-id";let Hj=(()=>{class n{constructor(e,i,s,r={}){this.doc=e,this.appId=i,this.nonce=s,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=kj(r),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(s=>s.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${ZE}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(s=>{null!=s.textContent&&i.set(s.textContent,s)}),i}return null}changeUsageCount(e,i){const s=this.styleRef;if(s.has(e)){const r=s.get(e);return r.usage+=i,r.usage}return s.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const s=this.styleNodesInDOM,r=s?.get(i);if(r?.parentNode===e)return s.delete(i),r.removeAttribute(ZE),r;{const o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=i,this.platformIsServer&&o.setAttribute(ZE,this.appId),e.appendChild(o),o}}addStyleToHost(e,i){const s=this.getStyleElement(e,i),r=this.styleRef,o=r.get(i)?.elements;o?o.push(s):r.set(i,{elements:[s],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Ki),Ve(j1),Ve(TR,8),Ve(_c))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const JE={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},QE=/%COMP%/g,Wse=new dt("",{providedIn:"root",factory:()=>!0});function Uj(n,t){return t.map(e=>e.replace(QE,n))}let ek=(()=>{class n{constructor(e,i,s,r,o,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=r,this.doc=o,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=kj(a),this.defaultRenderer=new tk(e,o,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Hr.ShadowDom&&(i={...i,encapsulation:Hr.Emulated});const s=this.getOrCreateRenderer(e,i);return s instanceof Gj?s.applyToHost(e):s instanceof nk&&s.applyStyles(),s}getOrCreateRenderer(e,i){const s=this.rendererByCompId;let r=s.get(i.id);if(!r){const o=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Hr.Emulated:r=new Gj(l,c,i,this.appId,u,o,a,d);break;case Hr.ShadowDom:return new Xse(l,c,e,i,o,a,this.nonce,d);default:r=new nk(l,c,i,u,o,a,d)}s.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(jj),Ve(Hj),Ve(j1),Ve(Wse),Ve(Ki),Ve(_c),Ve(sn),Ve(TR))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class tk{constructor(t,e,i,s){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=s,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(JE[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(zj(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(zj(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new Oe(-5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,s){if(s){e=s+":"+e;const r=JE[s];r?t.setAttributeNS(r,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const s=JE[i];s?t.removeAttributeNS(s,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,s){s&(Ru.DashCase|Ru.Important)?t.style.setProperty(e,i,s&Ru.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ru.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){null!=t&&(t[e]=i)}setValue(t,e){t.nodeValue=e}listen(t,e,i){if("string"==typeof t&&!(t=Wu().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(i))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))&&e.preventDefault()}}}function zj(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Xse extends tk{constructor(t,e,i,s,r,o,a,l){super(t,r,o,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Uj(s.id,s.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class nk extends tk{constructor(t,e,i,s,r,o,a,l){super(t,r,o,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=s,this.styles=l?Uj(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Gj extends nk{constructor(t,e,i,s,r,o,a,l){const c=s+"-"+i.id;super(t,e,i,r,o,a,l,c),this.contentAttr=function $se(n){return"_ngcontent-%COMP%".replace(QE,n)}(c),this.hostAttr=function qse(n){return"_nghost-%COMP%".replace(QE,n)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let Zse=(()=>{class n extends Bj{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,s){return e.addEventListener(i,s,!1),()=>this.removeEventListener(e,i,s)}removeEventListener(e,i,s){return e.removeEventListener(i,s)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Ki))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const Wj=["alt","control","meta","shift"],Jse={"\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"},Qse={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let ere=(()=>{class n extends Bj{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,s){const r=n.parseEventName(i),o=n.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wu().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const i=e.toLowerCase().split("."),s=i.shift();if(0===i.length||"keydown"!==s&&"keyup"!==s)return null;const r=n._normalizeKey(i.pop());let o="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),o="code."),Wj.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),o+=c+".")}),o+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=s,l.fullKey=o,l}static matchEventFullKeyCode(e,i){let s=Jse[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(s=e.code,r="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),Wj.forEach(o=>{o!==s&&(0,Qse[o])(e)&&(r+=o+".")}),r+=s,r===i)}static eventCallback(e,i,s){return r=>{n.matchEventFullKeyCode(r,e)&&s.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Ki))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const qj=[{provide:_c,useValue:Tj},{provide:xR,useValue:function tre(){KE.makeCurrent()},multi:!0},{provide:Ki,useFactory:function ire(){return function _q(n){_S=n}(document),document},deps:[]}],sre=wY(dne,"browser",qj),rre=new dt(""),Kj=[{provide:Fb,useClass:class Hse{addToWindow(t){zn.getAngularTestability=(i,s=!0)=>{const r=t.findTestabilityInTree(i,s);if(null==r)throw new Oe(5103,!1);return r},zn.getAllAngularTestabilities=()=>t.getAllTestabilities(),zn.getAllAngularRootElements=()=>t.getAllRootElements(),zn.frameworkStabilizers||(zn.frameworkStabilizers=[]),zn.frameworkStabilizers.push(i=>{const s=zn.getAllAngularTestabilities();let r=s.length;const o=function(){r--,0==r&&i()};s.forEach(a=>{a.whenStable(o)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Wu().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:uY,useClass:fE,deps:[sn,pE,Fb]},{provide:fE,useClass:fE,deps:[sn,pE,Fb]}],Xj=[{provide:fl,useValue:"root"},{provide:Qo,useFactory:function nre(){return new Qo},deps:[]},{provide:XE,useClass:Zse,multi:!0,deps:[Ki,sn,_c]},{provide:XE,useClass:ere,multi:!0,deps:[Ki]},ek,Hj,jj,{provide:hT,useExisting:ek},{provide:Oj,useClass:Vse,deps:[]},[]];let Zj=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:j1,useValue:e.appId}]}}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(rre,12))};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[...Xj,...Kj],imports:[qu,hne]})}return n})(),Jj=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Ki))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Oh(n){return n&&"function"==typeof n.schedule}const n4=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()};function ik(n,t){return new Un(e=>{const i=new hi;let s=0;return i.add(t.schedule(function(){s!==n.length?(e.next(n[s++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function Ty(n,t){return t?ik(n,t):new Un(n4(n))}function ct(...n){let t=n[n.length-1];return Oh(t)?(n.pop(),ik(n,t)):Ty(n)}const Ku=function ure(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),i4=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function s4(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const sk=n=>{if(n&&"function"==typeof n[hu])return(n=>t=>{const e=n[hu]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(i4(n))return n4(n);if(s4(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Wo),t))(n);if(n&&"function"==typeof n[Ku])return(n=>t=>{const e=n[Ku]();for(;;){let i;try{i=e.next()}catch(s){return t.error(s),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${Uf(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Es(n,t){return t?function yre(n,t){if(null!=n){if(function mre(n){return n&&"function"==typeof n[hu]}(n))return function fre(n,t){return new Un(e=>{const i=new hi;return i.add(t.schedule(()=>{const s=n[hu]();i.add(s.subscribe({next(r){i.add(t.schedule(()=>e.next(r)))},error(r){i.add(t.schedule(()=>e.error(r)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(s4(n))return function pre(n,t){return new Un(e=>{const i=new hi;return i.add(t.schedule(()=>n.then(s=>{i.add(t.schedule(()=>{e.next(s),i.add(t.schedule(()=>e.complete()))}))},s=>{i.add(t.schedule(()=>e.error(s)))}))),i})}(n,t);if(i4(n))return ik(n,t);if(function _re(n){return n&&"function"==typeof n[Ku]}(n)||"string"==typeof n)return function gre(n,t){if(!n)throw new Error("Iterable cannot be null");return new Un(e=>{const i=new hi;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(t.schedule(()=>{s=n[Ku](),i.add(t.schedule(function(){if(e.closed)return;let r,o;try{const a=s.next();r=a.value,o=a.done}catch(a){return void e.error(a)}o?e.complete():(e.next(r),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof Un?n:new Un(sk(n))}class sg extends Mn{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class rg extends Mn{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function og(n,t){if(t.closed)return;if(n instanceof Un)return n.subscribe(t);let e;try{e=sk(n)(t)}catch(i){t.error(i)}return e}function _t(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(_t((s,r)=>Es(n(s,r)).pipe(ht((o,a)=>t(s,o,r,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new vre(n,e)))}class vre{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new bre(t,this.project,this.concurrent))}}class bre extends rg{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(e)}_innerSub(t){const e=new sg(this),i=this.destination;i.add(e);const s=og(t,e);s!==e&&i.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Lh(n,t){return _t(n,t,1)}function ks(n,t){return function(i){return i.lift(new wre(n,t))}}class wre{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Cre(t,this.predicate,this.thisArg))}}class Cre extends Mn{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}function ag(n){return t=>t.lift(new Mre(n))}class Mre{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Dre(t,this.callback))}}class Dre extends Mn{constructor(t,e){super(t),this.add(new hi(e))}}function Gs(n,t){return"function"==typeof t?e=>e.pipe(Gs((i,s)=>Es(n(i,s)).pipe(ht((r,o)=>t(i,r,s,o))))):e=>e.lift(new xre(n))}class xre{constructor(t){this.project=t}call(t,e){return e.subscribe(new Sre(t,this.project))}}class Sre extends rg{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(s){return void this.destination.error(s)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new sg(this),s=this.destination;s.add(i),this.innerSubscription=og(t,i),this.innerSubscription!==i&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}class dw{}class hw{}class ia{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const s=e.slice(0,i),r=s.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(s,r),this.headers.has(r)?this.headers.get(r).push(o):this.headers.set(r,[o])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof ia?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new ia;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ia?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const s=("a"===t.op?this.headers.get(e):void 0)||[];s.push(...i),this.headers.set(e,s);break;case"d":const r=t.value;if(r){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===r.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(t,e){const i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),s=t.toLowerCase();this.headers.set(s,i),this.maybeSetNormalizedName(t,s)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Tre{encodeKey(t){return r4(t)}encodeValue(t){return r4(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const kre=/%(\d[a-f0-9])/gi,Ore={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function r4(n){return encodeURIComponent(n).replace(kre,(t,e)=>Ore[e]??t)}function fw(n){return`${n}`}class Gr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Tre,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ere(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(s=>{const r=s.indexOf("="),[o,a]=-1==r?[t.decodeKey(s),""]:[t.decodeKey(s.slice(0,r)),t.decodeValue(s.slice(r+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],s=Array.isArray(i)?i.map(fw):[fw(i)];this.map.set(e,s)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const s=t[i];Array.isArray(s)?s.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:s,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Gr({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(fw(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const s=i.indexOf(fw(t.value));-1!==s&&i.splice(s,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Lre{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function o4(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function a4(n){return typeof Blob<"u"&&n instanceof Blob}function l4(n){return typeof FormData<"u"&&n instanceof FormData}class Ey{constructor(t,e,i,s){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Pre(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==i?i:null,r=s):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new ia,this.context??=new Lre,this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+o}}else this.params=new Gr,this.urlWithParams=e}serializeBody(){return null===this.body?null:"string"==typeof this.body||o4(this.body)||a4(this.body)||l4(this.body)||function Ire(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Gr?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||l4(this.body)?null:a4(this.body)?this.body.type||null:o4(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Gr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const e=t.method||this.method,i=t.url||this.url,s=t.responseType||this.responseType,r=t.transferCache??this.transferCache,o=void 0!==t.body?t.body:this.body,a=t.withCredentials??this.withCredentials,l=t.reportProgress??this.reportProgress;let c=t.headers||this.headers,u=t.params||this.params;const d=t.context??this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((h,p)=>h.set(p,t.setHeaders[p]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((h,p)=>h.set(p,t.setParams[p]),u)),new Ey(e,i,o,{params:u,headers:c,context:d,reportProgress:l,responseType:s,withCredentials:a,transferCache:r})}}var Xu=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(Xu||{});class rk{constructor(t,e=ky.Ok,i="OK"){this.headers=t.headers||new ia,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class pw extends rk{constructor(t={}){super(t),this.type=Xu.ResponseHeader}clone(t={}){return new pw({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ph extends rk{constructor(t={}){super(t),this.type=Xu.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ph({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ih extends rk{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var ky=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(ky||{});function ok(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}let fs=(()=>{class n{constructor(e){this.handler=e}request(e,i,s={}){let r;if(e instanceof Ey)r=e;else{let l,c;l=s.headers instanceof ia?s.headers:new ia(s.headers),s.params&&(c=s.params instanceof Gr?s.params:new Gr({fromObject:s.params})),r=new Ey(e,i,void 0!==s.body?s.body:null,{headers:l,context:s.context,params:c,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}const o=ct(r).pipe(Lh(l=>this.handler.handle(l)));if(e instanceof Ey||"events"===s.observe)return o;const a=o.pipe(ks(l=>l instanceof Ph));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(ht(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ht(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ht(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ht(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Gr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,s={}){return this.request("PATCH",e,ok(s,i))}post(e,i,s={}){return this.request("POST",e,ok(s,i))}put(e,i,s={}){return this.request("PUT",e,ok(s,i))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(dw))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function u4(n,t){return t(n)}function Yre(n,t){return(e,i)=>t.intercept(e,{handle:s=>n(s,i)})}const gw=new dt(""),Oy=new dt(""),d4=new dt(""),h4=new dt("");function Bre(){let n=null;return(t,e)=>{null===n&&(n=(fe(gw,{optional:!0})??[]).reduceRight(Yre,u4));const i=fe(ju),s=i.add();return n(t,e).pipe(ag(()=>i.remove(s)))}}let f4=(()=>{class n extends dw{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=fe(ju);const s=fe(h4,{optional:!0});this.backend=s??e}handle(e){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(Oy),...this.injector.get(d4,[])]));this.chain=s.reduceRight((r,o)=>function jre(n,t,e){return(i,s)=>Xo(e,()=>t(i,r=>n(r,s)))}(r,o,this.injector),u4)}const i=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(ag(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(hw),Ve(ys))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const Gre=/^\)\]\}',?\n/;let g4=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Oe(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Es(i.\u0275loadImpl()):ct(null)).pipe(Gs(()=>new Un(r=>{const o=i.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((v,x)=>o.setRequestHeader(v,x.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const v=e.detectContentTypeHeader();null!==v&&o.setRequestHeader("Content-Type",v)}if(e.responseType){const v=e.responseType.toLowerCase();o.responseType="json"!==v?v:"text"}const a=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=o.statusText||"OK",x=new ia(o.getAllResponseHeaders()),k=function Wre(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return l=new pw({headers:x,status:o.status,statusText:v,url:k}),l},u=()=>{let{headers:v,status:x,statusText:k,url:P}=c(),j=null;x!==ky.NoContent&&(j=typeof o.response>"u"?o.responseText:o.response),0===x&&(x=j?ky.Ok:0);let z=x>=200&&x<300;if("json"===e.responseType&&"string"==typeof j){const G=j;j=j.replace(Gre,"");try{j=""!==j?JSON.parse(j):null}catch(Z){j=G,z&&(z=!1,j={error:Z,text:j})}}z?(r.next(new Ph({body:j,headers:v,status:x,statusText:k,url:P||void 0})),r.complete()):r.error(new Ih({error:j,headers:v,status:x,statusText:k,url:P||void 0}))},d=v=>{const{url:x}=c(),k=new Ih({error:v,status:o.status||0,statusText:o.statusText||"Unknown Error",url:x||void 0});r.error(k)};let h=!1;const p=v=>{h||(r.next(c()),h=!0);let x={type:Xu.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(x.total=v.total),"text"===e.responseType&&o.responseText&&(x.partialText=o.responseText),r.next(x)},_=v=>{let x={type:Xu.UploadProgress,loaded:v.loaded};v.lengthComputable&&(x.total=v.total),r.next(x)};return o.addEventListener("load",u),o.addEventListener("error",d),o.addEventListener("timeout",d),o.addEventListener("abort",d),e.reportProgress&&(o.addEventListener("progress",p),null!==a&&o.upload&&o.upload.addEventListener("progress",_)),o.send(a),r.next({type:Xu.Sent}),()=>{o.removeEventListener("error",d),o.removeEventListener("abort",d),o.removeEventListener("load",u),o.removeEventListener("timeout",d),e.reportProgress&&(o.removeEventListener("progress",p),null!==a&&o.upload&&o.upload.removeEventListener("progress",_)),o.readyState!==o.DONE&&o.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Oj))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const ck=new dt(""),m4=new dt("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),_4=new dt("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class y4{}let Kre=(()=>{class n{constructor(e,i,s){this.doc=e,this.platform=i,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=mj(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Ki),Ve(_c),Ve(m4))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function Xre(n,t){const e=n.url.toLowerCase();if(!fe(ck)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=fe(y4).getToken(),s=fe(_4);return null!=i&&!n.headers.has(s)&&(n=n.clone({headers:n.headers.set(s,i)})),t(n)}var Zu=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(Zu||{});function Zre(...n){const t=[fs,g4,f4,{provide:dw,useExisting:f4},{provide:hw,useExisting:g4},{provide:Oy,useValue:Xre,multi:!0},{provide:ck,useValue:!0},{provide:y4,useClass:Kre}];for(const e of n)t.push(...e.\u0275providers);return function dl(n){return{\u0275providers:n}}(t)}const v4=new dt("");function Jre(){return function Ah(n,t){return{\u0275kind:n,\u0275providers:t}}(Zu.LegacyInterceptors,[{provide:v4,useFactory:Bre},{provide:Oy,useExisting:v4,multi:!0}])}let Qre=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[Zre(Jre())]})}return n})();var Vt=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(Vt||{});const Sc="*";function T4(n,t){return{type:Vt.Trigger,name:n,definitions:t,options:{}}}function _w(n,t=null){return{type:Vt.Animate,styles:t,timings:n}}function Rh(n){return{type:Vt.Style,styles:n,offset:null}}function uk(n,t,e){return{type:Vt.State,name:n,styles:t,options:e}}function yw(n,t,e=null){return{type:Vt.Transition,expr:n,animation:t,options:e}}class Ly{constructor(t=0,e=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class E4{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,s=0;const r=this.players.length;0==r?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==r&&this._onFinish()}),o.onDestroy(()=>{++i==r&&this._onDestroy()}),o.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const s=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(s)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function k4(n){return new Oe(3e3,!1)}function Ju(n){switch(n.length){case 0:return new Ly;case 1:return n[0];default:return new E4(n)}}function O4(n,t,e=new Map,i=new Map){const s=[],r=[];let o=-1,a=null;if(t.forEach(l=>{const c=l.get("offset"),u=c==o,d=u&&a||new Map;l.forEach((h,p)=>{let _=p,v=h;if("offset"!==p)switch(_=n.normalizePropertyName(_,s),v){case"!":v=e.get(p);break;case Sc:v=i.get(p);break;default:v=n.normalizeStyleValue(p,_,v,s)}d.set(_,v)}),u||r.push(d),a=d,o=c}),s.length)throw function Poe(n){return new Oe(3502,!1)}();return r}function hk(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&fk(e,"start",n)));break;case"done":n.onDone(()=>i(e&&fk(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&fk(e,"destroy",n)))}}function fk(n,t,e){const r=pk(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),o=n._data;return null!=o&&(r._data=o),r}function pk(n,t,e,i,s="",r=0,o){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function Eo(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function L4(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}const zoe=typeof document>"u"?null:document.documentElement;function gk(n){const t=n.parentNode||n.host||null;return t===zoe?null:t}let Nh=null,P4=!1;function I4(n,t){for(;t;){if(t===n)return!0;t=gk(t)}return!1}function A4(n,t,e){if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]}let mk=(()=>{class n{validateStyleProperty(e){return function Woe(n){Nh||(Nh=function $oe(){return typeof document<"u"?document.body:null}()||{},P4=!!Nh.style&&"WebkitAppearance"in Nh.style);let t=!0;return Nh.style&&!function Goe(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Nh.style,!t&&P4&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Nh.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return I4(e,i)}getParentElement(e){return gk(e)}query(e,i,s){return A4(e,i,s)}computeStyle(e,i,s){return s||""}animate(e,i,s,r,o,a=[],l){return new Ly(s,r)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class _k{static#e=this.NOOP=new mk}class yk{}const Koe=1e3,vk="ng-enter",vw="ng-leave",bw="ng-trigger",ww=".ng-trigger",N4="ng-animating",bk=".ng-animating";function Tc(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:wk(parseFloat(t[1]),t[2])}function wk(n,t){return"s"===t?n*Koe:n}function Cw(n,t,e){return n.hasOwnProperty("duration")?n:function Zoe(n,t,e){let s,r=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(k4()),{duration:0,delay:0,easing:""};s=wk(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=wk(parseFloat(l),a[4]));const c=a[5];c&&(o=c)}else s=n;if(!e){let a=!1,l=t.length;s<0&&(t.push(function uoe(){return new Oe(3100,!1)}()),a=!0),r<0&&(t.push(function doe(){return new Oe(3101,!1)}()),a=!0),a&&t.splice(l,0,k4())}return{duration:s,delay:r,easing:o}}(n,t,e)}function xl(n,t,e){t.forEach((i,s)=>{const r=Mk(s);e&&!e.has(s)&&e.set(s,n.style[r]),n.style[r]=i})}function Fh(n,t){t.forEach((e,i)=>{const s=Mk(i);n.style[s]=""})}function Py(n){return Array.isArray(n)?1==n.length?n[0]:function roe(n,t=null){return{type:Vt.Sequence,steps:n,options:t}}(n):n}const Ck=new RegExp("{{\\s*(.+?)\\s*}}","g");function Y4(n){let t=[];if("string"==typeof n){let e;for(;e=Ck.exec(n);)t.push(e[1]);Ck.lastIndex=0}return t}function Iy(n,t,e){const i=`${n}`,s=i.replace(Ck,(r,o)=>{let a=t[o];return null==a&&(e.push(function foe(n){return new Oe(3003,!1)}()),a=""),a.toString()});return s==i?n:s}const eae=/-+([a-z0-9])/g;function Mk(n){return n.replace(eae,(...t)=>t[1].toUpperCase())}function ko(n,t,e){switch(t.type){case Vt.Trigger:return n.visitTrigger(t,e);case Vt.State:return n.visitState(t,e);case Vt.Transition:return n.visitTransition(t,e);case Vt.Sequence:return n.visitSequence(t,e);case Vt.Group:return n.visitGroup(t,e);case Vt.Animate:return n.visitAnimate(t,e);case Vt.Keyframes:return n.visitKeyframes(t,e);case Vt.Style:return n.visitStyle(t,e);case Vt.Reference:return n.visitReference(t,e);case Vt.AnimateChild:return n.visitAnimateChild(t,e);case Vt.AnimateRef:return n.visitAnimateRef(t,e);case Vt.Query:return n.visitQuery(t,e);case Vt.Stagger:return n.visitStagger(t,e);default:throw function poe(n){return new Oe(3004,!1)}()}}function Dk(n,t){return window.getComputedStyle(n)[t]}const iae=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 j4 extends yk{normalizePropertyName(t,e){return Mk(t)}normalizeStyleValue(t,e,i,s){let r="";const o=i.toString().trim();if(iae.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&s.push(function goe(n,t){return new Oe(3005,!1)}())}return o+r}}const Mw="*";const Dw=new Set(["true","1"]),xw=new Set(["false","0"]);function B4(n,t){const e=Dw.has(n)||xw.has(n),i=Dw.has(t)||xw.has(t);return(s,r)=>{let o=n==Mw||n==s,a=t==Mw||t==r;return!o&&e&&"boolean"==typeof s&&(o=s?Dw.has(n):xw.has(n)),!a&&i&&"boolean"==typeof r&&(a=r?Dw.has(t):xw.has(t)),o&&a}}const aae=new RegExp("s*:selfs*,?","g");function xk(n,t,e,i){return new lae(n).build(t,e,i)}class lae{constructor(t){this._driver=t}build(t,e,i){const s=new dae(e);return this._resetContextStyleTimingState(s),ko(this,Py(t),s)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,s=e.depCount=0;const r=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function moe(){return new Oe(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==Vt.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,e))}),l.name=c}else if(a.type==Vt.Transition){const l=this.visitTransition(a,e);i+=l.queryCount,s+=l.depCount,o.push(l)}else e.errors.push(function _oe(){return new Oe(3007,!1)}())}),{type:Vt.Trigger,name:t.name,states:r,transitions:o,queryCount:i,depCount:s,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),s=t.options&&t.options.params||null;if(i.containsDynamicStyles){const r=new Set,o=s||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Y4(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size&&e.errors.push(function yoe(n,t){return new Oe(3008,!1)}(0,r.values()))}return{type:Vt.State,name:t.name,style:i,options:s?{params:s}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=ko(this,Py(t.animation),e),s=function sae(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function rae(n,t,e){if(":"==n[0]){const l=function oae(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(function Eoe(n){return new Oe(3016,!1)}()),"* => *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Toe(n){return new Oe(3015,!1)}()),t;const s=i[1],r=i[2],o=i[3];t.push(B4(s,o)),"<"==r[0]&&(s!=Mw||o!=Mw)&&t.push(B4(o,s))}(i,e,t)):e.push(n),e}(t.expr,e.errors);return{type:Vt.Transition,matchers:s,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Yh(t.options)}}visitSequence(t,e){return{type:Vt.Sequence,steps:t.steps.map(i=>ko(this,i,e)),options:Yh(t.options)}}visitGroup(t,e){const i=e.currentTime;let s=0;const r=t.steps.map(o=>{e.currentTime=i;const a=ko(this,o,e);return s=Math.max(s,e.currentTime),a});return e.currentTime=s,{type:Vt.Group,steps:r,options:Yh(t.options)}}visitAnimate(t,e){const i=function fae(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Sk(Cw(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=Sk(0,0,"");return r.dynamic=!0,r.strValue=e,r}const s=Cw(e,t);return Sk(s.duration,s.delay,s.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let s,r=t.styles?t.styles:Rh({});if(r.type==Vt.Keyframes)s=this.visitKeyframes(r,e);else{let o=t.styles,a=!1;if(!o){a=!0;const c={};i.easing&&(c.easing=i.easing),o=Rh(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,s=l}return e.currentAnimateTimings=null,{type:Vt.Animate,timings:i,style:s,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],s=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of s)"string"==typeof a?a===Sc?i.push(a):e.errors.push(new Oe(3002,!1)):i.push(new Map(Object.entries(a)));let r=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:Vt.Style,styles:i,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let s=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),t.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(r!=s&&r>=u.startTime&&s<=u.endTime&&(e.errors.push(function boe(n,t,e,i,s){return new Oe(3010,!1)}()),d=!1),r=u.startTime),d&&c.set(l,{startTime:r,endTime:s}),e.options&&function Qoe(n,t,e){const i=t.params||{},s=Y4(n);s.length&&s.forEach(r=>{i.hasOwnProperty(r)||e.push(function hoe(n){return new Oe(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:Vt.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function woe(){return new Oe(3011,!1)}()),i;let r=0;const o=[];let a=!1,l=!1,c=0;const u=t.steps.map(k=>{const P=this._makeStyleAst(k,e);let j=null!=P.offset?P.offset:function hae(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(P.styles),z=0;return null!=j&&(r++,z=P.offset=j),l=l||z<0||z>1,a=a||z<c,c=z,o.push(z),P});l&&e.errors.push(function Coe(){return new Oe(3012,!1)}()),a&&e.errors.push(function Moe(){return new Oe(3200,!1)}());const d=t.steps.length;let h=0;r>0&&r<d?e.errors.push(function Doe(){return new Oe(3202,!1)}()):0==r&&(h=1/(d-1));const p=d-1,_=e.currentTime,v=e.currentAnimateTimings,x=v.duration;return u.forEach((k,P)=>{const j=h>0?P==p?1:h*P:o[P],z=j*x;e.currentTime=_+v.delay+z,v.duration=z,this._validateStyleAst(k,e),k.offset=j,i.styles.push(k)}),i}visitReference(t,e){return{type:Vt.Reference,animation:ko(this,Py(t.animation),e),options:Yh(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:Vt.AnimateChild,options:Yh(t.options)}}visitAnimateRef(t,e){return{type:Vt.AnimateRef,animation:this.visitReference(t.animation,e),options:Yh(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,s=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function cae(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(aae,"")),n=n.replace(/@\*/g,ww).replace(/@\w+/g,e=>ww+"-"+e.slice(1)).replace(/:animating/g,bk),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+r:r,Eo(e.collectedStyles,e.currentQuerySelector,new Map);const a=ko(this,Py(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Vt.Query,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:Yh(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function xoe(){return new Oe(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:Cw(t.timings,e.errors,!0);return{type:Vt.Stagger,animation:ko(this,Py(t.animation),e),timings:i,options:null}}}class dae{constructor(t){this.errors=t,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 Yh(n){return n?(n={...n}).params&&(n.params=function uae(n){return n?{...n}:null}(n.params)):n={},n}function Sk(n,t,e){return{duration:n,delay:t,easing:e}}function Tk(n,t,e,i,s,r,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class Sw{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const mae=new RegExp(":enter","g"),yae=new RegExp(":leave","g");function Ek(n,t,e,i,s,r=new Map,o=new Map,a,l,c=[]){return(new vae).buildKeyframes(n,t,e,i,s,r,o,a,l,c)}class vae{buildKeyframes(t,e,i,s,r,o,a,l,c,u=[]){c=c||new Sw;const d=new kk(t,e,c,s,r,u,[]);d.options=l;const h=l.delay?Tc(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([o],null,d.errors,l),ko(this,i,d);const p=d.timelines.filter(_=>_.containsAnimation());if(p.length&&a.size){let _;for(let v=p.length-1;v>=0;v--){const x=p[v];if(x.element===e){_=x;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([a],null,d.errors,l)}return p.length?p.map(_=>_.buildKeyframes()):[Tk(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const s=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(i,s,s.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const s of t){const r=s?.delay;if(r){const o="number"==typeof r?r:Tc(Iy(r,s?.params??{},e.errors));i.delayNextStep(o)}}}_visitSubInstructions(t,e,i){let r=e.currentTimeline.currentTime;const o=null!=i.duration?Tc(i.duration):null,a=null!=i.delay?Tc(i.delay):null;return 0!==o&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,o,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),ko(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let s=e;const r=t.options;if(r&&(r.params||r.delay)&&(s=e.createSubContext(r),s.transformIntoNewTimeline(),null!=r.delay)){s.previousNode.type==Vt.Style&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Tw);const o=Tc(r.delay);s.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>ko(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let s=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?Tc(t.options.delay):0;t.steps.forEach(o=>{const a=e.createSubContext(t.options);r&&a.delayNextStep(r),ko(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(s),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return Cw(e.params?Iy(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),s=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),s.snapshotCurrentStyles());const r=t.style;r.type==Vt.Keyframes?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,s=e.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=s&&s.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,s=e.currentTimeline.duration,r=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(s+r),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,s=t.options||{},r=s.delay?Tc(s.delay):0;r&&(e.previousNode.type===Vt.Style||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Tw);let o=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);r&&d.delayNextStep(r),c===e.element&&(l=d.currentTimeline),ko(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,s=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;ko(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=s.currentTime-d+(s.startTime-i.currentTimeline.startTime)}}const Tw={};class kk{constructor(t,e,i,s,r,o,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tw,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ew(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let s=this.options;null!=i.duration&&(s.duration=Tc(i.duration)),null!=i.delay&&(s.delay=Tc(i.delay));const r=i.params;if(r){let o=s.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=Iy(r[a],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(s=>{i[s]=e[s]})}}return t}createSubContext(t=null,e,i){const s=e||this.element,r=new kk(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=Tw,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const s={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new bae(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,s,t.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,s,r,o){let a=[];if(s&&a.push(this.element),t.length>0){t=(t=t.replace(mae,"."+this._enterClassName)).replace(yae,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&0==a.length&&o.push(function Soe(n){return new Oe(3014,!1)}()),a}}class Ew{constructor(t,e,i,s){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=s,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Ew(this._driver,t,e||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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Sc),this._currentKeyframe.set(e,Sc);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,s){e&&this._previousKeyframe.set("easing",e);const r=s&&s.params||{},o=function wae(n,t){const e=new Map;let i;return n.forEach(s=>{if("*"===s){i??=t.keys();for(let r of i)e.set(r,Sc)}else for(let[r,o]of s)e.set(r,o)}),e}(t,this._globalTimelineStyles);for(let[a,l]of o){const c=Iy(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Sc),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const s=this._styleSummary.get(i);(!s||e.time>s.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((u,d)=>{"!"===u?t.add(d):u===Sc&&e.add(d)}),i||c.set("offset",l/this.duration),s.push(c)});const r=[...t.values()],o=[...e.values()];if(i){const a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return Tk(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}}class bae extends Ew{constructor(t,e,i,s,r,o,a=!1){super(t,e,o.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=i+e,a=e/o,l=new Map(t[0]);l.set("offset",0),r.push(l);const c=new Map(t[0]);c.set("offset",U4(a)),r.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=new Map(t[d]);const p=h.get("offset");h.set("offset",U4((e+p*i)/o)),r.push(h)}i=o,e=0,s="",t=r}return Tk(this.element,t,this.preStyleProps,this.postStyleProps,i,e,s,!0)}}function U4(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}function z4(n,t,e,i,s,r,o,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:s,fromState:e,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Ok={};class G4{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,s){return function Cae(n,t,e,i,s){return n.some(r=>r(t,e,i,s))}(this.ast.matchers,t,e,i,s)}buildStyles(t,e,i){let s=this._stateStyles.get("*");return void 0!==t&&(s=this._stateStyles.get(t?.toString())||s),s?s.buildStyles(e,i):new Map}build(t,e,i,s,r,o,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Ok,_=this.buildStyles(i,a&&a.params||Ok,d),v=l&&l.params||Ok,x=this.buildStyles(s,v,d),k=new Set,P=new Map,j=new Map,z="void"===s,G={params:W4(v,h),delay:this.ast.options?.delay},Z=u?[]:Ek(t,e,this.ast.animation,r,o,_,x,G,c,d);let oe=0;return Z.forEach(ce=>{oe=Math.max(ce.duration+ce.delay,oe)}),d.length?z4(e,this._triggerName,i,s,z,_,x,[],[],P,j,oe,d):(Z.forEach(ce=>{const Se=ce.element,Re=Eo(P,Se,new Set);ce.preStyleProps.forEach(Fe=>Re.add(Fe));const Ye=Eo(j,Se,new Set);ce.postStyleProps.forEach(Fe=>Ye.add(Fe)),Se!==e&&k.add(Se)}),z4(e,this._triggerName,i,s,z,_,x,Z,[...k.values()],P,j,oe))}}function W4(n,t){const e={...t};return Object.entries(n).forEach(([i,s])=>{null!=s&&(e[i]=s)}),e}class Mae{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,s=W4(t,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((o,a)=>{o&&(o=Iy(o,s,e));const l=this.normalizer.normalizePropertyName(a,e);o=this.normalizer.normalizeStyleValue(a,l,o,e),i.set(a,o)})}),i}}class xae{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(s=>{this.states.set(s.name,new Mae(s.style,s.options&&s.options.params||{},i))}),$4(this.states,"true","1"),$4(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new G4(t,s,this.states))}),this.fallbackTransition=function Sae(n,t,e){return new G4(n,{type:Vt.Transition,animation:{type:Vt.Sequence,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,s){return this.transitionFactories.find(o=>o.match(t,e,i,s))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function $4(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const Tae=new Sw;class Eae{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=xk(this._driver,e,i,[]);if(i.length)throw function Ioe(n){return new Oe(3503,!1)}();this._animations.set(t,r)}_buildPlayer(t,e,i){const s=t.element,r=O4(this._normalizer,t.keyframes,e,i);return this._driver.animate(s,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const s=[],r=this._animations.get(t);let o;const a=new Map;if(r?(o=Ek(this._driver,e,r,vk,vw,new Map,new Map,i,Tae,s),o.forEach(u=>{const d=Eo(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(s.push(function Aoe(){return new Oe(3300,!1)}()),o=[]),s.length)throw function Roe(n){return new Oe(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,Sc))})});const c=Ju(o.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function Noe(n){return new Oe(3301,!1)}();return e}listen(t,e,i,s){const r=pk(e,"","","");return hk(this._getPlayer(t),i,r,s),()=>{}}command(t,e,i,s){if("register"==i)return void this.register(t,s[0]);if("create"==i)return void this.create(t,e,s[0]||{});const r=this._getPlayer(t);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(t)}}}const q4="ng-animate-queued",Lk="ng-animate-disabled",Iae=[],K4={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Aae={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Aa="__ng_removed";class Pk{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function Yae(n){return n??null}(i?t.value:t),i){const{value:r,...o}=t;this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(s=>{null==i[s]&&(i[s]=e[s])})}}}const Ay="void",Ik=new Pk(Ay);class Rae{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,sa(e,this._hostClassName)}listen(t,e,i,s){if(!this._triggers.has(e))throw function Foe(n,t){return new Oe(3302,!1)}();if(null==i||0==i.length)throw function Yoe(n){return new Oe(3303,!1)}();if(!function jae(n){return"start"==n||"done"==n}(i))throw function joe(n,t){return new Oe(3400,!1)}();const r=Eo(this._elementListeners,t,[]),o={name:e,phase:i,callback:s};r.push(o);const a=Eo(this._engine.statesByElement,t,new Map);return a.has(e)||(sa(t,bw),sa(t,bw+"-"+e),a.set(e,Ik)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function Boe(n){return new Oe(3401,!1)}();return e}trigger(t,e,i,s=!0){const r=this._getTrigger(e),o=new Ak(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(sa(t,bw),sa(t,bw+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new Pk(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Ik),c.value!==Ay&&l.value===c.value){if(!function Vae(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let s=0;s<e.length;s++){const r=e[s];if(!t.hasOwnProperty(r)||n[r]!==t[r])return!1}return!0}(l.params,c.params)){const v=[],x=r.matchStyles(l.value,l.params,v),k=r.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Fh(t,x),xl(t,k)})}return}const h=Eo(this._engine.playersByElement,t,[]);h.forEach(v=>{v.namespaceId==this.id&&v.triggerName==e&&v.queued&&v.destroy()});let p=r.matchTransition(l.value,c.value,t,c.params),_=!1;if(!p){if(!s)return;p=r.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:c,player:o,isFallbackTransition:_}),_||(sa(t,q4),o.onStart(()=>{lg(t,q4)})),o.onDone(()=>{let v=this.players.indexOf(o);v>=0&&this.players.splice(v,1);const x=this._engine.playersByElement.get(t);if(x){let k=x.indexOf(o);k>=0&&x.splice(k,1)}}),this.players.push(o),h.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(s=>s.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,ww,!0);i.forEach(s=>{if(s[Aa])return;const r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(o=>o.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(t,e,i,s){const r=this._engine.statesByElement.get(t),o=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Ay,s);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),i&&Ju(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const s=new Set;e.forEach(r=>{const o=r.name;if(s.has(o))return;s.add(o);const l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Ik,u=new Pk(Ay),d=new Ak(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let s=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)s=!0;else{let o=t;for(;o=o.parentNode;)if(i.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(t),s)i.markElementAsRemoved(this.id,t,!1,e);else{const r=t[Aa];(!r||r===K4)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){sa(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const r=i.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==i.triggerName){const l=pk(r,i.triggerName,i.fromState.value,i.toState.value);l._data=t,hk(i.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(i)}),this._queue=[],e.sort((i,s)=>{const r=i.transition.ast.depCount,o=s.transition.ast.depCount;return 0==r||0==o?r-o:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class Nae{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i,s){this.bodyNode=t,this.driver=e,this._normalizer=i,this.scheduler=s,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=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new Rae(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(e);for(;a;){const l=s.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(t)}else i.push(t);return s.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let s=this._namespaceLookup[t];s&&s.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let s of i.values())if(s.namespaceId){const r=this._fetchNamespace(s.namespaceId);r&&e.add(r)}return e}trigger(t,e,i,s){if(kw(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,i,s),!0}return!1}insertNode(t,e,i,s){if(!kw(e))return;const r=e[Aa];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,i)}s&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),sa(t,Lk)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),lg(t,Lk))}removeNode(t,e,i){if(kw(e)){this.scheduler?.notify();const s=t?this._fetchNamespace(t):null;s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);const r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,s,r){this.collectedLeaveElements.push(e),e[Aa]={namespaceId:t,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,i,s,r){return kw(e)?this._fetchNamespace(t).listen(e,i,s,r):()=>{}}_buildInstruction(t,e,i,s,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,s,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,ww,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,bk,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ju(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Aa];if(e&&e.setForRemoval){if(t[Aa]=K4,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Lk)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)sa(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let s=0;s<i.length;s++)i[s]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ju(e).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(t){throw function Hoe(n){return new Oe(3402,!1)}()}_flushAnimations(t,e){const i=new Sw,s=[],r=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(De=>{u.add(De);const Ee=this.driver.query(De,".ng-animate-queued",!0);for(let Be=0;Be<Ee.length;Be++)u.add(Ee[Be])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),p=J4(h,this.collectedEnterElements),_=new Map;let v=0;p.forEach((De,Ee)=>{const Be=vk+v++;_.set(Ee,Be),De.forEach(nt=>sa(nt,Be))});const x=[],k=new Set,P=new Set;for(let De=0;De<this.collectedLeaveElements.length;De++){const Ee=this.collectedLeaveElements[De],Be=Ee[Aa];Be&&Be.setForRemoval&&(x.push(Ee),k.add(Ee),Be.hasAnimation?this.driver.query(Ee,".ng-star-inserted",!0).forEach(nt=>k.add(nt)):P.add(Ee))}const j=new Map,z=J4(h,Array.from(k));z.forEach((De,Ee)=>{const Be=vw+v++;j.set(Ee,Be),De.forEach(nt=>sa(nt,Be))}),t.push(()=>{p.forEach((De,Ee)=>{const Be=_.get(Ee);De.forEach(nt=>lg(nt,Be))}),z.forEach((De,Ee)=>{const Be=j.get(Ee);De.forEach(nt=>lg(nt,Be))}),x.forEach(De=>{this.processLeaveNode(De)})});const G=[],Z=[];for(let De=this._namespaceList.length-1;De>=0;De--)this._namespaceList[De].drainQueuedTransitions(e).forEach(Be=>{const nt=Be.player,xt=Be.element;if(G.push(nt),this.collectedEnterElements.length){const En=xt[Aa];if(En&&En.setForMove){if(En.previousTriggersValues&&En.previousTriggersValues.has(Be.triggerName)){const Vi=En.previousTriggersValues.get(Be.triggerName),Ai=this.statesByElement.get(Be.element);if(Ai&&Ai.has(Be.triggerName)){const Uo=Ai.get(Be.triggerName);Uo.value=Vi,Ai.set(Be.triggerName,Uo)}}return void nt.destroy()}}const Pn=!d||!this.driver.containsElement(d,xt),We=j.get(xt),Tn=_.get(xt),pt=this._buildInstruction(Be,i,Tn,We,Pn);if(pt.errors&&pt.errors.length)return void Z.push(pt);if(Pn)return nt.onStart(()=>Fh(xt,pt.fromStyles)),nt.onDestroy(()=>xl(xt,pt.toStyles)),void s.push(nt);if(Be.isFallbackTransition)return nt.onStart(()=>Fh(xt,pt.fromStyles)),nt.onDestroy(()=>xl(xt,pt.toStyles)),void s.push(nt);const en=[];pt.timelines.forEach(En=>{En.stretchStartingKeyframe=!0,this.disabledNodes.has(En.element)||en.push(En)}),pt.timelines=en,i.append(xt,pt.timelines),o.push({instruction:pt,player:nt,element:xt}),pt.queriedElements.forEach(En=>Eo(a,En,[]).push(nt)),pt.preStyleProps.forEach((En,Vi)=>{if(En.size){let Ai=l.get(Vi);Ai||l.set(Vi,Ai=new Set),En.forEach((Uo,_a)=>Ai.add(_a))}}),pt.postStyleProps.forEach((En,Vi)=>{let Ai=c.get(Vi);Ai||c.set(Vi,Ai=new Set),En.forEach((Uo,_a)=>Ai.add(_a))})});if(Z.length){const De=[];Z.forEach(Ee=>{De.push(function Voe(n,t){return new Oe(3505,!1)}())}),G.forEach(Ee=>Ee.destroy()),this.reportError(De)}const oe=new Map,ce=new Map;o.forEach(De=>{const Ee=De.element;i.has(Ee)&&(ce.set(Ee,Ee),this._beforeAnimationBuild(De.player.namespaceId,De.instruction,oe))}),s.forEach(De=>{const Ee=De.element;this._getPreviousPlayers(Ee,!1,De.namespaceId,De.triggerName,null).forEach(nt=>{Eo(oe,Ee,[]).push(nt),nt.destroy()})});const Se=x.filter(De=>eB(De,l,c)),Re=new Map;Z4(Re,this.driver,P,c,Sc).forEach(De=>{eB(De,l,c)&&Se.push(De)});const Fe=new Map;p.forEach((De,Ee)=>{Z4(Fe,this.driver,new Set(De),l,"!")}),Se.forEach(De=>{const Ee=Re.get(De),Be=Fe.get(De);Re.set(De,new Map([...Ee?.entries()??[],...Be?.entries()??[]]))});const Ze=[],Mt=[],st={};o.forEach(De=>{const{element:Ee,player:Be,instruction:nt}=De;if(i.has(Ee)){if(u.has(Ee))return Be.onDestroy(()=>xl(Ee,nt.toStyles)),Be.disabled=!0,Be.overrideTotalTime(nt.totalTime),void s.push(Be);let xt=st;if(ce.size>1){let We=Ee;const Tn=[];for(;We=We.parentNode;){const pt=ce.get(We);if(pt){xt=pt;break}Tn.push(We)}Tn.forEach(pt=>ce.set(pt,xt))}const Pn=this._buildAnimation(Be.namespaceId,nt,oe,r,Fe,Re);if(Be.setRealPlayer(Pn),xt===st)Ze.push(Be);else{const We=this.playersByElement.get(xt);We&&We.length&&(Be.parentPlayer=Ju(We)),s.push(Be)}}else Fh(Ee,nt.fromStyles),Be.onDestroy(()=>xl(Ee,nt.toStyles)),Mt.push(Be),u.has(Ee)&&s.push(Be)}),Mt.forEach(De=>{const Ee=r.get(De.element);if(Ee&&Ee.length){const Be=Ju(Ee);De.setRealPlayer(Be)}}),s.forEach(De=>{De.parentPlayer?De.syncPlayerEvents(De.parentPlayer):De.destroy()});for(let De=0;De<x.length;De++){const Ee=x[De],Be=Ee[Aa];if(lg(Ee,vw),Be&&Be.hasAnimation)continue;let nt=[];if(a.size){let Pn=a.get(Ee);Pn&&Pn.length&&nt.push(...Pn);let We=this.driver.query(Ee,bk,!0);for(let Tn=0;Tn<We.length;Tn++){let pt=a.get(We[Tn]);pt&&pt.length&&nt.push(...pt)}}const xt=nt.filter(Pn=>!Pn.destroyed);xt.length?Bae(this,Ee,xt):this.processLeaveNode(Ee)}return x.length=0,Ze.forEach(De=>{this.players.push(De),De.onDone(()=>{De.destroy();const Ee=this.players.indexOf(De);this.players.splice(Ee,1)}),De.play()}),Ze}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,s,r){let o=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(o=a)}else{const a=this.playersByElement.get(t);if(a){const l=!r||r==Ay;a.forEach(c=>{c.queued||!l&&c.triggerName!=s||o.push(c)})}}return(i||s)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(t,e,i){const r=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==r,d=Eo(i,c,[]);this._getPreviousPlayers(c,u,o,a,e.toState).forEach(p=>{const _=p.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),p.destroy(),d.push(p)})}Fh(r,e.fromStyles)}_buildAnimation(t,e,i,s,r,o){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(_=>{const v=_.element;u.add(v);const x=v[Aa];if(x&&x.removedBeforeQueried)return new Ly(_.duration,_.delay);const k=v!==l,P=function Hae(n){const t=[];return Q4(n,t),t}((i.get(v)||Iae).map(oe=>oe.getRealPlayer())).filter(oe=>!!oe.element&&oe.element===v),j=r.get(v),z=o.get(v),G=O4(this._normalizer,_.keyframes,j,z),Z=this._buildPlayer(_,G,P);if(_.subTimeline&&s&&d.add(v),k){const oe=new Ak(t,a,v);oe.setRealPlayer(Z),c.push(oe)}return Z});c.forEach(_=>{Eo(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function Fae(n,t,e){let i=n.get(t);if(i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,_.element,_))}),u.forEach(_=>sa(_,N4));const p=Ju(h);return p.onDestroy(()=>{u.forEach(_=>lg(_,N4)),xl(l,e.toStyles)}),d.forEach(_=>{Eo(s,_,[]).push(p)}),p}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Ly(t.duration,t.delay)}}class Ak{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Ly,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(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(s=>hk(t,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Eo(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function kw(n){return n&&1===n.nodeType}function X4(n,t){const e=n.style.display;return n.style.display=t??"none",e}function Z4(n,t,e,i,s){const r=[];e.forEach(l=>r.push(X4(l)));const o=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,s);u.set(d,h),(!h||0==h.length)&&(c[Aa]=Aae,o.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>X4(l,r[a++])),o}function J4(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const s=new Set(t),r=new Map;function o(a){if(!a)return 1;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:s.has(c)?1:o(c),r.set(a,l),l}return t.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function sa(n,t){n.classList?.add(t)}function lg(n,t){n.classList?.remove(t)}function Bae(n,t,e){Ju(e).onDone(()=>n.processLeaveNode(t))}function Q4(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof E4?Q4(i.players,t):t.push(i)}}function eB(n,t,e){const i=e.get(n);if(!i)return!1;let s=t.get(n);return s?i.forEach(r=>s.add(r)):t.set(n,i),e.delete(n),!0}class Ry{constructor(t,e,i,s){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Nae(t.body,e,i,s),this._timelineEngine=new Eae(t.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,s,r){const o=t+"-"+s;let a=this._triggerCache[o];if(!a){const l=[],u=xk(this._driver,r,l,[]);if(l.length)throw function Loe(n,t){return new Oe(3404,!1)}();a=function Dae(n,t,e){return new xae(n,t,e)}(s,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,s,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,s){this._transitionEngine.insertNode(t,e,i,s)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,s){if("@"==i.charAt(0)){const[r,o]=L4(i);this._timelineEngine.command(r,e,o,s)}else this._transitionEngine.trigger(t,e,i,s)}listen(t,e,i,s,r){if("@"==i.charAt(0)){const[o,a]=L4(i);return this._timelineEngine.listen(o,e,a,r)}return this._transitionEngine.listen(t,e,i,s,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}class Ny{static#e=this.initialStylesByElement=new WeakMap;constructor(t,e,i){this._element=t,this._startStyles=e,this._endStyles=i,this._state=0;let s=Ny.initialStylesByElement.get(t);s||Ny.initialStylesByElement.set(t,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&xl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xl(this._element,this._initialStyles),this._endStyles&&(xl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ny.initialStylesByElement.delete(this._element),this._startStyles&&(Fh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fh(this._element,this._endStyles),this._endStyles=null),xl(this._element,this._initialStyles),this._state=3)}}function Rk(n){let t=null;return n.forEach((e,i)=>{(function zae(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class tB{constructor(t,e,i,s){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=s,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{"offset"!==s&&t.set(s,this._finished?i:Dk(this.element,s))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class nB{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return I4(t,e)}getParentElement(t){return gk(t)}query(t,e,i){return A4(t,e,i)}computeStyle(t,e,i){return Dk(t,e)}animate(t,e,i,s,r,o=[]){const l={duration:i,delay:s,fill:0==s?"both":"forwards"};r&&(l.easing=r);const c=new Map,u=o.filter(p=>p instanceof tB);(function tae(n,t){return 0===n||0===t})(i,s)&&u.forEach(p=>{p.currentSnapshot.forEach((_,v)=>c.set(v,_))});let d=function Joe(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}(e).map(p=>new Map(p));d=function nae(n,t,e){if(e.size&&t.length){let i=t[0],s=[];if(e.forEach((r,o)=>{i.has(o)||s.push(o),i.set(o,r)}),s.length)for(let r=1;r<t.length;r++){let o=t[r];s.forEach(a=>o.set(a,Dk(n,a)))}}return t}(t,d,c);const h=function Uae(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=Rk(t[0]),t.length>1&&(i=Rk(t[t.length-1]))):t instanceof Map&&(e=Rk(t)),e||i?new Ny(n,e,i):null}(t,d);return new tB(t,d,l,h)}}const iB="@.disabled";class sB{constructor(t,e,i,s){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=s,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,s=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,s)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,s){this.delegate.setAttribute(t,e,i,s)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,s){this.delegate.setStyle(t,e,i,s)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==iB?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Gae extends sB{constructor(t,e,i,s,r){super(e,i,s,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==iB?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const s=function Wae(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let r=e.slice(1),o="";return"@"!=r.charAt(0)&&([r,o]=function $ae(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(r)),this.engine.listen(this.namespaceId,s,r,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}class qae{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(s,r)=>{const o=r?.parentNode(s);o&&r.removeChild(o,s)}}createRenderer(t,e){const s=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){const c=this._rendererCache;let u=c.get(s);return u||(u=new sB("",s,this.engine,()=>c.delete(s)),c.set(s,u)),u}const r=e.id,o=e.id+"-"+this._currentId;this._currentId++,this.engine.register(o,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,o,t,c.name,c)};return e.data.animation.forEach(a),new Gae(this,o,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&t<this._microtaskId)return void this._zone.run(()=>e(i));const s=this._animationCallbacksBuffer;0==s.length&&queueMicrotask(()=>{this._zone.run(()=>{s.forEach(r=>{const[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([e,i])}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()}}let Kae=(()=>{class n extends Ry{constructor(e,i,s){super(e,i,s,fe(db,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Ki),Ve(_k),Ve(yk))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const rB=[{provide:yk,useFactory:function Xae(){return new j4}},{provide:Ry,useClass:Kae},{provide:hT,useFactory:function Zae(n,t,e){return new qae(n,t,e)},deps:[ek,Ry,sn]}],Nk=[{provide:_k,useFactory:()=>new nB},{provide:SR,useValue:"BrowserAnimations"},...rB],oB=[{provide:_k,useClass:mk},{provide:SR,useValue:"NoopAnimations"},...rB];let Jae=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?oB:Nk}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:Nk,imports:[Zj]})}return n})();function qe(n){return t=>t.lift(new Qae(n))}class Qae{constructor(t){this.notifier=t}call(t,e){const i=new ele(t),s=og(this.notifier,new sg(i));return s&&!i.seenValue?(i.add(s),e.subscribe(i)):i}}class ele extends rg{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function Ra(n){n||(ih(),n=fe(Ta));const t=new Un(e=>n.onDestroy(e.next.bind(e)));return e=>e.pipe(qe(t))}const Sl=new Un(n=>n.complete());function Lw(n){return n?function sle(n){return new Un(t=>n.schedule(()=>t.complete()))}(n):Sl}function sr(n,t,e,i){return di(e)&&(i=e,e=void 0),i?sr(n,t,e).pipe(ht(s=>ll(s)?i(...s):i(s))):new Un(s=>{aB(n,t,function r(o){s.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},s,e)})}function aB(n,t,e,i,s){let r;if(function ale(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(t,e,s),r=()=>o.removeEventListener(t,e,s)}else if(function ole(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(t,e),r=()=>o.off(t,e)}else if(function rle(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(t,e),r=()=>o.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,a=n.length;o<a;o++)aB(n[o],t,e,i,s)}i.add(r)}class lle extends hi{constructor(t,e){super()}schedule(t,e=0){return this}}class lB extends lle{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let s,i=!1;try{this.work(t)}catch(r){i=!0,s=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),s}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,s=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&i.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let cB=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,s){return new this.SchedulerAction(this,e).schedule(s,i)}}return n.now=()=>Date.now(),n})();class Ec extends cB{constructor(t,e=cB.now){super(t,()=>Ec.delegate&&Ec.delegate!==this?Ec.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Ec.delegate&&Ec.delegate!==this?Ec.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Fk=new Ec(lB);function uB(n){return!ll(n)&&n-parseFloat(n)+1>=0}function Fy(n=0,t,e){let i=-1;return uB(t)?i=Number(t)<1?1:Number(t):Oh(t)&&(e=t),Oh(e)||(e=Fk),new Un(s=>{const r=uB(n)?n:+n-e.now();return e.schedule(cle,r,{index:0,period:i,subscriber:s})})}function cle(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}class Yk extends Mn{notifyNext(t,e,i,s,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class ule extends Mn{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function jk(n,t,e,i,s=new ule(n,e,i)){if(!s.closed)return t instanceof Un?t.subscribe(s):sk(t)(s)}function dB(...n){if(1===n.length){if(!ll(n[0]))return n[0];n=n[0]}return Ty(n,void 0).lift(new dle)}class dle{call(t,e){return e.subscribe(new hle(t))}}class hle extends Yk{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let i=0;i<e&&!this.hasFirst;i++){const r=jk(this,t[i],void 0,i);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}notifyNext(t,e,i){if(!this.hasFirst){this.hasFirst=!0;for(let s=0;s<this.subscriptions.length;s++)if(s!==i){let r=this.subscriptions[s];r.unsubscribe(),this.remove(r)}this.subscriptions=null}this.destination.next(e)}}const hB={};function Yy(...n){let t,e;return Oh(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&ll(n[0])&&(n=n[0]),Ty(n,e).lift(new fle(t))}class fle{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new ple(t,this.resultSelector))}}class ple extends Yk{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(hB),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i<e;i++)this.add(jk(this,t[i],void 0,i))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,i){const s=this.values,o=this.toRespond?s[i]===hB?--this.toRespond:this.toRespond:0;s[i]=e,0===o&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function kc(){}const fB=new Un(kc);function Qu(...n){const t=n[n.length-1];return"function"==typeof t&&n.pop(),Ty(n,void 0).lift(new gle(t))}class gle{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new mle(t,this.resultSelector))}}class mle extends Mn{constructor(t,e,i=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;ll(t)?e.push(new yle(t)):e.push("function"==typeof t[Ku]?new _le(t[Ku]()):new vle(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let i=0;i<e;i++){let s=t[i];s.stillUnsubscribed?this.destination.add(s.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,i=this.destination;for(let o=0;o<e;o++){let a=t[o];if("function"==typeof a.hasValue&&!a.hasValue())return}let s=!1;const r=[];for(let o=0;o<e;o++){let a=t[o],l=a.next();if(a.hasCompleted()&&(s=!0),l.done)return void i.complete();r.push(l.value)}this.resultSelector?this._tryresultSelector(r):i.next(r),s&&i.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}class _le{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return!(!t||!t.done)}}class yle{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[Ku](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class vle extends rg{constructor(t,e,i){super(t),this.parent=e,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Ku](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return og(this.observable,new sg(this))}}function cg(n=Number.POSITIVE_INFINITY){return _t(Gd,n)}function ug(...n){return function wle(){return cg(1)}()(ct(...n))}function Pw(...n){const t=n[n.length-1];return Oh(t)?(n.pop(),e=>ug(n,e,t)):e=>ug(n,e)}function Iw(n,t){return e=>e.lift(new Mle(n,t))}class Mle{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Dle(t,this.compare,this.keySelector))}}class Dle extends Mn{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:s}=this;e=s?s(t):t}catch(s){return this.destination.error(s)}let i=!1;if(this.hasKey)try{const{compare:s}=this;i=s(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}const pB=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function pi(n){return t=>0===n?Lw():t.lift(new xle(n))}class xle{constructor(t){if(this.total=t,this.total<0)throw new pB}call(t,e){return e.subscribe(new Sle(t,this.total))}}class Sle extends Mn{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function ii(n,t,e){return function(s){return s.lift(new Tle(n,t,e))}}class Tle{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new Ele(t,this.nextOrObserver,this.error,this.complete))}}class Ele extends Mn{constructor(t,e,i,s){super(t),this._tapNext=kc,this._tapError=kc,this._tapComplete=kc,this._tapError=i||kc,this._tapComplete=s||kc,di(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||kc,this._tapError=e.error||kc,this._tapComplete=e.complete||kc)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Bk(...n){return t=>{let e;return"function"==typeof n[n.length-1]&&(e=n.pop()),t.lift(new kle(n,e))}}class kle{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new Ole(t,this.observables,this.project))}}class Ole extends Yk{constructor(t,e,i){super(t),this.observables=e,this.project=i,this.toRespond=[];const s=e.length;this.values=new Array(s);for(let r=0;r<s;r++)this.toRespond.push(r);for(let r=0;r<s;r++)this.add(jk(this,e[r],void 0,r))}notifyNext(t,e,i){this.values[i]=e;const s=this.toRespond;if(s.length>0){const r=s.indexOf(i);-1!==r&&s.splice(r,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function jh(n,t){return new Un(t?e=>t.schedule(Ple,0,{error:n,subscriber:e}):e=>e.error(n))}function Ple({error:n,subscriber:t}){t.error(n)}class Wr{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return ct(this.value);case"E":return jh(this.error);case"C":return Lw()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new Wr("N",t):Wr.undefinedValueNotification}static createError(t){return new Wr("E",void 0,t)}static createComplete(){return Wr.completeNotification}}function gB(n,t=Fk){const i=function Lle(n){return n instanceof Date&&!isNaN(+n)}(n)?+n-t.now():Math.abs(n);return s=>s.lift(new Ale(i,t))}Wr.completeNotification=new Wr("C"),Wr.undefinedValueNotification=new Wr("N",void 0);class Ale{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Hk(t,this.delay,this.scheduler))}}class Hk extends Mn{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,s=t.scheduler,r=t.destination;for(;i.length>0&&i[0].time-s.now()<=0;)i.shift().notification.observe(r);if(i.length>0){const o=Math.max(0,i[0].time-s.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(Hk.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new Rle(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(Wr.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(Wr.createComplete()),this.unsubscribe()}}class Rle{constructor(t,e){this.time=t,this.notification=e}}class Fle{constructor(t){this.total=t}call(t,e){return e.subscribe(new Yle(t,this.total))}}class Yle extends Mn{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function dg(...n){if(1===n.length){const t=n[0];if(ll(t))return Aw(t,null);if(Uf(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Aw(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Aw(n=1===n.length&&ll(n[0])?n[0]:n,null).pipe(ht(e=>t(...e)))}return Aw(n,null)}function Aw(n,t){return new Un(e=>{const i=n.length;if(0===i)return void e.complete();const s=new Array(i);let r=0,o=0;for(let a=0;a<i;a++){const l=Es(n[a]);let c=!1;e.add(l.subscribe({next:u=>{c||(c=!0,o++),s[a]=u},error:u=>e.error(u),complete:()=>{r++,(r===i||!c)&&(o===i&&e.next(t?t.reduce((u,d,h)=>(u[d]=s[h],u),{}):s),e.complete())}}))}})}let mB=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(bc),W(gn))};static#t=this.\u0275dir=rt({type:n})}return n})(),Bh=(()=>{class n extends mB{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,features:[Ue]})}return n})();const ra=new dt(""),Ble={provide:ra,useExisting:Yt(()=>Oo),multi:!0},Vle=new dt("");let Oo=(()=>{class n extends mB{constructor(e,i,s){super(e,i),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Hle(){const n=Wu()?Wu().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(bc),W(gn),W(Vle,8))};static#t=this.\u0275dir=rt({type:n,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(i,s){1&i&&Le("input",function(o){return s._handleInput(o.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(o){return s._compositionEnd(o.target.value)})},features:[kt([Ble]),Ue]})}return n})();function ed(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function yB(n){return null!=n&&"number"==typeof n.length}const Ws=new dt(""),td=new dt(""),Ule=/^(?=.{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 Sn{static min(t){return vB(t)}static max(t){return function bB(n){return t=>{if(ed(t.value)||ed(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return wB(t)}static requiredTrue(t){return function CB(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function MB(n){return ed(n.value)||Ule.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function DB(n){return t=>ed(t.value)||!yB(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return xB(t)}static pattern(t){return function SB(n){if(!n)return Rw;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(ed(i.value))return null;const s=i.value;return t.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(t)}static nullValidator(t){return null}static compose(t){return PB(t)}static composeAsync(t){return IB(t)}}function vB(n){return t=>{if(ed(t.value)||ed(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function wB(n){return ed(n.value)?{required:!0}:null}function xB(n){return t=>yB(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function Rw(n){return null}function TB(n){return null!=n}function EB(n){return vy(n)?Es(n):n}function kB(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function OB(n,t){return t.map(e=>e(n))}function LB(n){return n.map(t=>function zle(n){return!n.validate}(t)?t:e=>t.validate(e))}function PB(n){if(!n)return null;const t=n.filter(TB);return 0==t.length?null:function(e){return kB(OB(e,t))}}function Vk(n){return null!=n?PB(LB(n)):null}function IB(n){if(!n)return null;const t=n.filter(TB);return 0==t.length?null:function(e){return dg(OB(e,t).map(EB)).pipe(ht(kB))}}function Uk(n){return null!=n?IB(LB(n)):null}function AB(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function RB(n){return n._rawValidators}function NB(n){return n._rawAsyncValidators}function zk(n){return n?Array.isArray(n)?n:[n]:[]}function Nw(n,t){return Array.isArray(n)?n.includes(t):n===t}function FB(n,t){const e=zk(t);return zk(n).forEach(s=>{Nw(e,s)||e.push(s)}),e}function YB(n,t){return zk(t).filter(e=>!Nw(n,e))}class jB{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(t){this._rawValidators=t||[],this._composedValidatorFn=Vk(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Uk(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Sr extends jB{get formDirective(){return null}get path(){return null}}class nd extends jB{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class BB{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Tr=(()=>{class n extends BB{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(nd,2))};static#t=this.\u0275dir=rt({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,s){2&i&&wn("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[Ue]})}return n})(),oa=(()=>{class n extends BB{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Sr,10))};static#t=this.\u0275dir=rt({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,s){2&i&&wn("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[Ue]})}return n})();const jy="VALID",Yw="INVALID",hg="PENDING",By="DISABLED";function $k(n){return(jw(n)?n.validators:n)||null}function qk(n,t){return(jw(t)?t.asyncValidators:n)||null}function jw(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function VB(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new Oe(1e3,"");if(!i[e])throw new Oe(1001,"")}function UB(n,t,e){n._forEachChild((i,s)=>{if(void 0===e[s])throw new Oe(1002,"")})}class Bw{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===jy}get invalid(){return this.status===Yw}get pending(){return this.status==hg}get disabled(){return this.status===By}get enabled(){return this.status!==By}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(FB(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(FB(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(YB(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(YB(t,this._rawAsyncValidators))}hasValidator(t){return Nw(this._rawValidators,t)}hasAsyncValidator(t){return Nw(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=hg,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=By,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=jy,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===jy||this.status===hg)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?By:jy}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=hg,this._hasOwnPendingAsyncValidator=!0;const e=EB(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,s)=>i&&i._find(s),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ne,this.statusChanges=new Ne}_calculateStatus(){return this._allControlsDisabled()?By:this.errors?Yw:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hg)?hg:this._anyControlsHaveStatus(Yw)?Yw:jy}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){jw(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function qle(n){return Array.isArray(n)?Vk(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Kle(n){return Array.isArray(n)?Uk(n):n||null}(this._rawAsyncValidators)}}class Hy extends Bw{constructor(t,e,i){super($k(e),qk(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){UB(this,0,t),Object.keys(t).forEach(i=>{VB(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const s=this.controls[i];s&&s.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,s)=>{i.reset(t?t[s]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,s)=>((i.enabled||this.disabled)&&(e[s]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((s,r)=>{i=e(i,s,r)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class zB extends Hy{}const Hh=new dt("CallSetDisabledState",{providedIn:"root",factory:()=>Vy}),Vy="always";function Hw(n,t){return[...t.path,n]}function Uy(n,t,e=Vy){Kk(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function Zle(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&GB(n,t)})}(n,t),function Qle(n,t){const e=(i,s)=>{t.valueAccessor.writeValue(i),s&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function Jle(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&GB(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Xle(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Vw(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),zw(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Uw(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Kk(n,t){const e=RB(n);null!==t.validator?n.setValidators(AB(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=NB(n);null!==t.asyncValidator?n.setAsyncValidators(AB(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const s=()=>n.updateValueAndValidity();Uw(t._rawValidators,s),Uw(t._rawAsyncValidators,s)}function zw(n,t){let e=!1;if(null!==n){if(null!==t.validator){const s=RB(n);if(Array.isArray(s)&&s.length>0){const r=s.filter(o=>o!==t.validator);r.length!==s.length&&(e=!0,n.setValidators(r))}}if(null!==t.asyncValidator){const s=NB(n);if(Array.isArray(s)&&s.length>0){const r=s.filter(o=>o!==t.asyncValidator);r.length!==s.length&&(e=!0,n.setAsyncValidators(r))}}}const i=()=>{};return Uw(t._rawValidators,i),Uw(t._rawAsyncValidators,i),e}function GB(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function WB(n,t){Kk(n,t)}function Zk(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function $B(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Jk(n,t){if(!t)return null;let e,i,s;return Array.isArray(t),t.forEach(r=>{r.constructor===Oo?e=r:function nce(n){return Object.getPrototypeOf(n.constructor)===Bh}(r)?i=r:s=r}),s||i||e||null}const sce={provide:Sr,useExisting:Yt(()=>Gw)},zy=Promise.resolve();let Gw=(()=>{class n extends Sr{constructor(e,i,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ne,this.form=new Hy({},Vk(e),Uk(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){zy.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Uy(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){zy.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){zy.then(()=>{const i=this._findContainer(e.path),s=new Hy({});WB(s,e),i.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){zy.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){zy.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,$B(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(i){return new(i||n)(W(Ws,10),W(td,10),W(Hh,8))};static#t=this.\u0275dir=rt({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,s){1&i&&Le("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{options:[bn.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[kt([sce]),Ue]})}return n})();function qB(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function KB(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const fg=class extends Bw{constructor(t=null,e,i){super($k(e),qk(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),jw(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=KB(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){qB(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){qB(this._onDisabledChange,t)}_forEachChild(t){}_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(t){KB(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},rce=fg;let XB=(()=>{class n extends Sr{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Hw(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 e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,features:[Ue]})}return n})();const lce={provide:nd,useExisting:Yt(()=>Vh)},JB=Promise.resolve();let Vh=(()=>{class n extends nd{constructor(e,i,s,r,o,a){super(),this._changeDetectorRef=o,this.callSetDisabledState=a,this.control=new fg,this._registered=!1,this.name="",this.update=new Ne,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=Jk(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Zk(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){Uy(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(e){JB.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,s=0!==i&&ng(i);JB.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Hw(e,this._parent):[e]}static#e=this.\u0275fac=function(i){return new(i||n)(W(Sr,9),W(Ws,10),W(td,10),W(ra,10),W(Dr,8),W(Hh,8))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[bn.None,"disabled","isDisabled"],model:[bn.None,"ngModel","model"],options:[bn.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[kt([lce]),Ue,Ut]})}return n})(),Tl=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return n})();const cce={provide:ra,useExisting:Yt(()=>Qk),multi:!0};let Qk=(()=>{class n extends Bh{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,s){1&i&&Le("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[kt([cce]),Ue]})}return n})();const eO=new dt(""),pce={provide:Sr,useExisting:Yt(()=>Lo)};let Lo=(()=>{class n extends Sr{constructor(e,i,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ne,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(zw(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Uy(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Vw(e.control||null,e,!1),function ice(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,$B(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,s=this.form.get(e.path);i!==s&&(Vw(i||null,e),(n=>n instanceof fg)(s)&&(Uy(s,e,this.callSetDisabledState),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);WB(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function ece(n,t){return zw(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kk(this.form,this),this._oldForm&&zw(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||n)(W(Ws,10),W(td,10),W(Hh,8))};static#t=this.\u0275dir=rt({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,s){1&i&&Le("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{form:[bn.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[kt([pce]),Ue,Ut]})}return n})();const gce={provide:Sr,useExisting:Yt(()=>Ww)};let Ww=(()=>{class n extends XB{constructor(e,i,s){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(s)}_checkParentType(){nH(this._parent)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Sr,13),W(Ws,10),W(td,10))};static#t=this.\u0275dir=rt({type:n,selectors:[["","formGroupName",""]],inputs:{name:[bn.None,"formGroupName","name"]},features:[kt([gce]),Ue]})}return n})();const mce={provide:Sr,useExisting:Yt(()=>tO)};let tO=(()=>{class n extends Sr{constructor(e,i,s){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(s)}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 Hw(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){nH(this._parent)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Sr,13),W(Ws,10),W(td,10))};static#t=this.\u0275dir=rt({type:n,selectors:[["","formArrayName",""]],inputs:{name:[bn.None,"formArrayName","name"]},features:[kt([mce]),Ue]})}return n})();function nH(n){return!(n instanceof Ww||n instanceof Lo||n instanceof tO)}const _ce={provide:nd,useExisting:Yt(()=>Na)};let Na=(()=>{class n extends nd{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,s,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.name=null,this.update=new Ne,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=Jk(0,r)}ngOnChanges(e){this._added||this._setUpControl(),Zk(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Hw(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(i){return new(i||n)(W(Sr,13),W(Ws,10),W(td,10),W(ra,10),W(eO,8))};static#n=this.\u0275dir=rt({type:n,selectors:[["","formControlName",""]],inputs:{name:[bn.None,"formControlName","name"],isDisabled:[bn.None,"disabled","isDisabled"],model:[bn.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[kt([_ce]),Ue,Ut]})}return n})();const yce={provide:ra,useExisting:Yt(()=>id),multi:!0};function iH(n,t){return null==n?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${n}: ${t}`.slice(0,50))}let id=(()=>{class n extends Bh{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const s=iH(this._getOptionId(e),e);this.setProperty("value",s)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){const i=function vce(n){return n.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,s){1&i&&Le("change",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[kt([yce]),Ue]})}return n})(),pg=(()=>{class n{constructor(e,i,s){this._element=e,this._renderer=i,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(iH(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn),W(bc),W(id,9))};static#t=this.\u0275dir=rt({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return n})();const bce={provide:ra,useExisting:Yt(()=>nO),multi:!0};function sH(n,t){return null==n?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${n}: ${t}`.slice(0,50))}let nO=(()=>{class n extends Bh{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let i;if(this.value=e,Array.isArray(e)){const s=e.map(r=>this._getOptionId(r));i=(r,o)=>{r._setSelected(s.indexOf(o.toString())>-1)}}else i=(s,r)=>{s._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{const s=[],r=i.selectedOptions;if(void 0!==r){const o=r;for(let a=0;a<o.length;a++){const c=this._getOptionValue(o[a].value);s.push(c)}}else{const o=i.options;for(let a=0;a<o.length;a++){const l=o[a];if(l.selected){const c=this._getOptionValue(l.value);s.push(c)}}}this.value=s,e(s)}}_registerOption(e){const i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){const i=function wce(n){return n.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,s){1&i&&Le("change",function(o){return s.onChange(o.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[kt([bce]),Ue]})}return n})(),gg=(()=>{class n{constructor(e,i,s){this._element=e,this._renderer=i,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(sH(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(sH(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn),W(bc),W(nO,9))};static#t=this.\u0275dir=rt({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return n})();let Uh=(()=>{class n{constructor(){this._validator=Rw}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Rw,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,features:[Ut]})}return n})();const Mce={provide:Ws,useExisting:Yt(()=>iO),multi:!0};let iO=(()=>{class n extends Uh{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>function oH(n){return"number"==typeof n?n:parseFloat(n)}(e),this.createValidator=e=>vB(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,s){2&i&&Kn("min",s._enabled?s.min:null)},inputs:{min:"min"},features:[kt([Mce]),Ue]})}return n})();const Dce={provide:Ws,useExisting:Yt(()=>Oc),multi:!0};let Oc=(()=>{class n extends Uh{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ng,this.createValidator=e=>wB}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,s){2&i&&Kn("required",s._enabled?"":null)},inputs:{required:"required"},features:[kt([Dce]),Ue]})}return n})();const Ece={provide:Ws,useExisting:Yt(()=>sO),multi:!0};let sO=(()=>{class n extends Uh{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function rH(n){return"number"==typeof n?n:parseInt(n,10)}(e),this.createValidator=e=>xB(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,s){2&i&&Kn("maxlength",s._enabled?s.maxlength:null)},inputs:{maxlength:"maxlength"},features:[kt([Ece]),Ue]})}return n})(),hH=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();class fH extends Bw{constructor(t,e,i){super($k(e),qk(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let s=this._adjustIndex(t);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),e&&(this.controls.splice(s,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){UB(this,0,t),t.forEach((i,s)=>{VB(this,!1,s),this.at(s).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,s)=>{this.at(s)&&this.at(s).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,s)=>{i.reset(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function pH(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let Oce=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,i=null){const s=this._reduceControls(e);let r={};return pH(i)?r=i:null!==i&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new Hy(s,r)}record(e,i=null){const s=this._reduceControls(e);return new zB(s,i)}control(e,i,s){let r={};return this.useNonNullable?(pH(i)?r=i:(r.validators=i,r.asyncValidators=s),new fg(e,{...r,nonNullable:!0})):new fg(e,i,s)}array(e,i,s){const r=e.map(o=>this._createControl(o));return new fH(r,i,s)}_reduceControls(e){const i={};return Object.keys(e).forEach(s=>{i[s]=this._createControl(e[s])}),i}_createControl(e){return e instanceof fg||e instanceof Bw?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Lc=(()=>{class n extends Oce{group(e,i=null){return super.group(e,i)}control(e,i,s){return super.control(e,i,s)}array(e,i,s){return super.array(e,i,s)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Gy=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Hh,useValue:e.callSetDisabledState??Vy}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({imports:[hH]})}return n})(),$w=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:eO,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Hh,useValue:e.callSetDisabledState??Vy}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({imports:[hH]})}return n})();var Lce={left:"right",right:"left",bottom:"top",top:"bottom"};function qw(n){return n.replace(/left|right|bottom|top/g,function(t){return Lce[t]})}function El(n){return n.split("-")[0]}var Pce={start:"end",end:"start"};function gH(n){return n.replace(/start|end/g,function(t){return Pce[t]})}var Po="top",Fa="bottom",Ya="right",Io="left",rO="auto",Wy=[Po,Fa,Ya,Io],mg="start",$y="end",mH="viewport",qy="popper",_H=Wy.reduce(function(n,t){return n.concat([t+"-"+mg,t+"-"+$y])},[]),yH=[].concat(Wy,[rO]).reduce(function(n,t){return n.concat([t,t+"-"+mg,t+"-"+$y])},[]),zce=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ao(n){if(null==n)return window;if("[object Window]"!==n.toString()){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function zh(n){return n instanceof Ao(n).Element||n instanceof Element}function aa(n){return n instanceof Ao(n).HTMLElement||n instanceof HTMLElement}function oO(n){return!(typeof ShadowRoot>"u")&&(n instanceof Ao(n).ShadowRoot||n instanceof ShadowRoot)}function sd(n){return((zh(n)?n.ownerDocument:n.document)||window.document).documentElement}var Gh=Math.max,Kw=Math.min,_g=Math.round;function aO(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function vH(){return!/^((?!chrome|android).)*safari/i.test(aO())}function yg(n,t,e){void 0===t&&(t=!1),void 0===e&&(e=!1);var i=n.getBoundingClientRect(),s=1,r=1;t&&aa(n)&&(s=n.offsetWidth>0&&_g(i.width)/n.offsetWidth||1,r=n.offsetHeight>0&&_g(i.height)/n.offsetHeight||1);var a=(zh(n)?Ao(n):window).visualViewport,l=!vH()&&e,c=(i.left+(l&&a?a.offsetLeft:0))/s,u=(i.top+(l&&a?a.offsetTop:0))/r,d=i.width/s,h=i.height/r;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function lO(n){var t=Ao(n);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function cO(n){return yg(sd(n)).left+lO(n).scrollLeft}function Pc(n){return Ao(n).getComputedStyle(n)}function kl(n){return n?(n.nodeName||"").toLowerCase():null}function Xw(n){return"html"===kl(n)?n:n.assignedSlot||n.parentNode||(oO(n)?n.host:null)||sd(n)}function uO(n){var t=Pc(n);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function bH(n){return["html","body","#document"].indexOf(kl(n))>=0?n.ownerDocument.body:aa(n)&&uO(n)?n:bH(Xw(n))}function Ky(n,t){var e;void 0===t&&(t=[]);var i=bH(n),s=i===(null==(e=n.ownerDocument)?void 0:e.body),r=Ao(i),o=s?[r].concat(r.visualViewport||[],uO(i)?i:[]):i,a=t.concat(o);return s?a:a.concat(Ky(Xw(o)))}function $ce(n){return["table","td","th"].indexOf(kl(n))>=0}function wH(n){return aa(n)&&"fixed"!==Pc(n).position?n.offsetParent:null}function Xy(n){for(var t=Ao(n),e=wH(n);e&&$ce(e)&&"static"===Pc(e).position;)e=wH(e);return e&&("html"===kl(e)||"body"===kl(e)&&"static"===Pc(e).position)?t:e||function qce(n){var t=/firefox/i.test(aO());if(/Trident/i.test(aO())&&aa(n)&&"fixed"===Pc(n).position)return null;var s=Xw(n);for(oO(s)&&(s=s.host);aa(s)&&["html","body"].indexOf(kl(s))<0;){var r=Pc(s);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return s;s=s.parentNode}return null}(n)||t}function CH(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&oO(e)){var i=t;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function dO(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function MH(n,t,e){return t===mH?dO(function Gce(n,t){var e=Ao(n),i=sd(n),s=e.visualViewport,r=i.clientWidth,o=i.clientHeight,a=0,l=0;if(s){r=s.width,o=s.height;var c=vH();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:r,height:o,x:a+cO(n),y:l}}(n,e)):zh(t)?function Kce(n,t){var e=yg(n,!1,"fixed"===t);return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}(t,e):dO(function Wce(n){var t,e=sd(n),i=lO(n),s=null==(t=n.ownerDocument)?void 0:t.body,r=Gh(e.scrollWidth,e.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=Gh(e.scrollHeight,e.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+cO(n),l=-i.scrollTop;return"rtl"===Pc(s||e).direction&&(a+=Gh(e.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}(sd(n)))}function vg(n){return n.split("-")[1]}function hO(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function DH(n){var l,t=n.reference,e=n.element,i=n.placement,s=i?El(i):null,r=i?vg(i):null,o=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2;switch(s){case Po:l={x:o,y:t.y-e.height};break;case Fa:l={x:o,y:t.y+t.height};break;case Ya:l={x:t.x+t.width,y:a};break;case Io:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var c=s?hO(s):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case mg:l[c]=l[c]-(t[u]/2-e[u]/2);break;case $y:l[c]=l[c]+(t[u]/2-e[u]/2)}}return l}function SH(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function TH(n,t){return t.reduce(function(e,i){return e[i]=n,e},{})}function fO(n,t){void 0===t&&(t={});var i=t.placement,s=void 0===i?n.placement:i,r=t.strategy,o=void 0===r?n.strategy:r,a=t.boundary,l=void 0===a?"clippingParents":a,c=t.rootBoundary,u=void 0===c?mH:c,d=t.elementContext,h=void 0===d?qy:d,p=t.altBoundary,_=void 0!==p&&p,v=t.padding,x=void 0===v?0:v,k=SH("number"!=typeof x?x:TH(x,Wy)),j=n.rects.popper,z=n.elements[_?h===qy?"reference":qy:h],G=function Zce(n,t,e,i){var s="clippingParents"===t?function Xce(n){var t=Ky(Xw(n)),i=["absolute","fixed"].indexOf(Pc(n).position)>=0&&aa(n)?Xy(n):n;return zh(i)?t.filter(function(s){return zh(s)&&CH(s,i)&&"body"!==kl(s)}):[]}(n):[].concat(t),r=[].concat(s,[e]),a=r.reduce(function(l,c){var u=MH(n,c,i);return l.top=Gh(u.top,l.top),l.right=Kw(u.right,l.right),l.bottom=Kw(u.bottom,l.bottom),l.left=Gh(u.left,l.left),l},MH(n,r[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(zh(z)?z:z.contextElement||sd(n.elements.popper),l,u,o),Z=yg(n.elements.reference),oe=DH({reference:Z,element:j,strategy:"absolute",placement:s}),ce=dO(Object.assign({},j,oe)),Se=h===qy?ce:Z,Re={top:G.top-Se.top+k.top,bottom:Se.bottom-G.bottom+k.bottom,left:G.left-Se.left+k.left,right:Se.right-G.right+k.right},Ye=n.modifiersData.offset;if(h===qy&&Ye){var Fe=Ye[s];Object.keys(Re).forEach(function(Ze){var Mt=[Ya,Fa].indexOf(Ze)>=0?1:-1,st=[Po,Fa].indexOf(Ze)>=0?"y":"x";Re[Ze]+=Fe[st]*Mt})}return Re}const tue={name:"flip",enabled:!0,phase:"main",fn:function eue(n){var t=n.state,e=n.options,i=n.name;if(!t.modifiersData[i]._skip){for(var s=e.mainAxis,r=void 0===s||s,o=e.altAxis,a=void 0===o||o,l=e.fallbackPlacements,c=e.padding,u=e.boundary,d=e.rootBoundary,h=e.altBoundary,p=e.flipVariations,_=void 0===p||p,v=e.allowedAutoPlacements,x=t.options.placement,k=El(x),j=l||(k!==x&&_?function Qce(n){if(El(n)===rO)return[];var t=qw(n);return[gH(n),t,gH(t)]}(x):[qw(x)]),z=[x].concat(j).reduce(function(pt,en){return pt.concat(El(en)===rO?function Jce(n,t){void 0===t&&(t={});var s=t.boundary,r=t.rootBoundary,o=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=void 0===l?yH:l,u=vg(t.placement),d=u?a?_H:_H.filter(function(_){return vg(_)===u}):Wy,h=d.filter(function(_){return c.indexOf(_)>=0});0===h.length&&(h=d);var p=h.reduce(function(_,v){return _[v]=fO(n,{placement:v,boundary:s,rootBoundary:r,padding:o})[El(v)],_},{});return Object.keys(p).sort(function(_,v){return p[_]-p[v]})}(t,{placement:en,boundary:u,rootBoundary:d,padding:c,flipVariations:_,allowedAutoPlacements:v}):en)},[]),G=t.rects.reference,Z=t.rects.popper,oe=new Map,ce=!0,Se=z[0],Re=0;Re<z.length;Re++){var Ye=z[Re],Fe=El(Ye),Ze=vg(Ye)===mg,Mt=[Po,Fa].indexOf(Fe)>=0,st=Mt?"width":"height",De=fO(t,{placement:Ye,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),Ee=Mt?Ze?Ya:Io:Ze?Fa:Po;G[st]>Z[st]&&(Ee=qw(Ee));var Be=qw(Ee),nt=[];if(r&&nt.push(De[Fe]<=0),a&&nt.push(De[Ee]<=0,De[Be]<=0),nt.every(function(pt){return pt})){Se=Ye,ce=!1;break}oe.set(Ye,nt)}if(ce)for(var Pn=function(en){var Gi=z.find(function(En){var Vi=oe.get(En);if(Vi)return Vi.slice(0,en).every(function(Ai){return Ai})});if(Gi)return Se=Gi,"break"},We=_?3:1;We>0&&"break"!==Pn(We);We--);t.placement!==Se&&(t.modifiersData[i]._skip=!0,t.placement=Se,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Zy(n,t,e){return Gh(n,Kw(t,e))}function pO(n){var t=yg(n),e=n.offsetWidth,i=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:i}}const rue={name:"preventOverflow",enabled:!0,phase:"main",fn:function sue(n){var t=n.state,e=n.options,i=n.name,s=e.mainAxis,r=void 0===s||s,o=e.altAxis,a=void 0!==o&&o,h=e.tether,p=void 0===h||h,_=e.tetherOffset,v=void 0===_?0:_,x=fO(t,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),k=El(t.placement),P=vg(t.placement),j=!P,z=hO(k),G=function nue(n){return"x"===n?"y":"x"}(z),Z=t.modifiersData.popperOffsets,oe=t.rects.reference,ce=t.rects.popper,Se="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,Re="number"==typeof Se?{mainAxis:Se,altAxis:Se}:Object.assign({mainAxis:0,altAxis:0},Se),Ye=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Fe={x:0,y:0};if(Z){if(r){var Ze,Mt="y"===z?Po:Io,st="y"===z?Fa:Ya,De="y"===z?"height":"width",Ee=Z[z],Be=Ee+x[Mt],nt=Ee-x[st],xt=p?-ce[De]/2:0,Pn=P===mg?oe[De]:ce[De],We=P===mg?-ce[De]:-oe[De],Tn=t.elements.arrow,pt=p&&Tn?pO(Tn):{width:0,height:0},en=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Gi=en[Mt],En=en[st],Vi=Zy(0,oe[De],pt[De]),Ai=j?oe[De]/2-xt-Vi-Gi-Re.mainAxis:Pn-Vi-Gi-Re.mainAxis,Uo=j?-oe[De]/2+xt+Vi+En+Re.mainAxis:We+Vi+En+Re.mainAxis,_a=t.elements.arrow&&Xy(t.elements.arrow),Vd=_a?"y"===z?_a.clientTop||0:_a.clientLeft||0:0,jf=null!=(Ze=Ye?.[z])?Ze:0,Bf=Ee+Uo-jf,ol=Zy(p?Kw(Be,Ee+Ai-jf-Vd):Be,Ee,p?Gh(nt,Bf):nt);Z[z]=ol,Fe[z]=ol-Ee}if(a){var Hf,ro=Z[G],Ud="y"===G?"height":"width",Ks=ro+x["x"===z?Po:Io],Ir=ro-x["x"===z?Fa:Ya],Ar=-1!==[Po,Io].indexOf(k),ya=null!=(Hf=Ye?.[G])?Hf:0,lu=Ar?Ks:ro-oe[Ud]-ce[Ud]-ya+Re.altAxis,tc=Ar?ro+oe[Ud]+ce[Ud]-ya-Re.altAxis:Ir,al=p&&Ar?function iue(n,t,e){var i=Zy(n,t,e);return i>e?e:i}(lu,ro,tc):Zy(p?lu:Ks,ro,p?tc:Ir);Z[G]=al,Fe[G]=al-ro}t.modifiersData[i]=Fe}},requiresIfExists:["offset"]},cue={name:"arrow",enabled:!0,phase:"main",fn:function aue(n){var t,e=n.state,i=n.name,s=n.options,r=e.elements.arrow,o=e.modifiersData.popperOffsets,a=El(e.placement),l=hO(a),u=[Io,Ya].indexOf(a)>=0?"height":"width";if(r&&o){var d=function(t,e){return SH("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:TH(t,Wy))}(s.padding,e),h=pO(r),p="y"===l?Po:Io,_="y"===l?Fa:Ya,v=e.rects.reference[u]+e.rects.reference[l]-o[l]-e.rects.popper[u],x=o[l]-e.rects.reference[l],k=Xy(r),P=k?"y"===l?k.clientHeight||0:k.clientWidth||0:0,Z=P/2-h[u]/2+(v/2-x/2),oe=Zy(d[p],Z,P-h[u]-d[_]);e.modifiersData[i]=((t={})[l]=oe,t.centerOffset=oe-Z,t)}},effect:function lue(n){var t=n.state,i=n.options.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"==typeof s&&!(s=t.elements.popper.querySelector(s))||CH(t.elements.popper,s)&&(t.elements.arrow=s))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fue(n,t,e){void 0===e&&(e=!1);var i=aa(t),s=aa(t)&&function hue(n){var t=n.getBoundingClientRect(),e=_g(t.width)/n.offsetWidth||1,i=_g(t.height)/n.offsetHeight||1;return 1!==e||1!==i}(t),r=sd(t),o=yg(n,s,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!e)&&(("body"!==kl(t)||uO(r))&&(a=function due(n){return n!==Ao(n)&&aa(n)?function uue(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}(n):lO(n)}(t)),aa(t)?((l=yg(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=cO(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function pue(n){var t=new Map,e=new Set,i=[];function s(r){e.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&s(l)}}),i.push(r)}return n.forEach(function(r){t.set(r.name,r)}),n.forEach(function(r){e.has(r.name)||s(r)}),i}function mue(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}var EH={placement:"bottom",modifiers:[],strategy:"absolute"};function kH(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return!t.some(function(i){return!(i&&"function"==typeof i.getBoundingClientRect)})}function yue(n){void 0===n&&(n={});var e=n.defaultModifiers,i=void 0===e?[]:e,s=n.defaultOptions,r=void 0===s?EH:s;return function(a,l,c){void 0===c&&(c=r);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},EH,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],h=!1,p={state:u,setOptions:function(k){var P="function"==typeof k?k(u.options):k;v(),u.options=Object.assign({},r,u.options,P),u.scrollParents={reference:zh(a)?Ky(a):a.contextElement?Ky(a.contextElement):[],popper:Ky(l)};var j=function gue(n){var t=pue(n);return zce.reduce(function(e,i){return e.concat(t.filter(function(s){return s.phase===i}))},[])}(function _ue(n){var t=n.reduce(function(e,i){var s=e[i.name];return e[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(i,u.options.modifiers)));return u.orderedModifiers=j.filter(function(z){return z.enabled}),function _(){u.orderedModifiers.forEach(function(x){var P=x.options,z=x.effect;if("function"==typeof z){var G=z({state:u,name:x.name,instance:p,options:void 0===P?{}:P});d.push(G||function(){})}})}(),p.update()},forceUpdate:function(){if(!h){var k=u.elements,P=k.reference,j=k.popper;if(kH(P,j)){u.rects={reference:fue(P,Xy(j),"fixed"===u.options.strategy),popper:pO(j)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(Re){return u.modifiersData[Re.name]=Object.assign({},Re.data)});for(var z=0;z<u.orderedModifiers.length;z++)if(!0!==u.reset){var G=u.orderedModifiers[z],Z=G.fn,oe=G.options;"function"==typeof Z&&(u=Z({state:u,options:void 0===oe?{}:oe,name:G.name,instance:p})||u)}else u.reset=!1,z=-1}}},update:mue(function(){return new Promise(function(x){p.forceUpdate(),x(u)})}),destroy:function(){v(),h=!0}};if(!kH(a,l))return p;function v(){d.forEach(function(x){return x()}),d=[]}return p.setOptions(c).then(function(x){!h&&c.onFirstUpdate&&c.onFirstUpdate(x)}),p}}var Zw={passive:!0};const bue={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function vue(n){var t=n.state,e=n.instance,i=n.options,s=i.scroll,r=void 0===s||s,o=i.resize,a=void 0===o||o,l=Ao(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",e.update,Zw)}),a&&l.addEventListener("resize",e.update,Zw),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",e.update,Zw)}),a&&l.removeEventListener("resize",e.update,Zw)}},data:{}},Cue={name:"popperOffsets",enabled:!0,phase:"read",fn:function wue(n){var t=n.state;t.modifiersData[n.name]=DH({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Mue={top:"auto",right:"auto",bottom:"auto",left:"auto"};function OH(n){var t,e=n.popper,i=n.popperRect,s=n.placement,r=n.variation,o=n.offsets,a=n.position,l=n.gpuAcceleration,c=n.adaptive,u=n.roundOffsets,d=n.isFixed,h=o.x,p=void 0===h?0:h,_=o.y,v=void 0===_?0:_,x="function"==typeof u?u({x:p,y:v}):{x:p,y:v};p=x.x,v=x.y;var k=o.hasOwnProperty("x"),P=o.hasOwnProperty("y"),j=Io,z=Po,G=window;if(c){var Z=Xy(e),oe="clientHeight",ce="clientWidth";Z===Ao(e)&&"static"!==Pc(Z=sd(e)).position&&"absolute"===a&&(oe="scrollHeight",ce="scrollWidth"),(s===Po||(s===Io||s===Ya)&&r===$y)&&(z=Fa,v-=(d&&Z===G&&G.visualViewport?G.visualViewport.height:Z[oe])-i.height,v*=l?1:-1),s!==Io&&(s!==Po&&s!==Fa||r!==$y)||(j=Ya,p-=(d&&Z===G&&G.visualViewport?G.visualViewport.width:Z[ce])-i.width,p*=l?1:-1)}var Ze,Ye=Object.assign({position:a},c&&Mue),Fe=!0===u?function Due(n,t){var i=n.y,s=t.devicePixelRatio||1;return{x:_g(n.x*s)/s||0,y:_g(i*s)/s||0}}({x:p,y:v},Ao(e)):{x:p,y:v};return p=Fe.x,v=Fe.y,Object.assign({},Ye,l?((Ze={})[z]=P?"0":"",Ze[j]=k?"0":"",Ze.transform=(G.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",Ze):((t={})[z]=P?v+"px":"",t[j]=k?p+"px":"",t.transform="",t))}const Sue={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function xue(n){var t=n.state,e=n.options,i=e.gpuAcceleration,s=void 0===i||i,r=e.adaptive,o=void 0===r||r,a=e.roundOffsets,l=void 0===a||a,c={placement:El(t.placement),variation:vg(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,OH(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,OH(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var kue=[bue,Cue,Sue,{name:"applyStyles",enabled:!0,phase:"write",fn:function Tue(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},s=t.attributes[e]||{},r=t.elements[e];!aa(r)||!kl(r)||(Object.assign(r.style,i),Object.keys(s).forEach(function(o){var a=s[o];!1===a?r.removeAttribute(o):r.setAttribute(o,!0===a?"":a)}))})},effect:function Eue(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(i){var s=t.elements[i],r=t.attributes[i]||{},a=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:e[i]).reduce(function(l,c){return l[c]="",l},{});!aa(s)||!kl(s)||(Object.assign(s.style,a),Object.keys(r).forEach(function(l){s.removeAttribute(l)}))})}},requires:["computeStyles"]}],Oue=yue({defaultModifiers:kue});const Iue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Pue(n){var t=n.state,i=n.name,s=n.options.offset,r=void 0===s?[0,0]:s,o=yH.reduce(function(u,d){return u[d]=function Lue(n,t,e){var i=El(n),s=[Io,Po].indexOf(i)>=0?-1:1,r="function"==typeof e?e(Object.assign({},t,{placement:n})):e,o=r[0],a=r[1];return o=o||0,a=(a||0)*s,[Io,Ya].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}(d,t.rects,r),u},{}),a=o[t.placement],c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=a.x,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},LH=["*"];function Aue(n,t){if(1&n){const e=tt();D(0,"button",7),Le("click",function(){const s=ze(e).$implicit,r=K();return r.focus(),Ge(r.select(s.id,r.NgbSlideEventSource.INDICATOR))}),M()}if(2&n){const e=t.$implicit,i=K();wn("active",e.id===i.activeId),Kn("aria-labelledby","slide-"+e.id)("aria-controls","slide-"+e.id)("aria-selected",e.id===i.activeId)}}function Rue(n,t){}function Nue(n,t){if(1&n&&(D(0,"div",6)(1,"span",8),Vu(2,0),M(),re(3,Rue,0,0,"ng-template",9),M()),2&n){const e=t.$implicit,i=t.$index,s=t.$count;R("id","slide-"+e.id),m(2),tE(i+1)(s),function l5(n){!function kQ(n,t,e){if(uy>0){const i=n.data[e];q3(n,t,Array.isArray(i)?i:i.update,gc()-uy-1,cy)}cy=0,uy=0}(xn(),je(),n+Bt)}(2),m(),R("ngTemplateOutlet",e.templateRef)}}function Fue(n,t){if(1&n){const e=tt();D(0,"button",10),Le("click",function(){return ze(e),Ge(K().arrowLeft())}),ee(1,"span",11),D(2,"span",12),Vu(3,1),M()(),D(4,"button",13),Le("click",function(){return ze(e),Ge(K().arrowRight())}),ee(5,"span",14),D(6,"span",12),Vu(7,2),M()()}if(2&n){const e=K();Kn("aria-labelledby",e.id+"-previous"),m(2),R("id",e.id+"-previous"),m(2),Kn("aria-labelledby",e.id+"-next"),m(2),R("id",e.id+"-next")}}const Yue=["ngbDatepickerDayView",""],jue=["month"],Bue=["year"];function Hue(n,t){if(1&n&&(D(0,"option",3),N(1),M()),2&n){const e=t.$implicit,i=K();R("value",e),Kn("aria-label",i.i18n.getMonthFullName(e,i.date.year)),m(),le(i.i18n.getMonthShortName(e,i.date.year))}}function Vue(n,t){if(1&n&&(D(0,"option",3),N(1),M()),2&n){const e=t.$implicit,i=K();R("value",e),m(),le(i.i18n.getYearNumerals(e))}}function Uue(n,t){if(1&n){const e=tt();D(0,"ngb-datepicker-navigation-select",6),Le("select",function(s){return ze(e),Ge(K().select.emit(s))}),M()}if(2&n){const e=K();R("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function zue(n,t){1&n&&ee(0,"div",7)}function Gue(n,t){1&n&&ee(0,"div",7)}function Wue(n,t){if(1&n&&(re(0,zue,1,0,"div",7),D(1,"div",8),N(2),M(),re(3,Gue,1,0,"div",7)),2&n){const e=t.$implicit,i=t.$index,s=K(2);Xn(0,i>0?0:-1),m(2),ve(" ",s.i18n.getMonthLabel(e.firstDate)," "),m(),Xn(3,i!==s.months.length-1?3:-1)}}function $ue(n,t){1&n&&Co(0,Wue,4,3,null,null,wo),2&n&&Mo(K().months)}function que(n,t){if(1&n&&(D(0,"div",1),N(1),M()),2&n){const e=K(2);m(),le(e.i18n.getWeekLabel())}}function Kue(n,t){if(1&n&&(D(0,"div",2),N(1),M()),2&n){const e=t.$implicit;m(),le(e)}}function Xue(n,t){if(1&n&&(D(0,"div",0),re(1,que,2,1,"div",1),Co(2,Kue,2,1,"div",2,wo),M()),2&n){const e=K();m(),Xn(1,e.datepicker.showWeekNumbers?1:-1),m(),Mo(e.viewModel.weekdays)}}function Zue(n,t){if(1&n&&(D(0,"div",4),N(1),M()),2&n){const e=K(2).$implicit,i=K();m(),le(i.i18n.getWeekNumerals(e.number))}}function Jue(n,t){}function Que(n,t){if(1&n&&re(0,Jue,0,0,"ng-template",7),2&n){const e=K().$implicit;R("ngTemplateOutlet",K(3).datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function ede(n,t){if(1&n){const e=tt();D(0,"div",6),Le("click",function(s){const r=ze(e).$implicit;return K(3).doSelect(r),Ge(s.preventDefault())}),re(1,Que,1,2,null,7),M()}if(2&n){const e=t.$implicit;wn("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),R("tabindex",e.tabindex),Kn("aria-label",e.ariaLabel),m(),Xn(1,e.hidden?-1:1)}}function tde(n,t){if(1&n&&(D(0,"div",3),re(1,Zue,2,1,"div",4),Co(2,ede,2,9,"div",5,wo),M()),2&n){const e=K().$implicit,i=K();m(),Xn(1,i.datepicker.showWeekNumbers?1:-1),m(),Mo(e.days)}}function nde(n,t){1&n&&re(0,tde,4,1,"div",3),2&n&&Xn(0,t.$implicit.collapsed?-1:0)}const ide=["defaultDayTemplate"],sde=["content"],PH=n=>({$implicit:n});function rde(n,t){if(1&n&&ee(0,"div",8),2&n){const i=t.currentMonth,s=t.selected,r=t.disabled,o=t.focused;R("date",t.date)("currentMonth",i)("selected",s)("disabled",r)("focused",o)}}function ode(n,t){if(1&n&&(D(0,"div",10),N(1),M()),2&n){const e=K().$implicit,i=K(2);m(),ve(" ",i.i18n.getMonthLabel(e.firstDate)," ")}}function ade(n,t){if(1&n&&(D(0,"div",9),re(1,ode,2,1,"div",10),ee(2,"ngb-datepicker-month",11),M()),2&n){const e=t.$implicit,i=K(2);m(),Xn(1,"none"===i.navigation||i.displayMonths>1&&"select"===i.navigation?1:-1),m(),R("month",e.firstDate)}}function lde(n,t){1&n&&Co(0,ade,3,2,"div",9,wo),2&n&&Mo(K().model.months)}function cde(n,t){if(1&n){const e=tt();D(0,"ngb-datepicker-navigation",12),Le("navigate",function(s){return ze(e),Ge(K().onNavigateEvent(s))})("select",function(s){return ze(e),Ge(K().onNavigateDateSelect(s))}),M()}if(2&n){const e=K();R("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect","select"===e.model.navigation)("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function ude(n,t){}function dde(n,t){}const hde=["dialog"],fde=["ngbNavOutlet",""];function pde(n,t){}function gde(n,t){if(1&n&&(D(0,"div",0),re(1,pde,0,0,"ng-template",1),M()),2&n){const e=K().$implicit,i=K();R("item",e)("nav",i.nav)("role",i.paneRole),m(),R("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",Lt(5,PH,e.active||i.isPanelTransitioning(e)))}}function mde(n,t){if(1&n&&re(0,gde,2,7,"div",0),2&n){const e=t.$implicit,i=K();Xn(0,e.isPanelInDom()||i.isPanelTransitioning(e)?0:-1)}}function Vde(n,t){1&n&&N(0),2&n&&le(K(2).title)}function Ude(n,t){}function zde(n,t){if(1&n&&(D(0,"h3",2),re(1,Vde,1,1,"ng-template",null,0,hs)(3,Ude,0,0,"ng-template",4),M()),2&n){const e=Fi(2),i=K();m(3),R("ngTemplateOutlet",i.isTitleTemplate()?i.title:e)("ngTemplateOutletContext",i.context)}}const IH={animation:!0,transitionTimerDelayMs:5};let bg=(()=>{class n{constructor(){this.animation=IH.animation}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),the=(()=>{class n{constructor(){this._ngbConfig=fe(bg),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function $r(n){return parseInt(`${n}`,10)}function Wh(n){return"string"==typeof n}function $s(n){return!isNaN($r(n))}function qr(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}function $h(n){return null!=n}function RH(n){return $s(n)?`0${n}`.slice(-2):""}function wg(n){return(n||document.body).getBoundingClientRect()}const ohe=()=>{},{transitionTimerDelayMs:ahe}=IH,Jy=new Map,Kr=(n,t,e,i)=>{let s=i.context||{};const r=Jy.get(t);if(r)switch(i.runningTransition){case"continue":return Sl;case"stop":n.run(()=>r.transition$.complete()),s=Object.assign(r.context,s),Jy.delete(t)}const o=e(t,i.animation,s)||ohe;if(!i.animation||"none"===window.getComputedStyle(t).transitionProperty)return n.run(()=>o()),ct(void 0).pipe(function rhe(n){return t=>new Un(e=>t.subscribe({next:o=>n.run(()=>e.next(o)),error:o=>n.run(()=>e.error(o)),complete:()=>n.run(()=>e.complete())}))}(n));const a=new Zt,l=new Zt,c=a.pipe(function Cle(...n){return t=>ug(t,ct(...n))}(!0));Jy.set(t,{transition$:a,complete:()=>{l.next(),l.complete()},context:s});const u=function nhe(n){const{transitionDelay:t,transitionDuration:e}=window.getComputedStyle(n);return 1e3*(parseFloat(t)+parseFloat(e))}(t);return n.runOutsideAngular(()=>{const d=sr(t,"transitionend").pipe(qe(c),ks(({target:p})=>p===t));dB(Fy(u+ahe).pipe(qe(c)),d,l).pipe(qe(c)).subscribe(()=>{Jy.delete(t),n.run(()=>{o(),a.next(),a.complete()})})}),a.asObservable()},uhe=(n,t,e)=>{let{direction:i,maxSize:s,dimension:r}=e;const{classList:o}=n;function a(){o.add("collapse"),"show"===i?o.add("show"):o.remove("show")}if(t)return s||(s=function che(n,t){if(typeof navigator>"u")return"0px";const{classList:e}=n,i=e.contains("show");i||e.add("show"),n.style[t]="";const s=n.getBoundingClientRect()[t]+"px";return i||e.remove("show"),s}(n,r),e.maxSize=s,n.style[r]="show"!==i?s:"0px",o.remove("collapse"),o.remove("collapsing"),o.remove("show"),wg(n),o.add("collapsing")),n.style[r]="show"===i?s:"0px",()=>{a(),o.remove("collapsing"),n.style[r]=""};a()};let dhe=(()=>{class n{constructor(){this._ngbConfig=fe(bg),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Jw=(()=>{class n{constructor(){this._config=fe(dhe),this._element=fe(gn),this._zone=fe(sn),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new Ne,this.horizontal=this._config.horizontal,this.shown=new Ne,this.hidden=new Ne}set collapsed(e){this._isCollapsed!==e&&(this._isCollapsed=e,this._afterInit&&this._runTransitionWithEvents(e,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(e=this._isCollapsed){this.collapsed=!e,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(e,i){return Kr(this._zone,this._element.nativeElement,uhe,{animation:i,runningTransition:"stop",context:{direction:e?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(e,i){this._runTransition(e,i).subscribe(()=>{e?this.hidden.emit():this.shown.emit()})}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(i,s){2&i&&wn("collapse-horizontal",s.horizontal)},inputs:{animation:"animation",collapsed:[bn.None,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0})}return n})(),hhe=0,FH=(()=>{class n{constructor(){this._vcr=fe(Us),this._element=fe(gn).nativeElement,this._item=fe(rd),this._viewRef=null}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){this._viewRef&&(this._viewRef.destroy(),this._viewRef=null)}_createViewIfNotExists(){if(!this._viewRef){this._viewRef=this._vcr.createEmbeddedView(this._bodyTpl),this._viewRef.detectChanges();for(const e of this._viewRef.rootNodes)this._element.appendChild(e)}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbAccordionBody",""]],contentQueries:function(i,s,r){if(1&i&&ni(r,Ti,7),2&i){let o;ln(o=cn())&&(s._bodyTpl=o.first)}},hostVars:2,hostBindings:function(i,s){2&i&&wn("accordion-body",!0)},standalone:!0})}return n})(),mO=(()=>{class n{constructor(){this.item=fe(rd),this.ngbCollapse=fe(Jw)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region"],hostVars:4,hostBindings:function(i,s){2&i&&(Do("id",s.item.collapseId),Kn("aria-labelledby",s.item.toggleId),wn("accordion-collapse",!0))},exportAs:["ngbAccordionCollapse"],standalone:!0,features:[OT([Jw])]})}return n})(),YH=(()=>{class n{constructor(){this.item=fe(rd),this.accordion=fe(Qy)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(i,s){1&i&&Le("click",function(){return!s.item.disabled&&s.accordion.toggle(s.item.id)}),2&i&&(Do("id",s.item.toggleId),Kn("aria-controls",s.item.collapseId)("aria-expanded",!s.item.collapsed),wn("collapsed",s.item.collapsed))},standalone:!0})}return n})(),jH=(()=>{class n{constructor(){this.item=fe(rd)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["button","ngbAccordionButton",""]],hostAttrs:["type","button"],hostVars:3,hostBindings:function(i,s){2&i&&(Do("disabled",s.item.disabled),wn("accordion-button",!0))},standalone:!0,features:[OT([YH])]})}return n})(),BH=(()=>{class n{constructor(){this.item=fe(rd)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading"],hostVars:4,hostBindings:function(i,s){2&i&&wn("accordion-header",!0)("collapsed",s.item.collapsed)},standalone:!0})}return n})(),rd=(()=>{class n{constructor(){this._accordion=fe(Qy),this._cd=fe(Dr),this._destroyRef=fe(Ta),this._collapsed=!0,this._id="ngb-accordion-item-"+hhe++,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new Ne,this.shown=new Ne,this.hide=new Ne,this.hidden=new Ne}set id(e){Wh(e)&&""!==e&&(this._id=e)}set destroyOnHide(e){this._destroyOnHide=e}get destroyOnHide(){return void 0===this._destroyOnHide?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(e){e?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){const{ngbCollapse:e}=this._collapse;e.animation=!1,e.collapsed=this.collapsed,e.animation=this._accordion.animation,e.hidden.pipe(Ra(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id)}),e.shown.pipe(Ra(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id)})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbAccordionItem",""]],contentQueries:function(i,s,r){if(1&i&&ni(r,mO,7),2&i){let o;ln(o=cn())&&(s._collapse=o.first)}},hostVars:3,hostBindings:function(i,s){2&i&&(Do("id",s.id),wn("accordion-item",!0))},inputs:{id:[bn.None,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"],standalone:!0})}return n})(),Qy=(()=>{class n{constructor(){this._config=fe(the),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new Ne,this.shown=new Ne,this.hide=new Ne,this.hidden=new Ne}toggle(e){this._getItem(e)?.toggle()}expand(e){this._getItem(e)?.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(e=>!e.collapsed)||this._items.first.expand():this._items.forEach(e=>e.expand()))}collapse(e){this._getItem(e)?.collapse()}collapseAll(){this._items?.forEach(e=>e.collapse())}isExpanded(e){const i=this._getItem(e);return!!i&&!i.collapsed}_ensureCanExpand(e){return!(this.closeOthers&&(this._items?(this._items.find(i=>!i.collapsed&&e!==i)?.collapse(),0):this._anItemWasAlreadyExpandedDuringInitialisation||(this._anItemWasAlreadyExpandedDuringInitialisation=!0,0)))}_getItem(e){return this._items?.find(i=>i.id===e)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbAccordion",""]],contentQueries:function(i,s,r){if(1&i&&ni(r,rd,4),2&i){let o;ln(o=cn())&&(s._items=o)}},hostVars:2,hostBindings:function(i,s){2&i&&wn("accordion",!0)},inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0})}return n})(),HH=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),VH=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),fhe=(()=>{class n{constructor(){this._ngbConfig=fe(bg),this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Cg=function(n){return n.START="start",n.END="end",n}(Cg||{});const UH=({classList:n})=>n.contains("carousel-item-start")||n.contains("carousel-item-end"),ev=n=>{n.remove("carousel-item-start"),n.remove("carousel-item-end")},Qw=n=>{ev(n),n.remove("carousel-item-prev"),n.remove("carousel-item-next")},phe=(n,t,{direction:e})=>{const{classList:i}=n;return t?(UH(n)?ev(i):(i.add("carousel-item-"+(e===Cg.START?"next":"prev")),wg(n),i.add("carousel-item-"+e)),()=>{Qw(i),i.add("active")}):(ev(i),Qw(i),void i.add("active"))},ghe=(n,t,{direction:e})=>{const{classList:i}=n;return t?(UH(n)?ev(i):i.add("carousel-item-"+e),()=>{Qw(i),i.remove("active")}):(ev(i),Qw(i),void i.remove("active"))};let mhe=0,_he=0,zH=(()=>{class n{constructor(){this.templateRef=fe(Ti),this.id="ngb-slide-"+mhe++,this.slid=new Ne}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0})}return n})(),yhe=(()=>{class n{constructor(){this.NgbSlideEventSource=tv,this._config=fe(fhe),this._platformId=fe(_c),this._ngZone=fe(sn),this._cd=fe(Dr),this._container=fe(gn),this._destroyRef=fe(Ta),this._interval$=new Gt(this._config.interval),this._mouseHover$=new Gt(!1),this._focused$=new Gt(!1),this._pauseOnHover$=new Gt(this._config.pauseOnHover),this._pauseOnFocus$=new Gt(this._config.pauseOnFocus),this._pause$=new Gt(!1),this._wrap$=new Gt(this._config.wrap),this.id="ngb-carousel-"+_he++,this.animation=this._config.animation,this.keyboard=this._config.keyboard,this.showNavigationArrows=this._config.showNavigationArrows,this.showNavigationIndicators=this._config.showNavigationIndicators,this.slide=new Ne,this.slid=new Ne,this._transitionIds=null}set interval(e){this._interval$.next(e)}get interval(){return this._interval$.value}set wrap(e){this._wrap$.next(e)}get wrap(){return this._wrap$.value}set pauseOnHover(e){this._pauseOnHover$.next(e)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(e){this._pauseOnFocus$.next(e)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(e){this._mouseHover$.next(e)}get mouseHover(){return this._mouseHover$.value}set focused(e){this._focused$.next(e)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(tv.ARROW_LEFT)}arrowRight(){this.focus(),this.next(tv.ARROW_RIGHT)}ngAfterContentInit(){Ej(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const e=Yy([this.slide.pipe(ht(i=>i.current),Pw(this.activeId)),this._wrap$,this.slides.changes.pipe(Pw(null))]).pipe(ht(([i,s])=>{const r=this.slides.toArray(),o=this._getSlideIdxById(i);return s?r.length>1:o<r.length-1}),Iw());Yy([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,e]).pipe(ht(([i,s,r,o,a,l,c])=>i||s&&r||o&&a||!c?0:l),Iw(),Gs(i=>i>0?Fy(i,i):fB),Ra(this._destroyRef)).subscribe(()=>this._ngZone.run(()=>this.next(tv.TIMER)))}),this.slides.changes.pipe(Ra(this._destroyRef)).subscribe(()=>{this._transitionIds?.forEach(e=>(n=>{Jy.get(n)?.complete()})(this._getSlideElement(e))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe(pi(1)).subscribe(()=>{for(const{id:e}of this.slides){const i=this._getSlideElement(e);e===this.activeId?i.classList.add("active"):i.classList.remove("active")}})})}ngAfterContentChecked(){let e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const e=this._getSlideElement(this.activeId);e&&e.classList.add("active")}}select(e,i){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),i)}prev(e){this._cycleToSelected(this._getPrevSlide(this.activeId),Cg.END,e)}next(e){this._cycleToSelected(this._getNextSlide(this.activeId),Cg.START,e)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(e,i,s){const r=this._transitionIds;if(r&&(r[0]!==e||r[1]!==this.activeId))return;let o=this._getSlideById(e);if(o&&o.id!==this.activeId){this._transitionIds=[this.activeId,e],this.slide.emit({prev:this.activeId,current:o.id,direction:i,paused:this._pause$.value,source:s});const a={animation:this.animation,runningTransition:"stop",context:{direction:i}},l=[],c=this._getSlideById(this.activeId);if(c){const p=Kr(this._ngZone,this._getSlideElement(c.id),ghe,a);p.subscribe(()=>{c.slid.emit({isShown:!1,direction:i,source:s})}),l.push(p)}const u=this.activeId;this.activeId=o.id;const d=this._getSlideById(this.activeId),h=Kr(this._ngZone,this._getSlideElement(o.id),phe,a);h.subscribe(()=>{d?.slid.emit({isShown:!0,direction:i,source:s})}),l.push(h),Qu(...l).pipe(pi(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:u,current:o.id,direction:i,paused:this._pause$.value,source:s})})}this._cd.markForCheck()}_getSlideEventDirection(e,i){return this._getSlideIdxById(e)>this._getSlideIdxById(i)?Cg.END:Cg.START}_getSlideById(e){return this.slides.find(i=>i.id===e)||null}_getSlideIdxById(e){const i=this._getSlideById(e);return null!=i?this.slides.toArray().indexOf(i):-1}_getNextSlide(e){const i=this.slides.toArray(),s=this._getSlideIdxById(e);return s===i.length-1?this.wrap?i[0].id:i[i.length-1].id:i[s+1].id}_getPrevSlide(e){const i=this.slides.toArray(),s=this._getSlideIdxById(e);return 0===s?this.wrap?i[i.length-1].id:i[0].id:i[s-1].id}_getSlideElement(e){return this._container.nativeElement.querySelector(`#slide-${e}`)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-carousel"]],contentQueries:function(i,s,r){if(1&i&&ni(r,zH,4),2&i){let o;ln(o=cn())&&(s.slides=o)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(i,s){1&i&&Le("keydown.arrowLeft",function(){return s.keyboard&&s.arrowLeft()})("keydown.arrowRight",function(){return s.keyboard&&s.arrowRight()})("mouseenter",function(){return s.mouseHover=!0})("mouseleave",function(){return s.mouseHover=!1})("focusin",function(){return s.focused=!0})("focusout",function(){return s.focused=!1}),2&i&&(Kn("aria-activedescendant","slide-"+s.activeId),$p("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[So],decls:7,vars:3,consts:()=>{let e,i,s;return e=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,i=$localize`:@@ngb.carousel.previous:Previous`,s=$localize`:@@ngb.carousel.next:Next`,[e,i,s,["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active"],[1,"carousel-inner"],["role","tabpanel",1,"carousel-item",3,"id"],["type","button","data-bs-target","","role","tab",3,"click"],[1,"visually-hidden"],[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"visually-hidden",3,"id"],["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"]]},template:function(i,s){1&i&&(D(0,"div",3),Co(1,Aue,1,5,"button",4,wo),M(),D(3,"div",5),Co(4,Nue,4,4,"div",6,wo),M(),re(6,Fue,8,4)),2&i&&(wn("visually-hidden",!s.showNavigationIndicators),m(),Mo(s.slides),m(3),Mo(s.slides),m(2),Xn(6,s.showNavigationArrows?6:-1))},dependencies:[xc],encapsulation:2,changeDetection:0})}return n})();var tv=function(n){return n.TIMER="timer",n.ARROW_LEFT="arrowLeft",n.ARROW_RIGHT="arrowRight",n.INDICATOR="indicator",n}(tv||{});let GH=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),_O=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();class ts{static from(t){return t instanceof ts?t:t?new ts(t.year,t.month,t.day):null}constructor(t,e,i){this.year=qr(t)?t:null,this.month=qr(e)?e:null,this.day=qr(i)?i:null}equals(t){return null!=t&&this.year===t.year&&this.month===t.month&&this.day===t.day}before(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)}after(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)}}function WH(n){return new ts(n.getFullYear(),n.getMonth()+1,n.getDate())}function eC(n){const t=new Date(n.year,n.month-1,n.day,12);return isNaN(t.getTime())||t.setFullYear(n.year),t}let nv=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>function vhe(){return new bhe}(),providedIn:"root"})}return n})(),bhe=(()=>{class n extends nv{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(e,i="d",s=1){let r=eC(e),o=!0,a=r.getMonth();switch(i){case"y":r.setFullYear(r.getFullYear()+s);break;case"m":a+=s,r.setMonth(a),a%=12,a<0&&(a+=12);break;case"d":r.setDate(r.getDate()+s),o=!1;break;default:return e}return o&&r.getMonth()!==a&&r.setDate(0),WH(r)}getPrev(e,i="d",s=1){return this.getNext(e,i,-s)}getWeekday(e){let s=eC(e).getDay();return 0===s?7:s}getWeekNumber(e,i){7===i&&(i=0);const o=eC(e[(11-i)%7]);o.setDate(o.getDate()+4-(o.getDay()||7));const a=o.getTime();return o.setMonth(0),o.setDate(1),Math.floor(Math.round((a-o.getTime())/864e5)/7)+1}getToday(){return WH(new Date)}isValid(e){if(!(e&&qr(e.year)&&qr(e.month)&&qr(e.day)&&0!==e.year))return!1;const i=eC(e);return!isNaN(i.getTime())&&i.getFullYear()===e.year&&i.getMonth()+1===e.month&&i.getDate()===e.day}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function Mg(n,t){return!function whe(n,t){return!n&&!t||!!n&&!!t&&n.equals(t)}(n,t)}function $H(n,t){return!(!n&&!t||n&&t&&n.year===t.year&&n.month===t.month)}function tC(n,t,e){return n&&t&&n.before(t)?t:n&&e&&n.after(e)?e:n||null}function yO(n,t){const{minDate:e,maxDate:i,disabled:s,markDisabled:r}=t;return!(null==n||s||r&&r(n,{year:n.year,month:n.month})||e&&n.before(e)||i&&n.after(i))}let Ic=(()=>{class n{getMonthLabel(e){return`${this.getMonthFullName(e.month,e.year)} ${this.getYearNumerals(e.year)}`}getDayNumerals(e){return`${e.day}`}getWeekNumerals(e){return`${e}`}getYearNumerals(e){return`${e}`}getWeekLabel(){return""}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>new vO,providedIn:"root"})}return n})(),vO=(()=>{class n extends Ic{constructor(){super(...arguments),this._locale=fe(La),this._monthsShort=IE(this._locale,Ns.Standalone,Bn.Abbreviated),this._monthsFull=IE(this._locale,Ns.Standalone,Bn.Wide)}getWeekdayLabel(e,i){const s=lj(this._locale,Ns.Standalone,void 0===i?Bn.Short:i);return s.map((o,a)=>s[(a+1)%7])[e-1]||""}getMonthShortName(e){return this._monthsShort[e-1]||""}getMonthFullName(e){return this._monthsFull[e-1]||""}getDayAriaLabel(e){return NE(new Date(e.year,e.month-1,e.day),"fullDate",this._locale)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),bO=(()=>{class n{constructor(){this._VALIDATORS={dayTemplateData:e=>{if(this._state.dayTemplateData!==e)return{dayTemplateData:e}},displayMonths:e=>{if(qr(e=$r(e))&&e>0&&this._state.displayMonths!==e)return{displayMonths:e}},disabled:e=>{if(this._state.disabled!==e)return{disabled:e}},firstDayOfWeek:e=>{if(qr(e=$r(e))&&e>=0&&this._state.firstDayOfWeek!==e)return{firstDayOfWeek:e}},focusVisible:e=>{if(this._state.focusVisible!==e&&!this._state.disabled)return{focusVisible:e}},markDisabled:e=>{if(this._state.markDisabled!==e)return{markDisabled:e}},maxDate:e=>{const i=this.toValidDate(e,null);if(Mg(this._state.maxDate,i))return{maxDate:i}},minDate:e=>{const i=this.toValidDate(e,null);if(Mg(this._state.minDate,i))return{minDate:i}},navigation:e=>{if(this._state.navigation!==e)return{navigation:e}},outsideDays:e=>{if(this._state.outsideDays!==e)return{outsideDays:e}},weekdays:e=>{const i=!0===e||!1===e?Bn.Short:e,s=!0!==e&&!1!==e||e;if(this._state.weekdayWidth!==i||this._state.weekdaysVisible!==s)return{weekdayWidth:i,weekdaysVisible:s}}},this._calendar=fe(nv),this._i18n=fe(Ic),this._model$=new Zt,this._dateSelect$=new Zt,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:Bn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe(ks(e=>e.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(ks(e=>null!==e))}set(e){let i=Object.keys(e).map(s=>this._VALIDATORS[s](e[s])).reduce((s,r)=>({...s,...r}),{});Object.keys(i).length>0&&this._nextState(i)}focus(e){const i=this.toValidDate(e,null);null!=i&&!this._state.disabled&&Mg(this._state.focusDate,i)&&this._nextState({focusDate:e})}focusSelect(){yO(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(e){const i=this.toValidDate(e,this._calendar.getToday());null!=i&&!this._state.disabled&&(!this._state.firstDate||$H(this._state.firstDate,i))&&this._nextState({firstDate:i})}select(e,i={}){const s=this.toValidDate(e,null);null!=s&&!this._state.disabled&&(Mg(this._state.selectedDate,s)&&this._nextState({selectedDate:s}),i.emitEvent&&yO(s,this._state)&&this._dateSelect$.next(s))}toValidDate(e,i){const s=ts.from(e);return void 0===i&&(i=this._calendar.getToday()),this._calendar.isValid(s)?s:i}getMonth(e){for(let i of this._state.months)if(e.month===i.number&&e.year===i.year)return i;throw new Error(`month ${e.month} of year ${e.year} not found`)}_nextState(e){const i=this._updateState(e);this._patchContexts(i),this._state=i,this._model$.next(this._state)}_patchContexts(e){const{months:i,displayMonths:s,selectedDate:r,focusDate:o,focusVisible:a,disabled:l,outsideDays:c}=e;e.months.forEach(u=>{u.weeks.forEach(d=>{d.days.forEach(h=>{o&&(h.context.focused=o.equals(h.date)&&a),h.tabindex=!l&&o&&h.date.equals(o)&&o.month===u.number?0:-1,!0===l&&(h.context.disabled=!0),void 0!==r&&(h.context.selected=null!==r&&r.equals(h.date)),u.number!==h.date.month&&(h.hidden="hidden"===c||"collapsed"===c||s>1&&h.date.after(i[0].firstDate)&&h.date.before(i[s-1].lastDate))})})})}_updateState(e){const i=Object.assign({},this._state,e);let s=i.firstDate;if(("minDate"in e||"maxDate"in e)&&(function Che(n,t){if(t&&n&&t.before(n))throw new Error(`'maxDate' ${t} should be greater than 'minDate' ${n}`)}(i.minDate,i.maxDate),i.focusDate=tC(i.focusDate,i.minDate,i.maxDate),i.firstDate=tC(i.firstDate,i.minDate,i.maxDate),s=i.focusDate),"disabled"in e&&(i.focusVisible=!1),"selectedDate"in e&&0===this._state.months.length&&(s=i.selectedDate),"focusVisible"in e||"focusDate"in e&&(i.focusDate=tC(i.focusDate,i.minDate,i.maxDate),s=i.focusDate,0!==i.months.length&&i.focusDate&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in e&&(i.firstDate=tC(i.firstDate,i.minDate,i.maxDate),s=i.firstDate),s){const o=function The(n,t,e,i,s){const{displayMonths:r,months:o}=e,a=o.splice(0,o.length);return Array.from({length:r},(c,u)=>{const d=Object.assign(n.getNext(t,"m",u),{day:1});if(o[u]=null,!s){const h=a.findIndex(p=>p.firstDate.equals(d));-1!==h&&(o[u]=a.splice(h,1)[0])}return d}).forEach((c,u)=>{null===o[u]&&(o[u]=function Ehe(n,t,e,i,s={}){const{dayTemplateData:r,minDate:o,maxDate:a,firstDayOfWeek:l,markDisabled:c,outsideDays:u,weekdayWidth:d,weekdaysVisible:h}=e,p=n.getToday();s.firstDate=null,s.lastDate=null,s.number=t.month,s.year=t.year,s.weeks=s.weeks||[],s.weekdays=s.weekdays||[],t=function khe(n,t,e){const i=n.getDaysPerWeek(),s=new ts(t.year,t.month,1),r=n.getWeekday(s)%i;return n.getPrev(s,"d",(i+r-e)%i)}(n,t,l),h||(s.weekdays.length=0);for(let _=0;_<n.getWeeksPerMonth();_++){let v=s.weeks[_];v||(v=s.weeks[_]={number:0,days:[],collapsed:!0});const x=v.days;for(let k=0;k<n.getDaysPerWeek();k++){0===_&&h&&(s.weekdays[k]=i.getWeekdayLabel(n.getWeekday(t),d));const P=new ts(t.year,t.month,t.day),j=n.getNext(P),z=i.getDayAriaLabel(P);let G=!!(o&&P.before(o)||a&&P.after(a));!G&&c&&(G=c(P,{month:s.number,year:s.year}));let Z=P.equals(p),oe=r?r(P,{month:s.number,year:s.year}):void 0;null===s.firstDate&&P.month===s.number&&(s.firstDate=P),P.month===s.number&&j.month!==s.number&&(s.lastDate=P);let ce=x[k];ce||(ce=x[k]={}),ce.date=P,ce.context=Object.assign(ce.context||{},{$implicit:P,date:P,data:oe,currentMonth:s.number,currentYear:s.year,disabled:G,focused:!1,selected:!1,today:Z}),ce.tabindex=-1,ce.ariaLabel=z,ce.hidden=!1,t=j}v.number=n.getWeekNumber(x.map(k=>k.date),l),v.collapsed="collapsed"===u&&x[0].date.month!==s.number&&x[x.length-1].date.month!==s.number}return s}(n,c,e,i,a.shift()||{}))}),o}(this._calendar,s,i,this._i18n,"dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e||"weekdaysVisible"in e);i.months=o,i.firstDate=o[0].firstDate,i.lastDate=o[o.length-1].lastDate,"selectedDate"in e&&!yO(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in e&&(!i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=s);const a=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,l=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;"select"===i.navigation?(("minDate"in e||"maxDate"in e||0===i.selectBoxes.years.length||a)&&(i.selectBoxes.years=function Dhe(n,t,e){if(!n)return[];const i=t?Math.max(t.year,n.year-500):n.year-10,r=(e?Math.min(e.year,n.year+500):n.year+10)-i+1,o=Array(r);for(let a=0;a<r;a++)o[a]=i+a;return o}(i.firstDate,i.minDate,i.maxDate)),("minDate"in e||"maxDate"in e||0===i.selectBoxes.months.length||a)&&(i.selectBoxes.months=function Mhe(n,t,e,i){if(!t)return[];let s=n.getMonths(t.year);if(e&&t.year===e.year){const r=s.findIndex(o=>o===e.month);s=s.slice(r)}if(i&&t.year===i.year){const r=s.findIndex(o=>o===i.month);s=s.slice(0,r+1)}return s}(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},("arrows"===i.navigation||"select"===i.navigation)&&(l||a||"minDate"in e||"maxDate"in e||"disabled"in e)&&(i.prevDisabled=i.disabled||function She(n,t,e){const i=Object.assign(n.getPrev(t,"m"),{day:1});return null!=e&&(i.year===e.year&&i.month<e.month||i.year<e.year&&1===e.month)}(this._calendar,i.firstDate,i.minDate),i.nextDisabled=i.disabled||function xhe(n,t,e){const i=Object.assign(n.getNext(t,"m"),{day:1});return null!=e&&i.after(e)}(this._calendar,i.lastDate,i.maxDate))}return i}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();var nC=function(n){return n[n.PREV=0]="PREV",n[n.NEXT=1]="NEXT",n}(nC||{});let wO=(()=>{class n{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=Bn.Short}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),CO=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>function Ohe(){return new Lhe}(),providedIn:"root"})}return n})(),Lhe=(()=>{class n extends CO{fromModel(e){return e&&qr(e.year)&&qr(e.month)&&qr(e.day)?{year:e.year,month:e.month,day:e.day}:null}toModel(e){return e&&qr(e.year)&&qr(e.month)&&qr(e.day)?{year:e.year,month:e.month,day:e.day}:null}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();var yi=function(n){return n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.Space=32]="Space",n[n.PageUp=33]="PageUp",n[n.PageDown=34]="PageDown",n[n.End=35]="End",n[n.Home=36]="Home",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowDown=40]="ArrowDown",n}(yi||{});let Phe=(()=>{class n{processKey(e,i){const{state:s,calendar:r}=i;switch(e.which){case yi.PageUp:i.focusDate(r.getPrev(s.focusedDate,e.shiftKey?"y":"m",1));break;case yi.PageDown:i.focusDate(r.getNext(s.focusedDate,e.shiftKey?"y":"m",1));break;case yi.End:i.focusDate(e.shiftKey?s.maxDate:s.lastDate);break;case yi.Home:i.focusDate(e.shiftKey?s.minDate:s.firstDate);break;case yi.ArrowLeft:i.focusDate(r.getPrev(s.focusedDate,"d",1));break;case yi.ArrowUp:i.focusDate(r.getPrev(s.focusedDate,"d",r.getDaysPerWeek()));break;case yi.ArrowRight:i.focusDate(r.getNext(s.focusedDate,"d",1));break;case yi.ArrowDown:i.focusDate(r.getNext(s.focusedDate,"d",r.getDaysPerWeek()));break;case yi.Enter:case yi.Space:i.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ihe=(()=>{class n{constructor(){this.i18n=fe(Ic)}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(i,s){2&i&&wn("bg-primary",s.selected)("text-white",s.selected)("text-muted",s.isMuted())("outside",s.isMuted())("active",s.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[So],attrs:Yue,decls:1,vars:1,template:function(i,s){1&i&&N(0),2&i&&le(s.i18n.getDayNumerals(s.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-tertiary-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0})}return n})(),Ahe=(()=>{class n{constructor(){this._month=-1,this._year=-1,this.i18n=fe(Ic),this.select=new Ne}changeMonth(e){this.select.emit(new ts(this.date.year,$r(e),1))}changeYear(e){this.select.emit(new ts($r(e),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this.monthSelect.nativeElement.value=`${this._month}`),this.date.year!==this._year&&(this._year=this.date.year,this.yearSelect.nativeElement.value=`${this._year}`))}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(i,s){if(1&i&&(xo(jue,7,gn),xo(Bue,7,gn)),2&i){let r;ln(r=cn())&&(s.monthSelect=r.first),ln(r=cn())&&(s.yearSelect=r.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[So],decls:8,vars:2,consts:()=>{let e,i,s,r;return e=$localize`:@@ngb.datepicker.select-month:Select month`,i=$localize`:@@ngb.datepicker.select-month:Select month`,s=$localize`:@@ngb.datepicker.select-year:Select year`,r=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",e,"title",i,1,"form-select",3,"change","disabled"],[3,"value"],["aria-label",s,"title",r,1,"form-select",3,"change","disabled"]]},template:function(i,s){if(1&i){const r=tt();D(0,"select",2,0),Le("change",function(a){return ze(r),Ge(s.changeMonth(a.target.value))}),Co(2,Hue,2,3,"option",3,wo),M(),D(4,"select",4,1),Le("change",function(a){return ze(r),Ge(s.changeYear(a.target.value))}),Co(6,Vue,2,2,"option",3,wo),M()}2&i&&(R("disabled",s.disabled),m(2),Mo(s.months),m(2),R("disabled",s.disabled),m(2),Mo(s.years))},styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0})}return n})(),Rhe=(()=>{class n{constructor(){this.navigation=nC,this.i18n=fe(Ic),this.months=[],this.navigate=new Ne,this.select=new Ne}onClickPrev(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[So],decls:8,vars:4,consts:()=>{let e,i,s,r;return e=$localize`:@@ngb.datepicker.previous-month:Previous month`,i=$localize`:@@ngb.datepicker.previous-month:Previous month`,s=$localize`:@@ngb.datepicker.next-month:Next month`,r=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow","ngb-dp-arrow-prev"],["type","button","aria-label",e,"title",i,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years"],[1,"ngb-dp-arrow","ngb-dp-arrow-next"],["type","button","aria-label",s,"title",r,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],[1,"ngb-dp-arrow"],[1,"ngb-dp-month-name"]]},template:function(i,s){1&i&&(D(0,"div",0)(1,"button",1),Le("click",function(o){return s.onClickPrev(o)}),ee(2,"span",2),M()(),re(3,Uue,1,4,"ngb-datepicker-navigation-select",3)(4,$ue,2,0),D(5,"div",4)(6,"button",5),Le("click",function(o){return s.onClickNext(o)}),ee(7,"span",2),M()()),2&i&&(m(),R("disabled",s.prevDisabled),m(2),Xn(3,s.showSelect?3:-1),m(),Xn(4,s.showSelect?-1:4),m(2),R("disabled",s.nextDisabled))},dependencies:[Ahe],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow-next{justify-content:flex-end}.ngb-dp-arrow-next .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0})}return n})(),qH=(()=>{class n{constructor(){this.templateRef=fe(Ti)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0})}return n})(),KH=(()=>{class n{constructor(){this._keyboardService=fe(Phe),this._service=fe(bO),this.i18n=fe(Ic),this.datepicker=fe(iC)}set month(e){this.viewModel=this._service.getMonth(e)}onKeyDown(e){this._keyboardService.processKey(e,this.datepicker)}doSelect(e){!e.context.disabled&&!e.hidden&&this.datepicker.onDateSelect(e.date)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(i,s){1&i&&Le("keydown",function(o){return s.onKeyDown(o)})},inputs:{month:"month"},standalone:!0,features:[So],decls:3,vars:1,consts:[["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["role","row",1,"ngb-dp-week"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"disabled","tabindex","hidden","ngb-dp-today"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,s){1&i&&(re(0,Xue,4,1,"div",0),Co(1,nde,1,1,null,null,wo)),2&i&&(Xn(0,s.viewModel.weekdays.length>0?0:-1),m(),Mo(s.viewModel.weeks))},dependencies:[xc],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-tertiary-bg)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2})}return n})(),iC=(()=>{class n{constructor(){this.injector=fe(ls),this._service=fe(bO),this._calendar=fe(nv),this._i18n=fe(Ic),this._config=fe(wO),this._nativeElement=fe(gn).nativeElement,this._ngbDateAdapter=fe(CO),this._ngZone=fe(sn),this._destroyRef=fe(Ta),this._controlValue=null,this._publicState={},this.dayTemplate=this._config.dayTemplate,this.dayTemplateData=this._config.dayTemplateData,this.displayMonths=this._config.displayMonths,this.firstDayOfWeek=this._config.firstDayOfWeek,this.footerTemplate=this._config.footerTemplate,this.markDisabled=this._config.markDisabled,this.maxDate=this._config.maxDate,this.minDate=this._config.minDate,this.navigation=this._config.navigation,this.outsideDays=this._config.outsideDays,this.showWeekNumbers=this._config.showWeekNumbers,this.startDate=this._config.startDate,this.weekdays=this._config.weekdays,this.navigate=new Ne,this.dateSelect=new Ne,this.onChange=i=>{},this.onTouched=()=>{};const e=fe(Dr);this._service.dateSelect$.pipe(Ra()).subscribe(i=>{this.dateSelect.emit(i)}),this._service.model$.pipe(Ra()).subscribe(i=>{const s=i.firstDate,r=this.model?this.model.firstDate:null;this._publicState={maxDate:i.maxDate,minDate:i.minDate,firstDate:i.firstDate,lastDate:i.lastDate,focusedDate:i.focusDate,months:i.months.map(u=>u.firstDate)};let o=!1;if(!s.equals(r)&&(this.navigate.emit({current:r?{year:r.year,month:r.month}:null,next:{year:s.year,month:s.month},preventDefault:()=>o=!0}),o&&null!==r))return void this._service.open(r);const a=i.selectedDate,l=i.focusDate,c=this.model?this.model.focusDate:null;this.model=i,Mg(a,this._controlValue)&&(this._controlValue=a,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(a))),Mg(l,c)&&c&&i.focusVisible&&this.focus(),e.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(e){this._service.focus(ts.from(e))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe(pi(1)).subscribe(()=>this._nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]')?.focus())}navigateTo(e){this._service.open(ts.from(e?e.day?e:{...e,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{(function ble(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Oh(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Un?n[0]:cg(t)(Ty(n,e))})(sr(this._contentEl.nativeElement,"focusin"),sr(this._contentEl.nativeElement,"focusout")).pipe(ks(s=>{const r=s.target,o=s.relatedTarget;return!(r?.classList.contains("ngb-dp-day")&&o?.classList.contains("ngb-dp-day")&&this._nativeElement.contains(r)&&this._nativeElement.contains(o))}),Ra(this._destroyRef)).subscribe(({type:s})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===s})))})}ngOnInit(){if(void 0===this.model){const e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(i=>e[i]=this[i]),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(e){const i={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(s=>s in e).forEach(s=>i[s]=this[s]),this._service.set(i),"startDate"in e){const{currentValue:s,previousValue:r}=e.startDate;$H(r,s)&&this.navigateTo(this.startDate)}}onDateSelect(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}onNavigateDateSelect(e){this._service.open(e)}onNavigateEvent(e){switch(e){case nC.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case nC.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._service.set({disabled:e})}writeValue(e){this._controlValue=ts.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-datepicker"]],contentQueries:function(i,s,r){if(1&i&&ni(r,qH,7),2&i){let o;ln(o=cn())&&(s.contentTemplateFromContent=o.first)}},viewQuery:function(i,s){if(1&i&&(xo(ide,7),xo(sde,7)),2&i){let r;ln(r=cn())&&(s._defaultDayTemplate=r.first),ln(r=cn())&&(s._contentEl=r.first)}},hostVars:2,hostBindings:function(i,s){2&i&&wn("disabled",s.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[kt([{provide:ra,useExisting:Yt(()=>n),multi:!0},bO]),Ut,So],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],[1,"ngb-dp-month"],[1,"ngb-dp-month-name"],[3,"month"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]],template:function(i,s){if(1&i&&(re(0,rde,1,5,"ng-template",null,0,hs)(2,lde,2,0,"ng-template",null,1,hs),D(4,"div",3),re(5,cde,1,7,"ngb-datepicker-navigation",4),M(),D(6,"div",5,2),re(8,ude,0,0,"ng-template",6),M(),re(9,dde,0,0,"ng-template",7)),2&i){const r=Fi(3);m(5),Xn(5,"none"!==s.navigation?5:-1),m(),wn("ngb-dp-months",!s.contentTemplate),m(2),R("ngTemplateOutlet",s.contentTemplate||(null==s.contentTemplateFromContent?null:s.contentTemplateFromContent.templateRef)||r)("ngTemplateOutletContext",Lt(7,PH,s))("ngTemplateOutletInjector",s.injector),m(),R("ngTemplateOutlet",s.footerTemplate)}},dependencies:[xc,Ihe,KH,Rhe],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-tertiary-bg)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-tertiary-bg)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0})}return n})();const sC=(n,t)=>!!t&&t.some(e=>e.contains(n)),XH=(n,t)=>!t||null!=function she(n,t){return!t||typeof n.closest>"u"?null:n.closest(t)}(n,t),Nhe=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function MO(n,t,e,i,s,r,o,a){e&&n.runOutsideAngular((n=>Nhe?()=>setTimeout(()=>n(),100):n)(()=>{const c=sr(t,"keydown").pipe(qe(s),ks(h=>h.which===yi.Escape),ii(h=>h.preventDefault())),u=sr(t,"mousedown").pipe(ht(h=>{const p=h.target;return 2!==h.button&&!sC(p,o)&&("inside"===e?sC(p,r)&&XH(p,a):"outside"===e?!sC(p,r):XH(p,a)||!sC(p,r))}),qe(s)),d=sr(t,"mouseup").pipe(Bk(u),ks(([h,p])=>p),gB(0),qe(s));dB([c.pipe(ht(h=>0)),d.pipe(ht(h=>1))]).subscribe(h=>n.run(()=>i(h)))}))}const ZH=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function JH(n){const t=Array.from(n.querySelectorAll(ZH)).filter(e=>-1!==e.tabIndex);return[t[0],t[t.length-1]]}const QH=(n,t,e,i=!1)=>{n.runOutsideAngular(()=>{const s=sr(t,"focusin").pipe(qe(e),ht(r=>r.target));sr(t,"keydown").pipe(qe(e),ks(r=>r.which===yi.Tab),Bk(s)).subscribe(([r,o])=>{const[a,l]=JH(t);(o===a||o===t)&&r.shiftKey&&(l.focus(),r.preventDefault()),o===l&&!r.shiftKey&&(a.focus(),r.preventDefault())}),i&&sr(t,"click").pipe(qe(e),Bk(s),ht(r=>r[1])).subscribe(r=>r.focus())})};let Yhe=(()=>{class n{constructor(){this._element=fe(Ki).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const jhe=/\s+/,Bhe=/  +/gi,Hhe={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Uhe=/^left/,zhe=/^right/,Ghe=/^start/,Whe=/^end/;function eV({placement:n,baseClass:t},e){let i=Array.isArray(n)?n:n.split(jhe),r=i.findIndex(c=>"auto"===c);r>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(c){null==i.find(u=>-1!==u.search("^"+c))&&i.splice(r++,1,c)});const o=i.map(c=>function Vhe(n,t){const[e,i]=Hhe[n];return t&&i||e}(c,e.isRTL()));return{placement:o.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!t,phase:"write",fn({state:c}){const u=new RegExp(t+"(-[a-z]+)*","gi"),d=c.elements.popper,h=c.placement;let p=d.className;p=p.replace(u,""),p+=` ${function $he(n,t){let[e,i]=t.split("-");const s=e.replace(Uhe,"start").replace(zhe,"end");let r=[s];if(i){let o=i;("left"===e||"right"===e)&&(o=o.replace(Ghe,"top").replace(Whe,"bottom")),r.push(`${s}-${o}`)}return n&&(r=r.map(o=>`${n}-${o}`)),r.join(" ")}(t,h)}`,p=p.trim().replace(Bhe," "),d.className=p}},tue,rue,cue,{enabled:!0,name:"flip",options:{fallbackPlacements:o}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function tV(n){return n}function DO(){const n=fe(Yhe);let t=null;return{createPopper(e){if(!t){let s=(e.updatePopperOptions||tV)(eV(e,n));t=Oue(e.hostElement,e.targetElement,s)}},update(){t&&t.update()},setOptions(e){if(t){let s=(e.updatePopperOptions||tV)(eV(e,n));t.setOptions(s)}},destroy(){t&&(t.destroy(),t=null)}}}let rC=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>function qhe(){return new Khe}(),providedIn:"root"})}return n})(),Khe=(()=>{class n extends rC{parse(e){if(null!=e){const i=e.trim().split("-");if(1===i.length&&$s(i[0]))return{year:$r(i[0]),month:null,day:null};if(2===i.length&&$s(i[0])&&$s(i[1]))return{year:$r(i[0]),month:$r(i[1]),day:null};if(3===i.length&&$s(i[0])&&$s(i[1])&&$s(i[2]))return{year:$r(i[0]),month:$r(i[1]),day:$r(i[2])}}return null}format(e){return e?`${e.year}-${$s(e.month)?RH(e.month):""}-${$s(e.day)?RH(e.day):""}`:""}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),nV=(()=>{class n extends wO{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=e=>e,this.restoreFocus=!0}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function xO(n){return t=>(t.modifiers.push(Iue,{name:"offset",options:{offset:()=>n}}),t)}let iV=(()=>{class n{constructor(){this._parserFormatter=fe(rC),this._elRef=fe(gn),this._vcRef=fe(Us),this._ngZone=fe(sn),this._calendar=fe(nv),this._dateAdapter=fe(CO),this._document=fe(Ki),this._changeDetector=fe(Dr),this._config=fe(nV),this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._positioning=DO(),this._destroyCloseHandlers$=new Zt,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.positionTarget=this._config.positionTarget,this.dateSelect=new Ne,this.navigate=new Ne,this.closed=new Ne,this._onChange=e=>{},this._onTouched=()=>{},this._validatorChange=()=>{}}get disabled(){return this._disabled}set disabled(e){this._disabled=""===e||e&&"false"!==e,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}registerOnValidatorChange(e){this._validatorChange=e}setDisabledState(e){this.disabled=e}validate(e){const{value:i}=e;if(null!=i){const s=this._fromDateStruct(this._dateAdapter.fromModel(i));if(!s)return{ngbDate:{invalid:i}};if(this.minDate&&s.before(ts.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:i}}};if(this.maxDate&&s.after(ts.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:i}}}}return null}writeValue(e){this._model=this._fromDateStruct(this._dateAdapter.fromModel(e)),this._writeModelValue(this._model)}manualDateChange(e,i=!1){const s=e!==this._inputValue;s&&(this._inputValue=e,this._model=this._fromDateStruct(this._parserFormatter.parse(e))),(s||!i)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===e?null:e),i&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let e;if(this._cRef=this._vcRef.createComponent(iC),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(i=>{this.writeValue(i),this._onChange(i),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container)?.appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,QH(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus()),e=Wh(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!e)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._ngZone.runOutsideAngular(()=>{this._cRef&&e&&(this._positioning.createPopper({hostElement:e,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:i=>this.popperOptions(xO([0,2])(i))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let e=this._elWithFocus;Wh(this.restoreFocus)?e=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(e=this.restoreFocus),e&&e.focus?e.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(e){this.isOpen()&&this._cRef.instance.navigateTo(e)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(e){if((e.minDate||e.maxDate)&&(this._validatorChange(),this.isOpen()&&(e.minDate&&this._cRef.setInput("minDate",this.minDate),e.maxDate&&this._cRef.setInput("maxDate",this.maxDate))),e.datepickerClass){const{currentValue:i,previousValue:s}=e.datepickerClass;this._applyPopupClass(i,s)}e.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(e){["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(i=>{void 0!==this[i]&&e.setInput(i,this[i])}),e.setInput("startDate",this.startDate||this._model)}_applyPopupClass(e,i){const s=this._cRef?.location.nativeElement;s&&(e&&s.classList.add(e),i&&s.classList.remove(i))}_applyPopupStyling(e){e.classList.add("dropdown-menu","show"),"body"===this.container&&e.classList.add("ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(e){e.navigate.subscribe(i=>this.navigate.emit(i)),e.dateSelect.subscribe(i=>{this.dateSelect.emit(i),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(e){const i=this._parserFormatter.format(e);this._inputValue=i,this._elRef.nativeElement.value=i,this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(e)),this._onTouched())}_fromDateStruct(e){const i=e?new ts(e.year,e.month,e.day):null;return this._calendar.isValid(i)?i:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),MO(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(i,s){1&i&&Le("input",function(o){return s.manualDateChange(o.target.value)})("change",function(o){return s.manualDateChange(o.target.value,!0)})("focus",function(){return s.onFocus()})("blur",function(){return s.onBlur()}),2&i&&Do("disabled",s.disabled)},inputs:{autoClose:"autoClose",contentTemplate:"contentTemplate",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!0,features:[kt([{provide:ra,useExisting:Yt(()=>n),multi:!0},{provide:Ws,useExisting:Yt(()=>n),multi:!0},{provide:wO,useExisting:nV}]),Ut]})}return n})();new Date(1882,10,12),new Date(2174,10,25);let hV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),pV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),dfe=(()=>{class n{constructor(){this._ngbConfig=fe(bg),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class Xh{constructor(t,e,i){this.nodes=t,this.viewRef=e,this.componentRef=i}}class hfe{constructor(t){this._componentType=t,this._windowRef=null,this._contentRef=null,this._document=fe(Ki),this._applicationRef=fe(Dl),this._injector=fe(ls),this._viewContainerRef=fe(Us),this._ngZone=fe(sn)}open(t,e,i=!1){this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:s}=this._windowRef.location,r=this._ngZone.onStable.pipe(pi(1),_t(()=>Kr(this._ngZone,s,({classList:o})=>o.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(t=!1){return this._windowRef?Kr(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:t,runningTransition:"stop"}).pipe(ii(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):ct(void 0)}_getContentRef(t,e){if(t){if(t instanceof Ti){const i=t.createEmbeddedView(e);return this._applicationRef.attachView(i),new Xh([i.rootNodes],i)}return new Xh([[this._document.createTextNode(`${t}`)]])}return new Xh([])}}let ffe=(()=>{class n{constructor(){this._document=fe(Ki)}hide(){const e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,s=i.style,{overflow:r,paddingRight:o}=s;if(e>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);s.paddingRight=`${a+e}px`}return s.overflow="hidden",()=>{e>0&&(s.paddingRight=o),s.overflow=r}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),pfe=(()=>{class n{constructor(){this._nativeElement=fe(gn).nativeElement,this._zone=fe(sn)}ngOnInit(){this._zone.onStable.asObservable().pipe(pi(1)).subscribe(()=>{Kr(this._zone,this._nativeElement,(e,i)=>{i&&wg(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Kr(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,s){2&i&&(qp("modal-backdrop"+(s.backdropClass?" "+s.backdropClass:"")),wn("show",!s.animation)("fade",s.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[So],decls:0,vars:0,template:function(i,s){},encapsulation:2})}return n})();class gV{update(t){}close(t){}dismiss(t){}}const gfe=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],mfe=["animation","backdropClass"];class _fe{_applyWindowOptions(t,e){gfe.forEach(i=>{$h(e[i])&&(t[i]=e[i])})}_applyBackdropOptions(t,e){mfe.forEach(i=>{$h(e[i])&&(t[i]=e[i])})}update(t){this._applyWindowOptions(this._windowCmptRef.instance,t),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,t)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(qe(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(qe(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(t,e,i,s){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=s,this._closed=new Zt,this._dismissed=new Zt,this._hidden=new Zt,t.instance.dismissEvent.subscribe(r=>{this.dismiss(r)}),this.result=new Promise((r,o)=>{this._resolve=r,this._reject=o}),this.result.then(null,()=>{})}close(t){this._windowCmptRef&&(this._closed.next(t),this._resolve(t),this._removeModalElements())}_dismiss(t){this._dismissed.next(t),this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();!function AH(n){return n&&n.then}(e)?!1!==e&&this._dismiss(t):e.then(i=>{!1!==i&&this._dismiss(t)},()=>{})}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():ct(void 0);t.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Qu(t,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var PO=function(n){return n[n.BACKDROP_CLICK=0]="BACKDROP_CLICK",n[n.ESC=1]="ESC",n}(PO||{});let yfe=(()=>{class n{constructor(){this._document=fe(Ki),this._elRef=fe(gn),this._zone=fe(sn),this._closed$=new Zt,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Ne,this.shown=new Zt,this.hidden=new Zt}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Wh(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(pi(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},o=Qu(Kr(this._zone,e,()=>e.classList.remove("show"),i),Kr(this._zone,this._dialogEl.nativeElement,()=>{},i));return o.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),o}_show(){const e={animation:this.animation,runningTransition:"continue"};Qu(Kr(this._zone,this._elRef.nativeElement,(r,o)=>{o&&wg(r),r.classList.add("show")},e),Kr(this._zone,this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{sr(e,"keydown").pipe(qe(this._closed$),ks(s=>s.which===yi.Escape)).subscribe(s=>{this.keyboard?requestAnimationFrame(()=>{s.defaultPrevented||this._zone.run(()=>this.dismiss(PO.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;sr(this._dialogEl.nativeElement,"mousedown").pipe(qe(this._closed$),ii(()=>i=!1),Gs(()=>sr(e,"mouseup").pipe(qe(this._closed$),pi(1))),ks(({target:s})=>e===s)).subscribe(()=>{i=!0}),sr(e,"click").pipe(qe(this._closed$)).subscribe(({target:s})=>{e===s&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(PO.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){const i=e.querySelector("[ngbAutofocus]"),s=JH(e)[0];(i||s||e).focus()}}_restoreFocus(){const e=this._document.body,i=this._elWithFocus;let s;s=i&&i.focus&&e.contains(i)?i:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>s.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Kr(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-modal-window"]],viewQuery:function(i,s){if(1&i&&xo(hde,7),2&i){let r;ln(r=cn())&&(s._dialogEl=r.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(i,s){2&i&&(Kn("aria-modal",!0)("aria-labelledby",s.ariaLabelledBy)("aria-describedby",s.ariaDescribedBy),qp("modal d-block"+(s.windowClass?" "+s.windowClass:"")),wn("fade",s.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[So],ngContentSelectors:LH,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,s){1&i&&(Wt(),D(0,"div",1,0)(2,"div",2),$t(3),M()()),2&i&&qp("modal-dialog"+(s.size?" modal-"+s.size:"")+(s.centered?" modal-dialog-centered":"")+s.fullscreenClass+(s.scrollable?" modal-dialog-scrollable":"")+(s.modalDialogClass?" "+s.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return n})(),vfe=(()=>{class n{constructor(){this._applicationRef=fe(Dl),this._injector=fe(ls),this._environmentInjector=fe(ys),this._document=fe(Ki),this._scrollBar=fe(ffe),this._activeWindowCmptHasChanged=new Zt,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new Ne;const e=fe(sn);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const i=this._windowCmpts[this._windowCmpts.length-1];QH(e,i.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(i.location.nativeElement)}})}_restoreScrollBar(){const e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,i,s){const r=s.container instanceof HTMLElement?s.container:$h(s.container)?this._document.querySelector(s.container):this._document.body;if(!r)throw new Error(`The specified modal container "${s.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const o=new gV,a=(e=s.injector||e).get(ys,null)||this._environmentInjector,l=this._getContentRef(e,a,i,o,s);let c=!1!==s.backdrop?this._attachBackdrop(r):void 0,u=this._attachWindowComponent(r,l.nodes),d=new _fe(u,l,c,s.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(u),d.hidden.pipe(pi(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),o.close=h=>{d.close(h)},o.dismiss=h=>{d.dismiss(h)},o.update=h=>{d.update(h)},d.update(s),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),c&&c.instance&&c.changeDetectorRef.detectChanges(),u.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(i=>i.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let i=kE(pfe,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_attachWindowComponent(e,i){let s=kE(yfe,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(s.hostView),e.appendChild(s.location.nativeElement),s}_getContentRef(e,i,s,r,o){return s?s instanceof Ti?this._createFromTemplateRef(s,r):Wh(s)?this._createFromString(s):this._createFromComponent(e,i,s,r,o):new Xh([])}_createFromTemplateRef(e,i){const r=e.createEmbeddedView({$implicit:i,close(o){i.close(o)},dismiss(o){i.dismiss(o)}});return this._applicationRef.attachView(r),new Xh([r.rootNodes],r)}_createFromString(e){const i=this._document.createTextNode(`${e}`);return new Xh([[i]])}_createFromComponent(e,i,s,r,o){const l=kE(s,{environmentInjector:i,elementInjector:ls.create({providers:[{provide:gV,useValue:r}],parent:e})}),c=l.location.nativeElement;return o.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new Xh([[c]],l.hostView,l)}_setAriaHidden(e){const i=e.parentElement;i&&e!==this._document.body&&(Array.from(i.children).forEach(s=>{s!==e&&"SCRIPT"!==s.nodeName&&(this._ariaHiddenValues.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,i)=>{e?i.setAttribute("aria-hidden",e):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const i=()=>{const s=this._modalRefs.indexOf(e);s>-1&&(this._modalRefs.splice(s,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(i,i)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const i=this._windowCmpts.indexOf(e);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),IO=(()=>{class n{constructor(){this._injector=fe(ls),this._modalStack=fe(vfe),this._config=fe(dfe)}open(e,i={}){const s={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._injector,e,s)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),mV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[IO]})}return n})(),bfe=(()=>{class n{constructor(){this._ngbConfig=fe(bg),this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const _V=n=>$h(n)&&""!==n;let wfe=0,AO=(()=>{class n{constructor(){this.templateRef=fe(Ti)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["ng-template","ngbNavContent",""]],standalone:!0})}return n})(),yV=(()=>{class n{constructor(e){this.role=e,this.nav=fe(rv)}static#e=this.\u0275fac=function(i){return new(i||n)(Pu("role"))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(i,s){2&i&&Kn("role",s.role?s.role:s.nav.roles?"presentation":void 0)},standalone:!0})}return n})(),uC=(()=>{class n{constructor(){this._nav=fe(rv),this._nativeElement=fe(gn).nativeElement,this.disabled=!1,this.shown=new Ne,this.hidden=new Ne}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){$h(this.domId)||(this.domId="ngb-nav-"+wfe++)}get active(){return this._nav.activeId===this.id}get id(){return _V(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return($h(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}isNgContainer(){return this._nativeElement.nodeType===Node.COMMENT_NODE}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbNavItem",""]],contentQueries:function(i,s,r){if(1&i&&ni(r,AO,4),2&i){let o;ln(o=cn())&&(s.contentTpls=o)}},hostVars:2,hostBindings:function(i,s){2&i&&wn("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:[bn.None,"ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0})}return n})(),rv=(()=>{class n{constructor(e){this.role=e,this._config=fe(bfe),this._cd=fe(Dr),this._document=fe(Ki),this._nativeElement=fe(gn).nativeElement,this.destroyRef=fe(Ta),this._navigatingWithKeyboard=!1,this.activeIdChange=new Ne,this.animation=this._config.animation,this.destroyOnHide=this._config.destroyOnHide,this.orientation=this._config.orientation,this.roles=this._config.roles,this.keyboard=this._config.keyboard,this.shown=new Ne,this.hidden=new Ne,this.navItemChange$=new Zt,this.navChange=new Ne}click(e){e.disabled||this._updateActiveId(e.id)}onFocusout({relatedTarget:e}){this._nativeElement.contains(e)||(this._navigatingWithKeyboard=!1)}onKeyDown(e){if("tablist"!==this.roles||!this.keyboard)return;const i=e.which,s=this.links.filter(a=>!a.navItem.disabled),{length:r}=s;let o=-1;if(s.forEach((a,l)=>{a.nativeElement===this._document.activeElement&&(o=l)}),r){switch(i){case yi.ArrowUp:case yi.ArrowLeft:o=(o-1+r)%r;break;case yi.ArrowRight:case yi.ArrowDown:o=(o+1)%r;break;case yi.Home:o=0;break;case yi.End:o=r-1}"changeWithArrows"===this.keyboard&&this.select(s[o].navItem.id),s[o].nativeElement.focus(),this._navigatingWithKeyboard=!0,e.preventDefault()}}select(e){this._updateActiveId(e,!1)}ngAfterContentInit(){if(!$h(this.activeId)){const e=this.items.first?this.items.first.id:null;_V(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}this.items.changes.pipe(Ra(this.destroyRef)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:e}){e&&!e.firstChange&&this._notifyItemChanged(e.currentValue)}_updateActiveId(e,i=!0){if(this.activeId!==e){let s=!1;i&&this.navChange.emit({activeId:this.activeId,nextId:e,preventDefault:()=>{s=!0}}),s||(this.activeId=e,this.activeIdChange.emit(e),this._notifyItemChanged(e))}}_notifyItemChanged(e){this.navItemChange$.next(this._getItemById(e))}_getItemById(e){return this.items&&this.items.find(i=>i.id===e)||null}static#e=this.\u0275fac=function(i){return new(i||n)(Pu("role"))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbNav",""]],contentQueries:function(i,s,r){if(1&i&&(ni(r,uC,4),ni(r,ov,5)),2&i){let o;ln(o=cn())&&(s.items=o),ln(o=cn())&&(s.links=o)}},hostVars:6,hostBindings:function(i,s){1&i&&Le("keydown.arrowLeft",function(o){return s.onKeyDown(o)})("keydown.arrowRight",function(o){return s.onKeyDown(o)})("keydown.arrowDown",function(o){return s.onKeyDown(o)})("keydown.arrowUp",function(o){return s.onKeyDown(o)})("keydown.Home",function(o){return s.onKeyDown(o)})("keydown.End",function(o){return s.onKeyDown(o)})("focusout",function(o){return s.onFocusout(o)}),2&i&&(Kn("aria-orientation","vertical"===s.orientation&&"tablist"===s.roles?"vertical":void 0)("role",s.role?s.role:s.roles?"tablist":void 0),wn("nav",!0)("flex-column","vertical"===s.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[Ut]})}return n})(),ov=(()=>{class n{constructor(e){this.role=e,this.navItem=fe(uC),this.nav=fe(rv),this.nativeElement=fe(gn).nativeElement}get tabindex(){return!1===this.nav.keyboard?this.navItem.disabled?-1:void 0:this.nav._navigatingWithKeyboard||this.navItem.disabled||!this.navItem.active?-1:void 0}static#e=this.\u0275fac=function(i){return new(i||n)(Pu("role"))};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(i,s){2&i&&(Do("id",s.navItem.domId),Kn("role",s.role?s.role:s.nav.roles?"tab":void 0)("tabindex",s.tabindex)("aria-controls",s.navItem.isPanelInDom()?s.navItem.panelDomId:null)("aria-selected",s.navItem.active)("aria-disabled",s.navItem.disabled),wn("nav-link",!0)("nav-item",s.navItem.isNgContainer())("active",s.navItem.active)("disabled",s.navItem.disabled))},standalone:!0})}return n})(),vV=(()=>{class n extends ov{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275dir=rt({type:n,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostBindings:function(i,s){1&i&&Le("click",function(o){return s.nav.click(s.navItem),o.preventDefault()})},standalone:!0,features:[Ue]})}return n})();const Mfe=({classList:n})=>(n.remove("show"),()=>n.remove("active")),Dfe=(n,t)=>{t&&wg(n),n.classList.add("show")};let RO=(()=>{class n{constructor(){this.nativeElement=fe(gn).nativeElement}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(i,s){2&i&&(Do("id",s.item.panelDomId),Kn("role",s.role?s.role:s.nav.roles?"tabpanel":void 0)("aria-labelledby",s.item.domId),wn("fade",s.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0})}return n})(),bV=(()=>{class n{constructor(){this._cd=fe(Dr),this._ngZone=fe(sn),this._activePane=null}isPanelTransitioning(e){return this._activePane?.item===e}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe(Ra(this.nav.destroyRef),Pw(this._activePane?.item||null),Iw(),function Nle(n){return t=>t.lift(new Fle(n))}(1)).subscribe(e=>{const i={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Kr(this._ngZone,this._activePane.nativeElement,Mfe,i).subscribe(()=>{const s=this._activePane?.item;this._activePane=this._getPaneForItem(e),this._cd.markForCheck(),this._activePane&&(this._activePane.nativeElement.classList.add("active"),Kr(this._ngZone,this._activePane.nativeElement,Dfe,i).subscribe(()=>{e&&(e.shown.emit(),this.nav.shown.emit(e.id))})),s&&(s.hidden.emit(),this.nav.hidden.emit(s.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.nativeElement.classList.add("show"),this._activePane?.nativeElement.classList.add("active")}_getPaneForItem(e){return this._panes&&this._panes.find(i=>i.item===e)||null}_getActivePane(){return this._panes&&this._panes.find(e=>e.item.active)||null}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["","ngbNavOutlet",""]],viewQuery:function(i,s){if(1&i&&xo(RO,5),2&i){let r;ln(r=cn())&&(s._panes=r)}},hostVars:2,hostBindings:function(i,s){2&i&&wn("tab-content",!0)},inputs:{paneRole:"paneRole",nav:[bn.None,"ngbNavOutlet","nav"]},standalone:!0,features:[So],attrs:fde,decls:2,vars:0,consts:[["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,s){1&i&&Co(0,mde,1,1,null,null,wo),2&i&&Mo(s.nav.items)},dependencies:[RO,xc],encapsulation:2,changeDetection:0})}return n})(),wV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),kV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();const Sfe={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let kfe=(()=>{class n{constructor(){this._ngbConfig=fe(bg),this.autoClose=!0,this.placement="auto",this.popperOptions=e=>e,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ofe=0,Lfe=(()=>{class n{isTitleTemplate(){return this.title instanceof Ti}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(i,s){2&i&&(Do("id",s.id),qp("popover"+(s.popoverClass?" "+s.popoverClass:"")),wn("fade",s.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[So],ngContentSelectors:LH,decls:4,vars:1,consts:[["simpleTitle",""],["data-popper-arrow","",1,"popover-arrow"],[1,"popover-header"],[1,"popover-body"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,s){1&i&&(Wt(),ee(0,"div",1),re(1,zde,4,2,"h3",2),D(2,"div",3),$t(3),M()),2&i&&(m(),Xn(1,s.title?1:-1))},dependencies:[xc],encapsulation:2,changeDetection:0})}return n})(),NO=(()=>{class n{constructor(){this._config=fe(kfe),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disablePopover=this._config.disablePopover,this.popoverClass=this._config.popoverClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new Ne,this.hidden=new Ne,this._nativeElement=fe(gn).nativeElement,this._ngZone=fe(sn),this._document=fe(Ki),this._changeDetector=fe(Dr),this._ngbPopoverWindowId="ngb-popover-"+Ofe++,this._popupService=new hfe(Lfe),this._windowRef=null,this._positioning=DO()}open(e){if(!this._windowRef&&!this._isDisabled()){const{windowRef:i,transition$:s}=this._popupService.open(this.ngbPopover,e??this.popoverContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",e??this.popoverContext),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:r=>this.popperOptions(xO([0,8])(r))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),MO(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),s.subscribe(()=>this.shown.emit())}}close(e=this.animation){this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(e).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function Efe(n,t,e,i,s,r=0,o=0){const a=function Tfe(n){const t=(n||"").trim();if(0===t.length)return[];const e=t.split(/\s+/).map(s=>s.split(":")).map(s=>Sfe[s[0]]||s),i=e.filter(s=>s.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:e}(t);if(0===a.length)return()=>{};const l=new Set,c=[];let u;function d(p,_){n.addEventListener(p,_),c.push(()=>n.removeEventListener(p,_))}function h(p,_){clearTimeout(u),_>0?u=setTimeout(p,_):p()}for(const[p,_]of a)_?(d(p,()=>{l.add(p),h(()=>l.size>0&&i(),r)}),d(_,()=>{l.delete(p),h(()=>0===l.size&&s(),o)})):d(p,()=>e()?h(s,o):h(i,r));return()=>c.forEach(p=>p())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:e,popoverTitle:i,disablePopover:s,popoverClass:r}){r&&this.isOpen()&&this._windowRef.setInput("popoverClass",r.currentValue),(e||i||s)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}_getPositionTargetElement(){return(Wh(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",popoverContext:"popoverContext",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[Ut]})}return n})(),OV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),LV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),PV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),IV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),AV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),RV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),NV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();new dt("live announcer delay",{providedIn:"root",factory:()=>100});let FV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})(),YV=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();const Nfe=[HH,VH,GH,_O,hV,pV,mV,wV,YV,kV,OV,LV,PV,IV,AV,RV,NV,FV];let xg=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({imports:[Nfe,HH,VH,GH,_O,hV,pV,mV,wV,YV,kV,OV,LV,PV,IV,AV,RV,NV,FV]})}return n})();function od(n){return!!n&&(n instanceof Un||"function"==typeof n.lift&&"function"==typeof n.subscribe)}function dC(n){return new Un(t=>{let e;try{e=n()}catch(s){return void t.error(s)}return(e?Es(e):Lw()).subscribe(t)})}const jfe=new class Yfe extends Ec{}(class Ffe extends lB{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}});class hC extends Mn{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(hC.dispatch,this.delay,new Hfe(t,this.destination)))}_next(t){this.scheduleMessage(Wr.createNext(t))}_error(t){this.scheduleMessage(Wr.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Wr.createComplete()),this.unsubscribe()}}class Hfe{constructor(t,e){this.notification=t,this.destination=e}}class Vfe extends Zt{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Ufe(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,r=i.length;let o;if(this.closed)throw new ic;if(this.isStopped||this.hasError?o=hi.EMPTY:(this.observers.push(t),o=new Wd(this,t)),s&&t.add(t=new hC(t,s)),e)for(let a=0;a<r&&!t.closed;a++)t.next(i[a]);else for(let a=0;a<r&&!t.closed;a++)t.next(i[a].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),o}_getNow(){return(this.scheduler||jfe).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,i=this._windowTime,s=this._events,r=s.length;let o=0;for(;o<r&&!(t-s[o].time<i);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&s.splice(0,o),s}}class Ufe{constructor(t,e){this.time=t,this.value=e}}function Sg(n,t,e){let i;return i=n&&"object"==typeof n?n:{bufferSize:n,windowTime:t,refCount:!1,scheduler:e},s=>s.lift(function zfe({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:e,scheduler:i}){let s,o,r=0,a=!1,l=!1;return function(u){let d;r++,!s||a?(a=!1,s=new Vfe(n,t,i),d=s.subscribe(this),o=u.subscribe({next(h){s.next(h)},error(h){a=!0,s.error(h)},complete(){l=!0,o=void 0,s.complete()}}),l&&(o=void 0)):d=s.subscribe(this),this.add(()=>{r--,d.unsubscribe(),d=void 0,o&&!l&&e&&0===r&&(o.unsubscribe(),o=void 0,s=void 0)})}}(i))}class av{}let jV=(()=>{class n extends av{getTranslation(e){return ct({})}static \u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static \u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class FO{}let BV=(()=>{class n{handle(e){return e.key}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function fC(n,t){if(n===t)return!0;if(null===n||null===t)return!1;if(n!=n&&t!=t)return!0;let s,r,o,e=typeof n;if(e==typeof t&&"object"==e){if(!Array.isArray(n)){if(Array.isArray(t))return!1;for(r in o=Object.create(null),n){if(!fC(n[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&typeof t[r]<"u")return!1;return!0}if(!Array.isArray(t))return!1;if((s=n.length)==t.length){for(r=0;r<s;r++)if(!fC(n[r],t[r]))return!1;return!0}}return!1}function ad(n){return typeof n<"u"&&null!==n}function YO(n){return n&&"object"==typeof n&&!Array.isArray(n)}function HV(n,t){let e=Object.assign({},n);return YO(n)&&YO(t)&&Object.keys(t).forEach(i=>{YO(t[i])?i in n?e[i]=HV(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}class pC{}let VV=(()=>{class n extends pC{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){let s;return s="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,s}getValue(e,i){let s="string"==typeof i?i.split("."):[i];i="";do{i+=s.shift(),!ad(e)||!ad(e[i])||"object"!=typeof e[i]&&s.length?s.length?i+=".":e=void 0:(e=e[i],i="")}while(s.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(s,r)=>{let o=this.getValue(i,r);return ad(o)?o:s}):e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static \u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class gC{}let UV=(()=>{class n extends gC{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static \u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class zV{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new Ne;onLangChange=new Ne;onDefaultLangChange=new Ne}const jO=new dt("USE_STORE"),BO=new dt("USE_DEFAULT_LANG"),HO=new dt("DEFAULT_LANGUAGE"),VO=new dt("USE_EXTEND");let rr=(()=>{class n{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new Ne;_onLangChange=new Ne;_onDefaultLangChange=new Ne;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,s,r,o,a=!0,l=!1,c=!1,u){this.store=e,this.currentLoader=i,this.compiler=s,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(null==this.defaultLang&&(this.defaultLang=e),i.pipe(pi(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return ct(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(pi(1)).subscribe(s=>{this.changeLang(e)}),i):(this.changeLang(e),ct(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;const i=this.currentLoader.getTranslation(e).pipe(Sg(1),pi(1));return this.loadingTranslations=i.pipe(ht(s=>this.compiler.compileTranslations(s,e)),Sg(1),pi(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?{...s,...this.translations[e]}:s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),i}setTranslation(e,i,s=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=(s||this.extend)&&this.translations[e]?HV(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,s){let r;if(i instanceof Array){let o={},a=!1;for(let l of i)o[l]=this.getParsedResult(e,l,s),od(o[l])&&(a=!0);return a?dg(i.map(c=>od(o[c])?o[c]:ct(o[c]))).pipe(ht(c=>{let u={};return c.forEach((d,h)=>{u[i[h]]=d}),u})):o}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,i),s)),typeof r>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),s)),typeof r>"u"){let o={key:i,translateService:this};typeof s<"u"&&(o.interpolateParams=s),r=this.missingTranslationHandler.handle(o)}return typeof r<"u"?r:i}get(e,i){if(!ad(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Lh(s=>od(s=this.getParsedResult(s,e,i))?s:ct(s)));{let s=this.getParsedResult(this.translations[this.currentLang],e,i);return od(s)?s:ct(s)}}getStreamOnTranslationChange(e,i){if(!ad(e)||!e.length)throw new Error('Parameter "key" required');return ug(dC(()=>this.get(e,i)),this.onTranslationChange.pipe(Gs(s=>{const r=this.getParsedResult(s.translations,e,i);return"function"==typeof r.subscribe?r:ct(r)})))}stream(e,i){if(!ad(e)||!e.length)throw new Error('Parameter "key" required');return ug(dC(()=>this.get(e,i)),this.onLangChange.pipe(Gs(s=>{const r=this.getParsedResult(s.translations,e,i);return od(r)?r:ct(r)})))}instant(e,i){if(!ad(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,i);if(od(s)){if(e instanceof Array){let r={};return e.forEach((o,a)=>{r[e[a]]=e[a]}),r}return e}return s}set(e,i,s=this.currentLang){this.translations[s][e]=this.compiler.compile(i,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof e>"u"?void 0:(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(i){return new(i||n)(Ve(zV),Ve(av),Ve(gC),Ve(pC),Ve(FO),Ve(BO),Ve(jO),Ve(VO),Ve(HO))};static \u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),et=(()=>{class n{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,s){let r=o=>{this.value=void 0!==o?o:e,this.lastKey=e,this._ref.markForCheck()};if(s){let o=this.translate.getParsedResult(s,e,i);od(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(e,i).subscribe(r)}transform(e,...i){if(!e||!e.length)return e;if(fC(e,this.lastKey)&&fC(i,this.lastParams))return this.value;let s;if(ad(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let r=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(s=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||n)(W(rr,16),W(Dr,16))};static \u0275pipe=rs({name:"translate",type:n,pure:!1});static \u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),mC=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:av,useClass:jV},e.compiler||{provide:gC,useClass:UV},e.parser||{provide:pC,useClass:VV},e.missingTranslationHandler||{provide:FO,useClass:BV},zV,{provide:jO,useValue:e.isolate},{provide:BO,useValue:e.useDefaultLang},{provide:VO,useValue:e.extend},{provide:HO,useValue:e.defaultLanguage},rr]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:av,useClass:jV},e.compiler||{provide:gC,useClass:UV},e.parser||{provide:pC,useClass:VV},e.missingTranslationHandler||{provide:FO,useClass:BV},{provide:jO,useValue:e.isolate},{provide:BO,useValue:e.useDefaultLang},{provide:VO,useValue:e.extend},{provide:HO,useValue:e.defaultLanguage},rr]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=pn({type:n});static \u0275inj=dn({})}return n})();class Gfe{http;prefix;suffix;constructor(t,e="/assets/i18n/",i=".json"){this.http=t,this.prefix=e,this.suffix=i}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}function Tg(n){return n+.5|0}const Ac=(n,t,e)=>Math.max(Math.min(n,e),t);function lv(n){return Ac(Tg(2.55*n),0,255)}function ld(n){return Ac(Tg(255*n),0,255)}function Rc(n){return Ac(Tg(n/2.55)/100,0,1)}function GV(n){return Ac(Tg(100*n),0,100)}const la={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},UO=[..."0123456789ABCDEF"],Wfe=n=>UO[15&n],$fe=n=>UO[(240&n)>>4]+UO[15&n],_C=n=>(240&n)>>4==(15&n);const Jfe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function WV(n,t,e){const i=t*Math.min(e,1-e),s=(r,o=(r+n/30)%12)=>e-i*Math.max(Math.min(o-3,9-o,1),-1);return[s(0),s(8),s(4)]}function Qfe(n,t,e){const i=(s,r=(s+n/60)%6)=>e-e*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function epe(n,t,e){const i=WV(n,1,.5);let s;for(t+e>1&&(s=1/(t+e),t*=s,e*=s),s=0;s<3;s++)i[s]*=1-t-e,i[s]+=t;return i}function zO(n){const e=n.r/255,i=n.g/255,s=n.b/255,r=Math.max(e,i,s),o=Math.min(e,i,s),a=(r+o)/2;let l,c,u;return r!==o&&(u=r-o,c=a>.5?u/(2-r-o):u/(r+o),l=function tpe(n,t,e,i,s){return n===s?(t-e)/i+(t<e?6:0):t===s?(e-n)/i+2:(n-t)/i+4}(e,i,s,u,r),l=60*l+.5),[0|l,c||0,a]}function GO(n,t,e,i){return(Array.isArray(t)?n(t[0],t[1],t[2]):n(t,e,i)).map(ld)}function WO(n,t,e){return GO(WV,n,t,e)}function $V(n){return(n%360+360)%360}const qV={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},KV={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let yC;const cpe=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,$O=n=>n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055,Eg=n=>n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);function vC(n,t,e){if(n){let i=zO(n);i[t]=Math.max(0,Math.min(i[t]+i[t]*e,0===t?360:1)),i=WO(i),n.r=i[0],n.g=i[1],n.b=i[2]}}function XV(n,t){return n&&Object.assign(t||{},n)}function ZV(n){var t={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(t={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(t.a=ld(n[3]))):(t=XV(n,{r:0,g:0,b:0,a:1})).a=ld(t.a),t}function fpe(n){return"r"===n.charAt(0)?function upe(n){const t=cpe.exec(n);let i,s,r,e=255;if(t){if(t[7]!==i){const o=+t[7];e=t[8]?lv(o):Ac(255*o,0,255)}return i=+t[1],s=+t[3],r=+t[5],i=255&(t[2]?lv(i):Ac(i,0,255)),s=255&(t[4]?lv(s):Ac(s,0,255)),r=255&(t[6]?lv(r):Ac(r,0,255)),{r:i,g:s,b:r,a:e}}}(n):function spe(n){const t=Jfe.exec(n);let i,e=255;if(!t)return;t[5]!==i&&(e=t[6]?lv(+t[5]):ld(+t[5]));const s=$V(+t[2]),r=+t[3]/100,o=+t[4]/100;return i="hwb"===t[1]?function npe(n,t,e){return GO(epe,n,t,e)}(s,r,o):"hsv"===t[1]?function ipe(n,t,e){return GO(Qfe,n,t,e)}(s,r,o):WO(s,r,o),{r:i[0],g:i[1],b:i[2],a:e}}(n)}class kg{constructor(t){if(t instanceof kg)return t;const e=typeof t;let i;"object"===e?i=ZV(t):"string"===e&&(i=function Kfe(n){var e,t=n.length;return"#"===n[0]&&(4===t||5===t?e={r:255&17*la[n[1]],g:255&17*la[n[2]],b:255&17*la[n[3]],a:5===t?17*la[n[4]]:255}:(7===t||9===t)&&(e={r:la[n[1]]<<4|la[n[2]],g:la[n[3]]<<4|la[n[4]],b:la[n[5]]<<4|la[n[6]],a:9===t?la[n[7]]<<4|la[n[8]]:255})),e}(t)||function lpe(n){yC||(yC=function ape(){const n={},t=Object.keys(KV),e=Object.keys(qV);let i,s,r,o,a;for(i=0;i<t.length;i++){for(o=a=t[i],s=0;s<e.length;s++)r=e[s],a=a.replace(r,qV[r]);r=parseInt(KV[o],16),n[a]=[r>>16&255,r>>8&255,255&r]}return n}(),yC.transparent=[0,0,0,0]);const t=yC[n.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(t)||fpe(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=XV(this._rgb);return t&&(t.a=Rc(t.a)),t}set rgb(t){this._rgb=ZV(t)}rgbString(){return this._valid?function dpe(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${Rc(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}(this._rgb):void 0}hexString(){return this._valid?function Zfe(n){var t=(n=>_C(n.r)&&_C(n.g)&&_C(n.b)&&_C(n.a))(n)?Wfe:$fe;return n?"#"+t(n.r)+t(n.g)+t(n.b)+((n,t)=>n<255?t(n):"")(n.a,t):void 0}(this._rgb):void 0}hslString(){return this._valid?function ope(n){if(!n)return;const t=zO(n),e=t[0],i=GV(t[1]),s=GV(t[2]);return n.a<255?`hsla(${e}, ${i}%, ${s}%, ${Rc(n.a)})`:`hsl(${e}, ${i}%, ${s}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let r;const o=e===r?.5:e,a=2*o-1,l=i.a-s.a,c=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,i.r=255&c*i.r+r*s.r+.5,i.g=255&c*i.g+r*s.g+.5,i.b=255&c*i.b+r*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function hpe(n,t,e){const i=Eg(Rc(n.r)),s=Eg(Rc(n.g)),r=Eg(Rc(n.b));return{r:ld($O(i+e*(Eg(Rc(t.r))-i))),g:ld($O(s+e*(Eg(Rc(t.g))-s))),b:ld($O(r+e*(Eg(Rc(t.b))-r))),a:n.a+e*(t.a-n.a)}}(this._rgb,t._rgb,e)),this}clone(){return new kg(this.rgb)}alpha(t){return this._rgb.a=ld(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=Tg(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return vC(this._rgb,2,t),this}darken(t){return vC(this._rgb,2,-t),this}saturate(t){return vC(this._rgb,1,t),this}desaturate(t){return vC(this._rgb,1,-t),this}rotate(t){return function rpe(n,t){var e=zO(n);e[0]=$V(e[0]+t),e=WO(e),n.r=e[0],n.g=e[1],n.b=e[2]}(this._rgb,t),this}}function Nc(){}const ppe=(()=>{let n=0;return()=>n++})();function Hn(n){return null===n||typeof n>"u"}function Yi(n){if(Array.isArray&&Array.isArray(n))return!0;const t=Object.prototype.toString.call(n);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function Ln(n){return null!==n&&"[object Object]"===Object.prototype.toString.call(n)}function ns(n){return("number"==typeof n||n instanceof Number)&&isFinite(+n)}function Ro(n,t){return ns(n)?n:t}function un(n,t){return typeof n>"u"?t:n}const JV=(n,t)=>"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100*t:+n;function Li(n,t,e){if(n&&"function"==typeof n.call)return n.apply(e,t)}function li(n,t,e,i){let s,r,o;if(Yi(n))if(r=n.length,i)for(s=r-1;s>=0;s--)t.call(e,n[s],s);else for(s=0;s<r;s++)t.call(e,n[s],s);else if(Ln(n))for(o=Object.keys(n),r=o.length,s=0;s<r;s++)t.call(e,n[o[s]],o[s])}function bC(n,t){let e,i,s,r;if(!n||!t||n.length!==t.length)return!1;for(e=0,i=n.length;e<i;++e)if(s=n[e],r=t[e],s.datasetIndex!==r.datasetIndex||s.index!==r.index)return!1;return!0}function wC(n){if(Yi(n))return n.map(wC);if(Ln(n)){const t=Object.create(null),e=Object.keys(n),i=e.length;let s=0;for(;s<i;++s)t[e[s]]=wC(n[e[s]]);return t}return n}function QV(n){return-1===["__proto__","prototype","constructor"].indexOf(n)}function mpe(n,t,e,i){if(!QV(n))return;const s=t[n],r=e[n];Ln(s)&&Ln(r)?cv(s,r,i):t[n]=wC(r)}function cv(n,t,e){const i=Yi(t)?t:[t],s=i.length;if(!Ln(n))return n;const r=(e=e||{}).merger||mpe;let o;for(let a=0;a<s;++a){if(o=i[a],!Ln(o))continue;const l=Object.keys(o);for(let c=0,u=l.length;c<u;++c)r(l[c],n,o,e)}return n}function uv(n,t){return cv(n,t,{merger:_pe})}function _pe(n,t,e){if(!QV(n))return;const i=t[n],s=e[n];Ln(i)&&Ln(s)?uv(i,s):Object.prototype.hasOwnProperty.call(t,n)||(t[n]=wC(s))}const e6={"":n=>n,x:n=>n.x,y:n=>n.y};function cd(n,t){return(e6[t]||(e6[t]=function vpe(n){const t=function ype(n){const t=n.split("."),e=[];let i="";for(const s of t)i+=s,i.endsWith("\\")?i=i.slice(0,-1)+".":(e.push(i),i="");return e}(n);return e=>{for(const i of t){if(""===i)break;e=e&&e[i]}return e}}(t)))(n)}function qO(n){return n.charAt(0).toUpperCase()+n.slice(1)}const dv=n=>typeof n<"u",ud=n=>"function"==typeof n,t6=(n,t)=>{if(n.size!==t.size)return!1;for(const e of n)if(!t.has(e))return!1;return!0},ji=Math.PI,Bi=2*ji,wpe=Bi+ji,CC=Number.POSITIVE_INFINITY,Cpe=ji/180,ps=ji/2,Zh=ji/4,n6=2*ji/3,dd=Math.log10,Ol=Math.sign;function hv(n,t,e){return Math.abs(n-t)<e}function i6(n){const t=Math.round(n);n=hv(n,t,n/1e3)?t:n;const e=Math.pow(10,Math.floor(dd(n))),i=n/e;return(i<=1?1:i<=2?2:i<=5?5:10)*e}function Og(n){return!isNaN(parseFloat(n))&&isFinite(n)}function s6(n,t,e){let i,s,r;for(i=0,s=n.length;i<s;i++)r=n[i][e],isNaN(r)||(t.min=Math.min(t.min,r),t.max=Math.max(t.max,r))}function Ba(n){return n*(ji/180)}function KO(n){return n*(180/ji)}function r6(n){if(!ns(n))return;let t=1,e=0;for(;Math.round(n*t)/t!==n;)t*=10,e++;return e}function o6(n,t){const e=t.x-n.x,i=t.y-n.y,s=Math.sqrt(e*e+i*i);let r=Math.atan2(i,e);return r<-.5*ji&&(r+=Bi),{angle:r,distance:s}}function XO(n,t){return Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2))}function xpe(n,t){return(n-t+wpe)%Bi-ji}function No(n){return(n%Bi+Bi)%Bi}function fv(n,t,e,i){const s=No(n),r=No(t),o=No(e),a=No(r-s),l=No(o-s),c=No(s-r),u=No(s-o);return s===r||s===o||i&&r===o||a>l&&c<u}function Fs(n,t,e){return Math.max(t,Math.min(e,n))}function Fc(n,t,e,i=1e-6){return n>=Math.min(t,e)-i&&n<=Math.max(t,e)+i}function ZO(n,t,e){e=e||(o=>n[o]<t);let r,i=n.length-1,s=0;for(;i-s>1;)r=s+i>>1,e(r)?s=r:i=r;return{lo:s,hi:i}}const Yc=(n,t,e,i)=>ZO(n,e,i?s=>{const r=n[s][t];return r<e||r===e&&n[s+1][t]===e}:s=>n[s][t]<e),Tpe=(n,t,e)=>ZO(n,e,i=>n[i][t]>=e),a6=["push","pop","shift","splice","unshift"];function l6(n,t){const e=n._chartjs;if(!e)return;const i=e.listeners,s=i.indexOf(t);-1!==s&&i.splice(s,1),!(i.length>0)&&(a6.forEach(r=>{delete n[r]}),delete n._chartjs)}function c6(n){const t=new Set(n);return t.size===n.length?n:Array.from(t)}const u6=typeof window>"u"?function(n){return n()}:window.requestAnimationFrame;function d6(n,t){let e=[],i=!1;return function(...s){e=s,i||(i=!0,u6.call(window,()=>{i=!1,n.apply(t,e)}))}}const JO=n=>"start"===n?"left":"end"===n?"right":"center",or=(n,t,e)=>"start"===n?t:"end"===n?e:(t+e)/2;function h6(n,t,e){const i=t.length;let s=0,r=i;if(n._sorted){const{iScale:o,_parsed:a}=n,l=o.axis,{min:c,max:u,minDefined:d,maxDefined:h}=o.getUserBounds();d&&(s=Fs(Math.min(Yc(a,l,c).lo,e?i:Yc(t,l,o.getPixelForValue(c)).lo),0,i-1)),r=h?Fs(Math.max(Yc(a,o.axis,u,!0).hi+1,e?0:Yc(t,l,o.getPixelForValue(u),!0).hi+1),s,i)-s:i-s}return{start:s,count:r}}function f6(n){const{xScale:t,yScale:e,_scaleRanges:i}=n,s={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!i)return n._scaleRanges=s,!0;const r=i.xmin!==t.min||i.xmax!==t.max||i.ymin!==e.min||i.ymax!==e.max;return Object.assign(i,s),r}const MC=n=>0===n||1===n,p6=(n,t,e)=>-Math.pow(2,10*(n-=1))*Math.sin((n-t)*Bi/e),g6=(n,t,e)=>Math.pow(2,-10*n)*Math.sin((n-t)*Bi/e)+1,pv={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>-n*(n-2),easeInOutQuad:n=>(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1),easeInCubic:n=>n*n*n,easeOutCubic:n=>(n-=1)*n*n+1,easeInOutCubic:n=>(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2),easeInQuart:n=>n*n*n*n,easeOutQuart:n=>-((n-=1)*n*n*n-1),easeInOutQuart:n=>(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2),easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>(n-=1)*n*n*n*n+1,easeInOutQuint:n=>(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2),easeInSine:n=>1-Math.cos(n*ps),easeOutSine:n=>Math.sin(n*ps),easeInOutSine:n=>-.5*(Math.cos(ji*n)-1),easeInExpo:n=>0===n?0:Math.pow(2,10*(n-1)),easeOutExpo:n=>1===n?1:1-Math.pow(2,-10*n),easeInOutExpo:n=>MC(n)?n:n<.5?.5*Math.pow(2,10*(2*n-1)):.5*(2-Math.pow(2,-10*(2*n-1))),easeInCirc:n=>n>=1?n:-(Math.sqrt(1-n*n)-1),easeOutCirc:n=>Math.sqrt(1-(n-=1)*n),easeInOutCirc:n=>(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1),easeInElastic:n=>MC(n)?n:p6(n,.075,.3),easeOutElastic:n=>MC(n)?n:g6(n,.075,.3),easeInOutElastic:n=>MC(n)?n:n<.5?.5*p6(2*n,.1125,.45):.5+.5*g6(2*n-1,.1125,.45),easeInBack:n=>n*n*(2.70158*n-1.70158),easeOutBack:n=>(n-=1)*n*(2.70158*n+1.70158)+1,easeInOutBack(n){let t=1.70158;return(n/=.5)<1?n*n*((1+(t*=1.525))*n-t)*.5:.5*((n-=2)*n*((1+(t*=1.525))*n+t)+2)},easeInBounce:n=>1-pv.easeOutBounce(1-n),easeOutBounce:n=>n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,easeInOutBounce:n=>n<.5?.5*pv.easeInBounce(2*n):.5*pv.easeOutBounce(2*n-1)+.5};function QO(n){if(n&&"object"==typeof n){const t=n.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function m6(n){return QO(n)?n:new kg(n)}function e2(n){return QO(n)?n:new kg(n).saturate(.5).darken(.1).hexString()}const Ppe=["x","y","borderWidth","radius","tension"],Ipe=["color","borderColor","backgroundColor"],_6=new Map;function gv(n,t,e){return function Npe(n,t){t=t||{};const e=n+JSON.stringify(t);let i=_6.get(e);return i||(i=new Intl.NumberFormat(n,t),_6.set(e,i)),i}(t,e).format(n)}const y6={values:n=>Yi(n)?n:""+n,numeric(n,t,e){if(0===n)return"0";const i=this.chart.options.locale;let s,r=n;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(s="scientific"),r=function Fpe(n,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&n!==Math.floor(n)&&(e=n-Math.floor(n)),e}(n,e)}const o=dd(Math.abs(r)),a=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),gv(n,i,l)},logarithmic(n,t,e){if(0===n)return"0";const i=e[t].significand||n/Math.pow(10,Math.floor(dd(n)));return[1,2,3,5,10,15].includes(i)||t>.8*e.length?y6.numeric.call(this,n,t,e):""}};var DC={formatters:y6};const Jh=Object.create(null),t2=Object.create(null);function mv(n,t){if(!t)return n;const e=t.split(".");for(let i=0,s=e.length;i<s;++i){const r=e[i];n=n[r]||(n[r]=Object.create(null))}return n}function n2(n,t,e){return"string"==typeof t?cv(mv(n,t),e):cv(mv(n,""),t)}class jpe{constructor(t,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,s)=>e2(s.backgroundColor),this.hoverBorderColor=(i,s)=>e2(s.borderColor),this.hoverColor=(i,s)=>e2(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return n2(this,t,e)}get(t){return mv(this,t)}describe(t,e){return n2(t2,t,e)}override(t,e){return n2(Jh,t,e)}route(t,e,i,s){const r=mv(this,t),o=mv(this,i),a="_"+e;Object.defineProperties(r,{[a]:{value:r[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=o[s];return Ln(l)?Object.assign({},c,l):un(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var Zi=new jpe({_scriptable:n=>!n.startsWith("on"),_indexable:n=>"events"!==n,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function Ape(n){n.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),n.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),n.set("animations",{colors:{type:"color",properties:Ipe},numbers:{type:"number",properties:Ppe}}),n.describe("animations",{_fallback:"animation"}),n.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function Rpe(n){n.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function Ype(n){n.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:DC.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),n.route("scale.ticks","color","","color"),n.route("scale.grid","color","","borderColor"),n.route("scale.border","color","","borderColor"),n.route("scale.title","color","","color"),n.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),n.describe("scales",{_fallback:"scale"}),n.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function xC(n,t,e,i,s){let r=t[s];return r||(r=t[s]=n.measureText(s).width,e.push(s)),r>i&&(i=r),i}function Hpe(n,t,e,i){let s=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(s=i.data={},r=i.garbageCollect=[],i.font=t),n.save(),n.font=t;let o=0;const a=e.length;let l,c,u,d,h;for(l=0;l<a;l++)if(d=e[l],null==d||Yi(d)){if(Yi(d))for(c=0,u=d.length;c<u;c++)h=d[c],null!=h&&!Yi(h)&&(o=xC(n,s,r,o,h))}else o=xC(n,s,r,o,d);n.restore();const p=r.length/2;if(p>e.length){for(l=0;l<p;l++)delete s[r[l]];r.splice(0,p)}return o}function Qh(n,t,e){const i=n.currentDevicePixelRatio,s=0!==e?Math.max(e/2,.5):0;return Math.round((t-s)*i)/i+s}function v6(n,t){!t&&!n||((t=t||n.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,n.width,n.height),t.restore())}function i2(n,t,e,i){b6(n,t,e,i,null)}function b6(n,t,e,i,s){let r,o,a,l,c,u,d,h;const p=t.pointStyle,_=t.rotation,v=t.radius;let x=(_||0)*Cpe;if(p&&"object"==typeof p&&(r=p.toString(),"[object HTMLImageElement]"===r||"[object HTMLCanvasElement]"===r))return n.save(),n.translate(e,i),n.rotate(x),n.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),void n.restore();if(!(isNaN(v)||v<=0)){switch(n.beginPath(),p){default:s?n.ellipse(e,i,s/2,v,0,0,Bi):n.arc(e,i,v,0,Bi),n.closePath();break;case"triangle":u=s?s/2:v,n.moveTo(e+Math.sin(x)*u,i-Math.cos(x)*v),x+=n6,n.lineTo(e+Math.sin(x)*u,i-Math.cos(x)*v),x+=n6,n.lineTo(e+Math.sin(x)*u,i-Math.cos(x)*v),n.closePath();break;case"rectRounded":c=.516*v,l=v-c,o=Math.cos(x+Zh)*l,d=Math.cos(x+Zh)*(s?s/2-c:l),a=Math.sin(x+Zh)*l,h=Math.sin(x+Zh)*(s?s/2-c:l),n.arc(e-d,i-a,c,x-ji,x-ps),n.arc(e+h,i-o,c,x-ps,x),n.arc(e+d,i+a,c,x,x+ps),n.arc(e-h,i+o,c,x+ps,x+ji),n.closePath();break;case"rect":if(!_){l=Math.SQRT1_2*v,u=s?s/2:l,n.rect(e-u,i-l,2*u,2*l);break}x+=Zh;case"rectRot":d=Math.cos(x)*(s?s/2:v),o=Math.cos(x)*v,a=Math.sin(x)*v,h=Math.sin(x)*(s?s/2:v),n.moveTo(e-d,i-a),n.lineTo(e+h,i-o),n.lineTo(e+d,i+a),n.lineTo(e-h,i+o),n.closePath();break;case"crossRot":x+=Zh;case"cross":d=Math.cos(x)*(s?s/2:v),o=Math.cos(x)*v,a=Math.sin(x)*v,h=Math.sin(x)*(s?s/2:v),n.moveTo(e-d,i-a),n.lineTo(e+d,i+a),n.moveTo(e+h,i-o),n.lineTo(e-h,i+o);break;case"star":d=Math.cos(x)*(s?s/2:v),o=Math.cos(x)*v,a=Math.sin(x)*v,h=Math.sin(x)*(s?s/2:v),n.moveTo(e-d,i-a),n.lineTo(e+d,i+a),n.moveTo(e+h,i-o),n.lineTo(e-h,i+o),x+=Zh,d=Math.cos(x)*(s?s/2:v),o=Math.cos(x)*v,a=Math.sin(x)*v,h=Math.sin(x)*(s?s/2:v),n.moveTo(e-d,i-a),n.lineTo(e+d,i+a),n.moveTo(e+h,i-o),n.lineTo(e-h,i+o);break;case"line":o=s?s/2:Math.cos(x)*v,a=Math.sin(x)*v,n.moveTo(e-o,i-a),n.lineTo(e+o,i+a);break;case"dash":n.moveTo(e,i),n.lineTo(e+Math.cos(x)*(s?s/2:v),i+Math.sin(x)*v);break;case!1:n.closePath()}n.fill(),t.borderWidth>0&&n.stroke()}}function jc(n,t,e){return e=e||.5,!t||n&&n.x>t.left-e&&n.x<t.right+e&&n.y>t.top-e&&n.y<t.bottom+e}function SC(n,t){n.save(),n.beginPath(),n.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),n.clip()}function TC(n){n.restore()}function Vpe(n,t,e,i,s){if(!t)return n.lineTo(e.x,e.y);if("middle"===s){const r=(t.x+e.x)/2;n.lineTo(r,t.y),n.lineTo(r,e.y)}else"after"===s!=!!i?n.lineTo(t.x,e.y):n.lineTo(e.x,t.y);n.lineTo(e.x,e.y)}function Upe(n,t,e,i){if(!t)return n.lineTo(e.x,e.y);n.bezierCurveTo(i?t.cp1x:t.cp2x,i?t.cp1y:t.cp2y,i?e.cp2x:e.cp1x,i?e.cp2y:e.cp1y,e.x,e.y)}function Gpe(n,t,e,i,s){if(s.strikethrough||s.underline){const r=n.measureText(i),o=t-r.actualBoundingBoxLeft,a=t+r.actualBoundingBoxRight,c=e+r.actualBoundingBoxDescent,u=s.strikethrough?(e-r.actualBoundingBoxAscent+c)/2:c;n.strokeStyle=n.fillStyle,n.beginPath(),n.lineWidth=s.decorationWidth||2,n.moveTo(o,u),n.lineTo(a,u),n.stroke()}}function Wpe(n,t){const e=n.fillStyle;n.fillStyle=t.color,n.fillRect(t.left,t.top,t.width,t.height),n.fillStyle=e}function ef(n,t,e,i,s,r={}){const o=Yi(t)?t:[t],a=r.strokeWidth>0&&""!==r.strokeColor;let l,c;for(n.save(),n.font=s.string,function zpe(n,t){t.translation&&n.translate(t.translation[0],t.translation[1]),Hn(t.rotation)||n.rotate(t.rotation),t.color&&(n.fillStyle=t.color),t.textAlign&&(n.textAlign=t.textAlign),t.textBaseline&&(n.textBaseline=t.textBaseline)}(n,r),l=0;l<o.length;++l)c=o[l],r.backdrop&&Wpe(n,r.backdrop),a&&(r.strokeColor&&(n.strokeStyle=r.strokeColor),Hn(r.strokeWidth)||(n.lineWidth=r.strokeWidth),n.strokeText(c,e,i,r.maxWidth)),n.fillText(c,e,i,r.maxWidth),Gpe(n,e,i,c,r),i+=Number(s.lineHeight);n.restore()}function _v(n,t){const{x:e,y:i,w:s,h:r,radius:o}=t;n.arc(e+o.topLeft,i+o.topLeft,o.topLeft,1.5*ji,ji,!0),n.lineTo(e,i+r-o.bottomLeft),n.arc(e+o.bottomLeft,i+r-o.bottomLeft,o.bottomLeft,ji,ps,!0),n.lineTo(e+s-o.bottomRight,i+r),n.arc(e+s-o.bottomRight,i+r-o.bottomRight,o.bottomRight,ps,0,!0),n.lineTo(e+s,i+o.topRight),n.arc(e+s-o.topRight,i+o.topRight,o.topRight,0,-ps,!0),n.lineTo(e+o.topLeft,i)}const $pe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,qpe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Kpe(n,t){const e=(""+n).match($pe);if(!e||"normal"===e[1])return 1.2*t;switch(n=+e[2],e[3]){case"px":return n;case"%":n/=100}return t*n}const Xpe=n=>+n||0;function s2(n,t){const e={},i=Ln(t),s=i?Object.keys(t):t,r=Ln(n)?i?o=>un(n[o],n[t[o]]):o=>n[o]:()=>n;for(const o of s)e[o]=Xpe(r(o));return e}function w6(n){return s2(n,{top:"y",right:"x",bottom:"y",left:"x"})}function tf(n){return s2(n,["topLeft","topRight","bottomLeft","bottomRight"])}function ar(n){const t=w6(n);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Os(n,t){let e=un((n=n||{}).size,(t=t||Zi.font).size);"string"==typeof e&&(e=parseInt(e,10));let i=un(n.style,t.style);i&&!(""+i).match(qpe)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const s={family:un(n.family,t.family),lineHeight:Kpe(un(n.lineHeight,t.lineHeight),e),size:e,style:i,weight:un(n.weight,t.weight),string:""};return s.string=function Bpe(n){return!n||Hn(n.size)||Hn(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}(s),s}function yv(n,t,e,i){let r,o,a,s=!0;for(r=0,o=n.length;r<o;++r)if(a=n[r],void 0!==a&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==e&&Yi(a)&&(a=a[e%a.length],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}function hd(n,t){return Object.assign(Object.create(n),t)}function r2(n,t=[""],e,i,s=(()=>n[0])){const r=e||n;typeof i>"u"&&(i=S6("_fallback",n));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:r,_fallback:i,_getTarget:s,override:a=>r2([a,...n],t,r,i)};return new Proxy(o,{deleteProperty:(a,l)=>(delete a[l],delete a._keys,delete n[0][l],!0),get:(a,l)=>M6(a,l,()=>function rge(n,t,e,i){let s;for(const r of t)if(s=S6(Jpe(r,n),e),typeof s<"u")return o2(n,s)?a2(e,i,n,s):s}(l,t,n,a)),getOwnPropertyDescriptor:(a,l)=>Reflect.getOwnPropertyDescriptor(a._scopes[0],l),getPrototypeOf:()=>Reflect.getPrototypeOf(n[0]),has:(a,l)=>T6(a).includes(l),ownKeys:a=>T6(a),set(a,l,c){const u=a._storage||(a._storage=s());return a[l]=u[l]=c,delete a._keys,!0}})}function Lg(n,t,e,i){const s={_cacheable:!1,_proxy:n,_context:t,_subProxy:e,_stack:new Set,_descriptors:C6(n,i),setContext:r=>Lg(n,r,e,i),override:r=>Lg(n.override(r),t,e,i)};return new Proxy(s,{deleteProperty:(r,o)=>(delete r[o],delete n[o],!0),get:(r,o,a)=>M6(r,o,()=>function Qpe(n,t,e){const{_proxy:i,_context:s,_subProxy:r,_descriptors:o}=n;let a=i[t];return ud(a)&&o.isScriptable(t)&&(a=function ege(n,t,e,i){const{_proxy:s,_context:r,_subProxy:o,_stack:a}=e;if(a.has(n))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+n);a.add(n);let l=t(r,o||i);return a.delete(n),o2(n,l)&&(l=a2(s._scopes,s,n,l)),l}(t,a,n,e)),Yi(a)&&a.length&&(a=function tge(n,t,e,i){const{_proxy:s,_context:r,_subProxy:o,_descriptors:a}=e;if(typeof r.index<"u"&&i(n))return t[r.index%t.length];if(Ln(t[0])){const l=t,c=s._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=a2(c,s,n,u);t.push(Lg(d,r,o&&o[n],a))}}return t}(t,a,n,o.isIndexable)),o2(t,a)&&(a=Lg(a,s,r&&r[t],o)),a}(r,o,a)),getOwnPropertyDescriptor:(r,o)=>r._descriptors.allKeys?Reflect.has(n,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,o),getPrototypeOf:()=>Reflect.getPrototypeOf(n),has:(r,o)=>Reflect.has(n,o),ownKeys:()=>Reflect.ownKeys(n),set:(r,o,a)=>(n[o]=a,delete r[o],!0)})}function C6(n,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:i=t.indexable,_allKeys:s=t.allKeys}=n;return{allKeys:s,scriptable:e,indexable:i,isScriptable:ud(e)?e:()=>e,isIndexable:ud(i)?i:()=>i}}const Jpe=(n,t)=>n?n+qO(t):t,o2=(n,t)=>Ln(t)&&"adapters"!==n&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function M6(n,t,e){if(Object.prototype.hasOwnProperty.call(n,t)||"constructor"===t)return n[t];const i=e();return n[t]=i,i}function D6(n,t,e){return ud(n)?n(t,e):n}const nge=(n,t)=>!0===n?t:"string"==typeof n?cd(t,n):void 0;function ige(n,t,e,i,s){for(const r of t){const o=nge(e,r);if(o){n.add(o);const a=D6(o._fallback,e,s);if(typeof a<"u"&&a!==e&&a!==i)return a}else if(!1===o&&typeof i<"u"&&e!==i)return null}return!1}function a2(n,t,e,i){const s=t._rootScopes,r=D6(t._fallback,e,i),o=[...n,...s],a=new Set;a.add(i);let l=x6(a,o,e,r||e,i);return!(null===l||typeof r<"u"&&r!==e&&(l=x6(a,o,r,l,i),null===l))&&r2(Array.from(a),[""],s,r,()=>function sge(n,t,e){const i=n._getTarget();t in i||(i[t]={});const s=i[t];return Yi(s)&&Ln(e)?e:s||{}}(t,e,i))}function x6(n,t,e,i,s){for(;e;)e=ige(n,t,e,i,s);return e}function S6(n,t){for(const e of t){if(!e)continue;const i=e[n];if(typeof i<"u")return i}}function T6(n){let t=n._keys;return t||(t=n._keys=function oge(n){const t=new Set;for(const e of n)for(const i of Object.keys(e).filter(s=>!s.startsWith("_")))t.add(i);return Array.from(t)}(n._scopes)),t}function E6(n,t,e,i){const{iScale:s}=n,{key:r="r"}=this._parsing,o=new Array(i);let a,l,c,u;for(a=0,l=i;a<l;++a)c=a+e,u=t[c],o[a]={r:s.parse(cd(u,r),c)};return o}const age=Number.EPSILON||1e-14,Pg=(n,t)=>t<n.length&&!n[t].skip&&n[t],k6=n=>"x"===n?"y":"x";function lge(n,t,e,i){const s=n.skip?t:n,r=t,o=e.skip?t:e,a=XO(r,s),l=XO(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,h=i*u;return{previous:{x:r.x-d*(o.x-s.x),y:r.y-d*(o.y-s.y)},next:{x:r.x+h*(o.x-s.x),y:r.y+h*(o.y-s.y)}}}function EC(n,t,e){return Math.max(Math.min(n,e),t)}function fge(n,t,e,i,s){let r,o,a,l;if(t.spanGaps&&(n=n.filter(c=>!c.skip)),"monotone"===t.cubicInterpolationMode)!function dge(n,t="x"){const e=k6(t),i=n.length,s=Array(i).fill(0),r=Array(i);let o,a,l,c=Pg(n,0);for(o=0;o<i;++o)if(a=l,l=c,c=Pg(n,o+1),l){if(c){const u=c[t]-l[t];s[o]=0!==u?(c[e]-l[e])/u:0}r[o]=a?c?Ol(s[o-1])!==Ol(s[o])?0:(s[o-1]+s[o])/2:s[o-1]:s[o]}(function cge(n,t,e){const i=n.length;let s,r,o,a,l,c=Pg(n,0);for(let u=0;u<i-1;++u)if(l=c,c=Pg(n,u+1),l&&c){if(hv(t[u],0,age)){e[u]=e[u+1]=0;continue}s=e[u]/t[u],r=e[u+1]/t[u],a=Math.pow(s,2)+Math.pow(r,2),!(a<=9)&&(o=3/Math.sqrt(a),e[u]=s*o*t[u],e[u+1]=r*o*t[u])}})(n,s,r),function uge(n,t,e="x"){const i=k6(e),s=n.length;let r,o,a,l=Pg(n,0);for(let c=0;c<s;++c){if(o=a,a=l,l=Pg(n,c+1),!a)continue;const u=a[e],d=a[i];o&&(r=(u-o[e])/3,a[`cp1${e}`]=u-r,a[`cp1${i}`]=d-r*t[c]),l&&(r=(l[e]-u)/3,a[`cp2${e}`]=u+r,a[`cp2${i}`]=d+r*t[c])}}(n,r,t)}(n,s);else{let c=i?n[n.length-1]:n[0];for(r=0,o=n.length;r<o;++r)a=n[r],l=lge(c,a,n[Math.min(r+1,o-(i?0:1))%o],t.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,c=a}t.capBezierPoints&&function hge(n,t){let e,i,s,r,o,a=jc(n[0],t);for(e=0,i=n.length;e<i;++e)o=r,r=a,a=e<i-1&&jc(n[e+1],t),r&&(s=n[e],o&&(s.cp1x=EC(s.cp1x,t.left,t.right),s.cp1y=EC(s.cp1y,t.top,t.bottom)),a&&(s.cp2x=EC(s.cp2x,t.left,t.right),s.cp2y=EC(s.cp2y,t.top,t.bottom)))}(n,e)}function l2(){return typeof window<"u"&&typeof document<"u"}function c2(n){let t=n.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function kC(n,t,e){let i;return"string"==typeof n?(i=parseInt(n,10),-1!==n.indexOf("%")&&(i=i/100*t.parentNode[e])):i=n,i}const OC=n=>n.ownerDocument.defaultView.getComputedStyle(n,null),gge=["top","right","bottom","left"];function nf(n,t,e){const i={};e=e?"-"+e:"";for(let s=0;s<4;s++){const r=gge[s];i[r]=parseFloat(n[t+"-"+r+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const mge=(n,t,e)=>(n>0||t>0)&&(!e||!e.shadowRoot);function sf(n,t){if("native"in n)return n;const{canvas:e,currentDevicePixelRatio:i}=t,s=OC(e),r="border-box"===s.boxSizing,o=nf(s,"padding"),a=nf(s,"border","width"),{x:l,y:c,box:u}=function _ge(n,t){const e=n.touches,i=e&&e.length?e[0]:n,{offsetX:s,offsetY:r}=i;let a,l,o=!1;if(mge(s,r,n.target))a=s,l=r;else{const c=t.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,o=!0}return{x:a,y:l,box:o}}(n,e),d=o.left+(u&&a.left),h=o.top+(u&&a.top);let{width:p,height:_}=t;return r&&(p-=o.width+a.width,_-=o.height+a.height),{x:Math.round((l-d)/p*e.width/i),y:Math.round((c-h)/_*e.height/i)}}const LC=n=>Math.round(10*n)/10;function O6(n,t,e){const i=t||1,s=Math.floor(n.height*i),r=Math.floor(n.width*i);n.height=Math.floor(n.height),n.width=Math.floor(n.width);const o=n.canvas;return o.style&&(e||!o.style.height&&!o.style.width)&&(o.style.height=`${n.height}px`,o.style.width=`${n.width}px`),(n.currentDevicePixelRatio!==i||o.height!==s||o.width!==r)&&(n.currentDevicePixelRatio=i,o.height=s,o.width=r,n.ctx.setTransform(i,0,0,i,0,0),!0)}const bge=function(){let n=!1;try{const t={get passive(){return n=!0,!1}};l2()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return n}();function L6(n,t){const e=function pge(n,t){return OC(n).getPropertyValue(t)}(n,t),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function rf(n,t,e,i){return{x:n.x+e*(t.x-n.x),y:n.y+e*(t.y-n.y)}}function wge(n,t,e,i){return{x:n.x+e*(t.x-n.x),y:"middle"===i?e<.5?n.y:t.y:"after"===i?e<1?n.y:t.y:e>0?t.y:n.y}}function Cge(n,t,e,i){const s={x:n.cp2x,y:n.cp2y},r={x:t.cp1x,y:t.cp1y},o=rf(n,s,e),a=rf(s,r,e),l=rf(r,t,e),c=rf(o,a,e),u=rf(a,l,e);return rf(c,u,e)}function Ig(n,t,e){return n?function(n,t){return{x:e=>n+n+t-e,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,i)=>e-i,leftForLtr:(e,i)=>e-i}}(t,e):{x:n=>n,setWidth(n){},textAlign:n=>n,xPlus:(n,t)=>n+t,leftForLtr:(n,t)=>n}}function P6(n,t){let e,i;("ltr"===t||"rtl"===t)&&(e=n.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),n.prevTextDirection=i)}function I6(n,t){void 0!==t&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",t[0],t[1]))}function A6(n){return"angle"===n?{between:fv,compare:xpe,normalize:No}:{between:Fc,compare:(t,e)=>t-e,normalize:t=>t}}function R6({start:n,end:t,count:e,loop:i,style:s}){return{start:n%e,end:t%e,loop:i&&(t-n+1)%e==0,style:s}}function N6(n,t,e){if(!e)return[n];const{property:i,start:s,end:r}=e,o=t.length,{compare:a,between:l,normalize:c}=A6(i),{start:u,end:d,loop:h,style:p}=function xge(n,t,e){const{property:i,start:s,end:r}=e,{between:o,normalize:a}=A6(i),l=t.length;let h,p,{start:c,end:u,loop:d}=n;if(d){for(c+=l,u+=l,h=0,p=l;h<p&&o(a(t[c%l][i]),s,r);++h)c--,u--;c%=l,u%=l}return u<c&&(u+=l),{start:c,end:u,loop:d,style:n.style}}(n,t,e),_=[];let k,P,j,v=!1,x=null;for(let ce=u,Se=u;ce<=d;++ce)P=t[ce%o],!P.skip&&(k=c(P[i]),k!==j&&(v=l(k,s,r),null===x&&(v||l(s,j,k)&&0!==a(s,j))&&(x=0===a(k,s)?ce:Se),null!==x&&(!v||0===a(r,k)||l(r,j,k))&&(_.push(R6({start:x,end:ce,loop:h,count:o,style:p})),x=null),Se=ce,j=k));return null!==x&&_.push(R6({start:x,end:d,loop:h,count:o,style:p})),_}function F6(n,t){const e=[],i=n.segments;for(let s=0;s<i.length;s++){const r=N6(i[s],n.points,t);r.length&&e.push(...r)}return e}function j6(n){return{backgroundColor:n.backgroundColor,borderCapStyle:n.borderCapStyle,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderJoinStyle:n.borderJoinStyle,borderWidth:n.borderWidth,borderColor:n.borderColor}}function Oge(n,t){if(!t)return!1;const e=[],i=function(s,r){return QO(r)?(e.includes(r)||e.push(r),e.indexOf(r)):r};return JSON.stringify(n,i)!==JSON.stringify(t,i)}class Lge{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const o=e.duration;e.listeners[s].forEach(a=>a({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=u6.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const r=i.items;let l,o=r.length-1,a=!1;for(;o>=0;--o)l=r[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(s.draw(),this._notify(s,i,t,"progress")),r.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=r.length}),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Bc=new Lge;const B6="transparent",Pge={boolean:(n,t,e)=>e>.5?t:n,color(n,t,e){const i=m6(n||B6),s=i.valid&&m6(t||B6);return s&&s.valid?s.mix(i,e).hexString():t},number:(n,t,e)=>n+(t-n)*e};class Ige{constructor(t,e,i,s){const r=e[i];s=yv([t.to,s,r,t.from]);const o=yv([t.from,r,s]);this._active=!0,this._fn=t.fn||Pge[t.type||typeof o],this._easing=pv[t.easing]||pv.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=yv([t.to,e,s,t.from]),this._from=yv([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,r=this._from,o=this._loop,a=this._to;let l;if(this._active=r!==a&&(o||e<i),!this._active)return this._target[s]=a,void this._notify(!0);e<0?this._target[s]=r:(l=e/i%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[s]=this._fn(r,a,l))}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,i)=>{t.push({res:e,rej:i})})}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let s=0;s<i.length;s++)i[s][e]()}}class H6{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!Ln(t))return;const e=Object.keys(Zi.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const r=t[s];if(!Ln(r))return;const o={};for(const a of e)o[a]=r[a];(Yi(r.properties)&&r.properties||[s]).forEach(a=>{(a===s||!i.has(a))&&i.set(a,o)})})}_animateOptions(t,e){const i=e.options,s=function Rge(n,t){if(!t)return;let e=n.options;if(e)return e.$shared&&(n.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e;n.options=t}(t,i);if(!s)return[];const r=this._createAnimations(s,i);return i.$shared&&function Age(n,t){const e=[],i=Object.keys(t);for(let s=0;s<i.length;s++){const r=n[i[s]];r&&r.active()&&e.push(r.wait())}return Promise.all(e)}(t.options.$animations,i).then(()=>{t.options=i},()=>{}),r}_createAnimations(t,e){const i=this._properties,s=[],r=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if("$"===c.charAt(0))continue;if("options"===c){s.push(...this._animateOptions(t,e));continue}const u=e[c];let d=r[c];const h=i.get(c);if(d){if(h&&d.active()){d.update(h,u,a);continue}d.cancel()}h&&h.duration?(r[c]=d=new Ige(h,t,c,u),s.push(d)):t[c]=u}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(Bc.add(this._chart,i),!0):void 0}}function V6(n,t){const e=n&&n.options||{},i=e.reverse,s=void 0===e.min?t:0,r=void 0===e.max?t:0;return{start:i?r:s,end:i?s:r}}function U6(n,t){const e=[],i=n._getSortedDatasetMetas(t);let s,r;for(s=0,r=i.length;s<r;++s)e.push(i[s].index);return e}function z6(n,t,e,i={}){const s=n.keys,r="single"===i.mode;let o,a,l,c;if(null!==t){for(o=0,a=s.length;o<a;++o){if(l=+s[o],l===e){if(i.all)continue;break}c=n.values[l],ns(c)&&(r||0===t||Ol(t)===Ol(c))&&(t+=c)}return t}}function G6(n,t){const e=n&&n.options.stacked;return e||void 0===e&&void 0!==t.stack}function Hge(n,t,e){const i=n[t]||(n[t]={});return i[e]||(i[e]={})}function W6(n,t,e,i){for(const s of t.getMatchingVisibleMetas(i).reverse()){const r=n[s.index];if(e&&r>0||!e&&r<0)return s.index}return null}function $6(n,t){const{chart:e,_cachedMeta:i}=n,s=e._stacks||(e._stacks={}),{iScale:r,vScale:o,index:a}=i,l=r.axis,c=o.axis,u=function jge(n,t,e){return`${n.id}.${t.id}.${e.stack||e.type}`}(r,o,i),d=t.length;let h;for(let p=0;p<d;++p){const _=t[p],{[l]:v,[c]:x}=_;h=(_._stacks||(_._stacks={}))[c]=Hge(s,u,v),h[a]=x,h._top=W6(h,o,!0,i.type),h._bottom=W6(h,o,!1,i.type),(h._visualValues||(h._visualValues={}))[a]=x}}function u2(n,t){const e=n.scales;return Object.keys(e).filter(i=>e[i].axis===t).shift()}function vv(n,t){const e=n.controller.index,i=n.vScale&&n.vScale.axis;if(i){t=t||n._parsed;for(const s of t){const r=s._stacks;if(!r||void 0===r[i]||void 0===r[i][e])return;delete r[i][e],void 0!==r[i]._visualValues&&void 0!==r[i]._visualValues[e]&&delete r[i]._visualValues[e]}}}const d2=n=>"reset"===n||"none"===n,q6=(n,t)=>t?n:Object.assign({},n);let fd=(()=>class n{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,i){this.chart=e,this._ctx=e.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=G6(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&vv(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,i=this._cachedMeta,s=this.getDataset(),r=(h,p,_,v)=>"x"===h?p:"r"===h?v:_,o=i.xAxisID=un(s.xAxisID,u2(e,"x")),a=i.yAxisID=un(s.yAxisID,u2(e,"y")),l=i.rAxisID=un(s.rAxisID,u2(e,"r")),c=i.indexAxis,u=i.iAxisID=r(c,o,a,l),d=i.vAxisID=r(c,a,o,l);i.xScale=this.getScaleForId(o),i.yScale=this.getScaleForId(a),i.rScale=this.getScaleForId(l),i.iScale=this.getScaleForId(u),i.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const i=this._cachedMeta;return e===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&l6(this._data,this),e._stacked&&vv(e)}_dataCheck(){const e=this.getDataset(),i=e.data||(e.data=[]),s=this._data;if(Ln(i))this._data=function Yge(n,t){const{iScale:e,vScale:i}=t,s="x"===e.axis?"x":"y",r="x"===i.axis?"x":"y",o=Object.keys(n),a=new Array(o.length);let l,c,u;for(l=0,c=o.length;l<c;++l)u=o[l],a[l]={[s]:u,[r]:n[u]};return a}(i,this._cachedMeta);else if(s!==i){if(s){l6(s,this);const r=this._cachedMeta;vv(r),r._parsed=[]}i&&Object.isExtensible(i)&&function kpe(n,t){n._chartjs?n._chartjs.listeners.push(t):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),a6.forEach(e=>{const i="_onData"+qO(e),s=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...r){const o=s.apply(this,r);return n._chartjs.listeners.forEach(a=>{"function"==typeof a[i]&&a[i](...r)}),o}})}))}(i,this),this._syncList=[],this._data=i}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const i=this._cachedMeta,s=this.getDataset();let r=!1;this._dataCheck();const o=i._stacked;i._stacked=G6(i.vScale,i),i.stack!==s.stack&&(r=!0,vv(i),i.stack=s.stack),this._resyncElements(e),(r||o!==i._stacked)&&$6(this,i._parsed)}configure(){const e=this.chart.config,i=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),i,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,i){const{_cachedMeta:s,_data:r}=this,{iScale:o,_stacked:a}=s,l=o.axis;let d,h,p,c=0===e&&i===r.length||s._sorted,u=e>0&&s._parsed[e-1];if(!1===this._parsing)s._parsed=r,s._sorted=!0,p=r;else{p=Yi(r[e])?this.parseArrayData(s,r,e,i):Ln(r[e])?this.parseObjectData(s,r,e,i):this.parsePrimitiveData(s,r,e,i);const _=()=>null===h[l]||u&&h[l]<u[l];for(d=0;d<i;++d)s._parsed[d+e]=h=p[d],c&&(_()&&(c=!1),u=h);s._sorted=c}a&&$6(this,p)}parsePrimitiveData(e,i,s,r){const{iScale:o,vScale:a}=e,l=o.axis,c=a.axis,u=o.getLabels(),d=o===a,h=new Array(r);let p,_,v;for(p=0,_=r;p<_;++p)v=p+s,h[p]={[l]:d||o.parse(u[v],v),[c]:a.parse(i[v],v)};return h}parseArrayData(e,i,s,r){const{xScale:o,yScale:a}=e,l=new Array(r);let c,u,d,h;for(c=0,u=r;c<u;++c)d=c+s,h=i[d],l[c]={x:o.parse(h[0],d),y:a.parse(h[1],d)};return l}parseObjectData(e,i,s,r){const{xScale:o,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,u=new Array(r);let d,h,p,_;for(d=0,h=r;d<h;++d)p=d+s,_=i[p],u[d]={x:o.parse(cd(_,l),p),y:a.parse(cd(_,c),p)};return u}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,i,s){const o=this._cachedMeta,a=i[e.axis];return z6({keys:U6(this.chart,!0),values:i._stacks[e.axis]._visualValues},a,o.index,{mode:s})}updateRangeFromParsed(e,i,s,r){const o=s[i.axis];let a=null===o?NaN:o;const l=r&&s._stacks[i.axis];r&&l&&(r.values=l,a=z6(r,o,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,i){const s=this._cachedMeta,r=s._parsed,o=s._sorted&&e===s.iScale,a=r.length,l=this._getOtherScale(e),c=((n,t,e)=>n&&!t.hidden&&t._stacked&&{keys:U6(this.chart,!0),values:null})(i,s),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:d,max:h}=function Bge(n){const{min:t,max:e,minDefined:i,maxDefined:s}=n.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:s?e:Number.POSITIVE_INFINITY}}(l);let p,_;function v(){_=r[p];const x=_[l.axis];return!ns(_[e.axis])||d>x||h<x}for(p=0;p<a&&(v()||(this.updateRangeFromParsed(u,e,_,c),!o));++p);if(o)for(p=a-1;p>=0;--p)if(!v()){this.updateRangeFromParsed(u,e,_,c);break}return u}getAllParsedValues(e){const i=this._cachedMeta._parsed,s=[];let r,o,a;for(r=0,o=i.length;r<o;++r)a=i[r][e.axis],ns(a)&&s.push(a);return s}getMaxOverflow(){return!1}getLabelAndValue(e){const i=this._cachedMeta,s=i.iScale,r=i.vScale,o=this.getParsed(e);return{label:s?""+s.getLabelForValue(o[s.axis]):"",value:r?""+r.getLabelForValue(o[r.axis]):""}}_update(e){const i=this._cachedMeta;this.update(e||"default"),i._clip=function Fge(n){let t,e,i,s;return Ln(n)?(t=n.top,e=n.right,i=n.bottom,s=n.left):t=e=i=s=n,{top:t,right:e,bottom:i,left:s,disabled:!1===n}}(un(this.options.clip,function Nge(n,t,e){if(!1===e)return!1;const i=V6(n,e),s=V6(t,e);return{top:s.end,right:i.end,bottom:s.start,left:i.start}}(i.xScale,i.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,s=this._cachedMeta,r=s.data||[],o=this.chart.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||r.length-l,u=this.options.drawActiveElementsOnTop;let d;for(s.dataset&&s.dataset.draw(e,o,l,c),d=l;d<l+c;++d){const h=r[d];h.hidden||(h.active&&u?a.push(h):h.draw(e,o))}for(d=0;d<a.length;++d)a[d].draw(e,o)}getStyle(e,i){const s=i?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(s):this.resolveDataElementOptions(e||0,s)}getContext(e,i,s){const r=this.getDataset();let o;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];o=a.$context||(a.$context=function Uge(n,t,e){return hd(n,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}(this.getContext(),e,a)),o.parsed=this.getParsed(e),o.raw=r.data[e],o.index=o.dataIndex=e}else o=this.$context||(this.$context=function Vge(n,t){return hd(n,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),o.dataset=r,o.index=o.datasetIndex=this.index;return o.active=!!i,o.mode=s,o}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,i){return this._resolveElementOptions(this.dataElementType.id,i,e)}_resolveElementOptions(e,i="default",s){const r="active"===i,o=this._cachedDataOpts,a=e+"-"+i,l=o[a],c=this.enableOptionSharing&&dv(s);if(l)return q6(l,c);const u=this.chart.config,d=u.datasetElementScopeKeys(this._type,e),h=r?[`${e}Hover`,"hover",e,""]:[e,""],p=u.getOptionScopes(this.getDataset(),d),_=Object.keys(Zi.elements[e]),x=u.resolveNamedOptions(p,_,()=>this.getContext(s,r,i),h);return x.$shared&&(x.$shared=c,o[a]=Object.freeze(q6(x,c))),x}_resolveAnimations(e,i,s){const r=this.chart,o=this._cachedDataOpts,a=`animation-${i}`,l=o[a];if(l)return l;let c;if(!1!==r.options.animation){const d=this.chart.config,h=d.datasetAnimationScopeKeys(this._type,i),p=d.getOptionScopes(this.getDataset(),h);c=d.createResolver(p,this.getContext(e,s,i))}const u=new H6(r,c&&c.animations);return c&&c._cacheable&&(o[a]=Object.freeze(u)),u}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,i){return!i||d2(e)||this.chart._animationsDisabled}_getSharedOptions(e,i){const s=this.resolveDataElementOptions(e,i),r=this._sharedOptions,o=this.getSharedOptions(s),a=this.includeOptions(i,o)||o!==r;return this.updateSharedOptions(o,i,s),{sharedOptions:o,includeOptions:a}}updateElement(e,i,s,r){d2(r)?Object.assign(e,s):this._resolveAnimations(i,r).update(e,s)}updateSharedOptions(e,i,s){e&&!d2(i)&&this._resolveAnimations(void 0,i).update(e,s)}_setStyle(e,i,s,r){e.active=r;const o=this.getStyle(i,r);this._resolveAnimations(i,s,r).update(e,{options:!r&&this.getSharedOptions(o)||o})}removeHoverStyle(e,i,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,i,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const i=this._data,s=this._cachedMeta.data;for(const[l,c,u]of this._syncList)this[l](c,u);this._syncList=[];const r=s.length,o=i.length,a=Math.min(o,r);a&&this.parse(0,a),o>r?this._insertElements(r,o-r,e):o<r&&this._removeElements(o,r-o)}_insertElements(e,i,s=!0){const r=this._cachedMeta,o=r.data,a=e+i;let l;const c=u=>{for(u.length+=i,l=u.length-1;l>=a;l--)u[l]=u[l-i]};for(c(o),l=e;l<a;++l)o[l]=new this.dataElementType;this._parsing&&c(r._parsed),this.parse(e,i),s&&this.updateElements(o,e,i,"reset")}updateElements(e,i,s,r){}_removeElements(e,i){const s=this._cachedMeta;if(this._parsing){const r=s._parsed.splice(e,i);s._stacked&&vv(s,r)}s.data.splice(e,i)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[i,s,r]=e;this[i](s,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,i){i&&this._sync(["_removeElements",e,i]);const s=arguments.length-2;s&&this._sync(["_insertElements",e,s])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}})();function Wge(n){const t=n.iScale,e=function Gge(n,t){if(!n._cache.$bar){const e=n.getMatchingVisibleMetas(t);let i=[];for(let s=0,r=e.length;s<r;s++)i=i.concat(e[s].controller.getAllParsedValues(n));n._cache.$bar=c6(i.sort((s,r)=>s-r))}return n._cache.$bar}(t,n.type);let s,r,o,a,i=t._length;const l=()=>{32767===o||-32768===o||(dv(a)&&(i=Math.min(i,Math.abs(o-a)||i)),a=o)};for(s=0,r=e.length;s<r;++s)o=t.getPixelForValue(e[s]),l();for(a=void 0,s=0,r=t.ticks.length;s<r;++s)o=t.getPixelForTick(s),l();return i}function K6(n,t,e,i){return Yi(n)?function Kge(n,t,e,i){const s=e.parse(n[0],i),r=e.parse(n[1],i),o=Math.min(s,r),a=Math.max(s,r);let l=o,c=a;Math.abs(o)>Math.abs(a)&&(l=a,c=o),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:s,end:r,min:o,max:a}}(n,t,e,i):t[e.axis]=e.parse(n,i),t}function X6(n,t,e,i){const s=n.iScale,r=n.vScale,o=s.getLabels(),a=s===r,l=[];let c,u,d,h;for(c=e,u=e+i;c<u;++c)h=t[c],d={},d[s.axis]=a||s.parse(o[c],c),l.push(K6(h,d,r,c));return l}function h2(n){return n&&void 0!==n.barStart&&void 0!==n.barEnd}function Jge(n,t,e,i){let s=t.borderSkipped;const r={};if(!s)return void(n.borderSkipped=r);if(!0===s)return void(n.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:o,end:a,reverse:l,top:c,bottom:u}=function Zge(n){let t,e,i,s,r;return n.horizontal?(t=n.base>n.x,e="left",i="right"):(t=n.base<n.y,e="bottom",i="top"),t?(s="end",r="start"):(s="start",r="end"),{start:e,end:i,reverse:t,top:s,bottom:r}}(n);"middle"===s&&e&&(n.enableBorderRadius=!0,(e._top||0)===i?s=c:(e._bottom||0)===i?s=u:(r[Z6(u,o,a,l)]=!0,s=c)),r[Z6(s,o,a,l)]=!0,n.borderSkipped=r}function Z6(n,t,e,i){return i?(n=function Qge(n,t,e){return n===t?e:n===e?t:n}(n,t,e),n=J6(n,e,t)):n=J6(n,t,e),n}function J6(n,t,e){return"start"===n?t:"end"===n?e:n}function eme(n,{inflateAmount:t},e){n.inflateAmount="auto"===t?1===e?.33:0:t}let tme=(()=>class n extends fd{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,i,s,r){return X6(e,i,s,r)}parseArrayData(e,i,s,r){return X6(e,i,s,r)}parseObjectData(e,i,s,r){const{iScale:o,vScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,u="x"===o.axis?l:c,d="x"===a.axis?l:c,h=[];let p,_,v,x;for(p=s,_=s+r;p<_;++p)x=i[p],v={},v[o.axis]=o.parse(cd(x,u),p),h.push(K6(cd(x,d),v,a,p));return h}updateRangeFromParsed(e,i,s,r){super.updateRangeFromParsed(e,i,s,r);const o=s._custom;o&&i===this._cachedMeta.vScale&&(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const i=this._cachedMeta,{iScale:s,vScale:r}=i,o=this.getParsed(e),a=o._custom,l=h2(a)?"["+a.start+", "+a.end+"]":""+r.getLabelForValue(o[r.axis]);return{label:""+s.getLabelForValue(o[s.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){const i=this._cachedMeta;this.updateElements(i.data,0,i.data.length,e)}updateElements(e,i,s,r){const o="reset"===r,{index:a,_cachedMeta:{vScale:l}}=this,c=l.getBasePixel(),u=l.isHorizontal(),d=this._getRuler(),{sharedOptions:h,includeOptions:p}=this._getSharedOptions(i,r);for(let _=i;_<i+s;_++){const v=this.getParsed(_),x=o||Hn(v[l.axis])?{base:c,head:c}:this._calculateBarValuePixels(_),k=this._calculateBarIndexPixels(_,d),P=(v._stacks||{})[l.axis],j={horizontal:u,base:x.base,enableBorderRadius:!P||h2(v._custom)||a===P._top||a===P._bottom,x:u?x.head:k.center,y:u?k.center:x.head,height:u?k.size:Math.abs(x.size),width:u?Math.abs(x.size):k.size};p&&(j.options=h||this.resolveDataElementOptions(_,e[_].active?"active":r));const z=j.options||e[_].options;Jge(j,z,P,a),eme(j,z,d.ratio),this.updateElement(e[_],_,j,r)}}_getStacks(e,i){const{iScale:s}=this._cachedMeta,r=s.getMatchingVisibleMetas(this._type).filter(c=>c.controller.options.grouped),o=s.options.stacked,a=[],l=c=>{const u=c.controller.getParsed(i),d=u&&u[c.vScale.axis];if(Hn(d)||isNaN(d))return!0};for(const c of r)if((void 0===i||!l(c))&&((!1===o||-1===a.indexOf(c.stack)||void 0===o&&void 0===c.stack)&&a.push(c.stack),c.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,i,s){const r=this._getStacks(e,s),o=void 0!==i?r.indexOf(i):-1;return-1===o?r.length-1:o}_getRuler(){const e=this.options,i=this._cachedMeta,s=i.iScale,r=[];let o,a;for(o=0,a=i.data.length;o<a;++o)r.push(s.getPixelForValue(this.getParsed(o)[s.axis],o));const l=e.barThickness;return{min:l||Wge(i),pixels:r,start:s._startPixel,end:s._endPixel,stackCount:this._getStackCount(),scale:s,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:i,_stacked:s,index:r},options:{base:o,minBarLength:a}}=this,l=o||0,c=this.getParsed(e),u=c._custom,d=h2(u);let v,x,h=c[i.axis],p=0,_=s?this.applyStack(i,c,s):h;_!==h&&(p=_-h,_=h),d&&(h=u.barStart,_=u.barEnd-u.barStart,0!==h&&Ol(h)!==Ol(u.barEnd)&&(p=0),p+=h);const k=Hn(o)||d?p:o;let P=i.getPixelForValue(k);if(v=this.chart.getDataVisibility(e)?i.getPixelForValue(p+_):P,x=v-P,Math.abs(x)<a){x=function Xge(n,t,e){return 0!==n?Ol(n):(t.isHorizontal()?1:-1)*(t.min>=e?1:-1)}(x,i,l)*a,h===l&&(P-=x/2);const j=i.getPixelForDecimal(0),z=i.getPixelForDecimal(1),G=Math.min(j,z),Z=Math.max(j,z);P=Math.max(Math.min(P,Z),G),v=P+x,s&&!d&&(c._stacks[i.axis]._visualValues[r]=i.getValueForPixel(v)-i.getValueForPixel(P))}if(P===i.getPixelForValue(l)){const j=Ol(x)*i.getLineWidthForValue(l)/2;P+=j,x-=j}return{size:x,base:P,head:v,center:v+x/2}}_calculateBarIndexPixels(e,i){const s=i.scale,r=this.options,o=r.skipNull,a=un(r.maxBarThickness,1/0);let l,c;if(i.grouped){const u=o?this._getStackCount(e):i.stackCount,d="flex"===r.barThickness?function qge(n,t,e,i){const s=t.pixels,r=s[n];let o=n>0?s[n-1]:null,a=n<s.length-1?s[n+1]:null;const l=e.categoryPercentage;null===o&&(o=r-(null===a?t.end-t.start:a-r)),null===a&&(a=r+r-o);const c=r-(r-Math.min(o,a))/2*l;return{chunk:Math.abs(a-o)/2*l/i,ratio:e.barPercentage,start:c}}(e,i,r,u):function $ge(n,t,e,i){const s=e.barThickness;let r,o;return Hn(s)?(r=t.min*e.categoryPercentage,o=e.barPercentage):(r=s*i,o=1),{chunk:r/i,ratio:o,start:t.pixels[n]-r/2}}(e,i,r,u),h=this._getStackIndex(this.index,this._cachedMeta.stack,o?e:void 0);l=d.start+d.chunk*h+d.chunk/2,c=Math.min(a,d.chunk*d.ratio)}else l=s.getPixelForValue(this.getParsed(e)[s.axis],e),c=Math.min(a,i.min*i.ratio);return{base:l-c/2,head:l+c/2,center:l,size:c}}draw(){const e=this._cachedMeta,i=e.vScale,s=e.data,r=s.length;let o=0;for(;o<r;++o)null!==this.getParsed(o)[i.axis]&&!s[o].hidden&&s[o].draw(this._ctx)}})(),nme=(()=>class n extends fd{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,i,s,r){const o=super.parsePrimitiveData(e,i,s,r);for(let a=0;a<o.length;a++)o[a]._custom=this.resolveDataElementOptions(a+s).radius;return o}parseArrayData(e,i,s,r){const o=super.parseArrayData(e,i,s,r);for(let a=0;a<o.length;a++)o[a]._custom=un(i[s+a][2],this.resolveDataElementOptions(a+s).radius);return o}parseObjectData(e,i,s,r){const o=super.parseObjectData(e,i,s,r);for(let a=0;a<o.length;a++){const l=i[s+a];o[a]._custom=un(l&&l.r&&+l.r,this.resolveDataElementOptions(a+s).radius)}return o}getMaxOverflow(){const e=this._cachedMeta.data;let i=0;for(let s=e.length-1;s>=0;--s)i=Math.max(i,e[s].size(this.resolveDataElementOptions(s))/2);return i>0&&i}getLabelAndValue(e){const i=this._cachedMeta,s=this.chart.data.labels||[],{xScale:r,yScale:o}=i,a=this.getParsed(e),l=r.getLabelForValue(a.x),c=o.getLabelForValue(a.y),u=a._custom;return{label:s[e]||"",value:"("+l+", "+c+(u?", "+u:"")+")"}}update(e){const i=this._cachedMeta.data;this.updateElements(i,0,i.length,e)}updateElements(e,i,s,r){const o="reset"===r,{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:u}=this._getSharedOptions(i,r),d=a.axis,h=l.axis;for(let p=i;p<i+s;p++){const _=e[p],v=!o&&this.getParsed(p),x={},k=x[d]=o?a.getPixelForDecimal(.5):a.getPixelForValue(v[d]),P=x[h]=o?l.getBasePixel():l.getPixelForValue(v[h]);x.skip=isNaN(k)||isNaN(P),u&&(x.options=c||this.resolveDataElementOptions(p,_.active?"active":r),o&&(x.options.radius=0)),this.updateElement(_,p,x,r)}}resolveDataElementOptions(e,i){const s=this.getParsed(e);let r=super.resolveDataElementOptions(e,i);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const o=r.radius;return"active"!==i&&(r.radius=0),r.radius+=un(s&&s._custom,o),r}})(),f2=(()=>class n extends fd{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const i=e.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:s,color:r}}=e.legend.options;return i.labels.map((o,a)=>{const c=e.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:r,lineWidth:c.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,i,s){s.chart.toggleDataVisibility(i.index),s.chart.update()}}}};constructor(e,i){super(e,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,i){const s=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=s;else{let a,l,o=c=>+s[c];if(Ln(s[e])){const{key:c="value"}=this._parsing;o=u=>+cd(s[u],c)}for(a=e,l=e+i;a<l;++a)r._parsed[a]=o(a)}}_getRotation(){return Ba(this.options.rotation-90)}_getCircumference(){return Ba(this.options.circumference)}_getRotationExtents(){let e=Bi,i=-Bi;for(let s=0;s<this.chart.data.datasets.length;++s)if(this.chart.isDatasetVisible(s)&&this.chart.getDatasetMeta(s).type===this._type){const r=this.chart.getDatasetMeta(s).controller,o=r._getRotation(),a=r._getCircumference();e=Math.min(e,o),i=Math.max(i,o+a)}return{rotation:e,circumference:i-e}}update(e){const i=this.chart,{chartArea:s}=i,r=this._cachedMeta,o=r.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,l=Math.max((Math.min(s.width,s.height)-a)/2,0),c=Math.min(((n,t)=>"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100:+n/t)(this.options.cutout,l),1),u=this._getRingWeight(this.index),{circumference:d,rotation:h}=this._getRotationExtents(),{ratioX:p,ratioY:_,offsetX:v,offsetY:x}=function ime(n,t,e){let i=1,s=1,r=0,o=0;if(t<Bi){const a=n,l=a+t,c=Math.cos(a),u=Math.sin(a),d=Math.cos(l),h=Math.sin(l),p=(j,z,G)=>fv(j,a,l,!0)?1:Math.max(z,z*e,G,G*e),_=(j,z,G)=>fv(j,a,l,!0)?-1:Math.min(z,z*e,G,G*e),v=p(0,c,d),x=p(ps,u,h),k=_(ji,c,d),P=_(ji+ps,u,h);i=(v-k)/2,s=(x-P)/2,r=-(v+k)/2,o=-(x+P)/2}return{ratioX:i,ratioY:s,offsetX:r,offsetY:o}}(h,d,c),j=Math.max(Math.min((s.width-a)/p,(s.height-a)/_)/2,0),z=JV(this.options.radius,j),Z=(z-Math.max(z*c,0))/this._getVisibleDatasetWeightTotal();this.offsetX=v*z,this.offsetY=x*z,r.total=this.calculateTotal(),this.outerRadius=z-Z*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-Z*u,0),this.updateElements(o,0,o.length,e)}_circumference(e,i){const s=this.options,r=this._cachedMeta,o=this._getCircumference();return i&&s.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*o/Bi)}updateElements(e,i,s,r){const o="reset"===r,a=this.chart,l=a.chartArea,d=(l.left+l.right)/2,h=(l.top+l.bottom)/2,p=o&&a.options.animation.animateScale,_=p?0:this.innerRadius,v=p?0:this.outerRadius,{sharedOptions:x,includeOptions:k}=this._getSharedOptions(i,r);let j,P=this._getRotation();for(j=0;j<i;++j)P+=this._circumference(j,o);for(j=i;j<i+s;++j){const z=this._circumference(j,o),G=e[j],Z={x:d+this.offsetX,y:h+this.offsetY,startAngle:P,endAngle:P+z,circumference:z,outerRadius:v,innerRadius:_};k&&(Z.options=x||this.resolveDataElementOptions(j,G.active?"active":r)),P+=z,this.updateElement(G,j,Z,r)}}calculateTotal(){const e=this._cachedMeta,i=e.data;let r,s=0;for(r=0;r<i.length;r++){const o=e._parsed[r];null!==o&&!isNaN(o)&&this.chart.getDataVisibility(r)&&!i[r].hidden&&(s+=Math.abs(o))}return s}calculateCircumference(e){const i=this._cachedMeta.total;return i>0&&!isNaN(e)?Bi*(Math.abs(e)/i):0}getLabelAndValue(e){const s=this.chart,r=s.data.labels||[],o=gv(this._cachedMeta._parsed[e],s.options.locale);return{label:r[e]||"",value:o}}getMaxBorderWidth(e){let i=0;const s=this.chart;let r,o,a,l,c;if(!e)for(r=0,o=s.data.datasets.length;r<o;++r)if(s.isDatasetVisible(r)){a=s.getDatasetMeta(r),e=a.data,l=a.controller;break}if(!e)return 0;for(r=0,o=e.length;r<o;++r)c=l.resolveDataElementOptions(r),"inner"!==c.borderAlign&&(i=Math.max(i,c.borderWidth||0,c.hoverBorderWidth||0));return i}getMaxOffset(e){let i=0;for(let s=0,r=e.length;s<r;++s){const o=this.resolveDataElementOptions(s);i=Math.max(i,o.offset||0,o.hoverOffset||0)}return i}_getRingWeightOffset(e){let i=0;for(let s=0;s<e;++s)this.chart.isDatasetVisible(s)&&(i+=this._getRingWeight(s));return i}_getRingWeight(e){return Math.max(un(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}})(),sme=(()=>class n extends fd{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const i=this._cachedMeta,{dataset:s,data:r=[],_dataset:o}=i,a=this.chart._animationsDisabled;let{start:l,count:c}=h6(i,r,a);this._drawStart=l,this._drawCount=c,f6(i)&&(l=0,c=r.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!o._decimated,s.points=r;const u=this.resolveDatasetElementOptions(e);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(s,void 0,{animated:!a,options:u},e),this.updateElements(r,l,c,e)}updateElements(e,i,s,r){const o="reset"===r,{iScale:a,vScale:l,_stacked:c,_dataset:u}=this._cachedMeta,{sharedOptions:d,includeOptions:h}=this._getSharedOptions(i,r),p=a.axis,_=l.axis,{spanGaps:v,segment:x}=this.options,k=Og(v)?v:Number.POSITIVE_INFINITY,P=this.chart._animationsDisabled||o||"none"===r,j=i+s,z=e.length;let G=i>0&&this.getParsed(i-1);for(let Z=0;Z<z;++Z){const oe=e[Z],ce=P?oe:{};if(Z<i||Z>=j){ce.skip=!0;continue}const Se=this.getParsed(Z),Re=Hn(Se[_]),Ye=ce[p]=a.getPixelForValue(Se[p],Z),Fe=ce[_]=o||Re?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,Se,c):Se[_],Z);ce.skip=isNaN(Ye)||isNaN(Fe)||Re,ce.stop=Z>0&&Math.abs(Se[p]-G[p])>k,x&&(ce.parsed=Se,ce.raw=u.data[Z]),h&&(ce.options=d||this.resolveDataElementOptions(Z,oe.active?"active":r)),P||this.updateElement(oe,Z,ce,r),G=Se}}getMaxOverflow(){const e=this._cachedMeta,i=e.dataset,s=i.options&&i.options.borderWidth||0,r=e.data||[];if(!r.length)return s;const o=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(s,o,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}})(),Q6=(()=>class n extends fd{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const i=e.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:s,color:r}}=e.legend.options;return i.labels.map((o,a)=>{const c=e.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:r,lineWidth:c.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,i,s){s.chart.toggleDataVisibility(i.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,i){super(e,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const s=this.chart,r=s.data.labels||[],o=gv(this._cachedMeta._parsed[e].r,s.options.locale);return{label:r[e]||"",value:o}}parseObjectData(e,i,s,r){return E6.bind(this)(e,i,s,r)}update(e){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,e)}getMinMax(){const i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((s,r)=>{const o=this.getParsed(r).r;!isNaN(o)&&this.chart.getDataVisibility(r)&&(o<i.min&&(i.min=o),o>i.max&&(i.max=o))}),i}_updateRadius(){const e=this.chart,i=e.chartArea,s=e.options,r=Math.min(i.right-i.left,i.bottom-i.top),o=Math.max(r/2,0),l=(o-Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=o-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,i,s,r){const o="reset"===r,a=this.chart,c=a.options.animation,u=this._cachedMeta.rScale,d=u.xCenter,h=u.yCenter,p=u.getIndexAngle(0)-.5*ji;let v,_=p;const x=360/this.countVisibleElements();for(v=0;v<i;++v)_+=this._computeAngle(v,r,x);for(v=i;v<i+s;v++){const k=e[v];let P=_,j=_+this._computeAngle(v,r,x),z=a.getDataVisibility(v)?u.getDistanceFromCenterForValue(this.getParsed(v).r):0;_=j,o&&(c.animateScale&&(z=0),c.animateRotate&&(P=j=p));const G={x:d,y:h,innerRadius:0,outerRadius:z,startAngle:P,endAngle:j,options:this.resolveDataElementOptions(v,k.active?"active":r)};this.updateElement(k,v,G,r)}}countVisibleElements(){let i=0;return this._cachedMeta.data.forEach((s,r)=>{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&i++}),i}_computeAngle(e,i,s){return this.chart.getDataVisibility(e)?Ba(this.resolveDataElementOptions(e,i).angle||s):0}})();var rme=Object.freeze({__proto__:null,BarController:tme,BubbleController:nme,DoughnutController:f2,LineController:sme,PieController:(()=>class n extends f2{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}})(),PolarAreaController:Q6,RadarController:(()=>class n extends fd{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const i=this._cachedMeta.vScale,s=this.getParsed(e);return{label:i.getLabels()[e],value:""+i.getLabelForValue(s[i.axis])}}parseObjectData(e,i,s,r){return E6.bind(this)(e,i,s,r)}update(e){const i=this._cachedMeta,s=i.dataset,r=i.data||[],o=i.iScale.getLabels();if(s.points=r,"resize"!==e){const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),this.updateElement(s,void 0,{_loop:!0,_fullLoop:o.length===r.length,options:a},e)}this.updateElements(r,0,r.length,e)}updateElements(e,i,s,r){const o=this._cachedMeta.rScale,a="reset"===r;for(let l=i;l<i+s;l++){const c=e[l],u=this.resolveDataElementOptions(l,c.active?"active":r),d=o.getPointPositionForValue(l,this.getParsed(l).r),h=a?o.xCenter:d.x,p=a?o.yCenter:d.y,_={x:h,y:p,angle:d.angle,skip:isNaN(h)||isNaN(p),options:u};this.updateElement(c,l,_,r)}}})(),ScatterController:(()=>class n extends fd{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){const i=this._cachedMeta,s=this.chart.data.labels||[],{xScale:r,yScale:o}=i,a=this.getParsed(e),l=r.getLabelForValue(a.x),c=o.getLabelForValue(a.y);return{label:s[e]||"",value:"("+l+", "+c+")"}}update(e){const i=this._cachedMeta,{data:s=[]}=i,r=this.chart._animationsDisabled;let{start:o,count:a}=h6(i,s,r);if(this._drawStart=o,this._drawCount=a,f6(i)&&(o=0,a=s.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:l,_dataset:c}=i;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=s;const u=this.resolveDatasetElementOptions(e);u.segment=this.options.segment,this.updateElement(l,void 0,{animated:!r,options:u},e)}else this.datasetElementType&&(delete i.dataset,this.datasetElementType=!1);this.updateElements(s,o,a,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,i,s,r){const o="reset"===r,{iScale:a,vScale:l,_stacked:c,_dataset:u}=this._cachedMeta,d=this.resolveDataElementOptions(i,r),h=this.getSharedOptions(d),p=this.includeOptions(r,h),_=a.axis,v=l.axis,{spanGaps:x,segment:k}=this.options,P=Og(x)?x:Number.POSITIVE_INFINITY,j=this.chart._animationsDisabled||o||"none"===r;let z=i>0&&this.getParsed(i-1);for(let G=i;G<i+s;++G){const Z=e[G],oe=this.getParsed(G),ce=j?Z:{},Se=Hn(oe[v]),Re=ce[_]=a.getPixelForValue(oe[_],G),Ye=ce[v]=o||Se?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,oe,c):oe[v],G);ce.skip=isNaN(Re)||isNaN(Ye)||Se,ce.stop=G>0&&Math.abs(oe[_]-z[_])>P,k&&(ce.parsed=oe,ce.raw=u.data[G]),p&&(ce.options=h||this.resolveDataElementOptions(G,Z.active?"active":r)),j||this.updateElement(Z,G,ce,r),z=oe}this.updateSharedOptions(h,r,d)}getMaxOverflow(){const e=this._cachedMeta,i=e.data||[];if(!this.options.showLine){let l=0;for(let c=i.length-1;c>=0;--c)l=Math.max(l,i[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}const s=e.dataset,r=s.options&&s.options.borderWidth||0;if(!i.length)return r;const o=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,o,a)/2}})()});function af(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class p2{static override(t){Object.assign(p2.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return af()}parse(){return af()}format(){return af()}add(){return af()}diff(){return af()}startOf(){return af()}endOf(){return af()}}var eU={_date:p2};function ome(n,t,e,i){const{controller:s,data:r,_sorted:o}=n,a=s._cachedMeta.iScale;if(a&&t===a.axis&&"r"!==t&&o&&r.length){const l=a._reversePixels?Tpe:Yc;if(!i)return l(r,t,e);if(s._sharedOptions){const c=r[0],u="function"==typeof c.getRange&&c.getRange(t);if(u){const d=l(r,t,e-u),h=l(r,t,e+u);return{lo:d.lo,hi:h.hi}}}}return{lo:0,hi:r.length-1}}function bv(n,t,e,i,s){const r=n.getSortedVisibleDatasetMetas(),o=e[t];for(let a=0,l=r.length;a<l;++a){const{index:c,data:u}=r[a],{lo:d,hi:h}=ome(r[a],t,o,s);for(let p=d;p<=h;++p){const _=u[p];_.skip||i(_,c,p)}}}function g2(n,t,e,i,s){const r=[];return!s&&!n.isPointInArea(t)||bv(n,e,t,function(a,l,c){!s&&!jc(a,n.chartArea,0)||a.inRange(t.x,t.y,i)&&r.push({element:a,datasetIndex:l,index:c})},!0),r}function m2(n,t,e,i,s,r){return r||n.isPointInArea(t)?"r"!==e||i?function cme(n,t,e,i,s,r){let o=[];const a=function ame(n){const t=-1!==n.indexOf("x"),e=-1!==n.indexOf("y");return function(i,s){const r=t?Math.abs(i.x-s.x):0,o=e?Math.abs(i.y-s.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}(e);let l=Number.POSITIVE_INFINITY;return bv(n,e,t,function c(u,d,h){const p=u.inRange(t.x,t.y,s);if(i&&!p)return;const _=u.getCenterPoint(s);if(!r&&!n.isPointInArea(_)&&!p)return;const x=a(t,_);x<l?(o=[{element:u,datasetIndex:d,index:h}],l=x):x===l&&o.push({element:u,datasetIndex:d,index:h})}),o}(n,t,e,i,s,r):function lme(n,t,e,i){let s=[];return bv(n,e,t,function r(o,a,l){const{startAngle:c,endAngle:u}=o.getProps(["startAngle","endAngle"],i),{angle:d}=o6(o,{x:t.x,y:t.y});fv(d,c,u)&&s.push({element:o,datasetIndex:a,index:l})}),s}(n,t,e,s):[]}function tU(n,t,e,i,s){const r=[],o="x"===e?"inXRange":"inYRange";let a=!1;return bv(n,e,t,(l,c,u)=>{l[o](t[e],s)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,s))}),i&&!a?[]:r}var ume={evaluateInteractionItems:bv,modes:{index(n,t,e,i){const s=sf(t,n),r=e.axis||"x",o=e.includeInvisible||!1,a=e.intersect?g2(n,s,r,i,o):m2(n,s,r,!1,i,o),l=[];return a.length?(n.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(n,t,e,i){const s=sf(t,n),r=e.axis||"xy",o=e.includeInvisible||!1;let a=e.intersect?g2(n,s,r,i,o):m2(n,s,r,!1,i,o);if(a.length>0){const l=a[0].datasetIndex,c=n.getDatasetMeta(l).data;a=[];for(let u=0;u<c.length;++u)a.push({element:c[u],datasetIndex:l,index:u})}return a},point:(n,t,e,i)=>g2(n,sf(t,n),e.axis||"xy",i,e.includeInvisible||!1),nearest:(n,t,e,i)=>m2(n,sf(t,n),e.axis||"xy",e.intersect,i,e.includeInvisible||!1),x:(n,t,e,i)=>tU(n,sf(t,n),"x",e.intersect,i),y:(n,t,e,i)=>tU(n,sf(t,n),"y",e.intersect,i)}};const nU=["left","top","right","bottom"];function wv(n,t){return n.filter(e=>e.pos===t)}function iU(n,t){return n.filter(e=>-1===nU.indexOf(e.pos)&&e.box.axis===t)}function Cv(n,t){return n.sort((e,i)=>{const s=t?i:e,r=t?e:i;return s.weight===r.weight?s.index-r.index:s.weight-r.weight})}function sU(n,t,e,i){return Math.max(n[e],t[e])+Math.max(n[i],t[i])}function rU(n,t){n.top=Math.max(n.top,t.top),n.left=Math.max(n.left,t.left),n.bottom=Math.max(n.bottom,t.bottom),n.right=Math.max(n.right,t.right)}function gme(n,t,e,i){const{pos:s,box:r}=e,o=n.maxPadding;if(!Ln(s)){e.size&&(n[s]-=e.size);const d=i[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?r.height:r.width),e.size=d.size/d.count,n[s]+=e.size}r.getPadding&&rU(o,r.getPadding());const a=Math.max(0,t.outerWidth-sU(o,n,"left","right")),l=Math.max(0,t.outerHeight-sU(o,n,"top","bottom")),c=a!==n.w,u=l!==n.h;return n.w=a,n.h=l,e.horizontal?{same:c,other:u}:{same:u,other:c}}function _me(n,t){const e=t.maxPadding;return function i(s){const r={left:0,top:0,right:0,bottom:0};return s.forEach(o=>{r[o]=Math.max(t[o],e[o])}),r}(n?["left","right"]:["top","bottom"])}function Mv(n,t,e,i){const s=[];let r,o,a,l,c,u;for(r=0,o=n.length,c=0;r<o;++r){a=n[r],l=a.box,l.update(a.width||t.w,a.height||t.h,_me(a.horizontal,t));const{same:d,other:h}=gme(t,e,a,i);c|=d&&s.length,u=u||h,l.fullSize||s.push(a)}return c&&Mv(s,t,e,i)||u}function PC(n,t,e,i,s){n.top=e,n.left=t,n.right=t+i,n.bottom=e+s,n.width=i,n.height=s}function oU(n,t,e,i){const s=e.padding;let{x:r,y:o}=t;for(const a of n){const l=a.box,c=i[a.stack]||{count:1,placed:0,weight:1},u=a.stackWeight/c.weight||1;if(a.horizontal){const d=t.w*u,h=c.size||l.height;dv(c.start)&&(o=c.start),l.fullSize?PC(l,s.left,o,e.outerWidth-s.right-s.left,h):PC(l,t.left+c.placed,o,d,h),c.start=o,c.placed+=d,o=l.bottom}else{const d=t.h*u,h=c.size||l.width;dv(c.start)&&(r=c.start),l.fullSize?PC(l,r,s.top,h,e.outerHeight-s.bottom-s.top):PC(l,r,t.top+c.placed,h,d),c.start=r,c.placed+=d,r=l.right}}t.x=r,t.y=o}var lr={addBox(n,t){n.boxes||(n.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},n.boxes.push(t)},removeBox(n,t){const e=n.boxes?n.boxes.indexOf(t):-1;-1!==e&&n.boxes.splice(e,1)},configure(n,t,e){t.fullSize=e.fullSize,t.position=e.position,t.weight=e.weight},update(n,t,e,i){if(!n)return;const s=ar(n.options.layout.padding),r=Math.max(t-s.width,0),o=Math.max(e-s.height,0),a=function pme(n){const t=function dme(n){const t=[];let e,i,s,r,o,a;for(e=0,i=(n||[]).length;e<i;++e)s=n[e],({position:r,options:{stack:o,stackWeight:a=1}}=s),t.push({index:e,box:s,pos:r,horizontal:s.isHorizontal(),weight:s.weight,stack:o&&r+o,stackWeight:a});return t}(n),e=Cv(t.filter(c=>c.box.fullSize),!0),i=Cv(wv(t,"left"),!0),s=Cv(wv(t,"right")),r=Cv(wv(t,"top"),!0),o=Cv(wv(t,"bottom")),a=iU(t,"x"),l=iU(t,"y");return{fullSize:e,leftAndTop:i.concat(r),rightAndBottom:s.concat(l).concat(o).concat(a),chartArea:wv(t,"chartArea"),vertical:i.concat(s).concat(l),horizontal:r.concat(o).concat(a)}}(n.boxes),l=a.vertical,c=a.horizontal;li(n.boxes,v=>{"function"==typeof v.beforeLayout&&v.beforeLayout()});const u=l.reduce((v,x)=>x.box.options&&!1===x.box.options.display?v:v+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:s,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),h=Object.assign({},s);rU(h,ar(i));const p=Object.assign({maxPadding:h,w:r,h:o,x:s.left,y:s.top},s),_=function fme(n,t){const e=function hme(n){const t={};for(const e of n){const{stack:i,pos:s,stackWeight:r}=e;if(!i||!nU.includes(s))continue;const o=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return t}(n),{vBoxMaxWidth:i,hBoxMaxHeight:s}=t;let r,o,a;for(r=0,o=n.length;r<o;++r){a=n[r];const{fullSize:l}=a.box,c=e[a.stack],u=c&&a.stackWeight/c.weight;a.horizontal?(a.width=u?u*i:l&&t.availableWidth,a.height=s):(a.width=i,a.height=u?u*s:l&&t.availableHeight)}return e}(l.concat(c),d);Mv(a.fullSize,p,d,_),Mv(l,p,d,_),Mv(c,p,d,_)&&Mv(l,p,d,_),function mme(n){const t=n.maxPadding;function e(i){const s=Math.max(t[i]-n[i],0);return n[i]+=s,s}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}(p),oU(a.leftAndTop,p,d,_),p.x+=p.w,p.y+=p.h,oU(a.rightAndBottom,p,d,_),n.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},li(a.chartArea,v=>{const x=v.box;Object.assign(x,n.chartArea),x.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class aU{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class yme extends aU{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const IC="$chartjs",vme={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},lU=n=>null===n||""===n,cU=!!bge&&{passive:!0};function Cme(n,t,e){n&&n.canvas&&n.canvas.removeEventListener(t,e,cU)}function AC(n,t){for(const e of n)if(e===t||e.contains(t))return!0}function Dme(n,t,e){const i=n.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||AC(a.addedNodes,i),o=o&&!AC(a.removedNodes,i);o&&e()});return s.observe(document,{childList:!0,subtree:!0}),s}function xme(n,t,e){const i=n.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||AC(a.removedNodes,i),o=o&&!AC(a.addedNodes,i);o&&e()});return s.observe(document,{childList:!0,subtree:!0}),s}const Dv=new Map;let uU=0;function dU(){const n=window.devicePixelRatio;n!==uU&&(uU=n,Dv.forEach((t,e)=>{e.currentDevicePixelRatio!==n&&t()}))}function Eme(n,t,e){const i=n.canvas,s=i&&c2(i);if(!s)return;const r=d6((a,l)=>{const c=s.clientWidth;e(a,l),c<s.clientWidth&&e()},window),o=new ResizeObserver(a=>{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;0===c&&0===u||r(c,u)});return o.observe(s),function Sme(n,t){Dv.size||window.addEventListener("resize",dU),Dv.set(n,t)}(n,r),o}function _2(n,t,e){e&&e.disconnect(),"resize"===t&&function Tme(n){Dv.delete(n),Dv.size||window.removeEventListener("resize",dU)}(n)}function kme(n,t,e){const i=n.canvas,s=d6(r=>{null!==n.ctx&&e(function Mme(n,t){const e=vme[n.type]||n.type,{x:i,y:s}=sf(n,t);return{type:e,chart:t,native:n,x:void 0!==i?i:null,y:void 0!==s?s:null}}(r,n))},n);return function wme(n,t,e){n&&n.addEventListener(t,e,cU)}(i,t,s),s}class Ome extends aU{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function bme(n,t){const e=n.style,i=n.getAttribute("height"),s=n.getAttribute("width");if(n[IC]={initial:{height:i,width:s,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",lU(s)){const r=L6(n,"width");void 0!==r&&(n.width=r)}if(lU(i))if(""===n.style.height)n.height=n.width/(t||2);else{const r=L6(n,"height");void 0!==r&&(n.height=r)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[IC])return!1;const i=e[IC].initial;["height","width"].forEach(r=>{const o=i[r];Hn(o)?e.removeAttribute(r):e.setAttribute(r,o)});const s=i.style||{};return Object.keys(s).forEach(r=>{e.style[r]=s[r]}),e.width=e.width,delete e[IC],!0}addEventListener(t,e,i){this.removeEventListener(t,e),(t.$proxies||(t.$proxies={}))[e]=({attach:Dme,detach:xme,resize:Eme}[e]||kme)(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];s&&(({attach:_2,detach:_2,resize:_2}[e]||Cme)(t,e,s),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return function vge(n,t,e,i){const s=OC(n),r=nf(s,"margin"),o=kC(s.maxWidth,n,"clientWidth")||CC,a=kC(s.maxHeight,n,"clientHeight")||CC,l=function yge(n,t,e){let i,s;if(void 0===t||void 0===e){const r=n&&c2(n);if(r){const o=r.getBoundingClientRect(),a=OC(r),l=nf(a,"border","width"),c=nf(a,"padding");t=o.width-c.width-l.width,e=o.height-c.height-l.height,i=kC(a.maxWidth,r,"clientWidth"),s=kC(a.maxHeight,r,"clientHeight")}else t=n.clientWidth,e=n.clientHeight}return{width:t,height:e,maxWidth:i||CC,maxHeight:s||CC}}(n,t,e);let{width:c,height:u}=l;if("content-box"===s.boxSizing){const h=nf(s,"border","width"),p=nf(s,"padding");c-=p.width+h.width,u-=p.height+h.height}return c=Math.max(0,c-r.width),u=Math.max(0,i?c/i:u-r.height),c=LC(Math.min(c,o,l.maxWidth)),u=LC(Math.min(u,a,l.maxHeight)),c&&!u&&(u=LC(c/2)),(void 0!==t||void 0!==e)&&i&&l.height&&u>l.height&&(u=l.height,c=LC(Math.floor(u*i))),{width:c,height:u}}(t,e,i,s)}isAttached(t){const e=t&&c2(t);return!(!e||!e.isConnected)}}class Hc{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return Og(this.x)&&Og(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const s={};return t.forEach(r=>{s[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),s}}function RC(n,t,e,i,s){const r=un(i,0),o=Math.min(un(s,n.length),n.length);let l,c,u,a=0;for(e=Math.ceil(e),s&&(l=s-i,e=l/Math.floor(l/e)),u=r;u<0;)a++,u=Math.round(r+a*e);for(c=Math.max(r,0);c<o;c++)c===u&&(t.push(n[c]),a++,u=Math.round(r+a*e))}const hU=(n,t,e)=>"top"===t||"left"===t?n[t]+e:n[t]-e,fU=(n,t)=>Math.min(t||n,n);function pU(n,t){const e=[],i=n.length/t,s=n.length;let r=0;for(;r<s;r+=i)e.push(n[Math.floor(r)]);return e}function jme(n,t,e){const i=n.ticks.length,s=Math.min(t,i-1),r=n._startPixel,o=n._endPixel,a=1e-6;let c,l=n.getPixelForTick(s);if(!(e&&(c=1===i?Math.max(l-r,o-l):0===t?(n.getPixelForTick(1)-l)/2:(l-n.getPixelForTick(s-1))/2,l+=s<t?c:-c,l<r-a||l>o+a)))return l}function xv(n){return n.drawTicks?n.tickLength:0}function gU(n,t){if(!n.display)return 0;const e=Os(n.font,t),i=ar(n.padding);return(Yi(n.text)?n.text.length:1)*e.lineHeight+i.height}function Ume(n,t,e){let i=JO(n);return(e&&"right"!==t||!e&&"right"===t)&&(i=(n=>"left"===n?"right":"right"===n?"left":n)(i)),i}class lf extends Hc{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=Ro(t,Number.POSITIVE_INFINITY),e=Ro(e,Number.NEGATIVE_INFINITY),i=Ro(i,Number.POSITIVE_INFINITY),s=Ro(s,Number.NEGATIVE_INFINITY),{min:Ro(t,i),max:Ro(e,s),minDefined:ns(t),maxDefined:ns(e)}}getMinMax(t){let o,{min:e,max:i,minDefined:s,maxDefined:r}=this.getUserBounds();if(s&&r)return{min:e,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;l<c;++l)o=a[l].controller.getMinMax(this,t),s||(e=Math.min(e,o.min)),r||(i=Math.max(i,o.max));return e=r&&e>i?i:e,i=s&&e>i?e:i,{min:Ro(e,Ro(i,e)),max:Ro(i,Ro(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Li(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function Zpe(n,t,e){const{min:i,max:s}=n,r=JV(t,(s-i)/2),o=(a,l)=>e&&0===a?0:a+l;return{min:o(i,-Math.abs(r)),max:o(s,r)}}(this,r,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?pU(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=function Pme(n,t){const e=n.options.ticks,i=function Ime(n){const t=n.options.offset,e=n._tickSize();return Math.floor(Math.min(n._length/e+(t?0:1),n._maxLength/e))}(n),s=Math.min(e.maxTicksLimit||i,i),r=e.major.enabled?function Rme(n){const t=[];let e,i;for(e=0,i=n.length;e<i;e++)n[e].major&&t.push(e);return t}(t):[],o=r.length,a=r[0],l=r[o-1],c=[];if(o>s)return function Nme(n,t,e,i){let o,s=0,r=e[0];for(i=Math.ceil(i),o=0;o<n.length;o++)o===r&&(t.push(n[o]),s++,r=e[s*i])}(t,c,r,o/s),c;const u=function Ame(n,t,e){const i=function Fme(n){const t=n.length;let e,i;if(t<2)return!1;for(i=n[0],e=1;e<t;++e)if(n[e]-n[e-1]!==i)return!1;return i}(n),s=t.length/e;if(!i)return Math.max(s,1);const r=function Mpe(n){const t=[],e=Math.sqrt(n);let i;for(i=1;i<e;i++)n%i==0&&(t.push(i),t.push(n/i));return e===(0|e)&&t.push(e),t.sort((s,r)=>s-r).pop(),t}(i);for(let o=0,a=r.length-1;o<a;o++){const l=r[o];if(l>s)return l}return Math.max(s,1)}(r,t,s);if(o>0){let d,h;const p=o>1?Math.round((l-a)/(o-1)):null;for(RC(t,c,u,Hn(p)?0:a-p,a),d=0,h=o-1;d<h;d++)RC(t,c,u,r[d],r[d+1]);return RC(t,c,u,l,Hn(p)?t.length:l+p),c}return RC(t,c,u),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,i,t=this.options.reverse;this.isHorizontal()?(e=this.left,i=this.right):(e=this.top,i=this.bottom,t=!t),this._startPixel=e,this._endPixel=i,this._reversePixels=t,this._length=i-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Li(this.options.afterUpdate,[this])}beforeSetDimensions(){Li(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Li(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Li(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Li(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,s,r;for(i=0,s=t.length;i<s;i++)r=t[i],r.label=Li(e.callback,[r.value,i,t],this)}afterTickToLabelConversion(){Li(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Li(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=fU(this.ticks.length,t.ticks.maxTicksLimit),s=e.minRotation||0,r=e.maxRotation;let a,l,c,o=s;if(!this._isVisible()||!e.display||s>=r||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const u=this._getLabelSizes(),d=u.widest.width,h=u.highest.height,p=Fs(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:p/(i-1),d+6>a&&(a=p/(i-(t.offset?.5:1)),l=this.maxHeight-xv(t.grid)-e.padding-gU(t.title,this.chart.options.font),c=Math.sqrt(d*d+h*h),o=KO(Math.min(Math.asin(Fs((u.highest.height+6)/a,-1,1)),Math.asin(Fs(l/c,-1,1))-Math.asin(Fs(h/c,-1,1)))),o=Math.max(s,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){Li(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Li(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=gU(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=xv(r)+l):(t.height=this.maxHeight,t.width=xv(r)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:h}=this._getLabelSizes(),p=2*i.padding,_=Ba(this.labelRotation),v=Math.cos(_),x=Math.sin(_);a?t.height=Math.min(this.maxHeight,t.height+(i.mirror?0:x*d.width+v*h.height)+p):t.width=Math.min(this.maxWidth,t.width+(i.mirror?0:v*d.width+x*h.height)+p),this._calculatePadding(c,u,x,v)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:r,padding:o},position:a}=this.options,l=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,p=0;l?c?(h=s*t.width,p=i*e.height):(h=i*t.height,p=s*e.width):"start"===r?p=e.width:"end"===r?h=t.width:"inner"!==r&&(h=t.width/2,p=e.width/2),this.paddingLeft=Math.max((h-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((p-d+o)*this.width/(this.width-d),0)}else{let u=e.height/2,d=t.height/2;"start"===r?(u=0,d=t.height):"end"===r&&(u=e.height,d=0),this.paddingTop=u+o,this.paddingBottom=d+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Li(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e<i;e++)Hn(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=pU(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,i){const{ctx:s,_longestTextCache:r}=this,o=[],a=[],l=Math.floor(e/fU(e,i));let d,h,p,_,v,x,k,P,j,z,G,c=0,u=0;for(d=0;d<e;d+=l){if(_=t[d].label,v=this._resolveTickFontOptions(d),s.font=x=v.string,k=r[x]=r[x]||{data:{},gc:[]},P=v.lineHeight,j=z=0,Hn(_)||Yi(_)){if(Yi(_))for(h=0,p=_.length;h<p;++h)G=_[h],!Hn(G)&&!Yi(G)&&(j=xC(s,k.data,k.gc,j,G),z+=P)}else j=xC(s,k.data,k.gc,j,_),z=P;o.push(j),a.push(z),c=Math.max(j,c),u=Math.max(z,u)}!function Bme(n,t){li(n,e=>{const i=e.gc,s=i.length/2;let r;if(s>t){for(r=0;r<s;++r)delete e.data[i[r]];i.splice(0,s)}})}(r,e);const Z=o.indexOf(c),oe=a.indexOf(u),ce=Se=>({width:o[Se]||0,height:a[Se]||0});return{first:ce(0),last:ce(e-1),widest:ce(Z),highest:ce(oe),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return function Spe(n){return Fs(n,-32768,32767)}(this._alignToPixels?Qh(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function Vme(n,t,e){return hd(n,{tick:e,index:t,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=function Hme(n,t){return hd(n,{scale:t,type:"scale"})}(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=Ba(this.labelRotation),i=Math.abs(Math.cos(e)),s=Math.abs(Math.sin(e)),r=this._getLabelSizes(),o=t.autoSkipPadding||0,a=r?r.widest.width+o:0,l=r?r.highest.height+o:0;return this.isHorizontal()?l*i>a*s?a/i:l/s:l*s<a*i?l/i:a/s}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:r,position:o,border:a}=s,l=r.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),h=xv(r),p=[],_=a.setContext(this.getContext()),v=_.display?_.width:0,x=v/2,k=function(De){return Qh(i,De,v)};let P,j,z,G,Z,oe,ce,Se,Re,Ye,Fe,Ze;if("top"===o)P=k(this.bottom),oe=this.bottom-h,Se=P-x,Ye=k(t.top)+x,Ze=t.bottom;else if("bottom"===o)P=k(this.top),Ye=t.top,Ze=k(t.bottom)-x,oe=P+x,Se=this.top+h;else if("left"===o)P=k(this.right),Z=this.right-h,ce=P-x,Re=k(t.left)+x,Fe=t.right;else if("right"===o)P=k(this.left),Re=t.left,Fe=k(t.right)-x,Z=P+x,ce=this.left+h;else if("x"===e){if("center"===o)P=k((t.top+t.bottom)/2+.5);else if(Ln(o)){const De=Object.keys(o)[0];P=k(this.chart.scales[De].getPixelForValue(o[De]))}Ye=t.top,Ze=t.bottom,oe=P+x,Se=oe+h}else if("y"===e){if("center"===o)P=k((t.left+t.right)/2);else if(Ln(o)){const De=Object.keys(o)[0];P=k(this.chart.scales[De].getPixelForValue(o[De]))}Z=P-x,ce=Z-h,Re=t.left,Fe=t.right}const Mt=un(s.ticks.maxTicksLimit,d),st=Math.max(1,Math.ceil(d/Mt));for(j=0;j<d;j+=st){const De=this.getContext(j),Ee=r.setContext(De),Be=a.setContext(De),nt=Ee.lineWidth,xt=Ee.color,Pn=Be.dash||[],We=Be.dashOffset,Tn=Ee.tickWidth,pt=Ee.tickColor,en=Ee.tickBorderDash||[],Gi=Ee.tickBorderDashOffset;z=jme(this,j,l),void 0!==z&&(G=Qh(i,z,nt),c?Z=ce=Re=Fe=G:oe=Se=Ye=Ze=G,p.push({tx1:Z,ty1:oe,tx2:ce,ty2:Se,x1:Re,y1:Ye,x2:Fe,y2:Ze,width:nt,color:xt,borderDash:Pn,borderDashOffset:We,tickWidth:Tn,tickColor:pt,tickBorderDash:en,tickBorderDashOffset:Gi}))}return this._ticksLength=d,this._borderValue=P,p}_computeLabelItems(t){const e=this.axis,i=this.options,{position:s,ticks:r}=i,o=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:c,padding:u,mirror:d}=r,h=xv(i.grid),p=h+u,_=d?-u:p,v=-Ba(this.labelRotation),x=[];let k,P,j,z,G,Z,oe,ce,Se,Re,Ye,Fe,Ze="middle";if("top"===s)Z=this.bottom-_,oe=this._getXAxisLabelAlignment();else if("bottom"===s)Z=this.top+_,oe=this._getXAxisLabelAlignment();else if("left"===s){const st=this._getYAxisLabelAlignment(h);oe=st.textAlign,G=st.x}else if("right"===s){const st=this._getYAxisLabelAlignment(h);oe=st.textAlign,G=st.x}else if("x"===e){if("center"===s)Z=(t.top+t.bottom)/2+p;else if(Ln(s)){const st=Object.keys(s)[0];Z=this.chart.scales[st].getPixelForValue(s[st])+p}oe=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===s)G=(t.left+t.right)/2-p;else if(Ln(s)){const st=Object.keys(s)[0];G=this.chart.scales[st].getPixelForValue(s[st])}oe=this._getYAxisLabelAlignment(h).textAlign}"y"===e&&("start"===l?Ze="top":"end"===l&&(Ze="bottom"));const Mt=this._getLabelSizes();for(k=0,P=a.length;k<P;++k){j=a[k],z=j.label;const st=r.setContext(this.getContext(k));ce=this.getPixelForTick(k)+r.labelOffset,Se=this._resolveTickFontOptions(k),Re=Se.lineHeight,Ye=Yi(z)?z.length:1;const De=Ye/2,Ee=st.color,Be=st.textStrokeColor,nt=st.textStrokeWidth;let Pn,xt=oe;if(o?(G=ce,"inner"===oe&&(xt=k===P-1?this.options.reverse?"left":"right":0===k?this.options.reverse?"right":"left":"center"),Fe="top"===s?"near"===c||0!==v?-Ye*Re+Re/2:"center"===c?-Mt.highest.height/2-De*Re+Re:Re/2-Mt.highest.height:"near"===c||0!==v?Re/2:"center"===c?Mt.highest.height/2-De*Re:Mt.highest.height-Ye*Re,d&&(Fe*=-1),0!==v&&!st.showLabelBackdrop&&(G+=Re/2*Math.sin(v))):(Z=ce,Fe=(1-Ye)*Re/2),st.showLabelBackdrop){const We=ar(st.backdropPadding),Tn=Mt.heights[k],pt=Mt.widths[k];let en=Fe-We.top,Gi=0-We.left;switch(Ze){case"middle":en-=Tn/2;break;case"bottom":en-=Tn}switch(oe){case"center":Gi-=pt/2;break;case"right":Gi-=pt;break;case"inner":k===P-1?Gi-=pt:k>0&&(Gi-=pt/2)}Pn={left:Gi,top:en,width:pt+We.width,height:Tn+We.height,color:st.backdropColor}}x.push({label:z,font:Se,textOffset:Fe,options:{rotation:v,color:Ee,strokeColor:Be,strokeWidth:nt,textAlign:xt,textBaseline:Ze,translation:[G,Z],backdrop:Pn}})}return x}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Ba(this.labelRotation))return"top"===t?"left":"right";let s="center";return"start"===e.align?s="left":"end"===e.align?s="right":"inner"===e.align&&(s="inner"),s}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:r}}=this.options,a=t+r,l=this._getLabelSizes().widest.width;let c,u;return"left"===e?s?(u=this.right+r,"near"===i?c="left":"center"===i?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,"near"===i?c="right":"center"===i?(c="center",u-=l/2):(c="left",u=this.left)):"right"===e?s?(u=this.left+r,"near"===i?c="right":"center"===i?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,"near"===i?c="left":"center"===i?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:r,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,r,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const s=this.ticks.findIndex(r=>r.value===t);return s>=0?e.setContext(this.getContext(s)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(e.display)for(r=0,o=s.length;r<o;++r){const l=s[r];e.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),e.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:i,grid:s}}=this,r=i.setContext(this.getContext()),o=i.display?r.width:0;if(!o)return;const a=s.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,u,d,h;this.isHorizontal()?(c=Qh(t,this.left,o)-o/2,u=Qh(t,this.right,a)+a/2,d=h=l):(d=Qh(t,this.top,o)-o/2,h=Qh(t,this.bottom,a)+a/2,c=u=l),e.save(),e.lineWidth=r.width,e.strokeStyle=r.color,e.beginPath(),e.moveTo(c,d),e.lineTo(u,h),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,s=this._computeLabelArea();s&&SC(i,s);const r=this.getLabelItems(t);for(const o of r)ef(i,o.label,0,o.textOffset,o.font,o.options);s&&TC(i)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:s}}=this;if(!i.display)return;const r=Os(i.font),o=ar(i.padding),a=i.align;let l=r.lineHeight/2;"bottom"===e||"center"===e||Ln(e)?(l+=o.bottom,Yi(i.text)&&(l+=r.lineHeight*(i.text.length-1))):l+=o.top;const{titleX:c,titleY:u,maxWidth:d,rotation:h}=function zme(n,t,e,i){const{top:s,left:r,bottom:o,right:a,chart:l}=n,{chartArea:c,scales:u}=l;let h,p,_,d=0;const v=o-s,x=a-r;if(n.isHorizontal()){if(p=or(i,r,a),Ln(e)){const k=Object.keys(e)[0];_=u[k].getPixelForValue(e[k])+v-t}else _="center"===e?(c.bottom+c.top)/2+v-t:hU(n,e,t);h=a-r}else{if(Ln(e)){const k=Object.keys(e)[0];p=u[k].getPixelForValue(e[k])-x+t}else p="center"===e?(c.left+c.right)/2-x+t:hU(n,e,t);_=or(i,o,s),d="left"===e?-ps:ps}return{titleX:p,titleY:_,maxWidth:h,rotation:d}}(this,l,e,a);ef(t,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:h,textAlign:Ume(a,e,s),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=un(t.grid&&t.grid.z,-1),s=un(t.border&&t.border.z,0);return this._isVisible()&&this.draw===lf.prototype.draw?[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:e,draw:r=>{this.drawLabels(r)}}]:[{z:e,draw:r=>{this.draw(r)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let r,o;for(r=0,o=e.length;r<o;++r){const a=e[r];a[i]===this.id&&(!t||a.type===t)&&s.push(a)}return s}_resolveTickFontOptions(t){return Os(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class NC{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function $me(n){return"id"in n&&"defaults"in n})(e)&&(i=this.register(e));const s=this.items,r=t.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in s||(s[r]=t,function Gme(n,t,e){const i=cv(Object.create(null),[e?Zi.get(e):{},Zi.get(t),n.defaults]);Zi.set(t,i),n.defaultRoutes&&function Wme(n,t){Object.keys(t).forEach(e=>{const i=e.split("."),s=i.pop(),r=[n].concat(i).join("."),o=t[e].split("."),a=o.pop(),l=o.join(".");Zi.route(r,s,l,a)})}(t,n.defaultRoutes),n.descriptors&&Zi.describe(t,n.descriptors)}(t,o,i),this.override&&Zi.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in Zi[s]&&(delete Zi[s][i],this.override&&delete Jh[i])}}class qme{constructor(){this.controllers=new NC(fd,"datasets",!0),this.elements=new NC(Hc,"elements"),this.plugins=new NC(Object,"plugins"),this.scales=new NC(lf,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach(s=>{const r=i||this._getRegistryForType(s);i||r.isForType(s)||r===this.plugins&&s.id?this._exec(t,r,s):li(s,o=>{const a=i||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,e,i){const s=qO(t);Li(i["before"+s],[],i),e[t](i),Li(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const s=e.get(t);if(void 0===s)throw new Error('"'+t+'" is not a registered '+i+".");return s}}var Ll=new qme;class Kme{constructor(){this._init=[]}notify(t,e,i,s){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(r,t,e,i);return"afterDestroy"===e&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,i,s){s=s||{};for(const r of t){const o=r.plugin;if(!1===Li(o[i],[e,s,r.options],o)&&s.cancelable)return!1}return!0}invalidate(){Hn(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,s=un(i.options&&i.options.plugins,{}),r=function Xme(n){const t={},e=[],i=Object.keys(Ll.plugins.items);for(let r=0;r<i.length;r++)e.push(Ll.getPlugin(i[r]));const s=n.plugins||[];for(let r=0;r<s.length;r++){const o=s[r];-1===e.indexOf(o)&&(e.push(o),t[o.id]=!0)}return{plugins:e,localIds:t}}(i);return!1!==s||e?function Jme(n,{plugins:t,localIds:e},i,s){const r=[],o=n.getContext();for(const a of t){const l=a.id,c=Zme(i[l],s);null!==c&&r.push({plugin:a,options:Qme(n.config,{plugin:a,local:e[l]},c,o)})}return r}(t,r,s,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,s=(r,o)=>r.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Zme(n,t){return t||!1!==n?!0===n?{}:n:null}function Qme(n,{plugin:t,local:e},i,s){const r=n.pluginScopeKeys(t),o=n.getOptionScopes(i,r);return e&&t.defaults&&o.push(t.defaults),n.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function y2(n,t){return((t.datasets||{})[n]||{}).indexAxis||t.indexAxis||(Zi.datasets[n]||{}).indexAxis||"x"}function mU(n){if("x"===n||"y"===n||"r"===n)return n}function n_e(n){return"top"===n||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0}function v2(n,...t){if(mU(n))return n;for(const e of t){const i=e.axis||n_e(e.position)||n.length>1&&mU(n[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${n}' axis. Please provide 'axis' or 'position' option.`)}function _U(n,t,e){if(e[t+"AxisID"]===n)return{axis:t}}function yU(n){const t=n.options||(n.options={});t.plugins=un(t.plugins,{}),t.scales=function s_e(n,t){const e=Jh[n.type]||{scales:{}},i=t.scales||{},s=y2(n.type,t),r=Object.create(null);return Object.keys(i).forEach(o=>{const a=i[o];if(!Ln(a))return console.error(`Invalid scale configuration for scale: ${o}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=v2(o,a,function i_e(n,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter(i=>i.xAxisID===n||i.yAxisID===n);if(e.length)return _U(n,"x",e[0])||_U(n,"y",e[0])}return{}}(o,n),Zi.scales[a.type]),c=function t_e(n,t){return n===t?"_index_":"_value_"}(l,s),u=e.scales||{};r[o]=uv(Object.create(null),[{axis:l},a,u[l],u[c]])}),n.data.datasets.forEach(o=>{const a=o.type||n.type,l=o.indexAxis||y2(a,t),u=(Jh[a]||{}).scales||{};Object.keys(u).forEach(d=>{const h=function e_e(n,t){let e=n;return"_index_"===n?e=t:"_value_"===n&&(e="x"===t?"y":"x"),e}(d,l),p=o[h+"AxisID"]||h;r[p]=r[p]||Object.create(null),uv(r[p],[{axis:h},i[p],u[d]])})}),Object.keys(r).forEach(o=>{const a=r[o];uv(a,[Zi.scales[a.type],Zi.scale])}),r}(n,t)}function vU(n){return(n=n||{}).datasets=n.datasets||[],n.labels=n.labels||[],n}const bU=new Map,wU=new Set;function FC(n,t){let e=bU.get(n);return e||(e=t(),bU.set(n,e),wU.add(e)),e}const Sv=(n,t,e)=>{const i=cd(t,e);void 0!==i&&n.add(i)};class o_e{constructor(t){this._config=function r_e(n){return(n=n||{}).data=vU(n.data),yU(n),n}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=vU(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),yU(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return FC(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return FC(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return FC(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id;return FC(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return(!s||e)&&(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:r}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const l=new Set;e.forEach(u=>{t&&(l.add(t),u.forEach(d=>Sv(l,t,d))),u.forEach(d=>Sv(l,s,d)),u.forEach(d=>Sv(l,Jh[r]||{},d)),u.forEach(d=>Sv(l,Zi,d)),u.forEach(d=>Sv(l,t2,d))});const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),wU.has(e)&&o.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,Jh[e]||{},Zi.datasets[e]||{},{type:e},Zi,t2]}resolveNamedOptions(t,e,i,s=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=CU(this._resolverCache,t,s);let l=o;(function l_e(n,t){const{isScriptable:e,isIndexable:i}=C6(n);for(const s of t){const r=e(s),o=i(s),a=(o||r)&&n[s];if(r&&(ud(a)||a_e(a))||o&&Yi(a))return!0}return!1})(o,e)&&(r.$shared=!1,l=Lg(o,i=ud(i)?i():i,this.createResolver(t,i,a)));for(const c of e)r[c]=l[c];return r}createResolver(t,e,i=[""],s){const{resolver:r}=CU(this._resolverCache,t,i);return Ln(e)?Lg(r,e,void 0,s):r}}function CU(n,t,e){let i=n.get(t);i||(i=new Map,n.set(t,i));const s=e.join();let r=i.get(s);return r||(r={resolver:r2(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,r)),r}const a_e=n=>Ln(n)&&Object.getOwnPropertyNames(n).some(t=>ud(n[t])),u_e=["top","bottom","left","right","chartArea"];function MU(n,t){return"top"===n||"bottom"===n||-1===u_e.indexOf(n)&&"x"===t}function DU(n,t){return function(e,i){return e[n]===i[n]?e[t]-i[t]:e[n]-i[n]}}function xU(n){const t=n.chart,e=t.options.animation;t.notifyPlugins("afterRender"),Li(e&&e.onComplete,[n],t)}function d_e(n){const t=n.chart,e=t.options.animation;Li(e&&e.onProgress,[n],t)}function SU(n){return l2()&&"string"==typeof n?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const YC={},TU=n=>{const t=SU(n);return Object.values(YC).filter(e=>e.canvas===t).pop()};function h_e(n,t,e){const i=Object.keys(n);for(const s of i){const r=+s;if(r>=t){const o=n[s];delete n[s],(e>0||r>t)&&(n[r+e]=o)}}}function jC(n,t,e){return n.options.clip?n[e]:t[e]}let b2=(()=>class n{static defaults=Zi;static instances=YC;static overrides=Jh;static registry=Ll;static version="4.4.3";static getChart=TU;static register(...e){Ll.add(...e),EU()}static unregister(...e){Ll.remove(...e),EU()}constructor(e,i){const s=this.config=new o_e(i),r=SU(e),o=TU(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||function Lme(n){return!l2()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?yme:Ome}(r)),this.platform.updateConfig(s);const l=this.platform.acquireContext(r,a.aspectRatio),c=l&&l.canvas,u=c&&c.height,d=c&&c.width;this.id=ppe(),this.ctx=l,this.canvas=c,this.width=d,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Kme,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function Ope(n,t){let e;return function(...i){return t?(clearTimeout(e),e=setTimeout(n,t,i)):n.apply(this,i),t}}(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],YC[this.id]=this,l&&c?(Bc.listen(this,"complete",xU),Bc.listen(this,"progress",d_e),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:i},width:s,height:r,_aspectRatio:o}=this;return Hn(e)?i&&o?o:r?s/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ll}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():O6(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return v6(this.canvas,this.ctx),this}stop(){return Bc.stop(this),this}resize(e,i){Bc.running(this)?this._resizeBeforeDraw={width:e,height:i}:this._resize(e,i)}_resize(e,i){const s=this.options,a=this.platform.getMaximumSize(this.canvas,e,i,s.maintainAspectRatio&&this.aspectRatio),l=s.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,O6(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Li(s.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){li(this.options.scales||{},(s,r)=>{s.id=r})}buildOrUpdateScales(){const e=this.options,i=e.scales,s=this.scales,r=Object.keys(s).reduce((a,l)=>(a[l]=!1,a),{});let o=[];i&&(o=o.concat(Object.keys(i).map(a=>{const l=i[a],c=v2(a,l),u="r"===c,d="x"===c;return{options:l,dposition:u?"chartArea":d?"bottom":"left",dtype:u?"radialLinear":d?"category":"linear"}}))),li(o,a=>{const l=a.options,c=l.id,u=v2(c,l),d=un(l.type,a.dtype);(void 0===l.position||MU(l.position,u)!==MU(a.dposition))&&(l.position=a.dposition),r[c]=!0;let h=null;c in s&&s[c].type===d?h=s[c]:(h=new(Ll.getScale(d))({id:c,type:d,ctx:this.ctx,chart:this}),s[h.id]=h),h.init(l,e)}),li(r,(a,l)=>{a||delete s[l]}),li(s,a=>{lr.configure(this,a,a.options),lr.addBox(this,a)})}_updateMetasets(){const e=this._metasets,i=this.data.datasets.length,s=e.length;if(e.sort((r,o)=>r.index-o.index),s>i){for(let r=i;r<s;++r)this._destroyDatasetMeta(r);e.splice(i,s-i)}this._sortedMetasets=e.slice(0).sort(DU("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:i}}=this;e.length>i.length&&delete this._stacks,e.forEach((s,r)=>{0===i.filter(o=>o===s._dataset).length&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],i=this.data.datasets;let s,r;for(this._removeUnreferencedMetasets(),s=0,r=i.length;s<r;s++){const o=i[s];let a=this.getDatasetMeta(s);const l=o.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(s),a=this.getDatasetMeta(s)),a.type=l,a.indexAxis=o.indexAxis||y2(l,this.options),a.order=o.order||0,a.index=s,a.label=""+o.label,a.visible=this.isDatasetVisible(s),a.controller)a.controller.updateIndex(s),a.controller.linkScales();else{const c=Ll.getController(l),{datasetElementType:u,dataElementType:d}=Zi.datasets[l];Object.assign(c,{dataElementType:Ll.getElement(d),datasetElementType:u&&Ll.getElement(u)}),a.controller=new c(this,s),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){li(this.data.datasets,(e,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const i=this.config;i.update();const s=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let u=0,d=this.data.datasets.length;u<d;u++){const{controller:h}=this.getDatasetMeta(u),p=!r&&-1===o.indexOf(h);h.buildOrUpdateElements(p),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=s.layout.autoPadding?a:0,this._updateLayout(a),r||li(o,u=>{u.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(DU("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){li(this.scales,e=>{lr.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,i=new Set(Object.keys(this._listeners)),s=new Set(e.events);(!t6(i,s)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,i=this._getUniformDataChanges()||[];for(const{method:s,start:r,count:o}of i)h_e(e,r,"_removeElements"===s?-o:o)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const i=this.data.datasets.length,s=o=>new Set(e.filter(a=>a[0]===o).map((a,l)=>l+","+a.splice(1).join(","))),r=s(0);for(let o=1;o<i;o++)if(!t6(r,s(o)))return;return Array.from(r).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;lr.update(this,this.width,this.height,e);const i=this.chartArea,s=i.width<=0||i.height<=0;this._layers=[],li(this.boxes,r=>{s&&"chartArea"===r.position||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,o)=>{r._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let i=0,s=this.data.datasets.length;i<s;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,s=this.data.datasets.length;i<s;++i)this._updateDataset(i,ud(e)?e({datasetIndex:i}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,i){const s=this.getDatasetMeta(e),r={meta:s,index:e,mode:i,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(s.controller._update(i),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Bc.has(this)?this.attached&&!Bc.running(this)&&Bc.start(this):(this.draw(),xU({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:s,height:r}=this._resizeBeforeDraw;this._resize(s,r),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const i=this._layers;for(e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(this.chartArea);for(this._drawDatasets();e<i.length;++e)i[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const i=this._sortedMetasets,s=[];let r,o;for(r=0,o=i.length;r<o;++r){const a=i[r];(!e||a.visible)&&s.push(a)}return s}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let i=e.length-1;i>=0;--i)this._drawDataset(e[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const i=this.ctx,s=e._clip,r=!s.disabled,o=function p_e(n,t){const{xScale:e,yScale:i}=n;return e&&i?{left:jC(e,t,"left"),right:jC(e,t,"right"),top:jC(i,t,"top"),bottom:jC(i,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(r&&SC(i,{left:!1===s.left?0:o.left-s.left,right:!1===s.right?this.width:o.right+s.right,top:!1===s.top?0:o.top-s.top,bottom:!1===s.bottom?this.height:o.bottom+s.bottom}),e.controller.draw(),r&&TC(i),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return jc(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,i,s,r){const o=ume.modes[i];return"function"==typeof o?o(this,e,s,r):[]}getDatasetMeta(e){const i=this.data.datasets[e],s=this._metasets;let r=s.filter(o=>o&&o._dataset===i).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:e,_dataset:i,_parsed:[],_sorted:!1},s.push(r)),r}getContext(){return this.$context||(this.$context=hd(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const i=this.data.datasets[e];if(!i)return!1;const s=this.getDatasetMeta(e);return"boolean"==typeof s.hidden?!s.hidden:!i.hidden}setDatasetVisibility(e,i){this.getDatasetMeta(e).hidden=!i}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,i,s){const r=s?"show":"hide",o=this.getDatasetMeta(e),a=o.controller._resolveAnimations(void 0,r);dv(i)?(o.data[i].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),a.update(o,{visible:s}),this.update(l=>l.datasetIndex===e?r:void 0))}hide(e,i){this._updateVisibility(e,i,!1)}show(e,i){this._updateVisibility(e,i,!0)}_destroyDatasetMeta(e){const i=this._metasets[e];i&&i.controller&&i.controller._destroy(),delete this._metasets[e]}_stop(){let e,i;for(this.stop(),Bc.remove(this),e=0,i=this.data.datasets.length;e<i;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:i}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),v6(e,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete YC[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,i=this.platform,s=(o,a)=>{i.addEventListener(this,o,a),e[o]=a},r=(o,a,l)=>{o.offsetX=a,o.offsetY=l,this._eventHandler(o)};li(this.options.events,o=>s(o,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,i=this.platform,s=(c,u)=>{i.addEventListener(this,c,u),e[c]=u},r=(c,u)=>{e[c]&&(i.removeEventListener(this,c,u),delete e[c])},o=(c,u)=>{this.canvas&&this.resize(c,u)};let a;const l=()=>{r("attach",l),this.attached=!0,this.resize(),s("resize",o),s("detach",a)};a=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),s("attach",l)},i.isAttached(this.canvas)?l():a()}unbindEvents(){li(this._listeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._listeners={},li(this._responsiveListeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,i,s){const r=s?"set":"remove";let o,a,l,c;for("dataset"===i&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const u=a&&this.getDatasetMeta(a.datasetIndex).controller;u&&u[r+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const i=this._active||[],s=e.map(({datasetIndex:o,index:a})=>{const l=this.getDatasetMeta(o);if(!l)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:l.data[a],index:a}});!bC(s,i)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,i))}notifyPlugins(e,i,s){return this._plugins.notify(this,e,i,s)}isPluginEnabled(e){return 1===this._plugins._cache.filter(i=>i.plugin.id===e).length}_updateHoverStyles(e,i,s){const r=this.options.hover,o=(c,u)=>c.filter(d=>!u.some(h=>d.datasetIndex===h.datasetIndex&&d.index===h.index)),a=o(i,e),l=s?e:o(e,i);a.length&&this.updateHoverStyle(a,r.mode,!1),l.length&&r.mode&&this.updateHoverStyle(l,r.mode,!0)}_eventHandler(e,i){const s={event:e,replay:i,cancelable:!0,inChartArea:this.isPointInArea(e)},r=a=>(a.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",s,r))return;const o=this._handleEvent(e,i,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,r),(o||s.changed)&&this.render(),this}_handleEvent(e,i,s){const{_active:r=[],options:o}=this,l=this._getActiveElements(e,r,s,i),c=function bpe(n){return"mouseup"===n.type||"click"===n.type||"contextmenu"===n.type}(e),u=function f_e(n,t,e,i){return e&&"mouseout"!==n.type?i?t:n:null}(e,this._lastEvent,s,c);s&&(this._lastEvent=null,Li(o.onHover,[e,l,this],this),c&&Li(o.onClick,[e,l,this],this));const d=!bC(l,r);return(d||i)&&(this._active=l,this._updateHoverStyles(l,r,i)),this._lastEvent=u,d}_getActiveElements(e,i,s,r){if("mouseout"===e.type)return[];if(!s)return i;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,r)}})();function EU(){return li(b2.instances,n=>n._plugins.invalidate())}function Ag(n,t,e,i){return{x:e+n*Math.cos(t),y:i+n*Math.sin(t)}}function BC(n,t,e,i,s,r){const{x:o,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+i+e-c,0),h=u>0?u+i+e+c:0;let p=0;const _=s-l;if(i){const Ee=((u>0?u-i:0)+(d>0?d-i:0))/2;p=(_-(0!==Ee?_*Ee/(Ee+i):_))/2}const x=(_-Math.max(.001,_*d-e/ji)/d)/2,k=l+x+p,P=s-x-p,{outerStart:j,outerEnd:z,innerStart:G,innerEnd:Z}=function __e(n,t,e,i){const s=function m_e(n){return s2(n,["outerStart","outerEnd","innerStart","innerEnd"])}(n.options.borderRadius),r=(e-t)/2,o=Math.min(r,i*t/2),a=l=>{const c=(e-Math.min(r,l))*i/2;return Fs(l,0,Math.min(r,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:Fs(s.innerStart,0,o),innerEnd:Fs(s.innerEnd,0,o)}}(t,h,d,P-k),oe=d-j,ce=d-z,Se=k+j/oe,Re=P-z/ce,Ye=h+G,Fe=h+Z,Ze=k+G/Ye,Mt=P-Z/Fe;if(n.beginPath(),r){const st=(Se+Re)/2;if(n.arc(o,a,d,Se,st),n.arc(o,a,d,st,Re),z>0){const nt=Ag(ce,Re,o,a);n.arc(nt.x,nt.y,z,Re,P+ps)}const De=Ag(Fe,P,o,a);if(n.lineTo(De.x,De.y),Z>0){const nt=Ag(Fe,Mt,o,a);n.arc(nt.x,nt.y,Z,P+ps,Mt+Math.PI)}const Ee=(P-Z/h+(k+G/h))/2;if(n.arc(o,a,h,P-Z/h,Ee,!0),n.arc(o,a,h,Ee,k+G/h,!0),G>0){const nt=Ag(Ye,Ze,o,a);n.arc(nt.x,nt.y,G,Ze+Math.PI,k-ps)}const Be=Ag(oe,k,o,a);if(n.lineTo(Be.x,Be.y),j>0){const nt=Ag(oe,Se,o,a);n.arc(nt.x,nt.y,j,k-ps,Se)}}else{n.moveTo(o,a);const st=Math.cos(Se)*d+o,De=Math.sin(Se)*d+a;n.lineTo(st,De);const Ee=Math.cos(Re)*d+o,Be=Math.sin(Re)*d+a;n.lineTo(Ee,Be)}n.closePath()}function kU(n,t,e=t){n.lineCap=un(e.borderCapStyle,t.borderCapStyle),n.setLineDash(un(e.borderDash,t.borderDash)),n.lineDashOffset=un(e.borderDashOffset,t.borderDashOffset),n.lineJoin=un(e.borderJoinStyle,t.borderJoinStyle),n.lineWidth=un(e.borderWidth,t.borderWidth),n.strokeStyle=un(e.borderColor,t.borderColor)}function w_e(n,t,e){n.lineTo(e.x,e.y)}function OU(n,t,e={}){const i=n.length,{start:s=0,end:r=i-1}=e,{start:o,end:a}=t,l=Math.max(s,o),c=Math.min(r,a);return{count:i,start:l,loop:t.loop,ilen:c<l&&!(s<o&&r<o||s>a&&r>a)?i+c-l:c-l}}function M_e(n,t,e,i){const{points:s,options:r}=t,{count:o,start:a,loop:l,ilen:c}=OU(s,e,i),u=function C_e(n){return n.stepped?Vpe:n.tension||"monotone"===n.cubicInterpolationMode?Upe:w_e}(r);let p,_,v,{move:d=!0,reverse:h}=i||{};for(p=0;p<=c;++p)_=s[(a+(h?c-p:p))%o],!_.skip&&(d?(n.moveTo(_.x,_.y),d=!1):u(n,v,_,h,r.stepped),v=_);return l&&(_=s[(a+(h?c:0))%o],u(n,v,_,h,r.stepped)),!!l}function D_e(n,t,e,i){const s=t.points,{count:r,start:o,ilen:a}=OU(s,e,i),{move:l=!0,reverse:c}=i||{};let h,p,_,v,x,k,u=0,d=0;const P=z=>(o+(c?a-z:z))%r,j=()=>{v!==x&&(n.lineTo(u,x),n.lineTo(u,v),n.lineTo(u,k))};for(l&&(p=s[P(0)],n.moveTo(p.x,p.y)),h=0;h<=a;++h){if(p=s[P(h)],p.skip)continue;const z=p.x,G=p.y,Z=0|z;Z===_?(G<v?v=G:G>x&&(x=G),u=(d*u+z)/++d):(j(),n.lineTo(z,G),_=Z,d=0,v=x=G),k=G}j()}function w2(n){const t=n.options;return n._decimated||n._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||t.borderDash&&t.borderDash.length?M_e:D_e}const E_e="function"==typeof Path2D;let HC=(()=>class n extends Hc{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,i){const s=this.options;!s.tension&&"monotone"!==s.cubicInterpolationMode||s.stepped||this._pointsUpdated||(fge(this._points,s,e,s.spanGaps?this._loop:this._fullLoop,i),this._pointsUpdated=!0)}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function Ege(n,t){const e=n.points,i=n.options.spanGaps,s=e.length;if(!s)return[];const r=!!n._loop,{start:o,end:a}=function Sge(n,t,e,i){let s=0,r=t-1;if(e&&!i)for(;s<t&&!n[s].skip;)s++;for(;s<t&&n[s].skip;)s++;for(s%=t,e&&(r+=s);r>s&&n[r%t].skip;)r--;return r%=t,{start:s,end:r}}(e,s,r,i);return function Y6(n,t,e,i){return i&&i.setContext&&e?function kge(n,t,e,i){const s=n._chart.getContext(),r=j6(n.options),{_datasetIndex:o,options:{spanGaps:a}}=n,l=e.length,c=[];let u=r,d=t[0].start,h=d;function p(_,v,x,k){const P=a?-1:1;if(_!==v){for(_+=l;e[_%l].skip;)_-=P;for(;e[v%l].skip;)v+=P;_%l!=v%l&&(c.push({start:_%l,end:v%l,loop:x,style:k}),u=k,d=v%l)}}for(const _ of t){d=a?d:_.start;let x,v=e[d%l];for(h=d+1;h<=_.end;h++){const k=e[h%l];x=j6(i.setContext(hd(s,{type:"segment",p0:v,p1:k,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:o}))),Oge(x,u)&&p(d,h-1,_.loop,u),v=k,u=x}d<h-1&&p(d,h-1,_.loop,u)}return c}(n,t,e,i):t}(n,!0===i?[{start:o,end:a,loop:r}]:function Tge(n,t,e,i){const s=n.length,r=[];let l,o=t,a=n[t];for(l=t+1;l<=e;++l){const c=n[l%s];c.skip||c.stop?a.skip||(r.push({start:t%s,end:(l-1)%s,loop:i=!1}),t=o=c.stop?l:null):(o=l,a.skip&&(t=l)),a=c}return null!==o&&r.push({start:t%s,end:o%s,loop:i}),r}(e,o,a<o?a+s:a,!!n._fullLoop&&0===o&&a===s-1),e,t)}(this,this.options.segment))}first(){const e=this.segments;return e.length&&this.points[e[0].start]}last(){const e=this.segments,s=e.length;return s&&this.points[e[s-1].end]}interpolate(e,i){const s=this.options,r=e[i],o=this.points,a=F6(this,{property:i,start:r,end:r});if(!a.length)return;const l=[],c=function x_e(n){return n.stepped?wge:n.tension||"monotone"===n.cubicInterpolationMode?Cge:rf}(s);let u,d;for(u=0,d=a.length;u<d;++u){const{start:h,end:p}=a[u],_=o[h],v=o[p];if(_===v){l.push(_);continue}const k=c(_,v,Math.abs((r-_[i])/(v[i]-_[i])),s.stepped);k[i]=e[i],l.push(k)}return 1===l.length?l[0]:l}pathSegment(e,i,s){return w2(this)(e,this,i,s)}path(e,i,s){const r=this.segments,o=w2(this);let a=this._loop;i=i||0,s=s||this.points.length-i;for(const l of r)a&=o(e,this,l,{start:i,end:i+s-1});return!!a}draw(e,i,s,r){(this.points||[]).length&&(this.options||{}).borderWidth&&(e.save(),function k_e(n,t,e,i){E_e&&!t.options.segment?function S_e(n,t,e,i){let s=t._path;s||(s=t._path=new Path2D,t.path(s,e,i)&&s.closePath()),kU(n,t.options),n.stroke(s)}(n,t,e,i):function T_e(n,t,e,i){const{segments:s,options:r}=t,o=w2(t);for(const a of s)kU(n,r,a.style),n.beginPath(),o(n,t,a,{start:e,end:e+i-1})&&n.closePath(),n.stroke()}(n,t,e,i)}(e,this,s,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}})();function LU(n,t,e,i){const s=n.options,{[e]:r}=n.getProps([e],i);return Math.abs(t-r)<s.radius+s.hitRadius}let O_e=(()=>class n extends Hc{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,i,s){const r=this.options,{x:o,y:a}=this.getProps(["x","y"],s);return Math.pow(e-o,2)+Math.pow(i-a,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,i){return LU(this,e,"x",i)}inYRange(e,i){return LU(this,e,"y",i)}getCenterPoint(e){const{x:i,y:s}=this.getProps(["x","y"],e);return{x:i,y:s}}size(e){let i=(e=e||this.options||{}).radius||0;return i=Math.max(i,i&&e.hoverRadius||0),2*(i+(i&&e.borderWidth||0))}draw(e,i){const s=this.options;this.skip||s.radius<.1||!jc(this,i,this.size(s)/2)||(e.strokeStyle=s.borderColor,e.lineWidth=s.borderWidth,e.fillStyle=s.backgroundColor,i2(e,s,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}})();function PU(n,t){const{x:e,y:i,base:s,width:r,height:o}=n.getProps(["x","y","base","width","height"],t);let a,l,c,u,d;return n.horizontal?(d=o/2,a=Math.min(e,s),l=Math.max(e,s),c=i-d,u=i+d):(d=r/2,a=e-d,l=e+d,c=Math.min(i,s),u=Math.max(i,s)),{left:a,top:c,right:l,bottom:u}}function pd(n,t,e,i){return n?0:Fs(t,e,i)}function C2(n,t,e,i){const s=null===t,r=null===e,a=n&&!(s&&r)&&PU(n,i);return a&&(s||Fc(t,a.left,a.right))&&(r||Fc(e,a.top,a.bottom))}function R_e(n,t){n.rect(t.x,t.y,t.w,t.h)}function M2(n,t,e={}){const i=n.x!==e.x?-t:0,s=n.y!==e.y?-t:0;return{x:n.x+i,y:n.y+s,w:n.w+((n.x+n.w!==e.x+e.w?t:0)-i),h:n.h+((n.y+n.h!==e.y+e.h?t:0)-s),radius:n.radius}}var F_e=Object.freeze({__proto__:null,ArcElement:class b_e extends Hc{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:r,distance:o}=o6(s,{x:t,y:e}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=(this.options.spacing+this.options.borderWidth)/2,_=un(d,l-a)>=Bi||fv(r,a,l),v=Fc(o,c+h,u+h);return _&&v}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:l,spacing:c}=this.options,u=(s+r)/2,d=(o+a+c+l)/2;return{x:e+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/4,r=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>Bi?Math.floor(i/Bi):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*s,Math.sin(a)*s);const c=s*(1-Math.sin(Math.min(ji,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function y_e(n,t,e,i,s){const{fullCircles:r,startAngle:o,circumference:a}=t;let l=t.endAngle;if(r){BC(n,t,e,i,l,s);for(let c=0;c<r;++c)n.fill();isNaN(a)||(l=o+(a%Bi||Bi))}BC(n,t,e,i,l,s),n.fill()}(t,this,c,r,o),function v_e(n,t,e,i,s){const{fullCircles:r,startAngle:o,circumference:a,options:l}=t,{borderWidth:c,borderJoinStyle:u,borderDash:d,borderDashOffset:h}=l,p="inner"===l.borderAlign;if(!c)return;n.setLineDash(d||[]),n.lineDashOffset=h,p?(n.lineWidth=2*c,n.lineJoin=u||"round"):(n.lineWidth=c,n.lineJoin=u||"bevel");let _=t.endAngle;if(r){BC(n,t,e,i,_,s);for(let v=0;v<r;++v)n.stroke();isNaN(a)||(_=o+(a%Bi||Bi))}p&&function g_e(n,t,e){const{startAngle:i,pixelMargin:s,x:r,y:o,outerRadius:a,innerRadius:l}=t;let c=s/a;n.beginPath(),n.arc(r,o,a,i-c,e+c),l>s?(c=s/l,n.arc(r,o,l,e+c,i-c,!0)):n.arc(r,o,s,e+ps,i-ps),n.closePath(),n.clip()}(n,t,_),r||(BC(n,t,e,i,_,s),n.stroke())}(t,this,c,r,o),t.restore()}},BarElement:class N_e extends Hc{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:s}}=this,{inner:r,outer:o}=function I_e(n){const t=PU(n),e=t.right-t.left,i=t.bottom-t.top,s=function L_e(n,t,e){const s=n.borderSkipped,r=w6(n.options.borderWidth);return{t:pd(s.top,r.top,0,e),r:pd(s.right,r.right,0,t),b:pd(s.bottom,r.bottom,0,e),l:pd(s.left,r.left,0,t)}}(n,e/2,i/2),r=function P_e(n,t,e){const{enableBorderRadius:i}=n.getProps(["enableBorderRadius"]),s=n.options.borderRadius,r=tf(s),o=Math.min(t,e),a=n.borderSkipped,l=i||Ln(s);return{topLeft:pd(!l||a.top||a.left,r.topLeft,0,o),topRight:pd(!l||a.top||a.right,r.topRight,0,o),bottomLeft:pd(!l||a.bottom||a.left,r.bottomLeft,0,o),bottomRight:pd(!l||a.bottom||a.right,r.bottomRight,0,o)}}(n,e/2,i/2);return{outer:{x:t.left,y:t.top,w:e,h:i,radius:r},inner:{x:t.left+s.l,y:t.top+s.t,w:e-s.l-s.r,h:i-s.t-s.b,radius:{topLeft:Math.max(0,r.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,r.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,r.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,r.bottomRight-Math.max(s.b,s.r))}}}}(this),a=function A_e(n){return n.topLeft||n.topRight||n.bottomLeft||n.bottomRight}(o.radius)?_v:R_e;t.save(),(o.w!==r.w||o.h!==r.h)&&(t.beginPath(),a(t,M2(o,e,r)),t.clip(),a(t,M2(r,-e,o)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,M2(r,e)),t.fillStyle=s,t.fill(),t.restore()}inRange(t,e,i){return C2(this,t,e,i)}inXRange(t,e){return C2(this,t,null,e)}inYRange(t,e){return C2(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:s,horizontal:r}=this.getProps(["x","y","base","horizontal"],t);return{x:r?(e+s)/2:e,y:r?i:(i+s)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}},LineElement:HC,PointElement:O_e});const D2=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],IU=D2.map(n=>n.replace("rgb(","rgba(").replace(")",", 0.5)"));function AU(n){return D2[n%D2.length]}function RU(n){return IU[n%IU.length]}function NU(n){let t;for(t in n)if(n[t].borderColor||n[t].backgroundColor)return!0;return!1}var U_e={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(n,t,e){if(!e.enabled)return;const{data:{datasets:i},options:s}=n.config,{elements:r}=s;if(!e.forceOverride&&(NU(i)||function V_e(n){return n&&(n.borderColor||n.backgroundColor)}(s)||r&&NU(r)))return;const o=function H_e(n){let t=0;return(e,i)=>{const s=n.getDatasetMeta(i).controller;s instanceof f2?t=function j_e(n,t){return n.backgroundColor=n.data.map(()=>AU(t++)),t}(e,t):s instanceof Q6?t=function B_e(n,t){return n.backgroundColor=n.data.map(()=>RU(t++)),t}(e,t):s&&(t=function Y_e(n,t){return n.borderColor=AU(t),n.backgroundColor=RU(t),++t}(e,t))}}(n);i.forEach(o)}};function FU(n){if(n._decimated){const t=n._data;delete n._decimated,delete n._data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function YU(n){n.data.datasets.forEach(t=>{FU(t)})}var $_e={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(n,t,e)=>{if(!e.enabled)return void YU(n);const i=n.width;n.data.datasets.forEach((s,r)=>{const{_data:o,indexAxis:a}=s,l=n.getDatasetMeta(r),c=o||s.data;if("y"===yv([a,n.options.indexAxis])||!l.controller.supportsDecimation)return;const u=n.scales[l.xAxisID];if("linear"!==u.type&&"time"!==u.type||n.options.parsing)return;let _,{start:d,count:h}=function W_e(n,t){const e=t.length;let s,i=0;const{iScale:r}=n,{min:o,max:a,minDefined:l,maxDefined:c}=r.getUserBounds();return l&&(i=Fs(Yc(t,r.axis,o).lo,0,e-1)),s=c?Fs(Yc(t,r.axis,a).hi+1,i,e)-i:e-i,{start:i,count:s}}(l,c);if(h<=(e.threshold||4*i))FU(s);else{switch(Hn(o)&&(s._data=c,delete s.data,Object.defineProperty(s,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(v){this._data=v}})),e.algorithm){case"lttb":_=function z_e(n,t,e,i,s){const r=s.samples||i;if(r>=e)return n.slice(t,t+e);const o=[],a=(e-2)/(r-2);let l=0;const c=t+e-1;let d,h,p,_,v,u=t;for(o[l++]=n[u],d=0;d<r-2;d++){let P,x=0,k=0;const j=Math.floor((d+1)*a)+1+t,z=Math.min(Math.floor((d+2)*a)+1,e)+t,G=z-j;for(P=j;P<z;P++)x+=n[P].x,k+=n[P].y;x/=G,k/=G;const Z=Math.floor(d*a)+1+t,oe=Math.min(Math.floor((d+1)*a)+1,e)+t,{x:ce,y:Se}=n[u];for(p=_=-1,P=Z;P<oe;P++)_=.5*Math.abs((ce-x)*(n[P].y-Se)-(ce-n[P].x)*(k-Se)),_>p&&(p=_,h=n[P],v=P);o[l++]=h,u=v}return o[l++]=n[c],o}(c,d,h,i,e);break;case"min-max":_=function G_e(n,t,e,i){let o,a,l,c,u,d,h,p,_,v,s=0,r=0;const x=[],P=n[t].x,z=n[t+e-1].x-P;for(o=t;o<t+e;++o){a=n[o],l=(a.x-P)/z*i,c=a.y;const G=0|l;if(G===u)c<_?(_=c,d=o):c>v&&(v=c,h=o),s=(r*s+a.x)/++r;else{const Z=o-1;if(!Hn(d)&&!Hn(h)){const oe=Math.min(d,h),ce=Math.max(d,h);oe!==p&&oe!==Z&&x.push({...n[oe],x:s}),ce!==p&&ce!==Z&&x.push({...n[ce],x:s})}o>0&&Z!==p&&x.push(n[Z]),x.push(a),u=G,r=0,_=v=c,d=h=p=o}}return x}(c,d,h,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}s._decimated=_}})},destroy(n){YU(n)}};function x2(n,t,e,i){if(i)return;let s=t[n],r=e[n];return"angle"===n&&(s=No(s),r=No(r)),{property:n,start:s,end:r}}function S2(n,t,e){for(;t>n;t--){const i=e[t];if(!isNaN(i.x)&&!isNaN(i.y))break}return t}function jU(n,t,e,i){return n&&t?i(n[e],t[e]):n?n[e]:t?t[e]:0}function BU(n,t){let e=[],i=!1;return Yi(n)?(i=!0,e=n):e=function K_e(n,t){const{x:e=null,y:i=null}=n||{},s=t.points,r=[];return t.segments.forEach(({start:o,end:a})=>{a=S2(o,a,s);const l=s[o],c=s[a];null!==i?(r.push({x:l.x,y:i}),r.push({x:c.x,y:i})):null!==e&&(r.push({x:e,y:l.y}),r.push({x:e,y:c.y}))}),r}(n,t),e.length?new HC({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function HU(n){return n&&!1!==n.fill}function X_e(n,t,e){let s=n[t].fill;const r=[t];let o;if(!e)return s;for(;!1!==s&&-1===r.indexOf(s);){if(!ns(s))return s;if(o=n[s],!o)return!1;if(o.visible)return s;r.push(s),s=o.fill}return!1}function Z_e(n,t,e){const i=function tye(n){const t=n.options,e=t.fill;let i=un(e&&e.target,e);return void 0===i&&(i=!!t.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}(n);if(Ln(i))return!isNaN(i.value)&&i;let s=parseFloat(i);return ns(s)&&Math.floor(s)===s?function J_e(n,t,e,i){return("-"===n||"+"===n)&&(e=t+e),!(e===t||e<0||e>=i)&&e}(i[0],t,s,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function sye(n,t,e){const i=[];for(let s=0;s<e.length;s++){const r=e[s],{first:o,last:a,point:l}=rye(r,t,"x");if(!(!l||o&&a))if(o)i.unshift(l);else if(n.push(l),!a)break}n.push(...i)}function rye(n,t,e){const i=n.interpolate(t,e);if(!i)return{};const s=i[e],r=n.segments,o=n.points;let a=!1,l=!1;for(let c=0;c<r.length;c++){const u=r[c],d=o[u.start][e],h=o[u.end][e];if(Fc(s,d,h)){a=s===d,l=s===h;break}}return{first:a,last:l,point:i}}class VU{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:s,y:r,radius:o}=this;return t.arc(s,r,o,(e=e||{start:0,end:Bi}).end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:s}=this,r=t.angle;return{x:e+Math.cos(r)*s,y:i+Math.sin(r)*s,angle:r}}}function T2(n,t,e){const i=function oye(n){const{chart:t,fill:e,line:i}=n;if(ns(e))return function aye(n,t){const e=n.getDatasetMeta(t);return e&&n.isDatasetVisible(t)?e.dataset:null}(t,e);if("stack"===e)return function nye(n){const{scale:t,index:e,line:i}=n,s=[],r=i.segments,o=i.points,a=function iye(n,t){const e=[],i=n.getMatchingVisibleMetas("line");for(let s=0;s<i.length;s++){const r=i[s];if(r.index===t)break;r.hidden||e.unshift(r.dataset)}return e}(t,e);a.push(BU({x:null,y:t.bottom},i));for(let l=0;l<r.length;l++){const c=r[l];for(let u=c.start;u<=c.end;u++)sye(s,o[u],a)}return new HC({points:s,options:{}})}(n);if("shape"===e)return!0;const s=function lye(n){return(n.scale||{}).getPointPositionForValue?function uye(n){const{scale:t,fill:e}=n,i=t.options,s=t.getLabels().length,r=i.reverse?t.max:t.min,o=function eye(n,t,e){let i;return i="start"===n?e:"end"===n?t.options.reverse?t.min:t.max:Ln(n)?n.value:t.getBaseValue(),i}(e,t,r),a=[];if(i.grid.circular){const l=t.getPointPositionForValue(0,r);return new VU({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(o)})}for(let l=0;l<s;++l)a.push(t.getPointPositionForValue(l,o));return a}(n):function cye(n){const{scale:t={},fill:e}=n,i=function Q_e(n,t){let e=null;return"start"===n?e=t.bottom:"end"===n?e=t.top:Ln(n)?e=t.getPixelForValue(n.value):t.getBasePixel&&(e=t.getBasePixel()),e}(e,t);if(ns(i)){const s=t.isHorizontal();return{x:s?i:null,y:s?null:i}}return null}(n)}(n);return s instanceof VU?s:BU(s,i)}(t),{line:s,scale:r,axis:o}=t,a=s.options,l=a.fill,c=a.backgroundColor,{above:u=c,below:d=c}=l||{};i&&s.points.length&&(SC(n,e),function dye(n,t){const{line:e,target:i,above:s,below:r,area:o,scale:a}=t,l=e._loop?"angle":t.axis;n.save(),"x"===l&&r!==s&&(UU(n,i,o.top),zU(n,{line:e,target:i,color:s,scale:a,property:l}),n.restore(),n.save(),UU(n,i,o.bottom)),zU(n,{line:e,target:i,color:r,scale:a,property:l}),n.restore()}(n,{line:s,target:i,above:u,below:d,area:e,scale:r,axis:o}),TC(n))}function UU(n,t,e){const{segments:i,points:s}=t;let r=!0,o=!1;n.beginPath();for(const a of i){const{start:l,end:c}=a,u=s[l],d=s[S2(l,c,s)];r?(n.moveTo(u.x,u.y),r=!1):(n.lineTo(u.x,e),n.lineTo(u.x,u.y)),o=!!t.pathSegment(n,a,{move:o}),o?n.closePath():n.lineTo(d.x,e)}n.lineTo(t.first().x,e),n.closePath(),n.clip()}function zU(n,t){const{line:e,target:i,property:s,color:r,scale:o}=t,a=function q_e(n,t,e){const i=n.segments,s=n.points,r=t.points,o=[];for(const a of i){let{start:l,end:c}=a;c=S2(l,c,s);const u=x2(e,s[l],s[c],a.loop);if(!t.segments){o.push({source:a,target:u,start:s[l],end:s[c]});continue}const d=F6(t,u);for(const h of d){const p=x2(e,r[h.start],r[h.end],h.loop),_=N6(a,s,p);for(const v of _)o.push({source:v,target:h,start:{[e]:jU(u,p,"start",Math.max)},end:{[e]:jU(u,p,"end",Math.min)}})}}return o}(e,i,s);for(const{source:l,target:c,start:u,end:d}of a){const{style:{backgroundColor:h=r}={}}=l,p=!0!==i;n.save(),n.fillStyle=h,hye(n,o,p&&x2(s,u,d)),n.beginPath();const _=!!e.pathSegment(n,l);let v;if(p){_?n.closePath():GU(n,i,d,s);const x=!!i.pathSegment(n,c,{move:_,reverse:!0});v=_&&x,v||GU(n,i,u,s)}n.closePath(),n.fill(v?"evenodd":"nonzero"),n.restore()}}function hye(n,t,e){const{top:i,bottom:s}=t.chart.chartArea,{property:r,start:o,end:a}=e||{};"x"===r&&(n.beginPath(),n.rect(o,i,a-o,s-i),n.clip())}function GU(n,t,e,i){const s=t.interpolate(e,i);s&&n.lineTo(s.x,s.y)}var fye={id:"filler",afterDatasetsUpdate(n,t,e){const i=(n.data.datasets||[]).length,s=[];let r,o,a,l;for(o=0;o<i;++o)r=n.getDatasetMeta(o),a=r.dataset,l=null,a&&a.options&&a instanceof HC&&(l={visible:n.isDatasetVisible(o),index:o,fill:Z_e(a,o,i),chart:n,axis:r.controller.options.indexAxis,scale:r.vScale,line:a}),r.$filler=l,s.push(l);for(o=0;o<i;++o)l=s[o],l&&!1!==l.fill&&(l.fill=X_e(s,o,e.propagate))},beforeDraw(n,t,e){const i="beforeDraw"===e.drawTime,s=n.getSortedVisibleDatasetMetas(),r=n.chartArea;for(let o=s.length-1;o>=0;--o){const a=s[o].$filler;a&&(a.line.updateControlPoints(r,a.axis),i&&a.fill&&T2(n.ctx,a,r))}},beforeDatasetsDraw(n,t,e){if("beforeDatasetsDraw"!==e.drawTime)return;const i=n.getSortedVisibleDatasetMetas();for(let s=i.length-1;s>=0;--s){const r=i[s].$filler;HU(r)&&T2(n.ctx,r,n.chartArea)}},beforeDatasetDraw(n,t,e){const i=t.meta.$filler;!HU(i)||"beforeDatasetDraw"!==e.drawTime||T2(n.ctx,i,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const WU=(n,t)=>{let{boxHeight:e=t,boxWidth:i=t}=n;return n.usePointStyle&&(e=Math.min(e,t),i=n.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(t,e)}};class $U extends Hc{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Li(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(i=>t.filter(i,this.chart.data))),t.sort&&(e=e.sort((i,s)=>t.sort(i,s,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=Os(i.font),r=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=WU(i,r);let c,u;e.font=s.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(o,r,a,l)+10):(u=this.maxHeight,c=this._fitCols(o,s,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=s+a;let d=t;r.textAlign="left",r.textBaseline="middle";let h=-1,p=-u;return this.legendItems.forEach((_,v)=>{const x=i+e/2+r.measureText(_.text).width;(0===v||c[c.length-1]+x+2*a>o)&&(d+=u,c[c.length-(v>0?0:1)]=0,p+=u,h++),l[v]={left:0,top:p,row:h,width:x,height:s},c[c.length-1]+=x+a}),d}_fitCols(t,e,i,s){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=o-t;let d=a,h=0,p=0,_=0,v=0;return this.legendItems.forEach((x,k)=>{const{itemWidth:P,itemHeight:j}=function gye(n,t,e,i,s){const r=function mye(n,t,e,i){let s=n.text;return s&&"string"!=typeof s&&(s=s.reduce((r,o)=>r.length>o.length?r:o)),t+e.size/2+i.measureText(s).width}(i,n,t,e),o=function _ye(n,t,e){let i=n;return"string"!=typeof t.text&&(i=qU(t,e)),i}(s,i,t.lineHeight);return{itemWidth:r,itemHeight:o}}(i,e,r,x,s);k>0&&p+j+2*a>u&&(d+=h+a,c.push({width:h,height:p}),_+=h+a,v++,h=p=0),l[k]={left:_,top:p,col:v,width:P,height:j},h=Math.max(h,P),p+=j+a}),d+=h,c.push({width:h,height:p}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:r}}=this,o=Ig(r,this.left,this.width);if(this.isHorizontal()){let a=0,l=or(i,this.left+s,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=or(i,this.left+s,this.right-this.lineWidths[a])),c.top+=this.top+t+s,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+s}else{let a=0,l=or(i,this.top+t+s,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=or(i,this.top+t+s,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+s,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;SC(t,this),this._draw(),TC(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:r,labels:o}=t,a=Zi.color,l=Ig(t.rtl,this.left,this.width),c=Os(o.font),{padding:u}=o,d=c.size,h=d/2;let p;this.drawTitle(),s.textAlign=l.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:_,boxHeight:v,itemHeight:x}=WU(o,d),j=this.isHorizontal(),z=this._computeTitleHeight();p=j?{x:or(r,this.left+u,this.right-i[0]),y:this.top+u+z,line:0}:{x:this.left+u,y:or(r,this.top+z+u,this.bottom-e[0].height),line:0},P6(this.ctx,t.textDirection);const G=x+u;this.legendItems.forEach((Z,oe)=>{s.strokeStyle=Z.fontColor,s.fillStyle=Z.fontColor;const ce=s.measureText(Z.text).width,Se=l.textAlign(Z.textAlign||(Z.textAlign=o.textAlign)),Re=_+h+ce;let Ye=p.x,Fe=p.y;l.setWidth(this.width),j?oe>0&&Ye+Re+u>this.right&&(Fe=p.y+=G,p.line++,Ye=p.x=or(r,this.left+u,this.right-i[p.line])):oe>0&&Fe+G>this.bottom&&(Ye=p.x=Ye+e[p.line].width+u,p.line++,Fe=p.y=or(r,this.top+z+u,this.bottom-e[p.line].height)),function(Z,oe,ce){if(isNaN(_)||_<=0||isNaN(v)||v<0)return;s.save();const Se=un(ce.lineWidth,1);if(s.fillStyle=un(ce.fillStyle,a),s.lineCap=un(ce.lineCap,"butt"),s.lineDashOffset=un(ce.lineDashOffset,0),s.lineJoin=un(ce.lineJoin,"miter"),s.lineWidth=Se,s.strokeStyle=un(ce.strokeStyle,a),s.setLineDash(un(ce.lineDash,[])),o.usePointStyle){const Re={radius:v*Math.SQRT2/2,pointStyle:ce.pointStyle,rotation:ce.rotation,borderWidth:Se},Ye=l.xPlus(Z,_/2);b6(s,Re,Ye,oe+h,o.pointStyleWidth&&_)}else{const Re=oe+Math.max((d-v)/2,0),Ye=l.leftForLtr(Z,_),Fe=tf(ce.borderRadius);s.beginPath(),Object.values(Fe).some(Ze=>0!==Ze)?_v(s,{x:Ye,y:Re,w:_,h:v,radius:Fe}):s.rect(Ye,Re,_,v),s.fill(),0!==Se&&s.stroke()}s.restore()}(l.x(Ye),Fe,Z),Ye=((n,t,e,i)=>n===(i?"left":"right")?e:"center"===n?(t+e)/2:t)(Se,Ye+_+h,j?Ye+Re:this.right,t.rtl),function(Z,oe,ce){ef(s,ce.text,Z,oe+x/2,c,{strikethrough:ce.hidden,textAlign:l.textAlign(ce.textAlign)})}(l.x(Ye),Fe,Z),j?p.x+=Re+u:p.y+="string"!=typeof Z.text?qU(Z,c.lineHeight)+u:G}),I6(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=Os(e.font),s=ar(e.padding);if(!e.display)return;const r=Ig(t.rtl,this.left,this.width),o=this.ctx,a=e.position,c=s.top+i.size/2;let u,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),u=this.top+c,d=or(t.align,d,this.right-h);else{const _=this.columnSizes.reduce((v,x)=>Math.max(v,x.height),0);u=c+or(t.align,this.top,this.bottom-_-t.labels.padding-this._computeTitleHeight())}const p=or(a,d,d+h);o.textAlign=r.textAlign(JO(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,ef(o,e.text,p,u,i)}_computeTitleHeight(){const t=this.options.title,e=Os(t.font),i=ar(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,r;if(Fc(t,this.left,this.right)&&Fc(e,this.top,this.bottom))for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(s=r[i],Fc(t,s.left,s.left+s.width)&&Fc(e,s.top,s.top+s.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function yye(n,t){return!(("mousemove"!==n&&"mouseout"!==n||!t.onHover&&!t.onLeave)&&(!t.onClick||"click"!==n&&"mouseup"!==n))}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const s=this._hoveredItem,r=((n,t)=>null!==n&&null!==t&&n.datasetIndex===t.datasetIndex&&n.index===t.index)(s,i);s&&!r&&Li(e.onLeave,[t,s,this],this),this._hoveredItem=i,i&&!r&&Li(e.onHover,[t,i,this],this)}else i&&Li(e.onClick,[t,i,this],this)}}function qU(n,t){return t*(n.text?n.text.length:0)}var vye={id:"legend",_element:$U,start(n,t,e){const i=n.legend=new $U({ctx:n.ctx,options:e,chart:n});lr.configure(n,i,e),lr.addBox(n,i)},stop(n){lr.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,t,e){const i=n.legend;lr.configure(n,i,e),i.options=e},afterUpdate(n){const t=n.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(n,t){t.replay||n.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,t,e){const i=t.datasetIndex,s=e.chart;s.isDatasetVisible(i)?(s.hide(i),t.hidden=!0):(s.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const t=n.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:s,color:r,useBorderRadius:o,borderRadius:a}}=n.legend.options;return n._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(e?0:void 0),u=ar(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:r,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:s||c.textAlign,borderRadius:o&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class E2 extends Hc{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=Yi(i.text)?i.text.length:1;this._padding=ar(i.padding);const r=s*Os(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:r,options:o}=this,a=o.align;let c,u,d,l=0;return this.isHorizontal()?(u=or(a,i,r),d=e+t,c=r-i):("left"===o.position?(u=i+t,d=or(a,s,e),l=-.5*ji):(u=r-t,d=or(a,e,s),l=.5*ji),c=s-e),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=Os(e.font),r=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(r);ef(t,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:c,textAlign:JO(e.align),textBaseline:"middle",translation:[o,a]})}}var wye={id:"title",_element:E2,start(n,t,e){!function bye(n,t){const e=new E2({ctx:n.ctx,options:t,chart:n});lr.configure(n,e,t),lr.addBox(n,e),n.titleBlock=e}(n,e)},stop(n){lr.removeBox(n,n.titleBlock),delete n.titleBlock},beforeUpdate(n,t,e){const i=n.titleBlock;lr.configure(n,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const VC=new WeakMap;var Cye={id:"subtitle",start(n,t,e){const i=new E2({ctx:n.ctx,options:e,chart:n});lr.configure(n,i,e),lr.addBox(n,i),VC.set(n,i)},stop(n){lr.removeBox(n,VC.get(n)),VC.delete(n)},beforeUpdate(n,t,e){const i=VC.get(n);lr.configure(n,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Tv={average(n){if(!n.length)return!1;let t,e,i=new Set,s=0,r=0;for(t=0,e=n.length;t<e;++t){const a=n[t].element;if(a&&a.hasValue()){const l=a.tooltipPosition();i.add(l.x),s+=l.y,++r}}return{x:[...i].reduce((a,l)=>a+l)/i.size,y:s/r}},nearest(n,t){if(!n.length)return!1;let r,o,a,e=t.x,i=t.y,s=Number.POSITIVE_INFINITY;for(r=0,o=n.length;r<o;++r){const l=n[r].element;if(l&&l.hasValue()){const u=XO(t,l.getCenterPoint());u<s&&(s=u,a=l)}}if(a){const l=a.tooltipPosition();e=l.x,i=l.y}return{x:e,y:i}}};function Pl(n,t){return t&&(Yi(t)?Array.prototype.push.apply(n,t):n.push(t)),n}function Vc(n){return("string"==typeof n||n instanceof String)&&n.indexOf("\n")>-1?n.split("\n"):n}function Mye(n,t){const{element:e,datasetIndex:i,index:s}=t,r=n.getDatasetMeta(i).controller,{label:o,value:a}=r.getLabelAndValue(s);return{chart:n,label:o,parsed:r.getParsed(s),raw:n.data.datasets[i].data[s],formattedValue:a,dataset:r.getDataset(),dataIndex:s,datasetIndex:i,element:e}}function KU(n,t){const e=n.chart.ctx,{body:i,footer:s,title:r}=n,{boxWidth:o,boxHeight:a}=t,l=Os(t.bodyFont),c=Os(t.titleFont),u=Os(t.footerFont),d=r.length,h=s.length,p=i.length,_=ar(t.padding);let v=_.height,x=0,k=i.reduce((z,G)=>z+G.before.length+G.lines.length+G.after.length,0);k+=n.beforeBody.length+n.afterBody.length,d&&(v+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),k&&(v+=p*(t.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(k-p)*l.lineHeight+(k-1)*t.bodySpacing),h&&(v+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let P=0;const j=function(z){x=Math.max(x,e.measureText(z).width+P)};return e.save(),e.font=c.string,li(n.title,j),e.font=l.string,li(n.beforeBody.concat(n.afterBody),j),P=t.displayColors?o+2+t.boxPadding:0,li(i,z=>{li(z.before,j),li(z.lines,j),li(z.after,j)}),P=0,e.font=u.string,li(n.footer,j),e.restore(),x+=_.width,{width:x,height:v}}function Sye(n,t,e,i){const{x:s,width:r}=e,{width:o,chartArea:{left:a,right:l}}=n;let c="center";return"center"===i?c=s<=(a+l)/2?"left":"right":s<=r/2?c="left":s>=o-r/2&&(c="right"),function xye(n,t,e,i){const{x:s,width:r}=i,o=e.caretSize+e.caretPadding;if("left"===n&&s+r+o>t.width||"right"===n&&s-r-o<0)return!0}(c,n,t,e)&&(c="center"),c}function XU(n,t,e){const i=e.yAlign||t.yAlign||function Dye(n,t){const{y:e,height:i}=t;return e<i/2?"top":e>n.height-i/2?"bottom":"center"}(n,e);return{xAlign:e.xAlign||t.xAlign||Sye(n,t,e,i),yAlign:i}}function ZU(n,t,e,i){const{caretSize:s,caretPadding:r,cornerRadius:o}=n,{xAlign:a,yAlign:l}=e,c=s+r,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:p}=tf(o);let _=function Tye(n,t){let{x:e,width:i}=n;return"right"===t?e-=i:"center"===t&&(e-=i/2),e}(t,a);const v=function Eye(n,t,e){let{y:i,height:s}=n;return"top"===t?i+=e:i-="bottom"===t?s+e:s/2,i}(t,l,c);return"center"===l?"left"===a?_+=c:"right"===a&&(_-=c):"left"===a?_-=Math.max(u,h)+s:"right"===a&&(_+=Math.max(d,p)+s),{x:Fs(_,0,i.width-t.width),y:Fs(v,0,i.height-t.height)}}function UC(n,t,e){const i=ar(e.padding);return"center"===t?n.x+n.width/2:"right"===t?n.x+n.width-i.right:n.x+i.left}function JU(n){return Pl([],Vc(n))}function QU(n,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?n.override(e):n}const e8={beforeTitle:Nc,title(n){if(n.length>0){const t=n[0],e=t.chart.data.labels,i=e?e.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return e[t.dataIndex]}return""},afterTitle:Nc,beforeBody:Nc,beforeLabel:Nc,label(n){if(this&&this.options&&"dataset"===this.options.mode)return n.label+": "+n.formattedValue||n.formattedValue;let t=n.dataset.label||"";t&&(t+=": ");const e=n.formattedValue;return Hn(e)||(t+=e),t},labelColor(n){const e=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(n){const e=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:Nc,afterBody:Nc,beforeFooter:Nc,footer:Nc,afterFooter:Nc};function Xr(n,t,e,i){const s=n[t].call(e,i);return typeof s>"u"?e8[t].call(e,i):s}let t8=(()=>class n extends Hc{static positioners=Tv;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const i=this.chart,s=this.options.setContext(this.getContext()),r=s.enabled&&i.options.animation&&s.animations,o=new H6(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=function kye(n,t,e){return hd(n,{tooltip:t,tooltipItems:e,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,i){const{callbacks:s}=i,r=Xr(s,"beforeTitle",this,e),o=Xr(s,"title",this,e),a=Xr(s,"afterTitle",this,e);let l=[];return l=Pl(l,Vc(r)),l=Pl(l,Vc(o)),l=Pl(l,Vc(a)),l}getBeforeBody(e,i){return JU(Xr(i.callbacks,"beforeBody",this,e))}getBody(e,i){const{callbacks:s}=i,r=[];return li(e,o=>{const a={before:[],lines:[],after:[]},l=QU(s,o);Pl(a.before,Vc(Xr(l,"beforeLabel",this,o))),Pl(a.lines,Xr(l,"label",this,o)),Pl(a.after,Vc(Xr(l,"afterLabel",this,o))),r.push(a)}),r}getAfterBody(e,i){return JU(Xr(i.callbacks,"afterBody",this,e))}getFooter(e,i){const{callbacks:s}=i,r=Xr(s,"beforeFooter",this,e),o=Xr(s,"footer",this,e),a=Xr(s,"afterFooter",this,e);let l=[];return l=Pl(l,Vc(r)),l=Pl(l,Vc(o)),l=Pl(l,Vc(a)),l}_createItems(e){const i=this._active,s=this.chart.data,r=[],o=[],a=[];let c,u,l=[];for(c=0,u=i.length;c<u;++c)l.push(Mye(this.chart,i[c]));return e.filter&&(l=l.filter((d,h,p)=>e.filter(d,h,p,s))),e.itemSort&&(l=l.sort((d,h)=>e.itemSort(d,h,s))),li(l,d=>{const h=QU(e.callbacks,d);r.push(Xr(h,"labelColor",this,d)),o.push(Xr(h,"labelPointStyle",this,d)),a.push(Xr(h,"labelTextColor",this,d))}),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=l,l}update(e,i){const s=this.options.setContext(this.getContext()),r=this._active;let o,a=[];if(r.length){const l=Tv[s.position].call(this,r,this._eventPosition);a=this._createItems(s),this.title=this.getTitle(a,s),this.beforeBody=this.getBeforeBody(a,s),this.body=this.getBody(a,s),this.afterBody=this.getAfterBody(a,s),this.footer=this.getFooter(a,s);const c=this._size=KU(this,s),u=Object.assign({},l,c),d=XU(this.chart,s,u),h=ZU(s,u,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,o={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=a,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(e,i,s,r){const o=this.getCaretPosition(e,s,r);i.lineTo(o.x1,o.y1),i.lineTo(o.x2,o.y2),i.lineTo(o.x3,o.y3)}getCaretPosition(e,i,s){const{xAlign:r,yAlign:o}=this,{caretSize:a,cornerRadius:l}=s,{topLeft:c,topRight:u,bottomLeft:d,bottomRight:h}=tf(l),{x:p,y:_}=e,{width:v,height:x}=i;let k,P,j,z,G,Z;return"center"===o?(G=_+x/2,"left"===r?(k=p,P=k-a,z=G+a,Z=G-a):(k=p+v,P=k+a,z=G-a,Z=G+a),j=k):(P="left"===r?p+Math.max(c,d)+a:"right"===r?p+v-Math.max(u,h)-a:this.caretX,"top"===o?(z=_,G=z-a,k=P-a,j=P+a):(z=_+x,G=z+a,k=P+a,j=P-a),Z=z),{x1:k,x2:P,x3:j,y1:z,y2:G,y3:Z}}drawTitle(e,i,s){const r=this.title,o=r.length;let a,l,c;if(o){const u=Ig(s.rtl,this.x,this.width);for(e.x=UC(this,s.titleAlign,s),i.textAlign=u.textAlign(s.titleAlign),i.textBaseline="middle",a=Os(s.titleFont),l=s.titleSpacing,i.fillStyle=s.titleColor,i.font=a.string,c=0;c<o;++c)i.fillText(r[c],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===o&&(e.y+=s.titleMarginBottom-l)}}_drawColorBox(e,i,s,r,o){const a=this.labelColors[s],l=this.labelPointStyles[s],{boxHeight:c,boxWidth:u}=o,d=Os(o.bodyFont),h=UC(this,"left",o),p=r.x(h),v=i.y+(c<d.lineHeight?(d.lineHeight-c)/2:0);if(o.usePointStyle){const x={radius:Math.min(u,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},k=r.leftForLtr(p,u)+u/2,P=v+c/2;e.strokeStyle=o.multiKeyBackground,e.fillStyle=o.multiKeyBackground,i2(e,x,k,P),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,i2(e,x,k,P)}else{e.lineWidth=Ln(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const x=r.leftForLtr(p,u),k=r.leftForLtr(r.xPlus(p,1),u-2),P=tf(a.borderRadius);Object.values(P).some(j=>0!==j)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,_v(e,{x,y:v,w:u,h:c,radius:P}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),_v(e,{x:k,y:v+1,w:u-2,h:c-2,radius:P}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(x,v,u,c),e.strokeRect(x,v,u,c),e.fillStyle=a.backgroundColor,e.fillRect(k,v+1,u-2,c-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,i,s){const{body:r}=this,{bodySpacing:o,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:u,boxPadding:d}=s,h=Os(s.bodyFont);let p=h.lineHeight,_=0;const v=Ig(s.rtl,this.x,this.width),x=function(Se){i.fillText(Se,v.x(e.x+_),e.y+p/2),e.y+=p+o},k=v.textAlign(a);let P,j,z,G,Z,oe,ce;for(i.textAlign=a,i.textBaseline="middle",i.font=h.string,e.x=UC(this,k,s),i.fillStyle=s.bodyColor,li(this.beforeBody,x),_=l&&"right"!==k?"center"===a?u/2+d:u+2+d:0,G=0,oe=r.length;G<oe;++G){for(P=r[G],j=this.labelTextColors[G],i.fillStyle=j,li(P.before,x),z=P.lines,l&&z.length&&(this._drawColorBox(i,e,G,v,s),p=Math.max(h.lineHeight,c)),Z=0,ce=z.length;Z<ce;++Z)x(z[Z]),p=h.lineHeight;li(P.after,x)}_=0,p=h.lineHeight,li(this.afterBody,x),e.y-=o}drawFooter(e,i,s){const r=this.footer,o=r.length;let a,l;if(o){const c=Ig(s.rtl,this.x,this.width);for(e.x=UC(this,s.footerAlign,s),e.y+=s.footerMarginTop,i.textAlign=c.textAlign(s.footerAlign),i.textBaseline="middle",a=Os(s.footerFont),i.fillStyle=s.footerColor,i.font=a.string,l=0;l<o;++l)i.fillText(r[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+s.footerSpacing}}drawBackground(e,i,s,r){const{xAlign:o,yAlign:a}=this,{x:l,y:c}=e,{width:u,height:d}=s,{topLeft:h,topRight:p,bottomLeft:_,bottomRight:v}=tf(r.cornerRadius);i.fillStyle=r.backgroundColor,i.strokeStyle=r.borderColor,i.lineWidth=r.borderWidth,i.beginPath(),i.moveTo(l+h,c),"top"===a&&this.drawCaret(e,i,s,r),i.lineTo(l+u-p,c),i.quadraticCurveTo(l+u,c,l+u,c+p),"center"===a&&"right"===o&&this.drawCaret(e,i,s,r),i.lineTo(l+u,c+d-v),i.quadraticCurveTo(l+u,c+d,l+u-v,c+d),"bottom"===a&&this.drawCaret(e,i,s,r),i.lineTo(l+_,c+d),i.quadraticCurveTo(l,c+d,l,c+d-_),"center"===a&&"left"===o&&this.drawCaret(e,i,s,r),i.lineTo(l,c+h),i.quadraticCurveTo(l,c,l+h,c),i.closePath(),i.fill(),r.borderWidth>0&&i.stroke()}_updateAnimationTarget(e){const i=this.chart,s=this.$animations,r=s&&s.x,o=s&&s.y;if(r||o){const a=Tv[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=KU(this,e),c=Object.assign({},a,this._size),u=XU(i,e,c),d=ZU(e,c,u,i);(r._to!==d.x||o._to!==d.y)&&(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(e){const i=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(i);const r={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const a=ar(i.padding);i.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(e.save(),e.globalAlpha=s,this.drawBackground(o,e,r,i),P6(e,i.textDirection),o.y+=a.top,this.drawTitle(o,e,i),this.drawBody(o,e,i),this.drawFooter(o,e,i),I6(e,i.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,i){const s=this._active,r=e.map(({datasetIndex:l,index:c})=>{const u=this.chart.getDatasetMeta(l);if(!u)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:u.data[c],index:c}}),o=!bC(s,r),a=this._positionChanged(r,i);(o||a)&&(this._active=r,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,i,s=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,o=this._active||[],a=this._getActiveElements(e,o,i,s),l=this._positionChanged(a,e),c=i||!bC(a,o)||l;return c&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,i))),c}_getActiveElements(e,i,s,r){const o=this.options;if("mouseout"===e.type)return[];if(!r)return i.filter(l=>this.chart.data.datasets[l.datasetIndex]&&void 0!==this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index));const a=this.chart.getElementsAtEventForMode(e,o.mode,o,s);return o.reverse&&a.reverse(),a}_positionChanged(e,i){const{caretX:s,caretY:r,options:o}=this,a=Tv[o.position].call(this,e,i);return!1!==a&&(s!==a.x||r!==a.y)}})();var Oye={id:"tooltip",_element:t8,positioners:Tv,afterInit(n,t,e){e&&(n.tooltip=new t8({chart:n,options:e}))},beforeUpdate(n,t,e){n.tooltip&&n.tooltip.initialize(e)},reset(n,t,e){n.tooltip&&n.tooltip.initialize(e)},afterDraw(n){const t=n.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(!1===n.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0}))return;t.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",e)}},afterEvent(n,t){n.tooltip&&n.tooltip.handleEvent(t.event,t.replay,t.inChartArea)&&(t.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,t)=>t.bodyFont.size,boxWidth:(n,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:e8},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>"filter"!==n&&"itemSort"!==n&&"external"!==n,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Lye=Object.freeze({__proto__:null,Colors:U_e,Decimation:$_e,Filler:fye,Legend:vye,SubTitle:Cye,Title:wye,Tooltip:Oye});function n8(n){const t=this.getLabels();return n>=0&&n<t.length?t[n]:n}let Rye=(()=>class n extends lf{static id="category";static defaults={ticks:{callback:n8}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const i=this._addedLabels;if(i.length){const s=this.getLabels();for(const{index:r,label:o}of i)s[r]===o&&s.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,i){if(Hn(e))return null;const s=this.getLabels();return((n,t)=>null===n?null:Fs(Math.round(n),0,t))(i=isFinite(i)&&s[i]===e?i:function Iye(n,t,e,i){const s=n.indexOf(t);return-1===s?((n,t,e,i)=>("string"==typeof t?(e=n.push(t)-1,i.unshift({index:e,label:t})):isNaN(t)&&(e=null),e))(n,t,e,i):s!==n.lastIndexOf(t)?e:s}(s,e,un(i,e),this._addedLabels),s.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(s=0),i||(r=this.getLabels().length-1)),this.min=s,this.max=r}buildTicks(){const e=this.min,i=this.max,s=this.options.offset,r=[];let o=this.getLabels();o=0===e&&i===o.length-1?o:o.slice(e,i+1),this._valueRange=Math.max(o.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let a=e;a<=i;a++)r.push({value:a});return r}getLabelForValue(e){return n8.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const i=this.ticks;return e<0||e>i.length-1?null:this.getPixelForValue(i[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}})();function i8(n,t,{horizontal:e,minRotation:i}){const s=Ba(i),r=(e?Math.sin(s):Math.cos(s))||.001;return Math.min(t/r,.75*t*(""+n).length)}class zC extends lf{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return Hn(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:r}=this;const o=l=>s=e?s:l,a=l=>r=i?r:l;if(t){const l=Ol(s),c=Ol(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(s===r){let l=0===r?1:Math.abs(.05*r);a(r+l),t||o(s-l)}this.min=s,this.max=r}getTickLimit(){const t=this.options.ticks;let s,{maxTicksLimit:e,stepSize:i}=t;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),e=e||11),e&&(s=Math.min(e,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const o=function Nye(n,t){const e=[],{bounds:s,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:h}=n,p=r||1,_=u-1,{min:v,max:x}=t,k=!Hn(o),P=!Hn(a),j=!Hn(c),z=(x-v)/(d+1);let Z,oe,ce,Se,G=i6((x-v)/_/p)*p;if(G<1e-14&&!k&&!P)return[{value:v},{value:x}];Se=Math.ceil(x/G)-Math.floor(v/G),Se>_&&(G=i6(Se*G/_/p)*p),Hn(l)||(Z=Math.pow(10,l),G=Math.ceil(G*Z)/Z),"ticks"===s?(oe=Math.floor(v/G)*G,ce=Math.ceil(x/G)*G):(oe=v,ce=x),k&&P&&r&&function Dpe(n,t){const e=Math.round(n);return e-t<=n&&e+t>=n}((a-o)/r,G/1e3)?(Se=Math.round(Math.min((a-o)/G,u)),G=(a-o)/Se,oe=o,ce=a):j?(oe=k?o:oe,ce=P?a:ce,Se=c-1,G=(ce-oe)/Se):(Se=(ce-oe)/G,Se=hv(Se,Math.round(Se),G/1e3)?Math.round(Se):Math.ceil(Se));const Re=Math.max(r6(G),r6(oe));Z=Math.pow(10,Hn(l)?Re:l),oe=Math.round(oe*Z)/Z,ce=Math.round(ce*Z)/Z;let Ye=0;for(k&&(h&&oe!==o?(e.push({value:o}),oe<o&&Ye++,hv(Math.round((oe+Ye*G)*Z)/Z,o,i8(o,z,n))&&Ye++):oe<o&&Ye++);Ye<Se;++Ye){const Fe=Math.round((oe+Ye*G)*Z)/Z;if(P&&Fe>a)break;e.push({value:Fe})}return P&&h&&ce!==a?e.length&&hv(e[e.length-1].value,a,i8(a,z,n))?e[e.length-1].value=a:e.push({value:a}):(!P||ce===a)&&e.push({value:ce}),e}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&s6(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return gv(t,this.chart.options.locale,this.options.ticks.format)}}const Ev=n=>Math.floor(dd(n)),cf=(n,t)=>Math.pow(10,Ev(n)+t);function s8(n){return n/Math.pow(10,Ev(n))==1}function r8(n,t,e){const i=Math.pow(10,e),s=Math.floor(n/i);return Math.ceil(t/i)-s}function k2(n){const t=n.ticks;if(t.display&&n.display){const e=ar(t.backdropPadding);return un(t.font&&t.font.size,Zi.font.size)+e.height}return 0}function Hye(n,t,e){return e=Yi(e)?e:[e],{w:Hpe(n,t.string,e),h:e.length*t.lineHeight}}function o8(n,t,e,i,s){return n===i||n===s?{start:t-e/2,end:t+e/2}:n<i||n>s?{start:t-e,end:t}:{start:t,end:t+e}}function Uye(n,t,e,i,s){const r=Math.abs(Math.sin(e)),o=Math.abs(Math.cos(e));let a=0,l=0;i.start<t.l?(a=(t.l-i.start)/r,n.l=Math.min(n.l,t.l-a)):i.end>t.r&&(a=(i.end-t.r)/r,n.r=Math.max(n.r,t.r+a)),s.start<t.t?(l=(t.t-s.start)/o,n.t=Math.min(n.t,t.t-l)):s.end>t.b&&(l=(s.end-t.b)/o,n.b=Math.max(n.b,t.b+l))}function zye(n,t,e){const i=n.drawingArea,{extra:s,additionalAngle:r,padding:o,size:a}=e,l=n.getPointPosition(t,i+s+o,r),c=Math.round(KO(No(l.angle+ps))),u=function Kye(n,t,e){return 90===e||270===e?n-=t/2:(e>270||e<90)&&(n-=t),n}(l.y,a.h,c),d=function $ye(n){return 0===n||180===n?"center":n<180?"left":"right"}(c),h=function qye(n,t,e){return"right"===e?n-=t:"center"===e&&(n-=t/2),n}(l.x,a.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:h,top:u,right:h+a.w,bottom:u+a.h}}function Gye(n,t){if(!t)return!0;const{left:e,top:i,right:s,bottom:r}=n;return!(jc({x:e,y:i},t)||jc({x:e,y:r},t)||jc({x:s,y:i},t)||jc({x:s,y:r},t))}function Xye(n,t,e){const{left:i,top:s,right:r,bottom:o}=e,{backdropColor:a}=t;if(!Hn(a)){const l=tf(t.borderRadius),c=ar(t.backdropPadding);n.fillStyle=a;const u=i-c.left,d=s-c.top,h=r-i+c.width,p=o-s+c.height;Object.values(l).some(_=>0!==_)?(n.beginPath(),_v(n,{x:u,y:d,w:h,h:p,radius:l}),n.fill()):n.fillRect(u,d,h,p)}}function a8(n,t,e,i){const{ctx:s}=n;if(e)s.arc(n.xCenter,n.yCenter,t,0,Bi);else{let r=n.getPointPosition(0,t);s.moveTo(r.x,r.y);for(let o=1;o<i;o++)r=n.getPointPosition(o,t),s.lineTo(r.x,r.y)}}const GC={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Zr=Object.keys(GC);function l8(n,t){return n-t}function c8(n,t){if(Hn(t))return null;const e=n._adapter,{parser:i,round:s,isoWeekday:r}=n._parseOpts;let o=t;return"function"==typeof i&&(o=i(o)),ns(o)||(o="string"==typeof i?e.parse(o,i):e.parse(o)),null===o?null:(s&&(o="week"!==s||!Og(r)&&!0!==r?e.startOf(o,s):e.startOf(o,"isoWeek",r)),+o)}function u8(n,t,e,i){const s=Zr.length;for(let r=Zr.indexOf(n);r<s-1;++r){const o=GC[Zr[r]];if(o.common&&Math.ceil((e-t)/((o.steps?o.steps:Number.MAX_SAFE_INTEGER)*o.size))<=i)return Zr[r]}return Zr[s-1]}function d8(n,t,e){if(e){if(e.length){const{lo:i,hi:s}=ZO(e,t);n[e[i]>=t?e[i]:e[s]]=!0}}else n[t]=!0}function h8(n,t,e){const i=[],s={},r=t.length;let o,a;for(o=0;o<r;++o)a=t[o],s[a]=o,i.push({value:a,major:!1});return 0!==r&&e?function ive(n,t,e,i){const s=n._adapter,r=+s.startOf(t[0].value,i),o=t[t.length-1].value;let a,l;for(a=r;a<=o;a=+s.add(a,1,i))l=e[a],l>=0&&(t[l].major=!0);return t}(n,i,s,e):i}let O2=(()=>class n extends lf{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,i={}){const s=e.time||(e.time={}),r=this._adapter=new eU._date(e.adapters.date);r.init(i),uv(s.displayFormats,r.formats()),this._parseOpts={parser:s.parser,round:s.round,isoWeekday:s.isoWeekday},super.init(e),this._normalized=i.normalized}parse(e,i){return void 0===e?null:c8(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,i=this._adapter,s=e.time.unit||"day";let{min:r,max:o,minDefined:a,maxDefined:l}=this.getUserBounds();function c(u){!a&&!isNaN(u.min)&&(r=Math.min(r,u.min)),!l&&!isNaN(u.max)&&(o=Math.max(o,u.max))}(!a||!l)&&(c(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&c(this.getMinMax(!1))),r=ns(r)&&!isNaN(r)?r:+i.startOf(Date.now(),s),o=ns(o)&&!isNaN(o)?o:+i.endOf(Date.now(),s)+1,this.min=Math.min(r,o-1),this.max=Math.max(r+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;return e.length&&(i=e[0],s=e[e.length-1]),{min:i,max:s}}buildTicks(){const e=this.options,i=e.time,s=e.ticks,r="labels"===s.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const o=this.min,l=function Epe(n,t,e){let i=0,s=n.length;for(;i<s&&n[i]<t;)i++;for(;s>i&&n[s-1]>e;)s--;return i>0||s<n.length?n.slice(i,s):n}(r,o,this.max);return this._unit=i.unit||(s.autoSkip?u8(i.minUnit,this.min,this.max,this._getLabelCapacity(o)):function tve(n,t,e,i,s){for(let r=Zr.length-1;r>=Zr.indexOf(e);r--){const o=Zr[r];if(GC[o].common&&n._adapter.diff(s,i,o)>=t-1)return o}return Zr[e?Zr.indexOf(e):0]}(this,l.length,i.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function nve(n){for(let t=Zr.indexOf(n)+1,e=Zr.length;t<e;++t)if(GC[Zr[t]].common)return Zr[t]}(this._unit):void 0,this.initOffsets(r),e.reverse&&l.reverse(),h8(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let r,o,i=0,s=0;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),i=1===e.length?1-r:(this.getDecimalForValue(e[1])-r)/2,o=this.getDecimalForValue(e[e.length-1]),s=1===e.length?o:(o-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;i=Fs(i,0,a),s=Fs(s,0,a),this._offsets={start:i,end:s,factor:1/(i+1+s)}}_generate(){const e=this._adapter,i=this.min,s=this.max,r=this.options,o=r.time,a=o.unit||u8(o.minUnit,i,s,this._getLabelCapacity(i)),l=un(r.ticks.stepSize,1),c="week"===a&&o.isoWeekday,u=Og(c)||!0===c,d={};let p,_,h=i;if(u&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,u?"day":a),e.diff(s,i,a)>1e5*l)throw new Error(i+" and "+s+" are too far apart with stepSize of "+l+" "+a);const v="data"===r.ticks.source&&this.getDataTimestamps();for(p=h,_=0;p<s;p=+e.add(p,l,a),_++)d8(d,p,v);return(p===s||"ticks"===r.bounds||1===_)&&d8(d,p,v),Object.keys(d).sort(l8).map(x=>+x)}getLabelForValue(e){const s=this.options.time;return this._adapter.format(e,s.tooltipFormat?s.tooltipFormat:s.displayFormats.datetime)}format(e,i){return this._adapter.format(e,i||this.options.time.displayFormats[this._unit])}_tickFormatFunction(e,i,s,r){const o=this.options,a=o.ticks.callback;if(a)return Li(a,[e,i,s],this);const l=o.time.displayFormats,c=this._unit,u=this._majorUnit,h=u&&l[u],p=s[i];return this._adapter.format(e,r||(u&&h&&p&&p.major?h:c&&l[c]))}generateTickLabels(e){let i,s,r;for(i=0,s=e.length;i<s;++i)r=e[i],r.label=this._tickFormatFunction(r.value,i,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const i=this._offsets,s=this.getDecimalForValue(e);return this.getPixelForDecimal((i.start+s)*i.factor)}getValueForPixel(e){const i=this._offsets,s=this.getDecimalForPixel(e)/i.factor-i.end;return this.min+s*(this.max-this.min)}_getLabelSize(e){const i=this.options.ticks,s=this.ctx.measureText(e).width,r=Ba(this.isHorizontal()?i.maxRotation:i.minRotation),o=Math.cos(r),a=Math.sin(r),l=this._resolveTickFontOptions(0).size;return{w:s*o+l*a,h:s*a+l*o}}_getLabelCapacity(e){const i=this.options.time,s=i.displayFormats,r=s[i.unit]||s.millisecond,o=this._tickFormatFunction(e,0,h8(this,[e],this._majorUnit),r),a=this._getLabelSize(o),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let i,s,e=this._cache.data||[];if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(i=0,s=r.length;i<s;++i)e=e.concat(r[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let i,s;if(e.length)return e;const r=this.getLabels();for(i=0,s=r.length;i<s;++i)e.push(c8(this,r[i]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return c6(e.sort(l8))}})();function WC(n,t,e){let r,o,a,l,i=0,s=n.length-1;e?(t>=n[i].pos&&t<=n[s].pos&&({lo:i,hi:s}=Yc(n,"pos",t)),({pos:r,time:a}=n[i]),({pos:o,time:l}=n[s])):(t>=n[i].time&&t<=n[s].time&&({lo:i,hi:s}=Yc(n,"time",t)),({time:r,pos:a}=n[i]),({time:o,pos:l}=n[s]));const c=o-r;return c?a+(l-a)*(t-r)/c:a}var rve=Object.freeze({__proto__:null,CategoryScale:Rye,LinearScale:class Fye extends zC{static id="linear";static defaults={ticks:{callback:DC.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=ns(t)?t:0,this.max=ns(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=Ba(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,r.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}},LogarithmicScale:class Bye extends lf{static id="logarithmic";static defaults={ticks:{callback:DC.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=zC.prototype.parse.apply(this,[t,e]);if(0!==i)return ns(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=ns(t)?Math.max(0,t):null,this.max=ns(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ns(this._userMin)&&(this.min=t===cf(this.min,0)?cf(this.min,-1):cf(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const r=a=>i=t?i:a,o=a=>s=e?s:a;i===s&&(i<=0?(r(1),o(10)):(r(cf(i,-1)),o(cf(s,1)))),i<=0&&r(cf(s,-1)),s<=0&&o(cf(i,1)),this.min=i,this.max=s}buildTicks(){const t=this.options,i=function jye(n,{min:t,max:e}){t=Ro(n.min,t);const i=[],s=Ev(t);let r=function Yye(n,t){let i=Ev(t-n);for(;r8(n,t,i)>10;)i++;for(;r8(n,t,i)<10;)i--;return Math.min(i,Ev(n))}(t,e),o=r<0?Math.pow(10,Math.abs(r)):1;const a=Math.pow(10,r),l=s>r?Math.pow(10,s):0,c=Math.round((t-l)*o)/o,u=Math.floor((t-l)/a/10)*a*10;let d=Math.floor((c-u)/Math.pow(10,r)),h=Ro(n.min,Math.round((l+u+d*Math.pow(10,r))*o)/o);for(;h<e;)i.push({value:h,major:s8(h),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(r++,d=2,o=r>=0?1:o),h=Math.round((l+u+d*Math.pow(10,r))*o)/o;const p=Ro(n.max,h);return i.push({value:p,major:s8(p),significand:d}),i}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&s6(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return void 0===t?"0":gv(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=dd(t),this._valueRange=dd(this.max)-dd(t)}getPixelForValue(t){return(void 0===t||0===t)&&(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(dd(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}},RadialLinearScale:class eve extends zC{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:DC.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ar(k2(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=ns(t)&&!isNaN(t)?t:0,this.max=ns(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/k2(this.options))}generateTickLabels(t){zC.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((e,i)=>{const s=Li(this.options.pointLabels.callback,[e,i],this);return s||0===s?s:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?function Vye(n){const t={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},e=Object.assign({},t),i=[],s=[],r=n._pointLabels.length,o=n.options.pointLabels,a=o.centerPointLabels?ji/r:0;for(let l=0;l<r;l++){const c=o.setContext(n.getPointLabelContext(l));s[l]=c.padding;const u=n.getPointPosition(l,n.drawingArea+s[l],a),d=Os(c.font),h=Hye(n.ctx,d,n._pointLabels[l]);i[l]=h;const p=No(n.getIndexAngle(l)+a),_=Math.round(KO(p));Uye(e,t,p,o8(_,u.x,h.w,0,180),o8(_,u.y,h.h,90,270))}n.setCenterPoint(t.l-e.l,e.r-t.r,t.t-e.t,e.b-t.b),n._pointLabelItems=function Wye(n,t,e){const i=[],s=n._pointLabels.length,r=n.options,{centerPointLabels:o,display:a}=r.pointLabels,l={extra:k2(r)/2,additionalAngle:o?ji/s:0};let c;for(let u=0;u<s;u++){l.padding=e[u],l.size=t[u];const d=zye(n,u,l);i.push(d),"auto"===a&&(d.visible=Gye(d,c),d.visible&&(c=d))}return i}(n,i,s)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return No(t*(Bi/(this._pointLabels.length||1))+Ba(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(Hn(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(Hn(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function Qye(n,t,e){return hd(n,{label:e,index:t,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const s=this.getIndexAngle(t)-ps+i;return{x:Math.cos(s)*e+this.xCenter,y:Math.sin(s)*e+this.yCenter,angle:s}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:s,bottom:r}=this._pointLabelItems[t];return{left:e,top:i,right:s,bottom:r}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),a8(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:s,border:r}=e,o=this._pointLabels.length;let a,l,c;if(e.pointLabels.display&&function Zye(n,t){const{ctx:e,options:{pointLabels:i}}=n;for(let s=t-1;s>=0;s--){const r=n._pointLabelItems[s];if(!r.visible)continue;const o=i.setContext(n.getPointLabelContext(s));Xye(e,o,r);const a=Os(o.font),{x:l,y:c,textAlign:u}=r;ef(e,n._pointLabels[s],l,c+a.lineHeight/2,a,{color:o.color,textAlign:u,textBaseline:"middle"})}}(this,o),s.display&&this.ticks.forEach((u,d)=>{if(0!==d||0===d&&this.min<0){l=this.getDistanceFromCenterForValue(u.value);const h=this.getContext(d),p=s.setContext(h),_=r.setContext(h);!function Jye(n,t,e,i,s){const r=n.ctx,o=t.circular,{color:a,lineWidth:l}=t;!o&&!i||!a||!l||e<0||(r.save(),r.strokeStyle=a,r.lineWidth=l,r.setLineDash(s.dash),r.lineDashOffset=s.dashOffset,r.beginPath(),a8(n,e,o,i),r.closePath(),r.stroke(),r.restore())}(this,p,l,o,_)}}),i.display){for(t.save(),a=o-1;a>=0;a--){const u=i.setContext(this.getPointLabelContext(a)),{color:d,lineWidth:h}=u;!h||!d||(t.lineWidth=h,t.strokeStyle=d,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&this.min>=0&&!e.reverse)return;const c=i.setContext(this.getContext(l)),u=Os(c.font);if(r=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,o=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const d=ar(c.backdropPadding);t.fillRect(-o/2-d.left,-r-u.size/2-d.top,o+d.width,u.size+d.height)}ef(t,a.label,0,-r,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}},TimeScale:O2,TimeSeriesScale:class sve extends O2{static id="timeseries";static defaults=O2.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=WC(e,this.min),this._tableRange=WC(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],r=[];let o,a,l,c,u;for(o=0,a=t.length;o<a;++o)c=t[o],c>=e&&c<=i&&s.push(c);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o<a;++o)u=s[o+1],l=s[o-1],c=s[o],Math.round((u+l)/2)!==c&&r.push({time:c,pos:o/(a-1)});return r}_generate(){const t=this.min,e=this.max;let i=super.getDataTimestamps();return(!i.includes(t)||!i.length)&&i.splice(0,0,t),(!i.includes(e)||1===i.length)&&i.push(e),i.sort((s,r)=>s-r)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(WC(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return WC(this._table,i*this._tableRange+this._minPos,!0)}}});const ove=[rme,F_e,Lye,rve],$C=function cve(n,t){return n===t||n!=n&&t!=t},qC=function uve(n,t){for(var e=n.length;e--;)if($C(n[e][0],t))return e;return-1};var hve=Array.prototype.splice;function Rg(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var i=n[t];this.set(i[0],i[1])}}Rg.prototype.clear=function ave(){this.__data__=[],this.size=0},Rg.prototype.delete=function fve(n){var t=this.__data__,e=qC(t,n);return!(e<0||(e==t.length-1?t.pop():hve.call(t,e,1),--this.size,0))},Rg.prototype.get=function gve(n){var t=this.__data__,e=qC(t,n);return e<0?void 0:t[e][1]},Rg.prototype.has=function _ve(n){return qC(this.__data__,n)>-1},Rg.prototype.set=function vve(n,t){var e=this.__data__,i=qC(e,n);return i<0?(++this.size,e.push([n,t])):e[i][1]=t,this};const KC=Rg,f8="object"==typeof global&&global&&global.Object===Object&&global;var Ove="object"==typeof self&&self&&self.Object===Object&&self;const Ng=f8||Ove||Function("return this")();var Pve=Ng.Symbol,p8=Object.prototype,Ive=p8.hasOwnProperty,Ave=p8.toString,kv=Pve?Pve.toStringTag:void 0;var Yve=Object.prototype.toString;var g8=Pve?Pve.toStringTag:void 0;const ZC=function Uve(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":g8&&g8 in Object(n)?function Rve(n){var t=Ive.call(n,kv),e=n[kv];try{n[kv]=void 0;var i=!0}catch{}var s=Ave.call(n);return i&&(t?n[kv]=e:delete n[kv]),s}(n):function jve(n){return Yve.call(n)}(n)},uf=function zve(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)},L2=function Kve(n){if(!uf(n))return!1;var t=ZC(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},P2=Ng["__core-js_shared__"];var m8=function(){var n=/[^.]+$/.exec(P2&&P2.keys&&P2.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();var e0e=Function.prototype.toString;var s0e=/^\[object .+?Constructor\]$/,c0e=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const d0e=function u0e(n){return!(!uf(n)||function Zve(n){return!!m8&&m8 in n}(n))&&(L2(n)?c0e:s0e).test(function t0e(n){if(null!=n){try{return e0e.call(n)}catch{}try{return n+""}catch{}}return""}(n))},I2=function p0e(n,t){var e=function h0e(n,t){return n?.[t]}(n,t);return d0e(e)?e:void 0},_8=I2(Ng,"Map"),Ov=I2(Object,"create");var M0e=Object.prototype.hasOwnProperty;var T0e=Object.prototype.hasOwnProperty;function Fg(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var i=n[t];this.set(i[0],i[1])}}Fg.prototype.clear=function _0e(){this.__data__=Ov?Ov(null):{},this.size=0},Fg.prototype.delete=function v0e(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},Fg.prototype.get=function D0e(n){var t=this.__data__;if(Ov){var e=t[n];return"__lodash_hash_undefined__"===e?void 0:e}return M0e.call(t,n)?t[n]:void 0},Fg.prototype.has=function E0e(n){var t=this.__data__;return Ov?void 0!==t[n]:T0e.call(t,n)},Fg.prototype.set=function L0e(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=Ov&&void 0===t?"__lodash_hash_undefined__":t,this};const y8=Fg,JC=function F0e(n,t){var e=n.__data__;return function R0e(n){var t=typeof n;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==n:null===n}(t)?e["string"==typeof t?"string":"hash"]:e.map};function Yg(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var i=n[t];this.set(i[0],i[1])}}Yg.prototype.clear=function I0e(){this.size=0,this.__data__={hash:new y8,map:new(_8||KC),string:new y8}},Yg.prototype.delete=function Y0e(n){var t=JC(this,n).delete(n);return this.size-=t?1:0,t},Yg.prototype.get=function B0e(n){return JC(this,n).get(n)},Yg.prototype.has=function V0e(n){return JC(this,n).has(n)},Yg.prototype.set=function z0e(n,t){var e=JC(this,n),i=e.size;return e.set(n,t),this.size+=e.size==i?0:1,this};const W0e=Yg;function jg(n){var t=this.__data__=new KC(n);this.size=t.size}jg.prototype.clear=function wve(){this.__data__=new KC,this.size=0},jg.prototype.delete=function Mve(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e},jg.prototype.get=function xve(n){return this.__data__.get(n)},jg.prototype.has=function Tve(n){return this.__data__.has(n)},jg.prototype.set=function q0e(n,t){var e=this.__data__;if(e instanceof KC){var i=e.__data__;if(!_8||i.length<199)return i.push([n,t]),this.size=++e.size,this;e=this.__data__=new W0e(i)}return e.set(n,t),this.size=e.size,this};const X0e=jg;var Z0e=function(){try{var n=I2(Object,"defineProperty");return n({},"",{}),n}catch{}}();const QC=Z0e,A2=function J0e(n,t,e){"__proto__"==t&&QC?QC(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e},R2=function Q0e(n,t,e){(void 0!==e&&!$C(n[t],e)||void 0===e&&!(t in n))&&A2(n,t,e)};var t1e=function e1e(n){return function(t,e,i){for(var s=-1,r=Object(t),o=i(t),a=o.length;a--;){var l=o[n?a:++s];if(!1===e(r[l],l,r))break}return t}}();const n1e=t1e;var v8="object"==typeof exports&&exports&&!exports.nodeType&&exports,b8=v8&&"object"==typeof module&&module&&!module.nodeType&&module,w8=b8&&b8.exports===v8?Ng.Buffer:void 0,C8=w8?w8.allocUnsafe:void 0;const M8=Ng.Uint8Array,u1e=function c1e(n,t){var e=t?function a1e(n){var t=new n.constructor(n.byteLength);return new M8(t).set(new M8(n)),t}(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)};var D8=Object.create,f1e=function(){function n(){}return function(t){if(!uf(t))return{};if(D8)return D8(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}();const p1e=f1e;var m1e=function g1e(n,t){return function(e){return n(t(e))}}(Object.getPrototypeOf,Object);const x8=m1e;var _1e=Object.prototype;const S8=function y1e(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||_1e)},Lv=function w1e(n){return null!=n&&"object"==typeof n},T8=function M1e(n){return Lv(n)&&"[object Arguments]"==ZC(n)};var E8=Object.prototype,D1e=E8.hasOwnProperty,x1e=E8.propertyIsEnumerable,S1e=T8(function(){return arguments}())?T8:function(n){return Lv(n)&&D1e.call(n,"callee")&&!x1e.call(n,"callee")};const N2=S1e,F2=Array.isArray,k8=function k1e(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991},Y2=function O1e(n){return null!=n&&k8(n.length)&&!L2(n)};var O8="object"==typeof exports&&exports&&!exports.nodeType&&exports,L8=O8&&"object"==typeof module&&module&&!module.nodeType&&module,P8=L8&&L8.exports===O8?Ng.Buffer:void 0;const I8=(P8?P8.isBuffer:void 0)||function I1e(){return!1};var A8=Function.prototype.toString,H1e=Object.prototype.hasOwnProperty,V1e=A8.call(Object);var Hi={};Hi["[object Float32Array]"]=Hi["[object Float64Array]"]=Hi["[object Int8Array]"]=Hi["[object Int16Array]"]=Hi["[object Int32Array]"]=Hi["[object Uint8Array]"]=Hi["[object Uint8ClampedArray]"]=Hi["[object Uint16Array]"]=Hi["[object Uint32Array]"]=!0,Hi["[object Arguments]"]=Hi["[object Array]"]=Hi["[object ArrayBuffer]"]=Hi["[object Boolean]"]=Hi["[object DataView]"]=Hi["[object Date]"]=Hi["[object Error]"]=Hi["[object Function]"]=Hi["[object Map]"]=Hi["[object Number]"]=Hi["[object Object]"]=Hi["[object RegExp]"]=Hi["[object Set]"]=Hi["[object String]"]=Hi["[object WeakMap]"]=!1;var R8="object"==typeof exports&&exports&&!exports.nodeType&&exports,Pv=R8&&"object"==typeof module&&module&&!module.nodeType&&module,j2=Pv&&Pv.exports===R8&&f8.process,bbe=function(){try{return Pv&&Pv.require&&Pv.require("util").types||j2&&j2.binding&&j2.binding("util")}catch{}}(),F8=bbe&&bbe.isTypedArray;const Y8=F8?function _be(n){return function(t){return n(t)}}(F8):function gbe(n){return Lv(n)&&k8(n.length)&&!!Hi[ZC(n)]},B2=function Cbe(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]};var Dbe=Object.prototype.hasOwnProperty;const Sbe=function xbe(n,t,e){var i=n[t];(!Dbe.call(n,t)||!$C(i,e)||void 0===e&&!(t in n))&&A2(n,t,e)};var Pbe=/^(?:0|[1-9]\d*)$/;const j8=function Ibe(n,t){var e=typeof n;return!!(t=t??9007199254740991)&&("number"==e||"symbol"!=e&&Pbe.test(n))&&n>-1&&n%1==0&&n<t};var Rbe=Object.prototype.hasOwnProperty;const Fbe=function Nbe(n,t){var e=F2(n),i=!e&&N2(n),s=!e&&!i&&I8(n),r=!e&&!i&&!s&&Y8(n),o=e||i||s||r,a=o?function kbe(n,t){for(var e=-1,i=Array(n);++e<n;)i[e]=t(e);return i}(n.length,String):[],l=a.length;for(var c in n)(t||Rbe.call(n,c))&&(!o||!("length"==c||s&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||j8(c,l)))&&a.push(c);return a};var Hbe=Object.prototype.hasOwnProperty;const Ube=function Vbe(n){if(!uf(n))return function Ybe(n){var t=[];if(null!=n)for(var e in Object(n))t.push(e);return t}(n);var t=S8(n),e=[];for(var i in n)"constructor"==i&&(t||!Hbe.call(n,i))||e.push(i);return e},B8=function zbe(n){return Y2(n)?Fbe(n,!0):Ube(n)},Wbe=function Gbe(n){return function Tbe(n,t,e,i){var s=!e;e||(e={});for(var r=-1,o=t.length;++r<o;){var a=t[r],l=i?i(e[a],n[a],a,e,n):void 0;void 0===l&&(l=n[a]),s?A2(e,a,l):Sbe(e,a,l)}return e}(n,B8(n))},qbe=function $be(n,t,e,i,s,r,o){var a=B2(n,e),l=B2(t,e),c=o.get(l);if(c)R2(n,e,c);else{var u=r?r(a,l,e+"",n,t,o):void 0,d=void 0===u;if(d){var h=F2(l),p=!h&&I8(l),_=!h&&!p&&Y8(l);u=l,h||p||_?F2(a)?u=a:function L1e(n){return Lv(n)&&Y2(n)}(a)?u=function d1e(n,t){var e=-1,i=n.length;for(t||(t=Array(i));++e<i;)t[e]=n[e];return t}(a):p?(d=!1,u=function s1e(n,t){if(t)return n.slice();var e=n.length,i=C8?C8(e):new n.constructor(e);return n.copy(i),i}(l,!0)):_?(d=!1,u=u1e(l,!0)):u=[]:function U1e(n){if(!Lv(n)||"[object Object]"!=ZC(n))return!1;var t=x8(n);if(null===t)return!0;var e=H1e.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&A8.call(e)==V1e}(l)||N2(l)?(u=a,N2(a)?u=Wbe(a):(!uf(a)||L2(a))&&(u=function v1e(n){return"function"!=typeof n.constructor||S8(n)?{}:p1e(x8(n))}(l))):d=!1}d&&(o.set(l,u),s(u,l,i,r,o),o.delete(l)),R2(n,e,u)}},Kbe=function H8(n,t,e,i,s){n!==t&&n1e(t,function(r,o){if(s||(s=new X0e),uf(r))qbe(n,t,o,e,H8,i,s);else{var a=i?i(B2(n,o),r,o+"",n,t,s):void 0;void 0===a&&(a=r),R2(n,o,a)}},B8)},V8=function Xbe(n){return n};var U8=Math.max;const nwe=function twe(n){return function(){return n}};var iwe=QC?function(n,t){return QC(n,"toString",{configurable:!0,enumerable:!1,value:nwe(t),writable:!0})}:V8,awe=Date.now,cwe=function lwe(n){var t=0,e=0;return function(){var i=awe(),s=16-(i-e);if(e=i,s>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(iwe);const uwe=cwe,hwe=function dwe(n,t){return uwe(function Qbe(n,t,e){return t=U8(void 0===t?n.length-1:t,0),function(){for(var i=arguments,s=-1,r=U8(i.length-t,0),o=Array(r);++s<r;)o[s]=i[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=i[s];return a[t]=e(o),function Zbe(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}(n,this,a)}}(n,t,V8),n+"")};var mwe=function gwe(n){return hwe(function(t,e){var i=-1,s=e.length,r=s>1?e[s-1]:void 0,o=s>2?e[2]:void 0;for(r=n.length>3&&"function"==typeof r?(s--,r):void 0,o&&function fwe(n,t,e){if(!uf(e))return!1;var i=typeof t;return!!("number"==i?Y2(e)&&j8(t,e.length):"string"==i&&t in e)&&$C(e[t],n)}(e[0],e[1],o)&&(r=s<3?void 0:r,s=1),t=Object(t);++i<s;){var a=e[i];a&&n(t,a,i,r)}return t})}(function(n,t,e){Kbe(n,t,e)});const z8=mwe,G8=new dt("Configuration for ngCharts");function _we(...n){return{registerables:[...ove,...n]}}function ywe(...n){const t=z8({},...n);return{provide:G8,useValue:t}}let vwe=(()=>{class n{constructor(){this.colorschemesOptions=new Gt(void 0)}setColorschemesOptions(e){this.pColorschemesOptions=e,this.colorschemesOptions.next(e)}getColorschemesOptions(){return this.pColorschemesOptions}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ys=(()=>{class n{constructor(e,i,s,r){this.zone=i,this.themeService=s,this.type="bar",this.plugins=[],this.chartClick=new Ne,this.chartHover=new Ne,this.subs=[],this.themeOverrides={},r?.registerables&&b2.register(...r.registerables),r?.defaults&&Zi.set(r.defaults),this.ctx=e.nativeElement.getContext("2d"),this.subs.push(this.themeService.colorschemesOptions.pipe(Iw()).subscribe(o=>this.themeChanged(o)))}ngOnChanges(e){const i=["type"],s=Object.getOwnPropertyNames(e);if(s.some(r=>i.includes(r))||s.every(r=>e[r].isFirstChange()))this.render();else{const r=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,r.data),this.chart.config.plugins&&Object.assign(this.chart.config.plugins,r.plugins),this.chart.config.options&&Object.assign(this.chart.config.options,r.options)),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(e=>e.unsubscribe())}render(){return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new b2(this.ctx,this.getChartConfiguration()))}update(e){this.chart&&this.zone.runOutsideAngular(()=>this.chart?.update(e))}hideDataset(e,i){this.chart&&(this.chart.getDatasetMeta(e).hidden=i,this.update())}isDatasetHidden(e){return this.chart?.getDatasetMeta(e)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(e){this.themeOverrides=e,this.chart&&(this.chart.config.options&&Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return z8({onHover:(e,i)=>{!this.chartHover.observed&&!this.chartHover.observers?.length||this.zone.run(()=>this.chartHover.emit({event:e,active:i}))},onClick:(e,i)=>{!this.chartClick.observed&&!this.chartClick.observers?.length||this.zone.run(()=>this.chartClick.emit({event:e,active:i}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),options:this.getChartOptions(),plugins:this.plugins}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn),W(sn),W(vwe),W(G8,8))};static#t=this.\u0275dir=rt({type:n,selectors:[["canvas","baseChart",""]],inputs:{type:"type",legend:"legend",data:"data",options:"options",plugins:"plugins",labels:"labels",datasets:"datasets"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],standalone:!0,features:[Ut]})}return n})();const cr=class bwe{constructor(t){this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}},eM=class Cwe{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}};function gd(n,t){return n>t?1:n<t?-1:0}function tM(n,t,e){if(n[0]<=t)return 0;const i=n.length;if(t<=n[i-1])return i-1;if("function"==typeof e){for(let s=1;s<i;++s){const r=n[s];if(r===t)return s;if(r<t)return e(t,n[s-1],r)>0?s-1:s}return i-1}if(e>0){for(let s=1;s<i;++s)if(n[s]<t)return s-1;return i-1}if(e<0){for(let s=1;s<i;++s)if(n[s]<=t)return s;return i-1}for(let s=1;s<i;++s){if(n[s]==t)return s;if(n[s]<t)return n[s-1]-t<t-n[s]?s-1:s}return i-1}function Dwe(n,t,e){for(;t<e;){const i=n[t];n[t]=n[e],n[e]=i,++t,--e}}function ca(n,t){const e=Array.isArray(t)?t:[t],i=e.length;for(let s=0;s<i;s++)n[n.length]=e[s]}function Uc(n,t){const e=n.length;if(e!==t.length)return!1;for(let i=0;i<e;i++)if(n[i]!==t[i])return!1;return!0}function Ha(){return!0}function Bg(){return!1}function Hg(){}function W8(n){let e,i,s,t=!1;return function(){const r=Array.prototype.slice.call(arguments);return(!t||this!==s||!Uc(r,i))&&(t=!0,s=this,i=r,e=n.apply(this,arguments)),e}}function Vg(n){for(const t in n)delete n[t]}function md(n){let t;for(t in n)return!1;return!t}const Iv=class Twe extends eM{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),s=i[t]||(i[t]=[]);s.includes(e)||s.push(e)}dispatchEvent(t){const e="string"==typeof t,i=e?t:t.type,s=this.listeners_&&this.listeners_[i];if(!s)return;const r=e?new cr(t):t;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});let l;i in o||(o[i]=0,a[i]=0),++o[i];for(let c=0,u=s.length;c<u;++c)if(l="handleEvent"in s[c]?s[c].handleEvent(r):s[c].call(this,r),!1===l||r.propagationStopped){l=!1;break}if(0==--o[i]){let c=a[i];for(delete a[i];c--;)this.removeEventListener(i,Hg);delete o[i]}return l}disposeInternal(){this.listeners_&&Vg(this.listeners_)}getListeners(t){return this.listeners_&&this.listeners_[t]||void 0}hasListener(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const s=i.indexOf(e);-1!==s&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[s]=Hg,++this.pendingRemovals_[t]):(i.splice(s,1),0===i.length&&delete this.listeners_[t]))}};function Kt(n,t,e,i,s){if(i&&i!==n&&(e=e.bind(i)),s){const o=e;e=function(){n.removeEventListener(t,e),o.apply(this,arguments)}}const r={target:n,type:t,listener:e};return n.addEventListener(t,e),r}function Ug(n,t,e,i){return Kt(n,t,e,i,!0)}function si(n){n&&n.target&&(n.target.removeEventListener(n.type,n.listener),Vg(n))}const $8=class nM extends Iv{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent("change")}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,s=new Array(i);for(let r=0;r<i;++r)s[r]=Kt(this,t[r],e);return s}return Kt(this,t,e)}onceInternal(t,e){let i;if(Array.isArray(t)){const s=t.length;i=new Array(s);for(let r=0;r<s;++r)i[r]=Ug(this,t[r],e)}else i=Ug(this,t,e);return e.ol_key=i,i}unInternal(t,e){const i=e.ol_key;if(i)!function Ewe(n){if(Array.isArray(n))for(let t=0,e=n.length;t<e;++t)si(n[t]);else si(n)}(i);else if(Array.isArray(t))for(let s=0,r=t.length;s<r;++s)this.removeEventListener(t[s],e);else this.removeEventListener(t,e)}};function zt(){throw new Error("Unimplemented abstract method.")}let kwe=0;function Tt(n){return n.ol_uid||(n.ol_uid=String(++kwe))}class q8 extends cr{constructor(t,e,i){super(t),this.key=e,this.oldValue=i}}const Va=class Owe extends $8{constructor(t){super(),Tt(this),this.values_=null,void 0!==t&&this.setProperties(t)}get(t){let e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e}getKeys(){return this.values_&&Object.keys(this.values_)||[]}getProperties(){return this.values_&&Object.assign({},this.values_)||{}}getPropertiesInternal(){return this.values_}hasProperties(){return!!this.values_}notify(t,e){let i;i=`change:${t}`,this.hasListener(i)&&this.dispatchEvent(new q8(i,t,e)),i="propertychange",this.hasListener(i)&&this.dispatchEvent(new q8(i,t,e))}addChangeListener(t,e){this.addEventListener(`change:${t}`,e)}removeChangeListener(t,e){this.removeEventListener(`change:${t}`,e)}set(t,e,i){const s=this.values_||(this.values_={});if(i)s[t]=e;else{const r=s[t];s[t]=e,r!==e&&this.notify(t,r)}}setProperties(t,e){for(const i in t)this.set(i,t[i],e)}applyProperties(t){t.values_&&Object.assign(this.values_||(this.values_={}),t.values_)}unset(t,e){if(this.values_&&t in this.values_){const i=this.values_[t];delete this.values_[t],md(this.values_)&&(this.values_=null),e||this.notify(t,i)}}};class iM extends cr{constructor(t,e,i){super(t),this.element=e,this.index=i}}const Ls=class Lwe extends Va{constructor(t,e){if(super(),this.unique_=!!(e=e||{}).unique,this.array_=t||[],this.unique_)for(let i=0,s=this.array_.length;i<s;++i)this.assertUnique_(this.array_[i],i);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(t){for(let e=0,i=t.length;e<i;++e)this.push(t[e]);return this}forEach(t){const e=this.array_;for(let i=0,s=e.length;i<s;++i)t(e[i],i,e)}getArray(){return this.array_}item(t){return this.array_[t]}getLength(){return this.get("length")}insertAt(t,e){if(t<0||t>this.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new iM("add",e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,s=e.length;i<s;++i)if(e[i]===t)return this.removeAt(i)}removeAt(t){if(t<0||t>=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new iM("remove",e,t)),e}setAt(t,e){if(t>=this.getLength())return void this.insertAt(t,e);if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const s=this.array_[t];this.array_[t]=e,this.dispatchEvent(new iM("remove",s,t)),this.dispatchEvent(new iM("add",e,t))}updateLength_(){this.set("length",this.array_.length)}assertUnique_(t,e){for(let i=0,s=this.array_.length;i<s;++i)if(this.array_[i]===t&&i!==e)throw new Error("Duplicate item added to a unique collection")}},_d=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",Pwe=_d.includes("firefox"),Iwe=(_d.includes("safari")&&!_d.includes("chrom")&&(_d.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(_d)),_d.includes("webkit")&&!_d.includes("edge")),X8=_d.includes("macintosh"),Z8=typeof devicePixelRatio<"u"?devicePixelRatio:1,H2=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,V2=typeof Image<"u"&&Image.prototype.decode,J8=function(){let n=!1;try{const t=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch{}return n}();function An(n,t){if(!n)throw new Error(t)}function Cs(n,t){const e=t[0],i=t[1];return t[0]=n[0]*e+n[2]*i+n[4],t[1]=n[1]*e+n[3]*i+n[5],t}function ua(n,t,e,i,s,r,o,a){const l=Math.sin(r),c=Math.cos(r);return n[0]=i*c,n[1]=s*l,n[2]=-i*l,n[3]=s*c,n[4]=o*i*c-a*i*l+t,n[5]=o*s*l+a*s*c+e,n}function Nv(n,t){const e=function Ywe(n){return n[0]*n[3]-n[1]*n[2]}(t);An(0!==e,"Transformation matrix cannot be inverted");const i=t[0],s=t[1],r=t[2],o=t[3],a=t[4],l=t[5];return n[0]=o/e,n[1]=-s/e,n[2]=-r/e,n[3]=i/e,n[4]=(r*l-o*a)/e,n[5]=-(i*l-s*a)/e,n}let ez;function sM(n){const t="matrix("+n.join(", ")+")";if(H2)return t;const e=ez||(ez=document.createElement("div"));return e.style.transform=t,e.style.transform}new Array(6);const js={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function Fo(n){const t=[1/0,1/0,-1/0,-1/0];for(let e=0,i=n.length;e<i;++e)Gg(t,n[e]);return t}function da(n,t,e){return e?(e[0]=n[0]-t,e[1]=n[1]-t,e[2]=n[2]+t,e[3]=n[3]+t,e):[n[0]-t,n[1]-t,n[2]+t,n[3]+t]}function tz(n,t){return t?(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t):n.slice()}function hf(n,t,e){let i,s;return i=t<n[0]?n[0]-t:n[2]<t?t-n[2]:0,s=e<n[1]?n[1]-e:n[3]<e?e-n[3]:0,i*i+s*s}function zc(n,t){return G2(n,t[0],t[1])}function Jr(n,t){return n[0]<=t[0]&&t[2]<=n[2]&&n[1]<=t[1]&&t[3]<=n[3]}function G2(n,t,e){return n[0]<=t&&t<=n[2]&&n[1]<=e&&e<=n[3]}function W2(n,t){const o=t[0],a=t[1];let l=js.UNKNOWN;return o<n[0]?l|=js.LEFT:o>n[2]&&(l|=js.RIGHT),a<n[1]?l|=js.BELOW:a>n[3]&&(l|=js.ABOVE),l===js.UNKNOWN&&(l=js.INTERSECTING),l}function Il(n,t,e,i,s){return s?(s[0]=n,s[1]=t,s[2]=e,s[3]=i,s):[n,t,e,i]}function yd(n){return Il(1/0,1/0,-1/0,-1/0,n)}function zg(n,t){const e=n[0],i=n[1];return Il(e,i,e,i,t)}function $2(n,t,e,i,s){return sz(yd(s),n,t,e,i)}function Ua(n,t){return n[0]==t[0]&&n[2]==t[2]&&n[1]==t[1]&&n[3]==t[3]}function Gg(n,t){t[0]<n[0]&&(n[0]=t[0]),t[0]>n[2]&&(n[2]=t[0]),t[1]<n[1]&&(n[1]=t[1]),t[1]>n[3]&&(n[3]=t[1])}function sz(n,t,e,i,s){for(;e<i;e+=s)Vwe(n,t[e],t[e+1]);return n}function Vwe(n,t,e){n[0]=Math.min(n[0],t),n[1]=Math.min(n[1],e),n[2]=Math.max(n[2],t),n[3]=Math.max(n[3],e)}function q2(n,t){let e;return e=t(oM(n)),!!(e||(e=t(Fv(n)),e)||(e=t(aM(n)),e)||(e=t(Gc(n)),e))&&e}function rM(n){let t=0;return vd(n)||(t=yn(n)*Ji(n)),t}function oM(n){return[n[0],n[1]]}function Fv(n){return[n[2],n[1]]}function kr(n){return[(n[0]+n[2])/2,(n[1]+n[3])/2]}function Uwe(n,t){let e;if("bottom-left"===t)e=oM(n);else if("bottom-right"===t)e=Fv(n);else if("top-left"===t)e=Gc(n);else{if("top-right"!==t)throw new Error("Invalid corner");e=aM(n)}return e}function Yv(n,t,e,i,s){const[r,o,a,l,c,u,d,h]=K2(n,t,e,i);return Il(Math.min(r,a,c,d),Math.min(o,l,u,h),Math.max(r,a,c,d),Math.max(o,l,u,h),s)}function K2(n,t,e,i){const s=t*i[0]/2,r=t*i[1]/2,o=Math.cos(e),a=Math.sin(e),l=s*o,c=s*a,u=r*o,d=r*a,h=n[0],p=n[1];return[h-l+d,p-c-u,h-l-d,p-c+u,h+l-d,p+c+u,h+l+d,p+c-u,h-l+d,p-c-u]}function Ji(n){return n[3]-n[1]}function za(n,t,e){const i=e||[1/0,1/0,-1/0,-1/0];return gi(n,t)?(i[0]=n[0]>t[0]?n[0]:t[0],i[1]=n[1]>t[1]?n[1]:t[1],i[2]=n[2]<t[2]?n[2]:t[2],i[3]=n[3]<t[3]?n[3]:t[3]):yd(i),i}function Gc(n){return[n[0],n[3]]}function aM(n){return[n[2],n[3]]}function yn(n){return n[2]-n[0]}function gi(n,t){return n[0]<=t[2]&&n[2]>=t[0]&&n[1]<=t[3]&&n[3]>=t[1]}function vd(n){return n[2]<n[0]||n[3]<n[1]}function X2(n,t){const e=t.getExtent(),i=kr(n);if(t.canWrapX()&&(i[0]<e[0]||i[0]>=e[2])){const s=yn(e),o=Math.floor((i[0]-e[0])/s)*s;n[0]-=o,n[2]-=o}return n}const jv={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var ff={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"],whitepoint:{2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}}};ff.max=ff.whitepoint[2].D65,ff.rgb=function(n,t){var r,o,a,e=n[0]/(t=t||ff.whitepoint[2].E)[0],i=n[1]/t[1],s=n[2]/t[2];return o=-.96924363628087*e+1.87596750150772*i+.041555057407175*s,a=.055630079696993*e+-.20397695888897*i+1.056971514242878*s,r=(r=3.240969941904521*e+-1.537383177570093*i+-.498610760293*s)>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*=12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*=12.92,[255*(r=Math.min(Math.max(0,r),1)),255*(o=Math.min(Math.max(0,o),1)),255*(a=Math.min(Math.max(0,a),1))]},jv.xyz=function(n,t){var e=n[0]/255,i=n[1]/255,s=n[2]/255;return[(.41239079926595*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.35758433938387*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.18048078840183*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92))*(t=t||ff.whitepoint[2].E)[0],(.21263900587151*e+.71516867876775*i+.072192315360733*s)*t[1],(.019330818715591*e+.11919477979462*i+.95053215224966*s)*t[2]]};const Ga=ff,Z2={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(n,t,e){var i,s,r,c,d,h,p;return 0===(r=n[0])?[0,0,0]:(i=n[1]/(13*r)+4*(d=Ga.whitepoint[e=e||2][t=t||"D65"][0])/(d+15*(h=Ga.whitepoint[e][t][1])+3*(p=Ga.whitepoint[e][t][2]))||0,s=n[2]/(13*r)+9*h/(d+15*h+3*p)||0,[9*(c=r>8?h*Math.pow((r+16)/116,3):h*r*.0011070564598794539)*i/(4*s)||0,c,c*(12-3*i-20*s)/(4*s)||0])}};Ga.luv=function(n,t,e){var i,s,r,l,c,u,d,h,p,_,v;_=4*(d=Ga.whitepoint[e=e||2][t=t||"D65"][0])/(d+15*(h=Ga.whitepoint[e][t][1])+3*(p=Ga.whitepoint[e][t][2])),v=9*h/(d+15*h+3*p),i=4*(l=n[0])/(l+15*(c=n[1])+3*(u=n[2]))||0,s=9*c/(l+15*c+3*u)||0;var P=c/h;return[r=P<=.008856451679035631?903.2962962962961*P:116*Math.pow(P,1/3)-16,13*r*(i-_),13*r*(s-v)]};var rz={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(n){var o,e=n[1];return o=n[2]/360*2*Math.PI,[n[0],e*Math.cos(o),e*Math.sin(o)]},xyz:function(n){return Z2.xyz(rz.luv(n))}};const qwe=rz;Z2.lchuv=function(n){var t=n[0],e=n[1],i=n[2],s=Math.sqrt(e*e+i*i),o=360*Math.atan2(i,e)/2/Math.PI;return o<0&&(o+=360),[t,s,o]},Ga.lchuv=function(n){return Z2.lchuv(Ga.luv(n))};const oz={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Kwe=function Xwe(n){var t,s,e=[],i=1;if("number"==typeof n)return{space:"rgb",values:[n>>>16,(65280&n)>>>8,255&n],alpha:1};if("number"==typeof n)return{space:"rgb",values:[n>>>16,(65280&n)>>>8,255&n],alpha:1};if(n=String(n).toLowerCase(),oz[n])e=oz[n].slice(),s="rgb";else if("transparent"===n)i=0,s="rgb",e=[0,0,0];else if("#"===n[0]){var r=n.slice(1),o=r.length;i=1,o<=4?(e=[parseInt(r[0]+r[0],16),parseInt(r[1]+r[1],16),parseInt(r[2]+r[2],16)],4===o&&(i=parseInt(r[3]+r[3],16)/255)):(e=[parseInt(r[0]+r[1],16),parseInt(r[2]+r[3],16),parseInt(r[4]+r[5],16)],8===o&&(i=parseInt(r[6]+r[7],16)/255)),e[0]||(e[0]=0),e[1]||(e[1]=0),e[2]||(e[2]=0),s="rgb"}else if(t=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(n)){var c="cmyk"===(s=t[1].replace(/a$/,""))?4:"gray"===s?1:3;e=t[2].trim().split(/\s*[,\/]\s*|\s+/),"color"===s&&(s=e.shift()),i=(e=e.map(function(u,d){if("%"===u[u.length-1])return u=parseFloat(u)/100,3===d?u:"rgb"===s?255*u:"h"===s[0]||"l"===s[0]&&!d?100*u:"lab"===s?125*u:"lch"===s?d<2?150*u:360*u:"o"!==s[0]||d?"oklab"===s?.4*u:"oklch"===s?d<2?.4*u:360*u:u:u;if("h"===s[d]||2===d&&"h"===s[s.length-1]){if(void 0!==az[u])return az[u];if(u.endsWith("deg"))return parseFloat(u);if(u.endsWith("turn"))return 360*parseFloat(u);if(u.endsWith("grad"))return 360*parseFloat(u)/400;if(u.endsWith("rad"))return 180*parseFloat(u)/Math.PI}return"none"===u?0:parseFloat(u)})).length>c?e.pop():1}else/[0-9](?:\s|\/|,)/.test(n)&&(e=n.match(/([0-9]+)/g).map(function(u){return parseFloat(u)}),s=n.match(/([a-z])/gi)?.join("")?.toLowerCase()||"rgb");return{space:s,values:e,alpha:i}};var az={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};const J2={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(n){var s,r,o,a,l,t=n[0]/360,e=n[1]/100,i=n[2]/100,c=0;if(0===e)return[l=255*i,l,l];for(s=2*i-(r=i<.5?i*(1+e):i+e-i*e),a=[0,0,0];c<3;)(o=t+1/3*-(c-1))<0?o++:o>1&&o--,a[c++]=255*(l=6*o<1?s+6*(r-s)*o:2*o<1?r:3*o<2?s+(r-s)*(2/3-o)*6:s);return a}};function rn(n,t,e){return Math.min(Math.max(n,t),e)}function lz(n,t,e,i,s,r){const o=s-e,a=r-i;if(0!==o||0!==a){const l=((n-e)*o+(t-i)*a)/(o*o+a*a);l>1?(e=s,i=r):l>0&&(e+=o*l,i+=a*l)}return Wc(n,t,e,i)}function Wc(n,t,e,i){const s=e-n,r=i-t;return s*s+r*r}function lM(n){return n*Math.PI/180}function $c(n,t){const e=n%t;return e*t<0?e+t:e}function Yo(n,t,e){return n+e*(t-n)}function $g(n,t){const e=Math.pow(10,t);return Math.round(n*e)/e}function qg(n,t){return Math.floor($g(n,t))}function bd(n,t){return Math.ceil($g(n,t))}function cz(n){return"string"==typeof n?n:hz(n)}jv.hsl=function(n){var a,c,t=n[0]/255,e=n[1]/255,i=n[2]/255,s=Math.min(t,e,i),r=Math.max(t,e,i),o=r-s;return r===s?a=0:t===r?a=(e-i)/o:e===r?a=2+(i-t)/o:i===r&&(a=4+(t-e)/o),(a=Math.min(60*a,360))<0&&(a+=360),c=(s+r)/2,[a,100*(r===s?0:c<=.5?o/(r+s):o/(2-r-s)),100*c]};const Qwe=1024,Bv={};let Q2=0;function eCe(n){if(4===n.length)return n;const t=n.slice();return t[3]=1,t}function uz(n){const t=Ga.lchuv(jv.xyz(n));return t[3]=n[3],t}function eL(n){if(Bv.hasOwnProperty(n))return Bv[n];if(Q2>=Qwe){let e=0;for(const i in Bv)3&e++||(delete Bv[i],--Q2)}const t=function Zwe(n){Array.isArray(n)&&n.raw&&(n=String.raw(...arguments)),n instanceof Number&&(n=+n);var t,s=Kwe(n);if(!s.space)return[];const r="h"===s.space[0]?J2.min:jv.min,o="h"===s.space[0]?J2.max:jv.max;return(t=Array(3))[0]=Math.min(Math.max(s.values[0],r[0]),o[0]),t[1]=Math.min(Math.max(s.values[1],r[1]),o[1]),t[2]=Math.min(Math.max(s.values[2],r[2]),o[2]),"h"===s.space[0]&&(t=J2.rgb(t)),t.push(Math.min(Math.max(s.alpha,0),1)),t}(n);if(4!==t.length)throw new Error('Failed to parse "'+n+'" as color');for(const e of t)if(isNaN(e))throw new Error('Failed to parse "'+n+'" as color');return dz(t),Bv[n]=t,++Q2,t}function uM(n){return Array.isArray(n)?n:eL(n)}function dz(n){return n[0]=rn(n[0]+.5|0,0,255),n[1]=rn(n[1]+.5|0,0,255),n[2]=rn(n[2]+.5|0,0,255),n[3]=rn(n[3],0,1),n}function hz(n){let t=n[0];t!=(0|t)&&(t=t+.5|0);let e=n[1];e!=(0|e)&&(e=e+.5|0);let i=n[2];return i!=(0|i)&&(i=i+.5|0),"rgba("+t+","+e+","+i+","+(void 0===n[3]?1:Math.round(100*n[3])/100)+")"}function fz(n,t,e){return t+":"+n+":"+(e?cz(e):"null")}const dM=new class iCe{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_)!(3&t++)&&!this.cache_[e].hasListener()&&(delete this.cache_[e],--this.cacheSize_)}}get(t,e,i){const s=fz(t,e,i);return s in this.cache_?this.cache_[s]:null}set(t,e,i,s){const r=fz(t,e,i);this.cache_[r]=s,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}},pz=class sCe extends Va{constructor(t){super(),this.background_=t.background;const e=Object.assign({},t);"object"==typeof t.properties&&(delete e.properties,Object.assign(e,t.properties)),e.opacity=void 0!==t.opacity?t.opacity:1,An("number"==typeof e.opacity,"Layer opacity must be a number"),e.visible=void 0===t.visible||t.visible,e.zIndex=t.zIndex,e.maxResolution=void 0!==t.maxResolution?t.maxResolution:1/0,e.minResolution=void 0!==t.minResolution?t.minResolution:0,e.minZoom=void 0!==t.minZoom?t.minZoom:-1/0,e.maxZoom=void 0!==t.maxZoom?t.maxZoom:1/0,this.className_=void 0!==e.className?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:void 0===t||t},i=this.getZIndex();return e.opacity=rn(Math.round(100*this.getOpacity())/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==i||e.managed?i:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return zt()}getLayerStatesArray(t){return zt()}getExtent(){return this.get("extent")}getMaxResolution(){return this.get("maxResolution")}getMinResolution(){return this.get("minResolution")}getMinZoom(){return this.get("minZoom")}getMaxZoom(){return this.get("maxZoom")}getOpacity(){return this.get("opacity")}getSourceState(){return zt()}getVisible(){return this.get("visible")}getZIndex(){return this.get("zIndex")}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set("extent",t)}setMaxResolution(t){this.set("maxResolution",t)}setMinResolution(t){this.set("minResolution",t)}setMaxZoom(t){this.set("maxZoom",t)}setMinZoom(t){this.set("minZoom",t)}setOpacity(t){An("number"==typeof t,"Layer opacity must be a number"),this.set("opacity",t)}setVisible(t){this.set("visible",t)}setZIndex(t){this.set("zIndex",t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}},jo={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},gz=42,tL=256,Kg={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937},nL=class oCe{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||Kg[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}},Hv=6378137,Xg=Math.PI*Hv,aCe=[-Xg,-Xg,Xg,Xg],lCe=[-180,-85,180,85],hM=Hv*Math.log(Math.tan(Math.PI/2));class Zg extends nL{constructor(t){super({code:t,units:"m",extent:aCe,global:!0,worldExtent:lCe,getPointResolution:function(e,i){return e/Math.cosh(i[1]/Hv)}})}}const mz=[new Zg("EPSG:3857"),new Zg("EPSG:102100"),new Zg("EPSG:102113"),new Zg("EPSG:900913"),new Zg("http://www.opengis.net/def/crs/EPSG/0/3857"),new Zg("http://www.opengis.net/gml/srs/epsg.xml#3857")];function cCe(n,t,e){const i=n.length;e=e>1?e:2,void 0===t&&(t=e>2?n.slice():new Array(i));for(let s=0;s<i;s+=e){t[s]=Xg*n[s]/180;let r=Hv*Math.log(Math.tan(Math.PI*(+n[s+1]+90)/360));r>hM?r=hM:r<-hM&&(r=-hM),t[s+1]=r}return t}function uCe(n,t,e){const i=n.length;e=e>1?e:2,void 0===t&&(t=e>2?n.slice():new Array(i));for(let s=0;s<i;s+=e)t[s]=180*n[s]/Xg,t[s+1]=360*Math.atan(Math.exp(n[s+1]/Hv))/Math.PI-90;return t}const _z=[-180,-90,180,90],hCe=6378137*Math.PI/180;class pf extends nL{constructor(t,e){super({code:t,units:"degrees",extent:_z,axisOrientation:e,global:!0,metersPerUnit:hCe,worldExtent:_z})}}const yz=[new pf("CRS:84"),new pf("EPSG:4326","neu"),new pf("urn:ogc:def:crs:OGC:1.3:CRS84"),new pf("urn:ogc:def:crs:OGC:2:84"),new pf("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new pf("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new pf("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];let fM={},$a={};function pM(n,t,e){const i=n.getCode(),s=t.getCode();i in $a||($a[i]={}),$a[i][s]=e}function qa(n,t){let e=!0;for(let i=n.length-1;i>=0;--i)if(n[i]!=t[i]){e=!1;break}return e}function sL(n,t){const e=Math.cos(t),i=Math.sin(t),r=n[1]*e+n[0]*i;return n[0]=n[0]*e-n[1]*i,n[1]=r,n}function _M(n,t){if(t.canWrapX()){const e=yn(t.getExtent()),i=function vCe(n,t,e){const i=t.getExtent();let s=0;return t.canWrapX()&&(n[0]<i[0]||n[0]>i[2])&&(e=e||yn(i),s=Math.floor((n[0]-i[0])/e)),s}(n,t,e);i&&(n[0]-=i*e)}return n}const yM=6371008.8;function rL(n,t,e){e=e||yM;const i=lM(n[1]),s=lM(t[1]),r=(s-i)/2,o=lM(t[0]-n[0])/2,a=Math.sin(r)*Math.sin(r)+Math.sin(o)*Math.sin(o)*Math.cos(i)*Math.cos(s);return 2*e*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}const Vv={info:1,warn:2,error:3,none:4};let bM=Vv.info;function Mz(...n){bM>Vv.warn||console.warn(...n)}let aL=!0;function lL(n,t){if(void 0!==t)for(let e=0,i=n.length;e<i;++e)t[e]=n[e];else t=n.slice();return t}function cL(n,t){if(void 0!==t&&n!==t){for(let e=0,i=n.length;e<i;++e)t[e]=n[e];n=t}return n}function CCe(n){(function pCe(n,t){fM[n]=t})(n.getCode(),n),pM(n,n,lL)}function Qt(n){return"string"==typeof n?function fCe(n){return fM[n]||fM[n.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}(n):n||null}function wM(n,t,e,i){let s;const r=(n=Qt(n)).getPointResolutionFunc();if(r){if(s=r(t,e),i&&i!==n.getUnits()){const o=n.getMetersPerUnit();o&&(s=s*o/Kg[i])}}else{const o=n.getUnits();if("degrees"==o&&!i||"degrees"==i)s=t;else{const a=Ka(n,Qt("EPSG:4326"));if(a===cL&&"degrees"!==o)s=t*n.getMetersPerUnit();else{let c=[e[0]-t/2,e[1],e[0]+t/2,e[1],e[0],e[1]-t/2,e[0],e[1]+t/2];c=a(c,c,2),s=(rL(c.slice(0,2),c.slice(2,4))+rL(c.slice(4,6),c.slice(6,8)))/2}const l=i?Kg[i]:n.getMetersPerUnit();void 0!==l&&(s/=l)}}return s}function xz(n){(function MCe(n){n.forEach(CCe)})(n),n.forEach(function(t){n.forEach(function(e){t!==e&&pM(t,e,lL)})})}function uL(n,t){return n?"string"==typeof n?Qt(n):n:Qt(t)}function Al(n,t){if(n===t)return!0;const e=n.getUnits()===t.getUnits();return(n.getCode()===t.getCode()||Ka(n,t)===lL)&&e}function Ka(n,t){let s=function gCe(n,t){let e;return n in $a&&t in $a[n]&&(e=$a[n][t]),e}(n.getCode(),t.getCode());return s||(s=cL),s}function Rl(n,t){return Ka(Qt(n),Qt(t))}function Xa(n,t,e){return Rl(t,e)(n,void 0,n.length)}let Or=null;function ha(){return Or}function Qg(n,t){return n}function Qi(n,t){return aL&&!qa(n,[0,0])&&n[0]>=-180&&n[0]<=180&&n[1]>=-90&&n[1]<=90&&(aL=!1,Mz("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),n}function CM(n,t){return n}function Nl(n,t){return n}function SCe(n,t){return n}function Ez(n,t,e){return function(i,s,r,o,a){if(!i)return;if(!s&&!t)return i;const l=t?0:r[0]*s,c=t?0:r[1]*s,u=a?a[0]:0,d=a?a[1]:0;let h=n[0]+l/2+u,p=n[2]-l/2+u,_=n[1]+c/2+d,v=n[3]-c/2+d;h>p&&(h=(p+h)/2,p=h),_>v&&(_=(v+_)/2,v=_);let x=rn(i[0],h,p),k=rn(i[1],_,v);if(o&&e&&s){const P=30*s;x+=-P*Math.log(1+Math.max(0,h-i[0])/P)+P*Math.log(1+Math.max(0,i[0]-p)/P),k+=-P*Math.log(1+Math.max(0,_-i[1])/P)+P*Math.log(1+Math.max(0,i[1]-v)/P)}return[x,k]}}function ECe(n){return n}function dL(n,t,e,i){const s=yn(t)/e[0],r=Ji(t)/e[1];return i?Math.min(n,Math.max(s,r)):Math.min(n,Math.min(s,r))}function hL(n,t,e){let i=Math.min(n,t);return i*=Math.log(1+50*Math.max(0,n/t-1))/50+1,e&&(i=Math.max(i,e),i/=Math.log(1+50*Math.max(0,e/n-1))/50+1),rn(i,e/2,2*t)}function kz(n,t,e,i,s){return e=void 0===e||e,function(r,o,a,l){if(void 0!==r){const c=i?dL(n,i,a,s):n;return e&&l?hL(r,c,t):rn(r,t,c)}}}function fL(n){if(void 0!==n)return 0}function Oz(n){if(void 0!==n)return n}function Lz(n){return Math.pow(n,3)}function gf(n){return 1-Lz(1-n)}function pL(n){return 3*n*n-2*n*n*n}function ICe(n){return n}function wd(n,t,e,i,s,r){r=r||[];let o=0;for(let a=t;a<e;a+=i){const l=n[a],c=n[a+1];r[o++]=s[0]*l+s[2]*c+s[4],r[o++]=s[1]*l+s[3]*c+s[5]}return r&&r.length!=o&&(r.length=o),r}function gL(n,t,e,i,s,r,o){o=o||[];const a=Math.cos(s),l=Math.sin(s),c=r[0],u=r[1];let d=0;for(let h=t;h<e;h+=i){const p=n[h]-c,_=n[h+1]-u;o[d++]=c+p*a-_*l,o[d++]=u+p*l+_*a;for(let v=h+2;v<h+i;++v)o[d++]=n[v]}return o&&o.length!=d&&(o.length=d),o}!function TCe(){xz(mz),xz(yz),function DCe(n,t,e,i){n.forEach(function(s){t.forEach(function(r){pM(s,r,e),pM(r,s,i)})})}(yz,mz,cCe,uCe)}();const Pz=[1,0,0,1,0,0],Iz=class NCe extends Va{constructor(){super(),this.extent_=[1/0,1/0,-1/0,-1/0],this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=W8((t,e,i)=>{if(!i)return this.getSimplifiedGeometry(e);const s=this.clone();return s.applyTransform(i),s.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return zt()}closestPointXY(t,e,i,s){return zt()}containsXY(t,e){const i=this.getClosestPoint([t,e]);return i[0]===t&&i[1]===e}getClosestPoint(t,e){return this.closestPointXY(t[0],t[1],e=e||[NaN,NaN],1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return zt()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&yd(e),this.extentRevision_=this.getRevision()}return function zwe(n,t){return t?(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t):n}(this.extent_,t)}rotate(t,e){zt()}scale(t,e,i){zt()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return zt()}getType(){return zt()}applyTransform(t){zt()}intersectsExtent(t){return zt()}translate(t,e){zt()}transform(t,e){const i=Qt(t),s="tile-pixels"==i.getUnits()?function(r,o,a){const l=i.getExtent(),c=i.getWorldExtent(),u=Ji(c)/Ji(l);return ua(Pz,c[0],c[3],u,-u,0,0,0),wd(r,0,r.length,a,Pz,o),Rl(i,e)(r,o,a)}:Rl(i,e);return this.applyTransform(s),this}};function MM(n){let t;return"XY"==n?t=2:"XYZ"==n||"XYM"==n?t=3:"XYZM"==n&&(t=4),t}const Cd=class FCe extends Iz{constructor(){super(),this.layout="XY",this.stride=2}computeExtent(t){return $2(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return zt()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)}getSimplifiedGeometryInternal(t){return this}getStride(){return this.stride}setFlatCoordinates(t,e){this.stride=MM(t),this.layout=t,this.flatCoordinates=e}setCoordinates(t,e){zt()}setLayout(t,e,i){let s;if(t)s=MM(t);else{for(let r=0;r<i;++r){if(0===e.length)return this.layout="XY",void(this.stride=2);e=e[0]}s=e.length,t=function mf(n){let t;return 2==n?t="XY":3==n?t="XYZ":4==n&&(t="XYZM"),t}(s)}this.layout=t,this.stride=s}applyTransform(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())}rotate(t,e){const i=this.getFlatCoordinates();if(i){const s=this.getStride();gL(i,0,i.length,s,t,e,i),this.changed()}}scale(t,e,i){void 0===e&&(e=t),i||(i=kr(this.getExtent()));const s=this.getFlatCoordinates();if(s){const r=this.getStride();(function ACe(n,t,e,i,s,r,o,a){a=a||[];const l=o[0],c=o[1];let u=0;for(let d=t;d<e;d+=i){const p=n[d+1]-c;a[u++]=l+s*(n[d]-l),a[u++]=c+r*p;for(let _=d+2;_<d+i;++_)a[u++]=n[_]}a&&a.length!=u&&(a.length=u)})(s,0,s.length,r,t,e,i,s),this.changed()}}translate(t,e){const i=this.getFlatCoordinates();if(i){const s=this.getStride();(function RCe(n,t,e,i,s,r,o){o=o||[];let a=0;for(let l=t;l<e;l+=i){o[a++]=n[l]+s,o[a++]=n[l+1]+r;for(let c=l+2;c<l+i;++c)o[a++]=n[c]}o&&o.length!=a&&(o.length=a)})(i,0,i.length,s,t,e,i),this.changed()}}};function Az(n,t,e,i,s,r,o){const a=n[t],l=n[t+1],c=n[e]-a,u=n[e+1]-l;let d;if(0===c&&0===u)d=t;else{const h=((s-a)*c+(r-l)*u)/(c*c+u*u);if(h>1)d=e;else{if(h>0){for(let p=0;p<i;++p)o[p]=Yo(n[t+p],n[e+p],h);return void(o.length=i)}d=t}}for(let h=0;h<i;++h)o[h]=n[d+h];o.length=i}function mL(n,t,e,i,s){let r=n[t],o=n[t+1];for(t+=i;t<e;t+=i){const a=n[t],l=n[t+1],c=Wc(r,o,a,l);c>s&&(s=c),r=a,o=l}return s}function yL(n,t,e,i,s,r,o,a,l,c,u){if(t==e)return c;let d,h;if(0===s){if(h=Wc(o,a,n[t],n[t+1]),h<c){for(d=0;d<i;++d)l[d]=n[t+d];return l.length=i,h}return c}u=u||[NaN,NaN];let p=t+i;for(;p<e;)if(Az(n,p-i,p,i,o,a,u),h=Wc(o,a,u[0],u[1]),h<c){for(c=h,d=0;d<i;++d)l[d]=u[d];l.length=i,p+=i}else p+=i*Math.max((Math.sqrt(h)-Math.sqrt(c))/s|0,1);if(r&&(Az(n,e-i,t,i,o,a,u),h=Wc(o,a,u[0],u[1]),h<c)){for(c=h,d=0;d<i;++d)l[d]=u[d];l.length=i}return c}function Rz(n,t,e,i){for(let s=0,r=e.length;s<r;++s)n[t++]=e[s];return t}function DM(n,t,e,i){for(let s=0,r=e.length;s<r;++s){const o=e[s];for(let a=0;a<i;++a)n[t++]=o[a]}return t}function zv(n,t,e,i,s,r,o){const a=(e-t)/i;if(a<3){for(;t<e;t+=i)r[o++]=n[t],r[o++]=n[t+1];return o}const l=new Array(a);l[0]=1,l[a-1]=1;const c=[t,e-i];let u=0;for(;c.length>0;){const d=c.pop(),h=c.pop();let p=0;const _=n[h],v=n[h+1],x=n[d],k=n[d+1];for(let P=h+i;P<d;P+=i){const G=lz(n[P],n[P+1],_,v,x,k);G>p&&(u=P,p=G)}p>s&&(l[(u-t)/i]=1,h+i<u&&c.push(h,u),u+i<d&&c.push(u,d))}for(let d=0;d<a;++d)l[d]&&(r[o++]=n[t+d*i],r[o++]=n[t+d*i+1]);return o}function _f(n,t){return t*Math.round(n/t)}function VCe(n,t,e,i,s,r,o){if(t==e)return o;let c,u,a=_f(n[t],s),l=_f(n[t+1],s);t+=i,r[o++]=a,r[o++]=l;do{if(c=_f(n[t],s),u=_f(n[t+1],s),(t+=i)==e)return r[o++]=c,r[o++]=u,o}while(c==a&&u==l);for(;t<e;){const d=_f(n[t],s),h=_f(n[t+1],s);if(t+=i,d==c&&h==u)continue;const p=c-a,_=u-l,v=d-a,x=h-l;p*x==_*v&&(p<0&&v<p||p==v||p>0&&v>p)&&(_<0&&x<_||_==x||_>0&&x>_)?(c=d,u=h):(r[o++]=c,r[o++]=u,a=c,l=u,c=d,u=h)}return r[o++]=c,r[o++]=u,o}function wL(n,t,e,i,s,r,o,a){for(let l=0,c=e.length;l<c;++l){const u=e[l];o=VCe(n,t,u,i,s,r,o),a.push(o),t=u}return o}function Md(n,t,e,i,s){s=void 0!==s?s:[];let r=0;for(let o=t;o<e;o+=i)s[r++]=n.slice(o,o+i);return s.length=r,s}function Gv(n,t,e,i,s){s=void 0!==s?s:[];let r=0;for(let o=0,a=e.length;o<a;++o){const l=e[o];s[r++]=Md(n,t,l,i,s[r]),t=l}return s.length=r,s}function CL(n,t,e,i,s){s=void 0!==s?s:[];let r=0;for(let o=0,a=e.length;o<a;++o){const l=e[o];s[r++]=1===l.length&&l[0]===t?[]:Gv(n,t,l,i,s[r]),t=l[l.length-1]}return s.length=r,s}function Fz(n,t,e,i){let s=0,r=n[e-i],o=n[e-i+1];for(;t<e;t+=i){const a=n[t],l=n[t+1];s+=o*a-r*l,r=a,o=l}return s/2}class xM extends Cd{constructor(t,e){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===e||Array.isArray(t[0])?this.setCoordinates(t,e):this.setFlatCoordinates(e,t)}clone(){return new xM(this.flatCoordinates.slice(),this.layout)}closestPointXY(t,e,i,s){return s<hf(this.getExtent(),t,e)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(mL(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),yL(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,i,s))}getArea(){return Fz(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return Md(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(t){const e=[];return e.length=zv(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new xM(e,"XY")}getType(){return"LinearRing"}intersectsExtent(t){return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=DM(this.flatCoordinates,0,t,this.stride),this.changed()}}const jz=xM;class ML extends Cd{constructor(t,e){super(),this.setCoordinates(t,e)}clone(){const t=new ML(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,s){const r=this.flatCoordinates,o=Wc(t,e,r[0],r[1]);if(o<s){const a=this.stride;for(let l=0;l<a;++l)i[l]=r[l];return i.length=a,o}return s}getCoordinates(){return this.flatCoordinates.slice()}computeExtent(t){return zg(this.flatCoordinates,t)}getType(){return"Point"}intersectsExtent(t){return G2(t,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Rz(this.flatCoordinates,0,t),this.changed()}}const eo=ML;function GCe(n,t,e,i,s){return!q2(s,function(o){return!yf(n,t,e,i,o[0],o[1])})}function yf(n,t,e,i,s,r){let o=0,a=n[e-i],l=n[e-i+1];for(;t<e;t+=i){const c=n[t],u=n[t+1];l<=r?u>r&&(c-a)*(r-l)-(s-a)*(u-l)>0&&o++:u<=r&&(c-a)*(r-l)-(s-a)*(u-l)<0&&o--,a=c,l=u}return 0!==o}function DL(n,t,e,i,s,r){if(0===e.length||!yf(n,t,e[0],i,s,r))return!1;for(let o=1,a=e.length;o<a;++o)if(yf(n,e[o-1],e[o],i,s,r))return!1;return!0}function xL(n,t,e,i,s,r,o){let a,l,c,u,d,h,p;const _=s[r+1],v=[];for(let P=0,j=e.length;P<j;++P){const z=e[P];for(u=n[z-i],h=n[z-i+1],a=t;a<z;a+=i)d=n[a],p=n[a+1],(_<=h&&p<=_||h<=_&&_<=p)&&(c=(_-h)/(p-h)*(d-u)+u,v.push(c)),u=d,h=p}let x=NaN,k=-1/0;for(v.sort(gd),u=v[0],a=1,l=v.length;a<l;++a){d=v[a];const P=Math.abs(d-u);P>k&&(c=(u+d)/2,DL(n,t,e,i,c,_)&&(x=c,k=P)),u=d}return isNaN(x)&&(x=s[r]),o?(o.push(x,_,k),o):[x,_,k]}function SM(n,t,e,i,s){const r=sz([1/0,1/0,-1/0,-1/0],n,t,e,i);return!!gi(s,r)&&(!!(Jr(s,r)||r[0]>=s[0]&&r[2]<=s[2]||r[1]>=s[1]&&r[3]<=s[3])||function Hz(n,t,e,i,s){let r;for(t+=i;t<e;t+=i)if(r=s(n.slice(t-i,t),n.slice(t,t+i)),r)return r;return!1}(n,t,e,i,function(o,a){return function Wwe(n,t,e){let i=!1;const s=W2(n,t),r=W2(n,e);if(s===js.INTERSECTING||r===js.INTERSECTING)i=!0;else{const o=n[0],a=n[1],l=n[2],c=n[3],h=e[0],p=e[1],_=(p-t[1])/(h-t[0]);let v,x;r&js.ABOVE&&!(s&js.ABOVE)&&(v=h-(p-c)/_,i=v>=o&&v<=l),!i&&r&js.RIGHT&&!(s&js.RIGHT)&&(x=p-(h-l)*_,i=x>=a&&x<=c),!i&&r&js.BELOW&&!(s&js.BELOW)&&(v=h-(p-a)/_,i=v>=o&&v<=l),!i&&r&js.LEFT&&!(s&js.LEFT)&&(x=p-(h-o)*_,i=x>=a&&x<=c)}return i}(s,o,a)}))}function Vz(n,t,e,i,s){return!!(SM(n,t,e,i,s)||yf(n,t,e,i,s[0],s[1])||yf(n,t,e,i,s[0],s[3])||yf(n,t,e,i,s[2],s[1])||yf(n,t,e,i,s[2],s[3]))}function KCe(n,t,e,i){for(;t<e-i;){for(let s=0;s<i;++s){const r=n[t+s];n[t+s]=n[e-i+s],n[e-i+s]=r}t+=i,e-=i}}function SL(n,t,e,i){let s=0,r=n[e-i],o=n[e-i+1];for(;t<e;t+=i){const a=n[t],l=n[t+1];s+=(a-r)*(l+o),r=a,o=l}return 0===s?void 0:s>0}function TM(n,t,e,i,s){s=void 0!==s&&s;for(let r=0,o=e.length;r<o;++r){const a=e[r],l=SL(n,t,a,i);(0===r?s&&l||!s&&!l:s&&!l||!s&&l)&&KCe(n,t,a,i),t=a}return t}class vf extends Cd{constructor(t,e,i){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,void 0!==e&&i?(this.setFlatCoordinates(e,t),this.ends_=i):this.setCoordinates(t,e)}appendLinearRing(t){this.flatCoordinates?ca(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new vf(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,s){return s<hf(this.getExtent(),t,e)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(function _L(n,t,e,i,s){for(let r=0,o=e.length;r<o;++r){const a=e[r];s=mL(n,t,a,i,s),t=a}return s}(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),function vL(n,t,e,i,s,r,o,a,l,c,u){u=u||[NaN,NaN];for(let d=0,h=e.length;d<h;++d){const p=e[d];c=yL(n,t,p,i,s,r,o,a,l,c,u),t=p}return c}(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,i,s))}containsXY(t,e){return DL(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)}getArea(){return function Yz(n,t,e,i){let s=0;for(let r=0,o=e.length;r<o;++r){const a=e[r];s+=Fz(n,t,a,i),t=a}return s}(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(t){let e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),TM(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Gv(e,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const t=kr(this.getExtent());this.flatInteriorPoint_=xL(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new eo(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(t){return t<0||this.ends_.length<=t?null:new jz(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,i=this.ends_,s=[];let r=0;for(let o=0,a=i.length;o<a;++o){const l=i[o],c=new jz(e.slice(r,l),t);s.push(c),r=l}return s}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;!function TL(n,t,e,i,s){s=void 0!==s&&s;for(let r=0,o=e.length;r<o;++r){const a=e[r],l=SL(n,t,a,i);if(0===r){if(s&&l||!s&&!l)return!1}else if(s&&!l||!s&&l)return!1;t=a}return!0}(t,0,this.ends_,this.stride)?(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=TM(this.orientedFlatCoordinates_,0,this.ends_,this.stride)):this.orientedFlatCoordinates_=t,this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=wL(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,i),new vf(e,"XY",i)}getType(){return"Polygon"}intersectsExtent(t){return function Uz(n,t,e,i,s){if(!Vz(n,t,e[0],i,s))return!1;if(1===e.length)return!0;for(let r=1,o=e.length;r<o;++r)if(GCe(n,e[r-1],e[r],i,s)&&!SM(n,e[r-1],e[r],i,s))return!1;return!0}(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=function Uv(n,t,e,i,s){s=s||[];let r=0;for(let o=0,a=e.length;o<a;++o){const l=DM(n,t,e[o],i);s[r++]=l,t=l}return s.length=r,s}(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===i.length?0:i[i.length-1],this.changed()}}const Dd=vf;function EM(n){if(vd(n))throw new Error("Cannot create polygon from empty extent");const t=n[0],e=n[1],i=n[2],s=n[3],r=[t,e,t,s,i,s,i,e,t,e];return new vf(r,"XY",[r.length])}function kM(n,t){setTimeout(function(){n(t)},0)}function tMe(n){return!(n.sourceCenter&&n.targetCenter&&!qa(n.sourceCenter,n.targetCenter)||n.sourceResolution!==n.targetResolution||n.sourceRotation!==n.targetRotation)}function OL(n,t,e,i,s){const r=Math.cos(-s);let o=Math.sin(-s),a=n[0]*r-n[1]*o,l=n[1]*r+n[0]*o;return a+=(t[0]/2-e[0])*i,l+=(e[1]-t[1]/2)*i,o=-o,[a*r-l*o,l*r+a*o]}const fa=class ZCe extends Va{constructor(t){super(),t=Object.assign({},t),this.hints_=[0,0],this.animations_=[],this.projection_=uL(t.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.nextCenter_=null,this.cancelAnchor_=void 0,t.projection&&function Dz(n){aL=!(void 0===n||n)}(),t.center&&(t.center=Qi(t.center)),t.extent&&(t.extent=Nl(t.extent)),this.applyOptions_(t)}applyOptions_(t){const e=Object.assign({},t);for(const a in jo)delete e[a];this.setProperties(e,!0);const i=function QCe(n){let t,e,i,o=void 0!==n.minZoom?n.minZoom:0,a=void 0!==n.maxZoom?n.maxZoom:28;const l=void 0!==n.zoomFactor?n.zoomFactor:2,c=void 0!==n.multiWorld&&n.multiWorld,u=void 0===n.smoothResolutionConstraint||n.smoothResolutionConstraint,d=void 0!==n.showFullExtent&&n.showFullExtent,h=uL(n.projection,"EPSG:3857"),p=h.getExtent();let _=n.constrainOnlyCenter,v=n.extent;if(!c&&!v&&h.isGlobal()&&(_=!1,v=p),void 0!==n.resolutions){const x=n.resolutions;e=x[o],i=void 0!==x[a]?x[a]:x[x.length-1],t=n.constrainResolution?function kCe(n,t,e,i){return t=void 0===t||t,function(s,r,o,a){if(void 0!==s){const l=n[0],c=n[n.length-1],u=e?dL(l,e,o,i):l;if(a)return t?hL(s,u,c):rn(s,c,u);const d=Math.min(u,s),h=Math.floor(tM(n,d,r));return n[h]>u&&h<n.length-1?n[h+1]:n[h]}}}(x,u,!_&&v,d):kz(e,i,u,!_&&v,d)}else{const k=(p?Math.max(yn(p),Ji(p)):360*Kg.degrees/h.getMetersPerUnit())/tL/Math.pow(2,0),P=k/Math.pow(2,28);e=n.maxResolution,void 0!==e?o=0:e=k/Math.pow(l,o),i=n.minResolution,void 0===i&&(i=void 0!==n.maxZoom?void 0!==n.maxResolution?e/Math.pow(l,a):k/Math.pow(l,a):P),a=o+Math.floor(Math.log(e/i)/Math.log(l)),i=e/Math.pow(l,a-o),t=n.constrainResolution?function OCe(n,t,e,i,s,r){return i=void 0===i||i,e=void 0!==e?e:0,function(o,a,l,c){if(void 0!==o){const u=s?dL(t,s,l,r):t;if(c)return i?hL(o,u,e):rn(o,e,u);const d=1e-9,h=Math.ceil(Math.log(t/u)/Math.log(n)-d),p=-a*(.5-d)+.5,_=Math.min(u,o),v=Math.floor(Math.log(t/_)/Math.log(n)+p),x=Math.max(h,v);return rn(t/Math.pow(n,x),e,u)}}}(l,e,i,u,!_&&v,d):kz(e,i,u,!_&&v,d)}return{constraint:t,maxResolution:e,minResolution:i,minZoom:o,zoomFactor:l}}(t);this.maxResolution_=i.maxResolution,this.minResolution_=i.minResolution,this.zoomFactor_=i.zoomFactor,this.resolutions_=t.resolutions,this.padding_=t.padding,this.minZoom_=i.minZoom;const s=function JCe(n){if(void 0!==n.extent)return Ez(n.extent,n.constrainOnlyCenter,void 0===n.smoothExtentConstraint||n.smoothExtentConstraint);const t=uL(n.projection,"EPSG:3857");if(!0!==n.multiWorld&&t.isGlobal()){const e=t.getExtent().slice();return e[0]=-1/0,e[2]=1/0,Ez(e,!1,!1)}return ECe}(t),r=i.constraint,o=function eMe(n){if(void 0===n.enableRotation||n.enableRotation){const e=n.constrainRotation;return void 0===e||!0===e?function PCe(n){const t=void 0===n?lM(5):n;return function(e,i){return i||void 0===e?e:Math.abs(e)<=t?0:e}}():!1===e?Oz:"number"==typeof e?function LCe(n){const t=2*Math.PI/n;return function(e,i){return i?e:void 0!==e?e=Math.floor(e/t+.5)*t:void 0}}(e):Oz}return fL}(t);this.constraints_={center:s,resolution:r,rotation:o},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom)}get padding(){return this.padding_}set padding(t){let e=this.padding_;this.padding_=t;const i=this.getCenterInternal();if(i){const s=t||[0,0,0,0];e=e||[0,0,0,0];const r=this.getResolution();this.setCenterInternal([i[0]+r/2*(s[3]-e[3]+e[1]-s[1]),i[1]-r/2*(s[0]-e[0]+e[2]-s[2])])}}getUpdatedOptions_(t){const e=this.getProperties();return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object.assign({},e,t)}animate(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const e=new Array(arguments.length);for(let i=0;i<e.length;++i){let s=arguments[i];s.center&&(s=Object.assign({},s),s.center=Qi(s.center,this.getProjection())),s.anchor&&(s=Object.assign({},s),s.anchor=Qi(s.anchor,this.getProjection())),e[i]=s}this.animateInternal.apply(this,e)}animateInternal(t){let i,e=arguments.length;e>1&&"function"==typeof arguments[e-1]&&(i=arguments[e-1],--e);let s=0;for(;s<e&&!this.isDef();++s){const u=arguments[s];u.center&&this.setCenterInternal(u.center),void 0!==u.zoom?this.setZoom(u.zoom):u.resolution&&this.setResolution(u.resolution),void 0!==u.rotation&&this.setRotation(u.rotation)}if(s===e)return void(i&&kM(i,!0));let r=Date.now(),o=this.targetCenter_.slice(),a=this.targetResolution_,l=this.targetRotation_;const c=[];for(;s<e;++s){const u=arguments[s],d={start:r,complete:!1,anchor:u.anchor,duration:void 0!==u.duration?u.duration:1e3,easing:u.easing||pL,callback:i};if(u.center&&(d.sourceCenter=o,d.targetCenter=u.center.slice(),o=d.targetCenter),void 0!==u.zoom?(d.sourceResolution=a,d.targetResolution=this.getResolutionForZoom(u.zoom),a=d.targetResolution):u.resolution&&(d.sourceResolution=a,d.targetResolution=u.resolution,a=d.targetResolution),void 0!==u.rotation){d.sourceRotation=l;const h=$c(u.rotation-l+Math.PI,2*Math.PI)-Math.PI;d.targetRotation=l+h,l=d.targetRotation}tMe(d)?d.complete=!0:r+=d.duration,c.push(d)}this.animations_.push(c),this.setHint(0,1),this.updateAnimations_()}getAnimating(){return this.hints_[0]>0}getInteracting(){return this.hints_[1]>0}cancelAnimations(){let t;this.setHint(0,-this.hints_[0]);for(let e=0,i=this.animations_.length;e<i;++e){const s=this.animations_[e];if(s[0].callback&&kM(s[0].callback,!1),!t)for(let r=0,o=s.length;r<o;++r){const a=s[r];if(!a.complete){t=a.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const t=Date.now();let e=!1;for(let i=this.animations_.length-1;i>=0;--i){const s=this.animations_[i];let r=!0;for(let o=0,a=s.length;o<a;++o){const l=s[o];if(l.complete)continue;let u=l.duration>0?(t-l.start)/l.duration:1;u>=1?(l.complete=!0,u=1):r=!1;const d=l.easing(u);if(l.sourceCenter){const h=l.sourceCenter[0],p=l.sourceCenter[1],_=l.targetCenter[0],v=l.targetCenter[1];this.nextCenter_=l.targetCenter,this.targetCenter_=[h+d*(_-h),p+d*(v-p)]}if(l.sourceResolution&&l.targetResolution){const h=1===d?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){const p=this.getViewportSize_(this.getRotation()),_=this.constraints_.resolution(h,0,p,!0);this.targetCenter_=this.calculateCenterZoom(_,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=h,this.applyTargetState_(!0)}if(void 0!==l.sourceRotation&&void 0!==l.targetRotation){const h=1===d?$c(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){const p=this.constraints_.rotation(h,!0);this.targetCenter_=this.calculateCenterRotate(p,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=h}if(this.applyTargetState_(!0),e=!0,!l.complete)break}if(r){this.animations_[i]=null,this.setHint(0,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&kM(o,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const s=this.getCenterInternal();return void 0!==s&&(i=[s[0]-e[0],s[1]-e[1]],sL(i,t-this.getRotation()),function bz(n,t){return n[0]+=+t[0],n[1]+=+t[1],n}(i,e)),i}calculateCenterZoom(t,e){let i;const s=this.getCenterInternal(),r=this.getResolution();return void 0!==s&&void 0!==r&&(i=[e[0]-t*(e[0]-s[0])/r,e[1]-t*(e[1]-s[1])/r]),i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],s=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(s*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(s*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&Qg(t,this.getProjection())}getCenterInternal(){return this.get(jo.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){return CM(this.calculateExtentInternal(t),this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();An(e,"The view center is not defined");const i=this.getResolution();An(void 0!==i,"The view resolution is not defined");const s=this.getRotation();return An(void 0!==s,"The view rotation is not defined"),Yv(e,i,s,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(jo.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(Nl(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=yn(t)/e[0],s=Ji(t)/e[1];return Math.max(i,s)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),s=Math.log(e/this.minResolution_)/Math.log(t);return function(r){return e/Math.pow(t,r*s)}}getRotation(){return this.get(jo.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),r=Math.log(i/this.minResolution_)/e;return function(o){return Math.log(i/o)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let s=this.getCenterInternal();const r=this.padding_;if(r){const o=this.getViewportSizeMinusPadding_();s=OL(s,this.getViewportSize_(),[o[0]/2+r[3],o[1]/2+r[0]],e,i)}return{center:s.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let i,s,e=this.minZoom_||0;if(this.resolutions_){const r=tM(this.resolutions_,t,1);e=r,i=this.resolutions_[r],s=r==this.resolutions_.length-1?2:i/this.resolutions_[r+1]}else i=this.maxResolution_,s=this.zoomFactor_;return e+Math.log(i/t)/Math.log(s)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=rn(Math.floor(t),0,this.resolutions_.length-2);return this.resolutions_[e]/Math.pow(this.resolutions_[e]/this.resolutions_[e+1],rn(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(An(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,"Invalid extent or geometry provided as `geometry`"),Array.isArray(t))An(!vd(t),"Cannot fit empty extent provided as `geometry`"),i=EM(Nl(t,this.getProjection()));else if("Circle"===t.getType()){const s=Nl(t.getExtent(),this.getProjection());i=EM(s),i.rotate(this.getRotation(),kr(s))}else{const s=ha();i=s?t.clone().transform(s,this.getProjection()):t}this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),s=Math.sin(-e),r=t.getFlatCoordinates(),o=t.getStride();let a=1/0,l=1/0,c=-1/0,u=-1/0;for(let d=0,h=r.length;d<h;d+=o){const p=r[d]*i-r[d+1]*s,_=r[d]*s+r[d+1]*i;a=Math.min(a,p),l=Math.min(l,_),c=Math.max(c,p),u=Math.max(u,_)}return[a,l,c,u]}fitInternal(t,e){let i=(e=e||{}).size;i||(i=this.getViewportSizeMinusPadding_());const s=void 0!==e.padding?e.padding:[0,0,0,0],r=void 0!==e.nearest&&e.nearest;let o;o=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.getResolutionForZoom(e.maxZoom):0;const a=this.rotatedExtentForGeometry(t);let l=this.getResolutionForExtentInternal(a,[i[0]-s[1]-s[3],i[1]-s[0]-s[2]]);l=isNaN(l)?o:Math.max(l,o),l=this.getConstrainedResolution(l,r?0:1);const c=this.getRotation(),u=Math.sin(c),d=Math.cos(c),h=kr(a);h[0]+=(s[1]-s[3])/2*l,h[1]+=(s[0]-s[2])/2*l;const v=this.getConstrainedCenter([h[0]*d-h[1]*u,h[1]*d+h[0]*u],l),x=e.callback?e.callback:Hg;void 0!==e.duration?this.animateInternal({resolution:l,center:v,duration:e.duration,easing:e.easing},x):(this.targetResolution_=l,this.targetCenter_=v,this.applyTargetState_(!1,!0),kM(x,!0))}centerOn(t,e,i){this.centerOnInternal(Qi(t,this.getProjection()),e,i)}centerOnInternal(t,e,i){this.setCenterInternal(OL(t,e,i,this.getResolution(),this.getRotation()))}calculateCenterShift(t,e,i,s){let r;const o=this.padding_;if(o&&t){const a=this.getViewportSizeMinusPadding_(-i),l=OL(t,s,[a[0]/2+o[3],a[1]/2+o[0]],e,i);r=[t[0]-l[0],t[1]-l[1]]}return r}isDef(){return!!this.getCenterInternal()&&void 0!==this.getResolution()}adjustCenter(t){const e=Qg(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])}adjustCenterInternal(t){const e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])}adjustResolution(t,e){e=e&&Qi(e,this.getProjection()),this.adjustResolutionInternal(t,e)}adjustResolutionInternal(t,e){const i=this.getAnimating()||this.getInteracting(),s=this.getViewportSize_(this.getRotation()),r=this.constraints_.resolution(this.targetResolution_*t,0,s,i);e&&(this.targetCenter_=this.calculateCenterZoom(r,e)),this.targetResolution_*=t,this.applyTargetState_()}adjustZoom(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)}adjustRotation(t,e){e&&(e=Qi(e,this.getProjection())),this.adjustRotationInternal(t,e)}adjustRotationInternal(t,e){const i=this.getAnimating()||this.getInteracting(),s=this.constraints_.rotation(this.targetRotation_+t,i);e&&(this.targetCenter_=this.calculateCenterRotate(s,e)),this.targetRotation_+=t,this.applyTargetState_()}setCenter(t){this.setCenterInternal(t&&Qi(t,this.getProjection()))}setCenterInternal(t){this.targetCenter_=t,this.applyTargetState_()}setHint(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]}setResolution(t){this.targetResolution_=t,this.applyTargetState_()}setRotation(t){this.targetRotation_=t,this.applyTargetState_()}setZoom(t){this.setResolution(this.getResolutionForZoom(t))}applyTargetState_(t,e){const i=this.getAnimating()||this.getInteracting()||e,s=this.constraints_.rotation(this.targetRotation_,i),r=this.getViewportSize_(s),o=this.constraints_.resolution(this.targetResolution_,0,r,i),a=this.constraints_.center(this.targetCenter_,o,r,i,this.calculateCenterShift(this.targetCenter_,o,s,r));this.get(jo.ROTATION)!==s&&this.set(jo.ROTATION,s),this.get(jo.RESOLUTION)!==o&&(this.set(jo.RESOLUTION,o),this.set("zoom",this.getZoom(),!0)),(!a||!this.get(jo.CENTER)||!qa(this.get(jo.CENTER),a))&&this.set(jo.CENTER,a),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(t,e,i){t=void 0!==t?t:200;const s=e||0,r=this.constraints_.rotation(this.targetRotation_),o=this.getViewportSize_(r),a=this.constraints_.resolution(this.targetResolution_,s,o),l=this.constraints_.center(this.targetCenter_,a,o,!1,this.calculateCenterShift(this.targetCenter_,a,r,o));if(0===t&&!this.cancelAnchor_)return this.targetResolution_=a,this.targetRotation_=r,this.targetCenter_=l,void this.applyTargetState_();i=i||(0===t?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,(this.getResolution()!==a||this.getRotation()!==r||!this.getCenterInternal()||!qa(this.getCenterInternal(),l))&&(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:l,resolution:a,duration:t,easing:gf,anchor:i}))}beginInteraction(){this.resolveConstraints(0),this.setHint(1,1)}endInteraction(t,e,i){i=i&&Qi(i,this.getProjection()),this.endInteractionInternal(t,e,i)}endInteractionInternal(t,e,i){this.getInteracting()&&(this.setHint(1,-1),this.resolveConstraints(t,e,i))}getConstrainedCenter(t,e){const i=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),i)}getConstrainedZoom(t,e){const i=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(i,e))}getConstrainedResolution(t,e){e=e||0;const i=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,e,i)}};function LL(n,t){if(!n.visible)return!1;const e=t.resolution;if(e<n.minResolution||e>=n.maxResolution)return!1;const i=t.zoom;return i>n.minZoom&&i<=n.maxZoom}const Wv=class nMe extends pz{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener("source",this.handleSourcePropertyChange_),this.setSource(t.source?t.source:null)}getLayersArray(t){return(t=t||[]).push(this),t}getLayerStatesArray(t){return(t=t||[]).push(this.getLayerState()),t}getSource(){return this.get("source")||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),!this.sourceReady_&&"ready"===this.getSource().getState()&&(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(si(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=Kt(t,"change",this.handleSourceChange_,this),"ready"===t.getState()&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null}isVisible(t){let e;const i=this.getMapInternal();let s;!t&&i&&(t=i.getView()),e=t instanceof fa?{viewState:t.getState(),extent:t.calculateExtent()}:t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray()),s=e.layerStatesArray?e.layerStatesArray.find(o=>o.layer===this):this.getLayerState();const r=this.getExtent();return LL(s,e.viewState)&&(!r||gi(r,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const i=this.getSource();if(i&&(e=i.getAttributions()),!e)return[];let r=e(t instanceof fa?t.getViewStateAndExtent():t);return Array.isArray(r)||(r=[r]),r}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set("map",t)}getMapInternal(){return this.get("map")}setMap(t){this.mapPrecomposeKey_&&(si(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(si(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Kt(t,"precompose",function(e){const s=e.frameState.layerStatesArray,r=this.getLayerState(!1);An(!s.some(function(o){return o.layer===r.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),s.push(r)},this),this.mapRenderKey_=Kt(this,"change",t.render,t),this.changed())}setSource(t){this.set("source",t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}};function sMe(n,t){dM.expire()}const rMe=class iMe extends eM{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){zt()}calculateMatrices2D(t){const e=t.viewState,i=t.coordinateToPixelTransform,s=t.pixelToCoordinateTransform;ua(i,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Nv(s,i)}forEachFeatureAtCoordinate(t,e,i,s,r,o,a,l){let c;const u=e.viewState;function d(z,G,Z,oe){return r.call(o,G,z?Z:null,oe)}const h=u.projection,p=_M(t.slice(),h),_=[[0,0]];if(h.canWrapX()&&s){const G=yn(h.getExtent());_.push([-G,0],[G,0])}const v=e.layerStatesArray,x=v.length,k=[],P=[];for(let z=0;z<_.length;z++)for(let G=x-1;G>=0;--G){const Z=v[G],oe=Z.layer;if(oe.hasRenderer()&&LL(Z,u)&&a.call(l,oe)){const ce=oe.getRenderer(),Se=oe.getSource();if(ce&&Se){const Re=Se.getWrapX()?p:t,Ye=d.bind(null,Z.managed);P[0]=Re[0]+_[z][0],P[1]=Re[1]+_[z][1],c=ce.forEachFeatureAtCoordinate(P,e,i,Ye,k)}if(c)return c}}if(0===k.length)return;const j=1/k.length;return k.forEach((z,G)=>z.distanceSq+=G*j),k.sort((z,G)=>z.distanceSq-G.distanceSq),k.some(z=>c=z.callback(z.feature,z.layer,z.geometry)),c}hasFeatureAtCoordinate(t,e,i,s,r,o){return void 0!==this.forEachFeatureAtCoordinate(t,e,i,s,Ha,this,r,o)}getMap(){return this.map_}renderFrame(t){zt()}flushDeclutterItems(t){}scheduleExpireIconCache(t){dM.canExpireCache()&&t.postRenderFunctions.push(sMe)}},$z=class oMe extends cr{constructor(t,e,i,s){super(t),this.inversePixelTransform=e,this.frameState=i,this.context=s}},OM="ol-hidden",Fl="ol-unselectable",bf="ol-control",LM="ol-collapsed",lMe=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),Kz=["style","variant","weight","size","lineHeight","family"],Xz=function(n){const t=n.match(lMe);if(!t)return null;const e={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,s=Kz.length;i<s;++i){const r=t[i+1];void 0!==r&&(e[Kz[i]]=r)}return e.families=e.family.split(/,\s?/),e};function Ps(n,t,e,i){let s;return s=e&&e.length?e.shift():H2?new OffscreenCanvas(n||300,t||300):document.createElement("canvas"),n&&(s.width=n),t&&(s.height=t),s.getContext("2d",i)}function $v(n){const t=n.canvas;t.width=1,t.height=1,n.clearRect(0,0,1,1)}function cMe(n){let t=n.offsetWidth;const e=getComputedStyle(n);return t+=parseInt(e.marginLeft,10)+parseInt(e.marginRight,10),t}function uMe(n){let t=n.offsetHeight;const e=getComputedStyle(n);return t+=parseInt(e.marginTop,10)+parseInt(e.marginBottom,10),t}function em(n,t){const e=t.parentNode;e&&e.replaceChild(n,t)}function PM(n){return n&&n.parentNode?n.parentNode.removeChild(n):null}function Zz(n){for(;n.lastChild;)n.removeChild(n.lastChild)}const Jz="10px sans-serif",to="#000",tm="round",qc=[],nm="round",Kv="#000",Xv="center",IM="middle",wf=[0,0,0,0],Xc=new Va;let PL,im=null;const IL={},hMe=function(){const t="32px ",e=["monospace","serif"],i=e.length,s="wmytzilWMYTZIL@#/&?$%10\uf013";let r,o;function a(c,u,d){let h=!0;for(let p=0;p<i;++p){const _=e[p];if(o=AM(c+" "+u+" "+t+_,s),d!=_){const v=AM(c+" "+u+" "+t+d+","+_,s);h=h&&v!=o}}return!!h}function l(){let c=!0;const u=Xc.getKeys();for(let d=0,h=u.length;d<h;++d){const p=u[d];Xc.get(p)<100&&(a.apply(this,p.split("\n"))?(Vg(IL),im=null,PL=void 0,Xc.set(p,100)):(Xc.set(p,Xc.get(p)+1,!0),c=!1))}c&&(clearInterval(r),r=void 0)}return function(c){const u=Xz(c);if(!u)return;const d=u.families;for(let h=0,p=d.length;h<p;++h){const _=d[h],v=u.style+"\n"+u.weight+"\n"+_;void 0===Xc.get(v)&&(Xc.set(v,100,!0),a(u.style,u.weight,_)||(Xc.set(v,0,!0),void 0===r&&(r=setInterval(l,32))))}}}(),fMe=function(){let n;return function(t){let e=IL[t];if(null==e){if(H2){const i=Xz(t),s=Qz(t,"\u017dg");e=(isNaN(Number(i.lineHeight))?1.2:Number(i.lineHeight))*(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=t,document.body.appendChild(n),e=n.offsetHeight,document.body.removeChild(n);IL[t]=e}return e}}();function Qz(n,t){return im||(im=Ps(1,1)),n!=PL&&(im.font=n,PL=im.font),im.measureText(t)}function AM(n,t){return Qz(n,t).width}function eG(n,t,e){if(t in e)return e[t];const i=t.split("\n").reduce((s,r)=>Math.max(s,AM(n,r)),0);return e[t]=i,i}const yMe=class _Me extends rMe{constructor(t){super(t),this.fontChangeListenerKey_=Kt(Xc,"propertychange",t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=Fl+" ol-layers";const i=t.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const s=new $z(t,void 0,e);i.dispatchEvent(s)}}disposeInternal(){si(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t)return void(this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1));this.calculateMatrices2D(t),this.dispatchRenderEvent("precompose",t);const e=t.layerStatesArray.sort(function(o,a){return o.zIndex-a.zIndex}),i=t.viewState;this.children_.length=0;const s=this.declutterLayers_;s.length=0;let r=null;for(let o=0,a=e.length;o<a;++o){const l=e[o];t.layerIndex=o;const c=l.layer,u=c.getSourceState();if(!LL(l,i)||"ready"!=u&&"undefined"!=u){c.unrender();continue}const d=c.render(t,r);d&&(d!==r&&(this.children_.push(d),r=d),"getDeclutter"in c&&s.push(c))}this.flushDeclutterItems(t),function dMe(n,t){const e=n.childNodes;for(let i=0;;++i){const s=e[i],r=t[i];if(!s&&!r)break;if(s!==r){if(!s){n.appendChild(r);continue}if(!r){n.removeChild(s),--i;continue}n.insertBefore(r,s)}}}(this.element_,this.children_),this.dispatchRenderEvent("postcompose",t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}flushDeclutterItems(t){const e=this.declutterLayers_;for(let i=e.length-1;i>=0;--i)e[i].renderDeclutter(t);e.length=0}};class xd extends cr{constructor(t,e){super(t),this.layer=e}}class RL extends pz{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener("layers",this.handleLayersChanged_),i?Array.isArray(i)?i=new Ls(i.slice(),{unique:!0}):An("function"==typeof i.getArray,"Expected `layers` to be an array or a `Collection`"):i=new Ls(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(si),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(Kt(t,"add",this.handleLayersAdd_,this),Kt(t,"remove",this.handleLayersRemove_,this));for(const i in this.listenerKeys_)this.listenerKeys_[i].forEach(si);Vg(this.listenerKeys_);const e=t.getArray();for(let i=0,s=e.length;i<s;i++){const r=e[i];this.registerLayerListeners_(r),this.dispatchEvent(new xd("addlayer",r))}this.changed()}registerLayerListeners_(t){const e=[Kt(t,"propertychange",this.handleLayerChange_,this),Kt(t,"change",this.handleLayerChange_,this)];t instanceof RL&&e.push(Kt(t,"addlayer",this.handleLayerGroupAdd_,this),Kt(t,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[Tt(t)]=e}handleLayerGroupAdd_(t){this.dispatchEvent(new xd("addlayer",t.layer))}handleLayerGroupRemove_(t){this.dispatchEvent(new xd("removelayer",t.layer))}handleLayersAdd_(t){const e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new xd("addlayer",e)),this.changed()}handleLayersRemove_(t){const e=t.element,i=Tt(e);this.listenerKeys_[i].forEach(si),delete this.listenerKeys_[i],this.dispatchEvent(new xd("removelayer",e)),this.changed()}getLayers(){return this.get("layers")}setLayers(t){const e=this.getLayers();if(e){const i=e.getArray();for(let s=0,r=i.length;s<r;++s)this.dispatchEvent(new xd("removelayer",i[s]))}this.set("layers",t)}getLayersArray(t){return t=void 0!==t?t:[],this.getLayers().forEach(function(e){e.getLayersArray(t)}),t}getLayerStatesArray(t){const e=void 0!==t?t:[],i=e.length;this.getLayers().forEach(function(o){o.getLayerStatesArray(e)});const s=this.getLayerState();let r=s.zIndex;!t&&void 0===s.zIndex&&(r=0);for(let o=i,a=e.length;o<a;o++){const l=e[o];l.opacity*=s.opacity,l.visible=l.visible&&s.visible,l.maxResolution=Math.min(l.maxResolution,s.maxResolution),l.minResolution=Math.max(l.minResolution,s.minResolution),l.minZoom=Math.max(l.minZoom,s.minZoom),l.maxZoom=Math.min(l.maxZoom,s.maxZoom),void 0!==s.extent&&(l.extent=void 0!==l.extent?za(l.extent,s.extent):s.extent),void 0===l.zIndex&&(l.zIndex=r)}return e}getSourceState(){return"ready"}}const Jv=RL,sm=class vMe extends cr{constructor(t,e,i){super(t),this.map=e,this.frameState=void 0!==i?i:null}},Zc=class bMe extends sm{constructor(t,e,i,s,r,o){super(t,e,r),this.originalEvent=i,this.pixel_=null,this.coordinate_=null,this.dragging=void 0!==s&&s,this.activePointers=o}get pixel(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_}set pixel(t){this.pixel_=t}get coordinate(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_}set coordinate(t){this.coordinate_=t}preventDefault(){super.preventDefault(),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()}stopPropagation(){super.stopPropagation(),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()}},Rn={SINGLECLICK:"singleclick",CLICK:"click",DBLCLICK:"dblclick",POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},CMe=class wMe extends Iv{constructor(t,e){super(t),this.map_=t,this.emulateClicks_=!1,this.dragging_=!1,this.dragListenerKeys_=[],this.moveTolerance_=void 0===e?1:e,this.down_=null;const i=this.map_.getViewport();this.activePointers_=[],this.trackedTouches_={},this.element_=i,this.pointerdownListenerKey_=Kt(i,"pointerdown",this.handlePointerDown_,this),this.relayedListenerKey_=Kt(i,"pointermove",this.relayMoveEvent_,this),this.boundHandleTouchMove_=this.handleTouchMove_.bind(this),this.element_.addEventListener("touchmove",this.boundHandleTouchMove_,!!J8&&{passive:!1})}emulateClick_(t){let e=new Zc(Rn.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new Zc(Rn.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout(()=>{this.clickTimeoutId_=void 0;const i=new Zc(Rn.SINGLECLICK,this.map_,t);this.dispatchEvent(i)},250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==Rn.POINTERUP||e.type==Rn.POINTERCANCEL){delete this.trackedTouches_[i];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==e.target){delete this.trackedTouches_[s];break}}else(e.type==Rn.POINTERDOWN||e.type==Rn.POINTERMOVE)&&(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new Zc(Rn.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(si),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return 0===t.button}handlePointerDown_(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);const e=new Zc(Rn.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),0===this.dragListenerKeys_.length){const i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Kt(i,Rn.POINTERMOVE,this.handlePointerMove_,this),Kt(i,Rn.POINTERUP,this.handlePointerUp_,this),Kt(this.element_,Rn.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(Kt(this.element_.getRootNode(),Rn.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new Zc(Rn.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new Zc(Rn.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&("boolean"!=typeof t.cancelable||!0===t.cancelable)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(si(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener("touchmove",this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(si(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(si),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}},RM=1/0,DMe=class MMe{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,Vg(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const s=this.keyFunction_(i);return delete this.queuedElements_[s],i}enqueue(t){An(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=RM&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)}getCount(){return this.elements_.length}getLeftChildIndex_(t){return 2*t+1}getRightChildIndex_(t){return 2*t+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return 0===this.elements_.length}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,s=e.length,r=e[t],o=i[t],a=t;for(;t<s>>1;){const l=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),u=c<s&&i[c]<i[l]?c:l;e[t]=e[u],i[t]=i[u],t=u}e[t]=r,i[t]=o,this.siftDown_(a,t)}siftDown_(t,e){const i=this.elements_,s=this.priorities_,r=i[e],o=s[e];for(;e>t;){const a=this.getParentIndex_(e);if(!(s[a]>o))break;i[e]=i[a],s[e]=s[a],e=a}i[e]=r,s[e]=o}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let s=0;const r=e.length;let o,a,l;for(a=0;a<r;++a)o=e[a],l=t(o),l==RM?delete this.queuedElements_[this.keyFunction_(o)]:(i[s]=l,e[s++]=o);e.length=s,i.length=s,this.heapify_()}},tG=class xMe extends DMe{constructor(t,e){super(function(i){return t.apply(null,i)},function(i){return i[0].getKey()}),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);return e&&t[0].addEventListener("change",this.boundHandleTileChange_),e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(2===i||3===i||4===i){3!==i&&e.removeEventListener("change",this.boundHandleTileChange_);const s=e.getKey();s in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[s],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let s,r,o,i=0;for(;this.tilesLoading_<t&&i<e&&this.getCount()>0;)r=this.dequeue()[0],o=r.getKey(),s=r.getState(),0===s&&!(o in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[o]=!0,++this.tilesLoading_,++i,r.load())}},Bl=class TMe extends Va{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){PM(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&PM(this.element);for(let e=0,i=this.listenerKeys.length;e<i;++e)si(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,t&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==Hg&&this.listenerKeys.push(Kt(t,"postrender",this.render,this)),t.render())}render(t){}setTarget(t){this.target_="string"==typeof t?document.getElementById(t):t}},nG=class EMe extends Bl{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target}),this.ulElement_=document.createElement("ul"),this.collapsed_=void 0===t.collapsed||t.collapsed,this.userCollapsed_=this.collapsed_,this.overrideCollapsible_=void 0!==t.collapsible,this.collapsible_=void 0===t.collapsible||t.collapsible,this.collapsible_||(this.collapsed_=!1);const e=void 0!==t.className?t.className:"ol-attribution",i=void 0!==t.tipLabel?t.tipLabel:"Attributions",s=void 0!==t.expandClassName?t.expandClassName:e+"-expand",r=void 0!==t.collapseLabel?t.collapseLabel:"\u203a",o=void 0!==t.collapseClassName?t.collapseClassName:e+"-collapse";"string"==typeof r?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=r,this.collapseLabel_.className=o):this.collapseLabel_=r;const a=void 0!==t.label?t.label:"i";"string"==typeof a?(this.label_=document.createElement("span"),this.label_.textContent=a,this.label_.className=s):this.label_=a;const l=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_;this.toggleButton_=document.createElement("button"),this.toggleButton_.setAttribute("type","button"),this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_)),this.toggleButton_.title=i,this.toggleButton_.appendChild(l),this.toggleButton_.addEventListener("click",this.handleClick_.bind(this),!1);const u=this.element;u.className=e+" "+Fl+" "+bf+(this.collapsed_&&this.collapsible_?" "+LM:"")+(this.collapsible_?"":" ol-uncollapsible"),u.appendChild(this.toggleButton_),u.appendChild(this.ulElement_),this.renderedAttributions_=[],this.renderedVisible_=!0}collectSourceAttributions_(t){const e=Array.from(new Set(this.getMap().getAllLayers().flatMap(s=>s.getAttributions(t)))),i=!this.getMap().getAllLayers().some(s=>s.getSource()&&!1===s.getSource().getAttributionsCollapsible());return this.overrideCollapsible_||this.setCollapsible(i),e}updateElement_(t){if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=this.collectSourceAttributions_(t),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!Uc(e,this.renderedAttributions_)){Zz(this.ulElement_);for(let s=0,r=e.length;s<r;++s){const o=document.createElement("li");o.innerHTML=e[s],this.ulElement_.appendChild(o)}this.renderedAttributions_=e}}handleClick_(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_}handleToggle_(){this.element.classList.toggle(LM),this.collapsed_?em(this.collapseLabel_,this.label_):em(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())}setCollapsed(t){this.userCollapsed_=t,this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()}getCollapsed(){return this.collapsed_}render(t){this.updateElement_(t.frameState)}},iG=class kMe extends Bl{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target});const e=void 0!==t.className?t.className:"ol-rotate",i=void 0!==t.label?t.label:"\u21e7",s=void 0!==t.compassClassName?t.compassClassName:"ol-compass";this.label_=null,"string"==typeof i?(this.label_=document.createElement("span"),this.label_.className=s,this.label_.textContent=i):(this.label_=i,this.label_.classList.add(s));const r=t.tipLabel?t.tipLabel:"Reset rotation",o=document.createElement("button");o.className=e+"-reset",o.setAttribute("type","button"),o.title=r,o.appendChild(this.label_),o.addEventListener("click",this.handleClick_.bind(this),!1);const l=this.element;l.className=e+" "+Fl+" "+bf,l.appendChild(o),this.callResetNorth_=t.resetNorth?t.resetNorth:void 0,this.duration_=void 0!==t.duration?t.duration:250,this.autoHide_=void 0===t.autoHide||t.autoHide,this.rotation_=void 0,this.autoHide_&&this.element.classList.add(OM)}handleClick_(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()}resetNorth_(){const e=this.getMap().getView();if(!e)return;const i=e.getRotation();void 0!==i&&(this.duration_>0&&i%(2*Math.PI)!=0?e.animate({rotation:0,duration:this.duration_,easing:gf}):e.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const s="rotate("+i+"rad)";if(this.autoHide_){const r=this.element.classList.contains(OM);r||0!==i?r&&0!==i&&this.element.classList.remove(OM):this.element.classList.add(OM)}this.label_.style.transform=s}this.rotation_=i}},sG=class OMe extends Bl{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=void 0!==t.className?t.className:"ol-zoom",i=void 0!==t.delta?t.delta:1,s=void 0!==t.zoomInClassName?t.zoomInClassName:e+"-in",r=void 0!==t.zoomOutClassName?t.zoomOutClassName:e+"-out",o=void 0!==t.zoomInLabel?t.zoomInLabel:"+",a=void 0!==t.zoomOutLabel?t.zoomOutLabel:"\u2013",l=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",c=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",u=document.createElement("button");u.className=s,u.setAttribute("type","button"),u.title=l,u.appendChild("string"==typeof o?document.createTextNode(o):o),u.addEventListener("click",this.handleClick_.bind(this,i),!1);const d=document.createElement("button");d.className=r,d.setAttribute("type","button"),d.title=c,d.appendChild("string"==typeof a?document.createTextNode(a):a),d.addEventListener("click",this.handleClick_.bind(this,-i),!1);const p=this.element;p.className=e+" "+Fl+" "+bf,p.appendChild(u),p.appendChild(d),this.duration_=void 0!==t.duration?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const i=this.getMap().getView();if(!i)return;const s=i.getZoom();if(void 0!==s){const r=i.getConstrainedZoom(s+t);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:r,duration:this.duration_,easing:gf})):i.setZoom(r)}}};function NL(n,t,e,i){const s=n.getZoom();if(void 0===s)return;const r=n.getConstrainedZoom(s+t),o=n.getResolutionForZoom(r);n.getAnimating()&&n.cancelAnimations(),n.animate({resolution:o,anchor:e,duration:void 0!==i?i:250,easing:gf})}const Cf=class LMe extends Va{constructor(t){super(),t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get("active")}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set("active",t)}setMap(t){this.map_=t}},oG=class IMe extends Cf{constructor(t){super(),this.delta_=(t=t||{}).delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==Rn.DBLCLICK){const i=t.originalEvent,r=t.coordinate,o=i.shiftKey?-this.delta_:this.delta_;NL(t.map.getView(),o,r,this.duration_),i.preventDefault(),e=!0}return!e}};function FL(n){const t=n.length;let e=0,i=0;for(let s=0;s<t;s++)e+=n[s].clientX,i+=n[s].clientY;return{clientX:e/t,clientY:i/t}}const Jc=class AMe extends Cf{constructor(t){super(t=t||{}),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==Rn.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==Rn.POINTERUP){const i=this.handleUpEvent(t);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(t.type==Rn.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==Rn.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}};function YL(n){const t=arguments;return function(e){let i=!0;for(let s=0,r=t.length;s<r&&(i=i&&t[s](e),i);++s);return i}}const NMe=function(n){const t=n.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},aG=function(n){return!n.map.getTargetElement().hasAttribute("tabindex")||function(n){const t=n.map.getTargetElement(),e=n.map.getOwnerDocument().activeElement;return t.contains(e)}(n)},Qv=Ha,lG=function(n){const t=n.originalEvent;return 0==t.button&&!(Iwe&&X8&&t.ctrlKey)},BL=function(n){const t=n.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},FM=function(n){const t=n.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},uG=function(n){const t=n.originalEvent,e=t.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e&&!t.target.isContentEditable},rm=function(n){const t=n.originalEvent;return An(void 0!==t,"mapBrowserEvent must originate from a pointer event"),"mouse"==t.pointerType},dG=function(n){const t=n.originalEvent;return An(void 0!==t,"mapBrowserEvent must originate from a pointer event"),t.isPrimary&&0===t.button},hG=class jMe extends Jc{constructor(t){super({stopDown:Bg}),this.kinetic_=(t=t||{}).kinetic,this.lastCentroid=null,this.panning_=!1;const e=t.condition?t.condition:YL(BL,dG);this.condition_=t.onFocusOnly?YL(aG,e):e,this.noKinetic_=!1}handleDragEvent(t){const e=t.map;this.panning_||(this.panning_=!0,e.getView().beginInteraction());const i=this.targetPointers,s=e.getEventPixel(FL(i));if(i.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(s[0],s[1]),this.lastCentroid){const r=[this.lastCentroid[0]-s[0],s[1]-this.lastCentroid[1]],a=t.map.getView();(function Cz(n,t){return n[0]*=t,n[1]*=t,n})(r,a.getResolution()),sL(r,a.getRotation()),a.adjustCenterInternal(r)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=s,this.lastPointersCount_=i.length,t.originalEvent.preventDefault()}handleUpEvent(t){const e=t.map,i=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){const s=this.kinetic_.getDistance(),r=this.kinetic_.getAngle(),o=i.getCenterInternal(),a=e.getPixelFromCoordinateInternal(o),l=e.getCoordinateFromPixelInternal([a[0]-s*Math.cos(r),a[1]-s*Math.sin(r)]);i.animateInternal({center:i.getConstrainedCenter(l),duration:500,easing:gf})}return this.panning_&&(this.panning_=!1,i.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(t){if(this.targetPointers.length>0&&this.condition_(t)){const i=t.map.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}},fG=class BMe extends Jc{constructor(t){t=t||{},super({stopDown:Bg}),this.condition_=t.condition?t.condition:NMe,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!rm(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===fL)return;const s=e.getSize(),r=t.pixel,o=Math.atan2(s[1]/2-r[1],r[0]-s[0]/2);void 0!==this.lastAngle_&&i.adjustRotationInternal(-(o-this.lastAngle_)),this.lastAngle_=o}handleUpEvent(t){return!rm(t)||(t.map.getView().endInteraction(this.duration_),!1)}handleDownEvent(t){return!!(rm(t)&&lG(t)&&this.condition_(t))&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0)}},VMe=class HMe extends eM{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",s=this.element_.style;s.left=Math.min(t[0],e[0])+i,s.top=Math.min(t[1],e[1])+i,s.width=Math.abs(e[0]-t[0])+i,s.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,s=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new Dd([s])}getGeometry(){return this.geometry_}};class HL extends cr{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}const pG=class UMe extends Jc{constructor(t){super(),this.box_=new VMe((t=t||{}).className||"ol-dragbox"),this.minArea_=void 0!==t.minArea?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:lG,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const s=i[0]-e[0],r=i[1]-e[1];return s*s+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new HL("boxdrag",t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new HL(e?"boxend":"boxcancel",t.coordinate,t)),!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new HL("boxstart",t.coordinate,t)),!0)}onBoxEnd(t){}},gG=class zMe extends pG{constructor(t){super({condition:(t=t||{}).condition?t.condition:FM,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){const i=this.getMap().getView();let s=this.getGeometry();if(this.out_){const r=i.rotatedExtentForGeometry(s),o=i.getResolutionForExtentInternal(r),a=i.getResolution()/o;s=s.clone(),s.scale(a*a)}i.fitInternal(s,{duration:this.duration_,easing:gf})}},WMe=class GMe extends Cf{constructor(t){super(),t=t||{},this.defaultCondition_=function(e){return BL(e)&&uG(e)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if("keydown"==t.type){const i=t.originalEvent,s=i.key;if(this.condition_(t)&&("ArrowDown"==s||"ArrowLeft"==s||"ArrowRight"==s||"ArrowUp"==s)){const o=t.map.getView(),a=o.getResolution()*this.pixelDelta_;let l=0,c=0;"ArrowDown"==s?c=-a:"ArrowLeft"==s?l=-a:"ArrowRight"==s?l=a:c=a;const u=[l,c];sL(u,o.getRotation()),function PMe(n,t,e){const i=n.getCenterInternal();i&&n.animateInternal({duration:void 0!==e?e:250,easing:ICe,center:n.getConstrainedCenter([i[0]+t[0],i[1]+t[1]])})}(o,u,this.duration_),i.preventDefault(),e=!0}}return!e}},qMe=class $Me extends Cf{constructor(t){super(),this.condition_=(t=t||{}).condition?t.condition:function(e){return!function(n){const t=n.originalEvent;return X8?t.metaKey:t.ctrlKey}(e)&&uG(e)},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if("keydown"==t.type||"keypress"==t.type){const i=t.originalEvent,s=i.key;if(this.condition_(t)&&("+"===s||"-"===s)){const o="+"===s?this.delta_:-this.delta_;NL(t.map.getView(),o,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}},XMe=class KMe{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;let i=e-3;for(;i>0&&this.points_[i+2]>t;)i-=3;const s=this.points_[e+2]-this.points_[i+2];if(s<1e3/60)return!1;const r=this.points_[e]-this.points_[i],o=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(o,r),this.initialVelocity_=Math.sqrt(r*r+o*o)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}},mG=class ZMe extends Cf{constructor(t){super(t=t||{}),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;const e=t.condition?t.condition:Qv;this.condition_=t.onFocusOnly?YL(aG,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.mode_=void 0,this.trackpadEventGap_=400,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();t&&t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||"wheel"!==t.type)return!0;const i=t.map,s=t.originalEvent;let r;if(s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),"wheel"==t.type&&(r=s.deltaY,Pwe&&s.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(r/=Z8),s.deltaMode===WheelEvent.DOM_DELTA_LINE&&(r*=40)),0===r)return!1;this.lastDelta_=r;const o=Date.now();void 0===this.startTime_&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const a=i.getView();if("trackpad"===this.mode_&&!a.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=o,!1;this.totalDelta_+=r;const l=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),l),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-rn(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),NL(e,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}},QMe=class JMe extends Jc{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=Bg),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],s=this.targetPointers[1],r=Math.atan2(s.clientY-i.clientY,s.clientX-i.clientX);if(void 0!==this.lastAngle_){const l=r-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=l}this.lastAngle_=r;const o=t.map,a=o.getView();a.getConstraints().rotation!==fL&&(this.anchor_=o.getCoordinateFromPixelInternal(o.getEventPixel(FL(this.targetPointers))),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return!(this.targetPointers.length<2&&(t.map.getView().endInteraction(this.duration_),1))}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}},_G=class eDe extends Jc{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=Bg),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],s=this.targetPointers[1],r=i.clientX-s.clientX,o=i.clientY-s.clientY,a=Math.sqrt(r*r+o*o);void 0!==this.lastDistance_&&(e=this.lastDistance_/a),this.lastDistance_=a;const l=t.map,c=l.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(FL(this.targetPointers))),l.render(),c.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){return!(this.targetPointers.length<2)||(t.map.getView().endInteraction(this.duration_,this.lastScaleDelta_>1?1:-1),!1)}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};function vG(n){return n[0]>0&&n[1]>0}function Lr(n,t){return Array.isArray(n)?n:(void 0===t?t=[n,n]:(t[0]=n,t[1]=n),t)}function bG(n){n instanceof Wv?n.setMapInternal(null):n instanceof Jv&&n.getLayers().forEach(bG)}function wG(n,t){if(n instanceof Wv)n.setMapInternal(t);else if(n instanceof Jv){const e=n.getLayers().getArray();for(let i=0,s=e.length;i<s;++i)wG(e[i],t)}}const CG=class nDe extends Va{constructor(t){super();const e=function iDe(n){let t=null;void 0!==n.keyboardEventTarget&&(t="string"==typeof n.keyboardEventTarget?document.getElementById(n.keyboardEventTarget):n.keyboardEventTarget);const e={},i=n.layers&&"function"==typeof n.layers.getLayers?n.layers:new Jv({layers:n.layers});let s,r,o;return e.layergroup=i,e.target=n.target,e.view=n.view instanceof fa?n.view:new fa,void 0!==n.controls&&(Array.isArray(n.controls)?s=new Ls(n.controls.slice()):(An("function"==typeof n.controls.getArray,"Expected `controls` to be an array or an `ol/Collection.js`"),s=n.controls)),void 0!==n.interactions&&(Array.isArray(n.interactions)?r=new Ls(n.interactions.slice()):(An("function"==typeof n.interactions.getArray,"Expected `interactions` to be an array or an `ol/Collection.js`"),r=n.interactions)),void 0!==n.overlays?Array.isArray(n.overlays)?o=new Ls(n.overlays.slice()):(An("function"==typeof n.overlays.getArray,"Expected `overlays` to be an array or an `ol/Collection.js`"),o=n.overlays):o=new Ls,{controls:s,interactions:r,keyboardEventTarget:t,overlays:o,values:e}}(t=t||{});this.loaded_=!0,this.boundHandleBrowserEvent_=this.handleBrowserEvent.bind(this),this.maxTilesLoading_=void 0!==t.maxTilesLoading?t.maxTilesLoading:16,this.pixelRatio_=void 0!==t.pixelRatio?t.pixelRatio:Z8,this.animationDelay_=this.animationDelay_.bind(this),this.coordinateToPixelTransform_=[1,0,0,1,0,0],this.pixelToCoordinateTransform_=[1,0,0,1,0,0],this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.style.position="absolute",this.overlayContainer_.style.zIndex="0",this.overlayContainer_.style.width="100%",this.overlayContainer_.style.height="100%",this.overlayContainer_.style.pointerEvents="none",this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.style.position="absolute",this.overlayContainerStopEvent_.style.zIndex="0",this.overlayContainerStopEvent_.style.width="100%",this.overlayContainerStopEvent_.style.height="100%",this.overlayContainerStopEvent_.style.pointerEvents="none",this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",this.viewport_.appendChild(this.overlayContainerStopEvent_),this.mapBrowserEventHandler_=null,this.moveTolerance_=t.moveTolerance,this.keyboardEventTarget_=e.keyboardEventTarget,this.targetChangeHandlerKeys_=null,this.targetElement_=null,this.resizeObserver_=new ResizeObserver(()=>this.updateSize()),this.controls=e.controls||function rG(n){n=n||{};const t=new Ls;return(void 0===n.zoom||n.zoom)&&t.push(new sG(n.zoomOptions)),(void 0===n.rotate||n.rotate)&&t.push(new iG(n.rotateOptions)),(void 0===n.attribution||n.attribution)&&t.push(new nG(n.attributionOptions)),t}(),this.interactions=e.interactions||function yG(n){n=n||{};const t=new Ls,e=new XMe(-.005,.05,100);return(void 0===n.altShiftDragRotate||n.altShiftDragRotate)&&t.push(new fG),(void 0===n.doubleClickZoom||n.doubleClickZoom)&&t.push(new oG({delta:n.zoomDelta,duration:n.zoomDuration})),(void 0===n.dragPan||n.dragPan)&&t.push(new hG({onFocusOnly:n.onFocusOnly,kinetic:e})),(void 0===n.pinchRotate||n.pinchRotate)&&t.push(new QMe),(void 0===n.pinchZoom||n.pinchZoom)&&t.push(new _G({duration:n.zoomDuration})),(void 0===n.keyboard||n.keyboard)&&(t.push(new WMe),t.push(new qMe({delta:n.zoomDelta,duration:n.zoomDuration}))),(void 0===n.mouseWheelZoom||n.mouseWheelZoom)&&t.push(new mG({onFocusOnly:n.onFocusOnly,duration:n.zoomDuration})),(void 0===n.shiftDragZoom||n.shiftDragZoom)&&t.push(new gG({duration:n.zoomDuration})),t}({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new tG(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener("layergroup",this.handleLayerGroupChanged_),this.addChangeListener("view",this.handleViewChanged_),this.addChangeListener("size",this.handleSizeChanged_),this.addChangeListener("target",this.handleTargetChanged_),this.setProperties(e.values);const i=this;t.view&&!(t.view instanceof fa)&&t.view.then(function(s){i.setView(new fa(s))}),this.controls.addEventListener("add",s=>{s.element.setMap(this)}),this.controls.addEventListener("remove",s=>{s.element.setMap(null)}),this.interactions.addEventListener("add",s=>{s.element.setMap(this)}),this.interactions.addEventListener("remove",s=>{s.element.setMap(null)}),this.overlays_.addEventListener("add",s=>{this.addOverlayInternal_(s.element)}),this.overlays_.addEventListener("remove",s=>{const r=s.element.getId();void 0!==r&&delete this.overlayIdIndex_[r.toString()],s.element.setMap(null)}),this.controls.forEach(s=>{s.setMap(this)}),this.interactions.forEach(s=>{s.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){wG(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const s=this.getCoordinateFromPixelInternal(t);return this.renderer_.forEachFeatureAtCoordinate(s,this.frameState_,void 0!==(i=void 0!==i?i:{}).hitTolerance?i.hitTolerance:0,!1!==i.checkWrapped,e,null,void 0!==i.layerFilter?i.layerFilter:Ha,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,function(s){i.push(s)},e),i}getAllLayers(){const t=[];return function e(i){i.forEach(function(s){s instanceof Jv?e(s.getLayers()):t.push(s)})}(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t);return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,void 0!==(e=void 0!==e?e:{}).hitTolerance?e.hitTolerance:0,!1!==e.checkWrapped,void 0!==e.layerFilter?e.layerFilter:Ha,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const i=this.viewport_.getBoundingClientRect(),s=this.getSize(),a="changedTouches"in t?t.changedTouches[0]:t;return[(a.clientX-i.left)/(i.width/s[0]),(a.clientY-i.top)/(i.height/s[1])]}getTarget(){return this.get("target")}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Qg(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?Cs(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get("layergroup")}setLayers(t){const e=this.getLayerGroup();if(t instanceof Ls)return void e.setLayers(t);const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const s=t[e];if(!s.visible)continue;const r=s.layer.getRenderer();if(r&&!r.ready)return!0;const o=s.layer.getSource();if(o&&o.loading)return!0}return!1}getPixelFromCoordinate(t){const e=Qi(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)}getPixelFromCoordinateInternal(t){const e=this.frameState_;return e?Cs(e.coordinateToPixelTransform,t.slice(0,2)):null}getRenderer(){return this.renderer_}getSize(){return this.get("size")}getView(){return this.get("view")}getViewport(){return this.viewport_}getOverlayContainer(){return this.overlayContainer_}getOverlayContainerStopEvent(){return this.overlayContainerStopEvent_}getOwnerDocument(){const t=this.getTargetElement();return t?t.ownerDocument:document}getTilePriority(t,e,i,s){return function SMe(n,t,e,i,s){if(!n||!(e in n.wantedTiles)||!n.wantedTiles[e][t.getKey()])return RM;const r=n.viewState.center,o=i[0]-r[0],a=i[1]-r[1];return 65536*Math.log(s)+Math.sqrt(o*o+a*a)/s}(this.frameState_,t,e,i,s)}handleBrowserEvent(t,e){const i=new Zc(e=e||t.type,this,t);this.handleMapBrowserEvent(i)}handleMapBrowserEvent(t){if(!this.frameState_)return;const e=t.originalEvent,i=e.type;if("pointerdown"===i||"wheel"===i||"keydown"===i){const s=this.getOwnerDocument(),r=this.viewport_.getRootNode?this.viewport_.getRootNode():s,o=e.target;if(this.overlayContainerStopEvent_.contains(o)||!(r===s?s.documentElement:r).contains(o))return}if(t.frameState=this.frameState_,!1!==this.dispatchEvent(t)){const s=this.getInteractions().getArray().slice();for(let r=s.length-1;r>=0;r--){const o=s[r];if(o.getMap()===this&&o.getActive()&&this.getTargetElement()&&(!o.handleEvent(t)||t.propagationStopped))break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let s=this.maxTilesLoading_,r=s;if(t){const o=t.viewHints;if(o[0]||o[1]){const a=Date.now()-t.time>8;s=a?0:8,r=a?0:2}}e.getTilesLoading()<s&&(e.reprioritize(),e.loadMoreTiles(s,r))}t&&this.renderer_&&!t.animate&&(!0===this.renderComplete_?(this.hasListener("rendercomplete")&&this.renderer_.dispatchRenderEvent("rendercomplete",t),!1===this.loaded_&&(this.loaded_=!0,this.dispatchEvent(new sm("loadend",this,t)))):!0===this.loaded_&&(this.loaded_=!1,this.dispatchEvent(new sm("loadstart",this,t))));const i=this.postRenderFunctions_;for(let s=0,r=i.length;s<r;++s)i[s](this,t);i.length=0}handleSizeChanged_(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()}handleTargetChanged_(){if(this.mapBrowserEventHandler_){for(let i=0,s=this.targetChangeHandlerKeys_.length;i<s;++i)si(this.targetChangeHandlerKeys_[i]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener("contextmenu",this.boundHandleBrowserEvent_),this.viewport_.removeEventListener("wheel",this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,PM(this.viewport_)}if(this.targetElement_){this.resizeObserver_.unobserve(this.targetElement_);const i=this.targetElement_.getRootNode();i instanceof ShadowRoot&&this.resizeObserver_.unobserve(i.host),this.setSize(void 0)}const t=this.getTarget(),e="string"==typeof t?document.getElementById(t):t;if(this.targetElement_=e,e){e.appendChild(this.viewport_),this.renderer_||(this.renderer_=new yMe(this)),this.mapBrowserEventHandler_=new CMe(this,this.moveTolerance_);for(const r in Rn)this.mapBrowserEventHandler_.addEventListener(Rn[r],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener("contextmenu",this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener("wheel",this.boundHandleBrowserEvent_,!!J8&&{passive:!1});const i=this.keyboardEventTarget_?this.keyboardEventTarget_:e;this.targetChangeHandlerKeys_=[Kt(i,"keydown",this.handleBrowserEvent,this),Kt(i,"keypress",this.handleBrowserEvent,this)];const s=e.getRootNode();s instanceof ShadowRoot&&this.resizeObserver_.observe(s.host),this.resizeObserver_.observe(e)}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()}handleTileChange_(){this.render()}handleViewPropertyChanged_(){this.render()}handleViewChanged_(){this.viewPropertyListenerKey_&&(si(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(si(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);const t=this.getView();t&&(this.updateViewportSize_(this.getSize()),this.viewPropertyListenerKey_=Kt(t,"propertychange",this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=Kt(t,"change",this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()}handleLayerGroupChanged_(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(si),this.layerGroupPropertyListenerKeys_=null);const t=this.getLayerGroup();t&&(this.handleLayerAdd_(new xd("addlayer",t)),this.layerGroupPropertyListenerKeys_=[Kt(t,"propertychange",this.render,this),Kt(t,"change",this.render,this),Kt(t,"addlayer",this.handleLayerAdd_,this),Kt(t,"removelayer",this.handleLayerRemove_,this)]),this.render()}isRendered(){return!!this.frameState_}animationDelay_(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}renderSync(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()}redrawText(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const s=t[e].layer;s.hasRenderer()&&s.getRenderer().handleFontsChanged()}}render(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))}flushDeclutterItems(){const t=this.frameState_;t&&this.renderer_.flushDeclutterItems(t)}removeControl(t){return this.getControls().remove(t)}removeInteraction(t){return this.getInteractions().remove(t)}removeLayer(t){return this.getLayerGroup().getLayers().remove(t)}handleLayerRemove_(t){bG(t.layer)}removeOverlay(t){return this.getOverlays().remove(t)}renderFrame_(t){const e=this.getSize(),i=this.getView(),s=this.frameState_;let r=null;if(void 0!==e&&vG(e)&&i&&i.isDef()){const o=i.getHints(this.frameState_?this.frameState_.viewHints:void 0),a=i.getState();if(r={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Yv(a.center,a.resolution,a.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:a,viewHints:o,wantedTiles:{},mapId:Tt(this),renderTargets:{}},a.nextCenter&&a.nextResolution){const l=isNaN(a.nextRotation)?a.rotation:a.nextRotation;r.nextExtent=Yv(a.nextCenter,a.nextResolution,l,e)}}this.frameState_=r,this.renderer_.renderFrame(r),r&&(r.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,r.postRenderFunctions),s&&(!this.previousExtent_||!vd(this.previousExtent_)&&!Ua(r.extent,this.previousExtent_))&&(this.dispatchEvent(new sm("movestart",this,s)),this.previousExtent_=yd(this.previousExtent_)),this.previousExtent_&&!r.viewHints[0]&&!r.viewHints[1]&&!Ua(r.extent,this.previousExtent_)&&(this.dispatchEvent(new sm("moveend",this,r)),tz(r.extent,this.previousExtent_))),this.dispatchEvent(new sm("postrender",this,r)),this.renderComplete_=this.hasListener("loadstart")||this.hasListener("loadend")||this.hasListener("rendercomplete")?!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady():void 0,this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout(()=>{this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new xd("removelayer",e)),this.set("layergroup",t)}setSize(t){this.set("size",t)}setTarget(t){this.set("target",t)}setView(t){if(!t||t instanceof fa)return void this.set("view",t);this.set("view",new fa);const e=this;t.then(function(i){e.setView(new fa(i))})}updateSize(){const t=this.getTargetElement();let e;if(t){const s=getComputedStyle(t),r=t.offsetWidth-parseFloat(s.borderLeftWidth)-parseFloat(s.paddingLeft)-parseFloat(s.paddingRight)-parseFloat(s.borderRightWidth),o=t.offsetHeight-parseFloat(s.borderTopWidth)-parseFloat(s.paddingTop)-parseFloat(s.paddingBottom)-parseFloat(s.borderBottomWidth);!isNaN(r)&&!isNaN(o)&&(e=[r,o],!vG(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&Mz("No map visible because the map container's width or height are 0."))}const i=this.getSize();e&&(!i||!Uc(e,i))&&(this.setSize(e),this.updateViewportSize_(e))}updateViewportSize_(t){const e=this.getView();e&&e.setViewportSize(t)}};class VL extends Va{constructor(t){super(),this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t&&("function"==typeof t.getSimplifiedGeometry?this.setGeometry(t):this.setProperties(t))}clone(){const t=new VL(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(si(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=Kt(t,"change",this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?function sDe(n){if("function"==typeof n)return n;let t;return Array.isArray(n)?t=n:(An("function"==typeof n.getZIndex,"Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),t=[n]),function(){return t}}(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}const Pr=VL;class UL{constructor(t){this.color_=void 0!==(t=t||{}).color?t.color:null}clone(){const t=this.getColor();return new UL({color:Array.isArray(t)?t.slice():t||void 0})}getColor(){return this.color_}setColor(t){this.color_=t}}const Sd=UL;function jM(n,t,e,i,s,r,o){let a,l;const c=(e-t)/i;if(1===c)a=t;else if(2===c)a=t,l=s;else if(0!==c){let u=n[t],d=n[t+1],h=0;const p=[0];for(let x=t+i;x<e;x+=i){const k=n[x],P=n[x+1];h+=Math.sqrt((k-u)*(k-u)+(P-d)*(P-d)),p.push(h),u=k,d=P}const _=s*h,v=function Mwe(n,t,e){let i,s;e=e||gd;let r=0,o=n.length,a=!1;for(;r<o;)i=r+(o-r>>1),s=+e(n[i],t),s<0?r=i+1:(o=i,a=!s);return a?r:~r}(p,_);v<0?(l=(_-p[-v-2])/(p[-v-1]-p[-v-2]),a=t+(-v-2)*i):a=t+v*i}o=o>1?o:2,r=r||new Array(o);for(let u=0;u<o;++u)r[u]=void 0===a?NaN:void 0===l?n[a+u]:Yo(n[a+u],n[a+i+u],l);return r}function GL(n,t,e,i){let s=n[t],r=n[t+1],o=0;for(let a=t+i;a<e;a+=i){const l=n[a],c=n[a+1];o+=Math.sqrt((l-s)*(l-s)+(c-r)*(c-r)),s=l,r=c}return o}class WL{constructor(t){this.color_=void 0!==(t=t||{}).color?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=void 0!==t.lineDash?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new WL({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}const Qc=WL;class $L{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=Lr(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new $L({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return zt()}getImage(t){return zt()}getHitDetectionImage(){return zt()}getPixelRatio(t){return 1}getImageState(){return zt()}getImageSize(){return zt()}getOrigin(){return zt()}getSize(){return zt()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=Lr(t)}listenImageChange(t){zt()}load(){zt()}unlistenImageChange(t){zt()}}const MG=$L;function Hl(n){return Array.isArray(n)?hz(n):n}class qL extends MG{constructor(t){super({opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,displacement:void 0!==t.displacement?t.displacement:[0,0],declutterMode:t.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=void 0!==t.fill?t.fill:null,this.origin_=[0,0],this.points_=t.points,this.radius_=void 0!==t.radius?t.radius:t.radius1,this.radius2_=t.radius2,this.angle_=void 0!==t.angle?t.angle:0,this.stroke_=void 0!==t.stroke?t.stroke:null,this.render()}clone(){const t=this.getScale(),e=new qL({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){let e=this.canvases_[t];if(!e){const i=this.renderOptions_,s=Ps(i.size*t,i.size*t);this.draw_(i,s,t),e=s.canvas,this.canvases_[t]=e}return e}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return 2}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(0===e||this.points_===1/0||"bevel"!==t&&"miter"!==t)return e;let s=this.radius_,r=void 0===this.radius2_?s:this.radius2_;if(s<r){const Z=s;s=r,r=Z}const a=2*Math.PI/(void 0===this.radius2_?this.points_:2*this.points_),l=r*Math.sin(a),u=s-Math.sqrt(r*r-l*l),d=Math.sqrt(l*l+u*u),h=d/l;if("miter"===t&&h<=i)return h*e;const p=e/2/h,_=e/2*(u/d),x=Math.sqrt((s+p)*(s+p)+_*_)-s;if(void 0===this.radius2_||"bevel"===t)return 2*x;const k=s*Math.sin(a),j=r-Math.sqrt(s*s-k*k),G=Math.sqrt(k*k+j*j)/k;return G<=i?2*Math.max(x,G*e/2-r-s):2*x}createRenderOptions(){let o,t=tm,e=nm,i=0,s=null,r=0,a=0;this.stroke_&&(o=Hl(this.stroke_.getColor()??Kv),a=this.stroke_.getWidth()??1,s=this.stroke_.getLineDash(),r=this.stroke_.getLineDashOffset()??0,e=this.stroke_.getLineJoin()??nm,t=this.stroke_.getLineCap()??tm,i=this.stroke_.getMiterLimit()??10);const l=this.calculateLineJoinSize_(e,a,i),c=Math.max(this.radius_,this.radius2_||0);return{strokeStyle:o,strokeWidth:a,size:Math.ceil(2*c+l),lineCap:t,lineDash:s,lineDashOffset:r,lineJoin:e,miterLimit:i}}render(){this.renderOptions_=this.createRenderOptions();const t=this.renderOptions_.size;this.canvases_={},this.hitDetectionCanvas_=null,this.size_=[t,t]}draw_(t,e,i){if(e.scale(i,i),e.translate(t.size/2,t.size/2),this.createPath_(e),this.fill_){let s=this.fill_.getColor();null===s&&(s=to),e.fillStyle=Hl(s),e.fill()}t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}createHitDetectionCanvas_(t){let e;if(this.fill_){let i=this.fill_.getColor(),s=0;"string"==typeof i&&(i=uM(i)),null===i?s=1:Array.isArray(i)&&(s=4===i.length?i[3]:1),0===s&&(e=Ps(t.size,t.size),this.drawHitDetectionCanvas_(t,e))}return e?e.canvas:this.getImage(1)}createPath_(t){let e=this.points_;const i=this.radius_;if(e===1/0)t.arc(0,0,i,0,2*Math.PI);else{const s=void 0===this.radius2_?i:this.radius2_;void 0!==this.radius2_&&(e*=2);const r=this.angle_-Math.PI/2,o=2*Math.PI/e;for(let a=0;a<e;a++){const l=r+a*o,c=a%2==0?i:s;t.lineTo(c*Math.cos(l),c*Math.sin(l))}t.closePath()}}drawHitDetectionCanvas_(t,e){e.translate(t.size/2,t.size/2),this.createPath_(e),e.fillStyle=to,e.fill(),t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}}const DG=qL;class KL extends DG{constructor(t){super({points:1/0,fill:(t=t||{radius:5}).fill,radius:t.radius,stroke:t.stroke,scale:void 0!==t.scale?t.scale:1,rotation:void 0!==t.rotation?t.rotation:0,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,displacement:void 0!==t.displacement?t.displacement:[0,0],declutterMode:t.declutterMode})}clone(){const t=this.getScale(),e=new KL({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}setRadius(t){this.radius_=t,this.render()}}const HM=KL;class Td{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=xG,void 0!==t.geometry&&this.setGeometry(t.geometry),this.fill_=void 0!==t.fill?t.fill:null,this.image_=void 0!==t.image?t.image:null,this.renderer_=void 0!==t.renderer?t.renderer:null,this.hitDetectionRenderer_=void 0!==t.hitDetectionRenderer?t.hitDetectionRenderer:null,this.stroke_=void 0!==t.stroke?t.stroke:null,this.text_=void 0!==t.text?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&"object"==typeof t&&(t=t.clone()),new Td({geometry:t??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=xG,this.geometry_=t}setZIndex(t){this.zIndex_=t}}let XL=null;function aDe(n,t){if(!XL){const e=new Sd({color:"rgba(255,255,255,0.4)"}),i=new Qc({color:"#3399CC",width:1.25});XL=[new Td({image:new HM({fill:e,stroke:i,radius:5}),fill:e,stroke:i})]}return XL}function xG(n){return n.getGeometry()}const Ed=Td;class JL{constructor(t){this.font_=(t=t||{}).font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=Lr(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new Sd({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding}clone(){const t=this.getScale();return new JL({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=Lr(void 0!==t?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}const VM=JL;var SG=V(94153);let e0=null;class hDe extends Iv{constructor(t,e,i,s,r){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=void 0===s?0:s,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e}initializeImage_(){this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(void 0===this.tainted_&&2===this.imageState_){e0||(e0=Ps(1,1,void 0,{willReadFrequently:!0})),e0.drawImage(this.image_,0,0);try{e0.getImageData(0,0,1,1),this.tainted_=!1}catch{e0=null,this.tainted_=!0}}return!0===this.tainted_}dispatchChangeEvent_(){this.dispatchEvent("change")}handleImageError_(){this.imageState_=3,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=2,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=Ps(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(0===this.imageState_){this.image_||this.initializeImage_(),this.imageState_=1;try{void 0!==this.src_&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&function TG(n,t){return t&&(n.src=t),n.src&&V2?new Promise((e,i)=>n.decode().then(()=>e(n)).catch(s=>n.complete&&n.width?e(n):i(s))):function dDe(n,t){return new Promise((e,i)=>{function s(){o(),e(n)}function r(){o(),i(new Error("Image load error"))}function o(){n.removeEventListener("load",s),n.removeEventListener("error",r)}n.addEventListener("load",s),n.addEventListener("error",r),t&&(n.src=t)})}(n)}(this.image_,this.src_).then(t=>{this.image_=t,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||2!==this.imageState_)return;const e=this.image_,i=document.createElement("canvas");i.width=Math.ceil(e.width*t),i.height=Math.ceil(e.height*t);const s=i.getContext("2d");s.scale(t,t),s.drawImage(e,0,0),s.globalCompositeOperation="multiply",s.fillStyle=cz(this.color_),s.fillRect(0,0,i.width/t,i.height/t),s.globalCompositeOperation="destination-in",s.drawImage(e,0,0),this.canvas_[t]=i}}function EG(n,t,e,i){return void 0!==e&&void 0!==i?[e/n,i/t]:void 0!==e?e/n:void 0!==i?i/t:1}class QL extends MG{constructor(t){super({opacity:void 0!==(t=t||{}).opacity?t.opacity:1,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,displacement:void 0!==t.displacement?t.displacement:[0,0],rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,declutterMode:t.declutterMode}),this.anchor_=void 0!==t.anchor?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.anchorXUnits_=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.anchorYUnits_=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null;const o=void 0!==t.img?t.img:null;let l,a=t.src;if(An(!(void 0!==a&&o),"`image` and `src` cannot be provided at the same time"),(void 0===a||0===a.length)&&o&&(a=o.src||Tt(o)),An(void 0!==a&&a.length>0,"A defined and non-empty `src` or `image` must be provided"),An(!((void 0!==t.width||void 0!==t.height)&&void 0!==t.scale),"`width` or `height` cannot be provided together with `scale`"),void 0!==t.src?l=0:void 0!==o&&(l=o instanceof HTMLImageElement?o.complete?o.src?2:0:1:2),this.color_=void 0!==t.color?uM(t.color):null,this.iconImage_=function fDe(n,t,e,i,s){let r=void 0===t?void 0:dM.get(t,e,s);return r||(r=new hDe(n,n instanceof HTMLImageElement?n.src||void 0:t,e,i,s),dM.set(t,e,s,r)),r}(o,a,this.crossOrigin_,l,this.color_),this.offset_=void 0!==t.offset?t.offset:[0,0],this.offsetOrigin_=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==t.size?t.size:null,void 0!==t.width||void 0!==t.height){let c,u;if(t.size)[c,u]=t.size;else{const d=this.getImage(1);if(d.width&&d.height)c=d.width,u=d.height;else if(d instanceof HTMLImageElement){this.initialOptions_=t;const h=()=>{if(this.unlistenImageChange(h),!this.initialOptions_)return;const p=this.iconImage_.getSize();this.setScale(EG(p[0],p[1],t.width,t.height))};return void this.listenImageChange(h)}}void 0!==c&&this.setScale(EG(c,u,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new QL({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const s=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!s)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=s[0]),"fraction"==this.anchorYUnits_&&(t[1]*=s[1])}if("top-left"!=this.anchorOrigin_){if(!s)return null;t===this.anchor_&&(t=this.anchor_.slice()),("top-right"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[0]=-t[0]+s[0]),("bottom-left"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[1]=-t[1]+s[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if("top-left"!=this.offsetOrigin_){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),("top-right"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[0]=i[0]-e[0]-t[0]),("bottom-left"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();return this.size_?this.size_[0]*t[0]:2==this.iconImage_.getImageState()?this.iconImage_.getSize()[0]*t[0]:void 0}getHeight(){const t=this.getScaleArray();return this.size_?this.size_[1]*t[1]:2==this.iconImage_.getImageState()?this.iconImage_.getSize()[1]*t[1]:void 0}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener("change",t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener("change",t)}}const zM=QL;let am=0;const lm=0,ms=1<<am++,Ot=1<<am++,Ja=1<<am++,ur=1<<am++,kd=1<<am++,no=Math.pow(2,5)-1,kG={[ms]:"boolean",[Ot]:"number",[Ja]:"string",[ur]:"color",[kd]:"number[]"},pDe=Object.keys(kG).map(Number).sort(gd);function dr(n){const t=[];for(const e of pDe)gDe(n,e)&&t.push(kG[e]);return 0===t.length?"untyped":t.length<3?t.join(" or "):t.slice(0,-1).join(", ")+", or "+t[t.length-1]}function gDe(n,t){return(n&t)===t}function Vl(n,t){return!!(n&t)}function GM(n,t){return n===t}class Od{constructor(t,e){this.type=t,this.value=e}}class mDe{constructor(t,e,...i){this.type=t,this.operator=e,this.args=i}}function OG(){return{variables:new Set,properties:new Set,featureId:!1,style:{}}}function ri(n,t,e){switch(typeof n){case"boolean":return new Od(ms,n);case"number":return new Od(Ot,n);case"string":{let s=Ja;return function nCe(n){try{return eL(n),!0}catch{return!1}}(n)&&(s|=ur),GM(s&e,lm)||(s&=e),new Od(s,n)}}if(!Array.isArray(n))throw new Error("Expression must be an array or a primitive value");if(0===n.length)throw new Error("Empty expression");if("string"==typeof n[0])return function EDe(n,t,e){const i=n[0],s=yDe[i];if(!s)throw new Error(`Unknown operator: ${i}`);return s(n,t,e)}(n,t,e);for(const s of n)if("number"!=typeof s)throw new Error("Expected an array of numbers");let i=kd;return(3===n.length||4===n.length)&&(i|=ur),e&&(i&=e),new Od(i,n)}const Ke={Get:"get",Var:"var",Concat:"concat",GeometryType:"geometry-type",Any:"any",All:"all",Not:"!",Resolution:"resolution",Zoom:"zoom",Time:"time",Equal:"==",NotEqual:"!=",GreaterThan:">",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette"},yDe={[Ke.Get]:on(([n,t])=>void 0!==t?function _De(n){switch(n){case"string":return Ja;case"color":return ur;case"number":return Ot;case"boolean":return ms;case"number[]":return kd;default:throw new Error(`Unrecognized type hint: ${n}`)}}(t.value):no,Cn(1,2),function vDe(n,t){const e=ri(n[1],t);if(!(e instanceof Od))throw new Error("Expected a literal argument for get operation");if("string"!=typeof e.value)throw new Error("Expected a string argument for get operation");return t.properties.add(e.value),3===n.length?[e,ri(n[2],t)]:[e]}),[Ke.Var]:on(([n])=>n.type,Cn(1,1),function bDe(n,t,e,i){const s=n[1];if("string"!=typeof s)throw new Error("Expected a string argument for var operation");if(t.variables.add(s),!("variables"in t.style)||void 0===t.style.variables[s])return[new Od(no,s)];const o=ri(t.style.variables[s],t);if(o.value=s,i&&!Vl(i,o.type))throw new Error(`The variable ${s} has type ${dr(o.type)} but the following type was expected: ${dr(i)}`);return[o]}),[Ke.Id]:on(Ot|Ja,t0,function wDe(n,t){t.featureId=!0}),[Ke.Concat]:on(Ja,Cn(2,1/0),Qn(no)),[Ke.GeometryType]:on(Ja,t0),[Ke.Resolution]:on(Ot,t0),[Ke.Zoom]:on(Ot,t0),[Ke.Time]:on(Ot,t0),[Ke.Any]:on(ms,Cn(2,1/0),Qn(ms)),[Ke.All]:on(ms,Cn(2,1/0),Qn(ms)),[Ke.Not]:on(ms,Cn(1,1),Qn(ms)),[Ke.Equal]:on(ms,Cn(2,2),Qn(no),Df),[Ke.NotEqual]:on(ms,Cn(2,2),Qn(no),Df),[Ke.GreaterThan]:on(ms,Cn(2,2),Qn(no),Df),[Ke.GreaterThanOrEqualTo]:on(ms,Cn(2,2),Qn(no),Df),[Ke.LessThan]:on(ms,Cn(2,2),Qn(no),Df),[Ke.LessThanOrEqualTo]:on(ms,Cn(2,2),Qn(no),Df),[Ke.Multiply]:on(n=>{let t=Ot|ur;for(let e=0;e<n.length;e++)t&=n[e].type;return t},Cn(2,1/0),Qn(Ot|ur),Df),[Ke.Divide]:on(Ot,Cn(2,2),Qn(Ot)),[Ke.Add]:on(Ot,Cn(2,1/0),Qn(Ot)),[Ke.Subtract]:on(Ot,Cn(2,2),Qn(Ot)),[Ke.Clamp]:on(Ot,Cn(3,3),Qn(Ot)),[Ke.Mod]:on(Ot,Cn(2,2),Qn(Ot)),[Ke.Pow]:on(Ot,Cn(2,2),Qn(Ot)),[Ke.Abs]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Floor]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Ceil]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Round]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Sin]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Cos]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Atan]:on(Ot,Cn(1,2),Qn(Ot)),[Ke.Sqrt]:on(Ot,Cn(1,1),Qn(Ot)),[Ke.Match]:on(n=>{let t=no;for(let e=2;e<n.length;e+=2)t&=n[e].type;return t&=n[n.length-1].type,t},Cn(4,1/0),LG,function MDe(n,t,e,i){const s=n.length-1;let o=ri(n[1],t).type;const a=ri(n[n.length-1],t);let l=void 0!==i?i&a.type:a.type;const c=new Array(s-2);for(let d=0;d<s-2;d+=2){const h=ri(n[d+2],t),p=ri(n[d+3],t);o&=h.type,l&=p.type,c[d]=h,c[d+1]=p}const u=Ja|Ot|ms;if(!Vl(u,o))throw new Error(`Expected an input of type ${dr(u)} for the interpolate operation, got ${dr(o)} instead`);if(GM(l,lm))throw new Error("Could not find a common output type for the following match operation: "+JSON.stringify(n));for(let d=0;d<s-2;d+=2){const h=ri(n[d+2],t,o),p=ri(n[d+3],t,l);c[d]=h,c[d+1]=p}return[ri(n[1],t,o),...c,ri(n[n.length-1],t,l)]}),[Ke.Between]:on(ms,Cn(3,3),Qn(Ot)),[Ke.Interpolate]:on(n=>{let t=ur|Ot;for(let e=3;e<n.length;e+=2)t&=n[e].type;return t},Cn(6,1/0),LG,function DDe(n,t,e,i){const s=n[1];let r;switch(s[0]){case"linear":r=1;break;case"exponential":if(r=s[1],"number"!=typeof r)throw new Error(`Expected a number base for exponential interpolation, got ${JSON.stringify(r)} instead`);break;default:r=null}if(!r)throw new Error(`Invalid interpolation type: ${JSON.stringify(s)}`);r=ri(r,t);let o=ri(n[2],t);if(!Vl(Ot,o.type))throw new Error(`Expected an input of type number for the interpolate operation, got ${dr(o.type)} instead`);o=ri(n[2],t,Ot);const a=new Array(n.length-3);for(let l=0;l<a.length;l+=2){let c=ri(n[l+3],t);if(!Vl(Ot,c.type))throw new Error(`Expected all stop input values in the interpolate operation to be of type number, got ${dr(c.type)} at position ${l+2} instead`);let u=ri(n[l+4],t);if(!Vl(Ot|ur,u.type))throw new Error(`Expected all stop output values in the interpolate operation to be a number or color, got ${dr(u.type)} at position ${l+3} instead`);c=ri(n[l+3],t,Ot),u=ri(n[l+4],t,Ot|ur),a[l]=c,a[l+1]=u}return[r,o,...a]}),[Ke.Case]:on(n=>{let t=no;for(let e=1;e<n.length;e+=2)t&=n[e].type;return t&=n[n.length-1].type,t},Cn(3,1/0),function CDe(n,t){const i=n.length-1;if(i%2==0)throw new Error(`An odd amount of arguments was expected for operation ${n[0]}, got ${JSON.stringify(i)} instead`)},function xDe(n,t,e,i){const s=ri(n[n.length-1],t);let r=void 0!==i?i&s.type:s.type;const o=new Array(n.length-1);for(let a=0;a<o.length-1;a+=2){const l=ri(n[a+1],t),c=ri(n[a+2],t);if(!Vl(ms,l.type))throw new Error(`Expected all conditions in the case operation to be of type boolean, got ${dr(l.type)} at position ${a} instead`);r&=c.type,o[a]=l,o[a+1]=c}if(GM(r,lm))throw new Error("Could not find a common output type for the following case operation: "+JSON.stringify(n));for(let a=0;a<o.length-1;a+=2)o[a+1]=ri(n[a+2],t,r);return o[o.length-1]=ri(n[n.length-1],t,r),o}),[Ke.In]:on(ms,Cn(2,2),function SDe(n,t){let e=n[2];if(!Array.isArray(e))throw new Error('The "in" operator was provided a literal value which was not an array as second argument.');if("string"==typeof e[0]){if("literal"!==e[0])throw new Error('For the "in" operator, a string array should be wrapped in a "literal" operator to disambiguate from expressions.');if(!Array.isArray(e[1]))throw new Error('The "in" operator was provided a literal value which was not an array as second argument.');e=e[1]}let i=Ja|Ot;const s=new Array(e.length);for(let o=0;o<s.length;o++){const a=ri(e[o],t);i&=a.type,s[o]=a}if(GM(i,lm))throw new Error("Could not find a common type for the following in operation: "+JSON.stringify(n));return[ri(n[1],t,i),...s]}),[Ke.Number]:on(Ot,Cn(1,1/0),Qn(no)),[Ke.String]:on(Ja,Cn(1,1/0),Qn(no)),[Ke.Array]:on(n=>3===n.length||4===n.length?kd|ur:kd,Cn(1,1/0),Qn(Ot)),[Ke.Color]:on(ur,Cn(3,4),Qn(Ot)),[Ke.Band]:on(Ot,Cn(1,3),Qn(Ot)),[Ke.Palette]:on(ur,Cn(2,2),function TDe(n,t){const e=ri(n[1],t,Ot);if(e.type!==Ot)throw new Error(`The first argument of palette must be an number, got ${dr(e.type)} instead`);const i=n[2];if(!Array.isArray(i))throw new Error("The second argument of palette must be an array");const s=new Array(i.length);for(let r=0;r<s.length;r++){const o=ri(i[r],t,ur);if(!(o instanceof Od))throw new Error(`The palette color at index ${r} must be a literal value`);if(!Vl(o.type,ur))throw new Error(`The palette color at index ${r} should be of type color, got ${dr(o.type)} instead`);s[r]=o}return[e,...s]})};function t0(n,t){if(1!==n.length)throw new Error(`Expected no arguments for ${n[0]} operation`);return[]}function Cn(n,t){return function(e,i){const s=e[0],r=e.length-1;if(n===t){if(r!==n)throw new Error(`Expected ${n} argument${1===n?"":"s"} for ${s}, got ${r}`)}else if(r<n||r>t)throw new Error(`Expected ${t===1/0?`${n} or more`:`${n} to ${t}`} arguments for ${s}, got ${r}`)}}function Qn(n){return function(t,e){const i=t[0],s=t.length-1,r=new Array(s);for(let o=0;o<s;++o){const a=ri(t[o+1],e);if(!Vl(n,a.type)){const l=dr(n),c=dr(a.type);throw new Error(`Unexpected type for argument ${o} of ${i} operation, got ${l} but expected ${c}`)}a.type&=n,r[o]=a}return r}}function Df(n,t,e){const i=n[0],s=n.length-1;let r=no;for(let a=0;a<e.length;++a)r&=e[a].type;if(r===lm)throw new Error(`No common type could be found for arguments of ${i} operation`);const o=new Array(s);for(let a=0;a<s;++a)o[a]=ri(n[a+1],t,r);return o}function LG(n,t){const i=n.length-1;if(i%2==1)throw new Error(`An even amount of arguments was expected for operation ${n[0]}, got ${JSON.stringify(i)} instead`)}function on(n,...t){return function(e,i,s){const r=e[0];let o=[];for(let l=0;l<t.length;l++)o=t[l](e,i,o,s)||o;let a="function"==typeof n?n(o):n;if(void 0!==s){if(!Vl(a,s))throw new Error(`The following expression was expected to return ${dr(s)}, but returns ${dr(a)} instead: ${JSON.stringify(e)}`);a&=s}if(a===lm)throw new Error(`No matching type was found for the following expression: ${JSON.stringify(e)}`);return new mDe(a,r,...o)}}function Ld(n,t,e){const i=ri(n,e);if(!Vl(t,i.type)){const s=dr(t),r=dr(i.type);throw new Error(`Expected expression to be of type ${s}, got ${r}`)}return eu(i,e)}function eu(n,t){if(n instanceof Od){if(n.type===ur&&"string"==typeof n.value){const i=eL(n.value);return function(){return i}}return function(){return n.value}}const e=n.operator;switch(e){case Ke.Number:case Ke.String:return function kDe(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r<i;++r)s[r]=eu(n.args[r],t);switch(e){case Ke.Number:case Ke.String:return r=>{for(let o=0;o<i;++o){const a=s[o](r);if(typeof a===e)return a}throw new Error(`Expected one of the values to be a ${e}`)};default:throw new Error(`Unsupported assertion operator ${e}`)}}(n,t);case Ke.Get:case Ke.Var:return function ODe(n,t){const i=n.args[0].value;switch(n.operator){case Ke.Get:return s=>s.properties[i];case Ke.Var:return s=>s.variables[i];default:throw new Error(`Unsupported accessor operator ${n.operator}`)}}(n);case Ke.Id:return i=>i.featureId;case Ke.Concat:{const i=n.args.map(s=>eu(s,t));return s=>"".concat(...i.map(r=>r(s).toString()))}case Ke.Resolution:return i=>i.resolution;case Ke.Any:case Ke.All:case Ke.Not:return function PDe(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r<i;++r)s[r]=eu(n.args[r],t);switch(e){case Ke.Any:return r=>{for(let o=0;o<i;++o)if(s[o](r))return!0;return!1};case Ke.All:return r=>{for(let o=0;o<i;++o)if(!s[o](r))return!1;return!0};case Ke.Not:return r=>!s[0](r);default:throw new Error(`Unsupported logical operator ${e}`)}}(n,t);case Ke.Equal:case Ke.NotEqual:case Ke.LessThan:case Ke.LessThanOrEqualTo:case Ke.GreaterThan:case Ke.GreaterThanOrEqualTo:return function LDe(n,t){const e=n.operator,i=eu(n.args[0],t),s=eu(n.args[1],t);switch(e){case Ke.Equal:return r=>i(r)===s(r);case Ke.NotEqual:return r=>i(r)!==s(r);case Ke.LessThan:return r=>i(r)<s(r);case Ke.LessThanOrEqualTo:return r=>i(r)<=s(r);case Ke.GreaterThan:return r=>i(r)>s(r);case Ke.GreaterThanOrEqualTo:return r=>i(r)>=s(r);default:throw new Error(`Unsupported comparison operator ${e}`)}}(n,t);case Ke.Multiply:case Ke.Divide:case Ke.Add:case Ke.Subtract:case Ke.Clamp:case Ke.Mod:case Ke.Pow:case Ke.Abs:case Ke.Floor:case Ke.Ceil:case Ke.Round:case Ke.Sin:case Ke.Cos:case Ke.Atan:case Ke.Sqrt:return function IDe(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r<i;++r)s[r]=eu(n.args[r],t);switch(e){case Ke.Multiply:return r=>{let o=1;for(let a=0;a<i;++a)o*=s[a](r);return o};case Ke.Divide:return r=>s[0](r)/s[1](r);case Ke.Add:return r=>{let o=0;for(let a=0;a<i;++a)o+=s[a](r);return o};case Ke.Subtract:return r=>s[0](r)-s[1](r);case Ke.Clamp:return r=>{const o=s[0](r),a=s[1](r);if(o<a)return a;const l=s[2](r);return o>l?l:o};case Ke.Mod:return r=>s[0](r)%s[1](r);case Ke.Pow:return r=>Math.pow(s[0](r),s[1](r));case Ke.Abs:return r=>Math.abs(s[0](r));case Ke.Floor:return r=>Math.floor(s[0](r));case Ke.Ceil:return r=>Math.ceil(s[0](r));case Ke.Round:return r=>Math.round(s[0](r));case Ke.Sin:return r=>Math.sin(s[0](r));case Ke.Cos:return r=>Math.cos(s[0](r));case Ke.Atan:return 2===i?r=>Math.atan2(s[0](r),s[1](r)):r=>Math.atan(s[0](r));case Ke.Sqrt:return r=>Math.sqrt(s[0](r));default:throw new Error(`Unsupported numeric operator ${e}`)}}(n,t);case Ke.Match:return function ADe(n,t){const e=n.args.length,i=new Array(e);for(let s=0;s<e;++s)i[s]=eu(n.args[s],t);return s=>{const r=i[0](s);for(let o=1;o<e;o+=2)if(r===i[o](s))return i[o+1](s);return i[e-1](s)}}(n,t);case Ke.Interpolate:return function RDe(n,t){const e=n.args.length,i=new Array(e);for(let s=0;s<e;++s)i[s]=eu(n.args[s],t);return s=>{const r=i[0](s),o=i[1](s);let a,l;for(let c=2;c<e;c+=2){const u=i[c](s);let d=i[c+1](s);const h=Array.isArray(d);if(h&&(d=eCe(d)),u>=o)return 2===c?d:h?NDe(r,o,a,l,u,d):n0(r,o,a,l,u,d);a=u,l=d}return l}}(n,t);default:throw new Error(`Unsupported operator ${e}`)}}function n0(n,t,e,i,s,r){const o=s-e;if(0===o)return i;const a=t-e;return i+(1===n?a/o:(Math.pow(n,a)-1)/(Math.pow(n,o)-1))*(r-i)}function NDe(n,t,e,i,s,r){if(s-e==0)return i;const a=uz(i),l=uz(r);let c=l[2]-a[2];return c>180?c-=360:c<-180&&(c+=360),dz(function tCe(n){const t=Ga.rgb(qwe.xyz(n));return t[3]=n[3],t}([n0(n,t,e,a[0],s,l[0]),n0(n,t,e,a[1],s,l[1]),a[2]+n0(n,t,e,0,s,c),n0(n,t,e,i[3],s,r[3])]))}function FDe(n){return!0}function IG(n){const t=OG(),e=n.length,i=new Array(e);for(let o=0;o<e;++o)i[o]=eP(n[o],t);const s={variables:{},properties:{},resolution:NaN,featureId:null},r=new Array(e);return function(o,a){if(s.properties=o.getPropertiesInternal(),s.resolution=a,t.featureId){const c=o.getId();s.featureId=void 0!==c?c:null}let l=0;for(let c=0;c<e;++c){const u=i[c](s);u&&(r[l]=u,l+=1)}return r.length=l,r}}function eP(n,t){const e=s0(n,"",t),i=r0(n,"",t),s=function BDe(n,t){const e="text-",i=Pd(n,e+"value",t);if(!i)return null;const s=s0(n,e,t),r=s0(n,e+"background-",t),o=r0(n,e,t),a=r0(n,e+"background-",t),l=Pd(n,e+"font",t),c=io(n,e+"max-angle",t),u=io(n,e+"offset-x",t),d=io(n,e+"offset-y",t),h=o0(n,e+"overflow",t),p=Pd(n,e+"placement",t),_=io(n,e+"repeat",t),v=$M(n,e+"scale",t),x=o0(n,e+"rotate-with-view",t),k=io(n,e+"rotation",t),P=Pd(n,e+"align",t),j=Pd(n,e+"justify",t),z=Pd(n,e+"baseline",t),G=RG(n,e+"padding",t),Z=new VM({});return function(oe){if(Z.setText(i(oe)),s&&Z.setFill(s(oe)),r&&Z.setBackgroundFill(r(oe)),o&&Z.setStroke(o(oe)),a&&Z.setBackgroundStroke(a(oe)),l&&Z.setFont(l(oe)),c&&Z.setMaxAngle(c(oe)),u&&Z.setOffsetX(u(oe)),d&&Z.setOffsetY(d(oe)),h&&Z.setOverflow(h(oe)),p){const ce=p(oe);if("point"!==ce&&"line"!==ce)throw new Error("Expected point or line for text-placement");Z.setPlacement(ce)}if(_&&Z.setRepeat(_(oe)),v&&Z.setScale(v(oe)),x&&Z.setRotateWithView(x(oe)),k&&Z.setRotation(k(oe)),P){const ce=P(oe);if("left"!==ce&&"center"!==ce&&"right"!==ce&&"end"!==ce&&"start"!==ce)throw new Error("Expected left, right, center, start, or end for text-align");Z.setTextAlign(ce)}if(j){const ce=j(oe);if("left"!==ce&&"right"!==ce&&"center"!==ce)throw new Error("Expected left, right, or center for text-justify");Z.setJustify(ce)}if(z){const ce=z(oe);if("bottom"!==ce&&"top"!==ce&&"middle"!==ce&&"alphabetic"!==ce&&"hanging"!==ce)throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");Z.setTextBaseline(ce)}return G&&Z.setPadding(G(oe)),Z}}(n,t),r=function HDe(n,t){return"icon-src"in n?function VDe(n,t){const e="icon-",i=e+"src",s=YG(n[i],i),r=WM(n,e+"anchor",t),o=$M(n,e+"scale",t),a=io(n,e+"opacity",t),l=WM(n,e+"displacement",t),c=io(n,e+"rotation",t),u=o0(n,e+"rotate-with-view",t),d=NG(n,e+"anchor-origin"),h=FG(n,e+"anchor-x-units"),p=FG(n,e+"anchor-y-units"),_=function qDe(n,t){const e=n[t];if(void 0!==e)return BG(e,t)}(n,e+"color"),v=function WDe(n,t){const e=n[t];if(void 0!==e){if("string"!=typeof e)throw new Error(`Expected a string for ${t}`);return e}}(n,e+"cross-origin"),x=function $De(n,t){const e=n[t];if(void 0!==e)return a0(e,t)}(n,e+"offset"),k=NG(n,e+"offset-origin"),P=cm(n,e+"width"),j=cm(n,e+"height"),z=function GDe(n,t){const e=n[t];if(void 0!==e){if("number"==typeof e)return Lr(e);if(!Array.isArray(e))throw new Error(`Expected a number or size array for ${t}`);if(2!==e.length||"number"!=typeof e[0]||"number"!=typeof e[1])throw new Error(`Expected a number or size array for ${t}`);return e}}(n,e+"size"),G=tP(n,e+"declutter"),Z=new zM({src:s,anchorOrigin:d,anchorXUnits:h,anchorYUnits:p,color:_,crossOrigin:v,offset:x,offsetOrigin:k,height:j,width:P,size:z,declutterMode:G});return function(oe){return a&&Z.setOpacity(a(oe)),l&&Z.setDisplacement(l(oe)),c&&Z.setRotation(c(oe)),u&&Z.setRotateWithView(u(oe)),o&&Z.setScale(o(oe)),r&&Z.setAnchor(r(oe)),Z}}(n,t):"shape-points"in n?function UDe(n,t){const e="shape-",i=e+"points",s=jG(n[i],i),r=s0(n,e,t),o=r0(n,e,t),a=$M(n,e+"scale",t),l=WM(n,e+"displacement",t),c=io(n,e+"rotation",t),u=o0(n,e+"rotate-with-view",t),d=cm(n,e+"radius"),h=cm(n,e+"radius1"),p=cm(n,e+"radius2"),_=cm(n,e+"angle"),v=tP(n,e+"declutter-mode"),x=new DG({points:s,radius:d,radius1:h,radius2:p,angle:_,declutterMode:v});return function(k){return r&&x.setFill(r(k)),o&&x.setStroke(o(k)),l&&x.setDisplacement(l(k)),c&&x.setRotation(c(k)),u&&x.setRotateWithView(u(k)),a&&x.setScale(a(k)),x}}(n,t):"circle-radius"in n?function zDe(n,t){const e="circle-",i=s0(n,e,t),s=r0(n,e,t),r=io(n,e+"radius",t),o=$M(n,e+"scale",t),a=WM(n,e+"displacement",t),l=io(n,e+"rotation",t),c=o0(n,e+"rotate-with-view",t),u=tP(n,e+"declutter-mode"),d=new HM({radius:5,declutterMode:u});return function(h){return r&&d.setRadius(r(h)),i&&d.setFill(i(h)),s&&d.setStroke(s(h)),a&&d.setDisplacement(a(h)),l&&d.setRotation(l(h)),c&&d.setRotateWithView(c(h)),o&&d.setScale(o(h)),d}}(n,t):null}(n,t),o=io(n,"z-index",t);if(!(e||i||s||r||md(n)))throw new Error("No fill, stroke, point, or text symbolizer properties in style: "+JSON.stringify(n));const a=new Ed;return function(l){let c=!0;if(e){const u=e(l);u&&(c=!1),a.setFill(u)}if(i){const u=i(l);u&&(c=!1),a.setStroke(u)}if(s){const u=s(l);u&&(c=!1),a.setText(u)}if(r){const u=r(l);u&&(c=!1),a.setImage(u)}return o&&a.setZIndex(o(l)),c?null:a}}function s0(n,t,e){const i=AG(n,t+"fill-color",e);if(!i)return null;const s=new Sd;return function(r){const o=i(r);return"none"===o?null:(s.setColor(o),s)}}function r0(n,t,e){const i=io(n,t+"stroke-width",e),s=AG(n,t+"stroke-color",e);if(!i&&!s)return null;const r=Pd(n,t+"stroke-line-cap",e),o=Pd(n,t+"stroke-line-join",e),a=RG(n,t+"stroke-line-dash",e),l=io(n,t+"stroke-line-dash-offset",e),c=io(n,t+"stroke-miter-limit",e),u=new Qc;return function(d){if(s){const h=s(d);if("none"===h)return null;u.setColor(h)}if(i&&u.setWidth(i(d)),r){const h=r(d);if("butt"!==h&&"round"!==h&&"square"!==h)throw new Error("Expected butt, round, or square line cap");u.setLineCap(h)}if(o){const h=o(d);if("bevel"!==h&&"round"!==h&&"miter"!==h)throw new Error("Expected bevel, round, or miter line join");u.setLineJoin(h)}return a&&u.setLineDash(a(d)),l&&u.setLineDashOffset(l(d)),c&&u.setMiterLimit(c(d)),u}}function io(n,t,e){if(!(t in n))return;const i=Ld(n[t],Ot,e);return function(s){return jG(i(s),t)}}function Pd(n,t,e){if(!(t in n))return null;const i=Ld(n[t],Ja,e);return function(s){return YG(i(s),t)}}function o0(n,t,e){if(!(t in n))return null;const i=Ld(n[t],ms,e);return function(s){const r=i(s);if("boolean"!=typeof r)throw new Error(`Expected a boolean for ${t}`);return r}}function AG(n,t,e){if(!(t in n))return null;const i=Ld(n[t],ur|Ja,e);return function(s){return BG(i(s),t)}}function RG(n,t,e){if(!(t in n))return null;const i=Ld(n[t],kd,e);return function(s){return a0(i(s),t)}}function WM(n,t,e){if(!(t in n))return null;const i=Ld(n[t],kd,e);return function(s){const r=a0(i(s),t);if(2!==r.length)throw new Error(`Expected two numbers for ${t}`);return r}}function $M(n,t,e){if(!(t in n))return null;const i=Ld(n[t],kd|Ot,e);return function(s){return function KDe(n,t){if("number"==typeof n)return n;const e=a0(n,t);if(2!==e.length)throw new Error(`Expected an array of two numbers for ${t}`);return e}(i(s),t)}}function cm(n,t){const e=n[t];if(void 0!==e){if("number"!=typeof e)throw new Error(`Expected a number for ${t}`);return e}}function NG(n,t){const e=n[t];if(void 0!==e){if("bottom-left"!==e&&"bottom-right"!==e&&"top-left"!==e&&"top-right"!==e)throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${t}`);return e}}function FG(n,t){const e=n[t];if(void 0!==e){if("pixels"!==e&&"fraction"!==e)throw new Error(`Expected pixels or fraction for ${t}`);return e}}function tP(n,t){const e=n[t];if(void 0!==e){if("string"!=typeof e)throw new Error(`Expected a string for ${t}`);if("declutter"!==e&&"obstacle"!==e&&"none"!==e)throw new Error(`Expected declutter, obstacle, or none for ${t}`);return e}}function a0(n,t){if(!Array.isArray(n))throw new Error(`Expected an array for ${t}`);const e=n.length;for(let i=0;i<e;++i)if("number"!=typeof n[i])throw new Error(`Expected an array of numbers for ${t}`);return n}function YG(n,t){if("string"!=typeof n)throw new Error(`Expected a string for ${t}`);return n}function jG(n,t){if("number"!=typeof n)throw new Error(`Expected a number for ${t}`);return n}function BG(n,t){if("string"==typeof n)return n;const e=a0(n,t),i=e.length;if(i<3||i>4)throw new Error(`Expected a color with 3 or 4 values for ${t}`);return e}const VG=class XDe extends Wv{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=void 0!==t.declutter&&t.declutter,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get("renderOrder")}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t){t.declutterTree||(t.declutterTree=new SG(9)),this.getRenderer().renderDeclutter(t)}setRenderOrder(t){this.set("renderOrder",t)}setStyle(t){this.style_=function ZDe(n){if(void 0===n)return aDe;if(!n)return null;if("function"==typeof n||n instanceof Ed)return n;if(!Array.isArray(n))return IG([n]);if(0===n.length)return[];const t=n.length,e=n[0];if(e instanceof Ed){const s=new Array(t);for(let r=0;r<t;++r){const o=n[r];if(!(o instanceof Ed))throw new Error("Expected a list of style instances");s[r]=o}return s}if("style"in e){const s=new Array(t);for(let r=0;r<t;++r){const o=n[r];if(!("style"in o))throw new Error("Expected a list of rules with a style property");s[r]=o}return function YDe(n){const t=OG(),e=function jDe(n,t){const e=n.length,i=new Array(e);for(let s=0;s<e;++s){const r=n[s],o="filter"in r?Ld(r.filter,ms,t):FDe;let a;if(Array.isArray(r.style)){const l=r.style.length;a=new Array(l);for(let c=0;c<l;++c)a[c]=eP(r.style[c],t)}else a=[eP(r.style,t)];i[s]={filter:o,styles:a}}return function(s){const r=[];let o=!1;for(let a=0;a<e;++a)if((0,i[a].filter)(s)&&(!n[a].else||!o)){o=!0;for(const c of i[a].styles){const u=c(s);u&&r.push(u)}}return r}}(n,t),i={variables:{},properties:{},resolution:NaN,featureId:null};return function(s,r){if(i.properties=s.getPropertiesInternal(),i.resolution=r,t.featureId){const o=s.getId();i.featureId=void 0!==o?o:null}return e(i)}}(s)}return IG(n)}(t),this.styleFunction_=null===t?void 0:function oDe(n){let t;if("function"==typeof n)t=n;else{let e;Array.isArray(n)?e=n:(An("function"==typeof n.getZIndex,"Expected an `Style` or an array of `Style`"),e=[n]),t=function(){return e}}return t}(this.style_),this.changed()}},l0={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},qM=[l0.FILL],Id=[l0.STROKE],xf=[l0.BEGIN_PATH],UG=[l0.CLOSE_PATH],Ft=l0,zG=class JDe{drawCustom(t,e,i,s){}drawGeometry(t){}setStyle(t){}drawCircle(t,e){}drawFeature(t,e){}drawGeometryCollection(t,e){}drawLineString(t,e){}drawMultiLineString(t,e){}drawMultiPoint(t,e){}drawMultiPolygon(t,e){}drawPoint(t,e){}drawPolygon(t,e){}drawText(t,e){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}},c0=class QDe extends zG{constructor(t,e,i,s){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=s,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return 1==e?t:t.map(function(i){return i*e})}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),s=this.tmpCoordinate_,r=this.coordinates;let o=r.length;for(let a=0,l=t.length;a<l;a+=e)s[0]=t[a],s[1]=t[a+1],zc(i,s)&&(r[o++]=s[0],r[o++]=s[1]);return o}appendFlatLineCoordinates(t,e,i,s,r,o){const a=this.coordinates;let l=a.length;const c=this.getBufferedMaxExtent();o&&(e+=s);let u=t[e],d=t[e+1];const h=this.tmpCoordinate_;let _,v,x,p=!0;for(_=e+s;_<i;_+=s)h[0]=t[_],h[1]=t[_+1],x=W2(c,h),x!==v?(p&&(a[l++]=u,a[l++]=d,p=!1),a[l++]=h[0],a[l++]=h[1]):x===js.INTERSECTING?(a[l++]=h[0],a[l++]=h[1],p=!1):p=!0,u=h[0],d=h[1],v=x;return(r&&p||_===e+s)&&(a[l++]=u,a[l++]=d),l}drawCustomCoordinates_(t,e,i,s,r){for(let o=0,a=i.length;o<a;++o){const l=i[o],c=this.appendFlatLineCoordinates(t,e,l,s,!1,!1);r.push(c),e=l}return e}drawCustom(t,e,i,s){this.beginGeometry(t,e);const r=t.getType(),o=t.getStride(),a=this.coordinates.length;let l,c,u,d,h;switch(r){case"MultiPolygon":l=t.getOrientedFlatCoordinates(),d=[];const p=t.getEndss();h=0;for(let _=0,v=p.length;_<v;++_){const x=[];h=this.drawCustomCoordinates_(l,h,p[_],o,x),d.push(x)}this.instructions.push([Ft.CUSTOM,a,d,t,i,CL]),this.hitDetectionInstructions.push([Ft.CUSTOM,a,d,t,s||i,CL]);break;case"Polygon":case"MultiLineString":u=[],l="Polygon"==r?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),h=this.drawCustomCoordinates_(l,0,t.getEnds(),o,u),this.instructions.push([Ft.CUSTOM,a,u,t,i,Gv]),this.hitDetectionInstructions.push([Ft.CUSTOM,a,u,t,s||i,Gv]);break;case"LineString":case"Circle":l=t.getFlatCoordinates(),c=this.appendFlatLineCoordinates(l,0,l.length,o,!1,!1),this.instructions.push([Ft.CUSTOM,a,c,t,i,Md]),this.hitDetectionInstructions.push([Ft.CUSTOM,a,c,t,s||i,Md]);break;case"MultiPoint":l=t.getFlatCoordinates(),c=this.appendFlatPointCoordinates(l,o),c>a&&(this.instructions.push([Ft.CUSTOM,a,c,t,i,Md]),this.hitDetectionInstructions.push([Ft.CUSTOM,a,c,t,s||i,Md]));break;case"Point":l=t.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),c=this.coordinates.length,this.instructions.push([Ft.CUSTOM,a,c,t,i]),this.hitDetectionInstructions.push([Ft.CUSTOM,a,c,t,s||i])}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[Ft.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[Ft.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;let e;t.reverse();const i=t.length;let s,r,o=-1;for(e=0;e<i;++e)s=t[e],r=s[0],r==Ft.END_GEOMETRY?o=e:r==Ft.BEGIN_GEOMETRY&&(s[2]=e,Dwe(this.hitDetectionInstructions,o,e),o=-1)}setFillStrokeStyle(t,e){const i=this.state;if(t){const s=t.getColor();i.fillStyle=Hl(s||to)}else i.fillStyle=void 0;if(e){const s=e.getColor();i.strokeStyle=Hl(s||Kv);const r=e.getLineCap();i.lineCap=void 0!==r?r:tm;const o=e.getLineDash();i.lineDash=o?o.slice():qc;const a=e.getLineDashOffset();i.lineDashOffset=a||0;const l=e.getLineJoin();i.lineJoin=void 0!==l?l:nm;const c=e.getWidth();i.lineWidth=void 0!==c?c:1;const u=e.getMiterLimit();i.miterLimit=void 0!==u?u:10,i.lineWidth>this.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(t){const e=t.fillStyle,i=[Ft.SET_FILL_STYLE,e];return"string"!=typeof e&&i.push(!0),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[Ft.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;("string"!=typeof i||t.currentFillStyle!=i)&&(void 0!==i&&this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,s=t.lineCap,r=t.lineDash,o=t.lineDashOffset,a=t.lineJoin,l=t.lineWidth,c=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=s||r!=t.currentLineDash&&!Uc(t.currentLineDash,r)||t.currentLineDashOffset!=o||t.currentLineJoin!=a||t.currentLineWidth!=l||t.currentMiterLimit!=c)&&(void 0!==i&&e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=s,t.currentLineDash=r,t.currentLineDashOffset=o,t.currentLineJoin=a,t.currentLineWidth=l,t.currentMiterLimit=c)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[Ft.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){return!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=tz(this.maxExtent),this.maxLineWidth>0)&&da(this.bufferedMaxExtent_,this.resolution*(this.maxLineWidth+1)/2,this.bufferedMaxExtent_),this.bufferedMaxExtent_}},GG=class sxe extends c0{constructor(t,e,i,s){super(t,e,i,s)}drawFlatCoordinatess_(t,e,i,s){const r=this.state,o=void 0!==r.fillStyle,a=void 0!==r.strokeStyle,l=i.length;this.instructions.push(xf),this.hitDetectionInstructions.push(xf);for(let c=0;c<l;++c){const u=i[c],d=this.coordinates.length,h=this.appendFlatLineCoordinates(t,e,u,s,!0,!a),p=[Ft.MOVE_TO_LINE_TO,d,h];this.instructions.push(p),this.hitDetectionInstructions.push(p),a&&(this.instructions.push(UG),this.hitDetectionInstructions.push(UG)),e=u}return o&&(this.instructions.push(qM),this.hitDetectionInstructions.push(qM)),a&&(this.instructions.push(Id),this.hitDetectionInstructions.push(Id)),e}drawCircle(t,e){const i=this.state;if(void 0===i.fillStyle&&void 0===i.strokeStyle)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==i.fillStyle&&this.hitDetectionInstructions.push([Ft.SET_FILL_STYLE,to]),void 0!==i.strokeStyle&&this.hitDetectionInstructions.push([Ft.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,qc,0]);const o=t.getFlatCoordinates(),a=t.getStride(),l=this.coordinates.length;this.appendFlatLineCoordinates(o,0,o.length,a,!1,!1);const c=[Ft.CIRCLE,l];this.instructions.push(xf,c),this.hitDetectionInstructions.push(xf,c),void 0!==i.fillStyle&&(this.instructions.push(qM),this.hitDetectionInstructions.push(qM)),void 0!==i.strokeStyle&&(this.instructions.push(Id),this.hitDetectionInstructions.push(Id)),this.endGeometry(e)}drawPolygon(t,e){const i=this.state;if(void 0===i.fillStyle&&void 0===i.strokeStyle)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==i.fillStyle&&this.hitDetectionInstructions.push([Ft.SET_FILL_STYLE,to]),void 0!==i.strokeStyle&&this.hitDetectionInstructions.push([Ft.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,qc,0]);const o=t.getEnds(),a=t.getOrientedFlatCoordinates(),l=t.getStride();this.drawFlatCoordinatess_(a,0,o,l),this.endGeometry(e)}drawMultiPolygon(t,e){const i=this.state;if(void 0===i.fillStyle&&void 0===i.strokeStyle)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),void 0!==i.fillStyle&&this.hitDetectionInstructions.push([Ft.SET_FILL_STYLE,to]),void 0!==i.strokeStyle&&this.hitDetectionInstructions.push([Ft.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,qc,0]);const o=t.getEndss(),a=t.getOrientedFlatCoordinates(),l=t.getStride();let c=0;for(let u=0,d=o.length;u<d;++u)c=this.drawFlatCoordinatess_(a,c,o[u],l);this.endGeometry(e)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const t=this.tolerance;if(0!==t){const e=this.coordinates;for(let i=0,s=e.length;i<s;++i)e[i]=_f(e[i],t)}return super.finish()}setFillStrokeStyles_(){const t=this.state;void 0!==t.fillStyle&&this.updateFillStyle(t,this.createFill),void 0!==t.strokeStyle&&this.updateStrokeStyle(t,this.applyStroke)}};function rxe(n,t,e,i,s){const r=[];let o=e,a=0,l=t.slice(e,2);for(;a<n&&o+s<i;){const[c,u]=l.slice(-2),d=t[o+s],h=t[o+s+1],p=Math.sqrt((d-c)*(d-c)+(h-u)*(h-u));if(a+=p,a>=n){const _=(n-a+p)/p,v=Yo(c,d,_),x=Yo(u,h,_);l.push(v,x),r.push(l),l=[v,x],a==n&&(o+=s),a=0}else if(a<n)l.push(t[o+s],t[o+s+1]),o+=s;else{const _=p-a,v=Yo(c,d,_/p),x=Yo(u,h,_/p);l.push(v,x),r.push(l),l=[v,x],a=0,o+=s}}return a>0&&r.push(l),r}function oxe(n,t,e,i,s){let u,d,h,p,_,v,x,k,P,j,r=e,o=e,a=0,l=0,c=e;for(d=e;d<i;d+=s){const z=t[d],G=t[d+1];void 0!==_&&(P=z-_,j=G-v,p=Math.sqrt(P*P+j*j),void 0!==x&&(l+=h,u=Math.acos((x*P+k*j)/(h*p)),u>n&&(l>a&&(a=l,r=c,o=d),l=0,c=d-s)),h=p,x=P,k=j),_=z,v=G}return l+=p,l>a?[c,d]:[r,o]}const KM={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},lxe={Circle:GG,Default:c0,Image:class exe extends c0{constructor(t,e,i,s){super(t,e,i,s),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),s=t.getStride(),r=this.coordinates.length,o=this.appendFlatPointCoordinates(i,s);this.instructions.push([Ft.DRAW_IMAGE,r,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Ft.DRAW_IMAGE,r,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),s=t.getStride(),r=this.coordinates.length,o=this.appendFlatPointCoordinates(i,s);this.instructions.push([Ft.DRAW_IMAGE,r,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Ft.DRAW_IMAGE,r,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const i=t.getAnchor(),s=t.getSize(),r=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=s[1],this.opacity_=t.getOpacity(),this.originX_=r[0],this.originY_=r[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=s[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}},LineString:class nxe extends c0{constructor(t,e,i,s){super(t,e,i,s)}drawFlatCoordinates_(t,e,i,s){const r=this.coordinates.length,o=this.appendFlatLineCoordinates(t,e,i,s,!1,!1),a=[Ft.MOVE_TO_LINE_TO,r,o];return this.instructions.push(a),this.hitDetectionInstructions.push(a),i}drawLineString(t,e){const i=this.state;if(void 0===i.strokeStyle||void 0===i.lineWidth)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ft.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,qc,0],xf);const o=t.getFlatCoordinates(),a=t.getStride();this.drawFlatCoordinates_(o,0,o.length,a),this.hitDetectionInstructions.push(Id),this.endGeometry(e)}drawMultiLineString(t,e){const i=this.state;if(void 0===i.strokeStyle||void 0===i.lineWidth)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([Ft.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,qc,0],xf);const o=t.getEnds(),a=t.getFlatCoordinates(),l=t.getStride();let c=0;for(let u=0,d=o.length;u<d;++u)c=this.drawFlatCoordinates_(a,c,o[u],l);this.hitDetectionInstructions.push(Id),this.endGeometry(e)}finish(){const t=this.state;return null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&this.instructions.push(Id),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(Id),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(xf)}},Polygon:GG,Text:class axe extends c0{constructor(t,e,i,s){super(t,e,i,s),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[to]={fillStyle:to},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const r=this.textState_;if(""===this.text_||!r||!this.textFillState_&&!this.textStrokeState_)return;const o=this.coordinates;let a=o.length;const l=t.getType();let c=null,u=t.getStride();if("line"!==r.placement||"LineString"!=l&&"MultiLineString"!=l&&"Polygon"!=l&&"MultiPolygon"!=l){let d=r.overflow?null:[];switch(l){case"Point":case"MultiPoint":c=t.getFlatCoordinates();break;case"LineString":c=t.getFlatMidpoint();break;case"Circle":c=t.getCenter();break;case"MultiLineString":c=t.getFlatMidpoints(),u=2;break;case"Polygon":c=t.getFlatInteriorPoint(),r.overflow||d.push(c[2]/this.resolution),u=3;break;case"MultiPolygon":const k=t.getFlatInteriorPoints();c=[];for(let P=0,j=k.length;P<j;P+=3)r.overflow||d.push(k[P+2]/this.resolution),c.push(k[P],k[P+1]);if(0===c.length)return;u=2}const h=this.appendFlatPointCoordinates(c,u);if(h===a)return;if(d&&(h-a)/2!=c.length/u){let k=a/2;d=d.filter((P,j)=>{const z=o[2*(k+j)]===c[j*u]&&o[2*(k+j)+1]===c[j*u+1];return z||--k,z})}this.saveTextStates_(),(r.backgroundFill||r.backgroundStroke)&&(this.setFillStrokeStyle(r.backgroundFill,r.backgroundStroke),r.backgroundFill&&this.updateFillStyle(this.state,this.createFill),r.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let p=r.padding;if(p!=wf&&(r.scale[0]<0||r.scale[1]<0)){let k=r.padding[0],P=r.padding[1],j=r.padding[2],z=r.padding[3];r.scale[0]<0&&(P=-P,z=-z),r.scale[1]<0&&(k=-k,j=-j),p=[k,P,j,z]}const _=this.pixelRatio;this.instructions.push([Ft.DRAW_IMAGE,a,h,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,p==wf?wf:p.map(function(k){return k*_}),!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,d]);const v=1/_,x=this.state.fillStyle;r.backgroundFill&&(this.state.fillStyle=to,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([Ft.DRAW_IMAGE,a,h,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[v,v],NaN,void 0,this.declutterImageWithText_,p,!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?to:this.fillKey_,this.textOffsetX_,this.textOffsetY_,d]),r.backgroundFill&&(this.state.fillStyle=x,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}else{if(!gi(this.getBufferedMaxExtent(),t.getExtent()))return;let d;if(c=t.getFlatCoordinates(),"LineString"==l)d=[c.length];else if("MultiLineString"==l)d=t.getEnds();else if("Polygon"==l)d=t.getEnds().slice(0,1);else if("MultiPolygon"==l){const v=t.getEndss();d=[];for(let x=0,k=v.length;x<k;++x)d.push(v[x][0])}this.beginGeometry(t,e);const h=r.repeat,p=h?void 0:r.textAlign;let _=0;for(let v=0,x=d.length;v<x;++v){let k;k=h?rxe(h*this.resolution,c,_,d[v],u):[c.slice(_,d[v])];for(let P=0,j=k.length;P<j;++P){const z=k[P];let G=0,Z=z.length;if(null==p){const ce=oxe(r.maxAngle,z,0,z.length,2);G=ce[0],Z=ce[1]}for(let ce=G;ce<Z;ce+=u)o.push(z[ce],z[ce+1]);const oe=o.length;_=d[v],this.drawChars_(a,oe),a=oe}}this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,s=this.strokeKey_;t&&(s in this.strokeStates||(this.strokeStates[s]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const r=this.textKey_;r in this.textStates||(this.textStates[r]={font:e.font,textAlign:e.textAlign||Xv,justify:e.justify,textBaseline:e.textBaseline||IM,scale:e.scale});const o=this.fillKey_;i&&(o in this.fillStates||(this.fillStates[o]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,s=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();const l=this.pixelRatio,c=KM[s.textBaseline],u=this.textOffsetY_*l,d=this.text_,h=i?i.lineWidth*Math.abs(s.scale[0])/2:0;this.instructions.push([Ft.DRAW_CHARS,t,e,c,s.overflow,a,s.maxAngle,l,u,r,h*l,d,o,1]),this.hitDetectionInstructions.push([Ft.DRAW_CHARS,t,e,c,s.overflow,a&&to,s.maxAngle,l,u,r,h*l,d,o,1/l])}setTextStyle(t,e){let i,s,r;if(t){const o=t.getFill();o?(s=this.textFillState_,s||(s={},this.textFillState_=s),s.fillStyle=Hl(o.getColor()||to)):(s=null,this.textFillState_=s);const a=t.getStroke();if(a){r=this.textStrokeState_,r||(r={},this.textStrokeState_=r);const _=a.getLineDash(),v=a.getLineDashOffset(),x=a.getWidth(),k=a.getMiterLimit();r.lineCap=a.getLineCap()||tm,r.lineDash=_?_.slice():qc,r.lineDashOffset=void 0===v?0:v,r.lineJoin=a.getLineJoin()||nm,r.lineWidth=void 0===x?1:x,r.miterLimit=void 0===k?10:k,r.strokeStyle=Hl(a.getColor()||Kv)}else r=null,this.textStrokeState_=r;i=this.textState_;const l=t.getFont()||Jz;hMe(l);const c=t.getScaleArray();i.overflow=t.getOverflow(),i.font=l,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||IM,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||wf,i.scale=void 0===c?[1,1]:c;const u=t.getOffsetX(),d=t.getOffsetY(),h=t.getRotateWithView(),p=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===u?0:u,this.textOffsetY_=void 0===d?0:d,this.textRotateWithView_=void 0!==h&&h,this.textRotation_=void 0===p?0:p,this.strokeKey_=r?("string"==typeof r.strokeStyle?r.strokeStyle:Tt(r.strokeStyle))+r.lineCap+r.lineDashOffset+"|"+r.lineWidth+r.lineJoin+r.miterLimit+"["+r.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=s?"string"==typeof s.fillStyle?s.fillStyle:"|"+Tt(s.fillStyle):""}else this.text_="";this.declutterImageWithText_=e}}},XM=class cxe{constructor(t,e,i,s){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=s,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const s in i){const r=i[s].finish();t[e][s]=r}}return t}getBuilder(t,e){const i=void 0!==t?t.toString():"0";let s=this.buildersByZIndex_[i];void 0===s&&(s={},this.buildersByZIndex_[i]=s);let r=s[e];return void 0===r&&(r=new(0,lxe[e])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),s[e]=r),r}},dxe=class uxe extends $8{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return zt()}getData(t){return null}prepareFrame(t){return zt()}renderFrame(t,e){return zt()}loadedTileCallback(t,e,i){t[e]||(t[e]={}),t[e][i.tileCoord.toString()]=i}createLoadedTileFinder(t,e,i){return(s,r)=>{const o=this.loadedTileCallback.bind(this,i,s);return t.forEachLoadedTile(e,s,r,o)}}forEachFeatureAtCoordinate(t,e,i,s,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;(2===e.getState()||3===e.getState())&&this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return 2!=e&&3!=e&&t.addEventListener("change",this.boundHandleImageChange_),0==e&&(t.load(),e=t.getState()),2==e}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}},WG=[];let um=null;const nP=class fxe extends dxe{constructor(t){super(t),this.container=null,this.tempTransform=[1,0,0,1,0,0],this.pixelTransform=[1,0,0,1,0,0],this.inversePixelTransform=[1,0,0,1,0,0],this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,i){let s;um||function hxe(){um=Ps(1,1,void 0,{willReadFrequently:!0})}(),um.clearRect(0,0,1,1);try{um.drawImage(t,e,i,1,1,0,0,1,1),s=um.getImageData(0,0,1,1).data}catch{return um=null,null}return s}getBackground(t){let i=this.getLayer().getBackground();return"function"==typeof i&&(i=i(t.viewState.resolution)),i||void 0}useContainer(t,e,i){const s=this.getLayer().getClassName();let r,o;if(t&&t.className===s&&(!i||t&&t.style.backgroundColor&&Uc(uM(t.style.backgroundColor),uM(i)))){const a=t.firstElementChild;a instanceof HTMLCanvasElement&&(o=a.getContext("2d"))}if(o&&o.canvas.style.transform===e?(this.container=t,this.context=o,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){r=document.createElement("div"),r.className=s;let a=r.style;a.position="absolute",a.width="100%",a.height="100%",o=Ps();const l=o.canvas;r.appendChild(l),a=l.style,a.position="absolute",a.left="0",a.transformOrigin="top left",this.container=r,this.context=o}!this.containerReused&&i&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const s=Gc(i),r=aM(i),o=Fv(i),a=oM(i);Cs(e.coordinateToPixelTransform,s),Cs(e.coordinateToPixelTransform,r),Cs(e.coordinateToPixelTransform,o),Cs(e.coordinateToPixelTransform,a);const l=this.inversePixelTransform;Cs(l,s),Cs(l,r),Cs(l,o),Cs(l,a),t.save(),t.beginPath(),t.moveTo(Math.round(s[0]),Math.round(s[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()}dispatchRenderEvent_(t,e,i){const s=this.getLayer();if(s.hasListener(t)){const r=new $z(t,this.inversePixelTransform,i,e);s.dispatchEvent(r)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_("prerender",t,e)}postRender(t,e){this.dispatchRenderEvent_("postrender",t,e)}getRenderTransform(t,e,i,s,r,o,a){const u=s/e;return ua(this.tempTransform,r/2,o/2,u,-u,-i,-t[0]+a,-t[1])}disposeInternal(){delete this.frameState,super.disposeInternal()}};function pxe(n,t,e,i,s,r,o,a,l,c,u,d){let h=n[t],p=n[t+1],_=0,v=0,x=0,k=0;function P(){_=h,v=p,h=n[t+=i],p=n[t+1],k+=x,x=Math.sqrt((h-_)*(h-_)+(p-v)*(p-v))}do{P()}while(t<e-i&&k+x<r);let j=0===x?0:(r-k)/x;const z=Yo(_,h,j),G=Yo(v,p,j),Z=t-i,oe=k,ce=r+a*l(c,s,u);for(;t<e-i&&k+x<ce;)P();j=0===x?0:(ce-k)/x;const Se=Yo(_,h,j),Re=Yo(v,p,j);let Ye;if(d){const De=[z,G,Se,Re];gL(De,0,4,2,d,De,De),Ye=De[0]>De[2]}else Ye=z>Se;const Fe=Math.PI,Ze=[],Mt=Z+i===t;let st;if(x=0,k=oe,h=n[t=Z],p=n[t+1],Mt)return P(),st=Math.atan2(p-v,h-_),Ye&&(st+=st>0?-Fe:Fe),Ze[0]=[(Se+z)/2,(Re+G)/2,(ce-r)/2,st,s],Ze;for(let De=0,Ee=(s=s.replace(/\n/g," ")).length;De<Ee;){P();let Be=Math.atan2(p-v,h-_);if(Ye&&(Be+=Be>0?-Fe:Fe),void 0!==st){let pt=Be-st;if(pt+=pt>Fe?-2*Fe:pt<-Fe?2*Fe:0,Math.abs(pt)>o)return null}st=Be;const nt=De;let xt=0;for(;De<Ee;++De){const en=a*l(c,s[Ye?Ee-De-1:De],u);if(t+i<e&&k+x<r+xt+en/2)break;xt+=en}if(De===nt)continue;const Pn=Ye?s.substring(Ee-nt,Ee-De):s.substring(nt,De);j=0===x?0:(r+xt/2-k)/x;const We=Yo(_,h,j),Tn=Yo(v,p,j);Ze.push([We,Tn,xt/2,Be,Pn]),r+=xt}return Ze}const dm=[1/0,1/0,-1/0,-1/0],Ad=[],tu=[],nu=[],Rd=[];function $G(n){return n[3].declutterBox}const qG=new RegExp("[\u0591-\u08ff\ufb1d-\ufdff\ufe70-\ufefc\u0800-\u0fff\ue800-\uefff]");function iP(n,t){return"start"===t?t=qG.test(n)?"right":"left":"end"===t&&(t=qG.test(n)?"left":"right"),KM[t]}function gxe(n,t,e){return e>0&&n.push("\n",""),n.push(t,""),n}const _xe=class mxe{constructor(t,e,i,s){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.instructions=s.instructions,this.coordinates=s.coordinates,this.coordinateCache_={},this.renderedTransform_=[1,0,0,1,0,0],this.hitDetectionInstructions=s.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=s.fillStates||{},this.strokeStates=s.strokeStates||{},this.textStates=s.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,i,s){const r=t+e+i+s;if(this.labels_[r])return this.labels_[r];const o=s?this.strokeStates[s]:null,a=i?this.fillStates[i]:null,l=this.textStates[e],c=this.pixelRatio,u=[l.scale[0]*c,l.scale[1]*c],d=Array.isArray(t),h=l.justify?KM[l.justify]:iP(Array.isArray(t)?t[0]:t,l.textAlign||Xv),p=s&&o.lineWidth?o.lineWidth:0,_=d?t:t.split("\n").reduce(gxe,[]),{width:v,height:x,widths:k,heights:P,lineWidths:j}=function pMe(n,t){const e=[],i=[],s=[];let r=0,o=0,a=0,l=0;for(let c=0,u=t.length;c<=u;c+=2){const d=t[c];if("\n"===d||c===u){r=Math.max(r,o),s.push(o),o=0,a+=l;continue}const h=t[c+1]||n.font,p=AM(h,d);e.push(p),o+=p;const _=fMe(h);i.push(_),l=Math.max(l,_)}return{width:r,height:a,widths:e,heights:i,lineWidths:s}}(l,_),z=v+p,G=[],Z=(z+2)*u[0],oe=(x+p)*u[1],ce={width:Z<0?Math.floor(Z):Math.ceil(Z),height:oe<0?Math.floor(oe):Math.ceil(oe),contextInstructions:G};(1!=u[0]||1!=u[1])&&G.push("scale",u),s&&(G.push("strokeStyle",o.strokeStyle),G.push("lineWidth",p),G.push("lineCap",o.lineCap),G.push("lineJoin",o.lineJoin),G.push("miterLimit",o.miterLimit),G.push("setLineDash",[o.lineDash]),G.push("lineDashOffset",o.lineDashOffset)),i&&G.push("fillStyle",a.fillStyle),G.push("textBaseline","middle"),G.push("textAlign","center");const Se=.5-h;let Re=h*z+Se*p;const Ye=[],Fe=[];let Ee,Ze=0,Mt=0,st=0,De=0;for(let Be=0,nt=_.length;Be<nt;Be+=2){const xt=_[Be];if("\n"===xt){Mt+=Ze,Ze=0,Re=h*z+Se*p,++De;continue}const Pn=_[Be+1]||l.font;Pn!==Ee&&(s&&Ye.push("font",Pn),i&&Fe.push("font",Pn),Ee=Pn),Ze=Math.max(Ze,P[st]);const We=[xt,Re+Se*k[st]+h*(k[st]-j[De]),.5*(p+Ze)+Mt];Re+=k[st],s&&Ye.push("strokeText",We),i&&Fe.push("fillText",We),++st}return Array.prototype.push.apply(G,Ye),Array.prototype.push.apply(G,Fe),this.labels_[r]=ce,ce}replayTextBackground_(t,e,i,s,r,o,a){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,s),t.lineTo.apply(t,r),t.lineTo.apply(t,e),o&&(this.alignFill_=o[2],this.fill_(t)),a&&(this.setStrokeStyle_(t,a),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,s,r,o,a,l,c,u,d,h,p,_,v,x){let k=i-(a*=h[0]),P=s-(l*=h[1]);const j=r+c>t?t-c:r,z=o+u>e?e-u:o,G=_[3]+j*h[0]+_[1],Z=_[0]+z*h[1]+_[2],oe=k-_[3],ce=P-_[0];let Se;return(v||0!==d)&&(Ad[0]=oe,Rd[0]=oe,Ad[1]=ce,tu[1]=ce,tu[0]=oe+G,nu[0]=tu[0],nu[1]=ce+Z,Rd[1]=nu[1]),0!==d?(Se=ua([1,0,0,1,0,0],i,s,1,1,d,-i,-s),Cs(Se,Ad),Cs(Se,tu),Cs(Se,nu),Cs(Se,Rd),Il(Math.min(Ad[0],tu[0],nu[0],Rd[0]),Math.min(Ad[1],tu[1],nu[1],Rd[1]),Math.max(Ad[0],tu[0],nu[0],Rd[0]),Math.max(Ad[1],tu[1],nu[1],Rd[1]),dm)):Il(Math.min(oe,oe+G),Math.min(ce,ce+Z),Math.max(oe,oe+G),Math.max(ce,ce+Z),dm),p&&(k=Math.round(k),P=Math.round(P)),{drawImageX:k,drawImageY:P,drawImageW:j,drawImageH:z,originX:c,originY:u,declutterBox:{minX:dm[0],minY:dm[1],maxX:dm[2],maxY:dm[3],value:x},canvasTransform:Se,scale:h}}replayImageOrLabel_(t,e,i,s,r,o,a){const c=s.declutterBox,u=t.canvas,d=a?a[2]*s.scale[0]/2:0;return c.minX-d<=u.width/e&&c.maxX+d>=0&&c.minY-d<=u.height/e&&c.maxY+d>=0&&(!(!o&&!a)&&this.replayTextBackground_(t,Ad,tu,nu,Rd,o,a),function gMe(n,t,e,i,s,r,o,a,l,c,u){n.save(),1!==e&&(n.globalAlpha*=e),t&&n.transform.apply(n,t),i.contextInstructions?(n.translate(l,c),n.scale(u[0],u[1]),function mMe(n,t){const e=n.contextInstructions;for(let i=0,s=e.length;i<s;i+=2)Array.isArray(e[i+1])?t[e[i]].apply(t,e[i+1]):t[e[i]]=e[i+1]}(i,n)):u[0]<0||u[1]<0?(n.translate(l,c),n.scale(u[0],u[1]),n.drawImage(i,s,r,o,a,0,0,o,a)):n.drawImage(i,s,r,o,a,l,c,o*u[0],a*u[1]),n.restore()}(t,s.canvasTransform,r,i,s.originX,s.originY,s.drawImageW,s.drawImageH,s.drawImageX,s.drawImageY,s.scale)),!0}fill_(t){if(this.alignFill_){const e=Cs(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;t.save(),t.translate(e[0]%i,e[1]%i),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,s){const r=this.textStates[e],o=this.createLabel(t,e,s,i),a=this.strokeStates[i],l=this.pixelRatio,c=iP(Array.isArray(t)?t[0]:t,r.textAlign||Xv),u=KM[r.textBaseline||IM],d=a&&a.lineWidth?a.lineWidth:0;return{label:o,anchorX:c*(o.width/l-2*r.scale[0])+2*(.5-c)*d,anchorY:u*o.height/l+2*(.5-u)*d}}execute_(t,e,i,s,r,o,a,l){let c;this.pixelCoordinates_&&Uc(i,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=wd(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),function Rwe(n,t){n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5]}(this.renderedTransform_,i));let u=0;const d=s.length;let p,_,v,x,k,P,j,z,G,Z,oe,ce,h=0,Se=0,Re=0,Ye=null,Fe=null;const Ze=this.coordinateCache_,Mt=this.viewRotation_,st=Math.round(1e12*Math.atan2(-i[1],i[0]))/1e12,De={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:Mt},Ee=this.instructions!=s||this.overlaps?0:200;let Be,nt,xt,Pn;for(;u<d;){const We=s[u];switch(We[0]){case Ft.BEGIN_GEOMETRY:Be=We[1],Pn=We[3],Be.getGeometry()?void 0===a||gi(a,Pn.getExtent())?++u:u=We[2]+1:u=We[2];break;case Ft.BEGIN_PATH:Se>Ee&&(this.fill_(t),Se=0),Re>Ee&&(t.stroke(),Re=0),!Se&&!Re&&(t.beginPath(),x=NaN,k=NaN),++u;break;case Ft.CIRCLE:h=We[1];const pt=c[h],en=c[h+1],Vi=c[h+2]-pt,Ai=c[h+3]-en,Uo=Math.sqrt(Vi*Vi+Ai*Ai);t.moveTo(pt+Uo,en),t.arc(pt,en,Uo,0,2*Math.PI,!0),++u;break;case Ft.CLOSE_PATH:t.closePath(),++u;break;case Ft.CUSTOM:h=We[1],p=We[2];const Vd=We[4],jf=6==We.length?We[5]:void 0;De.geometry=We[3],De.feature=Be,u in Ze||(Ze[u]=[]);const ec=Ze[u];jf?jf(c,h,p,2,ec):(ec[0]=c[h],ec[1]=c[h+1],ec.length=2),Vd(ec,De),++u;break;case Ft.DRAW_IMAGE:h=We[1],p=We[2],z=We[3],_=We[4],v=We[5];let Bf=We[6];const ol=We[7],Hf=We[8],Bm=We[9],Hm=We[10];let ro=We[11];const Ud=We[12];let Ks=We[13];const Ir=We[14],Ar=We[15];if(!z&&We.length>=20){G=We[19],Z=We[20],oe=We[21],ce=We[22];const zo=this.drawLabelWithPointPlacement_(G,Z,oe,ce);z=zo.label,We[3]=z,_=(zo.anchorX-We[23])*this.pixelRatio,We[4]=_,v=(zo.anchorY-We[24])*this.pixelRatio,We[5]=v,Bf=z.height,We[6]=Bf,Ks=z.width,We[13]=Ks}let ya,lu,tc,al;We.length>25&&(ya=We[25]),We.length>17?(lu=We[16],tc=We[17],al=We[18]):(lu=wf,tc=!1,al=!1),Hm&&st?ro+=Mt:!Hm&&!st&&(ro-=Mt);let Vm=0;for(;h<p;h+=2){if(ya&&ya[Vm++]<Ks/this.pixelRatio)continue;const zo=this.calculateImageOrLabelDimensions_(z.width,z.height,c[h],c[h+1],Ks,Bf,_,v,Hf,Bm,ro,Ud,r,lu,tc||al,Be),Um=[t,e,z,zo,ol,tc?Ye:null,al?Fe:null];if(l){if("none"===Ir)continue;if("obstacle"===Ir){l.insert(zo.declutterBox);continue}{let va,cu;if(Ar){const Go=p-h;if(!Ar[Go]){Ar[Go]=Um;continue}if(va=Ar[Go],delete Ar[Go],cu=$G(va),l.collides(cu))continue}if(l.collides(zo.declutterBox))continue;va&&(l.insert(cu),this.replayImageOrLabel_.apply(this,va)),l.insert(zo.declutterBox)}}this.replayImageOrLabel_.apply(this,Um)}++u;break;case Ft.DRAW_CHARS:const WD=We[1],Rr=We[2],FI=We[3],Aje=We[4];ce=We[5];const Rje=We[6],J7=We[7],Q7=We[8];oe=We[9];const YI=We[10];G=We[11],Z=We[12];const e9=[We[13],We[13]],jI=this.textStates[Z],z0=jI.font,G0=[jI.scale[0]*J7,jI.scale[1]*J7];let W0;z0 in this.widths_?W0=this.widths_[z0]:(W0={},this.widths_[z0]=W0);const t9=GL(c,WD,Rr,2),n9=Math.abs(G0[0])*eG(z0,G,W0);if(Aje||n9<=t9){const va=pxe(c,WD,Rr,2,G,(t9-n9)*iP(G,this.textStates[Z].textAlign),Rje,Math.abs(G0[0]),eG,z0,W0,st?0:this.viewRotation_);e:if(va){const cu=[];let Go,$D,qD,oo,ba;if(oe)for(Go=0,$D=va.length;Go<$D;++Go){ba=va[Go],qD=ba[4],oo=this.createLabel(qD,Z,"",oe),_=ba[2]+(G0[0]<0?-YI:YI),v=FI*oo.height+2*(.5-FI)*YI*G0[1]/G0[0]-Q7;const uu=this.calculateImageOrLabelDimensions_(oo.width,oo.height,ba[0],ba[1],oo.width,oo.height,_,v,0,0,ba[3],e9,!1,wf,!1,Be);if(l&&l.collides(uu.declutterBox))break e;cu.push([t,e,oo,uu,1,null,null])}if(ce)for(Go=0,$D=va.length;Go<$D;++Go){ba=va[Go],qD=ba[4],oo=this.createLabel(qD,Z,ce,""),_=ba[2],v=FI*oo.height-Q7;const uu=this.calculateImageOrLabelDimensions_(oo.width,oo.height,ba[0],ba[1],oo.width,oo.height,_,v,0,0,ba[3],e9,!1,wf,!1,Be);if(l&&l.collides(uu.declutterBox))break e;cu.push([t,e,oo,uu,1,null,null])}l&&l.load(cu.map($G));for(let uu=0,Nje=cu.length;uu<Nje;++uu)this.replayImageOrLabel_.apply(this,cu[uu])}}++u;break;case Ft.END_GEOMETRY:if(void 0!==o){Be=We[1];const zo=o(Be,Pn);if(zo)return zo}++u;break;case Ft.FILL:Ee?Se++:this.fill_(t),++u;break;case Ft.MOVE_TO_LINE_TO:for(h=We[1],p=We[2],nt=c[h],xt=c[h+1],P=nt+.5|0,j=xt+.5|0,(P!==x||j!==k)&&(t.moveTo(nt,xt),x=P,k=j),h+=2;h<p;h+=2)nt=c[h],xt=c[h+1],P=nt+.5|0,j=xt+.5|0,(h==p-2||P!==x||j!==k)&&(t.lineTo(nt,xt),x=P,k=j);++u;break;case Ft.SET_FILL_STYLE:Ye=We,this.alignFill_=We[2],Se&&(this.fill_(t),Se=0,Re&&(t.stroke(),Re=0)),t.fillStyle=We[1],++u;break;case Ft.SET_STROKE_STYLE:Fe=We,Re&&(t.stroke(),Re=0),this.setStrokeStyle_(t,We),++u;break;case Ft.STROKE:Ee?Re++:t.stroke(),++u;break;default:++u}}Se&&this.fill_(t),Re&&t.stroke()}execute(t,e,i,s,r,o){this.viewRotation_=s,this.execute_(t,e,i,this.instructions,r,void 0,void 0,o)}executeHitDetection(t,e,i,s,r){return this.viewRotation_=i,this.execute_(t,1,e,this.hitDetectionInstructions,!0,s,r)}},sP=["Polygon","Circle","LineString","Image","Text","Default"],rP={},ZM=class yxe{constructor(t,e,i,s,r,o){this.maxExtent_=t,this.overlaps_=s,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=o,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=[1,0,0,1,0,0],this.createExecutors_(r)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t){for(const e in t){let i=this.executorsByZIndex_[e];void 0===i&&(i={},this.executorsByZIndex_[e]=i);const s=t[e];for(const r in s)i[r]=new _xe(this.resolution_,this.pixelRatio_,this.overlaps_,s[r])}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let s=0,r=t.length;s<r;++s)if(t[s]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,s,r,o){const a=2*(s=Math.round(s))+1,l=ua(this.hitDetectionTransform_,s+.5,s+.5,1/e,-1/e,-i,-t[0],-t[1]),c=!this.hitDetectionContext_;c&&(this.hitDetectionContext_=Ps(a,a,void 0,{willReadFrequently:!0}));const u=this.hitDetectionContext_;let d;u.canvas.width!==a||u.canvas.height!==a?(u.canvas.width=a,u.canvas.height=a):c||u.clearRect(0,0,a,a),void 0!==this.renderBuffer_&&(d=[1/0,1/0,-1/0,-1/0],Gg(d,t),da(d,e*(this.renderBuffer_+s),d));const h=function vxe(n){if(void 0!==rP[n])return rP[n];const t=2*n+1,e=n*n,i=new Array(e+1);for(let r=0;r<=n;++r)for(let o=0;o<=n;++o){const a=r*r+o*o;if(a>e)break;let l=i[a];l||(l=[],i[a]=l),l.push(4*((n+r)*t+(n+o))+3),r>0&&l.push(4*((n-r)*t+(n+o))+3),o>0&&(l.push(4*((n+r)*t+(n-o))+3),r>0&&l.push(4*((n-r)*t+(n-o))+3))}const s=[];for(let r=0,o=i.length;r<o;++r)i[r]&&s.push(...i[r]);return rP[n]=s,s}(s);let p;function _(G,Z){const oe=u.getImageData(0,0,a,a).data;for(let ce=0,Se=h.length;ce<Se;ce++)if(oe[h[ce]]>0){if(!o||"Image"!==p&&"Text"!==p||o.includes(G)){const Re=(h[ce]-3)/4,Ye=s-Re%a,Fe=s-(Re/a|0),Ze=r(G,Z,Ye*Ye+Fe*Fe);if(Ze)return Ze}u.clearRect(0,0,a,a);break}}const v=Object.keys(this.executorsByZIndex_).map(Number);let x,k,P,j,z;for(v.sort(gd),x=v.length-1;x>=0;--x){const G=v[x].toString();for(P=this.executorsByZIndex_[G],k=sP.length-1;k>=0;--k)if(p=sP[k],j=P[p],void 0!==j&&(z=j.executeHitDetection(u,l,i,_,d),z))return z}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],s=e[1],r=e[2],o=e[3],a=[i,s,i,o,r,o,r,s];return wd(a,0,8,2,t,a),a}isEmpty(){return md(this.executorsByZIndex_)}execute(t,e,i,s,r,o,a){const l=Object.keys(this.executorsByZIndex_).map(Number);let c,u,d,h,p,_;for(l.sort(gd),this.maxExtent_&&(t.save(),this.clip(t,i)),o=o||sP,a&&l.reverse(),c=0,u=l.length;c<u;++c){const v=l[c].toString();for(p=this.executorsByZIndex_[v],d=0,h=o.length;d<h;++d)_=p[o[d]],void 0!==_&&_.execute(t,e,i,s,r,a)}this.maxExtent_&&t.restore()}},KG=class bxe extends zG{constructor(t,e,i,s,r,o,a){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=s,this.transformRotation_=s?$g(Math.atan2(s[1],s[0]),10):0,this.viewRotation_=r,this.squaredTolerance_=o,this.userTransform_=a,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=[1,0,0,1,0,0]}drawImages_(t,e,i,s){if(!this.image_)return;const r=wd(t,e,i,s,this.transform_,this.pixelCoordinates_),o=this.context_,a=this.tmpLocalTransform_,l=o.globalAlpha;1!=this.imageOpacity_&&(o.globalAlpha=l*this.imageOpacity_);let c=this.imageRotation_;0===this.transformRotation_&&(c-=this.viewRotation_),this.imageRotateWithView_&&(c+=this.viewRotation_);for(let u=0,d=r.length;u<d;u+=2){const h=r[u]-this.imageAnchorX_,p=r[u+1]-this.imageAnchorY_;if(0!==c||1!=this.imageScale_[0]||1!=this.imageScale_[1]){const _=h+this.imageAnchorX_,v=p+this.imageAnchorY_;ua(a,_,v,1,1,c,-_,-v),o.save(),o.transform.apply(o,a),o.translate(_,v),o.scale(this.imageScale_[0],this.imageScale_[1]),o.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),o.restore()}else o.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,h,p,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(o.globalAlpha=l)}drawText_(t,e,i,s){if(!this.textState_||""===this.text_)return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const r=wd(t,e,i,s,this.transform_,this.pixelCoordinates_),o=this.context_;let a=this.textRotation_;for(0===this.transformRotation_&&(a-=this.viewRotation_),this.textRotateWithView_&&(a+=this.viewRotation_);e<i;e+=s){const l=r[e]+this.textOffsetX_,c=r[e+1]+this.textOffsetY_;0!==a||1!=this.textScale_[0]||1!=this.textScale_[1]?(o.save(),o.translate(l-this.textOffsetX_,c-this.textOffsetY_),o.rotate(a),o.translate(this.textOffsetX_,this.textOffsetY_),o.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&o.strokeText(this.text_,0,0),this.textFillState_&&o.fillText(this.text_,0,0),o.restore()):(this.textStrokeState_&&o.strokeText(this.text_,l,c),this.textFillState_&&o.fillText(this.text_,l,c))}}moveToLineTo_(t,e,i,s,r){const o=this.context_,a=wd(t,e,i,s,this.transform_,this.pixelCoordinates_);o.moveTo(a[0],a[1]);let l=a.length;r&&(l-=2);for(let c=2;c<l;c+=2)o.lineTo(a[c],a[c+1]);return r&&o.closePath(),i}drawRings_(t,e,i,s){for(let r=0,o=i.length;r<o;++r)e=this.moveToLineTo_(t,e,i[r],s,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),gi(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=function YCe(n,t,e){const i=n.getFlatCoordinates();if(!i)return null;const s=n.getStride();return wd(i,0,i.length,s,t,e)}(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],s=e[3]-e[1],r=Math.sqrt(i*i+s*s),o=this.context_;o.beginPath(),o.arc(e[0],e[1],r,0,2*Math.PI),this.fillState_&&o.fill(),this.strokeState_&&o.stroke()}""!==this.text_&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t)}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let i=0,s=e.length;i<s;++i)this.drawGeometry(e[i])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),""!==this.text_&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),""!==this.text_&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),gi(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(""!==this.text_){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(gi(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const i=this.context_,s=t.getFlatCoordinates();let r=0;const o=t.getEnds(),a=t.getStride();i.beginPath();for(let l=0,c=o.length;l<c;++l)r=this.moveToLineTo_(s,r,o[l],a,!1);i.stroke()}if(""!==this.text_){const i=t.getFlatMidpoints();this.drawText_(i,0,i.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),gi(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),gi(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let s=0;const r=t.getEndss(),o=t.getStride();e.beginPath();for(let a=0,l=r.length;a<l;++a)s=this.drawRings_(i,s,r[a],o);this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),Uc(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,s=t.textAlign?t.textAlign:Xv;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=s&&(i.textAlign=s,e.textAlign=s),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=s,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:s,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(t){const i=t.getColor();this.fillState_={fillStyle:Hl(i||to)}}else this.fillState_=null;if(e){const i=e.getColor(),s=e.getLineCap(),r=e.getLineDash(),o=e.getLineDashOffset(),a=e.getLineJoin(),l=e.getWidth(),c=e.getMiterLimit(),u=r||qc;this.strokeState_={lineCap:void 0!==s?s:tm,lineDash:1===this.pixelRatio_?u:u.map(d=>d*this.pixelRatio_),lineDashOffset:(o||0)*this.pixelRatio_,lineJoin:void 0!==a?a:nm,lineWidth:(void 0!==l?l:1)*this.pixelRatio_,miterLimit:void 0!==c?c:10,strokeStyle:Hl(i||Kv)}}else this.strokeState_=null}setImageStyle(t){let e;if(!t||!(e=t.getSize()))return void(this.image_=null);const i=t.getPixelRatio(this.pixelRatio_),s=t.getAnchor(),r=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=s[0]*i,this.imageAnchorY_=s[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const o=t.getScaleArray();this.imageScale_=[o[0]*this.pixelRatio_/i,o[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(t){const e=t.getFill();if(e){const p=e.getColor();this.textFillState_={fillStyle:Hl(p||to)}}else this.textFillState_=null;const i=t.getStroke();if(i){const p=i.getColor(),_=i.getLineCap(),v=i.getLineDash(),x=i.getLineDashOffset(),k=i.getLineJoin(),P=i.getWidth(),j=i.getMiterLimit();this.textStrokeState_={lineCap:void 0!==_?_:tm,lineDash:v||qc,lineDashOffset:x||0,lineJoin:void 0!==k?k:nm,lineWidth:void 0!==P?P:1,miterLimit:void 0!==j?j:10,strokeStyle:Hl(p||Kv)}}else this.textStrokeState_=null;const s=t.getFont(),r=t.getOffsetX(),o=t.getOffsetY(),a=t.getRotateWithView(),l=t.getRotation(),c=t.getScaleArray(),u=t.getText(),d=t.getTextAlign(),h=t.getTextBaseline();this.textState_={font:void 0!==s?s:Jz,textAlign:void 0!==d?d:Xv,textBaseline:void 0!==h?h:IM},this.text_=void 0!==u?Array.isArray(u)?u.reduce((p,_,v)=>p+(v%2?" ":_),""):u:"",this.textOffsetX_=void 0!==r?this.pixelRatio_*r:0,this.textOffsetY_=void 0!==o?this.pixelRatio_*o:0,this.textRotateWithView_=void 0!==a&&a,this.textRotation_=void 0!==l?l:0,this.textScale_=[this.pixelRatio_*c[0],this.pixelRatio_*c[1]]}else this.text_=""}},Bo=.5;const wxe=.5,JG={Point:function kxe(n,t,e,i,s){const r=e.getImage(),o=e.getText();let a;if(r){if(2!=r.getImageState())return;let l=n;if(s){const u=r.getDeclutterMode();if("none"!==u)if(l=s,"obstacle"===u){const d=n.getBuilder(e.getZIndex(),"Image");d.setImageStyle(r,a),d.drawPoint(t,i)}else o&&o.getText()&&(a={})}const c=l.getBuilder(e.getZIndex(),"Image");c.setImageStyle(r,a),c.drawPoint(t,i)}if(o&&o.getText()){let l=n;s&&(l=s);const c=l.getBuilder(e.getZIndex(),"Text");c.setTextStyle(o,a),c.drawText(t,i)}},LineString:function Sxe(n,t,e,i,s){const r=e.getStroke();if(r){const a=n.getBuilder(e.getZIndex(),"LineString");a.setFillStrokeStyle(null,r),a.drawLineString(t,i)}const o=e.getText();if(o&&o.getText()){const a=(s||n).getBuilder(e.getZIndex(),"Text");a.setTextStyle(o),a.drawText(t,i)}},Polygon:function Lxe(n,t,e,i,s){const r=e.getFill(),o=e.getStroke();if(r||o){const l=n.getBuilder(e.getZIndex(),"Polygon");l.setFillStrokeStyle(r,o),l.drawPolygon(t,i)}const a=e.getText();if(a&&a.getText()){const l=(s||n).getBuilder(e.getZIndex(),"Text");l.setTextStyle(a),l.drawText(t,i)}},MultiPoint:function Oxe(n,t,e,i,s){const r=e.getImage(),o=e.getText();let a;if(r){if(2!=r.getImageState())return;let l=n;if(s){const u=r.getDeclutterMode();if("none"!==u)if(l=s,"obstacle"===u){const d=n.getBuilder(e.getZIndex(),"Image");d.setImageStyle(r,a),d.drawMultiPoint(t,i)}else o&&o.getText()&&(a={})}const c=l.getBuilder(e.getZIndex(),"Image");c.setImageStyle(r,a),c.drawMultiPoint(t,i)}if(o&&o.getText()){let l=n;s&&(l=s);const c=l.getBuilder(e.getZIndex(),"Text");c.setTextStyle(o,a),c.drawText(t,i)}},MultiLineString:function Txe(n,t,e,i,s){const r=e.getStroke();if(r){const a=n.getBuilder(e.getZIndex(),"LineString");a.setFillStrokeStyle(null,r),a.drawMultiLineString(t,i)}const o=e.getText();if(o&&o.getText()){const a=(s||n).getBuilder(e.getZIndex(),"Text");a.setTextStyle(o),a.drawText(t,i)}},MultiPolygon:function Exe(n,t,e,i,s){const r=e.getFill(),o=e.getStroke();if(o||r){const l=n.getBuilder(e.getZIndex(),"Polygon");l.setFillStrokeStyle(r,o),l.drawMultiPolygon(t,i)}const a=e.getText();if(a&&a.getText()){const l=(s||n).getBuilder(e.getZIndex(),"Text");l.setTextStyle(a),l.drawText(t,i)}},GeometryCollection:function xxe(n,t,e,i,s){const r=t.getGeometriesArray();let o,a;for(o=0,a=r.length;o<a;++o)(0,JG[r[o].getType()])(n,r[o],e,i,s)},Circle:function Mxe(n,t,e,i,s){const r=e.getFill(),o=e.getStroke();if(r||o){const l=n.getBuilder(e.getZIndex(),"Circle");l.setFillStrokeStyle(r,o),l.drawCircle(t,i)}const a=e.getText();if(a&&a.getText()){const l=(s||n).getBuilder(e.getZIndex(),"Text");l.setTextStyle(a),l.drawText(t,i)}}};function Cxe(n,t){return parseInt(Tt(n),10)-parseInt(Tt(t),10)}function aP(n,t){return wxe*n/t}function JM(n,t,e,i,s,r,o){let a=!1;const l=e.getImage();if(l){const c=l.getImageState();2==c||3==c?l.unlistenImageChange(s):(0==c&&l.load(),l.listenImageChange(s),a=!0)}return function Dxe(n,t,e,i,s,r){const o=e.getGeometryFunction()(t);if(!o)return;const a=o.simplifyTransformed(i,s);e.getRenderer()?QG(n,a,e,t):(0,JG[a.getType()])(n,a,e,t,r)}(n,t,e,i,r,o),a}function QG(n,t,e,i){if("GeometryCollection"!=t.getType())n.getBuilder(e.getZIndex(),"Default").drawCustom(t,i,e.getRenderer(),e.getHitDetectionRenderer());else{const r=t.getGeometries();for(let o=0,a=r.length;o<a;++o)QG(n,r[o],e,i)}}const Ixe=class Pxe extends nP{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=[1/0,1/0,-1/0,-1/0],this.wrappedRenderedExtent_=[1/0,1/0,-1/0,-1/0],this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(t,e,i){const s=e.extent,r=e.viewState,o=r.center,a=r.resolution,l=r.projection,c=r.rotation,u=l.getExtent(),d=this.getLayer().getSource(),h=e.pixelRatio,p=e.viewHints,_=!(p[0]||p[1]),v=this.compositionContext_,x=Math.round(e.size[0]*h),k=Math.round(e.size[1]*h),P=d.getWrapX()&&l.canWrapX(),j=P?yn(u):null,z=P?Math.ceil((s[2]-u[2])/j)+1:1;let G=P?Math.floor((s[0]-u[0])/j):0;do{const Z=this.getRenderTransform(o,a,c,h,x,k,G*j);t.execute(v,1,Z,c,_,void 0,i)}while(++G<z)}setupCompositionContext_(){if(1!==this.opacity_){const t=Ps(this.context.canvas.width,this.context.canvas.height,WG);this.compositionContext_=t}else this.compositionContext_=this.context}releaseCompositionContext_(){if(1!==this.opacity_){const t=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=t,$v(this.compositionContext_),WG.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(t){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree),this.releaseCompositionContext_())}renderFrame(t,e){const i=t.pixelRatio,s=t.layerStatesArray[t.layerIndex];(function Nwe(n,t,e){(function Rv(n,t,e,i,s,r,o){return n[0]=t,n[1]=e,n[2]=i,n[3]=s,n[4]=r,n[5]=o,n})(n,t,0,0,e,0,0)})(this.pixelTransform,1/i,1/i),Nv(this.inversePixelTransform,this.pixelTransform);const r=sM(this.pixelTransform);this.useContainer(e,r,this.getBackground(t));const o=this.context,a=o.canvas,l=this.replayGroup_,c=this.declutterExecutorGroup;let u=l&&!l.isEmpty()||c&&!c.isEmpty();if(!u&&!this.getLayer().hasListener("prerender")&&!this.getLayer().hasListener("postrender"))return null;const d=Math.round(t.size[0]*i),h=Math.round(t.size[1]*i);a.width!=d||a.height!=h?(a.width=d,a.height=h,a.style.transform!==r&&(a.style.transform=r)):this.containerReused||o.clearRect(0,0,d,h),this.preRender(o,t);const p=t.viewState;this.opacity_=s.opacity,this.setupCompositionContext_();let v=!1;if(u&&s.extent&&this.clipping){const x=Nl(s.extent);u=gi(x,t.extent),v=u&&!Jr(x,t.extent),v&&this.clipUnrotated(this.compositionContext_,t,x)}return u&&this.renderWorlds(l,t),v&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(o,t),this.renderedRotation_!==p.rotation&&(this.renderedRotation_=p.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(t){return new Promise(e=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const i=[this.context.canvas.width,this.context.canvas.height];Cs(this.pixelTransform,i);const s=this.renderedCenter_,r=this.renderedResolution_,o=this.renderedRotation_,a=this.renderedProjection_,l=this.wrappedRenderedExtent_,c=this.getLayer(),u=[],d=i[0]*Bo,h=i[1]*Bo;u.push(this.getRenderTransform(s,r,o,Bo,d,h,0).slice());const p=c.getSource(),_=a.getExtent();if(p.getWrapX()&&a.canWrapX()&&!Jr(_,l)){let v=l[0];const x=yn(_);let P,k=0;for(;v<_[0];)--k,P=x*k,u.push(this.getRenderTransform(s,r,o,Bo,d,h,P).slice()),v+=x;for(k=0,v=l[2];v>_[2];)++k,P=x*k,u.push(this.getRenderTransform(s,r,o,Bo,d,h,P).slice()),v-=x}this.hitDetectionImageData_=function XG(n,t,e,i,s,r,o){const c=Ps(n[0]*Bo,n[1]*Bo);c.imageSmoothingEnabled=!1;const u=c.canvas,d=new KG(c,Bo,s,null,o),h=e.length,p=Math.floor(16777215/h),_={};for(let x=1;x<=h;++x){const k=e[x-1],P=k.getStyleFunction()||i;if(!P)continue;let j=P(k,r);if(!j)continue;Array.isArray(j)||(j=[j]);const G=(x*p).toString(16).padStart(7,"#00000");for(let Z=0,oe=j.length;Z<oe;++Z){const ce=j[Z],Se=ce.getGeometryFunction()(k);if(!Se||!gi(s,Se.getExtent()))continue;const Re=ce.clone(),Ye=Re.getFill();Ye&&Ye.setColor(G);const Fe=Re.getStroke();Fe&&(Fe.setColor(G),Fe.setLineDash(null)),Re.setText(void 0);const Ze=ce.getImage();if(Ze){const Ee=Ze.getImageSize();if(!Ee)continue;const Be=Ps(Ee[0],Ee[1],void 0,{alpha:!1}),nt=Be.canvas;Be.fillStyle=G,Be.fillRect(0,0,nt.width,nt.height),Re.setImage(new zM({img:nt,anchor:Ze.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:Ze.getOrigin(),opacity:1,size:Ze.getSize(),scale:Ze.getScale(),rotation:Ze.getRotation(),rotateWithView:Ze.getRotateWithView()}))}const Mt=Re.getZIndex()||0;let st=_[Mt];st||(st={},_[Mt]=st,st.Polygon=[],st.Circle=[],st.LineString=[],st.Point=[]);const De=Se.getType();if("GeometryCollection"===De){const Ee=Se.getGeometriesArrayRecursive();for(let Be=0,nt=Ee.length;Be<nt;++Be){const xt=Ee[Be];st[xt.getType().replace("Multi","")].push(xt,Re)}}else st[De.replace("Multi","")].push(Se,Re)}}const v=Object.keys(_).map(Number).sort(gd);for(let x=0,k=v.length;x<k;++x){const P=_[v[x]];for(const j in P){const z=P[j];for(let G=0,Z=z.length;G<Z;G+=2){d.setStyle(z[G+1]);for(let oe=0,ce=t.length;oe<ce;++oe)d.setTransform(t[oe]),d.drawGeometry(z[G])}}}return c.getImageData(0,0,u.width,u.height)}(i,u,this.renderedFeatures_,c.getStyleFunction(),l,r,o)}e(function ZG(n,t,e){const i=[];if(e){const s=Math.floor(Math.round(n[0])*Bo),r=Math.floor(Math.round(n[1])*Bo),o=4*(rn(s,0,e.width-1)+rn(r,0,e.height-1)*e.width),u=e.data[o+2]+256*(e.data[o+1]+256*e.data[o]),d=Math.floor(16777215/t.length);u&&u%d==0&&i.push(t[u/d-1])}return i}(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,i,s,r){if(!this.replayGroup_)return;const o=e.viewState.resolution,a=e.viewState.rotation,l=this.getLayer(),c={},u=function(p,_,v){const x=Tt(p),k=c[x];if(k){if(!0!==k&&v<k.distanceSq){if(0===v)return c[x]=!0,r.splice(r.lastIndexOf(k),1),s(p,l,_);k.geometry=_,k.distanceSq=v}}else{if(0===v)return c[x]=!0,s(p,l,_);r.push(c[x]={feature:p,layer:l,geometry:_,distanceSq:v,callback:s})}};let d;const h=[this.replayGroup_];return this.declutterExecutorGroup&&h.push(this.declutterExecutorGroup),h.some(p=>d=p.forEachFeatureAtCoordinate(t,o,a,i,u,p===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(_=>_.value):null)),d}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const s=t.viewHints[0],r=t.viewHints[1],o=e.getUpdateWhileAnimating(),a=e.getUpdateWhileInteracting();if(this.ready&&!o&&s||!a&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const l=t.extent,c=t.viewState,u=c.projection,d=c.resolution,h=t.pixelRatio,p=e.getRevision(),_=e.getRenderBuffer();let v=e.getRenderOrder();void 0===v&&(v=Cxe);const x=c.center.slice(),k=da(l,_*d),P=k.slice(),j=[k.slice()],z=u.getExtent();if(i.getWrapX()&&u.canWrapX()&&!Jr(z,t.extent)){const De=yn(z),Ee=Math.max(yn(k)/2,De);k[0]=z[0]-Ee,k[2]=z[2]+Ee,_M(x,u);const Be=X2(j[0],u);Be[0]<z[0]&&Be[2]<z[2]?j.push([Be[0]+De,Be[1],Be[2]+De,Be[3]]):Be[0]>z[0]&&Be[2]>z[2]&&j.push([Be[0]-De,Be[1],Be[2]-De,Be[3]])}if(this.ready&&this.renderedResolution_==d&&this.renderedRevision_==p&&this.renderedRenderOrder_==v&&Jr(this.wrappedRenderedExtent_,k))return Uc(this.renderedExtent_,P)||(this.hitDetectionImageData_=null,this.renderedExtent_=P),this.renderedCenter_=x,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const G=new XM(aP(d,h),k,d,h);let Z;this.getLayer().getDeclutter()&&(Z=new XM(aP(d,h),k,d,h));const oe=ha();let ce;if(oe){for(let De=0,Ee=j.length;De<Ee;++De){const nt=CM(j[De]);i.loadFeatures(nt,SCe(d),oe)}ce=Ka(oe,u)}else for(let De=0,Ee=j.length;De<Ee;++De)i.loadFeatures(j[De],d,u);const Se=function oP(n,t){const e=aP(n,t);return e*e}(d,h);let Re=!0;const Ye=De=>{let Ee;const Be=De.getStyleFunction()||e.getStyleFunction();if(Be&&(Ee=Be(De,d)),Ee){const nt=this.renderFeature(De,Se,Ee,G,ce,Z);Re=Re&&!nt}},Fe=CM(k),Ze=i.getFeaturesInExtent(Fe);v&&Ze.sort(v);for(let De=0,Ee=Ze.length;De<Ee;++De)Ye(Ze[De]);this.renderedFeatures_=Ze,this.ready=Re;const Mt=G.finish(),st=new ZM(k,d,h,i.getOverlaps(),Mt,e.getRenderBuffer());return Z&&(this.declutterExecutorGroup=new ZM(k,d,h,i.getOverlaps(),Z.finish(),e.getRenderBuffer())),this.renderedResolution_=d,this.renderedRevision_=p,this.renderedRenderOrder_=v,this.renderedExtent_=P,this.wrappedRenderedExtent_=k,this.renderedCenter_=x,this.renderedProjection_=u,this.replayGroup_=st,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,s,r,o){if(!i)return!1;let a=!1;if(Array.isArray(i))for(let l=0,c=i.length;l<c;++l)a=JM(s,t,i[l],e,this.boundHandleStyleImageChange_,r,o)||a;else a=JM(s,t,i,e,this.boundHandleStyleImageChange_,r,o);return a}},u0=class Axe extends VG{constructor(t){super(t)}createRenderer(){return new Ixe(this)}},lP=class Rxe{constructor(t){this.rbush_=new SG(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[Tt(e)]=i}load(t,e){const i=new Array(e.length);for(let s=0,r=e.length;s<r;s++){const o=t[s],a=e[s],l={minX:o[0],minY:o[1],maxX:o[2],maxY:o[3],value:a};i[s]=l,this.items_[Tt(a)]=l}this.rbush_.load(i)}remove(t){const e=Tt(t),i=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(i)}update(t,e){const i=this.items_[Tt(e)];Ua([i.minX,i.minY,i.maxX,i.maxY],t)||(this.remove(e),this.insert(t,e))}getAll(){return this.rbush_.all().map(function(e){return e.value})}getInExtent(t){return this.rbush_.search({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}).map(function(s){return s.value})}forEach(t){return this.forEach_(this.getAll(),t)}forEachInExtent(t,e){return this.forEach_(this.getInExtent(t),e)}forEach_(t,e){let i;for(let s=0,r=t.length;s<r;s++)if(i=e(t[s]),i)return i;return i}isEmpty(){return md(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(t){const e=this.rbush_.toJSON();return Il(e.minX,e.minY,e.maxX,e.maxY,t)}concat(t){this.rbush_.load(t.rbush_.all());for(const e in t.items_)this.items_[e]=t.items_[e]}};const tW=[1,0,0,1,0,0];class hm{constructor(t,e,i,s,r,o){this.id_=o,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=i,this.properties_=r,this.stride_=s}get(t){return this.properties_[t]}getExtent(){return this.extent_||(this.extent_="Point"===this.type_?zg(this.flatCoordinates_):$2(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_}getFlatInteriorPoint(){if(!this.flatInteriorPoints_){const t=kr(this.getExtent());this.flatInteriorPoints_=xL(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_}getFlatInteriorPoints(){if(!this.flatInteriorPoints_){const t=function Gz(n,t){const e=[];let r,i=0,s=0;for(let o=0,a=t.length;o<a;++o){const l=t[o],c=SL(n,i,l,2);if(void 0===r&&(r=c),c===r)e.push(t.slice(s,o+1));else{if(0===e.length)continue;e[e.length-1].push(t[s])}s=o+1,i=l}return e}(this.flatCoordinates_,this.ends_),e=function eW(n,t,e,i){const s=[];let r=[1/0,1/0,-1/0,-1/0];for(let o=0,a=e.length;o<a;++o){const l=e[o];r=$2(n,t,l[0],i),s.push((r[0]+r[2])/2,(r[1]+r[3])/2),t=l[l.length-1]}return s}(this.flatCoordinates_,0,t,2);this.flatInteriorPoints_=function Bz(n,t,e,i,s){let r=[];for(let o=0,a=e.length;o<a;++o){const l=e[o];r=xL(n,t,l,i,s,2*o,r),t=l[l.length-1]}return r}(this.flatCoordinates_,0,t,2,e)}return this.flatInteriorPoints_}getFlatMidpoint(){return this.flatMidpoints_||(this.flatMidpoints_=jM(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_}getFlatMidpoints(){if(!this.flatMidpoints_){this.flatMidpoints_=[];const t=this.flatCoordinates_;let e=0;const i=this.ends_;for(let s=0,r=i.length;s<r;++s){const o=i[s],a=jM(t,e,o,2,.5);ca(this.flatMidpoints_,a),e=o}}return this.flatMidpoints_}getId(){return this.id_}getOrientedFlatCoordinates(){return this.flatCoordinates_}getGeometry(){return this}getSimplifiedGeometry(t){return this}simplifyTransformed(t,e){return this}getProperties(){return this.properties_}getPropertiesInternal(){return this.properties_}getStride(){return this.stride_}getStyleFunction(){return this.styleFunction}getType(){return this.type_}transform(t){const e=(t=Qt(t)).getExtent(),i=t.getWorldExtent();if(e&&i){const s=Ji(i)/Ji(e);ua(tW,i[0],i[3],s,-s,0,0,0),wd(this.flatCoordinates_,0,this.flatCoordinates_.length,2,tW,this.flatCoordinates_)}}applyTransform(t){t(this.flatCoordinates_,this.flatCoordinates_,this.stride_)}clone(){return new hm(this.type_,this.flatCoordinates_.slice(),this.ends_.slice(),this.stride_,Object.assign({},this.properties_),this.id_)}getEnds(){return this.ends_}enableSimplifyTransformed(){return this.simplifyTransformed=W8((t,e)=>{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const i=this.simplifiedGeometry_.getFlatCoordinates();let s;switch(this.type_){case"LineString":i.length=zv(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,i,0),s=[i.length];break;case"MultiLineString":s=[],i.length=function bL(n,t,e,i,s,r,o,a){for(let l=0,c=e.length;l<c;++l){const u=e[l];o=zv(n,t,u,i,s,r,o),a.push(o),t=u}return o}(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,i,0,s);break;case"Polygon":s=[],i.length=wL(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),i,0,s)}return s&&(this.simplifiedGeometry_=new hm(this.type_,i,s,2,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_}),this}}hm.prototype.getFlatCoordinates=hm.prototype.getOrientedFlatCoordinates;const Qa=hm;function nW(n){return n?Array.isArray(n)?function(t){return n}:"function"==typeof n?n:function(t){return[n]}:null}const d0=class Fxe extends Va{constructor(t){super(),this.projection=Qt(t.projection),this.attributions_=nW(t.attributions),this.attributionsCollapsible_=void 0===t.attributionsCollapsible||t.attributionsCollapsible,this.loading=!1,this.state_=void 0!==t.state?t.state:"ready",this.wrapX_=void 0!==t.wrapX&&t.wrapX,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise(function(i,s){e.viewResolver=i,e.viewRejector=s})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=nW(t),this.changed()}setState(t){this.state_=t,this.changed()}};function Yxe(n,t){return[[-1/0,-1/0,1/0,1/0]]}let iW=!1;function rW(n,t){return function(e,i,s,r,o){const a=this;!function sW(n,t,e,i,s,r,o){const a=new XMLHttpRequest;a.open("GET","function"==typeof n?n(e,i,s):n,!0),"arraybuffer"==t.getType()&&(a.responseType="arraybuffer"),a.withCredentials=iW,a.onload=function(l){if(!a.status||a.status>=200&&a.status<300){const c=t.getType();let u;"json"==c?u=JSON.parse(a.responseText):"text"==c?u=a.responseText:"xml"==c?(u=a.responseXML,u||(u=(new DOMParser).parseFromString(a.responseText,"application/xml"))):"arraybuffer"==c&&(u=a.response),u?r(t.readFeatures(u,{extent:e,featureProjection:s}),t.readProjection(u)):o()}else o()},a.onerror=o,a.send()}(n,t,e,i,s,function(l,c){a.addFeatures(l),void 0!==r&&r(l)},o||Hg)}}class Nd extends cr{constructor(t,e,i){super(t),this.feature=e,this.features=i}}const fm=class jxe extends d0{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.loader_=Hg,this.format_=t.format,this.overlaps_=void 0===t.overlaps||t.overlaps,this.url_=t.url,void 0!==t.loader?this.loader_=t.loader:void 0!==this.url_&&(An(this.format_,"`format` must be set when `url` is set"),this.loader_=rW(this.url_,this.format_)),this.strategy_=void 0!==t.strategy?t.strategy:Yxe;const e=void 0===t.useSpatialIndex||t.useSpatialIndex;let i,s;this.featuresRtree_=e?new lP:null,this.loadedExtentsRtree_=new lP,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(t.features)?s=t.features:t.features&&(i=t.features,s=i.getArray()),!e&&void 0===i&&(i=new Ls(s)),void 0!==s&&this.addFeaturesInternal(s),void 0!==i&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=Tt(t);if(!this.addToIndex_(e,t))return void(this.featuresCollection_&&this.featuresCollection_.remove(t));this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const s=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(s,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Nd("addfeature",t))}setupChangeEvents_(t,e){e instanceof Qa||(this.featureChangeKeys_[t]=[Kt(e,"change",this.handleFeatureChange_,this),Kt(e,"propertychange",this.handleFeatureChange_,this)])}addToIndex_(t,e){let i=!0;if(void 0!==e.getId()){const s=String(e.getId());if(s in this.idIndex_)if(e instanceof Qa){const r=this.idIndex_[s];r instanceof Qa?Array.isArray(r)?r.push(e):this.idIndex_[s]=[r,e]:i=!1}else i=!1;else this.idIndex_[s]=e}return i&&(An(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],s=[];for(let r=0,o=t.length;r<o;r++){const a=t[r],l=Tt(a);this.addToIndex_(l,a)&&i.push(a)}for(let r=0,o=i.length;r<o;r++){const a=i[r],l=Tt(a);this.setupChangeEvents_(l,a);const c=a.getGeometry();if(c){const u=c.getExtent();e.push(u),s.push(a)}else this.nullGeometryFeatures_[l]=a}if(this.featuresRtree_&&this.featuresRtree_.load(e,s),this.hasListener("addfeature"))for(let r=0,o=i.length;r<o;r++)this.dispatchEvent(new Nd("addfeature",i[r]))}bindFeaturesCollection_(t){let e=!1;this.addEventListener("addfeature",function(i){e||(e=!0,t.push(i.feature),e=!1)}),this.addEventListener("removefeature",function(i){e||(e=!0,t.remove(i.feature),e=!1)}),t.addEventListener("add",i=>{e||(e=!0,this.addFeature(i.element),e=!1)}),t.addEventListener("remove",i=>{e||(e=!0,this.removeFeature(i.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const i in this.featureChangeKeys_)this.featureChangeKeys_[i].forEach(si);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){this.featuresRtree_.forEach(s=>{this.removeFeatureInternal(s)});for(const s in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[s])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Nd("clear");this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){return this.forEachFeatureInExtent([t[0],t[1],t[0],t[1]],function(s){const r=s.getGeometry();if(r instanceof Qa||r.intersectsCoordinate(t))return e(s)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(i){const s=i.getGeometry();if(s instanceof Qa||s.intersectsExtent(t)){const r=e(i);if(r)return r}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),md(this.nullGeometryFeatures_)||ca(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(i){e.push(i)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const s=function $we(n,t){if(t.canWrapX()){const e=t.getExtent();if(!isFinite(n[0])||!isFinite(n[2]))return[[e[0],n[1],e[2],n[3]]];X2(n,t);const i=yn(e);if(yn(n)>i)return[[e[0],n[1],e[2],n[3]]];if(n[0]<e[0])return[[n[0]+i,n[1],e[2],n[3]],[e[0],n[1],n[2],n[3]]];if(n[2]>e[2])return[[n[0],n[1],e[2],n[3]],[e[0],n[1],n[2]-i,n[3]]]}return[n]}(t,e);return[].concat(...s.map(r=>this.featuresRtree_.getInExtent(r)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],s=t[1];let r=null;const o=[NaN,NaN];let a=1/0;const l=[-1/0,-1/0,1/0,1/0];return e=e||Ha,this.featuresRtree_.forEachInExtent(l,function(c){if(e(c)){const u=c.getGeometry(),d=a;if(a=u instanceof Qa?0:u.closestPointXY(i,s,o,a),a<d){r=c;const h=Math.sqrt(a);l[0]=i-h,l[1]=s-h,l[2]=i+h,l[3]=s+h}}}),r}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return void 0!==e?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return void 0!==e?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,i=Tt(e),s=e.getGeometry();if(s){const o=s.getExtent();i in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[i],this.featuresRtree_&&this.featuresRtree_.insert(o,e)):this.featuresRtree_&&this.featuresRtree_.update(o,e)}else i in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[i]=e);const r=e.getId();if(void 0!==r){const o=r.toString();this.idIndex_[o]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[o]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[i]=e;this.changed(),this.dispatchEvent(new Nd("changefeature",e))}hasFeature(t){const e=t.getId();return void 0!==e?e in this.idIndex_:Tt(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&md(this.nullGeometryFeatures_):!this.featuresCollection_||0===this.featuresCollection_.getLength()}loadFeatures(t,e,i){const s=this.loadedExtentsRtree_,r=this.strategy_(t,e,i);for(let o=0,a=r.length;o<a;++o){const l=r[o];s.forEachInExtent(l,function(u){return Jr(u.extent,l)})||(++this.loadingExtentsCount_,this.dispatchEvent(new Nd("featuresloadstart")),this.loader_.call(this,l,e,i,u=>{--this.loadingExtentsCount_,this.dispatchEvent(new Nd("featuresloadend",void 0,u))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Nd("featuresloaderror"))}),s.insert(l,{extent:l.slice()}))}this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let i;e.forEachInExtent(t,function(s){if(Ua(s.extent,t))return i=s,!0}),i&&e.remove(i)}removeFeature(t){if(!t)return;const e=Tt(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=Tt(t),i=this.featureChangeKeys_[e];if(!i)return;i.forEach(si),delete this.featureChangeKeys_[e];const s=t.getId();return void 0!==s&&delete this.idIndex_[s.toString()],delete this.uidIndex_[e],this.dispatchEvent(new Nd("removefeature",t)),t}removeFromIdIndex_(t){let e=!1;for(const i in this.idIndex_){const s=this.idIndex_[i];if(t instanceof Qa&&Array.isArray(s)&&s.includes(t))s.splice(s.indexOf(t),1);else if(this.idIndex_[i]===t){delete this.idIndex_[i],e=!0;break}}return e}setLoader(t){this.loader_=t}setUrl(t){An(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(rW(t,this.format_))}};new Qc({color:"rgba(0,0,0,0.2)"});const h0=class Wxe extends Iv{constructor(t,e,i){super(),i=i||{},this.tileCoord=t,this.state=e,this.interimTile=null,this.key="",this.transition_=void 0===i.transition?250:i.transition,this.transitionStarts_={},this.interpolate=!!i.interpolate}changed(){this.dispatchEvent("change")}release(){3===this.state&&this.setState(4)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){let t=this.interimTile;if(!t)return this;do{if(2==t.getState())return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){let t=this.interimTile;if(!t)return;let e=this;do{if(2==t.getState()){t.interimTile=null;break}1==t.getState()?e=t:0==t.getState()?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(3!==this.state&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){zt()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(i){if(-1===i)return 1}else i=e,this.transitionStarts_[t]=i;const s=e-i+1e3/60;return s>=this.transition_?1:Lz(s/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}},aW=class $xe extends h0{constructor(t,e,i,s,r,o){super(t,e,o),this.crossOrigin_=s,this.src_=i,this.key=i,this.image_=new Image,null!==s&&(this.image_.crossOrigin=s),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=2,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=3,this.unlistenImage_(),this.image_=function qxe(){const n=Ps(1,1);return n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1),n.canvas}(),this.changed()}handleImageLoad_(){const t=this.image_;this.state=t.naturalWidth&&t.naturalHeight?2:4,this.unlistenImage_(),this.changed()}load(){3==this.state&&(this.state=0,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),0==this.state&&(this.state=1,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=function uDe(n,t,e){const i=n;let s=!0,r=!1,o=!1;const a=[Ug(i,"load",function(){o=!0,r||t()})];return i.src&&V2?(r=!0,i.decode().then(function(){s&&t()}).catch(function(l){s&&(o?t():e())})):a.push(Ug(i,"error",e)),function(){s=!1,a.forEach(si)}}(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}},uW=class Xxe{constructor(t,e,i,s,r,o){this.sourceProj_=t,this.targetProj_=e;let a={};const l=Rl(this.targetProj_,this.sourceProj_);this.transformInv_=function(P){const j=P[0]+"/"+P[1];return a[j]||(a[j]=l(P)),a[j]},this.maxSourceExtent_=s,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&yn(s)>=yn(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?yn(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?yn(this.targetProj_.getExtent()):null;const c=Gc(i),u=aM(i),d=Fv(i),h=oM(i),p=this.transformInv_(c),_=this.transformInv_(u),v=this.transformInv_(d),x=this.transformInv_(h),k=10+(o?Math.max(0,Math.ceil(Math.log2(rM(i)/(o*o*256*256)))):0);if(this.addQuad_(c,u,d,h,p,_,v,x,k),this.wrapsXInSource_){let P=1/0;this.triangles_.forEach(function(j,z,G){P=Math.min(P,j.source[0][0],j.source[1][0],j.source[2][0])}),this.triangles_.forEach(j=>{if(Math.max(j.source[0][0],j.source[1][0],j.source[2][0])-P>this.sourceWorldWidth_/2){const z=[[j.source[0][0],j.source[0][1]],[j.source[1][0],j.source[1][1]],[j.source[2][0],j.source[2][1]]];z[0][0]-P>this.sourceWorldWidth_/2&&(z[0][0]-=this.sourceWorldWidth_),z[1][0]-P>this.sourceWorldWidth_/2&&(z[1][0]-=this.sourceWorldWidth_),z[2][0]-P>this.sourceWorldWidth_/2&&(z[2][0]-=this.sourceWorldWidth_);const G=Math.min(z[0][0],z[1][0],z[2][0]);Math.max(z[0][0],z[1][0],z[2][0])-G<this.sourceWorldWidth_/2&&(j.source=z)}})}a={}}addTriangle_(t,e,i,s,r,o){this.triangles_.push({source:[s,r,o],target:[t,e,i]})}addQuad_(t,e,i,s,r,o,a,l,c){const u=Fo([r,o,a,l]),d=this.sourceWorldWidth_?yn(u)/this.sourceWorldWidth_:null,h=this.sourceWorldWidth_,p=this.sourceProj_.canWrapX()&&d>.5&&d<1;let _=!1;if(c>0&&(this.targetProj_.isGlobal()&&this.targetWorldWidth_&&(_=yn(Fo([t,e,i,s]))/this.targetWorldWidth_>.25||_),!p&&this.sourceProj_.isGlobal()&&d&&(_=d>.25||_)),!_&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!gi(u,this.maxSourceExtent_))return;let v=0;if(!(_||isFinite(r[0])&&isFinite(r[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(l[0])&&isFinite(l[1])))if(c>0)_=!0;else if(v=(isFinite(r[0])&&isFinite(r[1])?0:8)+(isFinite(o[0])&&isFinite(o[1])?0:4)+(isFinite(a[0])&&isFinite(a[1])?0:2)+(isFinite(l[0])&&isFinite(l[1])?0:1),1!=v&&2!=v&&4!=v&&8!=v)return;if(c>0){if(!_){const k=this.transformInv_([(t[0]+i[0])/2,(t[1]+i[1])/2]);let P;P=p?($c(r[0],h)+$c(a[0],h))/2-$c(k[0],h):(r[0]+a[0])/2-k[0];const j=(r[1]+a[1])/2-k[1];_=P*P+j*j>this.errorThresholdSquared_}if(_){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const x=[(e[0]+i[0])/2,(e[1]+i[1])/2],k=this.transformInv_(x),P=[(s[0]+t[0])/2,(s[1]+t[1])/2],j=this.transformInv_(P);this.addQuad_(t,e,x,P,r,o,k,j,c-1),this.addQuad_(P,x,i,s,j,k,a,l,c-1)}else{const x=[(t[0]+e[0])/2,(t[1]+e[1])/2],k=this.transformInv_(x),P=[(i[0]+s[0])/2,(i[1]+s[1])/2],j=this.transformInv_(P);this.addQuad_(t,x,P,s,r,k,j,l,c-1),this.addQuad_(x,e,i,P,k,o,a,j,c-1)}return}}if(p){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}11&v||this.addTriangle_(t,i,s,r,a,l),14&v||this.addTriangle_(t,i,e,r,a,o),v&&(13&v||this.addTriangle_(e,s,t,o,l,r),7&v||this.addTriangle_(e,s,i,o,l,a))}calculateSourceExtent(){const t=[1/0,1/0,-1/0,-1/0];return this.triangles_.forEach(function(e,i,s){const r=e.source;Gg(t,r[0]),Gg(t,r[1]),Gg(t,r[2])}),t}getTriangles(){return this.triangles_}};let uP;const pm=[];function dW(n,t,e,i,s){n.beginPath(),n.moveTo(0,0),n.lineTo(t,e),n.lineTo(i,s),n.closePath(),n.save(),n.clip(),n.fillRect(0,0,Math.max(t,i)+1,Math.max(e,s)),n.restore()}function dP(n,t){return Math.abs(n[4*t]-210)>2||Math.abs(n[4*t+3]-191.25)>2}function f0(n,t,e,i){const s=Xa(e,t,n);let r=wM(t,i,e);const o=t.getMetersPerUnit();void 0!==o&&(r*=o);const a=n.getMetersPerUnit();void 0!==a&&(r/=a);const l=n.getExtent();if(!l||zc(l,s)){const c=wM(n,r,s)/r;isFinite(c)&&c>0&&(r/=c)}return r}const hP=class Qxe extends h0{constructor(t,e,i,s,r,o,a,l,c,u,d,h){super(r,0,h),this.renderEdges_=void 0!==d&&d,this.pixelRatio_=a,this.gutter_=l,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=s,this.wrappedTileCoord_=o||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const p=s.getTileCoordExtent(this.wrappedTileCoord_),_=this.targetTileGrid_.getExtent();let v=this.sourceTileGrid_.getExtent();const x=_?za(p,_):p;if(0===rM(x))return void(this.state=4);const k=t.getExtent();k&&(v=v?za(v,k):k);const P=s.getResolution(this.wrappedTileCoord_[0]),j=function Jxe(n,t,e,i){const s=kr(e);let r=f0(n,t,s,i);return(!isFinite(r)||r<=0)&&q2(e,function(o){return r=f0(n,t,o,i),isFinite(r)&&r>0}),r}(t,i,x,P);if(!isFinite(j)||j<=0)return void(this.state=4);if(this.triangulation_=new uW(t,i,x,v,j*(void 0!==u?u:.5),P),0===this.triangulation_.getTriangles().length)return void(this.state=4);this.sourceZ_=e.getZForResolution(j);let G=this.triangulation_.calculateSourceExtent();if(v&&(t.canWrapX()?(G[1]=rn(G[1],v[1],v[3]),G[3]=rn(G[3],v[1],v[3])):G=za(G,v)),rM(G)){const Z=e.getTileRangeForExtentAndZ(G,this.sourceZ_);for(let oe=Z.minX;oe<=Z.maxX;oe++)for(let ce=Z.minY;ce<=Z.maxY;ce++){const Se=c(this.sourceZ_,oe,ce,a);Se&&this.sourceTiles_.push(Se)}0===this.sourceTiles_.length&&(this.state=4)}else this.state=4}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach(e=>{e&&2==e.getState()&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}),this.sourceTiles_.length=0,0===t.length)this.state=3;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),s="number"==typeof i?i:i[0],r="number"==typeof i?i:i[1],o=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=function hW(n,t,e,i,s,r,o,a,l,c,u,d,h){const p=Ps(Math.round(e*n),Math.round(e*t),pm);if(d||(p.imageSmoothingEnabled=!1),0===l.length)return p.canvas;function _(P){return Math.round(P*e)/e}p.scale(e,e),p.globalCompositeOperation="lighter";const v=[1/0,1/0,-1/0,-1/0];let x;if(l.forEach(function(P,j,z){!function nz(n,t){t[0]<n[0]&&(n[0]=t[0]),t[2]>n[2]&&(n[2]=t[2]),t[1]<n[1]&&(n[1]=t[1]),t[3]>n[3]&&(n[3]=t[3])}(v,P.extent)}),!h||1!==l.length||0!==c){const P=yn(v),j=Ji(v);x=Ps(Math.round(e*P/i),Math.round(e*j/i),pm),d||(x.imageSmoothingEnabled=!1);const z=e/i;l.forEach(function(G,Z,oe){const ce=G.extent[0]-v[0],Se=-(G.extent[3]-v[3]),Re=yn(G.extent),Ye=Ji(G.extent);G.image.width>0&&G.image.height>0&&x.drawImage(G.image,c,c,G.image.width-2*c,G.image.height-2*c,ce*z,Se*z,Re*z,Ye*z)})}const k=Gc(o);return a.getTriangles().forEach(function(P,j,z){const G=P.source,Z=P.target;let oe=G[0][0],ce=G[0][1],Se=G[1][0],Re=G[1][1],Ye=G[2][0],Fe=G[2][1];const Ze=_((Z[0][0]-k[0])/r),Mt=_(-(Z[0][1]-k[1])/r),st=_((Z[1][0]-k[0])/r),De=_(-(Z[1][1]-k[1])/r),Ee=_((Z[2][0]-k[0])/r),Be=_(-(Z[2][1]-k[1])/r),nt=oe,xt=ce;oe=0,ce=0,Se-=nt,Re-=xt,Ye-=nt,Fe-=xt;const We=function Jwe(n){const t=n.length;for(let i=0;i<t;i++){let s=i,r=Math.abs(n[i][i]);for(let a=i+1;a<t;a++){const l=Math.abs(n[a][i]);l>r&&(r=l,s=a)}if(0===r)return null;const o=n[s];n[s]=n[i],n[i]=o;for(let a=i+1;a<t;a++){const l=-n[a][i]/n[i][i];for(let c=i;c<t+1;c++)i==c?n[a][c]=0:n[a][c]+=l*n[i][c]}}const e=new Array(t);for(let i=t-1;i>=0;i--){e[i]=n[i][t]/n[i][i];for(let s=i-1;s>=0;s--)n[s][t]-=n[s][i]*e[i]}return e}([[Se,Re,0,0,st-Ze],[Ye,Fe,0,0,Ee-Ze],[0,0,Se,Re,De-Mt],[0,0,Ye,Fe,Be-Mt]]);if(!We)return;if(p.save(),p.beginPath(),function Zxe(){if(void 0===uP){const n=Ps(6,6,pm);n.globalCompositeOperation="lighter",n.fillStyle="rgba(210, 0, 0, 0.75)",dW(n,4,5,4,0),dW(n,4,5,0,5);const t=n.getImageData(0,0,3,3).data;uP=dP(t,0)||dP(t,4)||dP(t,8),$v(n),pm.push(n.canvas)}return uP}()||!d){p.moveTo(st,De);const pt=4,en=Ze-st,Gi=Mt-De;for(let En=0;En<pt;En++)p.lineTo(st+_((En+1)*en/pt),De+_(En*Gi/(pt-1))),En!=pt-1&&p.lineTo(st+_((En+1)*en/pt),De+_((En+1)*Gi/(pt-1)));p.lineTo(Ee,Be)}else p.moveTo(st,De),p.lineTo(Ze,Mt),p.lineTo(Ee,Be);let Tn;if(p.clip(),p.transform(We[0],We[2],We[1],We[3],Ze,Mt),p.translate(v[0]-nt,v[3]-xt),x)Tn=x.canvas,p.scale(i/e,-i/e);else{const pt=l[0],en=pt.extent;Tn=pt.image,p.scale(yn(en)/Tn.width,-Ji(en)/Tn.height)}p.drawImage(Tn,0,0),p.restore()}),x&&($v(x),pm.push(x.canvas)),u&&(p.save(),p.globalCompositeOperation="source-over",p.strokeStyle="black",p.lineWidth=1,a.getTriangles().forEach(function(P,j,z){const G=P.target,Z=(G[0][0]-k[0])/r,oe=-(G[0][1]-k[1])/r,ce=(G[1][0]-k[0])/r,Se=-(G[1][1]-k[1])/r,Re=(G[2][0]-k[0])/r,Ye=-(G[2][1]-k[1])/r;p.beginPath(),p.moveTo(ce,Se),p.lineTo(Z,oe),p.lineTo(Re,Ye),p.closePath(),p.stroke()}),p.restore()),p.canvas}(s,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,l,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=2}this.changed()}load(){if(0==this.state){this.state=1,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(e=>{const i=e.getState();if(0==i||1==i){t++;const s=Kt(e,"change",function(r){const o=e.getState();(2==o||3==o||4==o)&&(si(s),t--,0===t&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(s)}}),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(e,i,s){0==e.getState()&&e.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(si),this.sourcesListenerKeys_=null}release(){this.canvas_&&($v(this.canvas_.getContext("2d")),pm.push(this.canvas_),this.canvas_=null),super.release()}},tSe=class eSe{constructor(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return An(void 0!==i,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return An(void 0!==e,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let i,e=0;for(i=this.newest_;i;i=i.older)t[e++]=i.key_;return t}getValues(){const t=new Array(this.count_);let i,e=0;for(i=this.newest_;i;i=i.older)t[e++]=i.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){return this.entries_[t]?.value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){An(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}};function fP(n,t,e,i){return void 0!==i?(i[0]=n,i[1]=t,i[2]=e,i):[n,t,e]}function Fd(n,t,e){return n+"/"+t+"/"+e}function fW(n){return Fd(n[0],n[1],n[2])}const pP=class sSe extends tSe{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(0===this.getCount())return;const i=function pW(n){return n.split("/").map(Number)}(this.peekFirstKey())[0];this.forEach(s=>{s.tileCoord[0]!==i&&(this.remove(fW(s.tileCoord)),s.release())})}};class mW{constructor(t,e,i,s){this.minX=t,this.maxX=e,this.minY=i,this.maxY=s}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function gm(n,t,e,i,s){return void 0!==s?(s.minX=n,s.maxX=t,s.minY=e,s.maxY=i,s):new mW(n,t,e,i)}const _W=mW,mm=[0,0,0],_m=class rSe{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,An(function xwe(n,t,e){const i=t||gd;return n.every(function(s,r){if(0===r)return!0;const o=i(n[r-1],s);return!(o>0||e&&0===o)})}(this.resolutions_,(s,r)=>r-s,!0),"`resolutions` must be sorted in descending order"),!t.origins)for(let s=0,r=this.resolutions_.length-1;s<r;++s)if(e){if(this.resolutions_[s]/this.resolutions_[s+1]!==e){e=void 0;break}}else e=this.resolutions_[s]/this.resolutions_[s+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,An(this.origins_.length==this.resolutions_.length,"Number of `origins` and `resolutions` must be equal"));const i=t.extent;void 0!==i&&!this.origin_&&!this.origins_&&(this.origin_=Gc(i)),An(!this.origin_&&this.origins_||this.origin_&&!this.origins_,"Either `origin` or `origins` must be configured, never both"),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,An(this.tileSizes_.length==this.resolutions_.length,"Number of `tileSizes` and `resolutions` must be equal")),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:tL,An(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,"Either `tileSize` or `tileSizes` must be configured, never both"),this.extent_=void 0!==i?i:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map((s,r)=>{const o=new _W(Math.min(0,s[0]),Math.max(s[0]-1,-1),Math.min(0,s[1]),Math.max(s[1]-1,-1));if(i){const a=this.getTileRangeForExtentAndZ(i,r);o.minX=Math.max(a.minX,o.minX),o.maxX=Math.min(a.maxX,o.maxX),o.minY=Math.max(a.minY,o.minY),o.maxY=Math.min(a.maxY,o.maxY)}return o}):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const s=this.getTileRangeForExtentAndZ(t,e);for(let r=s.minX,o=s.maxX;r<=o;++r)for(let a=s.minY,l=s.maxY;a<=l;++a)i([e,r,a])}forEachTileCoordParentTileRange(t,e,i,s){let r,o,a,l=null,c=t[0]-1;for(2===this.zoomFactor_?(o=t[1],a=t[2]):l=this.getTileCoordExtent(t,s);c>=this.minZoom;){if(void 0!==o&&void 0!==a?(o=Math.floor(o/2),a=Math.floor(a/2),r=gm(o,o,a,a,i)):r=this.getTileRangeForExtentAndZ(l,c,i),e(c,r))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){const r=2*t[1],o=2*t[2];return gm(r,r+1,o,o+1,e)}const s=this.getTileCoordExtent(t,i||this.tmpExtent_);return this.getTileRangeForExtentAndZ(s,t[0]+1,e)}return null}getTileRangeForTileCoordAndZ(t,e,i){if(e>this.maxZoom||e<this.minZoom)return null;const s=t[0],r=t[1],o=t[2];if(e===s)return gm(r,o,r,o,i);if(this.zoomFactor_){const l=Math.pow(this.zoomFactor_,e-s),c=Math.floor(r*l),u=Math.floor(o*l);return e<s?gm(c,c,u,u,i):gm(c,Math.floor(l*(r+1))-1,u,Math.floor(l*(o+1))-1,i)}const a=this.getTileCoordExtent(t,this.tmpExtent_);return this.getTileRangeForExtentAndZ(a,e,i)}getTileRangeForExtentAndZ(t,e,i){this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,mm);const s=mm[1],r=mm[2];return this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,mm),gm(s,mm[1],r,mm[2],i)}getTileCoordCenter(t){const e=this.getOrigin(t[0]),i=this.getResolution(t[0]),s=Lr(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*s[0]*i,e[1]-(t[2]+.5)*s[1]*i]}getTileCoordExtent(t,e){const i=this.getOrigin(t[0]),s=this.getResolution(t[0]),r=Lr(this.getTileSize(t[0]),this.tmpSize_),o=i[0]+t[1]*r[0]*s,a=i[1]-(t[2]+1)*r[1]*s;return Il(o,a,o+r[0]*s,a+r[1]*s,e)}getTileCoordForCoordAndResolution(t,e,i){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,i)}getTileCoordForXYAndResolution_(t,e,i,s,r){const o=this.getZForResolution(i),a=i/this.getResolution(o),l=this.getOrigin(o),c=Lr(this.getTileSize(o),this.tmpSize_);let u=a*(t-l[0])/i/c[0],d=a*(l[1]-e)/i/c[1];return s?(u=bd(u,5)-1,d=bd(d,5)-1):(u=qg(u,5),d=qg(d,5)),fP(o,u,d,r)}getTileCoordForXYAndZ_(t,e,i,s,r){const o=this.getOrigin(i),a=this.getResolution(i),l=Lr(this.getTileSize(i),this.tmpSize_);let c=(t-o[0])/a/l[0],u=(o[1]-e)/a/l[1];return s?(c=bd(c,5)-1,u=bd(u,5)-1):(c=qg(c,5),u=qg(u,5)),fP(i,c,u,r)}getTileCoordForCoordAndZ(t,e,i){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,i)}getTileCoordResolution(t){return this.resolutions_[t[0]]}getTileSize(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]}getFullTileRange(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null}getZForResolution(t,e){return rn(tM(this.resolutions_,t,e||0),this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(t,e){return Vz(e,0,e.length,2,this.getTileCoordExtent(t))}calculateTileRanges_(t){const e=this.resolutions_.length,i=new Array(e);for(let s=this.minZoom;s<e;++s)i[s]=this.getTileRangeForExtentAndZ(t,s);this.fullTileRanges_=i}};function yW(n){let t=n.getDefaultTileGrid();return t||(t=function lSe(n,t,e,i){return function aSe(n,t,e,i){i=void 0!==i?i:"top-left";const s=vW(n,t,e);return new _m({extent:n,origin:Uwe(n,i),resolutions:s,tileSize:e})}(Tf(n),t,e,i)}(n),n.setDefaultTileGrid(t)),t}function Sf(n){const t=n||{},e=t.extent||Qt("EPSG:3857").getExtent(),i={extent:e,minZoom:t.minZoom,tileSize:t.tileSize,resolutions:vW(e,t.maxZoom,t.tileSize,t.maxResolution)};return new _m(i)}function vW(n,t,e,i){t=void 0!==t?t:gz,e=Lr(void 0!==e?e:tL);const s=Ji(n),r=yn(n);i=i>0?i:Math.max(r/e[0],s/e[1]);const o=t+1,a=new Array(o);for(let l=0;l<o;++l)a[l]=i/Math.pow(2,l);return a}function Tf(n){let t=(n=Qt(n)).getExtent();if(!t){const e=180*Kg.degrees/n.getMetersPerUnit();t=Il(-e,-e,e,e)}return t}class uSe extends cr{constructor(t,e){super(t),this.tile=e}}const mP=class cSe extends d0{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.opaque_=void 0!==t.opaque&&t.opaque,this.tilePixelRatio_=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null,this.tileGrid&&Lr(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),[256,256]),this.tileCache=new pP(t.cacheSize||0),this.tmpSize=[0,0],this.key_=t.key||"",this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}canExpireCache(){return this.tileCache.canExpireCache()}expireCache(t,e){const i=this.getTileCacheForProjection(t);i&&i.expireCache(e)}forEachLoadedTile(t,e,i,s){const r=this.getTileCacheForProjection(t);if(!r)return!1;let a,l,c,o=!0;for(let u=i.minX;u<=i.maxX;++u)for(let d=i.minY;d<=i.maxY;++d)l=Fd(e,u,d),c=!1,r.containsKey(l)&&(a=r.get(l),c=2===a.getState(),c&&(c=!1!==s(a))),c||(o=!1);return o}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getOpaque(t){return this.opaque_}getResolutions(t){const e=t?this.getTileGridForProjection(t):this.tileGrid;return e?e.getResolutions():null}getTile(t,e,i,s,r){return zt()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:yW(t)}getTileCacheForProjection(t){const e=this.getProjection();return An(null===e||Al(e,t),"A VectorTile source can only be rendered if it has a projection compatible with the view projection."),this.tileCache}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const s=this.getTileGridForProjection(i),r=this.getTilePixelRatio(e),o=Lr(s.getTileSize(t),this.tmpSize);return 1==r?o:function tDe(n,t,e){return void 0===e&&(e=[0,0]),e[0]=n[0]*t+.5|0,e[1]=n[1]*t+.5|0,e}(o,r,this.tmpSize)}getTileCoordForTileUrlFunction(t,e){e=void 0!==e?e:this.getProjection();const i=this.getTileGridForProjection(e);return this.getWrapX()&&e.isGlobal()&&(t=function oSe(n,t,e){const i=t[0],s=n.getTileCoordCenter(t),r=Tf(e);if(!zc(r,s)){const o=yn(r),a=Math.ceil((r[0]-s[0])/o);return s[0]+=o*a,n.getTileCoordForCoordAndZ(s,i)}return t}(i,t,e)),function iSe(n,t){const e=n[0],i=n[1],s=n[2];if(t.getMinZoom()>e||e>t.getMaxZoom())return!1;const r=t.getFullTileRange(e);return!r||r.containsXY(i,s)}(t,i)?t:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(t,e){const i=this.getTileCacheForProjection(e);t>i.highWaterMark&&(i.highWaterMark=t)}useTile(t,e,i,s){}};function dSe(n,t){const e=/\{z\}/g,i=/\{x\}/g,s=/\{y\}/g,r=/\{-y\}/g;return function(o,a,l){if(o)return n.replace(e,o[0].toString()).replace(i,o[1].toString()).replace(s,o[2].toString()).replace(r,function(){const u=t.getFullTileRange(o[0]);if(!u)throw new Error("The {-y} placeholder requires a tile grid with extent");return(u.getHeight()-o[2]-1).toString()})}}function _P(n,t){const e=n.length,i=new Array(e);for(let s=0;s<e;++s)i[s]=dSe(n[s],t);return function QM(n){return 1===n.length?n[0]:function(t,e,i){if(!t)return;const r=$c(function gW(n){return(n[1]<<n[0])+n[2]}(t),n.length);return n[r](t,e,i)}}(i)}class yP extends mP{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===yP.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,i=Tt(e),s=e.getState();let r;1==s?(this.tileLoadingKeys_[i]=!0,r="tileloadstart"):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],r=3==s?"tileloaderror":2==s?"tileloadend":void 0),null!=r&&this.dispatchEvent(new uSe(r,e))}setTileLoadFunction(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),typeof e<"u"?this.setKey(e):this.changed()}setUrl(t){const e=function bW(n){const t=[];let e=/\{([a-z])-([a-z])\}/.exec(n);if(e){const i=e[1].charCodeAt(0),s=e[2].charCodeAt(0);let r;for(r=i;r<=s;++r)t.push(n.replace(e[0],String.fromCharCode(r)));return t}if(e=/\{(\d+)-(\d+)\}/.exec(n),e){const i=parseInt(e[2],10);for(let s=parseInt(e[1],10);s<=i;s++)t.push(n.replace(e[0],s.toString()));return t}return t.push(n),t}(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(_P(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}useTile(t,e,i){const s=Fd(t,e,i);this.tileCache.containsKey(s)&&this.tileCache.get(s)}}const wW=yP;function pSe(n,t){n.getImage().src=t}const p0=class fSe extends wW{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:pSe,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:void 0===t.interpolate||t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=void 0!==t.tileClass?t.tileClass:aW,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}canExpireCache(){if(this.tileCache.canExpireCache())return!0;for(const t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1}expireCache(t,e){const i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?e:{});for(const s in this.tileCacheForProjection){const r=this.tileCacheForProjection[s];r.expireCache(r==i?e:{})}}getGutterForProjection(t){return this.getProjection()&&t&&!Al(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getOpaque(t){return!(this.getProjection()&&t&&!Al(this.getProjection(),t))&&super.getOpaque(t)}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||Al(e,t)))return this.tileGrid;const i=Tt(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=yW(t)),this.tileGridForProjection[i]}getTileCacheForProjection(t){const e=this.getProjection();if(!e||Al(e,t))return this.tileCache;const i=Tt(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new pP(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]}createTile_(t,e,i,s,r,o){const a=[t,e,i],l=this.getTileCoordForTileUrlFunction(a,r),c=l?this.tileUrlFunction(l,s,r):void 0,u=new this.tileClass(a,void 0!==c?0:4,void 0!==c?c:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return u.key=o,u.addEventListener("change",this.handleTileChange.bind(this)),u}getTile(t,e,i,s,r){const o=this.getProjection();if(!o||!r||Al(o,r))return this.getTileInternal(t,e,i,s,o||r);const a=this.getTileCacheForProjection(r),l=[t,e,i];let c;const u=fW(l);a.containsKey(u)&&(c=a.get(u));const d=this.getKey();if(c&&c.key==d)return c;const h=this.getTileGridForProjection(o),p=this.getTileGridForProjection(r),_=this.getTileCoordForTileUrlFunction(l,r),v=new hP(o,h,r,p,l,_,this.getTilePixelRatio(s),this.getGutter(),(x,k,P,j)=>this.getTileInternal(x,k,P,j,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return v.key=d,c?(v.interimTile=c,v.refreshInterimChain(),a.replace(u,v)):a.set(u,v),v}getTileInternal(t,e,i,s,r){let o=null;const a=Fd(t,e,i),l=this.getKey();if(this.tileCache.containsKey(a)){if(o=this.tileCache.get(a),o.key!=l){const c=o;o=this.createTile_(t,e,i,s,r,l),o.interimTile=0==c.getState()?c.interimTile:c,o.refreshInterimChain(),this.tileCache.replace(a,o)}}else o=this.createTile_(t,e,i,s,r,l),this.tileCache.set(a,o);return o}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}}setTileGridForProjection(t,e){const i=Qt(t);if(i){const s=Tt(i);s in this.tileGridForProjection||(this.tileGridForProjection[s]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}},CW=class gSe extends p0{constructor(t){const e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",i=void 0!==t.tileGrid?t.tileGrid:Sf({extent:Tf(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0}getGutter(){return this.gutter_}},ySe=class _Se extends CW{constructor(t){let e;e=void 0!==(t=t||{}).attributions?t.attributions:['&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.'],super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:void 0!==t.crossOrigin?t.crossOrigin:"anonymous",interpolate:t.interpolate,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,opaque:void 0===t.opaque||t.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:void 0!==t.url?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:t.wrapX,zDirection:t.zDirection})}};Error,Error;const oTe=class rTe extends Wv{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getPreload(){return this.get("preload")}setPreload(t){this.set("preload",t)}getUseInterimTilesOnError(){return this.get("useInterimTilesOnError")}setUseInterimTilesOnError(t){this.set("useInterimTilesOnError",t)}getData(t){return super.getData(t)}},kW=class aTe extends nP{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedProjection=null,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=[1/0,1/0,-1/0,-1/0],this.tmpTileRange_=new _W(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),s=e.getUseInterimTilesOnError();return 2==i||4==i||3==i&&!s}getTile(t,e,i,s){const r=s.pixelRatio,o=s.viewState.projection,a=this.getLayer();let c=a.getSource().getTile(t,e,i,r,o);return 3==c.getState()&&a.getUseInterimTilesOnError()&&a.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(c)||(c=c.getInterimTile()),c}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),s=Cs(e.pixelToCoordinateTransform,t.slice()),r=i.getExtent();if(r&&!zc(r,s))return null;const o=e.pixelRatio,a=e.viewState.projection,l=e.viewState,c=i.getRenderSource(),u=c.getTileGridForProjection(l.projection),d=c.getTilePixelRatio(e.pixelRatio);for(let h=u.getZForResolution(l.resolution);h>=u.getMinZoom();--h){const p=u.getTileCoordForCoordAndZ(s,h),_=c.getTile(h,p[1],p[2],o,a);if(!(_ instanceof aW||_ instanceof hP)||_ instanceof hP&&4===_.getState())return null;if(2!==_.getState())continue;const v=u.getOrigin(h),x=Lr(u.getTileSize(h)),k=u.getResolution(h),P=Math.floor(d*((s[0]-v[0])/k-p[1]*x[0])),j=Math.floor(d*((v[1]-s[1])/k-p[2]*x[1])),z=Math.round(d*c.getGutterForProjection(l.projection));return this.getImageData(_.getImage(),P+z,j+z)}return null}loadedTileCallback(t,e,i){return!!this.isDrawableTile(i)&&super.loadedTileCallback(t,e,i)}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],s=t.viewState,r=s.projection,o=s.resolution,a=s.center,l=s.rotation,c=t.pixelRatio,u=this.getLayer(),d=u.getSource(),h=d.getRevision(),p=d.getTileGridForProjection(r),_=p.getZForResolution(o,d.zDirection),v=p.getResolution(_);let x=t.extent;const k=t.viewState.resolution,P=d.getTilePixelRatio(c),j=Math.round(yn(x)/k*c),z=Math.round(Ji(x)/k*c),G=i.extent&&Nl(i.extent);G&&(x=za(x,Nl(i.extent)));const Z=v*j/2/P,oe=v*z/2/P,ce=[a[0]-Z,a[1]-oe,a[0]+Z,a[1]+oe],Se=p.getTileRangeForExtentAndZ(x,_),Re={};Re[_]={};const Ye=this.createLoadedTileFinder(d,r,Re),Fe=this.tmpExtent,Ze=this.tmpTileRange_;this.newTiles_=!1;const Mt=l?K2(s.center,k,l,t.size):void 0;for(let Tn=Se.minX;Tn<=Se.maxX;++Tn)for(let pt=Se.minY;pt<=Se.maxY;++pt){if(l&&!p.tileCoordIntersectsViewport([_,Tn,pt],Mt))continue;const en=this.getTile(_,Tn,pt,t);if(this.isDrawableTile(en)){const Vi=Tt(this);if(2==en.getState()){Re[_][en.tileCoord.toString()]=en;let Ai=en.inTransition(Vi);Ai&&1!==i.opacity&&(en.endTransition(Vi),Ai=!1),!this.newTiles_&&(Ai||!this.renderedTiles.includes(en))&&(this.newTiles_=!0)}if(1===en.getAlpha(Vi,t.time))continue}const Gi=p.getTileCoordChildTileRange(en.tileCoord,Ze,Fe);let En=!1;Gi&&(En=Ye(_+1,Gi)),En||p.forEachTileCoordParentTileRange(en.tileCoord,Ye,Ze,Fe)}const st=v/o*c/P;ua(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/c,1/c,l,-j/2,-z/2);const De=sM(this.pixelTransform);this.useContainer(e,De,this.getBackground(t));const Ee=this.context,Be=Ee.canvas;Nv(this.inversePixelTransform,this.pixelTransform),ua(this.tempTransform,j/2,z/2,st,st,0,-j/2,-z/2),Be.width!=j||Be.height!=z?(Be.width=j,Be.height=z):this.containerReused||Ee.clearRect(0,0,j,z),G&&this.clipUnrotated(Ee,t,G),d.getInterpolate()||(Ee.imageSmoothingEnabled=!1),this.preRender(Ee,t),this.renderedTiles.length=0;let xt,Pn,We,nt=Object.keys(Re).map(Number);nt.sort(gd),1!==i.opacity||this.containerReused&&!d.getOpaque(t.viewState.projection)?(xt=[],Pn=[]):nt=nt.reverse();for(let Tn=nt.length-1;Tn>=0;--Tn){const pt=nt[Tn],en=d.getTilePixelSize(pt,c,r),En=p.getResolution(pt)/v,Vi=en[0]*En*st,Ai=en[1]*En*st,Uo=p.getTileCoordForCoordAndZ(Gc(ce),pt),_a=p.getTileCoordExtent(Uo),Vd=Cs(this.tempTransform,[P*(_a[0]-ce[0])/v,P*(ce[3]-_a[3])/v]),jf=P*d.getGutterForProjection(r),ec=Re[pt];for(const Bf in ec){const ol=ec[Bf],Hf=ol.tileCoord,Bm=Uo[1]-Hf[1],Hm=Math.round(Vd[0]-(Bm-1)*Vi),ro=Uo[2]-Hf[2],Ud=Math.round(Vd[1]-(ro-1)*Ai),Ks=Math.round(Vd[0]-Bm*Vi),Ir=Math.round(Vd[1]-ro*Ai),Ar=Hm-Ks,ya=Ud-Ir,lu=_===pt,tc=lu&&1!==ol.getAlpha(Tt(this),t.time);let al=!1;if(!tc)if(xt){We=[Ks,Ir,Ks+Ar,Ir,Ks+Ar,Ir+ya,Ks,Ir+ya];for(let Vm=0,WD=xt.length;Vm<WD;++Vm)if(_!==pt&&pt<Pn[Vm]){const Rr=xt[Vm];gi([Ks,Ir,Ks+Ar,Ir+ya],[Rr[0],Rr[3],Rr[4],Rr[7]])&&(al||(Ee.save(),al=!0),Ee.beginPath(),Ee.moveTo(We[0],We[1]),Ee.lineTo(We[2],We[3]),Ee.lineTo(We[4],We[5]),Ee.lineTo(We[6],We[7]),Ee.moveTo(Rr[6],Rr[7]),Ee.lineTo(Rr[4],Rr[5]),Ee.lineTo(Rr[2],Rr[3]),Ee.lineTo(Rr[0],Rr[1]),Ee.clip())}xt.push(We),Pn.push(pt)}else Ee.clearRect(Ks,Ir,Ar,ya);this.drawTileImage(ol,t,Ks,Ir,Ar,ya,jf,lu),xt&&!tc?(al&&Ee.restore(),this.renderedTiles.unshift(ol)):this.renderedTiles.push(ol),this.updateUsedTiles(t.usedTiles,d,ol)}}return this.renderedRevision=h,this.renderedResolution=v,this.extentChanged=!this.renderedExtent_||!Ua(this.renderedExtent_,ce),this.renderedExtent_=ce,this.renderedPixelRatio=c,this.renderedProjection=r,this.manageTilePyramid(t,d,p,c,r,x,_,u.getPreload()),this.scheduleExpireCache(t,d),this.postRender(Ee,t),i.extent&&Ee.restore(),Ee.imageSmoothingEnabled=!0,De!==Be.style.transform&&(Be.style.transform=De),this.container}drawTileImage(t,e,i,s,r,o,a,l){const c=this.getTileImage(t);if(!c)return;const u=Tt(this),d=e.layerStatesArray[e.layerIndex],h=d.opacity*(l?t.getAlpha(u,e.time):1),p=h!==this.context.globalAlpha;p&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(c,a,a,c.width-2*a,c.height-2*a,i,s,r,o),p&&this.context.restore(),h!==d.opacity?e.animate=!0:l&&t.endTransition(u)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}scheduleExpireCache(t,e){if(e.canExpireCache()){const i=function(s,r,o){const a=Tt(s);a in o.usedTiles&&s.expireCache(o.viewState.projection,o.usedTiles[a])}.bind(null,e);t.postRenderFunctions.push(i)}}updateUsedTiles(t,e,i){const s=Tt(e);s in t||(t[s]={}),t[s][i.getKey()]=!0}manageTilePyramid(t,e,i,s,r,o,a,l,c){const u=Tt(e);u in t.wantedTiles||(t.wantedTiles[u]={});const d=t.wantedTiles[u],h=t.tileQueue,p=i.getMinZoom(),_=t.viewState.rotation,v=_?K2(t.viewState.center,t.viewState.resolution,_,t.size):void 0;let k,P,j,z,G,Z,x=0;for(Z=p;Z<=a;++Z)for(P=i.getTileRangeForExtentAndZ(o,Z,P),j=i.getResolution(Z),z=P.minX;z<=P.maxX;++z)for(G=P.minY;G<=P.maxY;++G)_&&!i.tileCoordIntersectsViewport([Z,z,G],v)||(a-Z<=l?(++x,k=e.getTile(Z,z,G,s,r),0==k.getState()&&(d[k.getKey()]=!0,h.isKeyQueued(k.getKey())||h.enqueue([k,u,i.getTileCoordCenter(k.tileCoord),j])),void 0!==c&&c(k)):e.useTile(Z,z,G,r));e.updateCacheSize(x,r)}},OW=class lTe extends oTe{constructor(t){super(t)}createRenderer(){return new kW(this)}};let LW=!0;try{new ImageData(10,10)}catch{LW=!1}V(93803);class aD extends Cd{constructor(t,e,i){super(),void 0!==i&&void 0===e?this.setFlatCoordinates(i,t):this.setCenterAndRadius(t,e=e||0,i)}clone(){const t=new aD(this.flatCoordinates.slice(),void 0,this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,s){const r=this.flatCoordinates,o=t-r[0],a=e-r[1],l=o*o+a*a;if(l<s){if(0===l)for(let c=0;c<this.stride;++c)i[c]=r[c];else{const c=this.getRadius()/Math.sqrt(l);i[0]=r[0]+c*o,i[1]=r[1]+c*a;for(let u=2;u<this.stride;++u)i[u]=r[u]}return i.length=this.stride,l}return s}containsXY(t,e){const i=this.flatCoordinates,s=t-i[0],r=e-i[1];return s*s+r*r<=this.getRadiusSquared_()}getCenter(){return this.flatCoordinates.slice(0,this.stride)}computeExtent(t){const e=this.flatCoordinates,i=e[this.stride]-e[0];return Il(e[0]-i,e[1]-i,e[0]+i,e[1]+i,t)}getRadius(){return Math.sqrt(this.getRadiusSquared_())}getRadiusSquared_(){const t=this.flatCoordinates[this.stride]-this.flatCoordinates[0],e=this.flatCoordinates[this.stride+1]-this.flatCoordinates[1];return t*t+e*e}getType(){return"Circle"}intersectsExtent(t){if(gi(t,this.getExtent())){const i=this.getCenter();return t[0]<=i[0]&&t[2]>=i[0]||t[1]<=i[1]&&t[3]>=i[1]||q2(t,this.intersectsCoordinate.bind(this))}return!1}setCenter(t){const e=this.stride,i=this.flatCoordinates[e]-this.flatCoordinates[0],s=t.slice();s[e]=s[0]+i;for(let r=1;r<e;++r)s[e+r]=t[r];this.setFlatCoordinates(this.layout,s),this.changed()}setCenterAndRadius(t,e,i){this.setLayout(i,t,0),this.flatCoordinates||(this.flatCoordinates=[]);const s=this.flatCoordinates;let r=Rz(s,0,t);s[r++]=s[0]+e;for(let o=1,a=this.stride;o<a;++o)s[r++]=s[o];s.length=r,this.changed()}getCoordinates(){return null}setCoordinates(t,e){}setRadius(t){this.flatCoordinates[this.stride]=this.flatCoordinates[0]+t,this.changed()}rotate(t,e){const i=this.getCenter(),s=this.getStride();this.setCenter(gL(i,0,i.length,s,t,e,i)),this.changed()}}const HW=aD,VW=class lEe extends Va{constructor(t){super(),this.options=t,this.id=t.id,this.insertFirst=void 0===t.insertFirst||t.insertFirst,this.stopEvent=void 0===t.stopEvent||t.stopEvent,this.element=document.createElement("div"),this.element.className=void 0!==t.className?t.className:"ol-overlay-container ol-selectable",this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=!0===t.autoPan?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener("element",this.handleElementChanged),this.addChangeListener("map",this.handleMapChanged),this.addChangeListener("offset",this.handleOffsetChanged),this.addChangeListener("position",this.handlePositionChanged),this.addChangeListener("positioning",this.handlePositioningChanged),void 0!==t.element&&this.setElement(t.element),this.setOffset(void 0!==t.offset?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),void 0!==t.position&&this.setPosition(t.position)}getElement(){return this.get("element")}getId(){return this.id}getMap(){return this.get("map")||null}getOffset(){return this.get("offset")}getPosition(){return this.get("position")}getPositioning(){return this.get("positioning")}handleElementChanged(){Zz(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(PM(this.element),si(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=Kt(t,"postrender",this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set("element",t)}setMap(t){this.set("map",t)}setOffset(t){this.set("offset",t)}setPosition(t){this.set("position",t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get("position"))return;const i=this.getRect(e.getTargetElement(),e.getSize()),s=this.getElement(),r=this.getRect(s,[cMe(s),uMe(s)]),o=void 0===(t=t||{}).margin?20:t.margin;if(!Jr(i,r)){const a=r[0]-i[0],l=i[2]-r[2],c=r[1]-i[1],u=i[3]-r[3],d=[0,0];if(a<0?d[0]=a-o:l<0&&(d[0]=Math.abs(l)+o),c<0?d[1]=c-o:u<0&&(d[1]=Math.abs(u)+o),0!==d[0]||0!==d[1]){const h=e.getView().getCenterInternal(),p=e.getPixelFromCoordinateInternal(h);if(!p)return;const _=[p[0]+d[0],p[1]+d[1]],v=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(_),duration:v.duration,easing:v.easing})}}}getRect(t,e){const i=t.getBoundingClientRect(),s=i.left+window.pageXOffset,r=i.top+window.pageYOffset;return[s,r,s+e[0],r+e[1]]}setPositioning(t){this.set("positioning",t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e)return void this.setVisible(!1);const i=t.getPixelFromCoordinate(e),s=t.getSize();this.updateRenderedPosition(i,s)}updateRenderedPosition(t,e){const i=this.element.style,s=this.getOffset(),r=this.getPositioning();this.setVisible(!0);let l="0%",c="0%";"bottom-right"==r||"center-right"==r||"top-right"==r?l="-100%":("bottom-center"==r||"center-center"==r||"top-center"==r)&&(l="-50%"),"bottom-left"==r||"bottom-center"==r||"bottom-right"==r?c="-100%":("center-left"==r||"center-center"==r||"center-right"==r)&&(c="-50%");const u=`translate(${l}, ${c}) translate(${Math.round(t[0]+s[0])+"px"}, ${Math.round(t[1]+s[1])+"px"})`;this.rendered.transform_!=u&&(this.rendered.transform_=u,i.transform=u)}getOptions(){return this.options}},an=["*"];let Xt=(()=>{class n{constructor(e){this.host=e,this.width="100%",this.height="100%",this.olChange=new Ne,this.olChangeLayerGroup=new Ne,this.olChangeSize=new Ne,this.olChangeTarget=new Ne,this.olChangeView=new Ne,this.olClick=new Ne,this.dblClick=new Ne,this.olError=new Ne,this.loadEnd=new Ne,this.loadStart=new Ne,this.moveEnd=new Ne,this.moveStart=new Ne,this.pointerDrag=new Ne,this.pointerMove=new Ne,this.olPostCompose=new Ne,this.olPostRender=new Ne,this.olPreCompose=new Ne,this.olPropertyChange=new Ne,this.postRender=new Ne,this.propertyChange=new Ne,this.singleClick=new Ne,this.componentType="map",this.controls=[],this.interactions=[]}ngOnInit(){this.instance=new CG(this),this.instance.setTarget(this.host.nativeElement.firstElementChild),this.instance.on("change",e=>this.olChange.emit(e)),this.instance.on("change:layergroup",e=>this.olChangeLayerGroup.emit(e)),this.instance.on("change:size",e=>this.olChangeSize.emit(e)),this.instance.on("change:target",e=>this.olChangeTarget.emit(e)),this.instance.on("change:view",e=>this.olChangeView.emit(e)),this.instance.on("click",e=>this.olClick.emit(e)),this.instance.on("dblclick",e=>this.dblClick.emit(e)),this.instance.on("error",e=>this.olError.emit(e)),this.instance.on("loadend",e=>this.loadEnd.emit(e)),this.instance.on("loadstart",e=>this.loadStart.emit(e)),this.instance.on("moveend",e=>this.moveEnd.emit(e)),this.instance.on("movestart",e=>this.moveStart.emit(e)),this.instance.on("pointerdrag",e=>this.pointerDrag.emit(e)),this.instance.on("pointermove",e=>this.pointerMove.emit(e)),this.instance.on("postcompose",e=>this.olPostCompose.emit(e)),this.instance.on("postrender",e=>this.olPostRender.emit(e)),this.instance.on("postrender",e=>this.postRender.emit(e)),this.instance.on("precompose",e=>this.olPreCompose.emit(e)),this.instance.on("propertychange",e=>this.olPropertyChange.emit(e)),this.instance.on("singleclick",e=>this.singleClick.emit(e))}ngOnChanges(e){const i={};if(this.instance){for(const s in e)e.hasOwnProperty(s)&&(i[s]=e[s].currentValue);this.instance.setProperties(i,!1)}}ngAfterViewInit(){this.instance.updateSize()}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-map"]],inputs:{width:"width",height:"height",pixelRatio:"pixelRatio",keyboardEventTarget:"keyboardEventTarget",loadTilesWhileAnimating:"loadTilesWhileAnimating",loadTilesWhileInteracting:"loadTilesWhileInteracting",logo:"logo",renderer:"renderer"},outputs:{olChange:"olChange",olChangeLayerGroup:"olChangeLayerGroup",olChangeSize:"olChangeSize",olChangeTarget:"olChangeTarget",olChangeView:"olChangeView",olClick:"olClick",dblClick:"dblClick",olError:"olError",loadEnd:"loadEnd",loadStart:"loadStart",moveEnd:"moveEnd",moveStart:"moveStart",pointerDrag:"pointerDrag",pointerMove:"pointerMove",olPostCompose:"olPostCompose",olPostRender:"olPostRender",olPreCompose:"olPreCompose",olPropertyChange:"olPropertyChange",postRender:"postRender",propertyChange:"propertyChange",singleClick:"singleClick"},features:[Ut],ngContentSelectors:an,decls:2,vars:4,template:function(i,s){1&i&&(Wt(),ee(0,"div"),$t(1)),2&i&&$p("width",s.width)("height",s.height)},encapsulation:2})}return n})(),Cm=(()=>{class n{constructor(e){this.host=e,this.componentType="layer"}ngOnInit(){null!=this.prerender&&this.instance.on("prerender",this.prerender),null!=this.postrender&&this.instance.on("postrender",this.postrender),this.host.instance.getLayers().push(this.instance)}ngOnDestroy(){this.host.instance.getLayers().remove(this.instance)}ngOnChanges(e){const i={};if(this.instance){for(const s in e)e.hasOwnProperty(s)&&(i[s]=e[s].currentValue,"prerender"===s&&(this.instance.un("prerender",e[s].previousValue),this.instance.on("prerender",e[s].currentValue)),"postrender"===s&&(this.instance.un("postrender",e[s].previousValue),this.instance.on("postrender",e[s].currentValue)));this.instance.setProperties(i,!1)}}static#e=this.\u0275fac=function(i){$S()};static#t=this.\u0275dir=rt({type:n,inputs:{opacity:"opacity",visible:"visible",extent:"extent",zIndex:"zIndex",minResolution:"minResolution",maxResolution:"maxResolution",prerender:"prerender",postrender:"postrender"},features:[Ut]})}return n})(),ei=(()=>{class n{constructor(e){this.host=e,this.componentType="source"}ngOnDestroy(){this.host&&this.host.instance&&this.host.instance.setSource(null)}register(e){this.host&&this.host.instance.setSource(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Cm))};static#t=this.\u0275dir=rt({type:n,inputs:{attributions:"attributions"}})}return n})(),M0=(()=>{class n extends Cm{constructor(e,i){super(i||e)}ngOnInit(){this.instance=new Jv(this),super.ngOnInit()}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(n,12))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-layer-group"]],features:[Ue],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),Mm=(()=>{class n extends Cm{constructor(e,i){super(i||e)}ngOnInit(){this.instance=new u0(this),super.ngOnInit()}ngOnChanges(e){super.ngOnChanges(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(M0,8))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-layer-vector"]],inputs:{renderBuffer:"renderBuffer",style:"style",updateWhileAnimating:"updateWhileAnimating",updateWhileInteracting:"updateWhileInteracting"},features:[Ue,Ut],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),gD=(()=>{class n extends ei{constructor(e){super(e)}ngOnInit(){this.instance=new fm(this),this.host.instance.setSource(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Mm,1))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-source-vector"]],inputs:{overlaps:"overlaps",useSpatialIndex:"useSpatialIndex",wrapX:"wrapX",url:"url",format:"format",strategy:"strategy"},features:[kt([{provide:ei,useExisting:Yt(()=>n)}]),Ue],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),el=(()=>{class n{constructor(e){this.host=e,this.componentType="feature"}ngOnInit(){this.instance=new Pr,void 0!==this.id&&this.instance.setId(this.id),this.host.instance.addFeature(this.instance)}ngOnDestroy(){this.host.instance.removeFeature(this.instance)}ngOnChanges(e){this.instance&&this.instance.setId(this.id)}static#e=this.\u0275fac=function(i){return new(i||n)(W(gD))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-feature"]],inputs:{id:"id"},features:[Ut],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),kf=(()=>{class n{constructor(e,i){this.map=e,this.host=i,this.componentType="simple-geometry"}ngOnInit(){this.host.instance.setGeometry(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(el))};static#t=this.\u0275dir=rt({type:n,inputs:{srid:"srid"}})}return n})(),YP=(()=>{class n{constructor(e){this.host=e,this.zoomAnimation=!1,this.olChange=new Ne,this.changeCenter=new Ne,this.changeResolution=new Ne,this.changeRotation=new Ne,this.olError=new Ne,this.propertyChange=new Ne,this.componentType="view"}ngOnInit(){this.instance=new fa(this),this.host.instance.setView(this.instance),this.instance.on("change",e=>this.olChange.emit(e)),this.instance.on("change:center",e=>this.changeCenter.emit(e)),this.instance.on("change:resolution",e=>this.changeResolution.emit(e)),this.instance.on("change:rotation",e=>this.changeRotation.emit(e)),this.instance.on("error",e=>this.olError.emit(e)),this.instance.on("propertychange",e=>this.propertyChange.emit(e))}ngOnChanges(e){const i={};if(this.instance){for(const s in e)if(e.hasOwnProperty(s)){switch(s){case"zoom":this.zoomAnimation?this.instance.animate({zoom:e[s].currentValue}):this.instance.setZoom(e[s].currentValue);break;case"projection":this.instance=new fa(this),this.host.instance.setView(this.instance);break;case"center":this.instance.setCenter(e[s].currentValue)}i[s]=e[s].currentValue}this.instance.setProperties(i,!1)}}ngOnDestroy(){}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-view"]],inputs:{constrainRotation:"constrainRotation",enableRotation:"enableRotation",extent:"extent",maxResolution:"maxResolution",minResolution:"minResolution",maxZoom:"maxZoom",minZoom:"minZoom",resolution:"resolution",resolutions:"resolutions",rotation:"rotation",zoom:"zoom",zoomFactor:"zoomFactor",center:"center",projection:"projection",constrainOnlyCenter:"constrainOnlyCenter",smoothExtentConstraint:"smoothExtentConstraint",constrainResolution:"constrainResolution",smoothResolutionConstraint:"smoothResolutionConstraint",showFullExtent:"showFullExtent",multiWorld:"multiWorld",zoomAnimation:"zoomAnimation"},outputs:{olChange:"olChange",changeCenter:"changeCenter",changeResolution:"changeResolution",changeRotation:"changeRotation",olError:"olError",propertyChange:"propertyChange"},features:[Ut],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),iu=(()=>{class n extends Cm{constructor(e,i){super(i||e)}ngOnInit(){this.instance=new OW(this),super.ngOnInit()}ngOnChanges(e){super.ngOnChanges(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(M0,8))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-layer-tile"]],inputs:{preload:"preload",useInterimTilesOnError:"useInterimTilesOnError"},features:[Ue,Ut],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),mD=(()=>{class n{ngOnInit(){this.instance=this.resolutions?new _m(this):Sf(this)}ngOnChanges(e){this.instance=this.resolutions?new _m(this):Sf(this)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-tilegrid"]],inputs:{extent:"extent",maxZoom:"maxZoom",minZoom:"minZoom",tileSize:"tileSize",origin:"origin",resolutions:"resolutions"},features:[Ut],decls:0,vars:0,template:function(i,s){},encapsulation:2})}return n})(),i$=(()=>{class n extends ei{constructor(e){super(e),this.layer=e,this.tileLoadStart=new Ne,this.tileLoadEnd=new Ne,this.tileLoadError=new Ne}ngAfterContentInit(){this.tileGridXYZ&&(this.tileGrid=this.tileGridXYZ.instance),this.init()}ngOnChanges(e){const i={};if(this.instance){for(const s in e)e.hasOwnProperty(s)&&(i[s]=e[s].currentValue);this.instance.setProperties(i,!1),e.hasOwnProperty("url")&&this.init()}}init(){this.instance=new CW(this),this.instance.on("tileloadstart",e=>this.tileLoadStart.emit(e)),this.instance.on("tileloadend",e=>this.tileLoadEnd.emit(e)),this.instance.on("tileloaderror",e=>this.tileLoadError.emit(e)),this.register(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(iu,9))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-source-xyz"]],contentQueries:function(i,s,r){if(1&i&&ni(r,mD,5),2&i){let o;ln(o=cn())&&(s.tileGridXYZ=o.first)}},inputs:{cacheSize:"cacheSize",crossOrigin:"crossOrigin",opaque:"opaque",projection:"projection",reprojectionErrorThreshold:"reprojectionErrorThreshold",minZoom:"minZoom",maxZoom:"maxZoom",tileGrid:"tileGrid",tileLoadFunction:"tileLoadFunction",tilePixelRatio:"tilePixelRatio",tileSize:"tileSize",tileUrlFunction:"tileUrlFunction",url:"url",urls:"urls",wrapX:"wrapX"},outputs:{tileLoadStart:"tileLoadStart",tileLoadEnd:"tileLoadEnd",tileLoadError:"tileLoadError"},features:[kt([{provide:ei,useExisting:Yt(()=>n)}]),Ue,Ut],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),s$=(()=>{class n extends i${constructor(e){super(e),this.layer=e,this.tileLoadStart=new Ne,this.tileLoadEnd=new Ne,this.tileLoadError=new Ne}ngAfterContentInit(){this.tileGridXYZ&&(this.tileGrid=this.tileGridXYZ.instance),this.instance=new ySe(this),this.instance.on("tileloadstart",e=>this.tileLoadStart.emit(e)),this.instance.on("tileloadend",e=>this.tileLoadEnd.emit(e)),this.instance.on("tileloaderror",e=>this.tileLoadError.emit(e)),this.register(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(iu,9))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-source-osm"]],inputs:{attributions:"attributions",cacheSize:"cacheSize",crossOrigin:"crossOrigin",maxZoom:"maxZoom",opaque:"opaque",reprojectionErrorThreshold:"reprojectionErrorThreshold",tileLoadFunction:"tileLoadFunction",url:"url",wrapX:"wrapX"},outputs:{tileLoadStart:"tileLoadStart",tileLoadEnd:"tileLoadEnd",tileLoadError:"tileLoadError"},features:[kt([{provide:ei,useExisting:Yt(()=>n)}]),Ue],decls:1,vars:0,consts:[[1,"aol-source-osm"]],template:function(i,s){1&i&&ee(0,"div",0)},encapsulation:2})}return n})(),o$=(()=>{class n extends kf{get radius(){return this.instance.getRadius()}set radius(e){this.instance.setRadius(e)}constructor(e,i){super(e,i),this.componentType="geometry-circle",this.instance=new HW([0,0])}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(el))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-geometry-circle"]],inputs:{radius:"radius"},features:[Ue],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),BP=(()=>{class n extends kf{constructor(e,i){super(e,i),this.componentType="geometry-point"}ngOnInit(){this.instance=new eo([0,0]),super.ngOnInit()}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(el))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-geometry-point"]],features:[Ue],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),HP=(()=>{class n{constructor(e){this.elementRef=e}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-content"]],ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),h$=(()=>{class n{constructor(e){this.map=e,this.componentType="overlay"}ngOnInit(){this.content&&(this.element=this.content.elementRef.nativeElement,this.instance=new VW(this),this.map.instance.addOverlay(this.instance))}ngOnDestroy(){this.instance&&this.map.instance.removeOverlay(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-overlay"]],contentQueries:function(i,s,r){if(1&i&&ni(r,HP,7),2&i){let o;ln(o=cn())&&(s.content=o.first)}},inputs:{id:"id",offset:"offset",positioning:"positioning",stopEvent:"stopEvent",insertFirst:"insertFirst",autoPan:"autoPan",autoPanAnimation:"autoPanAnimation",autoPanMargin:"autoPanMargin"},ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),f$=(()=>{class n{constructor(e,i,s,r,o){this.map=e,this.srid="EPSG:3857",this.mapSrid="EPSG:3857",null!==s?this.host=s:null!==r?this.host=r:null!==i?this.host=i:null!==o&&(this.host=o)}ngOnInit(){this.map.instance.on("change:view",e=>this.onMapViewChanged(e)),this.mapSrid=this.map.instance.getView().getProjection().getCode(),this.transformCoordinates()}ngOnChanges(e){this.transformCoordinates()}onMapViewChanged(e){this.mapSrid=e.target.get(e.key).getProjection().getCode(),this.transformCoordinates()}transformCoordinates(){let e;switch(e=this.srid===this.mapSrid?[this.x,this.y]:Xa([this.x,this.y],this.srid,this.mapSrid),this.host.componentType){case"geometry-point":this.host.instance.setCoordinates(e);break;case"geometry-circle":case"view":this.host.instance.setCenter(e);break;case"overlay":this.host.instance.setPosition(e)}}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt),W(YP,8),W(BP,8),W(o$,8),W(h$,8))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-coordinate"]],inputs:{x:"x",y:"y",srid:"srid"},features:[Ut],decls:1,vars:0,consts:[[1,"aol-coordinate"]],template:function(i,s){1&i&&ee(0,"div",0)},encapsulation:2})}return n})(),Of=(()=>{class n{constructor(e,i){if(this.componentType="style",this.host=e||i,!this.host)throw new Error("aol-style must be applied to a feature or a layer")}update(){this.host.instance.changed()}ngOnInit(){this.instance=new Ed(this),this.host.instance.setStyle(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(el,8),W(Mm,8))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-style"]],inputs:{geometry:"geometry",fill:"fill",image:"image",stroke:"stroke",text:"text",zIndex:"zIndex"},ngContentSelectors:an,decls:1,vars:0,template:function(i,s){1&i&&(Wt(),$t(0))},encapsulation:2})}return n})(),p$=(()=>{class n{constructor(e){this.host=e}ngOnInit(){this.instance=new zM(this),this.host.instance.setImage(this.instance)}ngOnChanges(e){this.instance&&(e.opacity&&this.instance.setOpacity(e.opacity.currentValue),e.rotation&&this.instance.setRotation(e.rotation.currentValue),e.scale&&this.instance.setScale(e.scale.currentValue),e.src&&(this.instance=new zM(this),this.host.instance.setImage(this.instance)),this.host.update())}static#e=this.\u0275fac=function(i){return new(i||n)(W(Of,1))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-style-icon"]],inputs:{anchor:"anchor",anchorXUnits:"anchorXUnits",anchorYUnits:"anchorYUnits",anchorOrigin:"anchorOrigin",color:"color",crossOrigin:"crossOrigin",img:"img",offset:"offset",offsetOrigin:"offsetOrigin",opacity:"opacity",scale:"scale",snapToPixel:"snapToPixel",rotateWithView:"rotateWithView",rotation:"rotation",size:"size",imgSize:"imgSize",src:"src"},features:[Ut],decls:1,vars:0,consts:[[1,"aol-style-icon"]],template:function(i,s){1&i&&ee(0,"div",0)},encapsulation:2})}return n})(),g$=(()=>{class n{constructor(e){this.map=e}ngOnInit(){this.instance=new oG(this),this.map.instance.addInteraction(this.instance)}ngOnDestroy(){this.map.instance.removeInteraction(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-interaction-doubleclickzoom"]],inputs:{duration:"duration",delta:"delta"},decls:0,vars:0,template:function(i,s){},encapsulation:2})}return n})(),m$=(()=>{class n{constructor(e){this.map=e}ngOnInit(){this.instance=new hG(this),this.map.instance.addInteraction(this.instance)}ngOnDestroy(){this.map.instance.removeInteraction(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-interaction-dragpan"]],inputs:{condition:"condition",kinetic:"kinetic"},decls:0,vars:0,template:function(i,s){},encapsulation:2})}return n})(),_$=(()=>{class n{constructor(e){this.map=e}ngOnInit(){this.instance=new _G(this),this.map.instance.addInteraction(this.instance)}ngOnDestroy(){this.map.instance.removeInteraction(this.instance)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xt))};static#t=this.\u0275cmp=xe({type:n,selectors:[["aol-interaction-pinchzoom"]],inputs:{duration:"duration",constrainResolution:"constrainResolution"},decls:0,vars:0,template:function(i,s){},encapsulation:2})}return n})(),zP=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({imports:[qu]})}return n})();const Pi_baseUrl="https://service.mymarketinfo.com/api/mmi/v2/",Pi_google_clientId="1061942537623-m7m8rqsnb676l0l5nqk0d3fsgslujk2j.apps.googleusercontent.com",Pi_google_callbackUrl="https://www.mymarketinfo.com/network/selection/6",Pi_google_scope=encodeURIComponent("https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/webmasters.readonly https://www.googleapis.com/auth/userinfo.email"),Pi_google_analyticsAccountId="UA-108289255-1";function _D(){return function(t){return t.lift(new kke(t))}}class kke{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const s=new Oke(t,i),r=e.subscribe(s);return s.closed||(s.connection=i.connect()),r}}class Oke extends Mn{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,s=t._connection;this.connection=null,s&&(!i||s===i)&&s.unsubscribe()}}class GP extends Un{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new hi,t.add(this.source.subscribe(new Pke(this.getSubject(),this))),t.closed&&(this._connection=null,t=hi.EMPTY)),t}refCount(){return _D()(this)}}const Lke=(()=>{const n=GP.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class Pke extends q0{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class Rke{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,s=this.subjectFactory(),r=i(s).subscribe(t);return r.add(e.subscribe(s)),r}}function Nke(){return new Zt}function fr(){return n=>_D()(function Ake(n,t){return function(i){let s;if(s="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new Rke(s,t));const r=Object.create(i,Lke);return r.source=i,r.subjectFactory=s,r}}(Nke)(n))}function zl(n,t=!1){return e=>e.lift(new Fke(n,t))}class Fke{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new Yke(t,this.predicate,this.inclusive))}}class Yke extends Mn{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(s){return void e.error(s)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;e?i.next(t):(this.inclusive&&i.next(t),i.complete())}}function v$(n){return t=>t.lift(new jke(n))}class jke{constructor(t){this.predicate=t}call(t,e){return e.subscribe(new Bke(t,this.predicate))}}class Bke extends Mn{constructor(t,e){super(t),this.predicate=e,this.skipping=!0,this.index=0}_next(t){const e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)}tryCallPredicate(t){try{const e=this.predicate(t,this.index++);this.skipping=!!e}catch(e){this.destination.error(e)}}}let WP=(()=>{class n{get(e){try{return JSON.parse(localStorage.getItem(e))}catch{return null}}set(e,i){i&&localStorage.setItem(e,JSON.stringify(i))}clear(){localStorage.clear()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Et=(()=>{class n{constructor(e,i){this.storage=e,this.titleService=i,this._account=new Gt(null),this._isCsr=new Gt(!1),this._siteConfig=new Gt(null),this._externalToolbarConfig=new Gt(null),this._token=new Gt(null),this._user=new Gt(null),this._canSwitchAccounts=new Gt(!1),this._locale="",this.isLoggingOut=!1,this.setSiteConfig(e.get("siteConfig"),"account"),this.setToken(e.get("token")),this.setUser(e.get("user")),this.setAccount(e.get("account")),this.setIsCsr(e.get("isCsr")),this.setCanSwitchAccounts(this.storage.get("canSwitchAccounts")),this.setExternalToolBarConfig(this.storage.get("externalToolbarConfig"));const s=this.storage.get("locale");this.locale=s||this.getBrowserLocale()}get token(){return this._token.asObservable().pipe(fr(),zl(e=>!this.isLoggingOut))}setToken(e){this.storage.set("token",e),this._token.next(e)}get account(){return this._account.asObservable().pipe(fr(),v$(e=>!e),v$(e=>this.isLoggingOut))}get isCsr(){return this._isCsr.asObservable().pipe(fr(),zl(e=>!this.isLoggingOut))}setAccount(e){this.storage.set("account",e),e?(e.hasFeature=i=>!!e.features&&e.features.indexOf(i)>-1,e.hasAnyFeature=i=>!(!e.features||!i)&&e.features.some(s=>i.some(r=>r===s)),this._account.next(e),this.setSiteConfig(e.siteConfig,"account")):this._account.next(e)}setIsCsr(e){this.storage.set("isCsr",e),this._isCsr.next(e)}get siteConfig(){return this._siteConfig.asObservable().pipe(fr(),zl(e=>!this.isLoggingOut))}setSiteConfig(e,i){e&&"account"===this._lock&&"site"===i||(this.storage.set("siteConfig",e),this._siteConfig.next(e),e&&(this._lock=i,this.style(e.css)),e&&!e.hiddenContent.some(r=>"PAGE-TITLE"===r.toUpperCase())&&this.titleService.setTitle(e.partnerName))}setExternalToolBarConfig(e){this.storage.set("externalToolbarConfig",e),this._externalToolbarConfig.next(e)}get externalToolbarConfig(){return this._externalToolbarConfig.asObservable().pipe(fr(),zl(e=>!this.isLoggingOut))}get user(){return this._user.asObservable().pipe(fr(),zl(e=>!this.isLoggingOut))}setUser(e){this.storage.set("user",e),this._user.next(e)}isAuthorized(){return this._token.pipe(ht(e=>!!e),fr(),zl(e=>!this.isLoggingOut))}isNotAuthorized(){return this._token.pipe(ht(e=>!e),fr(),zl(e=>!this.isLoggingOut))}isReady(){return this.isAuthorized().pipe(_t(e=>e?this._account.pipe(ht(i=>!!i)):ct(!1)),zl(e=>!this.isLoggingOut))}get canSwitchAccounts(){return this._canSwitchAccounts.asObservable().pipe(fr(),zl(e=>!this.isLoggingOut))}get locale(){return this._locale}set locale(e){this.storage.set("locale",e),this._locale=e}get redirectUrl(){return this._redirectUrl}set redirectUrl(e){this._redirectUrl=e}clearRedirectUrl(){this.redirectUrl=null}setCanSwitchAccounts(e){this.storage.set("canSwitchAccounts",e),this._canSwitchAccounts.next(e)}clear(){this._lock=null,this.storage.clear(),this._token.next(null),this._user.next(null),this._account.next({}),this._isCsr.next(null),this._siteConfig.next(null),this._externalToolbarConfig.next(null),this._canSwitchAccounts.next(!1),this._locale=this.getBrowserLocale()}style(e){const i="custom-css",s=document.getElementById(i);s&&document.body.removeChild(s);const r=document.createElement("style");r.id=i,r.innerHTML=e,document.body.appendChild(r)}getBrowserLocale(){return navigator.language}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(WP),Ve(Jj))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),yD=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.baseUrl=Pi_baseUrl}list(){return this.http.get(`${this.baseUrl}account/list`).pipe(ht(e=>e))}account(e){const i=(new Gr).set("accountId",e.toString());return this.http.get(`${this.baseUrl}account/account`,{params:i})}getSiteConfig(){return this.http.get(`${this.baseUrl}account/config`)}default(e){return this.http.post(`${this.baseUrl}account/`,{Token:e})}defaultImpersonation(e){return this.http.post(`${this.baseUrl}account/impersonation`,{Token:e})}onsiteRecommendationSettings(){return this.sessionService.account.pipe(_t(e=>this.http.get(`${this.baseUrl}account/${e.id}/onsiterecommendationsettings`)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const vD=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function bD(n=null){return t=>t.lift(new Hke(n))}class Hke{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Vke(t,this.defaultValue))}}class Vke extends Mn{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function b$(n=Gke){return t=>t.lift(new Uke(n))}class Uke{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new zke(t,this.errorFactory))}}class zke extends Mn{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Gke(){return new vD}function su(n,t){const e=arguments.length>=2;return i=>i.pipe(n?ks((s,r)=>n(s,r,i)):Gd,pi(1),e?bD(t):b$(()=>new vD))}function Dm(n){return function(e){const i=new Wke(n),s=e.lift(i);return i.caught=s}}class Wke{constructor(t){this.selector=t}call(t,e){return e.subscribe(new $ke(t,this.selector,this.caught))}}class $ke extends rg{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(r){return void super.error(r)}this._unsubscribeAndRecycle();const i=new sg(this);this.add(i);const s=og(e,i);s!==i&&this.add(s)}}}class Kke{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Xke(t,this.accumulator,this.seed,this.hasSeed))}}class Xke extends Mn{constructor(t,e,i,s){super(t),this.accumulator=e,this._seed=i,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(s){this.destination.error(s)}this.seed=i,this.destination.next(i)}}function $P(n){return function(e){return 0===n?Lw():e.lift(new Zke(n))}}class Zke{constructor(t){if(this.total=t,this.total<0)throw new pB}call(t,e){return e.subscribe(new Jke(t,this.total))}}class Jke extends Mn{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,s=this.count++;e.length<i?e.push(t):e[s%i]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const i=this.count>=this.total?this.total:this.count,s=this.ring;for(let r=0;r<i;r++){const o=e++%i;t.next(s[o])}}t.complete()}}class tOe{constructor(t){this.value=t}call(t,e){return e.subscribe(new nOe(t,this.value))}}class nOe extends Mn{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const fn="primary",x0=Symbol("RouteTitle");class iOe{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function xm(n){return new iOe(n)}function sOe(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.length<n.length))return null;const s={};for(let r=0;r<i.length;r++){const o=i[r],a=n[r];if(o.startsWith(":"))s[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:n.slice(0,i.length),posParams:s}}function Gl(n,t){const e=n?qP(n):void 0,i=t?qP(t):void 0;if(!e||!i||e.length!=i.length)return!1;let s;for(let r=0;r<e.length;r++)if(s=e[r],!w$(n[s],t[s]))return!1;return!0}function qP(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function w$(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;const e=[...n].sort(),i=[...t].sort();return e.every((s,r)=>i[r]===s)}return n===t}function C$(n){return n.length>0?n[n.length-1]:null}function Bd(n){return od(n)?n:vy(n)?Es(Promise.resolve(n)):ct(n)}const oOe={exact:function x$(n,t,e){if(!Lf(n.segments,t.segments)||!wD(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!x$(n.children[i],t.children[i],e))return!1;return!0},subset:S$},M$={exact:function aOe(n,t){return Gl(n,t)},subset:function lOe(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>w$(n[e],t[e]))},ignored:()=>!0};function D$(n,t,e){return oOe[e.paths](n.root,t.root,e.matrixParams)&&M$[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function S$(n,t,e){return T$(n,t,t.segments,e)}function T$(n,t,e,i){if(n.segments.length>e.length){const s=n.segments.slice(0,e.length);return!(!Lf(s,e)||t.hasChildren()||!wD(s,e,i))}if(n.segments.length===e.length){if(!Lf(n.segments,e)||!wD(n.segments,e,i))return!1;for(const s in t.children)if(!n.children[s]||!S$(n.children[s],t.children[s],i))return!1;return!0}{const s=e.slice(0,n.segments.length),r=e.slice(n.segments.length);return!!(Lf(n.segments,s)&&wD(n.segments,s,i)&&n.children[fn])&&T$(n.children[fn],t,r,i)}}function wD(n,t,e){return t.every((i,s)=>M$[e](n[s].parameters,i.parameters))}class Sm{constructor(t=new mi([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=xm(this.queryParams),this._queryParamMap}toString(){return dOe.serialize(this)}}class mi{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return MD(this)}}class S0{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=xm(this.parameters),this._parameterMap}toString(){return O$(this)}}function Lf(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let Pf=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>new CD,providedIn:"root"})}return n})();class CD{parse(t){const e=new COe(t);return new Sm(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${T0(t.root,!0)}`,i=function pOe(n){const t=Object.entries(n).map(([e,i])=>Array.isArray(i)?i.map(s=>`${DD(e)}=${DD(s)}`).join("&"):`${DD(e)}=${DD(i)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}(t.queryParams),s="string"==typeof t.fragment?`#${function hOe(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${i}${s}`}}const dOe=new CD;function MD(n){return n.segments.map(t=>O$(t)).join("/")}function T0(n,t){if(!n.hasChildren())return MD(n);if(t){const e=n.children[fn]?T0(n.children[fn],!1):"",i=[];return Object.entries(n.children).forEach(([s,r])=>{s!==fn&&i.push(`${s}:${T0(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function uOe(n,t){let e=[];return Object.entries(n.children).forEach(([i,s])=>{i===fn&&(e=e.concat(t(s,i)))}),Object.entries(n.children).forEach(([i,s])=>{i!==fn&&(e=e.concat(t(s,i)))}),e}(n,(i,s)=>s===fn?[T0(n.children[fn],!1)]:[`${s}:${T0(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[fn]?`${MD(n)}/${e[0]}`:`${MD(n)}/(${e.join("//")})`}}function E$(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function DD(n){return E$(n).replace(/%3B/gi,";")}function KP(n){return E$(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xD(n){return decodeURIComponent(n)}function k$(n){return xD(n.replace(/\+/g,"%20"))}function O$(n){return`${KP(n.path)}${function fOe(n){return Object.entries(n).map(([t,e])=>`;${KP(t)}=${KP(e)}`).join("")}(n.parameters)}`}const gOe=/^[^\/()?;#]+/;function XP(n){const t=n.match(gOe);return t?t[0]:""}const mOe=/^[^\/()?;=#]+/,yOe=/^[^=?&#]+/,bOe=/^[^&#]+/;class COe{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mi([],{}):new mi([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[fn]=new mi(t,e)),i}parseSegment(){const t=XP(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Oe(4009,!1);return this.capture(t),new S0(xD(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function _Oe(n){const t=n.match(mOe);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=XP(this.remaining);s&&(i=s,this.capture(i))}t[xD(e)]=xD(i)}parseQueryParam(t){const e=function vOe(n){const t=n.match(yOe);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=function wOe(n){const t=n.match(bOe);return t?t[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const s=k$(e),r=k$(i);if(t.hasOwnProperty(s)){let o=t[s];Array.isArray(o)||(o=[o],t[s]=o),o.push(r)}else t[s]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=XP(this.remaining),s=this.remaining[i.length];if("/"!==s&&")"!==s&&";"!==s)throw new Oe(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=fn);const o=this.parseChildren();e[r]=1===Object.keys(o).length?o[fn]:new mi([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Oe(4011,!1)}}function L$(n){return n.segments.length>0?new mi([],{[fn]:n}):n}function P$(n){const t={};for(const[i,s]of Object.entries(n.children)){const r=P$(s);if(i===fn&&0===r.segments.length&&r.hasChildren())for(const[o,a]of Object.entries(r.children))t[o]=a;else(r.segments.length>0||r.hasChildren())&&(t[i]=r)}return function MOe(n){if(1===n.numberOfChildren&&n.children[fn]){const t=n.children[fn];return new mi(n.segments.concat(t.segments),t.children)}return n}(new mi(n.segments,t))}function Tm(n){return n instanceof Sm}function I$(n){let t;const s=L$(function e(r){const o={};for(const l of r.children){const c=e(l);o[l.outlet]=c}const a=new mi(r.url,o);return r===n&&(t=a),a}(n.root));return t??s}function A$(n,t,e,i){let s=n;for(;s.parent;)s=s.parent;if(0===t.length)return ZP(s,s,s,e,i);const r=function xOe(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new N$(!0,0,n);let t=0,e=!1;const i=n.reduce((s,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};return Object.entries(r.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...s,{outlets:a}]}if(r.segmentPath)return[...s,r.segmentPath]}return"string"!=typeof r?[...s,r]:0===o?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&s.push(a))}),s):[...s,r]},[]);return new N$(e,t,i)}(t);if(r.toRoot())return ZP(s,s,new mi([],{}),e,i);const o=function SOe(n,t,e){if(n.isAbsolute)return new TD(t,!0,0);if(!e)return new TD(t,!1,NaN);if(null===e.parent)return new TD(e,!0,0);const i=SD(n.commands[0])?0:1;return function TOe(n,t,e){let i=n,s=t,r=e;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Oe(4005,!1);s=i.segments.length}return new TD(i,!1,s-r)}(e,e.segments.length-1+i,n.numberOfDoubleDots)}(r,s,n),a=o.processChildren?k0(o.segmentGroup,o.index,r.commands):F$(o.segmentGroup,o.index,r.commands);return ZP(s,o.segmentGroup,a,e,i)}function SD(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function E0(n){return"object"==typeof n&&null!=n&&n.outlets}function ZP(n,t,e,i,s){let o,r={};i&&Object.entries(i).forEach(([l,c])=>{r[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),o=n===t?e:R$(n,t,e);const a=L$(P$(o));return new Sm(a,r,s)}function R$(n,t,e){const i={};return Object.entries(n.children).forEach(([s,r])=>{i[s]=r===t?e:R$(r,t,e)}),new mi(n.segments,i)}class N${constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&SD(i[0]))throw new Oe(4003,!1);const s=i.find(E0);if(s&&s!==C$(i))throw new Oe(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class TD{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function F$(n,t,e){if(n??=new mi([],{}),0===n.segments.length&&n.hasChildren())return k0(n,t,e);const i=function kOe(n,t,e){let i=0,s=t;const r={match:!1,pathIndex:0,commandIndex:0};for(;s<n.segments.length;){if(i>=e.length)return r;const o=n.segments[s],a=e[i];if(E0(a))break;const l=`${a}`,c=i<e.length-1?e[i+1]:null;if(s>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!j$(l,c,o))return r;i+=2}else{if(!j$(l,{},o))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(n,t,e),s=e.slice(i.commandIndex);if(i.match&&i.pathIndex<n.segments.length){const r=new mi(n.segments.slice(0,i.pathIndex),{});return r.children[fn]=new mi(n.segments.slice(i.pathIndex),n.children),k0(r,0,s)}return i.match&&0===s.length?new mi(n.segments,{}):i.match&&!n.hasChildren()?JP(n,t,e):i.match?k0(n,0,s):JP(n,t,e)}function k0(n,t,e){if(0===e.length)return new mi(n.segments,{});{const i=function EOe(n){return E0(n[0])?n[0].outlets:{[fn]:n}}(e),s={};if(Object.keys(i).some(r=>r!==fn)&&n.children[fn]&&1===n.numberOfChildren&&0===n.children[fn].segments.length){const r=k0(n.children[fn],t,e);return new mi(n.segments,r.children)}return Object.entries(i).forEach(([r,o])=>{"string"==typeof o&&(o=[o]),null!==o&&(s[r]=F$(n.children[r],t,o))}),Object.entries(n.children).forEach(([r,o])=>{void 0===i[r]&&(s[r]=o)}),new mi(n.segments,s)}}function JP(n,t,e){const i=n.segments.slice(0,t);let s=0;for(;s<e.length;){const r=e[s];if(E0(r)){const l=OOe(r.outlets);return new mi(i,l)}if(0===s&&SD(e[0])){i.push(new S0(n.segments[t].path,Y$(e[0]))),s++;continue}const o=E0(r)?r.outlets[fn]:`${r}`,a=s<e.length-1?e[s+1]:null;o&&a&&SD(a)?(i.push(new S0(o,Y$(a))),s+=2):(i.push(new S0(o,{})),s++)}return new mi(i,{})}function OOe(n){const t={};return Object.entries(n).forEach(([e,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(t[e]=JP(new mi([],{}),0,i))}),t}function Y$(n){const t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function j$(n,t,e){return n==e.path&&Gl(t,e.parameters)}const O0="imperative";var Nn=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Nn||{});class Wl{constructor(t,e){this.id=t,this.url=e}}class ED extends Wl{constructor(t,e,i="imperative",s=null){super(t,e),this.type=Nn.NavigationStart,this.navigationTrigger=i,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ru extends Wl{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=Nn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Vo=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Vo||{}),kD=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(kD||{});class Em extends Wl{constructor(t,e,i,s){super(t,e),this.reason=i,this.code=s,this.type=Nn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class km extends Wl{constructor(t,e,i,s){super(t,e),this.reason=i,this.code=s,this.type=Nn.NavigationSkipped}}class OD extends Wl{constructor(t,e,i,s){super(t,e),this.error=i,this.target=s,this.type=Nn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class B$ extends Wl{constructor(t,e,i,s){super(t,e),this.urlAfterRedirects=i,this.state=s,this.type=Nn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class LOe extends Wl{constructor(t,e,i,s){super(t,e),this.urlAfterRedirects=i,this.state=s,this.type=Nn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class POe extends Wl{constructor(t,e,i,s,r){super(t,e),this.urlAfterRedirects=i,this.state=s,this.shouldActivate=r,this.type=Nn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class IOe extends Wl{constructor(t,e,i,s){super(t,e),this.urlAfterRedirects=i,this.state=s,this.type=Nn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class AOe extends Wl{constructor(t,e,i,s){super(t,e),this.urlAfterRedirects=i,this.state=s,this.type=Nn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ROe{constructor(t){this.route=t,this.type=Nn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class NOe{constructor(t){this.route=t,this.type=Nn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class FOe{constructor(t){this.snapshot=t,this.type=Nn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class YOe{constructor(t){this.snapshot=t,this.type=Nn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jOe{constructor(t){this.snapshot=t,this.type=Nn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BOe{constructor(t){this.snapshot=t,this.type=Nn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class H${constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=Nn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class QP{}class eI{constructor(t){this.url=t}}class HOe{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new L0,this.attachRef=null}}let L0=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const s=this.getOrCreateContext(e);s.outlet=i,this.contexts.set(e,s)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new HOe,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class V${constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=tI(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=tI(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=nI(t,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==t)}pathFromRoot(t){return nI(t,this._root).map(e=>e.value)}}function tI(n,t){if(n===t.value)return t;for(const e of t.children){const i=tI(n,e);if(i)return i}return null}function nI(n,t){if(n===t.value)return[t];for(const e of t.children){const i=nI(n,e);if(i.length)return i.unshift(t),i}return[]}class tl{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Om(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class U$ extends V${constructor(t,e){super(t),this.snapshot=e,rI(this,t)}toString(){return this.snapshot.toString()}}function z$(n){const t=function VOe(n){const r=new sI([],{},{},"",{},fn,n,null,{});return new G$("",new tl(r,[]))}(n),e=new Gt([new S0("",{})]),i=new Gt({}),s=new Gt({}),r=new Gt({}),o=new Gt(""),a=new pr(e,i,r,o,s,fn,n,t.root);return a.snapshot=t.root,new U$(new tl(a,[]),t)}class pr{constructor(t,e,i,s,r,o,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=s,this.dataSubject=r,this.outlet=o,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ht(c=>c[x0]))??ct(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=s,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ht(t=>xm(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ht(t=>xm(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function iI(n,t,e="emptyOnly"){let i;const{routeConfig:s}=n;return i=null===t||"always"!==e&&""!==s?.path&&(t.component||t.routeConfig?.loadComponent)?{params:{...n.params},data:{...n.data},resolve:{...n.data,...n._resolvedData??{}}}:{params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.data,...s?.data,...n._resolvedData}},s&&$$(s)&&(i.resolve[x0]=s.title),i}class sI{get title(){return this.data?.[x0]}constructor(t,e,i,s,r,o,a,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=s,this.data=r,this.outlet=o,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=xm(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=xm(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class G$ extends V${constructor(t,e){super(e),this.url=t,rI(this,e)}toString(){return W$(this._root)}}function rI(n,t){t.value._routerState=n,t.children.forEach(e=>rI(n,e))}function W$(n){const t=n.children.length>0?` { ${n.children.map(W$).join(", ")} } `:"";return`${n.value}${t}`}function oI(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Gl(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),Gl(t.params,e.params)||n.paramsSubject.next(e.params),function rOe(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!Gl(n[e],t[e]))return!1;return!0}(t.url,e.url)||n.urlSubject.next(e.url),Gl(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function aI(n,t){const e=Gl(n.params,t.params)&&function cOe(n,t){return Lf(n,t)&&n.every((e,i)=>Gl(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||aI(n.parent,t.parent))}function $$(n){return"string"==typeof n.title||null===n.title}let lI=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=fn,this.activateEvents=new Ne,this.deactivateEvents=new Ne,this.attachEvents=new Ne,this.detachEvents=new Ne,this.parentContexts=fe(L0),this.location=fe(Us),this.changeDetector=fe(Dr),this.environmentInjector=fe(ys),this.inputBinder=fe(LD,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:s}=e.name;if(i)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Oe(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Oe(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Oe(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Oe(4013,!1);this._activatedRoute=e;const s=this.location,o=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new cI(e,a,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275dir=rt({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ut]})}return n})();class cI{__ngOutletInjector(t){return new cI(this.route,this.childContexts,t)}constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===pr?this.route:t===L0?this.childContexts:this.parent.get(t,e)}}const LD=new dt("");let q$=(()=>{class n{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:i}=e,s=Yy([i.queryParams,i.params,i.data]).pipe(Gs(([r,o,a],l)=>(a={...r,...o,...a},0===l?ct(a):Promise.resolve(a)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const o=function Wne(n){const t=hn(n);if(!t)return null;const e=new ey(t);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(i.component);if(o)for(const{templateName:a}of o.inputs)e.activatedComponentRef.setInput(a,r[a]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,s)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function P0(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const s=function zOe(n,t,e){return t.children.map(i=>{for(const s of e.children)if(n.shouldReuseRoute(i.value,s.value.snapshot))return P0(n,i,s);return P0(n,i)})}(n,t,e);return new tl(i,s)}{if(n.shouldAttach(t.value)){const r=n.retrieve(t.value);if(null!==r){const o=r.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>P0(n,a)),o}}const i=function GOe(n){return new pr(new Gt(n.url),new Gt(n.params),new Gt(n.queryParams),new Gt(n.fragment),new Gt(n.data),n.outlet,n.component,n)}(t.value),s=t.children.map(r=>P0(n,r));return new tl(i,s)}}const K$="ngNavigationCancelingError";function X$(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=Tm(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,s=Z$(!1,Vo.Redirect);return s.url=e,s.navigationBehaviorOptions=i,s}function Z$(n,t){const e=new Error(`NavigationCancelingError: ${n||""}`);return e[K$]=!0,e.cancellationCode=t,e}function J$(n){return!!n&&n[K$]}let Q$=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ng-component"]],standalone:!0,features:[So],decls:1,vars:0,template:function(i,s){1&i&&ee(0,"router-outlet")},dependencies:[lI],encapsulation:2})}return n})();function uI(n){const t=n.children&&n.children.map(uI),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==fn&&(e.component=Q$),e}function $l(n){return n.outlet||fn}function I0(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class QOe{constructor(t,e,i,s,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=s,this.inputBindingEnabled=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),oI(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const s=Om(e);t.children.forEach(r=>{const o=r.value.outlet;this.deactivateRoutes(r,s[o],i),delete s[o]}),Object.values(s).forEach(r=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(t,e,i){const s=t.value,r=e?e.value:null;if(s===r)if(s.component){const o=i.getContext(s.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),s=i&&t.value.component?i.children:e,r=Om(t);for(const o of Object.values(r))this.deactivateRouteAndItsChildren(o,s);if(i&&i.outlet){const o=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),s=i&&t.value.component?i.children:e,r=Om(t);for(const o of Object.values(r))this.deactivateRouteAndItsChildren(o,s);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){const s=Om(e);t.children.forEach(r=>{this.activateRoutes(r,s[r.value.outlet],i),this.forwardEvent(new BOe(r.value.snapshot))}),t.children.length&&this.forwardEvent(new YOe(t.value.snapshot))}activateRoutes(t,e,i){const s=t.value,r=e?e.value:null;if(oI(s),s===r)if(s.component){const o=i.getOrCreateContext(s.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,i);else if(s.component){const o=i.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const a=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),oI(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=I0(s.snapshot);o.attachRef=null,o.route=s,o.injector=a,o.outlet&&o.outlet.activateWith(s,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,i)}}class e7{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class PD{constructor(t,e){this.component=t,this.route=e}}function e2e(n,t,e){const i=n._root;return A0(i,t?t._root:null,e,[i.value])}function Lm(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function nx(n){return null!==Qf(n)}(n)?t.get(n):n:i}function A0(n,t,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Om(t);return n.children.forEach(o=>{(function n2e(n,t,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=n.value,o=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function i2e(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Lf(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Lf(n.url,t.url)||!Gl(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!aI(n,t)||!Gl(n.queryParams,t.queryParams);default:return!aI(n,t)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new e7(i)):(r.data=o.data,r._resolvedData=o._resolvedData),A0(n,t,r.component?a?a.children:null:e,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new PD(a.outlet.component,o))}else o&&R0(t,a,s),s.canActivateChecks.push(new e7(i)),A0(n,null,r.component?a?a.children:null:e,i,s)})(o,r[o.value.outlet],e,i.concat([o.value]),s),delete r[o.value.outlet]}),Object.entries(r).forEach(([o,a])=>R0(a,e.getContext(o),s)),s}function R0(n,t,e){const i=Om(n),s=n.value;Object.entries(i).forEach(([r,o])=>{R0(o,s.component?t?t.children.getContext(r):null:t,e)}),e.canDeactivateChecks.push(new PD(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}function N0(n){return"function"==typeof n}function t7(n){return n instanceof vD||"EmptyError"===n?.name}const ID=Symbol("INITIAL_VALUE");function Pm(){return Gs(n=>Yy(n.map(t=>t.pipe(pi(1),Pw(ID)))).pipe(ht(t=>{for(const e of t)if(!0!==e){if(e===ID)return ID;if(!1===e||e instanceof Sm)return e}return!0}),ks(t=>t!==ID),pi(1)))}function n7(n){return function Wf(...n){return $f(n)}(ii(t=>{if(Tm(t))throw X$(0,t)}),ht(t=>!0===t))}class dI{constructor(t){this.segmentGroup=t||null}}class hI extends Error{constructor(t){super(),this.urlTree=t}}function Im(n){return jh(new dI(n))}class C2e{constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let i=[],s=e.root;for(;;){if(i=i.concat(s.segments),0===s.numberOfChildren)return ct(i);if(s.numberOfChildren>1||!s.children[fn])return jh(new Oe(4e3,!1));s=s.children[fn]}}applyRedirectCommands(t,e,i){const s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i);if(e.startsWith("/"))throw new hI(s);return s}applyRedirectCreateUrlTree(t,e,i,s){const r=this.createSegmentGroup(t,e.root,i,s);return new Sm(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Object.entries(t).forEach(([s,r])=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[s]=e[a]}else i[s]=r}),i}createSegmentGroup(t,e,i,s){const r=this.createSegments(t,e.segments,i,s);let o={};return Object.entries(e.children).forEach(([a,l])=>{o[a]=this.createSegmentGroup(t,l,i,s)}),new mi(r,o)}createSegments(t,e,i,s){return e.map(r=>r.path.startsWith(":")?this.findPosParam(t,r,s):this.findOrReturn(r,i))}findPosParam(t,e,i){const s=i[e.path.substring(1)];if(!s)throw new Oe(4001,!1);return s}findOrReturn(t,e){let i=0;for(const s of e){if(s.path===t.path)return e.splice(i),s;i++}return t}}const fI={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function M2e(n,t,e,i,s){const r=pI(n,t,e);return r.matched?(i=function $Oe(n,t){return n.providers&&!n._injector&&(n._injector=_b(n.providers,t,`Route: ${n.path}`)),n._injector??t}(t,i),function v2e(n,t,e,i){const s=t.canMatch;return s&&0!==s.length?ct(s.map(o=>{const a=Lm(o,n);return Bd(function c2e(n){return n&&N0(n.canMatch)}(a)?a.canMatch(t,e):Xo(n,()=>a(t,e)))})).pipe(Pm(),n7()):ct(!0)}(i,t,e).pipe(ht(o=>!0===o?r:{...fI}))):ct(r)}function pI(n,t,e){if("**"===t.path)return function D2e(n){return{matched:!0,parameters:n.length>0?C$(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}(e);if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...fI}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(t.matcher||sOe)(e,n,t);if(!s)return{...fI};const r={};Object.entries(s.posParams??{}).forEach(([a,l])=>{r[a]=l.path});const o=s.consumed.length>0?{...r,...s.consumed[s.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:o,positionalParamSegments:s.posParams??{}}}function i7(n,t,e,i){return e.length>0&&function T2e(n,t,e){return e.some(i=>AD(n,t,i)&&$l(i)!==fn)}(n,e,i)?{segmentGroup:new mi(t,S2e(i,new mi(e,n.children))),slicedSegments:[]}:0===e.length&&function E2e(n,t,e){return e.some(i=>AD(n,t,i))}(n,e,i)?{segmentGroup:new mi(n.segments,x2e(n,e,i,n.children)),slicedSegments:e}:{segmentGroup:new mi(n.segments,n.children),slicedSegments:e}}function x2e(n,t,e,i){const s={};for(const r of e)if(AD(n,t,r)&&!i[$l(r)]){const o=new mi([],{});s[$l(r)]=o}return{...i,...s}}function S2e(n,t){const e={};e[fn]=t;for(const i of n)if(""===i.path&&$l(i)!==fn){const s=new mi([],{});e[$l(i)]=s}return e}function AD(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}class L2e{}class A2e{constructor(t,e,i,s,r,o,a){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=s,this.urlTree=r,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new C2e(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new Oe(4002,`'${t.segmentGroup}'`)}recognize(){const t=i7(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(ht(e=>{const i=new sI([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fn,this.rootComponentType,null,{}),s=new tl(i,e),r=new G$("",s),o=function DOe(n,t,e=null,i=null){return A$(I$(n),t,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(r._root,null),{state:r,tree:o}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,fn).pipe(Dm(i=>{if(i instanceof hI)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof dI?this.noMatchError(i):i}))}inheritParamsAndData(t,e){const i=t.value,s=iI(i,e,this.paramsInheritanceStrategy);i.params=Object.freeze(s.params),i.data=Object.freeze(s.data),t.children.forEach(r=>this.inheritParamsAndData(r,i))}processSegmentGroup(t,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,s,!0).pipe(ht(r=>r instanceof tl?[r]:[]))}processChildren(t,e,i){const s=[];for(const r of Object.keys(i.children))"primary"===r?s.unshift(r):s.push(r);return Es(s).pipe(Lh(r=>{const o=i.children[r],a=function ZOe(n,t){const e=n.filter(i=>$l(i)===t);return e.push(...n.filter(i=>$l(i)!==t)),e}(e,r);return this.processSegmentGroup(t,a,o,r)}),function qke(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(s){return s.lift(new Kke(n,t,e))}}((r,o)=>(r.push(...o),r)),bD(null),function Qke(n,t){const e=arguments.length>=2;return i=>i.pipe(n?ks((s,r)=>n(s,r,i)):Gd,$P(1),e?bD(t):b$(()=>new vD))}(),_t(r=>{if(null===r)return Im(i);const o=s7(r);return function R2e(n){n.sort((t,e)=>t.value.outlet===fn?-1:e.value.outlet===fn?1:t.value.outlet.localeCompare(e.value.outlet))}(o),ct(o)}))}processSegment(t,e,i,s,r,o){return Es(e).pipe(Lh(a=>this.processSegmentAgainstRoute(a._injector??t,e,a,i,s,r,o).pipe(Dm(l=>{if(l instanceof dI)return ct(null);throw l}))),su(a=>!!a),Dm(a=>{if(t7(a))return function O2e(n,t,e){return 0===t.length&&!n.children[e]}(i,s,r)?ct(new L2e):Im(i);throw a}))}processSegmentAgainstRoute(t,e,i,s,r,o,a){return function k2e(n,t,e,i){return!!($l(n)===i||i!==fn&&AD(t,e,n))&&pI(t,n,e).matched}(i,s,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,s,i,r,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,s,e,i,r,o):Im(s):Im(s)}expandSegmentAgainstRouteUsingRedirect(t,e,i,s,r,o){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=pI(e,s,r);if(!a)return Im(e);s.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,s.redirectTo,c);return this.applyRedirects.lineralizeSegments(s,d).pipe(_t(h=>this.processSegment(t,i,e,h.concat(u),o,!1)))}matchSegmentAgainstRoute(t,e,i,s,r){const o=M2e(e,i,s,t);return"**"===i.path&&(e.children={}),o.pipe(Gs(a=>a.matched?this.getChildConfig(t=i._injector??t,i,s).pipe(Gs(({routes:l})=>{const c=i._loadedInjector??t,{consumedSegments:u,remainingSegments:d,parameters:h}=a,p=new sI(u,h,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function F2e(n){return n.data||{}}(i),$l(i),i.component??i._loadedComponent??null,i,function Y2e(n){return n.resolve||{}}(i)),{segmentGroup:_,slicedSegments:v}=i7(e,u,d,l);if(0===v.length&&_.hasChildren())return this.processChildren(c,l,_).pipe(ht(k=>null===k?null:new tl(p,k)));if(0===l.length&&0===v.length)return ct(new tl(p,[]));const x=$l(i)===r;return this.processSegment(c,l,_,v,x?fn:r,!0).pipe(ht(k=>new tl(p,k instanceof tl?[k]:[])))})):Im(e)))}getChildConfig(t,e,i){return e.children?ct({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?ct({routes:e._loadedRoutes,injector:e._loadedInjector}):function y2e(n,t,e,i){const s=t.canLoad;return void 0===s||0===s.length?ct(!0):ct(s.map(o=>{const a=Lm(o,n);return Bd(function r2e(n){return n&&N0(n.canLoad)}(a)?a.canLoad(t,e):Xo(n,()=>a(t,e)))})).pipe(Pm(),n7())}(t,e,i).pipe(_t(s=>s?this.configLoader.loadChildren(t,e).pipe(ii(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function w2e(n){return jh(Z$(!1,Vo.GuardRejected))}())):ct({routes:[],injector:t})}}function N2e(n){const t=n.value.routeConfig;return t&&""===t.path}function s7(n){const t=[],e=new Set;for(const i of n){if(!N2e(i)){t.push(i);continue}const s=t.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==s?(s.children.push(...i.children),e.add(s)):t.push(i)}for(const i of e){const s=s7(i.children);t.push(new tl(i.value,s))}return t.filter(i=>!e.has(i))}function r7(n){const t=n.children.map(e=>r7(e)).flat();return[n,...t]}function gI(n){return Gs(t=>{const e=n(t);return e?Es(e).pipe(ht(()=>t)):ct(t)})}let o7=(()=>{class n{buildTitle(e){let i,s=e.root;for(;void 0!==s;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(r=>r.outlet===fn);return i}getResolvedTitleForRoute(e){return e.data[x0]}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>fe(z2e),providedIn:"root"})}return n})(),z2e=(()=>{class n extends o7{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Jj))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Am=new dt("",{providedIn:"root",factory:()=>({})}),Rm=new dt("");let mI=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=fe(gY)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ct(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Bd(e.loadComponent()).pipe(ht(a7),ii(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),ag(()=>{this.componentLoaders.delete(e)})),s=new GP(i,()=>new Zt).pipe(_D());return this.componentLoaders.set(e,s),s}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ct({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=function G2e(n,t,e,i){return Bd(n.loadChildren()).pipe(ht(a7),_t(s=>s instanceof NF||Array.isArray(s)?ct(s):Es(t.compileModuleAsync(s))),ht(s=>{i&&i(n);let r,o,a=!1;return Array.isArray(s)?(o=s,!0):(r=s.create(e).injector,o=r.get(Rm,[],{optional:!0,self:!0}).flat()),{routes:o.map(uI),injector:r}}))}(i,this.compiler,e,this.onLoadEndListener).pipe(ag(()=>{this.childrenLoaders.delete(i)})),o=new GP(r,()=>new Zt).pipe(_D());return this.childrenLoaders.set(i,o),o}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function a7(n){return function W2e(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let _I=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>fe($2e),providedIn:"root"})}return n})(),$2e=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const l7=new dt(""),c7=new dt("");function q2e(n,t,e){const i=n.get(c7),s=n.get(Ki);return n.get(sn).runOutsideAngular(()=>{if(!s.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let r;const o=new Promise(c=>{r=c}),a=s.startViewTransition(()=>(r(),function K2e(n){return new Promise(t=>{_T(t,{injector:n})})}(n))),{onViewTransitionCreated:l}=i;return l&&Xo(n,()=>l({transition:a,from:t,to:e})),o})}let RD=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Zt,this.transitionAbortSubject=new Zt,this.configLoader=fe(mI),this.environmentInjector=fe(ys),this.urlSerializer=fe(Pf),this.rootContexts=fe(L0),this.location=fe(Eh),this.inputBindingEnabled=null!==fe(LD,{optional:!0}),this.titleStrategy=fe(o7),this.options=fe(Am,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=fe(_I),this.createViewTransition=fe(l7,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ct(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=s=>this.events.next(new NOe(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new ROe(s))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e,i,s){return this.transitions=new Gt({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:O0,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ks(r=>0!==r.id),ht(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Gs(r=>{let o=!1,a=!1;return ct(r).pipe(Gs(l=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Vo.SupersededByNewNavigation),Sl;this.currentTransition=r,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const d="";return this.events.next(new km(l.id,this.urlSerializer.serialize(l.rawUrl),d,kD.IgnoredSameUrlNavigation)),l.resolve(null),Sl}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ct(l).pipe(Gs(d=>{const h=this.transitions?.getValue();return this.events.next(new ED(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?Sl:Promise.resolve(d)}),function j2e(n,t,e,i,s,r){return _t(o=>function P2e(n,t,e,i,s,r,o="emptyOnly"){return new A2e(n,t,e,i,s,o,r).recognize()}(n,t,e,i,o.extractedUrl,s,r).pipe(ht(({state:a,tree:l})=>({...o,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ii(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const h=new B$(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:h,source:p,restoredState:_,extras:v}=l,x=new ED(d,this.urlSerializer.serialize(h),p,_);this.events.next(x);const k=z$(this.rootComponentType).snapshot;return this.currentTransition=r={...l,targetSnapshot:k,urlAfterRedirects:h,extras:{...v,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=h,ct(r)}{const d="";return this.events.next(new km(l.id,this.urlSerializer.serialize(l.extractedUrl),d,kD.IgnoredByUrlHandlingStrategy)),l.resolve(null),Sl}}),ii(l=>{const c=new LOe(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),ht(l=>(this.currentTransition=r={...l,guards:e2e(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},r)),function u2e(n,t){return _t(e=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:o}}=e;return 0===o.length&&0===r.length?ct({...e,guardsResult:!0}):function d2e(n,t,e,i){return Es(n).pipe(_t(s=>function _2e(n,t,e,i,s){const r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?ct(r.map(a=>{const l=I0(t)??s,c=Lm(a,l);return Bd(function l2e(n){return n&&N0(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):Xo(l,()=>c(n,t,e,i))).pipe(su())})).pipe(Pm()):ct(!0)}(s.component,s.route,e,t,i)),su(s=>!0!==s,!0))}(o,i,s,n).pipe(_t(a=>a&&function s2e(n){return"boolean"==typeof n}(a)?function h2e(n,t,e,i){return Es(t).pipe(Lh(s=>ug(function p2e(n,t){return null!==n&&t&&t(new FOe(n)),ct(!0)}(s.route.parent,i),function f2e(n,t){return null!==n&&t&&t(new jOe(n)),ct(!0)}(s.route,i),function m2e(n,t,e){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(o=>function t2e(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(o)).filter(o=>null!==o).map(o=>dC(()=>ct(o.guards.map(l=>{const c=I0(o.node)??e,u=Lm(l,c);return Bd(function a2e(n){return n&&N0(n.canActivateChild)}(u)?u.canActivateChild(i,n):Xo(c,()=>u(i,n))).pipe(su())})).pipe(Pm())));return ct(r).pipe(Pm())}(n,s.path,e),function g2e(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return ct(!0);const s=i.map(r=>dC(()=>{const o=I0(t)??e,a=Lm(r,o);return Bd(function o2e(n){return n&&N0(n.canActivate)}(a)?a.canActivate(t,n):Xo(o,()=>a(t,n))).pipe(su())}));return ct(s).pipe(Pm())}(n,s.route,e))),su(s=>!0!==s,!0))}(i,r,n,t):ct(a)),ht(a=>({...e,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),ii(l=>{if(r.guardsResult=l.guardsResult,Tm(l.guardsResult))throw X$(0,l.guardsResult);const c=new POe(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),ks(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",Vo.GuardRejected),!1)),gI(l=>{if(l.guards.canActivateChecks.length)return ct(l).pipe(ii(c=>{const u=new IOe(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Gs(c=>{let u=!1;return ct(c).pipe(function B2e(n,t){return _t(e=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=e;if(!s.length)return ct(e);const r=new Set(s.map(l=>l.route)),o=new Set;for(const l of r)if(!o.has(l))for(const c of r7(l))o.add(c);let a=0;return Es(o).pipe(Lh(l=>r.has(l)?function H2e(n,t,e,i){const s=n.routeConfig,r=n._resolve;return void 0!==s?.title&&!$$(s)&&(r[x0]=s.title),function V2e(n,t,e,i){const s=qP(n);if(0===s.length)return ct({});const r={};return Es(s).pipe(_t(o=>function U2e(n,t,e,i){const s=I0(t)??i,r=Lm(n,s);return Bd(r.resolve?r.resolve(t,e):Xo(s,()=>r(t,e)))}(n[o],t,e,i).pipe(su(),ii(a=>{r[o]=a}))),$P(1),function eOe(n){return t=>t.lift(new tOe(n))}(r),Dm(o=>t7(o)?Sl:jh(o)))}(r,n,t,i).pipe(ht(o=>(n._resolvedData=o,n.data=iI(n,n.parent,e).resolve,null)))}(l,i,n,t):(l.data=iI(l,l.parent,n).resolve,ct(void 0))),ii(()=>a++),$P(1),_t(l=>a===o.size?ct(e):Sl))})}(this.paramsInheritanceStrategy,this.environmentInjector),ii({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",Vo.NoDataFromResolver)}}))}),ii(c=>{const u=new AOe(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),gI(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(ii(h=>{u.component=h}),ht(()=>{})));for(const h of u.children)d.push(...c(h));return d};return Yy(c(l.targetSnapshot.root)).pipe(bD(null),pi(1))}),gI(()=>this.afterPreactivation()),Gs(()=>{const{currentSnapshot:l,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Es(u).pipe(ht(()=>r)):ct(r)}),ht(l=>{const c=function UOe(n,t,e){const i=P0(n,t._root,e?e._root:void 0);return new U$(i,t)}(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,r}),ii(()=>{this.events.next(new QP)}),((n,t,e,i)=>ht(s=>(new QOe(t,s.targetRouterState,s.currentRouterState,e,i).activate(n),s)))(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),pi(1),ii({next:l=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ru(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{o=!0}}),qe(this.transitionAbortSubject.pipe(ii(l=>{throw l}))),ag(()=>{!o&&!a&&this.cancelNavigationTransition(r,"",Vo.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Dm(l=>{if(a=!0,J$(l))this.events.next(new Em(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),function WOe(n){return J$(n)&&Tm(n.url)}(l)?this.events.next(new eI(l.url)):r.resolve(!1);else{this.events.next(new OD(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0));try{r.resolve(e.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return Sl}))}))}cancelNavigationTransition(e,i,s){const r=new Em(e.id,this.urlSerializer.serialize(e.extractedUrl),i,s);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function X2e(n){return n!==O0}let Z2e=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>fe(Q2e),providedIn:"root"})}return n})();class J2e{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Q2e=(()=>{class n extends J2e{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),u7=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:()=>fe(eLe),providedIn:"root"})}return n})(),eLe=(()=>{class n extends u7{constructor(){super(...arguments),this.location=fe(Eh),this.urlSerializer=fe(Pf),this.options=fe(Am,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=fe(_I),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Sm,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=z$(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{"popstate"===i.type&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof ED)this.stateMemento=this.createStateMemento();else if(e instanceof km)this.rawUrlTree=i.initialUrl;else if(e instanceof B$){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(s,i)}}else e instanceof QP?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof Em&&(e.code===Vo.GuardRejected||e.code===Vo.NoDataFromResolver)?this.restoreHistory(i):e instanceof OD?this.restoreHistory(i,!0):e instanceof ru&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){const s=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl){const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(s,"",o)}else{const r={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(s,"",r)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-this.browserPageId;0!==r?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&0===r&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var F0=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(F0||{});function d7(n,t){n.events.pipe(ks(e=>e instanceof ru||e instanceof Em||e instanceof OD||e instanceof km),ht(e=>e instanceof ru||e instanceof km?F0.COMPLETE:e instanceof Em&&(e.code===Vo.Redirect||e.code===Vo.SupersededByNewNavigation)?F0.REDIRECTING:F0.FAILED),ks(e=>e!==F0.REDIRECTING),pi(1)).subscribe(()=>{t()})}function tLe(n){throw n}const nLe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},iLe={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Yn=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=fe(rY),this.stateManager=fe(u7),this.options=fe(Am,{optional:!0})||{},this.pendingTasks=fe(ju),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=fe(RD),this.urlSerializer=fe(Pf),this.location=fe(Eh),this.urlHandlingStrategy=fe(_I),this._events=new Zt,this.errorHandler=this.options.errorHandler||tLe,this.navigated=!1,this.routeReuseStrategy=fe(Z2e),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=fe(Rm,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!fe(LD,{optional:!0}),this.eventsSubscription=new hi,this.isNgZoneEnabled=fe(sn)instanceof sn&&sn.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(i=>{try{const s=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(null!==s&&null!==r)if(this.stateManager.handleRouterEvent(i,r),i instanceof Em&&i.code!==Vo.Redirect&&i.code!==Vo.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ru)this.navigated=!0;else if(i instanceof eI){const o=this.urlHandlingStrategy.merge(i.url,s.currentRawUrl),a={info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||X2e(s.source)};this.scheduleNavigation(o,O0,null,a,{resolve:s.resolve,reject:s.reject,promise:s.promise})}(function rLe(n){return!(n instanceof QP||n instanceof eI)})(i)&&this._events.next(i)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),O0,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,s){const r={replaceUrl:!0},o=s?.navigationId?s:null;if(s){const l={...s};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,o,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(uI),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){const{relativeTo:s,queryParams:r,fragment:o,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:o;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...r};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}null!==u&&(u=this.removeEmptyProps(u));try{d=I$(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),d=this.currentUrlTree.root}return A$(d,e,u,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const s=Tm(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(r,O0,null,i)}navigate(e,i={skipLocationChange:!1}){return function sLe(n){for(let t=0;t<n.length;t++)if(null==n[t])throw new Oe(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let s;if(s=!0===i?{...nLe}:!1===i?{...iLe}:i,Tm(e))return D$(this.currentUrlTree,e,s);const r=this.parseUrl(e);return D$(this.currentUrlTree,r,s)}removeEmptyProps(e){return Object.entries(e).reduce((i,[s,r])=>(null!=r&&(i[s]=r),i),{})}scheduleNavigation(e,i,s,r,o){if(this.disposed)return Promise.resolve(!1);let a,l,c;o?(a=o.resolve,l=o.reject,c=o.promise):c=new Promise((d,h)=>{a=d,l=h});const u=this.pendingTasks.add();return d7(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),gr=(()=>{class n{constructor(e,i,s,r,o,a){this.router=e,this.route=i,this.tabIndexAttribute=s,this.renderer=r,this.el=o,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Zt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof ru&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,s,r,o){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==e||i||s||r||o||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const e=this.urlTree;this.href=null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;const i=null===this.href?null:function qR(n,t,e){return function tK(n,t){return"src"===t&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===t&&("base"===n||"link"===n)?$R:qn}(t,e)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){const s=this.renderer,r=this.el.nativeElement;null!==i?s.setAttribute(r,e,i):s.removeAttribute(r,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn),W(pr),Pu("tabindex"),W(bc),W(gn),W($u))};static#t=this.\u0275dir=rt({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,s){1&i&&Le("click",function(o){return s.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&i&&Kn("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[bn.HasDecoratorInputTransform,"preserveFragment","preserveFragment",ng],skipLocationChange:[bn.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",ng],replaceUrl:[bn.HasDecoratorInputTransform,"replaceUrl","replaceUrl",ng],routerLink:"routerLink"},standalone:!0,features:[RF,Ut]})}return n})(),h7=(()=>{class n{get isActive(){return this._isActive}constructor(e,i,s,r,o){this.router=e,this.element=i,this.renderer=s,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ne,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof ru&&this.update()})}ngAfterContentInit(){ct(this.links.changes,ct(null)).pipe(cg()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Es(e).pipe(cg()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){const i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(s=>!!s)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){const i=function oLe(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{const r=s.urlTree;return!!r&&e.isActive(r,i)}}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn),W(gn),W(bc),W(Dr),W(gr,8))};static#t=this.\u0275dir=rt({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(i,s,r){if(1&i&&ni(r,gr,5),2&i){let o;ln(o=cn())&&(s.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ut]})}return n})();class f7{}let aLe=(()=>{class n{constructor(e,i,s,r,o){this.router=e,this.injector=s,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ks(e=>e instanceof ru),Lh(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const s=[];for(const r of i){r.providers&&!r._injector&&(r._injector=_b(r.providers,e,`Route: ${r.path}`));const o=r._injector??e,a=r._loadedInjector??o;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&s.push(this.preloadConfig(o,r)),(r.children||r._loadedRoutes)&&s.push(this.processRoutes(a,r.children??r._loadedRoutes))}return Es(s).pipe(cg())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let s;s=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):ct(null);const r=s.pipe(_t(o=>null===o?ct(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return i.loadComponent&&!i._loadedComponent?Es([r,this.loader.loadComponent(i)]).pipe(cg()):r})}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(gY),Ve(ys),Ve(f7),Ve(mI))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const yI=new dt("");let p7=(()=>{class n{constructor(e,i,s,r,o={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=s,this.zone=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=fe(ys),o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ED?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ru?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof km&&e.code===kD.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof H$&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){var s=this;this.zone.runOutsideAngular(g(function*(){yield new Promise(r=>{setTimeout(()=>{r()}),_T(()=>{r()},{injector:s.environmentInjector})}),s.zone.run(()=>{s.transitions.events.next(new H$(e,"popstate"===s.lastSource?s.store[s.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){$S()};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function ql(n,t){return{\u0275kind:n,\u0275providers:t}}function m7(){const n=fe(ls);return t=>{const e=n.get(Dl);if(t!==e.components[0])return;const i=n.get(Yn),s=n.get(_7);1===n.get(vI)&&i.initialNavigation(),n.get(y7,null,nn.Optional)?.setUpPreloading(),n.get(yI,null,nn.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const _7=new dt("",{factory:()=>new Zt}),vI=new dt("",{providedIn:"root",factory:()=>1}),y7=new dt("");function dLe(n){return ql(0,[{provide:y7,useExisting:aLe},{provide:f7,useExisting:n}])}function fLe(n){return ql(9,[{provide:l7,useValue:q2e},{provide:c7,useValue:{skipNextTransition:!!n?.skipInitialTransition,...n}}])}const v7=new dt("ROUTER_FORROOT_GUARD"),pLe=[Eh,{provide:Pf,useClass:CD},Yn,L0,{provide:pr,useFactory:function g7(n){return n.routerState.root},deps:[Yn]},mI,[]];let If=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[pLe,[],{provide:Rm,multi:!0,useValue:e},{provide:v7,useFactory:yLe,deps:[[Yn,new wa,new _u]]},{provide:Am,useValue:i||{}},i?.useHash?{provide:$u,useClass:Zne}:{provide:$u,useClass:PE},{provide:yI,useFactory:()=>{const n=fe(ase),t=fe(sn),e=fe(Am),i=fe(RD),s=fe(Pf);return e.scrollOffset&&n.setOffset(e.scrollOffset),new p7(s,i,n,t,e)}},i?.preloadingStrategy?dLe(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?vLe(i):[],i?.bindToComponentInputs?ql(8,[q$,{provide:LD,useExisting:q$}]).\u0275providers:[],i?.enableViewTransitions?fLe().\u0275providers:[],[{provide:b7,useFactory:m7},{provide:yE,multi:!0,useExisting:b7}]]}}static forChild(e){return{ngModule:n,providers:[{provide:Rm,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(v7,8))};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({})}return n})();function yLe(n){return"guarded"}function vLe(n){return["disabled"===n.initialNavigation?ql(3,[{provide:mE,multi:!0,useFactory:()=>{const t=fe(Yn);return()=>{t.setUpLocationChangeListener()}}},{provide:vI,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?ql(2,[{provide:vI,useValue:0},{provide:mE,multi:!0,deps:[ls],useFactory:t=>{const e=t.get(Kne,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const s=t.get(Yn),r=t.get(_7);d7(s,()=>{i(!0)}),t.get(RD).afterPreactivation=()=>(i(!0),r.closed?ct(void 0):r),s.initialNavigation()}))}}]).\u0275providers:[]]}const b7=new dt("");let Dt=(()=>{class n{constructor(){this.unsubscribe=new Zt}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ng-component"]],decls:0,vars:0,template:function(i,s){},encapsulation:2})}return n})();var vi=function(n){return n.SEO="seo",n.BusinessCitations="businesscitations",n.BusinessProfileManagement="businessprofilemanagement",n.ProfessionalBacklink="professionalbacklink",n}(vi||{});const Y0=[{name:"Deutsch",abbreviation:"de"},{name:"English",abbreviation:"en"},{name:"English - Australian",abbreviation:"en-AU"},{name:"English - UK",abbreviation:"en-GB"},{name:"Espa\xf1ol",abbreviation:"es"},{name:"Fran\xe7ais",abbreviation:"fr"},{name:"Fran\xe7ais - Canada",abbreviation:"fr-CA"},{name:"Nederlands",abbreviation:"nl"},{name:"Suomi",abbreviation:"fi"}];var w7=function(n){return n.english="English",n}(w7||{});const C7=["en","en-AU","en-GB"];let es=(()=>{class n{constructor(e,i,s){this.template=e,this.viewContainer=i,this.sessionService=s,this.hasView=!1}set hideKey(e){this.viewContainer.clear(),this.sessionService.siteConfig.subscribe(i=>{let s=i&&i.hiddenContent.indexOf(e)>=0;this.hasView||s?s&&this.hasView&&(this.viewContainer.clear(),this.hasView=!1):(this.viewContainer.createEmbeddedView(this.template),this.hasView=!0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Ti),W(Us),W(Et))};static#t=this.\u0275dir=rt({type:n,selectors:[["","hideKey",""]],inputs:{hideKey:"hideKey"}})}return n})();V(11489),V(37726),V(1670),V(34208),V(46668);var ti=V(39545),Kl=V.n(ti);function wLe(n,t){if(1&n&&(D(0,"option",2),N(1),M()),2&n){const e=t.$implicit;R("value",e.abbreviation),m(),ve(" ",e.name,"")}}let M7=(()=>{class n extends Dt{constructor(e,i){super(),this.translate=e,this.sessionService=i,this.lang=new Gt(null),this.languages=Y0,this.defaultLanguage=Y0.find(l=>l.name===w7.english).abbreviation,this.translate.setDefaultLang(this.defaultLanguage),this.translate.addLangs(Y0.map(l=>l.abbreviation)),this.translate.defaultLang=this.defaultLanguage;const s=i.locale,r=s?s.substr(0,2).toLowerCase():"",o=Y0.some(l=>s&&l.abbreviation.toLowerCase()===s.toLowerCase()),a=Y0.some(l=>s&&l.abbreviation.toLowerCase()===r);this.lang.next(o?s:a?r:this.defaultLanguage)}ngOnInit(){this.lang.pipe(qe(this.unsubscribe)).subscribe(e=>{e||(e=this.defaultLanguage),this.sessionService.locale!==e&&(this.sessionService.locale=e,this.reload()),this.translate.use(e),ti.locale(e)}),this.translate.onLangChange.pipe(qe(this.unsubscribe)).subscribe(e=>{this.change(e.lang)})}change(e){this.lang.next(e)}reload(){window.location.reload()}static#e=this.\u0275fac=function(i){return new(i||n)(W(rr),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-language-selector"]],features:[Ue],decls:3,vars:4,consts:[[1,"form-select",2,"width","100%",3,"change","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,s){1&i&&(D(0,"select",0),Y(1,"async"),Le("change",function(o){return s.change(o.target.value)}),re(2,wLe,2,2,"option",1),M()),2&i&&(R("ngModel",B(1,2,s.lang)),m(2),R("ngForOf",s.languages))},dependencies:[zs,pg,gg,id,Tr,Vh,Dj]})}return n})();const CLe=n=>({"custom-sidebar-nav-with-header":n}),MLe=()=>["/seo/dashboard"],DLe=()=>["/"],bI=n=>({highlight:n});function xLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",15),Le("click",function(){ze(e);const s=K(3);return Ge(s.toggleFeature(s.Features.SEO))}),N(2),Y(3,"translate"),M()()}if(2&n){const e=K(3);m(),R("ngClass",Lt(4,bI,e.featureVisibility[e.Features.SEO].isActive)),m(),le(B(3,2,"navigation_seo"))}}function SLe(n,t){1&n&&re(0,xLe,4,6,"li",14),2&n&&R("hideKey","SEO")}function TLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",15),Le("click",function(){ze(e);const s=K(3);return Ge(s.toggleFeature(s.Features.BusinessProfileManagement))}),N(2),Y(3,"translate"),M()()}if(2&n){const e=K(3);m(),R("ngClass",Lt(4,bI,e.featureVisibility[e.Features.BusinessProfileManagement].isActive)),m(),le(B(3,2,"navigation_business_profile_management"))}}function ELe(n,t){1&n&&re(0,TLe,4,6,"li",14),2&n&&R("hideKey","BusinessProfileManagement")}function kLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",15),Le("click",function(){ze(e);const s=K(2);return Ge(s.toggleFeature(s.Features.ProfessionalBacklink))}),N(2),Y(3,"translate"),M()()}if(2&n){const e=K(2);m(),R("ngClass",Lt(4,bI,e.featureVisibility[e.Features.ProfessionalBacklink].isActive)),m(),le(B(3,2,"navigation_backlink"))}}function OLe(n,t){if(1&n&&(D(0,"ul",12),re(1,SLe,1,1,"li",13)(2,ELe,1,1,"li",13)(3,kLe,4,6,"li",13),M()),2&n){const e=K();m(),Xn(1,e.featureVisibility[e.Features.SEO].hasFeature?1:-1),m(),Xn(2,e.featureVisibility[e.Features.BusinessProfileManagement].hasFeature?2:-1),m(),Xn(3,e.featureVisibility[e.Features.ProfessionalBacklink].hasFeature?3:-1)}}function LLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",17),Le("click",function(){return ze(e),Ge(K(4).onNavigation())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),le(B(3,1,"navigation_seo_dashboard")))}function PLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",18),Le("click",function(){return ze(e),Ge(K(4).onNavigation())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),le(B(3,1,"navigation_seo_keywords")))}function ILe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",19),Le("click",function(){return ze(e),Ge(K(4).onNavigation())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),le(B(3,1,"navigation_seo_work_history")))}function ALe(n,t){1&n&&(mn(0),D(1,"sup"),ee(2,"i",21),M(),_n())}function RLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",20),Le("click",function(){return ze(e),Ge(K(4).onNavigation())}),N(2),Y(3,"translate"),re(4,ALe,3,0,"ng-container",6),M()()}if(2&n){const e=K(4);m(2),ve("",B(3,2,"navigation_seo_analytics")," "),m(2),R("ngIf",!(null!=e.account&&e.account.hasGoogleAnalyticsAccess))}}function NLe(n,t){1&n&&(mn(0),re(1,LLe,4,3,"li",14)(2,PLe,4,3,"li",14)(3,ILe,4,3,"li",14)(4,RLe,5,4,"li",14),_n()),2&n&&(m(),R("hideKey","Seo-Dashboard"),m(),R("hideKey","Seo-Keywords"),m(),R("hideKey","Seo-Actions"),m(),R("hideKey","Seo-Analytics"))}function FLe(n,t){1&n&&re(0,NLe,5,4,"ng-container",11),2&n&&R("hideKey","SEO")}function YLe(n,t){if(1&n){const e=tt();D(0,"li",13)(1,"a",19),Le("click",function(){return ze(e),Ge(K(3).onNavigation())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),le(B(3,1,"navigation_seo_work_history")))}function jLe(n,t){1&n&&re(0,YLe,4,3,"li",14),2&n&&R("hideKey","Seo-Actions")}function BLe(n,t){if(1&n){const e=tt();mn(0),D(1,"li",13)(2,"a",22),Le("click",function(){return ze(e),Ge(K(3).onNavigation())}),N(3),Y(4,"translate"),M()(),D(5,"li",13)(6,"a",23),Le("click",function(){return ze(e),Ge(K(3).onNavigation())}),N(7),Y(8,"translate"),M()(),_n()}2&n&&(m(3),le(B(4,2,"navigation_business_citations")),m(4),le(B(8,4,"navigation_business_citations_sync_history")))}function HLe(n,t){1&n&&re(0,BLe,9,6,"ng-container",11),2&n&&R("hideKey","Seo-Business-Citations")}function VLe(n,t){if(1&n){const e=tt();mn(0),D(1,"li",13)(2,"a",22),Le("click",function(){return ze(e),Ge(K(3).onNavigation())}),N(3),Y(4,"translate"),M()(),D(5,"li",13)(6,"a",23),Le("click",function(){return ze(e),Ge(K(3).onNavigation())}),N(7),Y(8,"translate"),M()(),_n()}2&n&&(m(3),le(B(4,2,"navigation_business_citations")),m(4),le(B(8,4,"navigation_business_citations_sync_history")))}function ULe(n,t){1&n&&re(0,VLe,9,6,"ng-container",11),2&n&&R("hideKey","BusinessProfileManagement")}function zLe(n,t){if(1&n&&(D(0,"div")(1,"ul",16),re(2,FLe,1,1,"ng-container")(3,jLe,1,1)(4,HLe,1,1,"ng-container")(5,ULe,1,1),M()()),2&n){const e=K();m(2),Xn(2,e.featureVisibility[e.Features.SEO].isActive?2:e.featureVisibility[e.Features.ProfessionalBacklink].isActive?3:-1),m(2),Xn(4,e.featureVisibility[e.Features.BusinessCitations].hasFeature&&e.featureVisibility[e.Features.SEO].isActive&&!e.hideSeoListings?4:e.featureVisibility[e.Features.BusinessProfileManagement].isActive&&!e.hideBusinessCitations?5:-1)}}function GLe(n,t){if(1&n){const e=tt();D(0,"a",30),Le("click",function(){return ze(e),Ge(K(4).onNavigation())}),N(1),Y(2,"translate"),M()}2&n&&(m(),le(B(2,1,"profile")))}function WLe(n,t){if(1&n&&(D(0,"span"),re(1,GLe,3,3,"a",29),M()),2&n){const e=K(3);m(),R("ngIf",e.sessionIsReady)}}function $Le(n,t){if(1&n){const e=tt();D(0,"a",28),Le("click",function(){return ze(e),Ge(K(3).switchAccounts())}),N(1),Y(2,"translate"),M()}2&n&&(m(),le(B(2,1,"switch_accounts")))}function qLe(n,t){if(1&n){const e=tt();D(0,"div",2)(1,"h6",26),N(2),M(),re(3,WLe,2,1,"span",11)(4,$Le,3,3,"a",27),D(5,"a",28),Le("click",function(){return ze(e),Ge(K(2).logoff())}),N(6),Y(7,"translate"),M()()}if(2&n){const e=K(2);m(2),ve("",null==e.account?null:e.account.name," "),m(),R("hideKey","Header-Profile"),m(),R("ngIf",e.canSwitchAccounts),m(2),le(B(7,4,"log_off"))}}function KLe(n,t){if(1&n&&(D(0,"div",24),re(1,qLe,8,6,"div",25),M()),2&n){const e=K();m(),R("ngIf",e.account)}}function XLe(n,t){if(1&n&&(D(0,"span")(1,"h6",32),N(2),Y(3,"date"),ee(4,"br"),M()()),2&n){const e=K(2);m(2),ir("\xa9",On(3,2,e.today,"yyyy")," ",null==e.siteConfig?null:e.siteConfig.partnerName," ")}}function ZLe(n,t){1&n&&(D(0,"div")(1,"small",32),N(2),Y(3,"translate"),M()()),2&n&&(m(2),le(B(3,1,"message_copyright_notice")))}function JLe(n,t){1&n&&(D(0,"div")(1,"a",33)(2,"small",32),N(3),Y(4,"translate"),M()()()),2&n&&(m(3),le(B(4,1,"privacy_policy")))}function QLe(n,t){1&n&&(mn(0),D(1,"a",34)(2,"small",32),N(3,"Accessibility Statement"),M()(),_n())}function ePe(n,t){if(1&n&&(D(0,"div"),re(1,QLe,4,0,"ng-container",6),M()),2&n){const e=K(2);m(),R("ngIf",e.isEnglishLanguage)}}function tPe(n,t){1&n&&(D(0,"div",31),re(1,XLe,5,5,"span",11)(2,ZLe,4,3,"div",11)(3,JLe,5,3,"div",11)(4,ePe,2,1,"div",11),M()),2&n&&(m(),R("hideKey","Sidebar-CopyrightNotice"),m(),R("hideKey","Sidebar-CopyrightNoticeBlock"),m(),R("hideKey","Sidebar-PrivacyPolicy"),m(),R("hideKey","Sidebar-Accessibility"))}function nPe(n,t){1&n&&ee(0,"app-language-selector")}let iPe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.router=e,this.elementRef=i,this.sessionService=s,this.navigated=new Ne,this.Features=vi,this.today=new Date,this.hideSeoListings=!0,this.hideBusinessCitations=!0,this.featureVisibility={[vi.SEO]:{hasFeature:!1,isActive:!1},[vi.BusinessCitations]:{hasFeature:!1,isActive:!1},[vi.BusinessProfileManagement]:{hasFeature:!1,isActive:!1},[vi.ProfessionalBacklink]:{hasFeature:!1,isActive:!1}}}ngOnInit(){this.sessionService.isReady().pipe(qe(this.unsubscribe)).subscribe(e=>{this.sessionIsReady=e}),this.sessionService.siteConfig.pipe(qe(this.unsubscribe)).subscribe(e=>{if(this.siteConfig=e,this.siteConfig&&this.siteConfig.hiddenContent){const i="Seo-Business-Citations",s="BusinessProfileManagement";this.hideSeoListings=this.siteConfig.hiddenContent.some(r=>r===i),this.hideBusinessCitations=this.siteConfig.hiddenContent.some(r=>r===s),this.configureAccessibilityVisibility()}}),this.sessionService.isAuthorized().pipe(qe(this.unsubscribe)).subscribe(e=>{this.sessionIsAuthorized=e}),this.sessionService.canSwitchAccounts.pipe(qe(this.unsubscribe)).subscribe(e=>{this.canSwitchAccounts=e}),this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e,this.setFeatureVisbility(this.account)})}onNavigation(){this.navigated.emit(null)}logoff(){this.router.navigateByUrl("log-out")}switchAccounts(){this.navigated.emit(null),this.router.navigateByUrl("accounts")}toggleFeature(e){this.featureVisibility[e].isActive=!this.featureVisibility[e].isActive}setFeatureVisbility(e){if(e&&e.hasFeature){this.featureVisibility[vi.SEO].hasFeature=e.hasFeature(vi.SEO),this.featureVisibility[vi.BusinessCitations].hasFeature=e.hasFeature(vi.BusinessCitations),this.featureVisibility[vi.BusinessProfileManagement].hasFeature=e.hasFeature(vi.BusinessProfileManagement),this.featureVisibility[vi.ProfessionalBacklink].hasFeature=e.hasFeature(vi.ProfessionalBacklink);for(let i of Object.values(this.featureVisibility))i.isActive=i.hasFeature}}configureAccessibilityVisibility(){if(this.isAccessibilityWidgetAppended)return;this.isEnglishLanguage=-1!==C7.indexOf(this.sessionService.locale);const i=this.siteConfig.hiddenContent.some(s=>"SIDEBAR-ACCESSIBILITY"===s.toUpperCase());this.isEnglishLanguage&&!i&&!this.isAccessibilityWidgetAppended&&(this.isAccessibilityWidgetAppended=!0,this.appendAccessibilityWidget())}appendAccessibilityWidget(){const e=document.createElement("script");e.type="text/javascript",e.src="assets/accessibility.js",this.elementRef.nativeElement.appendChild(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn),W(gn),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-navigation"]],inputs:{hasExternalToolbar:"hasExternalToolbar"},outputs:{navigated:"navigated"},features:[Ue],decls:12,vars:12,consts:[["id","custom-sidebar",1,"d-flex","flex-column","h-100"],["id","custom-sidebar-nav",3,"ngClass"],[1,"text-center"],[3,"routerLink"],[1,"img-fluid","p-4",3,"src"],["class","nav justify-content-center",4,"ngIf"],[4,"ngIf"],[1,"mt-auto","p-2"],["class","d-md-none mb-4",4,"ngIf"],["class","text-center p-2",4,"ngIf"],[1,"p-2"],[4,"hideKey"],[1,"nav","justify-content-center"],[1,"nav-item"],["class","nav-item",4,"hideKey"],[1,"narrow","nav-link","active","text-light","custom-menu-item","clickable",3,"click","ngClass"],[1,"nav","flex-column","justify-content-center","text-center"],["routerLink","/seo/dashboard","routerLinkActive","current",1,"nav-link","text-light","custom-menu-item",3,"click"],["routerLink","/seo/keywords","routerLinkActive","current",1,"nav-link","text-light","custom-menu-item",3,"click"],["routerLink","/seo/work-history","routerLinkActive","current",1,"nav-link","text-light","custom-menu-item",3,"click"],["routerLink","/seo/analytics","routerLinkActive","current",1,"nav-link","text-light","custom-menu-item",3,"click"],[1,"fa","fa-circle","text-danger","status-icon"],["routerLink","/business-citations/local-listings","routerLinkActive","current",1,"nav-link","text-light","custom-menu-item",3,"click"],["routerLink","/business-citations/listings-sync-history","routerLinkActive","current",1,"nav-link","text-light","custom-menu-item",3,"click"],[1,"d-md-none","mb-4"],["class","text-center",4,"ngIf"],[1,"text-light","border","border-light","border-end-0","border-start-0","border-top-0","p-2"],["href","#","class","nav-link text-light custom-menu-item",3,"click",4,"ngIf"],["href","#",1,"nav-link","text-light","custom-menu-item",3,"click"],["class","nav-link text-light custom-menu-item","routerLink","/user/profile",3,"click",4,"ngIf"],["routerLink","/user/profile",1,"nav-link","text-light","custom-menu-item",3,"click"],[1,"text-center","p-2"],[1,"text-light"],["routerLink","/privacy-policy"],["routerLink","/accessibility-statement"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"nav",1)(2,"div",2)(3,"a",3),ee(4,"img",4),M()(),re(5,OLe,4,3,"ul",5)(6,zLe,6,2,"div",6),M(),D(7,"div",7),re(8,KLe,2,1,"div",8)(9,tPe,5,4,"div",9),D(10,"div",10),re(11,nPe,1,0,"app-language-selector",11),M()()()),2&i&&(m(),R("ngClass",Lt(8,CLe,s.hasExternalToolbar)),m(2),R("routerLink",s.sessionIsAuthorized?xh(10,MLe):xh(11,DLe)),m(),He("src",null==s.siteConfig?null:s.siteConfig.logoSmallUrl,qn),m(),R("ngIf",s.sessionIsReady),m(),R("ngIf",s.sessionIsAuthorized),m(2),R("ngIf",s.sessionIsReady),m(),R("ngIf",null==s.siteConfig?null:s.siteConfig.partnerName),m(2),R("hideKey","Sidebar-LanguageSelector"))},dependencies:[gr,h7,es,M7,xr,wt,et,Xi],styles:[".highlight[_ngcontent-%COMP%]{border-bottom:3px solid #007bff}.nav-link.narrow[_ngcontent-%COMP%]{margin:.5rem 1rem;padding:0 .3rem}.current[_ngcontent-%COMP%]{background-color:#666}.custom-sidebar-nav-with-header[_ngcontent-%COMP%]{margin-top:40px!important}.status-icon[_ngcontent-%COMP%]{font-size:12px}.clickable[_ngcontent-%COMP%]{cursor:pointer}\n\n/*# sourceMappingURL=navigation.component.css.map*/"]})}return n})(),sPe=(()=>{class n{constructor(e){this._elementRef=e,this.clickOutside=new Ne}onClick(e,i){i&&(this._elementRef.nativeElement.contains(i)||this.clickOutside.emit(e))}static#e=this.\u0275fac=function(i){return new(i||n)(W(gn))};static#t=this.\u0275dir=rt({type:n,selectors:[["","clickOutside",""]],hostBindings:function(i,s){1&i&&Le("click",function(o){return s.onClick(o,o.target)},0,JR)},outputs:{clickOutside:"clickOutside"}})}return n})();function rPe(n,t){1&n&&(D(0,"span"),N(1,","),M())}function oPe(n,t){if(1&n&&(D(0,"span"),N(1),M()),2&n){const e=K(2).$implicit;m(),ve(" ",e.firstName,"")}}function aPe(n,t){1&n&&(D(0,"span")(1,"span",11)(2,"span"),N(3),Y(4,"translate"),M(),re(5,rPe,2,0,"span",10)(6,oPe,2,1,"span",10),N(7,"! "),M()()),2&n&&(m(3),le(B(4,3,"welcome_back")),m(2),R("hideKey","Header-Comma"),m(),R("hideKey","Header-Name"))}function lPe(n,t){1&n&&(D(0,"div"),re(1,aPe,8,5,"span",10),M()),2&n&&(m(),R("hideKey","Header-Welcome"))}function cPe(n,t){1&n&&(mn(0),D(1,"li",12),ee(2,"div",13),M(),_n())}function uPe(n,t){1&n&&(D(0,"button",15),ee(1,"span",16),N(2),Y(3,"translate"),M()),2&n&&(m(2),ve(" ",B(3,1,"contact_us")," "))}function dPe(n,t){if(1&n&&(D(0,"li",12),re(1,uPe,4,3,"button",14),M()),2&n){const e=K(2);m(),R("ngIf",e.sessionIsReady)}}function hPe(n,t){if(1&n){const e=tt();D(0,"a",26),Le("click",function(){ze(e);const s=K(4);return Ge(s.isCollapsed=!s.isCollapsed)}),N(1),Y(2,"translate"),M()}2&n&&(m(),le(B(2,1,"profile")))}function fPe(n,t){if(1&n&&(D(0,"span"),re(1,hPe,3,3,"a",25),M()),2&n){const e=K(3);m(),R("ngIf",e.sessionIsReady)}}function pPe(n,t){if(1&n){const e=tt();D(0,"a",24),Le("click",function(){return ze(e),Ge(K(3).switchAccounts())}),N(1),Y(2,"translate"),M()}2&n&&(m(),le(B(2,1,"switch_accounts")))}function gPe(n,t){if(1&n){const e=tt();D(0,"li",17)(1,"a",18),Le("click",function(){ze(e);const s=K(2);return Ge(s.isCollapsed=!s.isCollapsed)}),ee(2,"span",19),M(),D(3,"div",20)(4,"div",21)(5,"h6",22),N(6),M(),re(7,fPe,2,1,"span",10)(8,pPe,3,3,"a",23),D(9,"a",24),Le("click",function(s){return ze(e),Ge(K(2).logoff(s))}),N(10),Y(11,"translate"),M()()()()}if(2&n){const e=K(2);m(4),R("ngbCollapse",e.isCollapsed),m(2),le(null==e.account?null:e.account.name),m(),R("hideKey","Header-Profile"),m(),R("ngIf",e.canSwitchAccounts),m(2),le(B(11,5,"log_off"))}}function mPe(n,t){if(1&n){const e=tt();D(0,"nav",1),Le("clickOutside",function(){return ze(e),Ge(K().clickedOutside())}),re(1,lPe,2,1,"div",2),D(2,"button",3),Le("click",function(){ze(e);const s=K();return Ge(s.isCollapsed=!s.isCollapsed)}),ee(3,"span",4),M(),ee(4,"img",5),D(5,"div",6)(6,"ul",7),re(7,cPe,3,0,"ng-container",2)(8,dPe,2,1,"li",8)(9,gPe,12,7,"li",9),M()()()}if(2&n){const e=K();m(),R("ngIf",e.user),m(3),He("src",null==e.siteConfig?null:e.siteConfig.logoSmallUrl,qn),m(),R("ngbCollapse",e.isCollapsed),m(2),R("ngIf",e.shouldAppendSurveyScript),m(),R("hideKey","Header-ContactUs"),m(),R("hideKey","Header-Profile-Menu")}}let _Pe=(()=>{class n extends Dt{set isCollapsed(e){this._isCollapsed=e,this.isCollapsedChange.emit(this._isCollapsed)}get isCollapsed(){return this._isCollapsed}ngOnInit(){this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e,this.shouldAppendSurveyScript=this.account&&this.account.partnerId===this.surveyPartnerId}),this.sessionService.siteConfig.pipe(qe(this.unsubscribe)).subscribe(e=>{this.siteConfig=e}),this.sessionService.isAuthorized().pipe(qe(this.unsubscribe)).subscribe(e=>{this.sessionIsAuthorized=e}),this.sessionService.isReady().pipe(qe(this.unsubscribe)).subscribe(e=>{this.sessionIsReady=e}),this.sessionService.canSwitchAccounts.pipe(qe(this.unsubscribe)).subscribe(e=>{this.canSwitchAccounts=e}),this.sessionService.user.pipe(qe(this.unsubscribe)).subscribe(e=>{this.user=e})}ngAfterViewInit(){this.shouldAppendSurveyScript&&this.appendSurveyScript()}constructor(e,i,s){super(),this.sessionService=e,this.router=i,this.elementRef=s,this._isCollapsed=!0,this.shouldAppendSurveyScript=!1,this.isSurveyScriptAppended=!1,this.surveyPartnerId=292,this.isCollapsedChange=new Ne}logoff(e){e.preventDefault(),this.isCollapsed=!1,this.router.navigateByUrl("log-out")}switchAccounts(){this.isCollapsed=!this.isCollapsed,this.router.navigateByUrl("accounts")}clickedOutside(){this.isCollapsed=!0}appendSurveyScript(){if(this.isSurveyScriptAppended)return;this.isSurveyScriptAppended=!0;const e=document.createElement("script");e.type="text/javascript",e.src="assets/survey.js",this.elementRef.nativeElement.appendChild(e)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et),W(Yn),W(gn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-header"]],inputs:{isCollapsed:"isCollapsed"},outputs:{isCollapsedChange:"isCollapsedChange"},features:[Ue],decls:1,vars:1,consts:[["id","custom-header","class","navbar navbar-light navbar-fixed-top navbar-expand-md mb-4 px-5 py-4",3,"clickOutside",4,"ngIf"],["id","custom-header",1,"navbar","navbar-light","navbar-fixed-top","navbar-expand-md","mb-4","px-5","py-4",3,"clickOutside"],[4,"ngIf"],["aria-controls","navbarContent","aria-expanded","true","aria-label","Toggle navigation","type","button",1,"btn-primary","navbar-toggler","mb-2","me-auto",3,"click"],[1,"fa","fa-bars"],[1,"img-fluid","d-md-none",3,"src"],["id","navbarContent",1,"navbar-collapse","collapse","w-100",3,"ngbCollapse"],[1,"navbar-nav","ms-auto"],["class","nav-item d-none d-lg-inline",4,"hideKey"],["class","nav-item dropdown",4,"hideKey"],[4,"hideKey"],["id","custom-welcome",1,"navbar-brand","d-none","d-md-inline","text-light"],[1,"nav-item","d-none","d-lg-inline"],["id","ZN_cCpILcXLHy2kXOd"],["class","btn btn-warning text-light","routerLink","/user/contact-us",4,"ngIf"],["routerLink","/user/contact-us",1,"btn","btn-warning","text-light"],[1,"fa","fa-envelope"],[1,"nav-item","dropdown"],["data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"nav-link","dropdown-toggle","text-light","ps-4","d-none","d-lg-block","custom-profile-icon",3,"click"],[1,"fa","fa-user","text-light","custom-profile-icon"],[1,"d-none","d-md-block"],["aria-labelledby","navbarDropdownMenuLink",1,"dropdown-menu","dropdown-menu-end",3,"ngbCollapse"],[1,"border","border-secondary","border-end-0","border-start-0","border-top-0","p-2","ps-4"],["class","dropdown-item btn btn-link nav-btn",3,"click",4,"ngIf"],[1,"dropdown-item","btn","btn-link","nav-btn",3,"click"],["class","dropdown-item","routerLink","/user/profile",3,"click",4,"ngIf"],["routerLink","/user/profile",1,"dropdown-item",3,"click"]],template:function(i,s){1&i&&re(0,mPe,10,6,"nav",0),2&i&&R("ngIf",s.sessionIsAuthorized)},dependencies:[gr,es,sPe,wt,Jw,et],styles:[".nav-btn[_ngcontent-%COMP%]{color:#212529!important}.dropdown-menu-end[_ngcontent-%COMP%]{right:0!important;left:auto!important}\n\n/*# sourceMappingURL=header.component.css.map*/"]})}return n})(),ND=(()=>{class n{constructor(){this._excludedRequests=["reload.json"],this._requestCount=0,this._isLoading=new Zt}get isLoading(){return this._isLoading.asObservable()}get requestCount(){return this._requestCount}intercept(e,i){return this.isUrlExcluded(e.url)||this._requestCount++,this.requestCount>0&&this._isLoading.next(!0),i.handle(e).pipe(ht(s=>s),Dm(s=>jh(s)),ag(()=>{this.isUrlExcluded(e.url)||this._requestCount--,0===this.requestCount&&this._isLoading.next(!1)}))}isUrlExcluded(e){for(let i=0;i<this._excludedRequests.length;i++)if(e.indexOf(this._excludedRequests[i])>=0)return!0;return!1}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),vPe={provide:ND,useFactory:function yPe(){return new ND}};function D7(n){let t=arguments.length,e=Fk;Oh(arguments[arguments.length-1])&&(e=arguments[arguments.length-1],t--);let i=null;t>=2&&(i=arguments[1]);let s=Number.POSITIVE_INFINITY;return t>=3&&(s=arguments[2]),function(o){return o.lift(new bPe(n,i,s,e))}}class bPe{constructor(t,e,i,s){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=i,this.scheduler=s}call(t,e){return e.subscribe(new CPe(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class wPe{constructor(){this.buffer=[]}}class CPe extends Mn{constructor(t,e,i,s,r){super(t),this.bufferTimeSpan=e,this.bufferCreationInterval=i,this.maxBufferSize=s,this.scheduler=r,this.contexts=[];const o=this.openContext();if(this.timespanOnly=null==i||i<0,this.timespanOnly)this.add(o.closeAction=r.schedule(x7,e,{subscriber:this,context:o,bufferTimeSpan:e}));else{const l={bufferTimeSpan:e,bufferCreationInterval:i,subscriber:this,scheduler:r};this.add(o.closeAction=r.schedule(S7,e,{subscriber:this,context:o})),this.add(r.schedule(MPe,i,l))}}_next(t){const e=this.contexts,i=e.length;let s;for(let r=0;r<i;r++){const o=e[r],a=o.buffer;a.push(t),a.length==this.maxBufferSize&&(s=o)}s&&this.onBufferFull(s)}_error(t){this.contexts.length=0,super._error(t)}_complete(){const{contexts:t,destination:e}=this;for(;t.length>0;){const i=t.shift();e.next(i.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(t){this.closeContext(t);const e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();const i=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(x7,i,{subscriber:this,context:t,bufferTimeSpan:i}))}}openContext(){const t=new wPe;return this.contexts.push(t),t}closeContext(t){this.destination.next(t.buffer);const e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)}}function x7(n){const t=n.subscriber,e=n.context;e&&t.closeContext(e),t.closed||(n.context=t.openContext(),n.context.closeAction=this.schedule(n,n.bufferTimeSpan))}function MPe(n){const{bufferCreationInterval:t,bufferTimeSpan:e,subscriber:i,scheduler:s}=n,r=i.openContext();i.closed||(i.add(r.closeAction=s.schedule(S7,e,{subscriber:i,context:r})),this.schedule(n,t))}function S7(n){const{subscriber:t,context:e}=n;t.closeContext(e)}function DPe(n,t){1&n&&ee(0,"i",3)}function xPe(n,t){1&n&&ee(0,"img",4),2&n&&He("src",K().siteConfig.loadingIconUrl,qn)}let SPe=(()=>{class n extends Dt{constructor(e,i){super(),this.sessionService=i,this.isLoading=!1,e.isLoading.pipe(D7(500),qe(this.unsubscribe)).subscribe(s=>{!s||!s.length||(this.isLoading=s[s.length-1])})}ngOnInit(){this.sessionService.siteConfig.pipe(qe(this.unsubscribe)).subscribe(e=>{this.siteConfig=e})}static#e=this.\u0275fac=function(i){return new(i||n)(W(ND),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-loading-overlay"]],features:[Ue],decls:3,vars:3,consts:[[1,"overlay"],["class","loading-icon loading-icon-font fa fa-cog",4,"ngIf"],["class","loading-icon",3,"src",4,"ngIf"],[1,"loading-icon","loading-icon-font","fa","fa-cog"],[1,"loading-icon",3,"src"]],template:function(i,s){1&i&&(D(0,"div",0),re(1,DPe,1,0,"i",1)(2,xPe,1,1,"img",2),M()),2&i&&(R("@visibilityChanged",s.isLoading),m(),R("ngIf",s.siteConfig&&!s.siteConfig.loadingIconUrl),m(),R("ngIf",null==s.siteConfig?null:s.siteConfig.loadingIconUrl))},dependencies:[wt],styles:[".overlay[_ngcontent-%COMP%]{background:#0009;position:fixed;height:100%;width:100%;z-index:5000;top:0;left:0;float:left;text-align:center}.loading-icon[_ngcontent-%COMP%]{position:absolute;height:100px;width:100px;top:50%;left:50%;margin-left:-50px;margin-top:-50px;animation:_ngcontent-%COMP%_pulse 1s ease-in-out infinite}.loading-icon-font[_ngcontent-%COMP%]{font-size:100px;color:#d3d3d3}@keyframes _ngcontent-%COMP%_pulse{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}\n\n/*# sourceMappingURL=loading-overlay.component.css.map*/"],data:{animation:[T4("visibilityChanged",[uk("false",Rh({transform:"scale(0)"}))])]}})}return n})(),TPe=(()=>{class n extends Dt{constructor(e){super(),this.sessionService=e}ngOnInit(){const e=document.createElement("script");e.src="//"+this.config.productNavBarJs,e.id="external-toolbar",e.setAttribute("data-url",this.config.productNavBarDataUrl),e.setAttribute("data-account-id",this.config.accountId),e.setAttribute("data-app-id",this.config.appId),document.body.appendChild(e),this.sessionService.setExternalToolBarConfig(this.config)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-external-toolbar"]],inputs:{config:"config"},features:[Ue],decls:1,vars:0,template:function(i,s){1&i&&ee(0,"div")}})}return n})();function EPe(n,t){1&n&&ee(0,"app-external-toolbar",9),2&n&&R("config",K(2).externalToolbarConfig)}function kPe(n,t){if(1&n){const e=tt();D(0,"app-header",10),zu("isCollapsedChange",function(s){ze(e);const r=K(2);return Dh(r.isCollapsed,s)||(r.isCollapsed=s),Ge(s)}),M()}2&n&&Uu("isCollapsed",K(2).isCollapsed)}function OPe(n,t){1&n&&(D(0,"div",0),ee(1,"router-outlet"),M())}function LPe(n,t){if(1&n){const e=tt();D(0,"div",3)(1,"app-navigation",4),Le("navigated",function(){return ze(e),Ge(K().onNavigated())}),M(),re(2,EPe,1,1,"app-external-toolbar",5),D(3,"main",6),ee(4,"app-loading-overlay"),re(5,kPe,1,1,"app-header",7)(6,OPe,2,0,"div",8),M()()}if(2&n){const e=K();wn("active",!e.isCollapsed),m(),R("hasExternalToolbar",e.hasExternalToolbar),m(),R("ngIf",e.hasExternalToolbar),m(3),R("ngIf",e.isLoaded),m(),R("ngIf",e.isLoaded)}}function PPe(n,t){1&n&&ee(0,"router-outlet")}let IPe=(()=>{class n{constructor(e,i,s,r){this.sessionService=e,this.accountService=i,this.route=s,this.location=r,this.title="Reporting",this.isCollapsed=!0,this.isLoaded=!1,this.externalToolbarConfig=null,this.hasExternalToolbar=!1,this.underMaintenance=!1}ngOnInit(){this.location.path().toLocaleLowerCase().startsWith("/maintenance")&&(this.underMaintenance=!0),this.accountService.getSiteConfig().pipe(_t(e=>(this.sessionService.setSiteConfig(e,"site"),this.getExternalToolbarConfig()))).subscribe(e=>{this.externalToolbarConfig=e,e&&(this.hasExternalToolbar=!0),this.isLoaded=!0})}getExternalToolbarConfig(){return this.route.queryParams.pipe(_t(e=>this.sessionService.externalToolbarConfig.pipe(ht(i=>{let s;return s=i,e.appId&&(s={appId:e.appId,accountId:e.accountId,productNavBarJs:e.productNavBarJs,productNavBarDataUrl:e.productNavBarDataUrl}),s}))))}onNavigated(){this.isCollapsed=!0}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et),W(yD),W(pr),W(Eh))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-root"]],decls:3,vars:2,consts:[[1,"container-fluid"],["class","row row-offcanvas row-offcanvas-left",3,"active",4,"ngIf"],[4,"ngIf"],[1,"row","row-offcanvas","row-offcanvas-left"],[1,"col-6","col-md-2","bg-dark","sidebar","sidebar-offcanvas",2,"z-index","5000",3,"navigated","hasExternalToolbar"],[3,"config",4,"ngIf"],["id","main","role","main",1,"col-12","ms-sm-auto","col-md-10","pt-0","pe-0","ps-0","main-canvas"],[3,"isCollapsed","isCollapsedChange",4,"ngIf"],["class","container-fluid",4,"ngIf"],[3,"config"],[3,"isCollapsedChange","isCollapsed"]],template:function(i,s){1&i&&(D(0,"div",0),re(1,LPe,7,6,"div",1)(2,PPe,1,0,"router-outlet",2),M()),2&i&&(m(),R("ngIf",!s.underMaintenance),m(),R("ngIf",s.underMaintenance))},dependencies:[wt,lI,iPe,_Pe,SPe,TPe],styles:[".body{background-color:#eef4f9}h1{margin-bottom:20px}.c-fa{opacity:.5;font-size:2rem;vertical-align:middle}.tile-value{font-size:4.5em;line-height:1.4}#product-navigation-bar-container{z-index:10000}.sidebar{padding-left:0;padding-right:0;position:fixed;top:0;bottom:0}.sidebar .nav{margin-bottom:20px}.sidebar .nav-item+.nav-item{margin-left:0}.sidebar .nav-link{border-radius:0}.no-padding{padding:0}.flex-container{display:flex;flex-wrap:wrap}.flex-box{flex:1;min-width:350px;padding:5px}@media screen and (max-width: 767px){.row-offcanvas{overflow:hidden}.row-offcanvas-left,.row-offcanvas-left.active .sidebar-offcanvas{left:0%}.row-offcanvas-left.active .main-canvas{left:50%;overflow:hidden}.sidebar-offcanvas{left:-50%;top:0;width:50%;transition:all .25s ease-out}.main-canvas{position:relative;width:100%;transition:all .25s ease-out}.sm-tile{min-width:60%}}\n\n/*# sourceMappingURL=app.component.css.map*/"],encapsulation:2})}return n})();var APe=V(53663);class T7 extends Error{constructor(){const t=new.target.prototype;super(),this.__proto__=t}}let E7=(()=>{class n{constructor(e){this.http=e,this.errorsToKeep=10,this.threshold=5,this.baseUrl=Pi_baseUrl,this.mostRecentErrors=[]}logError(e){this.mostRecentErrors.length===this.errorsToKeep&&this.mostRecentErrors.shift(),this.mostRecentErrors.push(e),!(this.mostRecentErrors.map(s=>s.message).filter(s=>s===e.message).length>=this.threshold)&&this.http.post(`${this.baseUrl}log`,{Message:e.message,StackTrace:e.stackTrace}).subscribe(s=>{},s=>console.log(s))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class RPe extends Error{constructor(t,e){const i=new.target.prototype;super(),this.__proto__=i,this.message=t,this.displayMessageKey=e}}let NPe=(()=>{class n extends Qo{constructor(e){super(),this.injector=e}handleError(e){if(e instanceof T7)return;const i=this.injector.get(Yn),s=this.injector.get(E7),r=this.injector.get($u),a=`${r instanceof PE?r.path():""} - ${e.message?e.message:e.toString()}`,l=e instanceof RPe?e.displayMessageKey:void 0;APe.fromError(e).then(c=>{const u=c.splice(0,20).map(d=>d.toString()).join(" ");s.logError({message:a,stackTrace:u}),i.navigateByUrl("error",{state:{message:l}}),super.handleError(e)}).catch(c=>{s.logError({message:a,stackTrace:""}),i.navigateByUrl("error",{state:{message:l}}),super.handleError(e)})}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(ls))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function FPe(n){return n.locale}function pa(){return T4("fadeInOut",[uk("in",Rh({opacity:1,transform:"translateY(10%)"})),uk("out",Rh({opacity:0,transform:"translateY(10%)"})),yw("in => out",_w("300ms ease-out")),yw("out => int",_w("300ms ease-out")),yw("void => *",[Rh({opacity:.3,transform:"translateY(10%)"}),_w("300ms ease-out")]),yw("* => void",[_w("300ms ease-out",Rh({opacity:0,transform:"translateY(10%)"}))])])}let wI=(()=>{class n{constructor(e){this.sessionService=e}intercept(e,i){return this.sessionService.token.pipe(pi(1),ht(s=>s?s.accessToken:""),_t(s=>{if(s){const r=e.clone({headers:e.headers.set("Authorization",`Bearer ${s}`)});return i.handle(r)}return i.handle(e)}))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),jPe={provide:wI,deps:[Et],useFactory:function YPe(n){return new wI(n)}},FD=(()=>{class n{constructor(){this.errorConfig={data:[/\/keyword/,/\/guarantee$/,/\/account\/\d*\/work/,/\/google\/analytics\//,/\/SeoContentSurvey\/\d*\/get$/,/\/location-business-citations$/,/\/protips$/,/\/requiredactions$/],google_connect:[/\/account\/\d*\/google/],action_submission:[/\/createticket$/,/\/completeticket$/,/\/completetask$/,/\/rejecttask$/]}}getDisplayErrorKey(e){return this.errorConfig.data.some(i=>i.test(e))?"error_load_data":this.errorConfig.google_connect.some(i=>i.test(e))?"error_google_connect":this.errorConfig.action_submission.some(i=>i.test(e))?"error_action_submission":null}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),CI=(()=>{class n{constructor(e,i){this.router=e,this.errorService=i,this.noop=()=>{}}intercept(e,i){return i.handle(e).pipe(ii(s=>{this.noop()},s=>{if(s instanceof Ih&&401===s.status)throw this.router.navigateByUrl("log-out"),new T7}))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(FD))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),HPe={provide:CI,deps:[Yn,FD],useFactory:function BPe(n,t){return new CI(n,t)}},mr=(()=>{class n{constructor(e,i){this.router=e,this.sessionService=i}canActivate(e,i){return e.queryParams.y?(this.sessionService.redirectUrl=i.url.split("?")[0],this.router.navigate([""],{queryParams:e.queryParams}),!1):this.sessionService.isAuthorized().pipe(ii(s=>!!s||(this.router.navigateByUrl("log-in"),!1)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),j0=(()=>{class n{constructor(e,i){this.router=e,this.sessionService=i}canActivate(e,i){return this.sessionService.isNotAuthorized().pipe(ii(s=>!!s||(this.router.navigateByUrl("accounts"),!1)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Af=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.baseUrl=Pi_baseUrl}accessTokenLogin(e){return this.exchange(e).pipe(_t(()=>this.user()))}nonceLogin(e){return this.nonceExchange(e).pipe(_t(()=>this.user()))}impersonatedLogin(e){return this.impersonateExchange(e).pipe(_t(()=>this.user()))}changePassword(e){return this.sessionService.user.pipe(_t(i=>this.http.post(`${this.baseUrl}user/password/change`,{Email:i.username,CurrentPassword:e.currentPassword,NewPassword:e.newPassword,ConfirmNewPassword:e.confirmNewPassword})))}contact(e,i,s,r){return this.sessionService.account.pipe(_t(o=>o?this.http.post(`${this.baseUrl}user/contact`,{AccountId:o.id,Name:e,Email:i,Phone:s,Message:r}):ct(null)))}forgot(e){return this.http.post(`${this.baseUrl}user/forgot-password`,{Email:e})}resetPassword(e,i,s,r){return this.http.post(`${this.baseUrl}user/password/reset`,{email:e,resetToken:i,password:s,confirmPassword:r})}login(e,i){return this.token(e,i).pipe(_t(()=>this.user()))}exchange(e){return this.http.post(`${this.baseUrl}user/login/exchange`,{Token:e}).pipe(ht(this.parse.bind(this)),ht(this.setToken.bind(this)))}nonceExchange(e){return this.http.post(`${this.baseUrl}user/login/exchange/nonce`,{Token:e}).pipe(ht(this.parse.bind(this)),ht(this.setToken.bind(this)))}impersonateExchange(e){return this.http.post(`${this.baseUrl}user/login/exchange/impersonate`,{Token:e}).pipe(ht(this.parse.bind(this)),ht(this.setToken.bind(this)))}parse(e){if(e.isError)throw e.error;return e}token(e,i){return this.http.post(`${this.baseUrl}user/login`,{Username:e,Password:i}).pipe(ht(this.parse.bind(this)),ht(this.setToken.bind(this)))}setToken(e){return this.sessionService.setToken(e),e.accessToken}user(){return this.http.get(`${this.baseUrl}user`).pipe(ht(e=>(this.sessionService.setUser(e),e)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),B0=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.requiredActionStream=new Gt(null),this.baseUrl=Pi_baseUrl}get requiredActions(){return this.requiredActionStream.pipe(ks(e=>!!e))}createTicket(e){return this.sessionService.account.pipe(_t(i=>this.http.post(`${this.baseUrl}account/${i.id}/createticket`,e)))}completeTicket(e){return this.sessionService.account.pipe(_t(i=>this.http.post(`${this.baseUrl}account/${i.id}/completeticket`,e)))}completeTask(e){return this.sessionService.account.pipe(_t(i=>this.http.post(`${this.baseUrl}account/${i.id}/completetask`,e)))}rejectTask(e){return this.sessionService.account.pipe(_t(i=>this.http.post(`${this.baseUrl}account/${i.id}/rejecttask`,e)))}loadRequiredActions(){this.getRequiredActions().subscribe(e=>{this.requiredActionStream.next(e)})}getRequiredActions(){return this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/requiredactions`):ct([])))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),MI=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.baseUrl=Pi_baseUrl}getKeywordRanks(){return this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/keyword/ranks`):ct([])))}getKeywordRankHistory(e){return this.sessionService.account.pipe(_t(i=>i?this.http.post(`${this.baseUrl}account/${i.id}/keyword/ranks/history`,{KeywordId:e.keywordId,AreaId:e.areaId,IsAreaFirst:e.isAreaFirst}):ct([])))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),k7=(()=>{class n{constructor(e,i,s){this.http=e,this.sessionService=i,this.translate=s,this.baseUrl=Pi_baseUrl}get(){return this.sessionService.account.pipe(_t(e=>{const i=(new Gr).set("language",this.translate.currentLang);return e?this.http.get(`${this.baseUrl}account/${e.id}/protips`,{params:i}):ct([])}))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et),Ve(rr))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Nm=(()=>{class n{constructor(e,i){this.router=e,this.sessionService=i}canActivate(e,i){return this.sessionService.account.pipe(ht(s=>s.seoReady),ii(s=>!!s||(this.router.navigateByUrl("not-ready"),!1)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),VPe=(()=>{class n extends CD{parse(e){return e=e.replace(/\+/gi,"%2B"),super.parse(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Gn(n)))(s||n)}})();static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),ou=(()=>{class n{constructor(e,i){this.router=e,this.sessionService=i}canActivate(e,i){let s=!1;const r=e.data.requiredFeature,o=e.data.requiredFeatures;return this.sessionService.account.pipe(ii(a=>{a.hasFeature(r)||a.hasAnyFeature(o)?s=!0:this.router.navigateByUrl("log-in")}),ht(a=>s))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),DI=(()=>{class n{constructor(e,i){this.router=e,this.sessionService=i}canActivate(e,i){return this.sessionService.siteConfig.pipe(ii(s=>!(!s||s.partnerIsContactRestricted)||(this.router.navigateByUrl("log-in"),!1)),ht(s=>s&&!s.partnerIsContactRestricted))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Yn),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),so=(()=>{class n{constructor(e){this.sessionService=e,this._chartColors=new Gt(null),this._filledLine=new Gt(null),this._filledLineWithPoints=new Gt(null),this._lineWithPoints=new Gt(null),this._bar=new Gt(null),this._pie=new Gt(null),this._stackedBar=new Gt(null),this.sessionService.siteConfig.subscribe(i=>{if(!i.chartColors)return;const s=i.chartColors.concat(i.chartColors);this.setChartColors(s),this.setFilledLine(s),this.setFilledLineWithPoints(s),this.setLineWithPoints(s),this.setPie(s),this.setStackedBar(s),this.setBar(s)})}setChartColors(e){this._chartColors.next(e)}get chartColors(){return this._chartColors.asObservable().pipe(fr())}setFilledLine(e){const i=[];e.forEach(s=>{const r=s.split(","),o=`${r[0]}, ${r[1]}, ${r[2]}`;i.push({backgroundColor:`${o}, 0.2)`,borderColor:`${o}, 1.0)`,borderWidth:1})}),this._filledLine.next(i)}get filledLine(){return this._filledLine.asObservable().pipe(fr())}setFilledLineWithPoints(e){const i=[];e.forEach(s=>{const r=s.split(","),o=`${r[0]}, ${r[1]}, ${r[2]}`;i.push({backgroundColor:`${o}, 0.2)`,borderColor:`${o}, 1.0)`,pointBorderColor:`${o}, 1.0)`,borderWidth:1,pointBorderWidth:1})}),this._filledLineWithPoints.next(i)}get filledLineWithPoints(){return this._filledLine.asObservable().pipe(fr())}setLineWithPoints(e){const i=[];e.forEach(s=>{const r=s.split(","),o=`${r[0]}, ${r[1]}, ${r[2]}`;i.push({backgroundColor:"rgba(0, 0, 0, 0.0)",borderColor:`${o}, 1.0)`,pointBorderColor:`${o}, 1.0)`,borderWidth:1,pointBorderWidth:1})}),this._filledLineWithPoints.next(i)}get lineWithPoints(){return this._filledLineWithPoints.asObservable().pipe(fr())}setBar(e){this._bar.next([{backgroundColor:e}])}get bar(){return this._bar.asObservable().pipe(fr())}setPie(e){this._pie.next([{backgroundColor:e}])}get pie(){return this._pie.asObservable().pipe(fr())}setStackedBar(e){const i=[];e.forEach(s=>{i.push({backgroundColor:s})}),this._stackedBar.next(i)}get stackedBar(){return this._stackedBar.asObservable().pipe(fr())}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),YD=(()=>{class n{getPreviousMondays(e){let i=[],s=new Date,r=1;for(;i.length<e;)s.setDate(s.getDate()-r),1===s.getDay()&&(i.push(s.getMonth()+1+"/"+s.getDate()+"/"+s.getFullYear()),r=7);return i.reverse()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),xI=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.baseUrl=Pi_baseUrl}getStates(){return this.sessionService.account.pipe(_t(e=>this.http.get(`${this.baseUrl}account/${e.id}/get-states`)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();class zPe{constructor(t,e){this.notifier=t,this.source=e}call(t,e){return e.subscribe(new GPe(t,this.notifier,this.source))}}class GPe extends rg{constructor(t,e,i){super(t),this.notifier=e,this.source=i}error(t){if(!this.isStopped){let e=this.errors,i=this.retries,s=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{e=new Zt;try{const{notifier:r}=this;i=r(e)}catch(r){return super.error(r)}s=og(i,new sg(this))}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=s,e.next(t)}}_unsubscribe(){const{errors:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:t}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}let SI=(()=>{class n{constructor(e){this.httpClient=e,this.pollSeconds=60,this.pollUrl="/reload.json",this._needsReload=!1,this.retryAttempts=0,this.startPoll()}get needsReload(){return this._needsReload}startPoll(){Fy(0,1e3*this.pollSeconds).pipe(_t(()=>{const e=this.pollUrl+"?v="+Date.now();return this.httpClient.get(e)}),ht(e=>(this.retryAttempts=0,this.reloadToken||(this.reloadToken=e.reloadToken),this.reloadToken!==e.reloadToken)),function UPe(n){return t=>t.lift(new zPe(n,t))}(e=>e.pipe(_t(()=>(this.retryAttempts++,Fy(this.retryAttempts>10?10*this.pollSeconds*1e3:1e3*this.pollSeconds)))))).subscribe(e=>{this._needsReload=e})}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),qs=(()=>{class n{constructor(e){this.reloadService=e}canActivateChild(e,i){return this.canActivate(e,i)}canActivate(e,i){return this.reloadService.needsReload&&window.location.assign(i.url),!this.reloadService.needsReload}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(SI))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),O7=(()=>{class n{constructor(e,i){this.sessionService=e,this.http=i,this.baseUrl=Pi_baseUrl}getMockPassword(){return this.http.get(`${this.baseUrl}customeraccount/getMockPassword`)}get(e){return this.sessionService.account.pipe(_t(i=>i?this.http.post(`${this.baseUrl}customeraccount/get`,{accountId:i.id,customerAccountTypes:e}):ct(null)))}save(e){return this.http.post(`${this.baseUrl}customeraccount/save`,{customerAccounts:e})}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et),Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),L7=(()=>{class n{constructor(e,i){this.sessionService=e,this.http=i,this.baseUrl=Pi_baseUrl}get(){return this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}SeoContentSurvey/${e.id}/get`):ct(null)))}save(e){return this.sessionService.account.pipe(_t(i=>i?this.http.post(`${this.baseUrl}SeoContentSurvey/${i.id}/save`,e):ct(null)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et),Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),H0=(()=>{class n{static forRoot(){return{ngModule:n,providers:[Et,j0,mr,WP,SI,qs,et]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[Et,j0,mr,Af,O7,L7,ou,WP,MI,k7,B0,E7,FD,so,YD,xI,Nm,SI,qs],imports:[qu,xg,mC,Gy,$w,zP,mC]})}return n})(),Rf=(()=>{class n{constructor(e,i){this.sessionService=e,this.http=i,this.baseUrl=Pi_baseUrl,this._allTimeSummary=new Gt(null)}get allTimeSummary(){return this.getAllTimeSummary(),this._allTimeSummary.asObservable()}get monthlySummary(){return this._monthlySummary||(this._monthlySummary=new Gt(null),this.getMonthlySummary()),this._monthlySummary.asObservable()}get taskCount(){return this._taskCount||(this._taskCount=new Gt(null),this.getTaskCount()),this._taskCount.asObservable()}details(e){return this.sessionService.account.pipe(_t(i=>i?this.http.get(`${this.baseUrl}account/${i.id}/work/${e}`):ct(null)),ht(i=>i?JSON.parse(i):ct(null)))}getHoursByMonth(){return this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/work/hoursbymonth`):ct({hoursByMonthSummary:[],lastBilledDate:ti().toJSON(),nextRenewalDate:ti().toJSON()})))}getCampaignSummary(e=0,i=10){const s=(new Gr).set("page",e.toString()).set("pageSize",i.toString());return this.sessionService.account.pipe(_t(r=>r?this.http.get(`${this.baseUrl}account/${r.id}/work/summary/notes`,{params:s}):ct(null)))}getMonthlySummary(){this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/work/summary/monthly`):ct({lastBilledDate:ti().toJSON(),nextRenewalDate:ti().toJSON(),categorySummaryByMonth:[{key:{workCategoryGroupId:"",elapsedMonths:0},value:0}]}))).subscribe(e=>{this._monthlySummary.next(e)})}getAllTimeSummary(){this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/work/summary`):ct([]))).subscribe(e=>{this._allTimeSummary.next(e)})}getTaskCount(){this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/work/summary/monthly/count`):ct({allTimeCount:0,sinceLastBillingDateCount:0}))).subscribe(e=>{this._taskCount.next(e)})}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et),Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function WPe(n,t){1&n&&ee(0,"div",3),2&n&&R("innerHTML",K().html,mh)}let nl=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["helpPopover"]],inputs:{html:"html",placement:"placement"},exportAs:["HelpPopover"],decls:3,vars:2,consts:[["popover",""],[2,"display","inline"],["triggers","mouseenter:mouseleave",1,"fa","fa-question-circle","text-muted","ms-1","small","align-text-top",3,"ngbPopover","placement"],[1,"text-muted",2,"padding","10px",3,"innerHTML"]],template:function(i,s){if(1&i&&(re(0,WPe,1,1,"ng-template",1,0,hs),ee(2,"span",2)),2&i){const r=Fi(1);m(2),R("ngbPopover",r)("placement",s.placement)}},dependencies:[NO],encapsulation:2})}return n})(),P7=(()=>{class n{transform(e){return ti(e).utc().format("Do")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275pipe=rs({name:"ordinal",type:n,pure:!0})}return n})();const $Pe=n=>({nextRenewalDay:n}),qPe=(n,t,e,i)=>({nextRenewalMonth:n,nextRenewalDay:t,nextRenewalEndMonth:e,nextRenewalEndDay:i});function KPe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"h4",6),N(6),Y(7,"translate"),D(8,"small"),ee(9,"helpPopover",7),Y(10,"translate"),M()(),D(11,"div",8),N(12),Y(13,"ordinal"),Y(14,"translate"),ee(15,"helpPopover",7),Y(16,"date"),Y(17,"ordinal"),Y(18,"date"),Y(19,"ordinal"),Y(20,"translate"),M()(),D(21,"div",9),ee(22,"canvas",10),M()()()()()),2&n){const e=K();m(6),ve("",B(7,10,"title_action_time_spent_by_month")," "),m(3),He("html",B(10,12,"tooltip_action_time_spent_by_month")),m(3),ve(" ",On(14,16,"campaign_renews_on",Lt(32,$Pe,B(13,14,e.nextRenewalDate)))," "),m(3),He("html",On(20,29,"tooltip_renewal_example",Ab(34,qPe,On(16,19,e.lastBilledDate,"MMMM"),B(17,22,e.lastBilledDate),On(18,24,e.currentPeriodEndDate,"MMMM"),B(19,27,e.currentPeriodEndDate)))),m(7),R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",e.chartLegend)("chartType",e.chartType)("colors",e.chartColors)}}let XPe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.workService=e,this.translatePipe=i,this.chartColorService=s,this.chartType="horizontalBar",this.chartLegend=!0,this.chartOptions={scaleShowVerticalLines:!1,responsive:!0,legend:{position:"bottom"},tooltips:{mode:"label",followPointer:!0,callbacks:{label:function(r,o){const a=this.translatePipe.transform("table_header_hours");return`${r.xLabel} ${a} ${o.datasets[r.datasetIndex].label}`}.bind(this)}},scales:{xAxes:[{stacked:!0,gridLines:{display:!1}}],yAxes:[{stacked:!0,gridLines:{display:!1}}]}}}ngOnInit(){this.chartColorService.stackedBar.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e}),this.workService.getHoursByMonth().pipe(qe(this.unsubscribe)).subscribe(e=>{this.lastBilledDate=e.lastBilledDate,this.nextRenewalDate=e.nextRenewalDate,this.currentPeriodEndDate=ti(e.nextRenewalDate).add(-1,"day").toISOString(),this.chartLabels=e.hoursByMonthSummary.map(i=>`${i.month}/${i.year}`),this.chartData=[{label:this.translatePipe.transform("table_header_completed"),data:e.hoursByMonthSummary.map(i=>i.hoursCompleted)},{label:this.translatePipe.transform("table_header_pending"),data:e.hoursByMonthSummary.map(i=>i.hoursPending)}]})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Rf),W(et),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-hours-by-month"]],features:[kt([Ys,et]),Ue],decls:1,vars:1,consts:[["class","card",4,"ngIf"],[1,"card"],[1,"card-body"],[1,"row"],[1,"col-md-12"],[1,"text-center"],[1,"card-title","text-start","text-primary","custom-tile-header"],["placement","bottom",3,"html"],[1,"alert","alert-info"],[1,"d-flex","p-2"],["baseChart","",3,"datasets","labels","options","legend","chartType","colors"]],template:function(i,s){1&i&&re(0,KPe,23,39,"div",0),2&i&&R("ngIf",s.chartData)},dependencies:[Ys,nl,wt,P7,et,Xi]})}return n})();const TI={linkPortfolioDevelopment:{translation:"link_portfolio_development",id:"66834C11-9080-4DF2-84FB-69D57EF81722",sort:1},websiteOptimization:{translation:"website_optimization",id:"94593DE7-7B1B-4D0C-BEF1-28774A5B742C",sort:2},businessProfileDevelopment:{translation:"business_profile_development",id:"412170E8-7446-436E-A927-CD7827CAB904",sort:3},customContentCreation:{translation:"custom_content_creation",id:"8DBF53D4-81FC-431C-9E0B-5797D76D5FDA",sort:4},seoConsultation:{translation:"seo_consultation",id:"9C6816FC-1D24-4A87-8FE9-6079513703B6",sort:5}},V0=function ZPe(n){const t=[];for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&t.push(n[e]);return t}(TI);function EI(n){const t=V0.filter(e=>e.id.toLocaleLowerCase()===n.toLocaleLowerCase());return t.length>0?t[0]:null}var I7=V(48932);function kI(n,t){return 0===t.length?0:t.map(n).reduce((s,r)=>s+r)}const A7=(0,I7.curry)(kI)(n=>n),JPe=(n,t)=>({muted:n,loading:t}),U0=n=>({color:n});function QPe(n,t){1&n&&(D(0,"div",8)(1,"div")(2,"h6"),ee(3,"i",9),N(4),Y(5,"translate"),M(),D(6,"p"),N(7),Y(8,"translate"),M()()()),2&n&&(m(4),ve(" ",B(5,2,"please_wait"),""),m(3),le(B(8,4,"searching_the_web")))}function eIe(n,t){1&n&&(D(0,"div",8)(1,"div")(2,"h6"),ee(3,"i",10),N(4),Y(5,"translate"),M(),D(6,"p"),N(7),Y(8,"translate"),M()()()),2&n&&(m(4),ve(" ",B(5,2,"not_found"),""),m(3),le(B(8,4,"cant_find_details")))}function tIe(n,t){if(1&n&&(D(0,"div",8)(1,"div")(2,"h6"),ee(3,"i",11),N(4),Y(5,"translate"),M(),D(6,"p"),N(7),Y(8,"translate"),M()(),D(9,"div")(10,"h6"),ee(11,"i",11),N(12),Y(13,"translate"),M(),D(14,"p"),N(15),Y(16,"translate"),M()(),D(17,"div")(18,"h6"),ee(19,"i",11),N(20),Y(21,"translate"),M(),D(22,"p"),N(23),Y(24,"translate"),M()(),D(25,"div")(26,"h6"),ee(27,"i",11),N(28),Y(29,"translate"),M(),D(30,"p"),N(31),Y(32,"translate"),M()(),D(33,"div")(34,"h6"),ee(35,"i",11),N(36),Y(37,"translate"),M(),D(38,"p"),N(39),Y(40,"translate"),M()()()),2&n){const e=K();m(3),R("ngStyle",Lt(35,U0,e.categoryColors[e.cats.linkPortfolioDevelopment.sort-1])),m(),ve(" ",B(5,15,e.cats.linkPortfolioDevelopment.translation),""),m(3),le(B(8,17,"link_portfolio_development_desc")),m(4),R("ngStyle",Lt(37,U0,e.categoryColors[e.cats.websiteOptimization.sort-1])),m(),ve(" ",B(13,19,e.cats.websiteOptimization.translation),""),m(3),le(B(16,21,"website_optimization_desc")),m(4),R("ngStyle",Lt(39,U0,e.categoryColors[e.cats.businessProfileDevelopment.sort-1])),m(),ve(" ",B(21,23,e.cats.businessProfileDevelopment.translation),""),m(3),le(B(24,25,"business_profile_development_desc")),m(4),R("ngStyle",Lt(41,U0,e.categoryColors[e.cats.customContentCreation.sort-1])),m(),ve(" ",B(29,27,e.cats.customContentCreation.translation),""),m(3),le(B(32,29,"custom_content_creation_desc")),m(4),R("ngStyle",Lt(43,U0,e.categoryColors[e.cats.seoConsultation.sort-1])),m(),ve(" ",B(37,31,e.cats.seoConsultation.translation),""),m(3),le(B(40,33,"seo_consultation_desc"))}}let nIe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.work=e,this.translate=i,this.chartColorService=s,this.cats=TI,this.hasData=!1,this.isLoading=!0,this.options={responsive:!0,maintainAspectRatio:!0,plugins:{tooltip:{callbacks:{label:r=>V0[r.dataIndex]?` ${this.translate.instant(V0[r.dataIndex].translation)} ${r.dataset.data[r.dataIndex]}%`:""}}}}}get results(){return!this.isLoading&&this.hasData}get noResults(){return!this.isLoading&&!this.hasData}ngOnInit(){this.chartColorService.pie.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e}),this.chartColorService.chartColors.pipe(qe(this.unsubscribe)).subscribe(e=>{this.categoryColors=e}),this.get(),this.translate.onLangChange.pipe(qe(this.unsubscribe)).subscribe(e=>{this.get()})}get(){this.work.allTimeSummary.pipe(_t(e=>e?this.load(e):Sl),gB(1),ii(this.forceChartRefresh.bind(this)),qe(this.unsubscribe)).subscribe()}load(e){if(!e.length)return this.hasData=!1,ct([]);const i=V0.filter(o=>!e.map(a=>a.key.toLowerCase()).includes(o.id.toLowerCase())).map(o=>({key:o.id,value:0}));e=e.concat(i),this.hasData=!0;const s=(e=e.sort(this.sort.bind(this))).map(o=>EI(o.key)),r=A7(e.map(o=>o.value));return this.data={datasets:[{data:e.map(o=>Math.round(o.value/r*100)),backgroundColor:this.chartColors.map(o=>o.backgroundColor)[0]}]},dg(...s.map(o=>this.translate.get(o.translation)))}forceChartRefresh(){this.isLoading=!1,this.charts&&this.charts.forEach(e=>{e.ngOnChanges({})})}sort(e,i){const s=EI(e.key),r=EI(i.key);return s.sort>r.sort?1:s.sort<r.sort?-1:0}static#e=this.\u0275fac=function(i){return new(i||n)(W(Rf),W(rr),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-work-history-summary-all-time"]],viewQuery:function(i,s){if(1&i&&xo(Ys,5),2&i){let r;ln(r=cn())&&(s.charts=r)}},features:[Ue],decls:14,vars:17,consts:[[1,"card"],[1,"card-body"],[1,"custom-tile-header","text-primary"],[1,"custom-tile-subheader"],[1,"row"],[1,"col-md-6","d-flex",2,"max-height","360px"],["baseChart","","height","750",1,"mx-auto","my-auto",3,"ngClass","data","type","options","legend"],["class","col-md-6",4,"ngIf"],[1,"col-md-6"],[1,"fa","fa-circle","muted"],[1,"fa","fa-exclamation-circle","muted"],[1,"fa","fa-circle",3,"ngStyle"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"p",3),N(6),Y(7,"translate"),M(),D(8,"div",4)(9,"div",5),ee(10,"canvas",6),M(),re(11,QPe,9,6,"div",7)(12,eIe,9,6,"div",7)(13,tIe,41,45,"div",7),M()()()),2&i&&(m(3),le(B(4,10,"distribution_work_by_category")),m(3),le(B(7,12,"all_time_breakdown_work_completed")),m(4),R("ngClass",Jp(14,JPe,!s.hasData,s.isLoading))("data",s.data)("type","pie")("options",s.options)("legend",!1),m(),R("ngIf",s.isLoading),m(),R("ngIf",s.noResults),m(),R("ngIf",s.results))},dependencies:[Ys,xr,wt,ow,et],styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 10s linear infinite}.muted[_ngcontent-%COMP%]{filter:grayscale(100%)}\n\n/*# sourceMappingURL=work-history-summary-all-time.component.css.map*/"]})}return n})(),OI=(()=>{class n{constructor(e,i){this.sessionService=e,this.http=i,this.items=[],this.baseUrl=Pi_baseUrl,this.sessionService.account.subscribe(s=>{const r=s?ti(s.lastBilledDate.toString().substring(0,10)).toDate():new Date;this._filter={date:new Date(r.getFullYear(),r.getMonth(),1),category:"00000000-0000-0000-0000-000000000000"}})}get workItems(){return this._workItems||(this._workItems=new Gt(null),this.getWorkItems()),this._workItems.asObservable()}set filter(e){this._filter=e,this.reset(),this.getWorkItems()}get filter(){return this._filter}more(){this.getWorkItems(1e3)}updateFileDetails(e){this.sessionService.account.pipe(_t(i=>i?this.http.get(`${this.baseUrl}account/${i.id}/work/${e.id}/hasFile`):ct(!1))).subscribe(i=>{e.hasDetails=i})}getWorkItems(e=10){this.sessionService.account.pipe(_t(i=>{const s=this.items.length.toString(),r=`${this._filter.date.getMonth()+1}/${this._filter.date.getDate()}/${this._filter.date.getFullYear()}`,o=this._filter.category,a=(new Gr).set("date",r).set("skip",s).set("take",e.toString()).set("categoryId",o||"");return i?this.http.get(`${this.baseUrl}account/${i.id}/work`,{params:a}):ct(null)})).subscribe(i=>{i&&(this.items=this.items.concat(...i.items),i.items=this.items,this._workItems.next(i))})}reset(){this.items=[]}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et),Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Nf=(()=>{class n{constructor(){}get type(){return this._type}set type(e){this._type=e,this.name=`${this.type}task`,this.description=`${this.type}taskdescription`}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-about"]],inputs:{type:"type"},decls:9,vars:6,consts:[[1,"card"],[1,"card-body"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h5"),N(3),Y(4,"translate"),M(),ee(5,"hr"),D(6,"p"),N(7),Y(8,"translate"),M()()()),2&i&&(m(3),le(B(4,2,s.name)),m(4),le(B(8,4,s.description)))},dependencies:[et]})}return n})();function rIe(n,t){1&n&&(D(0,"a",14),ee(1,"span",15),N(2),Y(3,"translate"),M()),2&n&&(He("href",K(2).value.download,qn),m(2),ve(" ",B(3,2,"button_view"),""))}function oIe(n,t){1&n&&(D(0,"a",14),ee(1,"span",16),N(2),Y(3,"translate"),M()),2&n&&(He("href",K(2).value.download,qn),m(2),ve(" ",B(3,2,"download"),""))}function aIe(n,t){if(1&n&&(D(0,"div",11)(1,"div",12),re(2,rIe,4,4,"a",13)(3,oIe,4,4,"a",13),M()()),2&n){const e=K();m(2),R("ngIf",!e.isDownload(e.value.download)),m(),R("ngIf",e.isDownload(e.value.download))}}function lIe(n,t){if(1&n&&(D(0,"h5",17),N(1),M()),2&n){const e=K();m(),le(e.value.title)}}function cIe(n,t){1&n&&(D(0,"h5",17),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"content")))}function uIe(n,t){if(1&n&&(D(0,"h1"),N(1),M()),2&n){const e=K();m(),le(e.value.h1)}}function dIe(n,t){if(1&n&&(D(0,"h2"),N(1),M()),2&n){const e=K();m(),le(e.value.h2)}}let is=(()=>{class n{get value(){return this._value}set value(e){this._value=e;const i=this._value.body;if(this.hasArticlePendingFormat(i)){const s=i.indexOf("Submitted Text:");this._value.body=i.substring(0,s)+"<br />"+i.substring(s,i.length)}}isDownload(e){return function sIe(n){return(n||"").toLowerCase().includes("s3staticfiles")}(e)}hasArticlePendingFormat(e){return/Target Keyword:/.test(e)&&/Submitted Text:/.test(e)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-content"]],inputs:{type:"type",value:"value"},decls:15,vars:8,consts:[[1,"row"],[1,"col-md-3"],[3,"type"],["class","card mt-2",4,"ngIf"],[1,"col-md-9"],[1,"card","mb-4"],[1,"card-body"],["class","card-title",4,"ngIf"],[1,"card-subtitle","mb-2","text-muted"],[4,"ngIf"],[3,"innerHTML"],[1,"card","mt-2"],[1,"card-body","d-grid","d-gap"],["class","btn btn-primary","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"btn","btn-primary",3,"href"],[1,"fa","fa-external-link-square-alt"],[1,"fa","fa-download"],[1,"card-title"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-about",2),re(3,aIe,4,2,"div",3),M(),D(4,"div",4)(5,"div",5)(6,"div",6),re(7,lIe,2,1,"h5",7)(8,cIe,3,3,"h5",7),D(9,"h6",8),N(10),M(),ee(11,"hr"),re(12,uIe,2,1,"h1",9)(13,dIe,2,1,"h2",9),ee(14,"div",10),M()()()()),2&i&&(m(2),R("type",s.type),m(),R("ngIf",s.value.download),m(4),R("ngIf",s.value.title),m(),R("ngIf",!s.value.title),m(2),le(s.value.url),m(2),R("ngIf",s.value.h1),m(),R("ngIf",s.value.h2),m(),R("innerHTML",s.value.body,mh))},dependencies:[wt,Nf,et]})}return n})();function hIe(n,t){1&n&&(D(0,"span"),N(1,","),M())}let R7=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-location"]],inputs:{value:"value",type:"type"},decls:30,vars:19,consts:[[1,"row"],[1,"col-md-3"],[3,"type"],[1,"card"],[1,"card-body"],[4,"ngIf"],[1,"col-md-6"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-about",2),M(),D(3,"div",1)(4,"div",3)(5,"div",4)(6,"h5"),N(7),Y(8,"translate"),M(),D(9,"address")(10,"strong"),N(11),M(),ee(12,"br"),N(13),ee(14,"br"),N(15),re(16,hIe,2,0,"span",5),N(17),ee(18,"br"),N(19),Y(20,"translate"),ee(21,"br"),N(22),M()()()(),D(23,"div",6)(24,"div",3)(25,"div",4)(26,"h5"),N(27),Y(28,"translate"),M(),N(29),M()()()()),2&i&&(m(2),R("type",s.type),m(5),le(B(8,13,"address_title")),m(4),le(s.value.name),m(2),ve(" ",s.value.address," "),m(2),ve(" ",s.value.city," "),m(),R("ngIf",s.value.city&&s.value.state),m(),ir(" ",s.value.state," ",s.value.zip," "),m(2),ir(" ",B(20,15,"telephone_label")," ",s.value.phone," "),m(3),ve(" ",s.value.email," "),m(5),le(B(28,17,"description_title")),m(2),ve(" ",s.value.description," "))},dependencies:[wt,Nf,et]})}return n})();function fIe(n,t){if(1&n&&(D(0,"div",7)(1,"div",5)(2,"a",12),ee(3,"span",13),N(4),Y(5,"translate"),M()()()),2&n){const e=K();m(2),He("href",e.value.download,qn),m(2),ve(" ",B(5,2,"download"),"")}}let LI=(()=>{class n{constructor(){this.h1New="",this.h1Old="",this.h1Pattern=new RegExp("<h1.+?</h1>","i"),this.hTagPattern=new RegExp("<h2|<h3|<h4|<h5|<h6|</h2>|</h3>|</h4>|</h5>|</h6>","i"),this.tagRemovalPattern=new RegExp("<([^>]*)>","ig")}ngOnInit(){this.h1New=this.h1Pattern.test(this.value.h1New)?this.removeH1Tags(this.h1Pattern.exec(this.value.h1New)[0]):this.value.h1New.trim();const e=this.h1Pattern.test(this.value.h1Old),i=this.hTagPattern.test(this.value.h1Old);e?this.h1Old=this.removeH1Tags(this.h1Pattern.exec(this.value.h1Old)[0]):!e&&!i&&(this.h1Old=this.value.h1Old.trim())}removeH1Tags(e){return e.replace(this.tagRemovalPattern,"")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-onsite-recommendation"]],inputs:{value:"value",type:"type"},decls:34,vars:17,consts:[[1,"row"],[1,"col-md-3"],[3,"type"],["class","card mt-2",4,"ngIf"],[1,"card"],[1,"card-body"],[1,"old"],[1,"card","mt-2"],[1,"col-md-6"],[1,"card","mb-4"],[3,"innerHtml"],[1,"old",3,"innerHtml"],["target","_blank",1,"card-link",3,"href"],[1,"fa","fa-download"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-about",2),re(3,fIe,6,4,"div",3),M(),D(4,"div",1)(5,"div",4)(6,"div",5)(7,"h5"),N(8),Y(9,"translate"),M(),ee(10,"hr"),D(11,"h6"),N(12),M(),D(13,"h6",6),N(14),M()()(),D(15,"div",7)(16,"div",5)(17,"h5"),N(18),Y(19,"translate"),M(),ee(20,"hr"),D(21,"p"),N(22),M(),D(23,"p",6),N(24),M()()()(),D(25,"div",8)(26,"div",9)(27,"div",5)(28,"h5"),N(29),Y(30,"translate"),M(),ee(31,"hr")(32,"div",10)(33,"div",11),M()()()()),2&i&&(m(2),R("type",s.type),m(),R("ngIf",s.value.download),m(5),le(B(9,11,"onsite_opts_title_recommendation")),m(4),le(s.value.titleNew),m(2),le(s.value.titleOld),m(4),le(B(19,13,"onsite_opts_description_recommendation")),m(4),le(s.value.descriptionNew),m(2),le(s.value.descriptionOld),m(5),le(B(30,15,"onsite_opts_h1_recommendation")),m(3),R("innerHtml",s.h1New,mh),m(),R("innerHtml",s.h1Old,mh))},dependencies:[wt,Nf,et],styles:[".old[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.shrink[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:50%}\n\n/*# sourceMappingURL=onsite-recommendation.component.css.map*/"]})}return n})();const pIe=(n,t)=>({"text-danger":n,"text-success":t});let gIe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-yes-no"]],inputs:{value:"value"},decls:1,vars:7,consts:[[3,"ngClass"]],template:function(i,s){1&i&&ee(0,"i",0),2&i&&(qT("fa fa-",s.value?"check":"ban",""),R("ngClass",Jp(4,pIe,!s.value,s.value)))},dependencies:[xr]})}return n})();function mIe(n,t){if(1&n&&(D(0,"div",5)(1,"label"),N(2),Y(3,"translate"),M()(),D(4,"div",5)(5,"label"),N(6),Y(7,"translate"),M(),D(8,"span"),N(9),M()(),D(10,"div",5)(11,"label"),N(12),Y(13,"translate"),M(),D(14,"span"),N(15),M()(),D(16,"div",5)(17,"label"),N(18),Y(19,"translate"),M(),D(20,"span"),N(21),M()()),2&n){const e=K(2);m(2),le(B(3,7,"pre_audit_blog_frequency")),m(4),le(B(7,9,"pre_audit_blog_frequency_month_1")),m(3),le(e.value.totalMonth1BlogPosts),m(3),le(B(13,11,"pre_audit_blog_frequency_month_2")),m(3),le(e.value.totalMonth2BlogPosts),m(3),le(B(19,13,"pre_audit_blog_frequency_month_3")),m(3),le(e.value.totalMonth3BlogPosts)}}function _Ie(n,t){1&n&&re(0,mIe,22,15,"ng-template")}let yIe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-pre-audit"]],inputs:{value:"value",type:"type"},decls:84,vars:60,consts:[[1,"row"],[1,"col-md-3"],[3,"type"],[1,"card"],[1,"card-body"],[1,"d-flex","p-2","justify-content-between"],[3,"value"],[4,"ngIf"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-about",2),M(),D(3,"div",1)(4,"div",3)(5,"div",4)(6,"div",5)(7,"label"),N(8),Y(9,"translate"),M(),ee(10,"app-yes-no",6),M(),D(11,"div",5)(12,"label"),N(13),Y(14,"translate"),M(),D(15,"span"),N(16),Y(17,"date"),M()(),D(18,"div",5)(19,"label"),N(20),Y(21,"translate"),M(),D(22,"span"),N(23),M()(),D(24,"div",5)(25,"label"),N(26),Y(27,"translate"),M(),D(28,"span"),N(29),M()()()()(),D(30,"div",1)(31,"div",3)(32,"div",4)(33,"div",5)(34,"label"),N(35),Y(36,"translate"),M(),ee(37,"app-yes-no",6),M(),D(38,"div",5)(39,"label"),N(40),Y(41,"translate"),M(),ee(42,"app-yes-no",6),M(),D(43,"div",5)(44,"label"),N(45),Y(46,"translate"),M(),ee(47,"app-yes-no",6),M(),D(48,"div",5)(49,"label"),N(50),Y(51,"translate"),M(),ee(52,"app-yes-no",6),M(),D(53,"div",5)(54,"label"),N(55),Y(56,"translate"),M(),ee(57,"app-yes-no",6),M(),D(58,"div",5)(59,"label"),N(60),Y(61,"translate"),M(),ee(62,"app-yes-no",6),M()()()(),D(63,"div",1)(64,"div",3)(65,"div",4)(66,"div",5)(67,"label"),N(68),Y(69,"translate"),M(),D(70,"span"),N(71),Y(72,"date"),M()(),D(73,"div",5)(74,"label"),N(75),Y(76,"translate"),M(),ee(77,"app-yes-no",6),M(),D(78,"div",5)(79,"label"),N(80),Y(81,"translate"),M(),ee(82,"app-yes-no",6),M(),re(83,_Ie,1,0,null,7),M()()()()),2&i&&(m(2),R("type",s.type),m(6),le(B(9,28,"pre_audit_google_analytics_found")),m(2),R("value",s.value.hasGoogleAnalytics),m(3),le(B(14,30,"pre_audit_domain_age")),m(3),le(On(17,32,s.value.domainAge,"shortDate")),m(4),le(B(21,35,"pre_audit_domain_authority")),m(3),le(s.value.domainAuthority),m(3),le(B(27,37,"pre_audit_avg_site_speed")),m(3),ve("",s.value.siteSpeed," seconds"),m(6),le(B(36,39,"pre_audit_flash_found")),m(2),R("value",s.value.hasFlash),m(3),le(B(41,41,"pre_audit_frames_found")),m(2),R("value",s.value.hasFrames),m(3),le(B(46,43,"pre_audit_indexed_on_google")),m(2),R("value",s.value.isIndexedOnGoogle),m(3),le(B(51,45,"pre_audit_mobile_friendly")),m(2),R("value",s.value.isMobileFriendly),m(3),le(B(56,47,"pre_audit_broken_links")),m(2),R("value",s.value.hasBrokenLinks),m(3),ve("",B(61,49,"pre_audit_use_schema")," "),m(2),R("value",s.value.hasUseSchema),m(6),ve("",B(69,51,"pre_audit_site_expiration")," "),m(3),le(On(72,53,s.value.siteExpiration,"shortDate")),m(4),le(B(76,56,"pre_audit_sitemap")),m(2),R("value",s.value.hasSiteMap),m(3),le(B(81,58,"pre_audit_has_blog")),m(2),R("value",s.value.hasBlog),m(),R("ngIf",s.value.hasBlog))},dependencies:[wt,gIe,Nf,et,Xi]})}return n})();function vIe(n,t){if(1&n&&(D(0,"h6",8)(1,"a",9),N(2),M()()),2&n){const e=K();m(),He("href",e.value.url,qn),m(),le(e.value.url)}}function bIe(n,t){if(1&n&&(D(0,"li")(1,"span",10),N(2),M()()),2&n){const e=t.$implicit;m(2),le(e)}}let N7=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-site-information"]],inputs:{value:"value",type:"type"},decls:13,vars:5,consts:[[1,"row"],[1,"col-md-3"],[3,"type"],[1,"col-md-5"],[1,"card"],[1,"card-body"],["class","",4,"ngIf"],[4,"ngFor","ngForOf"],[1,""],["target","_blank",3,"href"],[1,"badge","bg-secondary"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-about",2),M(),D(3,"div",3)(4,"div",4)(5,"div",5)(6,"h5"),N(7),M(),re(8,vIe,3,2,"h6",6),D(9,"p"),N(10),M(),D(11,"ul"),re(12,bIe,3,1,"li",7),M()()()()()),2&i&&(m(2),R("type",s.type),m(5),le(s.value.title),m(),R("ngIf",s.value.url),m(2),le(s.value.description),m(2),R("ngForOf",s.value.keywords))},dependencies:[zs,wt,Nf]})}return n})(),wIe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-article-engagement"]],inputs:{value:"value",type:"type"},decls:14,vars:9,consts:[[1,"row"],[1,"col-md-3"],[3,"type"],[1,"col-md-9"],[1,"card","mb-4"],[1,"card-body"],[1,"card-title"],[1,"card-subtitle","mb-2","text-muted"],[3,"innerHTML"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-about",2),M(),D(3,"div",3)(4,"div",4)(5,"div",5)(6,"h5",6),N(7),Y(8,"translate"),M(),D(9,"h6",7),N(10),Y(11,"translate"),M(),ee(12,"hr")(13,"div",8),M()()()()),2&i&&(m(2),R("type",s.type),m(5),le(B(8,5,"content")),m(3),ir("",B(11,7,"keyword"),": ",s.value.title,""),m(3),R("innerHTML",s.value.body,mh))},dependencies:[Nf,et]})}return n})();function CIe(n,t){if(1&n&&(D(0,"li")(1,"a",9),N(2),M()()),2&n){const e=t.$implicit;m(),He("href",e,qn),m(),le(e)}}function MIe(n,t){if(1&n&&(D(0,"ol"),re(1,CIe,3,2,"li",8),M()),2&n){const e=K();m(),R("ngForOf",e.value.urls)}}function DIe(n,t){1&n&&(D(0,"div",10),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"cant_find_details")," "))}const xIe=[{id:1434,component:R7},{id:602,component:R7},{id:603,component:is},{id:604,component:is},{id:615,component:is},{id:616,component:is},{id:619,component:is},{id:620,component:is},{id:1005,component:is},{id:1003,component:is},{id:903,component:is},{id:902,component:is},{id:911,component:is},{id:912,component:is},{id:913,component:is},{id:914,component:is},{id:917,component:is},{id:918,component:is},{id:919,component:is},{id:920,component:is},{id:921,component:is},{id:1423,component:yIe},{id:704,component:LI},{id:707,component:LI},{id:708,component:LI},{id:504,component:N7},{id:500,component:N7},{id:502,component:wIe},{id:610,component:is},{id:850,component:(()=>{class n{ngOnInit(){this.getUrls()}getUrls(){for(let e=0;e<this.value.urls.length;e++){let i=document.createElement("a");i.setAttribute("href",this.value.urls[e]),this.value.urls[e]=`${i.protocol}//${i.hostname}`,i=null}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-syndications"]],inputs:{value:"value",type:"type"},decls:9,vars:3,consts:[["nourls",""],[1,"row"],[1,"col-md-6"],[3,"type"],[1,"col-md-5"],[1,"card"],[1,"card-body"],[4,"ngIf","ngIfElse"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"alert","alert-primary"]],template:function(i,s){if(1&i&&(D(0,"div",1)(1,"div",2),ee(2,"app-about",3),M(),D(3,"div",4)(4,"div",5)(5,"div",6),re(6,MIe,2,1,"ol",7)(7,DIe,3,3,"ng-template",null,0,hs),M()()()()),2&i){const r=Fi(8);m(2),R("type",s.type),m(4),R("ngIf",s.value.urls.length)("ngIfElse",r)}},dependencies:[zs,wt,Nf,et]})}return n})()},{id:600,component:is},{id:1551,component:is}];function F7(n){const t=xIe.filter(e=>e.id===n);return t.length>0?t[0]:null}const SIe=n=>({highlight:n});function TIe(n,t){if(1&n&&(D(0,"option",15),N(1),Y(2,"date"),M()),2&n){const e=t.$implicit;He("value",e),m(),le(On(2,2,e,"MMMM y"))}}function EIe(n,t){if(1&n&&(D(0,"option",15),N(1),Y(2,"translate"),M()),2&n){const e=t.$implicit;He("value",e.id),m(),ve(" ",B(2,2,e.translation),"")}}function kIe(n,t){1&n&&(D(0,"tr")(1,"td",16),N(2),Y(3,"translate"),Y(4,"translate"),M()()),2&n&&(m(2),ir("",B(3,2,"message_no_results")," ",B(4,4,"try_changing_date_or_category"),""))}function OIe(n,t){if(1&n&&(mn(0),N(1),ee(2,"helpPopover",23),_n()),2&n){const e=K().$implicit;m(),ve(" ",e.customName,""),m(),He("html",e.customDescription)}}function LIe(n,t){if(1&n&&(mn(0),N(1),Y(2,"translate"),ee(3,"helpPopover",23),Y(4,"translate"),_n()),2&n){const e=K().$implicit,i=K();m(),ve(" ",B(2,2,i.key(e)),""),m(2),He("html",B(4,4,i.description(e)))}}function PIe(n,t){1&n&&(D(0,"a",27),ee(1,"i",28),N(2),Y(3,"translate"),M()),2&n&&(He("href",K(2).$implicit.url,qn),m(2),ve(" ",B(3,2,"download"),""))}function IIe(n,t){if(1&n&&(D(0,"a",29),N(1),M()),2&n){const e=K(2).$implicit;He("href",e.url,qn),m(),le(e.url)}}function AIe(n,t){1&n&&(D(0,"a",30),N(1,"Open"),M()),2&n&&He("href",K(2).$implicit.url,qn)}function RIe(n,t){if(1&n&&(D(0,"div"),re(1,PIe,4,4,"a",24)(2,IIe,2,2,"a",25)(3,AIe,2,1,"a",26),M()),2&n){const e=K().$implicit,i=K();m(),R("ngIf",i.isDownload(e.url)),m(),R("ngIf",!i.isDownload(e.url)),m(),R("ngIf",!i.isDownload(e.url))}}function NIe(n,t){1&n&&(D(0,"button",31),N(1),Y(2,"translate"),M()),2&n&&(wc("routerLink","/seo/actions/",K().$implicit.id,""),m(),le(B(2,3,"details")))}function FIe(n,t){1&n&&(D(0,"button",32),N(1),Y(2,"translate"),M()),2&n&&(wc("routerLink","/seo/actions/",K().$implicit.id,""),m(),le(B(2,3,"details")))}function YIe(n,t){if(1&n&&(mn(0),D(1,"tr",17)(2,"td",9),N(3),Y(4,"date"),M(),D(5,"td",18),re(6,OIe,3,2,"ng-container",11)(7,LIe,5,6,"ng-container",11),M(),D(8,"td",19),re(9,RIe,4,3,"div",11)(10,NIe,3,5,"button",20),M(),D(11,"td",21),re(12,FIe,3,5,"button",22),M()(),_n()),2&n){const e=t.$implicit,i=K();m(),R("ngClass",Lt(12,SIe,i.id===e.id)),m(2),ve(" ",function U5(n,t,e,i,s){const r=n+Bt,o=je(),a=br(o,r);return gy(o,r)?B5(o,wr(),t,a.transform,e,i,s,a):a.transform(e,i,s)}(4,8,e.date,"MMMM y","UTC")," "),m(2),He("id",e.id),m(),R("ngIf",e.customName),m(),R("ngIf",!e.customName),m(2),R("ngIf",i.isUrl(e.url)),m(),R("ngIf",e.hasDetails),m(2),R("ngIf",e.hasDetails)}}function jIe(n,t){if(1&n){const e=tt();D(0,"button",33),Le("click",function(){return ze(e),Ge(K().more())}),N(1),Y(2,"translate"),ee(3,"i",34),M()}2&n&&(m(),ve("",B(2,1,"more")," "))}var jD=function(n){return n[n.task=1]="task",n[n.ticket=2]="ticket",n[n.systemCheck=3]="systemCheck",n}(jD||{});let BIe=(()=>{class n extends Dt{constructor(e,i){super(),this.work=e,this.route=i,this.categories=V0,this.category="00000000-0000-0000-0000-000000000000",this.items=[],this.needsToScroll=!0,this.total=0}ngOnInit(){this.periods=function iIe(n){const t=[];let e=0;do{const i=ti().startOf("month");i.subtract(e,"months"),t.push(i.toDate()),e++}while(e<n);return t}(12),this.date=this.work.filter.date,this.category=this.work.filter.category,this.work.workItems.subscribe(e=>{e&&(this.total=e.count,this.items=e.items,this.items.forEach(i=>i.hasDetails=this.hasDetails(i)),this.items.filter(i=>610===i.workCategoryTypeId||1551===i.workCategoryTypeId).forEach(i=>this.work.updateFileDetails(i)))}),this.needsToScroll=!0,this.route.fragment.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.id=e)})}get hasMore(){return this.total>this.items.length}ngAfterViewChecked(){if(!this.needsToScroll)return;const e=this.route.fragment.pipe(qe(this.unsubscribe)).subscribe(i=>{if(setTimeout(()=>{e.unsubscribe()},200),!i)return;const s=document.getElementById(i);s&&s.scrollIntoView(),this.needsToScroll=!1})}hasDetails(e){return!!F7(e.workCategoryTypeId)}categoryChanged(e){this.category=e,this.updateFilter()}dateChanged(e){const i=new Date(e);this.date=i,this.updateFilter()}isDownload(e){return-1!==(e||"").toLowerCase().indexOf("s3staticfile")}isUrl(e){return(e||"").toLocaleLowerCase().startsWith("http")}more(){this.work.more()}description(e){return`${this.key(e)}description`}key(e){let i;switch(e.workTypeId){case jD.task:i="task";break;case jD.ticket:i="ticket";break;case jD.systemCheck:i="system"}return`${e.workCategoryTypeId}${i}`}updateFilter(){this.work.filter={date:this.date,category:this.category}}static#e=this.\u0275fac=function(i){return new(i||n)(W(OI),W(pr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-work-items"]],features:[kt([OI]),Ue],decls:33,vars:22,consts:[[1,"card"],[1,"card-body"],[1,"custom-tile-header","d-inline","me-3","text-primary"],[1,"row","mt-4","mb-5"],[1,"col-md-4"],[1,"form-select","pt-1","pb-1",3,"change","ngModel"],[3,"value",4,"ngFor","ngForOf"],["value","00000000-0000-0000-0000-000000000000"],[1,"table","table-hover"],[1,"d-none","d-md-table-cell"],[1,"d-none","d-sm-table-cell"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"card-footer","text-center"],["class","btn btn-outline-primary mt-3",3,"click",4,"ngIf"],[3,"value"],["colspan","4",1,"table-info"],[3,"ngClass"],[3,"id"],[1,"truncate","w-50"],["class","d-inline-block d-sm-none mt-3 btn btn-outline-primary",3,"routerLink",4,"ngIf"],[1,"text-center","d-none","d-sm-table-cell"],["class","btn btn-outline-primary",3,"routerLink",4,"ngIf"],["placement","right",3,"html"],["class","btn btn-info","target","_blank",3,"href",4,"ngIf"],["class","d-none d-md-inline","target","_blank",3,"href",4,"ngIf"],["class","d-inline d-md-none btn btn-outline-primary float-sm-right","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"btn","btn-info",3,"href"],[1,"fa","fa-download"],["target","_blank",1,"d-none","d-md-inline",3,"href"],["target","_blank",1,"d-inline","d-md-none","btn","btn-outline-primary","float-sm-right",3,"href"],[1,"d-inline-block","d-sm-none","mt-3","btn","btn-outline-primary",3,"routerLink"],[1,"btn","btn-outline-primary",3,"routerLink"],[1,"btn","btn-outline-primary","mt-3",3,"click"],[1,"fa","fa-chevron-down","ms-2"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"div",3)(6,"div",4)(7,"select",5),Le("change",function(o){return s.dateChanged(o.target.value)}),re(8,TIe,3,5,"option",6),M()(),D(9,"div",4)(10,"select",5),Le("change",function(o){return s.categoryChanged(o.target.value)}),D(11,"option",7),N(12),Y(13,"translate"),M(),re(14,EIe,3,4,"option",6),M()()(),D(15,"table",8)(16,"thead")(17,"tr")(18,"th",9),N(19),Y(20,"translate"),M(),D(21,"th"),N(22),Y(23,"translate"),M(),D(24,"th"),N(25),Y(26,"translate"),M(),ee(27,"th",10),M()(),D(28,"tbody"),re(29,kIe,5,6,"tr",11)(30,YIe,13,14,"ng-container",12),M()()(),D(31,"div",13),re(32,jIe,4,3,"button",14),M()()),2&i&&(m(3),le(B(4,12,"work_items_completed")),m(4),R("ngModel",s.date),m(),R("ngForOf",s.periods),m(2),R("ngModel",s.category),m(2),le(B(13,14,"table_header_category")),m(2),R("ngForOf",s.categories),m(5),le(B(20,16,"table_header_date")),m(3),le(B(23,18,"table_header_type")),m(3),le(B(26,20,"URL")),m(4),R("ngIf",0===s.items.length),m(),R("ngForOf",s.items),m(2),R("ngIf",s.hasMore))},dependencies:[pg,gg,id,Tr,Vh,nl,xr,zs,wt,gr,et,Xi],styles:["@keyframes _ngcontent-%COMP%_fadeIt{0%{background-color:#f8e71c33}to{background-color:#fff}}.highlight[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIt 4s ease-in-out}.truncate[_ngcontent-%COMP%]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n\n/*# sourceMappingURL=work-items.component.css.map*/"]})}return n})();var BD=function(n){return n.english="en",n.englishAU="en-AU",n.englishUK="en-UK",n.spanish="es",n.deutsch="de",n.french="fr",n.frenchCanada="fr-CA",n.netherlands="nl",n.suomi="fi",n}(BD||{});let PI=(()=>{class n{constructor(e){this.session=e}transform(e,i){if(!e)return"";if(!i)switch(this.session.locale){case BD.english:i="MM/dd/yy";break;case BD.spanish:i="dd/MM/yy";break;case BD.suomi:i="dd.MM.yy";break;default:i="shortDate"}return NE(e,i,this.session.locale)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et,16))};static#t=this.\u0275pipe=rs({name:"localDate",type:n,pure:!0})}return n})();function HIe(n,t){if(1&n&&(mn(0),D(1,"tr")(2,"td"),N(3),Y(4,"localDate"),M(),D(5,"td"),N(6),M(),D(7,"td"),N(8),M(),D(9,"td"),N(10),M()(),_n()),2&n){const e=t.$implicit;m(3),le(B(4,4,e.insertedDate)),m(3),le(e.contactTypeName),m(2),le(e.text),m(2),le(e.userFullName.substr(0,e.userFullName.indexOf(" ")))}}function VIe(n,t){if(1&n){const e=tt();D(0,"button",9),Le("click",function(){return ze(e),Ge(K().loadSummary())}),N(1),Y(2,"translate"),ee(3,"i",10),M()}2&n&&(m(),ve("",B(2,1,"more")," "))}let UIe=(()=>{class n extends Dt{constructor(e){super(),this.workService=e,this.campaignSummary=[],this.hasMore=!0,this.pageNumber=1,this.pageSize=10}ngOnInit(){this.loadSummary()}loadSummary(){this.workService.getCampaignSummary(this.pageNumber,this.pageSize).subscribe(e=>{e&&(this.hasMore=e.items.length===this.pageSize,this.hasMore&&this.pageNumber++,this.addSummaries(e.items))})}addSummaries(e){e.forEach(i=>this.campaignSummary.push(i))}static#e=this.\u0275fac=function(i){return new(i||n)(W(Rf))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-campaign-summary"]],features:[Ue],decls:25,vars:17,consts:[[1,"card"],[1,"card-body"],[1,"custom-tile-header","text-primary","mb-3"],[1,"row"],[1,"col-md-12"],[1,"table","table-striped"],[4,"ngFor","ngForOf"],[1,"card-footer","text-center"],["class","btn btn-outline-primary mt-3",3,"click",4,"ngIf"],[1,"btn","btn-outline-primary","mt-3",3,"click"],[1,"fa","fa-chevron-down","ms-2"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"div",3)(6,"div",4)(7,"table",5)(8,"thead")(9,"th"),N(10),Y(11,"translate"),M(),D(12,"th"),N(13),Y(14,"translate"),M(),D(15,"th"),N(16),Y(17,"translate"),M(),D(18,"th"),N(19),Y(20,"translate"),M()(),D(21,"tbody"),re(22,HIe,11,6,"ng-container",6),M()()()()(),D(23,"div",7),re(24,VIe,4,3,"button",8),M()()),2&i&&(m(3),le(B(4,7,"campaign_summary")),m(7),le(B(11,9,"table_header_date")),m(3),le(B(14,11,"table_header_contact_type")),m(3),le(B(17,13,"table_header_note")),m(3),le(B(20,15,"table_header_inserted_by")),m(3),R("ngForOf",s.campaignSummary),m(2),R("ngIf",s.hasMore))},dependencies:[zs,wt,et,PI]})}return n})();function zIe(n,t){1&n&&(D(0,"div",3)(1,"div",4),ee(2,"app-work-history-summary-all-time"),M()())}function GIe(n,t){1&n&&(D(0,"div",5)(1,"div",6),ee(2,"app-hours-by-month"),M()())}function WIe(n,t){1&n&&(D(0,"div",5)(1,"div",4),ee(2,"app-work-items"),M()())}function $Ie(n,t){1&n&&(D(0,"div",5)(1,"div",4),ee(2,"app-campaign-summary"),M()())}function qIe(n,t){if(1&n&&(D(0,"p",10),N(1),M()),2&n){const e=K().$implicit;m(),le(e.url)}}function KIe(n,t){1&n&&(D(0,"div",5)(1,"div",4)(2,"div",7)(3,"div",8),re(4,qIe,2,1,"p",9),M()()()()),2&n&&(m(4),R("hideKey","Seo-CustomerUrl"))}let XIe=(()=>{class n extends Dt{constructor(e){super(),this.sessionService=e}ngOnInit(){this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-seo-actions"]],features:[Ue],decls:6,vars:6,consts:[["class","row",4,"hideKey"],["class","row mt-4",4,"hideKey"],["class","row mt-4",4,"ngIf"],[1,"row"],[1,"col-md-12"],[1,"row","mt-4"],[1,"col-md-6"],[1,"card"],[1,"card-body"],["class","mb-0 text-muted text-center custom-tile-subheader",4,"hideKey"],[1,"mb-0","text-muted","text-center","custom-tile-subheader"]],template:function(i,s){1&i&&(D(0,"div"),re(1,zIe,3,0,"div",0)(2,GIe,3,0,"div",1)(3,WIe,3,0,"div",1)(4,$Ie,3,0,"div",1)(5,KIe,5,1,"div",2),M()),2&i&&(R("@fadeInOut","active"),m(),R("hideKey","Actions-WorkHistorySummary"),m(),R("hideKey","Actions-HoursByMonth"),m(),R("hideKey","Actions-WorkItemsCompleted"),m(),R("hideKey","Actions-CampaignSummaryNotes"),m(),R("ngIf",s.account))},dependencies:[es,wt,XPe,nIe,BIe,UIe],data:{animation:[pa()]}})}return n})(),Xl=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this._stream=new Gt(null),this.baseUrl=Pi_baseUrl}get data(){return this._stream.asObservable()}reload(){this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/keyword/analytics`):ct(null))).subscribe(e=>{this._stream.next(e)})}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),au=(()=>{class n{constructor(e){this.client=e,this.sourceVisitsStream=new Zt,this.cityVisitsStream=new Zt,this.dailyVisitsStream=new Zt,this.pageVisitsStream=new Zt,this.rollingVisitsStream=new Zt,this.baseUrl=Pi_baseUrl}get visitsBySource(){return this.sourceVisitsStream.asObservable()}get visitsByCity(){return this.cityVisitsStream.asObservable()}get visitsByDate(){return this.dailyVisitsStream.asObservable()}get visitsByPage(){return this.pageVisitsStream.asObservable()}get visitsRolling(){return this.rollingVisitsStream.asObservable()}loadVisitsBySource(e,i,s){const r=this.generateParams(e,i,s);this.client.get(`${this.baseUrl}account/${e}/google/analytics/sources`,{params:r}).subscribe(o=>{this.sourceVisitsStream.next(o)})}loadVisitsByCity(e,i,s){const r=this.generateParams(e,i,s);this.client.get(`${this.baseUrl}account/${e}/google/analytics/cities`,{params:r}).subscribe(o=>{this.cityVisitsStream.next(o)})}loadVisitsByDate(e,i,s){const r=this.generateParams(e,i,s);this.client.get(`${this.baseUrl}account/${e}/google/analytics/days`,{params:r}).subscribe(o=>{this.dailyVisitsStream.next(o)})}loadVisitsRolling(e){const i=(new Gr).set("accountId",String(e));this.client.get(`${this.baseUrl}account/${e}/google/analytics/rolling`,{params:i}).subscribe(s=>{this.rollingVisitsStream.next(s)})}loadVisitsByPage(e,i,s){const r=this.generateParams(e,i,s);this.client.get(`${this.baseUrl}account/${e}/google/analytics/pages`,{params:r}).subscribe(o=>{this.pageVisitsStream.next(o)})}generateParams(e,i,s){return(new Gr).set("accountId",String(e)).set("start",i.toDateString()).set("end",s.toDateString())}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),HD=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.baseUrl=Pi_baseUrl}getGuarantee(){return this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/guarantee`):ct(null)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Y7=(()=>{class n{constructor(e,i){this.sessionService=e,this.http=i,this.baseUrl=Pi_baseUrl}summary(){return this.sessionService.account.pipe(_t(e=>e?this.http.get(`${this.baseUrl}account/${e.id}/online_presence/summary`):ct(null)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Et),Ve(fs))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),Zl=(()=>{class n{transform(e){return e?e.toString():"-"}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275pipe=rs({name:"undefinedNumber",type:n,pure:!0})}return n})();function ZIe(n,t){if(1&n&&(D(0,"small"),ee(1,"helpPopover",10),M()),2&n){const e=K(2);m(),He("html",e.help)}}function JIe(n,t){if(1&n&&(D(0,"h4",9),N(1),re(2,ZIe,2,1,"small",5),M()),2&n){const e=K();m(),ve(" ",e.title," "),m(),R("ngIf",e.help)}}function QIe(n,t){1&n&&ee(0,"helpPopover",13),2&n&&He("html",K(2).subHelp)}function eAe(n,t){if(1&n&&(D(0,"p",11),N(1),re(2,QIe,1,1,"helpPopover",12),M()),2&n){const e=K();m(),ve("",e.subtitle," "),m(),R("ngIf",e.subtitle&&e.subHelp)}}function tAe(n,t){1&n&&(D(0,"span"),N(1,"\xa0"),M())}function nAe(n,t){1&n&&ee(0,"span"),2&n&&qT("fa fa-",K(2).icon," me-2 text-success c-fa custom-tile-icon")}function iAe(n,t){if(1&n&&(D(0,"span",14),re(1,nAe,1,3,"span",15),N(2),Y(3,"undefinedNumber"),M()),2&n){const e=K();m(),R("ngIf",e.icon),m(),le(B(3,2,e.val))}}function sAe(n,t){1&n&&Eb(0)}function rAe(n,t){if(1&n&&(D(0,"div",16)(1,"span",17),ee(2,"span",18),N(3),Y(4,"translate"),M()()),2&n){const e=K();m(3),ir(" ",e.change," ",B(4,2,"mtd")," ")}}function oAe(n,t){1&n&&Eb(0)}function aAe(n,t){1&n&&re(0,oAe,1,0,"ng-container",7),2&n&&R("ngTemplateOutlet",K().helpTemplate)}let II=(()=>{class n{constructor(e){this.tplRef=e}static#e=this.\u0275fac=function(i){return new(i||n)(W(Ti))};static#t=this.\u0275dir=rt({type:n,selectors:[["ng-template","tileContent",""]]})}return n})(),il=(()=>{class n{constructor(){this.colorClassMap={positive:"text-success",neutral:"",negative:""}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["tile"]],contentQueries:function(i,s,r){if(1&i&&ni(r,II,5,Ti),2&i){let o;ln(o=cn())&&(s.bodyTemplate=o.first)}},inputs:{title:"title",help:"help",subtitle:"subtitle",subHelp:"subHelp",mode:"mode",val:"val",icon:"icon",change:"change",showChange:"showChange"},exportAs:["Tile"],decls:12,vars:6,consts:[["popContent",""],[1,"card","text-center",2,"height","15.5rem"],[1,"card-body","d-flex","flex-column"],["class","card-title text-primary text-center custom-tile-header","style","min-height:2em;",4,"ngIf"],["class","text-muted mb-0 mt-0 custom-tile-subheader",4,"ngIf"],[4,"ngIf"],["class","tile-value text-success",4,"ngIf"],[4,"ngTemplateOutlet"],["class","text-muted mt-auto",4,"ngIf"],[1,"card-title","text-primary","text-center","custom-tile-header",2,"min-height","2em"],["placement","auto",3,"html"],[1,"text-muted","mb-0","mt-0","custom-tile-subheader"],["placement","bottom",3,"html",4,"ngIf"],["placement","bottom",3,"html"],[1,"tile-value","text-success"],[3,"class",4,"ngIf"],[1,"text-muted","mt-auto"],[1,"text-success"],[1,"fa","fa-caret-up","me-2"]],template:function(i,s){1&i&&(D(0,"div",1)(1,"div",2),re(2,JIe,3,2,"h4",3),D(3,"div")(4,"div"),re(5,eAe,3,2,"p",4)(6,tAe,2,0,"span",5),M(),re(7,iAe,4,4,"span",6),M(),re(8,sAe,1,0,"ng-container",7)(9,rAe,5,4,"div",8),M()(),re(10,aAe,1,1,"ng-template",null,0,hs)),2&i&&(m(2),R("ngIf",s.title),m(3),R("ngIf",s.subtitle),m(),R("ngIf",!s.subtitle),m(),R("ngIf",!s.bodyTemplate&&"-101"!=s.val),m(),R("ngTemplateOutlet",s.bodyTemplate),m(),R("ngIf",!0===s.showChange))},dependencies:[wt,xc,nl,et,Zl],encapsulation:2})}return n})(),j7=(()=>{class n{transform(e){return e>999?(e/1e3).toFixed(1)+"k":e}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275pipe=rs({name:"formatNumber",type:n,pure:!0})}return n})(),lAe=(()=>{class n extends Dt{constructor(e){super(),this.service=e}ngOnInit(){this.service.summary().pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.totalLinksBuilt=e.lifeToDate,this.mtdLinksBuild=e.monthToDate,this.showChange=e.monthToDate>0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Y7))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-online-presence"]],features:[Ue],decls:6,vars:16,consts:[["icon","link",3,"title","subtitle","val","change","showChange","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"translate"),Y(3,"undefinedNumber"),Y(4,"formatNumber"),Y(5,"translate")),2&i&&(He("title",B(1,6,"online_presence")),He("subtitle",B(2,8,"total_links_built")),He("val",B(4,12,B(3,10,s.totalLinksBuilt))),He("change",s.mtdLinksBuild),He("help",B(5,14,"online_presence_help")),R("showChange",s.showChange))},dependencies:[il,j7,et,Zl]})}return n})();function cAe(n,t){if(1&n&&(D(0,"h4",10),N(1),M()),2&n){const e=K(2).$implicit;m(),le(e.title)}}function uAe(n,t){1&n&&ee(0,"img",11),2&n&&He("src",K(2).$implicit.imageUrl,qn)}function dAe(n,t){if(1&n&&(D(0,"h5",12),N(1),M()),2&n){const e=K(2).$implicit;m(),le(e.body)}}function hAe(n,t){if(1&n&&(D(0,"a",13),N(1),M()),2&n){const e=K(2).$implicit;He("href",e.hyperlink,qn),m(),le(e.hyperlinkText)}}function fAe(n,t){1&n&&(D(0,"a",14),N(1),Y(2,"translate"),M()),2&n&&(He("href",K(2).$implicit.hyperlink,qn),m(),le(B(2,2,"learn_more")))}function pAe(n,t){if(1&n&&(re(0,cAe,2,1,"h4",5)(1,uAe,1,1,"img",6)(2,dAe,2,1,"h5",7)(3,hAe,2,2,"a",8)(4,fAe,3,4,"a",9),ee(5,"hr")),2&n){const e=K().$implicit;R("ngIf",e.title),m(),R("ngIf",e.imageUrl),m(),R("ngIf",e.body),m(),R("ngIf",e.hyperlink&&e.hyperlinkText),m(),R("ngIf",e.hyperlink&&!e.hyperlinkText)}}function gAe(n,t){1&n&&re(0,pAe,6,5,"ng-template",4)}function mAe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"ngb-carousel"),re(3,gAe,1,0,null,3),M()()()),2&n){const e=K();m(3),R("ngForOf",e.proTips)}}let _Ae=(()=>{class n extends Dt{constructor(e){super(),this.proTipService=e}ngOnInit(){this.proTipService.get().pipe(qe(this.unsubscribe)).subscribe(e=>{this.proTips=e})}static#e=this.\u0275fac=function(i){return new(i||n)(W(k7))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-pro-tips"]],features:[Ue],decls:1,vars:1,consts:[["id","custom-pro-tip","class","card bg-dark my-3 text-center",4,"ngIf"],["id","custom-pro-tip",1,"card","bg-dark","my-3","text-center"],[1,"card-body"],[4,"ngFor","ngForOf"],["ngbSlide",""],["id","custom-pro-tip-title","class","card-title text-white",4,"ngIf"],["class","img-fluid",3,"src",4,"ngIf"],["id","custom-pro-tip-text","class","text-muted my-2",4,"ngIf"],["id","custom-pro-tip-link","class","btn btn-warning my-3","target","_blank",3,"href",4,"ngIf"],["id","custom-pro-tip-learn-more","class","btn btn-warning my-3","target","_blank",3,"href",4,"ngIf"],["id","custom-pro-tip-title",1,"card-title","text-white"],[1,"img-fluid",3,"src"],["id","custom-pro-tip-text",1,"text-muted","my-2"],["id","custom-pro-tip-link","target","_blank",1,"btn","btn-warning","my-3",3,"href"],["id","custom-pro-tip-learn-more","target","_blank",1,"btn","btn-warning","my-3",3,"href"]],template:function(i,s){1&i&&re(0,mAe,4,1,"div",0),2&i&&R("ngIf",s.proTips&&s.proTips.length>0)},dependencies:[yhe,zH,zs,wt,et]})}return n})(),yAe=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.currentRank=e.currentRank)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-current-rank"]],features:[Ue],decls:4,vars:9,consts:[["mode","positive",3,"title","val","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber"),Y(3,"translate")),2&i&&(He("title",B(1,3,"current_top_rank")),He("val",B(2,5,s.currentRank)),He("help",B(3,7,"current_top_rank_help")))},dependencies:[il,et,Zl]})}return n})(),B7=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.keywordsTop10=e.keywordsTop10,this.keywordsTop10ChangePercentage=`${e.keywordsTop10ChangePercentage}%`,this.showChange=e.keywordsTop10ChangePercentage>0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-keywords-top-10"]],features:[Ue],decls:4,vars:11,consts:[["icon","trophy",3,"title","change","showChange","val","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber"),Y(3,"translate")),2&i&&(He("title",B(1,5,"keywords_top_10")),He("change",s.keywordsTop10ChangePercentage),He("val",B(2,7,s.keywordsTop10)),He("help",B(3,9,"keywords_top_10_help")),R("showChange",s.showChange))},dependencies:[il,et,Zl]})}return n})(),H7=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.totalKeywordsImproved=e.totalKeywordsImproved)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-total-keywords-improved"]],features:[Ue],decls:4,vars:9,consts:[["icon","chart-line",3,"title","val","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber"),Y(3,"translate")),2&i&&(He("title",B(1,3,"total_keywords_improved")),He("val",B(2,5,s.totalKeywordsImproved)),He("help",B(3,7,"total_keywords_improved_help")))},dependencies:[il,et,Zl]})}return n})(),vAe=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.avgRank=e.avgRank,this.avgRankChangePercentage=e.avgRankChangePercentage,this.showChange=e.avgRankChangePercentage>0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-avg-keyword-rank"]],features:[Ue],decls:4,vars:12,consts:[["icon","balance-scale",3,"title","change","showChange","val","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber"),Y(3,"translate")),2&i&&(He("title",B(1,6,"average_ranking_all_keywords")),wc("change","",s.avgRankChangePercentage,"%"),He("val",B(2,8,s.avgRank)),He("help",B(3,10,"average_ranking_all_keywords_help")),R("showChange",s.showChange))},dependencies:[il,et,Zl]})}return n})();function bAe(n,t){if(1&n&&(D(0,"span",5),N(1),M()),2&n){const e=K(2);m(),le(e.topRankingKeyword)}}function wAe(n,t){1&n&&(D(0,"span",5),N(1,"-"),M())}function CAe(n,t){if(1&n&&(D(0,"h2",2),ee(1,"span",3),N(2,"\xa0 "),re(3,bAe,2,1,"span",4)(4,wAe,2,0,"span",4),M()),2&n){const e=K();$p("font-size",e.fontSize),m(3),R("ngIf",e.topRankingKeyword),m(),R("ngIf",!e.topRankingKeyword)}}let MAe=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e,this.fontSize="32px",this.defaultFontSize=32,this.minFontSize=24}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{if(!e||!e.topRankingKeyword)return;this.topRankingKeyword=e.topRankingKeyword;const i=Math.floor(this.defaultFontSize-this.topRankingKeyword.length/8);this.fontSize=Math.max(i,this.minFontSize)+"px"})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-top-keyword"]],features:[Ue],decls:4,vars:6,consts:[[3,"title","help"],["tileContent",""],[1,"align-middle","text-muted","mt-4"],[1,"fa","fa-search","text-success","c-fa"],["class","topKeyword",4,"ngIf"],[1,"topKeyword"]],template:function(i,s){1&i&&(D(0,"tile",0),Y(1,"translate"),Y(2,"translate"),re(3,CAe,5,4,"ng-template",1),M()),2&i&&(He("title",B(1,2,"top_ranking_keyword")),He("help",B(2,4,"top_ranking_keyword_help")))},dependencies:[il,II,wt,et],styles:[".topKeyword[_ngcontent-%COMP%]{vertical-align:middle}\n\n/*# sourceMappingURL=top-keyword.component.css.map*/"]})}return n})();var VD=V(34843);const DAe=n=>({nextRenewalDay:n}),xAe=(n,t,e,i)=>({nextRenewalMonth:n,nextRenewalDay:t,nextRenewalEndMonth:e,nextRenewalEndDay:i});function SAe(n,t){if(1&n&&(D(0,"div",10),ee(1,"canvas",11),M()),2&n){const e=K();m(),R("datasets",e.data)("labels",e.labels)("options",e.options)("legend",!1)("type","bar")}}let TAe=(()=>{class n extends Dt{constructor(e,i,s,r){super(),this.translate=e,this.work=i,this.chartColorService=s,this.sessionService=r,this.data=[],this.isLoaded=!1,this.labels=[],this.options={maintainAspectRatio:!1,responsive:!0},this.allCategories=TI,this.months=this.calculatePreviousMonths(new Date,7),this.translate.onLangChange.pipe(qe(this.unsubscribe)).subscribe(()=>this.loadAxisLabels())}ngOnInit(){this.chartColorService.stackedBar.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e,this.loadData()})}calculatePreviousMonths(e,i){const s=[];let r=0;do{const o=new Date(e.getFullYear(),e.getMonth());o.setMonth(o.getMonth()-r),s.push({month:o.getMonth()+1,key:`date_month_${o.getMonth()+1}`,year:o.getFullYear(),elapsedMonths:12*o.getFullYear()+o.getMonth()+1}),r++}while(r<i);return s.reverse()}loadAxisLabels(){return dg(...this.billedThisMonth()?this.months.slice(1).map(i=>this.getDisplayMonthAndYear(i)):this.months.slice(0,6).map(i=>this.getDisplayMonthAndYear(i))).pipe(qe(this.unsubscribe)).subscribe(i=>{this.labels=[];for(let s=0;s<i.length;s++)this.labels.push(`${i[s].monthName} ${i[s].year}`)})}getDisplayMonthAndYear(e){return this.translate.get(e.key).pipe(ht(i=>({monthName:i,year:e.year})))}loadData(){this.work.monthlySummary.pipe(_t(e=>{if(!e)return this.lastBilledDate=ti().toDate(),this.nextRenewalDate=ti().toDate(),this.currentPeriodEndDate=ti().toDate(),ct([]);this.lastBilledDate=ti(e.lastBilledDate).toDate(),this.nextRenewalDate=ti(e.nextRenewalDate).toDate(),this.currentPeriodEndDate=ti(e.nextRenewalDate).add(-1,"day").toDate(),this.loadAxisLabels();const i=this.setData(e.categorySummaryByMonth);return this.data=i.data,dg(...this.data.map(r=>this.translate.get(r.label)))}),qe(this.unsubscribe)).subscribe(e=>{if(0!==e.length){for(let i=0;i<e.length;i++)this.data[i].label=e[i];this.isLoaded=!0}})}setData(e){const i=[],s=(0,VD.curry)(this.toPrecision)(2),r=(0,VD.compose)(s,this.toHours,A7),o=this.billedThisMonth()?this.months.slice(1).map(a=>a.elapsedMonths):this.months.slice(0,6).map(a=>a.elapsedMonths);return Object.keys(this.allCategories).forEach((a,l)=>{i.push({data:[],label:this.allCategories[a].translation,stack:"",backgroundColor:this.chartColors[l].backgroundColor});for(const c of o){const u=e.filter(h=>h.key.elapsedMonths<=c&&h.key.workCategoryGroupId.toUpperCase()===this.allCategories[a].id.toUpperCase()).map(h=>h.value),d=r(u);i[i.length-1].data.push(d)}}),{data:i}}toHours(e){return e?e/60:0}toPrecision(e,i){return i.toFixed(e)}billedThisMonth(){return this.lastBilledDate&&this.lastBilledDate.getMonth()===(new Date).getMonth()}static#e=this.\u0275fac=function(i){return new(i||n)(W(rr),W(Rf),W(so),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-total-work-completed"]],features:[kt([Ys]),Ue],decls:26,vars:37,consts:[[1,"card","text-center"],[1,"card-body","d-flex","flex-column"],[1,"card-title","text-primary","text-center","custom-tile-header",2,"min-height","2em"],["placement","top",3,"html"],[1,"text-muted","mb-0","mt-0","custom-tile-subheader"],[1,"row"],[1,"col-md-12"],["class","p-2 text-center text-md-left d-flex flex-column h-100",4,"ngIf"],[1,"alert","alert-info"],["placement","bottom",3,"html"],[1,"p-2","text-center","text-md-left","d-flex","flex-column","h-100"],["baseChart","",1,"chart-canvas",3,"datasets","labels","options","legend","type"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),D(5,"small"),ee(6,"helpPopover",3),Y(7,"translate"),M()(),D(8,"div")(9,"div")(10,"p",4),N(11),Y(12,"translate"),M()()(),D(13,"div",5)(14,"div",6),re(15,SAe,2,5,"div",7),M()(),D(16,"div",8),N(17),Y(18,"ordinal"),Y(19,"translate"),ee(20,"helpPopover",9),Y(21,"date"),Y(22,"ordinal"),Y(23,"date"),Y(24,"ordinal"),Y(25,"translate"),M()()()),2&i&&(m(3),ve(" ",B(4,6,"total_work_completed")," "),m(3),He("html",B(7,8,"total_work_completed_help")),m(5),ve("",B(12,10,"work_completed_all_time")," "),m(4),R("ngIf",s.isLoaded),m(2),ve(" ",On(19,14,"campaign_renews_on",Lt(30,DAe,B(18,12,s.nextRenewalDate)))," "),m(3),He("html",On(25,27,"tooltip_renewal_example",Ab(32,xAe,On(21,17,s.lastBilledDate,"MMMM"),B(22,20,s.lastBilledDate),On(23,22,s.currentPeriodEndDate,"MMMM"),B(24,25,s.currentPeriodEndDate)))))},dependencies:[Ys,nl,wt,P7,et,Xi]})}return n})();var sl=function(n){return n[n.CompleteOnboarding=1]="CompleteOnboarding",n[n.GooglePin=2]="GooglePin",n[n.ImplementOnsiteBlog=3]="ImplementOnsiteBlog",n[n.ImplementOnsiteCopy=4]="ImplementOnsiteCopy",n[n.ImplementOnsiteRecommendations=5]="ImplementOnsiteRecommendations",n[n.OnsiteBlogApproval=6]="OnsiteBlogApproval",n[n.OnsiteRecommendationApproval=7]="OnsiteRecommendationApproval",n[n.WebsiteCopyApproval=8]="WebsiteCopyApproval",n[n.WebsiteAccess=9]="WebsiteAccess",n[n.SeoContentSurvey=10]="SeoContentSurvey",n}(sl||{});const EAe=n=>({date:n}),V7=n=>({disabled:n}),kAe=n=>({"is-invalid":n});function OAe(n,t){1&n&&(D(0,"div",8),ee(1,"i",9),N(2),Y(3,"translate"),M()),2&n&&(m(2),ve("",B(3,1,"ra_onsite_recommendation_approval")," "))}function LAe(n,t){1&n&&(D(0,"div",10),ee(1,"i",11),N(2),Y(3,"translate"),M()),2&n&&(m(2),ve("",B(3,1,"ra_onsite_recommendation_approval")," "))}function PAe(n,t){if(1&n){const e=tt();D(0,"span",12),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",13),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function IAe(n,t){if(1&n){const e=tt();D(0,"span",12),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",14),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_onsite_recommendation_approval_desc",Lt(7,EAe,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function AAe(n,t){if(1&n){const e=tt();D(0,"span",12),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",13),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"URL")," "))}function RAe(n,t){if(1&n){const e=tt();D(0,"span",12),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",14),N(2),M()}if(2&n){const e=K(2);m(2),ve(" ",e.requiredAction.displayUrl," ")}}function NAe(n,t){if(1&n){const e=tt();mn(0),D(1,"div",17)(2,"button",18),Le("click",function(){return ze(e),Ge(K(4).approve())}),N(3),Y(4,"translate"),M()(),D(5,"div",17)(6,"button",19),Le("click",function(){return ze(e),Ge(K(4).startRejection())}),N(7),Y(8,"translate"),M()(),_n()}if(2&n){const e=K(4);m(2),R("disabled",e.isRejection||e.isCsr)("ngClass",Lt(10,V7,e.isRejection)),m(),ve(" ",B(4,6,"approve")," "),m(3),R("disabled",e.isRejection||e.isCsr)("ngClass",Lt(12,V7,e.isRejection)),m(),ve(" ",B(8,8,"reject")," ")}}function FAe(n,t){if(1&n){const e=tt();D(0,"div",17)(1,"button",20),Le("click",function(){return ze(e),Ge(K(4).download())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),ve(" ",B(3,1,"download")," "))}function YAe(n,t){if(1&n){const e=tt();mn(0),D(1,"div",21)(2,"div",22),ee(3,"textarea",23),Y(4,"translate"),D(5,"div",24),N(6),Y(7,"translate"),M()()(),D(8,"div",25)(9,"button",26),Le("click",function(){return ze(e),Ge(K(4).cancelRejection())}),N(10),Y(11,"translate"),M()(),D(12,"div",25)(13,"button",27),Le("click",function(){return ze(e),Ge(K(4).reject())}),N(14),Y(15,"translate"),M()(),_n()}if(2&n){const e=K(4);m(),R("formGroup",e.form),m(2),He("placeholder",B(4,6,"ra_onsite_recommendation_approval_rejection_placeholder")),R("ngClass",Lt(14,kAe,e.form.controls.note.dirty&&e.form.controls.note.invalid)),m(3),ve(" ",B(7,8,"ra_onsite_recommendation_approval_rejection_validation")," "),m(4),ve(" ",B(11,10,"shared.button_cancel")," "),m(4),ve(" ",B(15,12,"reject")," ")}}function jAe(n,t){if(1&n&&(mn(0),re(1,NAe,9,14,"ng-container",15)(2,FAe,4,3,"div",16)(3,YAe,16,16,"ng-container",15),_n()),2&n){const e=K(3);m(),R("ngIf",e.isDownloaded),m(),R("hideKey","Seo-Dashboard-RequiredAction-OnsiteRecommendation-Button"),m(),R("ngIf",e.isDownloaded&&e.isRejection)}}function BAe(n,t){1&n&&(D(0,"div",29),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"ra_onsite_recommendation_approval_customer_implemented_approval")," "))}function HAe(n,t){1&n&&(D(0,"div",29),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"ra_onsite_recommendation_approval_partner_implemented_approval")," "))}function VAe(n,t){if(1&n&&(mn(0),re(1,BAe,3,3,"div",28)(2,HAe,3,3,"div",28),_n()),2&n){const e=K(3);m(),R("ngIf",e.isImplementedByCustomer),m(),R("ngIf",!e.isImplementedByCustomer)}}function UAe(n,t){1&n&&(mn(0),D(1,"div",30),N(2),Y(3,"translate"),M(),_n()),2&n&&(m(2),ve(" ",B(3,1,"ra_onsite_recommendation_approval_feedback_submitted")," "))}function zAe(n,t){if(1&n&&(mn(0),re(1,jAe,4,3,"ng-container",15)(2,VAe,3,2,"ng-container",15)(3,UAe,4,3,"ng-container",15),_n()),2&n){const e=K(2);m(),R("ngIf",!e.isActionComplete&&!e.isActionRejected),m(),R("ngIf",e.isActionComplete),m(),R("ngIf",e.isActionRejected)}}function GAe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2),re(2,OAe,4,3,"div",3)(3,LAe,4,3,"div",4),D(4,"div",5)(5,"small"),re(6,PAe,4,3,"span",6)(7,IAe,5,9,"span",6),M()(),D(8,"div",5)(9,"small"),re(10,AAe,4,3,"span",6)(11,RAe,3,1,"span",6),M()(),re(12,zAe,4,3,"ng-container",7),M()()),2&n){const e=K();m(2),R("ngIf",!e.isActionComplete),m(),R("ngIf",e.isActionComplete),m(3),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(3),R("ngIf",e.isUrlCollapsed),m(),R("ngIf",!e.isUrlCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-OnsiteRecommendationApproval-Button")}}var U7=function(n){return n[n.NotSelected=0]="NotSelected",n[n.Customer=1]="Customer",n[n.Boostability=2]="Boostability",n[n.Partner=3]="Partner",n}(U7||{});let WAe=(()=>{class n extends Dt{constructor(e,i,s,r){super(),this.formBuilder=e,this.accountService=i,this.requiredActionService=s,this.sessionService=r}ngOnInit(){this.isDescriptionCollapsed=!0,this.isUrlCollapsed=!0,this.isDownloaded=!1,this.isRejection=!1,this.isActionComplete=!1,this.isImplementedByCustomer=!1,this.sessionService.isCsr.subscribe(e=>this.isCsr=e),this.form=this.formBuilder.group({note:["",[Sn.required,Sn.maxLength(1e3)]]}),this.accountService.onsiteRecommendationSettings().pipe(qe(this.unsubscribe)).subscribe(e=>{this.onsiteRecommendationSettings=e,this.isImplementedByCustomer=this.onsiteRecommendationSettings&&this.onsiteRecommendationSettings.responsibility===U7.Customer})}download(){window.open(this.requiredAction.hyperlink),this.isDownloaded=!0}approve(){return this.requiredActionService.completeTask(this.requiredAction.completeTaskPayload).pipe(qe(this.unsubscribe)).subscribe(()=>{this.isActionComplete=!0})}reject(){if(this.form.valid)return this.requiredAction.rejectTaskPayload.rejectionReason=this.requiredAction.displayUrl?`URL: ${this.requiredAction.displayUrl}\r\n\r\n${this.form.controls.note.value}`:this.form.controls.note.value,this.requiredActionService.rejectTask(this.requiredAction.rejectTaskPayload).pipe(qe(this.unsubscribe)).subscribe(()=>{this.isActionRejected=!0});this.form.controls.note.markAsDirty({onlySelf:!0})}startRejection(){this.isRejection=!0}cancelRejection(){this.isRejection=!1}static#e=this.\u0275fac=function(i){return new(i||n)(W(Lc),W(yD),W(B0),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-onsite-recommendation-approval"]],inputs:{requiredAction:"requiredAction"},features:[Ue],decls:1,vars:1,consts:[["class","list-group-item action",4,"hideKey"],[1,"list-group-item","action"],[1,"d-flex","flex-wrap","mb-2"],["class","mb-1 text-danger custom-required-actions-item-title","style","min-width: 100%",4,"ngIf"],["class","mb-1 text-success custom-required-actions-item-title","style","min-width: 100%",4,"ngIf"],[1,"text-muted","ms-4","mb-2",2,"min-width","100%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],[4,"hideKey"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"mb-1","text-success","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-check-circle","fa-2x","text-success","float-start","pe-2"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[4,"ngIf"],["class","ms-auto mb-2","style","min-width: 25%",4,"hideKey"],[1,"ms-auto","mb-2",2,"min-width","25%"],["target","_blank",1,"btn","btn-success","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click","disabled","ngClass"],["target","_blank",1,"btn","btn-danger","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click","disabled","ngClass"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click"],["novalidate","",2,"min-width","100%",3,"formGroup"],[1,"form-group"],["rows","7","id","inputNote","required","","autofocus","","autocomplete","off","formControlName","note",1,"form-control",3,"placeholder","ngClass"],[1,"invalid-feedback"],[1,"ms-auto",2,"min-width","38%"],[1,"btn","btn-default","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click"],[1,"btn","btn-danger","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click"],["class","alert alert-success",4,"ngIf"],[1,"alert","alert-success"],[1,"alert","alert-danger"]],template:function(i,s){1&i&&re(0,GAe,13,7,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-OnsiteRecommendationApproval")},dependencies:[Oo,Tr,oa,Oc,Lo,Na,es,xr,wt,et,Xi],styles:["a[_ngcontent-%COMP%]{cursor:default}.clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=onsite-recommendation-approval.component.css.map*/"]})}return n})();const $Ae=n=>({date:n});function qAe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function KAe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_website_copy_desc",Lt(7,$Ae,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function XAe(n,t){if(1&n&&(D(0,"div",11)(1,"a",12),N(2),Y(3,"translate"),M()()),2&n){const e=K(2);m(),He("href",e.requiredAction.hyperlink,qn),m(),ve(" ",B(3,2,"preview_content")," ")}}function ZAe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,qAe,4,3,"span",6)(9,KAe,5,9,"span",6),M()(),re(10,XAe,4,4,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,4,"ra_website_copy")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-WebsiteCopyApproval-Button")}}let JAe=(()=>{class n{constructor(){}ngOnInit(){this.isDescriptionCollapsed=!0}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-website-copy-approval"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item requiredAction",4,"hideKey"],[1,"list-group-item","requiredAction"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","38%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"href"]],template:function(i,s){1&i&&re(0,ZAe,11,6,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-WebsiteCopyApproval")},dependencies:[es,wt,et,Xi],styles:["a[_ngcontent-%COMP%]{cursor:default}.clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=website-copy-approval.component.css.map*/"]})}return n})();const QAe=n=>({date:n});function eRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function tRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_google_pin_desc",Lt(7,QAe,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function nRe(n,t){if(1&n){const e=tt();D(0,"div",11)(1,"button",12),Le("click",function(){return ze(e),Ge(K(2).redirect())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),ve(" ",B(3,1,"contact_us")," "))}function iRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,eRe,4,3,"span",6)(9,tRe,5,9,"span",6),M()(),re(10,nRe,4,3,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,4,"ra_google_pin")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-GooglePin-Button")}}let sRe=(()=>{class n{constructor(e){this.router=e,this.redirectPath="/user/contact-us"}ngOnInit(){this.isDescriptionCollapsed=!0}redirect(){this.router.navigate([this.redirectPath])}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-pin"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item requiredAction",4,"hideKey"],[1,"list-group-item","requiredAction"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","38%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click"]],template:function(i,s){1&i&&re(0,iRe,11,6,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-GooglePin")},dependencies:[es,wt,et,Xi],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=google-pin.component.css.map*/"]})}return n})();const rRe=n=>({date:n});function oRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function aRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_implement_onsite_recommendations_desc",Lt(7,rRe,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function lRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"URL")," "))}function cRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",10),N(2),M()}if(2&n){const e=K(2);m(2),ve(" ",e.requiredAction.displayUrl," ")}}function uRe(n,t){if(1&n&&(D(0,"div",11)(1,"a",12),N(2),Y(3,"translate"),M()()),2&n){const e=K(2);m(),He("href",e.requiredAction.hyperlink,qn),m(),ve(" ",B(3,2,"download")," ")}}function dRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,oRe,4,3,"span",6)(9,aRe,5,9,"span",6),M()(),D(10,"div",5)(11,"small"),re(12,lRe,4,3,"span",6)(13,cRe,3,1,"span",6),M()(),re(14,uRe,4,4,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,6,"ra_implement_onsite_recommendations")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(3),R("ngIf",e.isUrlCollapsed),m(),R("ngIf",!e.isUrlCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-ImplementOnsiteRecommendations-Button")}}let hRe=(()=>{class n{constructor(){}ngOnInit(){this.isDescriptionCollapsed=!0,this.isUrlCollapsed=!0}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-implement-onsite-recommendations"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item action",4,"hideKey"],[1,"list-group-item","action"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","100%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"href"]],template:function(i,s){1&i&&re(0,dRe,15,8,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-ImplementOnsiteRecommendations")},dependencies:[es,wt,et,Xi],styles:["a[_ngcontent-%COMP%]{cursor:default}.clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=implement-onsite-recommendations.component.css.map*/"]})}return n})();const fRe=n=>({date:n});function pRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function gRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_implement_onsite_copy_desc",Lt(7,fRe,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function mRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"URL")," "))}function _Re(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",10),N(2),M()}if(2&n){const e=K(2);m(2),ve(" ",e.requiredAction.displayUrl," ")}}function yRe(n,t){if(1&n){const e=tt();D(0,"button",13),Le("click",function(){return ze(e),Ge(K(3).downloadAndClose())}),N(1),Y(2,"translate"),M()}2&n&&(R("disabled",K(3).isCsr),m(),ve(" ",B(2,2,"download_and_close")," "))}function vRe(n,t){if(1&n&&(D(0,"div",11),re(1,yRe,3,4,"button",12),M()),2&n){const e=K(2);m(),R("ngIf",e.requiredAction.hyperlink)}}function bRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,pRe,4,3,"span",6)(9,gRe,5,9,"span",6),M()(),D(10,"div",5)(11,"small"),re(12,mRe,4,3,"span",6)(13,_Re,3,1,"span",6),M()(),re(14,vRe,2,1,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,6,"ra_implement_onsite_copy")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(3),R("ngIf",e.isUrlCollapsed),m(),R("ngIf",!e.isUrlCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-ImplementOnsiteCopy-Button")}}let wRe=(()=>{class n extends Dt{constructor(e,i){super(),this.requiredActionService=e,this.sessionService=i}ngOnInit(){this.isDescriptionCollapsed=!0,this.isUrlCollapsed=!0,this.sessionService.isCsr.subscribe(e=>this.isCsr=e)}downloadAndClose(){return window.open(this.requiredAction.hyperlink),this.requiredActionService.completeTicket(this.requiredAction.completeTicketPayload).pipe(qe(this.unsubscribe)).subscribe(()=>{this.requiredActionService.loadRequiredActions()})}static#e=this.\u0275fac=function(i){return new(i||n)(W(B0),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-implement-onsite-copy"]],inputs:{requiredAction:"requiredAction"},features:[Ue],decls:1,vars:1,consts:[["class","list-group-item action",4,"hideKey"],[1,"list-group-item","action"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","100%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank","class","btn btn-primary btn-sm align-self-start w-100",3,"disabled","click",4,"ngIf"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","w-100",3,"click","disabled"]],template:function(i,s){1&i&&re(0,bRe,15,8,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-ImplementOnsiteCopy")},dependencies:[es,wt,et,Xi],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=implement-onsite-copy.component.css.map*/"]})}return n})();const CRe=n=>({date:n});function MRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function DRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_implement_onsite_blog_desc",Lt(7,CRe,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function xRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"URL")," "))}function SRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isUrlCollapsed=!s.isUrlCollapsed)}),ee(1,"i",10),N(2),M()}if(2&n){const e=K(2);m(2),ve(" ",e.requiredAction.displayUrl," ")}}function TRe(n,t){if(1&n){const e=tt();D(0,"button",13),Le("click",function(){return ze(e),Ge(K(3).downloadAndClose())}),N(1),Y(2,"translate"),M()}2&n&&(R("disabled",K(3).isCsr),m(),ve(" ",B(2,2,"download_and_close")," "))}function ERe(n,t){if(1&n&&(D(0,"div",11),re(1,TRe,3,4,"button",12),M()),2&n){const e=K(2);m(),R("ngIf",e.requiredAction.hyperlink)}}function kRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,MRe,4,3,"span",6)(9,DRe,5,9,"span",6),M()(),D(10,"div",5)(11,"small"),re(12,xRe,4,3,"span",6)(13,SRe,3,1,"span",6),M()(),re(14,ERe,2,1,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,6,"ra_implement_onsite_blog")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(3),R("ngIf",e.isUrlCollapsed),m(),R("ngIf",!e.isUrlCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-ImplementOnsiteBlog-Button")}}let ORe=(()=>{class n extends Dt{constructor(e,i){super(),this.requiredActionService=e,this.sessionService=i}ngOnInit(){this.isDescriptionCollapsed=!0,this.isUrlCollapsed=!0,this.sessionService.isCsr.subscribe(e=>this.isCsr=e)}downloadAndClose(){return window.open(this.requiredAction.hyperlink),this.requiredActionService.completeTicket(this.requiredAction.completeTicketPayload).pipe(qe(this.unsubscribe)).subscribe(()=>{this.requiredActionService.loadRequiredActions()})}static#e=this.\u0275fac=function(i){return new(i||n)(W(B0),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-implement-onsite-blog"]],inputs:{requiredAction:"requiredAction"},features:[Ue],decls:1,vars:1,consts:[["class","list-group-item action",4,"hideKey"],[1,"list-group-item","action"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","100%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank","class","btn btn-primary btn-sm align-self-start w-100",3,"disabled","click",4,"ngIf"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","w-100",3,"click","disabled"]],template:function(i,s){1&i&&re(0,kRe,15,8,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-ImplementOnsiteBlog")},dependencies:[es,wt,et,Xi],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=implement-onsite-blog.component.css.map*/"]})}return n})();function LRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function PRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"ra_complete_onboarding_desc")," "))}function IRe(n,t){if(1&n){const e=tt();D(0,"div",11)(1,"button",12),Le("click",function(){return ze(e),Ge(K(2).redirect())}),N(2),Y(3,"translate"),M()()}2&n&&(m(2),ve(" ",B(3,1,"contact_us")," "))}function ARe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,LRe,4,3,"span",6)(9,PRe,4,3,"span",6),M()(),re(10,IRe,4,3,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,4,"ra_complete_onboarding")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-CompleteOnboarding-Button")}}let RRe=(()=>{class n{constructor(e){this.router=e,this.redirectPath="/user/contact-us"}ngOnInit(){this.isDescriptionCollapsed=!0}redirect(){this.router.navigate([this.redirectPath])}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-complete-onboarding"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item requiredAction",4,"hideKey"],[1,"list-group-item","requiredAction"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","38%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"click"]],template:function(i,s){1&i&&re(0,ARe,11,6,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-CompleteOnboarding")},dependencies:[es,wt,et],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=complete-onboarding.component.css.map*/"]})}return n})();const NRe=n=>({date:n});function FRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",9),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function YRe(n,t){if(1&n){const e=tt();D(0,"span",8),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"date"),Y(4,"translate"),M()}if(2&n){const e=K(2);m(2),ve(" ",On(4,4,"ra_onsite_blog_approval_desc",Lt(7,NRe,On(3,1,e.requiredAction.date,"shortDate")))," ")}}function jRe(n,t){if(1&n&&(D(0,"div",11)(1,"a",12),N(2),Y(3,"translate"),M()()),2&n){const e=K(2);m(),He("href",e.requiredAction.hyperlink,qn),m(),ve(" ",B(3,2,"preview_content")," ")}}function BRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,FRe,4,3,"span",6)(9,YRe,5,9,"span",6),M()(),re(10,jRe,4,4,"div",7),M()()),2&n){const e=K();m(4),ve("",B(5,4,"ra_onsite_blog_approval")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(),R("hideKey","Seo-Dashboard-RequiredAction-OnsiteBlogApproval-Button")}}let HRe=(()=>{class n{constructor(){}ngOnInit(){this.isDescriptionCollapsed=!0}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-onsite-blog-approval"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item requiredAction",4,"hideKey"],[1,"list-group-item","requiredAction"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","38%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],["class","ms-auto","style","min-width: 38%",4,"hideKey"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"],[1,"ms-auto",2,"min-width","38%"],["target","_blank",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100",3,"href"]],template:function(i,s){1&i&&re(0,BRe,11,6,"div",0),2&i&&R("hideKey","Seo-Dashboard-RequiredAction-OnsiteBlogApproval")},dependencies:[es,wt,et,Xi],styles:["a[_ngcontent-%COMP%]{cursor:default}.clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=onsite-blog-approval.component.css.map*/"]})}return n})();function VRe(n,t){if(1&n){const e=tt();D(0,"span",9),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function URe(n,t){if(1&n){const e=tt();D(0,"span",9),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",11),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"ra_website_access_desc")," "))}function zRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,VRe,4,3,"span",6)(9,URe,4,3,"span",6),M()(),D(10,"div",7)(11,"button",8),N(12),Y(13,"translate"),M()()()()),2&n){const e=K();m(4),ve("",B(5,4,"ra_website_access")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(3),ve(" ",B(13,6,"website_access")," ")}}let GRe=(()=>{class n{constructor(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ng-component"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item requiredAction",4,"hideKey"],[1,"list-group-item","requiredAction"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","38%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],[1,"ms-auto",2,"min-width","38%"],["routerLink","/user/website-access",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"]],template:function(i,s){1&i&&re(0,zRe,14,8,"div",0),2&i&&R("hideKey","Profile-WebsiteAccess")},dependencies:[es,wt,gr,et],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=website-access.component.css.map*/"]})}return n})();function WRe(n,t){if(1&n){const e=tt();D(0,"span",9),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",10),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"view_details")," "))}function $Re(n,t){if(1&n){const e=tt();D(0,"span",9),Le("click",function(){ze(e);const s=K(2);return Ge(s.isDescriptionCollapsed=!s.isDescriptionCollapsed)}),ee(1,"i",11),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"ra_seo_content_survey_desc")," "))}function qRe(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),ee(3,"i",4),N(4),Y(5,"translate"),M(),D(6,"div",5)(7,"small"),re(8,WRe,4,3,"span",6)(9,$Re,4,3,"span",6),M()(),D(10,"div",7)(11,"button",8),N(12),Y(13,"translate"),M()()()()),2&n){const e=K();m(4),ve("",B(5,4,"ra_content_survey_response_needed")," "),m(4),R("ngIf",e.isDescriptionCollapsed),m(),R("ngIf",!e.isDescriptionCollapsed),m(3),ve(" ",B(13,6,"seo_content_survey.content_survey")," ")}}let KRe=(()=>{class n{constructor(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["ng-component"]],inputs:{requiredAction:"requiredAction"},decls:1,vars:1,consts:[["class","list-group-item requiredAction",4,"hideKey"],[1,"list-group-item","requiredAction"],[1,"d-flex","flex-wrap","mb-2"],[1,"mb-1","text-danger","custom-required-actions-item-title",2,"min-width","100%"],[1,"fa","fa-exclamation-circle","fa-2x","text-danger","float-start","pe-2"],[1,"text-muted","ms-4","mb-2",2,"min-width","38%"],["class","clickable customer-required-actions-text font-italic",3,"click",4,"ngIf"],[1,"ms-auto",2,"min-width","38%"],["routerLink","/user/seo-content-survey",1,"btn","btn-primary","btn-sm","align-self-start","custom-required-actions-item-button","w-100"],[1,"clickable","customer-required-actions-text","font-italic",3,"click"],[1,"fa","fa-plus-circle","customer-required-actions-text"],[1,"fa","fa-minus-circle","customer-required-actions-text"]],template:function(i,s){1&i&&re(0,qRe,14,8,"div",0),2&i&&R("hideKey","Profile-SeoContentSurvey")},dependencies:[es,wt,gr,et],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=seo-content-survey.component.css.map*/"]})}return n})();const XRe=["requiredActionContent"];function ZRe(n,t){1&n&&(D(0,"div",2)(1,"div",3)(2,"h4",4),N(3),Y(4,"translate"),M(),D(5,"p",5),N(6),Y(7,"translate"),M(),D(8,"div",6),ee(9,"template",null,0),M()()()),2&n&&(m(3),le(B(4,2,"required_client_actions")),m(3),le(B(7,4,"required_client_actions_sub")))}const JRe={[sl.OnsiteRecommendationApproval]:WAe,[sl.OnsiteBlogApproval]:HRe,[sl.WebsiteCopyApproval]:JAe,[sl.CompleteOnboarding]:RRe,[sl.GooglePin]:sRe,[sl.ImplementOnsiteRecommendations]:hRe,[sl.ImplementOnsiteCopy]:wRe,[sl.ImplementOnsiteBlog]:ORe,[sl.WebsiteAccess]:GRe,[sl.SeoContentSurvey]:KRe};let QRe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.requiredActionService=e,this.componentFactoryResolver=i,this.changeDetectorRef=s,this.showRequiredActions=!0}ngAfterViewInit(){this.requiredActionService.requiredActions.pipe(qe(this.unsubscribe)).subscribe(e=>{if(this.showRequiredActions=e&&e.length>0,this.requiredActionContent){this.requiredActionContent.clear();for(const i of e){const s=this.componentFactoryResolver.resolveComponentFactory(JRe[i.type]);this.requiredActionContent.createComponent(s).instance.requiredAction=i}this.changeDetectorRef.detectChanges()}}),this.requiredActionService.loadRequiredActions()}static#e=this.\u0275fac=function(i){return new(i||n)(W(B0),W(kp),W(Dr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-required-actions"]],viewQuery:function(i,s){if(1&i&&xo(XRe,5,Us),2&i){let r;ln(r=cn())&&(s.requiredActionContent=r.first)}},features:[Ue],decls:1,vars:1,consts:[["requiredActionContent",""],["class","card",4,"ngIf"],[1,"card"],[1,"card-body"],["id","custom-required-actions-title",1,"card-title","text-center","text-danger"],["id","custom-required-actions-subheader",1,"text-secondary"],[1,"list-group"]],template:function(i,s){1&i&&re(0,ZRe,11,6,"div",1),2&i&&R("ngIf",s.showRequiredActions)},dependencies:[wt,et],styles:[".clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%]:hover{color:#434343}\n\n/*# sourceMappingURL=required-actions.component.css.map*/"]})}return n})(),eNe=(()=>{class n extends Dt{constructor(e){super(),this.service=e}ngOnInit(){this.getTotalRollingVisits()}getTotalRollingVisits(){this.service.visitsRolling.pipe(qe(this.unsubscribe)).subscribe(e=>{if(!e||!e.yearToDate.wasSuccessful||!e.monthToDate.wasSuccessful)return;const i=kI(r=>parseInt(r.value,10),e.yearToDate.data),s=kI(r=>parseInt(r.value,10),e.monthToDate.data);this.MTD=s,this.showChange=0!==s,this.totalVisits=i})}static#e=this.\u0275fac=function(i){return new(i||n)(W(au))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-traffic"]],features:[Ue],decls:6,vars:17,consts:[["icon","users",3,"title","val","change","showChange","subtitle","subHelp","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"formatNumber"),Y(3,"translate"),Y(4,"translate"),Y(5,"translate")),2&i&&(He("title",B(1,7,"traffic")),He("val",B(2,9,s.totalVisits)),He("change",s.MTD),He("subtitle",B(3,11,"total_organic_visits")),He("subHelp",B(4,13,"organic_visits_help")),He("help",B(5,15,"traffic_help")),R("showChange",s.showChange))},dependencies:[il,j7,et]})}return n})(),tNe=(()=>{class n extends Dt{constructor(e,i){super(),this.translate=e,this.work=i}ngOnInit(){this.work.taskCount.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.allTimeCount=e.allTimeCount,this.sinceLastBillingDateCount=e.sinceLastBillingDateCount,this.showChange=this.sinceLastBillingDateCount>0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(rr),W(Rf))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-total-work-items-completed"]],features:[Ue],decls:4,vars:11,consts:[["icon","wrench",3,"title","val","change","showChange","help"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber"),Y(3,"translate")),2&i&&(He("title",B(1,5,"total_work_items_completed")),He("val",B(2,7,s.allTimeCount)),He("change",s.sinceLastBillingDateCount),He("help",B(3,9,"total_work_items_completed_help")),R("showChange",s.showChange))},dependencies:[il,et,Zl]})}return n})();function nNe(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"table_header_pending")))}function iNe(n,t){if(1&n&&(D(0,"span"),N(1),Y(2,"date"),M()),2&n){const e=K(2);m(),ve(" ",On(2,1,e.guaranteeAudit.startDate,"mediumDate"),"")}}function sNe(n,t){if(1&n&&(D(0,"h2",2),ee(1,"span",3),N(2,"\xa0 "),re(3,nNe,3,3,"span",4)(4,iNe,3,4,"span",4),M()),2&n){const e=K();$p("font-size",e.fontSize),m(3),R("ngIf",e.startPending),m(),R("ngIf",e.isLoaded&&!e.startPending)}}let rNe=(()=>{class n extends Dt{constructor(e,i){super(),this.guaranteeService=e,this.translate=i,this.isLoaded=!1}ngOnInit(){this.guaranteeService.getGuarantee().pipe(qe(this.unsubscribe)).subscribe(e=>{if(!e)return this.helpText="";this.guaranteeAudit=e,this.isLoaded=!0,this.startPending=!e.startDate||e.startDate>new Date,this.translate.get("guarantee_start_date_help").pipe(qe(this.unsubscribe)).subscribe(s=>{this.helpText=this.startPending?s:""})})}static#e=this.\u0275fac=function(i){return new(i||n)(W(HD),W(rr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-mbg-start-date"]],features:[Ue],decls:3,vars:4,consts:[[3,"title","help"],["tileContent",""],[1,"align-middle","text-muted","mt-4"],[1,"fa","fa-calendar-alt","text-success","c-fa"],[4,"ngIf"]],template:function(i,s){1&i&&(D(0,"tile",0),Y(1,"translate"),re(2,sNe,5,4,"ng-template",1),M()),2&i&&(He("title",B(1,2,"guarantee_start_date")),He("help",s.helpText))},dependencies:[il,II,wt,et,Xi]})}return n})();var oNe=V(416);function aNe(n,t){if(1&n&&ee(0,"canvas",12),2&n){const e=K();R("datasets",e.data)("labels",e.labels)("options",e.options)("legend",!1)("chartType","horizontalBar")("colors",e.chartColors)}}function lNe(n,t){if(1&n&&(D(0,"span",13),N(1),Y(2,"translate"),M()),2&n){const e=K();m(),ir(" ",e.guaranteeAudit.numberOfKeywordsOnFirstPage," ",B(2,2,"main_keyword_first_page")," ")}}function cNe(n,t){if(1&n&&(D(0,"h5",13),N(1),Y(2,"translate"),M()),2&n){const e=K();m(),ir(" ",e.guaranteeAudit.numberOfKeywordsOnFirstPage," ",B(2,2,"main_keywords_first_page")," ")}}let uNe=(()=>{class n extends Dt{constructor(e,i){super(),this.guaranteeService=e,this.chartColorService=i,this.isLoaded=!1,this.data=[],this.labels=["0"],this.options={responsive:!0,borderWidth:10,tooltips:{enabled:!1},scales:{xAxes:[{stacked:!0,display:!0,ticks:{stepSize:1}}],yAxes:[{stacked:!0,display:!1}]}},this.chartColors=[],this.targetAchieved=1,this.noRemainingAmount=0}ngOnInit(){Qu(this.guaranteeService.getGuarantee(),this.chartColorService.stackedBar).pipe(ht(e=>{const i=e[0],s=e[1];!i||!s||(this.handleGuaranteeAudit(i),this.handleChartColors(s))}),qe(this.unsubscribe)).subscribe()}handleGuaranteeAudit(e){this.guaranteeAudit=e,this.guaranteeAudit.numberOfKeywordsOnFirstPage>=this.guaranteeAudit.numberOfKeywordsGuaranteed?(this.targetPercent=this.targetAchieved,this.guaranteeAchievedAmount=this.guaranteeAudit.numberOfKeywordsGuaranteed,this.guaranteeRemainingAmount=this.noRemainingAmount):(this.targetPercent=this.guaranteeAudit.numberOfKeywordsOnFirstPage/this.guaranteeAudit.numberOfKeywordsGuaranteed,this.guaranteeAchievedAmount=this.guaranteeAudit.numberOfKeywordsOnFirstPage,this.guaranteeRemainingAmount=this.guaranteeAudit.numberOfKeywordsGuaranteed-this.guaranteeAchievedAmount),this.data.push({data:[this.guaranteeAchievedAmount],label:"First Page"},{data:[this.guaranteeRemainingAmount],label:"Remaining"}),this.isLoaded=!0}handleChartColors(e){this.chartColors.push({backgroundColor:e[0].backgroundColor,borderColor:e[0].backgroundColor,borderWidth:3},{backgroundColor:oNe.draw("diagonal-right-left",e[1].backgroundColor)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(HD),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-mbg-keyword-target"]],features:[kt([Ys]),Ue],decls:20,vars:12,consts:[[1,"card","text-center"],[1,"card-body","d-flex","flex-column","mbg-card"],[1,"card-title","text-primary","text-center","custom-tile-header",2,"min-height","2em"],[1,"row"],[1,"col-md-7"],[1,"pt-4","mt-1"],["baseChart","","height","71",3,"datasets","labels","options","legend","chartType","colors",4,"ngIf"],["class","text-muted pt-1",4,"ngIf"],[1,"col-md-5"],[1,"tile-value","text-success"],[1,"fa","fa-chart-line","me-2","text-success","c-fa","custom-tile-icon"],[1,"align-middle","text-success"],["baseChart","","height","71",3,"datasets","labels","options","legend","chartType","colors"],[1,"text-muted","pt-1"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"div",3)(6,"div",4)(7,"div",5),re(8,aNe,1,6,"canvas",6),M(),re(9,lNe,3,4,"span",7)(10,cNe,3,4,"h5",7),M(),D(11,"div",8)(12,"div")(13,"span",9),ee(14,"span",10),N(15),Y(16,"percent"),M()(),D(17,"span",11),N(18),Y(19,"translate"),M()()()()()),2&i&&(m(3),ve(" ",B(4,6,"keyword_target")," "),m(5),R("ngIf",s.isLoaded),m(),R("ngIf",s.isLoaded&&1===s.guaranteeAudit.numberOfKeywordsOnFirstPage),m(),R("ngIf",s.isLoaded&&s.guaranteeAudit.numberOfKeywordsOnFirstPage>=2),m(5),ve("",B(16,8,s.targetPercent)," "),m(3),le(B(19,10,"keyword_target_to")))},dependencies:[Ys,wt,et,aw],styles:[".mbg-card[_ngcontent-%COMP%]{min-height:15.4rem}"]})}return n})();const dNe=["updatePasswordModal"];function hNe(n,t){1&n&&ee(0,"app-mbg-start-date",8)}function fNe(n,t){1&n&&ee(0,"app-mbg-keyword-target",9),2&n&&R("hidden",K().guaranteePending)}function pNe(n,t){1&n&&ee(0,"app-top-keyword",8)}function gNe(n,t){1&n&&ee(0,"app-current-rank",8)}function mNe(n,t){1&n&&ee(0,"app-keywords-top-10",8)}function _Ne(n,t){1&n&&ee(0,"app-total-keywords-improved",8)}function yNe(n,t){1&n&&ee(0,"app-avg-keyword-rank",8)}function vNe(n,t){1&n&&ee(0,"app-online-presence",8)}function bNe(n,t){1&n&&ee(0,"app-traffic",10),2&n&&R("hidden",!K().hasAnalytics)}function wNe(n,t){1&n&&ee(0,"app-total-work-items-completed",8)}function CNe(n,t){1&n&&ee(0,"app-total-work-completed",11)}function MNe(n,t){1&n&&ee(0,"app-required-actions")}function DNe(n,t){1&n&&ee(0,"app-pro-tips")}function xNe(n,t){1&n&&(D(0,"div",8),re(1,MNe,1,0,"app-required-actions",12)(2,DNe,1,0,"app-pro-tips",12),M()),2&n&&(m(),R("hideKey","Seo-Dashboard-RequiredActions"),m(),R("hideKey","Seo-Dashboard-ProTips"))}function SNe(n,t){if(1&n&&(D(0,"p",17),N(1),M()),2&n){const e=K().$implicit;m(),le(e.url)}}function TNe(n,t){1&n&&(D(0,"div",1)(1,"div",13)(2,"div",14)(3,"div",15),re(4,SNe,2,1,"p",16),M()()()()),2&n&&(m(4),R("hideKey","Seo-CustomerUrl"))}function ENe(n,t){if(1&n){const e=tt();D(0,"div",18)(1,"h4",19),N(2),Y(3,"translate"),M()(),D(4,"div",20)(5,"span"),N(6),Y(7,"translate"),M()(),D(8,"div",21)(9,"button",22),Le("click",function(){return Ge(ze(e).$implicit.dismiss())}),N(10),Y(11,"translate"),M(),D(12,"button",23),Le("click",function(){return Ge(ze(e).$implicit.close(!0))}),N(13),Y(14,"translate"),M()()}2&n&&(m(2),le(B(3,4,"update_password")),m(4),le(B(7,6,"password_security_standards")),m(4),le(B(11,8,"password_update_later")),m(3),le(B(14,10,"update_password")))}let kNe=(()=>{class n extends Dt{constructor(e,i,s,r,o,a){super(),this.analytics=e,this.sessionService=i,this.router=s,this.modalService=r,this.service=o,this.guaranteeService=a}ngOnInit(){this.analytics.reload(),Qu(this.sessionService.account,this.guaranteeService.getGuarantee(),this.sessionService.user).pipe(ht(e=>{const i=e[2];i.needsPasswordUpdate&&this.modalService.open(this.updatePasswordModal).result.then(r=>this.router.navigateByUrl("user/change-password"),r=>{i.needsPasswordUpdate=!1,this.sessionService.setUser(i)}),this.account=e[0],this.account&&this.service.loadVisitsRolling(this.account.id),this.hasAnalytics=!!this.account&&this.account.hasGoogleAnalyticsAccess;const s=e[1];s&&(this.guaranteePending=!s.startDate||s.startDate>new Date)})).subscribe()}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl),W(Et),W(Yn),W(IO),W(au),W(HD))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-seo-dashboard"]],viewQuery:function(i,s){if(1&i&&xo(dNe,5),2&i){let r;ln(r=cn())&&(s.updatePasswordModal=r.first)}},features:[Ue],decls:20,vars:14,consts:[["updatePasswordModal",""],[1,"flex-container"],[1,"flex-box",2,"min-width","68%","padding","0px !important"],["class","flex-box sm-tile",4,"hideKey"],["class","flex-box sm-tile","style","min-width: 60%",3,"hidden",4,"hideKey"],["class","flex-box sm-tile",3,"hidden",4,"hideKey"],["class","flex-box sm-tile","style","min-width: 60%",4,"hideKey"],["class","flex-container",4,"ngIf"],[1,"flex-box","sm-tile"],[1,"flex-box","sm-tile",2,"min-width","60%",3,"hidden"],[1,"flex-box","sm-tile",3,"hidden"],[1,"flex-box","sm-tile",2,"min-width","60%"],[4,"hideKey"],[1,"flex-box"],[1,"card"],[1,"cardbody"],["class","mb-0 text-muted text-center custom-tile-subheader",4,"hideKey"],[1,"mb-0","text-muted","text-center","custom-tile-subheader"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],[1,"modal-body"],[1,"modal-footer"],[1,"btn","btn-link",3,"click"],[1,"btn","btn-primary",3,"click"]],template:function(i,s){1&i&&(D(0,"div")(1,"div",1)(2,"div",2)(3,"div",1),re(4,hNe,1,0,"app-mbg-start-date",3)(5,fNe,1,1,"app-mbg-keyword-target",4)(6,pNe,1,0,"app-top-keyword",3)(7,gNe,1,0,"app-current-rank",3)(8,mNe,1,0,"app-keywords-top-10",3)(9,_Ne,1,0,"app-total-keywords-improved",3)(10,yNe,1,0,"app-avg-keyword-rank",3)(11,vNe,1,0,"app-online-presence",3)(12,bNe,1,1,"app-traffic",5)(13,wNe,1,0,"app-total-work-items-completed",3)(14,CNe,1,0,"app-total-work-completed",6),ee(15,"br"),M()(),re(16,xNe,3,2,"div",3),M(),re(17,TNe,5,1,"div",7),M(),re(18,ENe,15,12,"ng-template",null,0,hs)),2&i&&(R("@fadeInOut","active"),m(4),R("hideKey","Seo-Dashboard-MBGStartDate"),m(),R("hideKey","Seo-Dashboard-MBGKeywordTarget"),m(),R("hideKey","Seo-Dashboard-TopRankingKeyword"),m(),R("hideKey","Seo-Dashboard-CurrentRank"),m(),R("hideKey","Seo-Dashboard-KeywordsFirstPage"),m(),R("hideKey","Seo-Dashboard-TotalKeywordsImproved"),m(),R("hideKey","Seo-Dashboard-Avg-Keyword-Rank"),m(),R("hideKey","Seo-Dashboard-OnlinePresence"),m(),R("hideKey","Seo-Dashboard-Traffic"),m(),R("hideKey","Total-Work-Items-Completed"),m(),R("hideKey","Total-Work-Completed"),m(2),R("hideKey","Seo-Dashboard-RequiredActionsAndProTips"),m(),R("ngIf",s.account))},dependencies:[es,wt,lAe,_Ae,yAe,B7,H7,vAe,MAe,TAe,QRe,eNe,tNe,rNe,uNe,et],styles:[".card[_ngcontent-%COMP%]{padding:20px}\n\n/*# sourceMappingURL=dashboard.component.css.map*/"],data:{animation:[pa()]}})}return n})();var ONe=V(6311);function LNe(n,t){1&n&&ee(0,"i",3)}function PNe(n,t){1&n&&ee(0,"i",4)}function INe(n,t){1&n&&ee(0,"i",5)}let ANe=(()=>{class n{constructor(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["sortIcon"]],inputs:{column:"column",sortColumn:"sortColumn",sortOrder:"sortOrder"},exportAs:["SortIcon"],decls:3,vars:3,consts:[["class","fa fa-sort text-muted","aria-hidden","true",4,"ngIf"],["class","fa fa-sort-up text-info","aria-hidden","true",4,"ngIf"],["class","fa fa-sort-down text-info","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"fa","fa-sort","text-muted"],["aria-hidden","true",1,"fa","fa-sort-up","text-info"],["aria-hidden","true",1,"fa","fa-sort-down","text-info"]],template:function(i,s){1&i&&re(0,LNe,1,0,"i",0)(1,PNe,1,0,"i",1)(2,INe,1,0,"i",2),2&i&&(R("ngIf",s.sortColumn!==s.column),m(),R("ngIf",s.sortColumn===s.column&&1==s.sortOrder),m(),R("ngIf",s.sortColumn===s.column&&-1==s.sortOrder))},dependencies:[wt],encapsulation:2})}return n})(),RNe=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.keywordsTop25=e.keywordsTop25,this.keywordsTop25ChangePercentage=`${e.keywordsTop25ChangePercentage}%`,this.showChange=e.keywordsTop25ChangePercentage>0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-keywords-top-25"]],features:[Ue],decls:3,vars:8,consts:[["icon","trophy",3,"title","change","showChange","val"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber")),2&i&&(He("title",B(1,4,"keywords_top_25")),He("change",s.keywordsTop25ChangePercentage),He("val",B(2,6,s.keywordsTop25)),R("showChange",s.showChange))},dependencies:[il,et,Zl]})}return n})(),NNe=(()=>{class n extends Dt{constructor(e){super(),this.analytics=e}ngOnInit(){this.analytics.data.pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.keywordsTop50=e.keywordsTop50,this.keywordsTop50ChangePercentage=`${e.keywordsTop50ChangePercentage}%`,this.showChange=e.keywordsTop50ChangePercentage>0)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-keywords-top-50"]],features:[Ue],decls:3,vars:8,consts:[["icon","trophy",3,"title","change","showChange","val"]],template:function(i,s){1&i&&(ee(0,"tile",0),Y(1,"translate"),Y(2,"undefinedNumber")),2&i&&(He("title",B(1,4,"keywords_top_50")),He("change",s.keywordsTop50ChangePercentage),He("val",B(2,6,s.keywordsTop50)),R("showChange",s.showChange))},dependencies:[il,et,Zl]})}return n})();const FNe={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};eU._date.override("function"==typeof Kl()?{_id:"moment",formats:function(){return FNe},parse:function(n,t){return"string"==typeof n&&"string"==typeof t?n=Kl()(n,t):n instanceof Kl()||(n=Kl()(n)),n.isValid()?n.valueOf():null},format:function(n,t){return Kl()(n).format(t)},add:function(n,t,e){return Kl()(n).add(t,e).valueOf()},diff:function(n,t,e){return Kl()(n).diff(Kl()(t),e)},startOf:function(n,t,e){return n=Kl()(n),"isoWeek"===t?(e=Math.trunc(Math.min(Math.max(0,e),6)),n.isoWeekday(e).startOf("day").valueOf()):n.startOf(t).valueOf()},endOf:function(n,t){return Kl()(n).endOf(t).valueOf()}}:{});const z7=n=>({color:n});let YNe=(()=>{class n extends Dt{set isVisible(e){e&&(this.dataRequested||this.load())}constructor(e,i,s){super(),this.keywordRankService=e,this.datePipe=i,this.chartColorService=s,this.lineChartData=[{data:[],label:"Main"},{data:[],label:"Halo"}],this.chartData={labels:[],datasets:[{label:"Main",data:[],fill:!1,tension:.4,backgroundColor:"rgba(0, 0, 0, 0.7)",borderWidth:.9,pointBorderWidth:1,pointStyle:"circle",pointRadius:3,pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(148,159,177,0.8)"},{label:"Halo",data:[],fill:!1,tension:.4,backgroundColor:"rgba(0, 0, 0, 0.7)",borderWidth:.9,pointBorderWidth:1,pointStyle:"circle",pointRadius:3,pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(148,159,177,0.8)"}]},this.lineChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{tooltip:{callbacks:{label:r=>`# ${r.parsed.y}${r.raw.includesFeaturedSnippet?" (Featured Snippet)":""}`,title:r=>this.datePipe.transform(r[0].label,"shortDate","UTC")},cornerRadius:0,displayColors:!1,backgroundColor:"rgba(0, 0, 0, 0.7)",caretPadding:10}},scales:{y:{reverse:!0,grid:{color:"rgba(0, 0, 0, 0.1)"},min:0,max:101,ticks:{stepSize:20,callback:function(r,o,a){return 0===r?"1":r>=100?"100+":r}}},x:{grid:{color:"rgba(0, 0, 0, 0.1)"},ticks:{maxRotation:45,minRotation:20},type:"time",time:{displayFormats:{quarter:"MM/YYYY",month:"MM/YYYY",week:"L",day:"L"},minUnit:"week"}}},hover:{mode:"nearest",intersect:!0}},this.dataRequested=!1}ngOnInit(){this.chartColorService.lineWithPoints.pipe(qe(this.unsubscribe)).subscribe(e=>{this.mainKeywordColor=e[0].pointBorderColor,this.haloKeywordColor=e[1].pointBorderColor,this.chartData.datasets[0].pointBackgroundColor=this.mainKeywordColor,this.chartData.datasets[0].borderColor=this.mainKeywordColor,this.chartData.datasets[1].pointBackgroundColor=this.haloKeywordColor,this.chartData.datasets[1].borderColor=this.haloKeywordColor})}load(){this.dataRequested=!0,this.keywordRankService.getKeywordRankHistory(this.data).pipe(qe(this.unsubscribe)).subscribe(e=>{this.data.rankHistory=e,this.lineChartLabels=this.data.rankHistory.map(r=>r&&r.rankDate?r.rankDate:void 0);const i=this.data.rankHistory.filter(r=>r&&r.isTracking),s=this.data.rankHistory.filter(r=>r&&!r.isTracking);this.lineChartData[0].data=s.map(r=>({x:r.rankDate,y:r.rank,includesFeaturedSnippet:r.includesFeaturedSnippet})),this.lineChartData[1].data=i.map(r=>({x:r.rankDate,y:r.rank,includesFeaturedSnippet:r.includesFeaturedSnippet})),this.chartData.datasets[0].data=this.lineChartData[0].data,this.chartData.datasets[1].data=this.lineChartData[1].data})}static#e=this.\u0275fac=function(i){return new(i||n)(W(MI),W(Xi),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-rank-history"]],inputs:{data:"data",isVisible:"isVisible"},features:[kt([Ys,Xi]),Ue],decls:14,vars:21,consts:[[1,"text-primary"],[1,"row"],[1,"chartKeyLabel","ms-5"],[1,"fa","fa-circle",3,"ngStyle"],[1,"chartKeyLabel"],[1,"d-flex","p-2","outer-chart-container"],["baseChart","",3,"data","labels","options","legend","type"]],template:function(i,s){1&i&&(D(0,"h5",0),N(1),Y(2,"translate"),M(),D(3,"div",1)(4,"div",2),ee(5,"i",3),N(6),Y(7,"translate"),M(),D(8,"div",4),ee(9,"i",3),N(10),Y(11,"translate"),M()(),D(12,"div",5),ee(13,"canvas",6),M()),2&i&&(m(),ir("",B(2,11,"title_keyword_rankings_history"),' "',s.data.keyword,'"'),m(4),R("ngStyle",Lt(17,z7,s.mainKeywordColor)),m(),ve(" ",B(7,13,"keyword_type_main"),""),m(3),R("ngStyle",Lt(19,z7,s.haloKeywordColor)),m(),ve(" ",B(11,15,"keyword_type_tracking"),""),m(3),R("data",s.chartData)("labels",s.lineChartLabels)("options",s.lineChartOptions)("legend",!1)("type","line"))},dependencies:[Ys,ow,et],styles:[".outer-chart-container[_ngcontent-%COMP%]{height:20vh}.chart-container[_ngcontent-%COMP%]{height:calc(20vh - 2.85rem - 5px)}.chartKeyLabel[_ngcontent-%COMP%]{font-size:.75rem;margin-right:1em}\n\n/*# sourceMappingURL=rank-history.component.css.map*/"]})}return n})();function jNe(n,t){1&n&&ee(0,"app-keywords-top-10",27)}function BNe(n,t){1&n&&ee(0,"app-keywords-top-25",27)}function HNe(n,t){1&n&&ee(0,"app-keywords-top-50",27)}function VNe(n,t){1&n&&ee(0,"app-total-keywords-improved",27)}function UNe(n,t){1&n&&(D(0,"tr")(1,"td",28),N(2),Y(3,"translate"),M()()),2&n&&(m(2),le(B(3,1,"no_keywords_found")))}function zNe(n,t){1&n&&(ee(0,"i",46),Y(1,"translate")),2&n&&He("title",B(1,1,"keyword_is_featured_snippet"))}function GNe(n,t){1&n&&(ee(0,"i",47),Y(1,"translate")),2&n&&He("title",B(1,1,"keyword_was_active"))}function WNe(n,t){1&n&&(D(0,"span",48),ee(1,"i",49),M())}function $Ne(n,t){if(1&n&&(D(0,"a",50)(1,"button",51),ee(2,"i",52),N(3),Y(4,"localDate"),M()()),2&n){const e=K().$implicit;He("href",e.firstPageUrl,qn),m(3),ve(" ",B(4,2,e.firstPageDate)," ")}}function qNe(n,t){1&n&&(mn(0),N(1),Y(2,"translate"),_n()),2&n&&(m(),ve(" ",B(2,1,"button_view"),""))}function KNe(n,t){1&n&&(mn(0),N(1),Y(2,"translate"),_n()),2&n&&(m(),ve(" ",B(2,1,"button_hide"),""))}function XNe(n,t){if(1&n){const e=tt();mn(0),D(1,"tr")(2,"td",29),N(3),Y(4,"translate"),re(5,zNe,2,3,"i",30)(6,GNe,2,3,"i",31),M(),D(7,"td",32),N(8),M(),D(9,"td",33),N(10),Y(11,"localDate"),M(),D(12,"td",34),N(13),Y(14,"undefinedNumber"),M(),D(15,"td",35),re(16,WNe,2,0,"span",36),N(17),Y(18,"undefinedNumber"),M(),D(19,"td",23),re(20,$Ne,5,4,"a",37),M(),D(21,"td",38)(22,"button",39),Le("click",function(){const s=ze(e).$implicit;return Ge(s.rankHistoryIsCollapsed=!s.rankHistoryIsCollapsed)}),ee(23,"i",40),re(24,qNe,3,3,"ng-container",24)(25,KNe,3,3,"ng-container",24),ee(26,"span",41),M()()(),D(27,"tr",42)(28,"td",43)(29,"div",44),ee(30,"app-rank-history",45),M()()(),_n()}if(2&n){const e=t.$implicit;m(3),ve(" ",B(4,14,e.isTracking?"keyword_type_tracking":"keyword_type_main")," "),m(2),R("ngIf",e.includesFeaturedSnippet),m(),R("ngIf",e.hasBeenActive),m(2),ve(" ",e.keyword," "),m(2),ve(" ",B(11,16,e.startDate)," "),m(3),ve(" ",B(14,18,e.startRank)," "),m(3),R("ngIf",e.currentRank<e.startRank),m(),ve(" ",B(18,20,e.currentRank)," "),m(3),R("ngIf",!!e.firstPageUrl),m(4),R("ngIf",e.rankHistoryIsCollapsed),m(),R("ngIf",!e.rankHistoryIsCollapsed),m(2),R("ngbCollapse",e.rankHistoryIsCollapsed),m(3),R("data",e)("isVisible",!e.rankHistoryIsCollapsed)}}function ZNe(n,t){1&n&&(D(0,"div"),ee(1,"i",53),N(2),Y(3,"translate"),M()),2&n&&(m(2),ve(" ",B(3,1,"keyword_is_featured_snippet")," "))}function JNe(n,t){1&n&&(D(0,"div"),ee(1,"i",54),N(2),Y(3,"translate"),M()),2&n&&(m(2),ve(" ",B(3,1,"keyword_was_active")," "))}function QNe(n,t){if(1&n&&(D(0,"p",58),N(1),M()),2&n){const e=K().$implicit;m(),le(e.url)}}function eFe(n,t){1&n&&(D(0,"div",55)(1,"div",56)(2,"div",3)(3,"div",4),re(4,QNe,2,1,"p",57),M()()()()),2&n&&(m(4),R("hideKey","Seo-CustomerUrl"))}let tFe=(()=>{class n extends Dt{constructor(e,i,s,r,o){super(),this.analytics=e,this.keywordRankService=i,this.datePipe=s,this.translatePipe=r,this.sessionService=o,this.keywordRanks=[],this.sortColumn="currentRank",this.sortOrder=1,this.someKeywordsConvertedToHalo=!1,this.someKeywordsHaveSnippets=!1}ngOnInit(){this.analytics.reload(),this.keywordRankService.getKeywordRanks().pipe(qe(this.unsubscribe)).subscribe(e=>{this.keywordRanks=e,this.someKeywordsConvertedToHalo=e.some(i=>i.hasBeenActive),this.someKeywordsHaveSnippets=e.some(i=>i.includesFeaturedSnippet)}),this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e})}sort(e){this.sortOrder=this.sortColumn===e?-this.sortOrder:1,this.sortColumn=e,this.keywordRanks.sort((s,r)=>"firstPageUrl"===this.sortColumn?this.sortIfExists(s,r,o=>o.firstPageUrl,this.sortOrder):"string"==typeof s[this.sortColumn]?this.sortAlphabetically(s,r,o=>o[this.sortColumn],this.sortOrder):this.sortNumerically(s,r,o=>o[this.sortColumn],this.sortOrder))}export(){const e={fieldSeparator:",",quoteStrings:'"',decimalseparator:"local",showLabels:!0,showTitle:!1,useBom:!0,headers:[this.translatePipe.transform("table_header_type"),this.translatePipe.transform("table_header_keyword"),this.translatePipe.transform("table_header_start_date"),this.translatePipe.transform("table_header_start_rank"),this.translatePipe.transform("table_header_current_rank")]},i=this.keywordRanks.map(s=>({type:s.isTracking?this.translatePipe.transform("keyword_type_tracking")+(s.hasBeenActive?" *":""):this.translatePipe.transform("keyword_type_main"),keyword:s.keyword,startDate:s.startDate?this.datePipe.transform(s.startDate,"yMd"):"",startRank:s.startRank,currentRank:s.currentRank}));i.push({type:"* "+this.translatePipe.transform("keyword_was_active")}),new ONe.cu(i,"keyword-ranks",e)}sortAlphabetically(e,i,s,r){const o=s(e).toLowerCase(),a=s(i).toLowerCase();return o||a?o<a?-r:o>a?r:0:0}sortIfExists(e,i,s,r){const o=!!s(e),a=!!s(i);return o&&a?0:o&&!a?r:-r}sortNumerically(e,i,s,r){const o=s(e),a=s(i);return o||a?o<a?-r:o>a?r:0:0}static#e=this.\u0275fac=function(i){return new(i||n)(W(Xl),W(MI),W(Xi),W(et),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-seo-keywords"]],features:[kt([Xi,et]),Ue],decls:66,vars:71,consts:[[1,"flex-box",2,"min-width","68%","padding","0px !important"],[1,"flex-container"],["class","flex-box sm-tile",4,"hideKey"],[1,"card"],[1,"card-body"],[1,"card-title","text-primary","custom-tile-header"],[1,"text-end","m-2"],["type","button",1,"btn","btn-sm","btn-primary",3,"click"],["aria-hidden","true",1,"fa","fa-download"],[1,"table","table-hover"],[1,"text-start","sortable","d-none","d-md-table-cell",3,"click"],["column","isTracking",1,"p-0",3,"sortColumn","sortOrder"],["placement","auto",1,"p-0",3,"html"],[1,"text-start","sortable",3,"click"],["column","keyword",3,"sortColumn","sortOrder"],[1,"text-center","sortable","d-none","d-md-table-cell",3,"click"],["column","startDate",1,"p-0",3,"sortColumn","sortOrder"],[1,"text-center","sortable","d-none","d-sm-table-cell",3,"click"],["column","startRank",1,"p-0",3,"sortColumn","sortOrder"],[1,"text-center","sortable",3,"click"],["column","currentRank",1,"p-0",3,"sortColumn","sortOrder"],[1,"text-center","sortable","d-none","d-lg-table-cell",3,"click"],["column","firstPageUrl",1,"p-0",3,"sortColumn","sortOrder"],[1,"text-center","d-none","d-lg-table-cell"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","row mt-2",4,"ngIf"],[1,"flex-box","sm-tile"],["colspan","9",1,"table-info"],[1,"text-start","d-none","d-md-table-cell"],["class","far fa-star fa-sm",3,"title",4,"ngIf"],["class","fas fa-exchange-alt fa-sm",3,"title",4,"ngIf"],[1,"text-start"],[1,"text-center","d-none","d-md-table-cell"],[1,"text-center","d-none","d-sm-table-cell"],[1,"text-center"],["class","text-success",4,"ngIf"],["target","blank",3,"href",4,"ngIf"],[1,"text-end","d-none","d-lg-table-cell"],[1,"btn","btn-sm","btn-primary",3,"click"],["aria-hidden","true",1,"fa","fa-chart-line"],[1,"fa","fa-graph"],[3,"ngbCollapse"],["colspan","9",1,"d-none","d-lg-table-cell"],[1,"m-4"],[3,"data","isVisible"],[1,"far","fa-star","fa-sm",3,"title"],[1,"fas","fa-exchange-alt","fa-sm",3,"title"],[1,"text-success"],["aria-hidden","true",1,"fa","fa-caret-up"],["target","blank",3,"href"],[1,"btn","btn-sm","btn-success"],["aria-hidden","true",1,"fa","fa-trophy"],[1,"far","fa-star"],[1,"fas","fa-exchange-alt"],[1,"row","mt-2"],[1,"col-md-12"],["class","mb-0 text-muted text-center custom-tile-subheader",4,"hideKey"],[1,"mb-0","text-muted","text-center","custom-tile-subheader"]],template:function(i,s){1&i&&(D(0,"div")(1,"div",0)(2,"div",1),re(3,jNe,1,0,"app-keywords-top-10",2)(4,BNe,1,0,"app-keywords-top-25",2)(5,HNe,1,0,"app-keywords-top-50",2)(6,VNe,1,0,"app-total-keywords-improved",2),M()(),D(7,"div",3)(8,"div",4)(9,"h4",5),N(10),Y(11,"translate"),M(),D(12,"div",6)(13,"button",7),Le("click",function(){return s.export()}),ee(14,"i",8),N(15),Y(16,"translate"),M()(),D(17,"table",9)(18,"thead")(19,"tr")(20,"th",10),Le("click",function(){return s.sort("isTracking")}),N(21),Y(22,"translate"),ee(23,"sortIcon",11)(24,"helpPopover",12),Y(25,"translate"),Y(26,"translate"),M(),D(27,"th",13),Le("click",function(){return s.sort("keyword")}),N(28),Y(29,"translate"),ee(30,"sortIcon",14),M(),D(31,"th",15),Le("click",function(){return s.sort("startDate")}),N(32),Y(33,"translate"),ee(34,"sortIcon",16)(35,"helpPopover",12),Y(36,"translate"),M(),D(37,"th",17),Le("click",function(){return s.sort("startRank")}),N(38),Y(39,"translate"),ee(40,"sortIcon",18)(41,"helpPopover",12),Y(42,"translate"),M(),D(43,"th",19),Le("click",function(){return s.sort("currentRank")}),N(44),Y(45,"translate"),ee(46,"sortIcon",20)(47,"helpPopover",12),Y(48,"translate"),M(),D(49,"th",21),Le("click",function(){return s.sort("firstPageUrl")}),N(50),Y(51,"translate"),ee(52,"sortIcon",22)(53,"helpPopover",12),Y(54,"translate"),M(),D(55,"th",23),N(56),Y(57,"translate"),ee(58,"helpPopover",12),Y(59,"translate"),M()()(),D(60,"tbody"),re(61,UNe,4,3,"tr",24)(62,XNe,31,22,"ng-container",25),M()(),re(63,ZNe,4,3,"div",24)(64,JNe,4,3,"div",24),M()(),re(65,eFe,5,1,"div",26),M()),2&i&&(R("@fadeInOut","active"),m(3),R("hideKey","Seo-Dashboard-KeywordsTop10"),m(),R("hideKey","Seo-Dashboard-KeywordsTop25"),m(),R("hideKey","Seo-Dashboard-KeywordsTop50"),m(),R("hideKey","Seo-Dashboard-TotalKeywordsImproved"),m(4),le(B(11,39,"keywords")),m(5),ve(" ",B(16,41,"export"),""),m(6),ve("",B(22,43,"table_header_type")," "),m(2),He("sortColumn",s.sortColumn),He("sortOrder",s.sortOrder),m(),Zp("html","<p>",B(25,45,"main_keywords_help"),"</p><p>",B(26,47,"halo_keywords_help"),"</p>"),m(4),ve("",B(29,49,"table_header_keyword")," "),m(2),He("sortColumn",s.sortColumn),He("sortOrder",s.sortOrder),m(2),ve("",B(33,51,"table_header_start_date")," "),m(2),He("sortColumn",s.sortColumn),He("sortOrder",s.sortOrder),m(),He("html",B(36,53,"start_date_help")),m(3),ve("",B(39,55,"table_header_start_rank")," "),m(2),He("sortColumn",s.sortColumn),He("sortOrder",s.sortOrder),m(),He("html",B(42,57,"start_rank_help")),m(3),ve("",B(45,59,"table_header_current_rank")," "),m(2),He("sortColumn",s.sortColumn),He("sortOrder",s.sortOrder),m(),He("html",B(48,61,"current_rank_help")),m(3),ve("",B(51,63,"table_header_top_10")," "),m(2),He("sortColumn",s.sortColumn),He("sortOrder",s.sortOrder),m(),He("html",B(54,65,"top_10_help")),m(3),ve("",B(57,67,"table_header_history")," "),m(2),He("html",B(59,69,"history_help")),m(3),R("ngIf",0===s.keywordRanks.length),m(),R("ngForOf",s.keywordRanks),m(),R("ngIf",s.someKeywordsHaveSnippets),m(),R("ngIf",s.someKeywordsConvertedToHalo),m(),R("ngIf",s.account))},dependencies:[Jw,nl,ANe,es,zs,wt,B7,RNe,NNe,H7,YNe,et,Zl,PI],styles:[".sortable[_ngcontent-%COMP%]{cursor:pointer}\n\n/*# sourceMappingURL=keywords.component.css.map*/"],data:{animation:[pa()]}})}return n})(),G7=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-no-details"]],decls:6,vars:3,consts:[[1,"row"],[1,"col-md-12","text-center"],[1,"alert","alert-info"],[1,"fa","fa-exclamation-circle"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2),ee(3,"span",3),N(4),Y(5,"translate"),M()()()),2&i&&(m(4),le(B(5,1,"error_no_details")))},dependencies:[et]})}return n})();const nFe=["target"];let iFe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.resolver=e,this.route=i,this.work=s}ngOnInit(){this.route.paramMap.pipe(ht(e=>e.get("id")),ht(e=>parseInt(e,10)),_t(e=>(this.id=e,this.work.details(e))),qe(this.unsubscribe)).subscribe(e=>{if(e){let i=I7.Maybe.just(F7(e.type)).or(()=>({id:0,component:G7}));e.value||(i={id:0,component:G7});const s=this.resolver.resolveComponentFactory(i.component);this.componentRef=this.target.createComponent(s),this.componentRef.instance.value=e.value,this.componentRef.instance.type=e.type}})}static#e=this.\u0275fac=function(i){return new(i||n)(W(kp),W(pr),W(Rf))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-work-item"]],viewQuery:function(i,s){if(1&i&&xo(nFe,5,Us),2&i){let r;ln(r=cn())&&(s.target=r.first)}},features:[Ue],decls:6,vars:4,consts:[["target",""],["routerLink","/seo/work-history",1,"btn","btn-outline-primary","mb-3",3,"fragment"],[1,"fa","fa-arrow-left"]],template:function(i,s){1&i&&(D(0,"button",1),ee(1,"i",2),N(2),Y(3,"translate"),M(),ee(4,"div",null,0)),2&i&&(He("fragment",s.id),m(2),ve(" ",B(3,2,"navigation_seo_work_history"),""))},dependencies:[gr,et]})}return n})();function sFe(n,t){if(1&n&&(D(0,"div",5),ee(1,"canvas",6)(2,"canvas",7),M()),2&n){const e=K();m(),R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",!1)("colors",e.chartColors)("chartType","bar"),m(),R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",!1)("colors",e.chartColors)("chartType","bar")}}let rFe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.service=e,this.translatePipe=i,this.chartColorService=s,this.hasData=!1,this.chartData=[{data:[],label:""}],this.chartLabels=[],this.chartOptions={responsive:!0,tooltips:{enabled:!0},scales:{xAxes:[{display:!0,barPercentage:.2}],yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}}ngOnInit(){this.chartColorService.bar.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e}),this.getVisitsByCity()}getVisitsByCity(){this.service.visitsByCity.pipe(qe(this.unsubscribe)).subscribe(e=>{!e||!e.wasSuccessful||this.loadData(e.data)})}loadData(e){this.hasData=!1,this.chartData=[{data:e.map(i=>i.value),label:this.translatePipe.transform("visits_by_city")}],this.chartLabels=e.map(i=>i.key),setTimeout(()=>this.hasData=!0,0)}static#e=this.\u0275fac=function(i){return new(i||n)(W(au),W(et),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-by-city"]],features:[kt([et]),Ue],decls:9,vars:7,consts:[[1,"card"],[1,"card-body"],[1,"card-title","custom-tile-header","text-primary","d-inline","me-3"],[1,"custom-tile-subheader","d-inline"],["class","mt-3",4,"ngIf"],[1,"mt-3"],["baseChart","","height","60",1,"d-none","d-md-block",3,"datasets","labels","options","legend","colors","chartType"],["baseChart","","height","180",1,"d-block","d-md-none",3,"datasets","labels","options","legend","colors","chartType"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"span",3),N(6),Y(7,"translate"),M(),re(8,sFe,3,12,"div",4),M()()),2&i&&(m(3),le(B(4,3,"top_organic_by_city")),m(3),le(B(7,5,"top_organic_by_city_desc")),m(2),R("ngIf",s.hasData))},dependencies:[Ys,wt,et]})}return n})();function oFe(n,t){if(1&n&&ee(0,"canvas",6),2&n){const e=K();R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",!1)("colors",e.chartColors)("chartType","line")}}let aFe=(()=>{class n extends Dt{constructor(e,i,s,r){super(),this.service=e,this.datePipe=i,this.translatePipe=s,this.chartColorService=r,this.hasData=!1,this.chartData=[{data:[],label:""}],this.chartLabels=[],this.chartOptions={pointStyle:"circle",responsive:!0,tooltips:{enabled:!0},tension:0,elements:{point:{radius:3}},scales:{xAxes:[{display:!0,ticks:{fontSize:9}}],yAxes:[{display:!0}]}}}ngOnInit(){this.getVisitsByDay(),this.chartColorService.filledLineWithPoints.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=[{...e[0],maintainAspectRatio:!1,pointBackgroundColor:"#fff",pointHoverColor:"rgba(148,159,177,1)",pointBorderWidth:1,pointStyle:"circle",pointRadius:3,pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(148,159,177,0.8)"}]})}getVisitsByDay(){this.service.visitsByDate.pipe(qe(this.unsubscribe)).subscribe(e=>{!e||!e.wasSuccessful||this.loadData(e.data)})}loadData(e){this.hasData=!1,this.chartData=[{data:e.map(s=>s.value),label:this.translatePipe.transform("visits_by_day")}];const i=new RegExp("-","g");this.chartLabels=e.map(s=>this.datePipe.transform(new Date(s.key.replace(i,"/")),"shortDate")),setTimeout(()=>this.hasData=!0,100)}static#e=this.\u0275fac=function(i){return new(i||n)(W(au),W(Xi),W(et),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-by-day"]],features:[kt([et]),Ue],decls:10,vars:7,consts:[[1,"card"],[1,"card-body"],[1,"card-title","custom-tile-header","text-primary","d-inline","me-3"],[1,"custom-tile-subheader","d-inline"],[1,"mt-3"],["baseChart","","height","90",3,"datasets","labels","options","legend","colors","chartType",4,"ngIf"],["baseChart","","height","90",3,"datasets","labels","options","legend","colors","chartType"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"span",3),N(6),Y(7,"translate"),M(),D(8,"div",4),re(9,oFe,1,6,"canvas",5),M()()()),2&i&&(m(3),le(B(4,3,"organic_traffic")),m(3),le(B(7,5,"organic_traffic_desc")),m(3),R("ngIf",s.hasData))},dependencies:[Ys,wt,et]})}return n})();function lFe(n,t){if(1&n&&(D(0,"div",5),ee(1,"canvas",6)(2,"canvas",7),M()),2&n){const e=K();m(),R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",!1)("colors",e.chartColors)("chartType","bar"),m(),R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",!1)("colors",e.chartColors)("chartType","bar")}}let cFe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.service=e,this.translatePipe=i,this.chartColorService=s,this.hasData=!1,this.chartData=[{data:[],label:""}],this.chartLabels=[],this.chartOptions={responsive:!0,tooltips:{enabled:!0},scales:{xAxes:[{display:!0,barPercentage:.2}],yAxes:[{display:!0,ticks:{userCallback:this.preventDecimals(),beginAtZero:!0}}]}}}ngOnInit(){this.chartColorService.bar.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e}),this.getVisitsBySource()}getVisitsBySource(){this.service.visitsBySource.pipe(qe(this.unsubscribe)).subscribe(e=>{!e||!e.wasSuccessful||this.loadData(e.data)})}loadData(e){this.hasData=!1,this.chartData=[{data:e.map(i=>i.value),label:this.translatePipe.transform("visits_by_source")}],this.chartLabels=e.map(i=>i.key),setTimeout(()=>this.hasData=!0,0)}preventDecimals(){return(e,i)=>Math.floor(e)===e?e:""}static#e=this.\u0275fac=function(i){return new(i||n)(W(au),W(et),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-by-source"]],features:[kt([et]),Ue],decls:9,vars:7,consts:[[1,"card"],[1,"card-body"],[1,"card-title","custom-tile-header","text-primary","d-inline","me-3"],[1,"custom-tile-subheader","d-inline"],["class","mt-3",4,"ngIf"],[1,"mt-3"],["baseChart","","height","60",1,"d-none","d-md-block",3,"datasets","labels","options","legend","colors","chartType"],["baseChart","","height","180",1,"d-block","d-md-none",3,"datasets","labels","options","legend","colors","chartType"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"span",3),N(6),Y(7,"translate"),M(),re(8,lFe,3,12,"div",4),M()()),2&i&&(m(3),ve("",B(4,3,"top_organic_sources")," "),m(3),le(B(7,5,"top_organic_sources_desc")),m(2),R("ngIf",s.hasData))},dependencies:[Ys,wt,et]})}return n})();const uFe=n=>({color:n});function dFe(n,t){if(1&n&&(D(0,"div")(1,"h6"),ee(2,"i",10),N(3),M()()),2&n){const e=t.$implicit,i=t.index,s=K(2);m(2),R("ngStyle",Lt(2,uFe,s.chartColors[0].backgroundColor[i])),m(),ve(" ",e,"")}}function hFe(n,t){if(1&n&&(D(0,"div",5)(1,"div",6)(2,"div",7),ee(3,"canvas",8),M(),D(4,"div",7),re(5,dFe,4,4,"div",9),M()()()),2&n){const e=K();m(3),R("datasets",e.chartData)("labels",e.chartLabels)("options",e.chartOptions)("legend",!1)("colors",e.chartColors)("chartType","doughnut"),m(2),R("ngForOf",e.chartLabels)}}let fFe=(()=>{class n extends Dt{constructor(e,i){super(),this.service=e,this.chartColorService=i,this.hasData=!1,this.chartData=[{data:[],label:""}],this.chartLabels=[],this.chartOptions={responsive:!0,tooltips:{enabled:!0},legend:{position:"right"}}}ngOnInit(){this.chartColorService.pie.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e}),this.getVisitsByPage()}getVisitsByPage(){this.service.visitsByPage.pipe(qe(this.unsubscribe)).subscribe(e=>{!e||!e.wasSuccessful||this.loadData(e.data)})}loadData(e){this.hasData=!1,this.chartData=[{data:e.map(i=>i.value),label:"Visits by Page"}],this.chartLabels=e.map(i=>i.key),setTimeout(()=>this.hasData=!0,0)}static#e=this.\u0275fac=function(i){return new(i||n)(W(au),W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-by-page"]],features:[Ue],decls:9,vars:7,consts:[[1,"card"],[1,"card-body"],[1,"card-title","custom-tile-header","text-primary","d-inline","me-3"],[1,"custom-tile-subheader","d-inline"],["class","mt-3",4,"ngIf"],[1,"mt-3"],[1,"row"],[1,"col-md-6"],["baseChart","","height","170",3,"datasets","labels","options","legend","colors","chartType"],[4,"ngFor","ngForOf"],[1,"fa","fa-circle",3,"ngStyle"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"span",3),N(6),Y(7,"translate"),M(),re(8,hFe,6,7,"div",4),M()()),2&i&&(m(3),le(B(4,3,"top_organic_pages")),m(3),le(B(7,5,"top_organic_pages_desc")),m(2),R("ngIf",s.hasData))},dependencies:[Ys,zs,wt,ow,et]})}return n})(),pFe=(()=>{class n extends Ic{constructor(e){super(),this.defaultDatePicker=e}getWeekdayShortName(e){return ti.weekdaysShort()[e%7]}getMonthShortName(e){return ti.monthsShort()[e-1]}getMonthFullName(e){return ti.months()[e-1]}getDayAriaLabel(e){return`${e.day}-${e.month}-${e.year}`}getWeekdayLabel(e,i){return this.defaultDatePicker.getWeekdayLabel(e,i)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(vO))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),gFe=(()=>{class n extends rC{constructor(e){super(),this.datePipe=e}parse(e){return null}format(e){return e?this.datePipe.transform(new Date(e.year,e.month-1,e.day),"shortDate"):""}ensureTwoDigits(e){return`0${e}`.slice(-2)}isNumber(e){return!isNaN(this.asNumber(e))}asNumber(e){return parseInt(`${e}`,10)}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(Xi))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function mFe(n,t){if(1&n&&(D(0,"div")(1,"span",14),N(2),Y(3,"translate"),M()()),2&n){const e=K();m(2),le(B(3,1,e.errorName))}}let _Fe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.service=e,this.sessionService=i,this.datePipe=s,this.isValid=!0}ngOnInit(){this.setDefaults(),this.applyDates()}applyDates(){this.validate(),this.isValid&&this.sessionService.account.pipe(pi(1)).subscribe(e=>{if(e){const i=this.asDate(this.start),s=this.asDate(this.end);this.service.loadVisitsByDate(e.id,i,s),this.service.loadVisitsByCity(e.id,i,s),this.service.loadVisitsBySource(e.id,i,s),this.service.loadVisitsByPage(e.id,i,s)}})}validate(){const e=this.asDate(this.end),i=this.asDate(this.start);if(!e||!i)return this.isValid=!1,void(this.errorName="analytics_dates_invalid");const s=new Date(Date.now());return e>s||i>s?(this.isValid=!1,void(this.errorName="analytics_dates_in_future")):i>e?(this.isValid=!1,void(this.errorName="analytics_dates_start_date_invalid")):(this.isValid=!0,void(this.errorName=""))}setDefaults(){const e=new Date(Date.now());this.end={day:e.getDate(),month:e.getMonth()+1,year:e.getFullYear()};const i=ti().subtract(1,"months");this.start={day:i.get("D"),month:i.get("M")+1,year:i.get("y")}}asDate(e){return new Date(this.datePipe.transform(`${e.year}-${e.month}-${e.day}`,"MM/dd/yyyy"))}static#e=this.\u0275fac=function(i){return new(i||n)(W(au),W(Et),W(Xi))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-date-range"]],features:[kt([{provide:rC,useClass:gFe},{provide:Ic,useClass:pFe},{provide:vO}]),Ue],decls:22,vars:14,consts:[["dt1","ngbDatepicker"],["dt2","ngbDatepicker"],[1,"card"],[1,"card-body","p-2"],[1,"row","mt-1"],[1,"col","ms-1","mb-1"],[1,"input-group"],["readonly","","name","dt1","ngbDatepicker","",1,"form-control",3,"ngModelChange","placeholder","ngModel"],["type","button",1,"btn","btn-success",3,"click"],[1,"fa","fa-calendar-alt"],["readonly","","name","dt2","ngbDatepicker","",1,"form-control",3,"ngModelChange","placeholder","ngModel"],[1,"col"],[1,"btn","btn-primary","w-100","ms-1","mb-1",3,"click"],[4,"ngIf"],[1,"bold","text-danger"]],template:function(i,s){if(1&i){const r=tt();D(0,"div",2)(1,"div",3)(2,"form",4)(3,"div",5)(4,"div",6)(5,"input",7,0),Y(7,"translate"),zu("ngModelChange",function(a){return ze(r),Dh(s.start,a)||(s.start=a),Ge(a)}),M(),D(8,"button",8),Le("click",function(){return ze(r),Ge(Fi(6).toggle())}),ee(9,"i",9),M()()(),D(10,"div",5)(11,"div",6)(12,"input",10,1),Y(14,"translate"),zu("ngModelChange",function(a){return ze(r),Dh(s.end,a)||(s.end=a),Ge(a)}),M(),D(15,"button",8),Le("click",function(){return ze(r),Ge(Fi(13).toggle())}),ee(16,"i",9),M()()(),D(17,"div",11)(18,"button",12),Le("click",function(){return ze(r),Ge(s.applyDates())}),N(19),Y(20,"translate"),M()()(),re(21,mFe,4,3,"div",13),M()()}2&i&&(m(5),wc("placeholder","",B(7,8,"start"),"..."),Uu("ngModel",s.start),m(7),wc("placeholder","",B(14,10,"end"),"..."),Uu("ngModel",s.end),m(7),le(B(20,12,"button_view")),m(2),R("ngIf",!s.isValid))},dependencies:[Tl,Oo,Tr,oa,Vh,Gw,iV,wt,et]})}return n})(),yFe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-no-analytics-message"]],decls:19,vars:15,consts:[[1,"text-center","overlay"],[1,"card","text-white","bg-danger"],[1,"card-header"],[1,"card-body"],[1,"card-title"],[1,"fa","fa-exclamation-triangle"],[1,"card-text"],["routerLink","/user/profile",1,"btn","btn-primary"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2),N(3),Y(4,"translate"),M(),D(5,"div",3)(6,"h4",4),ee(7,"span",5),N(8),Y(9,"translate"),M(),D(10,"p",6),N(11),Y(12,"translate"),ee(13,"br"),N(14),Y(15,"translate"),M(),D(16,"a",7),N(17),Y(18,"translate"),M()()()()),2&i&&(m(3),le(B(4,5,"analytics_not_set_up_header")),m(5),ve(" ",B(9,7,"analytics_not_set_up_message")," "),m(3),ve(" ",B(12,9,"analytics_not_set_up_description")," "),m(3),ve("",B(15,11,"analytics_not_set_up_call_to_action_message")," "),m(3),le(B(18,13,"analytics_not_set_up_call_to_action_button_text")))},dependencies:[gr,et],styles:[".overlay[_ngcontent-%COMP%]{position:fixed;z-index:5000;text-align:center;width:60%}\n\n/*# sourceMappingURL=no-analytics-message.component.css.map*/"]})}return n})();const vFe=n=>({"bg-disabled":n});function bFe(n,t){1&n&&(D(0,"div",7),ee(1,"app-no-analytics-message"),M())}function wFe(n,t){if(1&n&&(D(0,"div"),re(1,bFe,2,0,"div",6),M()),2&n){const e=K();m(),R("ngIf",!e.isSetUp)}}function CFe(n,t){1&n&&(D(0,"div",8)(1,"div",3),ee(2,"app-by-day"),M()())}function MFe(n,t){1&n&&(D(0,"div",8)(1,"div",3),ee(2,"app-by-city"),M()())}function DFe(n,t){1&n&&(D(0,"div",8)(1,"div",3),ee(2,"app-by-source"),M()())}function xFe(n,t){1&n&&(D(0,"div",8)(1,"div",3),ee(2,"app-by-page"),M()())}function SFe(n,t){if(1&n&&(D(0,"p",12),N(1),M()),2&n){const e=K().$implicit;m(),le(e.url)}}function TFe(n,t){1&n&&(D(0,"div",8)(1,"div",3)(2,"div",9)(3,"div",10),re(4,SFe,2,1,"p",11),M()()()()),2&n&&(m(4),R("hideKey","Seo-CustomerUrl"))}let EFe=(()=>{class n extends Dt{constructor(e,i){super(),this.service=e,this.sessionService=i,this.isLoaded=!1,this.isSetUp=!1}ngOnInit(){const e=new Zt,i=new Zt;Qu(e.asObservable(),i.asObservable()).pipe(qe(this.unsubscribe)).subscribe(s=>{this.updateHasGoogleAnalyticsAccess()}),Qu(this.service.visitsByCity,this.service.visitsByDate,this.service.visitsByPage,this.service.visitsBySource).pipe(qe(this.unsubscribe)).subscribe(s=>{this.isLoaded=s.every(r=>!!r),this.isSetUp=s.every(r=>r&&r.wasSuccessful),e.next()}),this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(s=>{this.account=s,i.next()})}updateHasGoogleAnalyticsAccess(){this.account.hasGoogleAnalyticsAccess!==this.isSetUp&&(this.account.hasGoogleAnalyticsAccess=this.isSetUp,this.sessionService.setAccount(this.account))}static#e=this.\u0275fac=function(i){return new(i||n)(W(au),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-analytics"]],features:[Ue],decls:11,vars:10,consts:[[4,"ngIf"],[3,"ngClass"],[1,"row"],[1,"col-md-12"],["class","row mt-2",4,"hideKey"],["class","row mt-2",4,"ngIf"],["class","text-center col-md-6",4,"ngIf"],[1,"text-center","col-md-6"],[1,"row","mt-2"],[1,"card"],[1,"card-body"],["class","mb-0 text-muted text-center custom-tile-subheader",4,"hideKey"],[1,"mb-0","text-muted","text-center","custom-tile-subheader"]],template:function(i,s){1&i&&(D(0,"div"),re(1,wFe,2,1,"div",0),D(2,"div",1)(3,"div",2)(4,"div",3),ee(5,"app-date-range"),M()(),re(6,CFe,3,0,"div",4)(7,MFe,3,0,"div",4)(8,DFe,3,0,"div",4)(9,xFe,3,0,"div",4)(10,TFe,5,1,"div",5),M()()),2&i&&(R("@fadeInOut","active"),m(),R("ngIf",s.isLoaded),m(),R("ngClass",Lt(8,vFe,!s.isSetUp)),m(4),R("hideKey","Analytics-OrganicTraffic"),m(),R("hideKey","Analytics-OrganicTrafficByCity"),m(),R("hideKey","Analytics-TopOrganicTrafficSources"),m(),R("hideKey","Analytics-TopOrganicTrafficPages"),m(),R("ngIf",s.account))},dependencies:[es,xr,wt,rFe,aFe,cFe,fFe,_Fe,yFe],styles:[".bg-disabled[_ngcontent-%COMP%]{opacity:.4}\n\n/*# sourceMappingURL=analytics.component.css.map*/"],data:{animation:[pa()]}})}return n})();function kFe(n,t){if(1&n&&(mn(0),D(1,"tr")(2,"td"),N(3),Y(4,"translate"),M(),D(5,"td"),N(6),Y(7,"translate"),M()(),_n()),2&n){const e=t.$implicit;m(3),ve(" ",B(4,2,e.type)," "),m(3),ve(" ",B(7,4,e.description)," ")}}let OFe=(()=>{class n extends Dt{constructor(e){super(),this.sessionService=e,this.workItems=[],this.seoWork=[{type:"pre_audit",description:"pre_audit_description"},{type:"keyword_research",description:"keyword_research_description"}]}ngOnInit(){this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.workItems=[],e&&!e.seoReady&&(this.workItems=this.workItems.concat(this.seoWork))})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-not-ready"]],features:[Ue],decls:11,vars:7,consts:[[1,"card"],[1,"card-body"],[1,"custom-tile-header","d-inline","text-primary"],[1,"table","table-striped","mt-3"],[4,"ngFor","ngForOf"]],template:function(i,s){1&i&&(D(0,"p"),N(1),Y(2,"translate"),M(),D(3,"div",0)(4,"div",1)(5,"h4",2),N(6),Y(7,"translate"),M(),D(8,"table",3)(9,"tbody"),re(10,kFe,8,6,"ng-container",4),M()()()()),2&i&&(m(),ve(" ",B(2,3,"campaign_not_ready"),"\n"),m(5),le(B(7,5,"setup_work_table_title")),m(4),R("ngForOf",s.workItems))},dependencies:[zs,et]})}return n})();const LFe=[{path:"seo",canActivateChild:[qs],children:[{path:"",redirectTo:"dashboard",pathMatch:"full",data:{requiredFeature:vi.SEO}},{path:"actions/:id",component:iFe,canActivate:[mr,ou,Nm],data:{requiredFeature:vi.SEO}},{path:"dashboard",component:kNe,canActivate:[mr,ou,Nm],data:{requiredFeature:vi.SEO}},{path:"keywords",component:tFe,canActivate:[mr,ou,Nm],data:{requiredFeature:vi.SEO}},{path:"work-history",component:XIe,canActivate:[mr,ou,Nm],data:{requiredFeatures:[vi.SEO,vi.ProfessionalBacklink]}},{path:"actions",redirectTo:"work-history",pathMatch:"full"},{path:"analytics",component:EFe,canActivate:[mr,ou,Nm],data:{requiredFeature:vi.SEO}}]},{path:"not-ready",component:OFe,canActivate:[mr,qs]}];let PFe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[Xl,au,Xi,Y7,Rf,OI,HD],imports:[Gy,$w,xg,H0,qu,If.forRoot(LFe,{})]})}return n})();class ma{static#e=this.minLength=8;static#t=this.hasNumberRegex=/\d/;static#n=this.hasCapitalCaseRegex=/[A-Z]/;static#i=this.hasLowerCaseRegex=/[a-z]/;static#s=this.hasSpecialCharRegex=/[ !@#$%^&*()_+\-=[\]{};':"\\|,.<>/?]/;static#r=this.validators=[Sn.required,Sn.minLength(ma.minLength),ma.patternValidator(ma.hasNumberRegex,{hasNumber:!0}),ma.patternValidator(ma.hasCapitalCaseRegex,{hasCapitalCase:!0}),ma.patternValidator(ma.hasLowerCaseRegex,{hasSmallCase:!0}),ma.patternValidator(ma.hasSpecialCharRegex,{hasSpecialCharacters:!0})];static valid(t){return new rce(t,Sn.compose(ma.validators)).valid}static passwordMatchValidator(t){t.get("password").value!==t.get("confirmPassword").value&&t.get("confirmPassword").setErrors({NoPassswordMatch:!0})}static patternValidator(t,e){return i=>i.value?t.test(i.value)?null:e:null}}const W7=n=>({"is-invalid":n});function IFe(n,t){1&n&&(D(0,"div",19),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_login_invalid")," "))}function AFe(n,t){1&n&&(D(0,"div",20)(1,"h5"),N(2),Y(3,"translate"),M(),D(4,"span"),N(5),Y(6,"translate"),M(),ee(7,"br"),D(8,"span"),N(9),Y(10,"translate"),M()()),2&n&&(m(2),le(B(3,3,"help_newuser_welcome")),m(3),le(B(6,5,"help_password_not_created_yet")),m(4),le(B(10,7,"help_login_issues")))}function RFe(n,t){1&n&&(D(0,"button",21),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"button_forgot_password")))}let NFe=(()=>{class n extends Dt{constructor(e,i,s,r,o){super(),this.service=i,this.router=s,this.route=r,this.sessionService=o,this.didFail=!1,this.newUser=!1,this.loginForm=e.group({email:["",[Sn.required,Sn.email]],password:["",Sn.required]})}ngOnInit(){this.newUser=this.route.snapshot.queryParams.newuser,this.sessionService.siteConfig.pipe(qe(this.unsubscribe)).subscribe(e=>{this.siteConfig=e})}login(e){if(e.preventDefault(),this.didFail=!1,this.loginForm.invalid)return;const s=this.loginForm.controls.password.value;this.service.login(this.loginForm.controls.email.value,s).subscribe(r=>r?this.handleSuccessfulLogin(s):this.sessionService.clear(),r=>this.didFail=!0)}handleSuccessfulLogin(e){ma.valid(e)?this.router.navigateByUrl("accounts"):this.sessionService.user.pipe(pi(1),qe(this.unsubscribe)).subscribe(i=>{i.needsPasswordUpdate=!0,this.sessionService.setUser(i),this.router.navigateByUrl("accounts")})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Lc),W(Af),W(Yn),W(pr),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-user-login"]],features:[Ue],decls:35,vars:34,consts:[["id","login-card",1,"card"],[1,"card-body"],[1,"container","d-flex","p-4","flex-column"],["novalidate","",1,"form-signin","p-4",3,"submit","formGroup"],[1,"card-title","text-primary","custom-tile-header","pb-2"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-info p-3","role","alert",4,"ngIf"],[1,"mb-3"],["for","inputEmail",1,"sr-only","form-label"],["type","email","id","inputEmail","required","","autofocus","","autocomplete","off","formControlName","email",1,"form-control",3,"placeholder","ngClass"],[1,"invalid-feedback"],[1,"sr-only","form-label"],["type","password","id","inputPassword","required","","autofocus","","autocomplete","off","formControlName","password",1,"form-control",3,"placeholder","ngClass"],[1,"d-grid","gap-2","mt-3"],["type","submit",1,"btn","btn-lg","btn-primary"],[1,"fa","fa-sign-in-alt"],["class","btn btn-lg btn-outline-secondary","routerLink","/forgot-password",4,"ngIf"],[1,"p-4"],[1,"d-inline","d-md-none"],["role","alert",1,"alert","alert-danger"],["role","alert",1,"alert","alert-info","p-3"],["routerLink","/forgot-password",1,"btn","btn-lg","btn-outline-secondary"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"form",3),Le("submit",function(o){return s.login(o)}),D(4,"h2",4),N(5),Y(6,"translate"),M(),re(7,IFe,3,3,"div",5)(8,AFe,11,9,"div",6),D(9,"div",7)(10,"label",8),N(11),Y(12,"translate"),M(),ee(13,"input",9),Y(14,"translate"),D(15,"div",10),N(16),Y(17,"translate"),M()(),D(18,"div")(19,"label",11),N(20),Y(21,"translate"),M(),ee(22,"input",12),Y(23,"translate"),D(24,"div",10),N(25),Y(26,"translate"),M()(),D(27,"div",13)(28,"button",14),ee(29,"span",15),N(30),Y(31,"translate"),M(),re(32,RFe,3,3,"button",16),M()(),D(33,"div",17),ee(34,"app-language-selector",18),M()()()()),2&i&&(m(3),R("formGroup",s.loginForm),m(2),ve(" ",B(6,14,"page_title_general_login"),""),m(2),R("ngIf",s.didFail),m(),R("ngIf",s.newUser),m(3),le(B(12,16,"content_login_username")),m(2),He("placeholder",B(14,18,"email")),R("ngClass",Lt(30,W7,s.loginForm.controls.email.dirty&&s.loginForm.controls.email.invalid)),m(3),ve(" ",B(17,20,"enter_valid_email")," "),m(4),le(B(21,22,"content_login_password")),m(2),He("placeholder",B(23,24,"content_login_password")),R("ngClass",Lt(32,W7,s.loginForm.controls.password.dirty&&s.loginForm.controls.password.invalid)),m(3),ve(" ",B(26,26,"error_login_username_password_required")," "),m(5),ve(" ",B(31,28,"button_log_in"),""),m(2),R("ngIf",s.siteConfig&&!(null!=s.siteConfig&&s.siteConfig.partnerIsContactRestricted)))},dependencies:[Tl,Oo,Tr,oa,Oc,Lo,Na,M7,xr,wt,gr,et],styles:["#login-card[_ngcontent-%COMP%]{margin-top:15px}\n\n/*# sourceMappingURL=login.component.css.map*/"]})}return n})(),$7=(()=>{class n{generate(){const e=()=>Math.random().toString(36).substr(2);return`${e()}${e()}_${window.location.host}`}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})(),UD=(()=>{class n{constructor(e,i,s){this.httpClient=e,this.sessionService=i,this.nonce=s,this.baseUrl=Pi_baseUrl}account(){return this.sessionService.account.pipe(_t(e=>this.httpClient.get(`${this.baseUrl}account/${e.id}/google`)),Sg())}accounts(){return this.sessionService.account.pipe(_t(e=>this.httpClient.get(`${this.baseUrl}account/${e.id}/google/accounts`)),Sg())}disconnect(){return this.sessionService.account.pipe(pi(1),_t(e=>this.httpClient.post(`${this.baseUrl}account/${e.id}/google/disconnect`,{})),Sg())}complete(e){return this.sessionService.account.pipe(_t(i=>this.httpClient.post(`${this.baseUrl}account/${i.id}/google/exchange`,{Code:e,RedirectUrl:Pi_google_callbackUrl})))}accountSelect(e){return this.sessionService.account.pipe(pi(1),_t(i=>this.httpClient.post(`${this.baseUrl}account/${i.id}/google/account/select`,{profileId:e.profileId,displayName:e.displayName,AnalyticsType:e.analyticsType})),Sg())}connect(){const e=this.nonce.generate();window.location.href=`https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=${Pi_google_clientId}&access_type=offline&approval_prompt=force&redirect_uri=${Pi_google_callbackUrl}&scope=${Pi_google_scope}&state=${e}`}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et),Ve($7))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function FFe(n,t){if(1&n){const e=tt();D(0,"div",5)(1,"p"),N(2),Y(3,"translate"),M()(),D(4,"div",6)(5,"button",7),Le("click",function(){return Ge((0,ze(e).close)(!1))}),N(6),Y(7,"translate"),M(),D(8,"button",8),Le("click",function(){return Ge((0,ze(e).close)(!0))}),N(9),Y(10,"translate"),M()()}2&n&&(m(2),le(B(3,3,"sure_disconnect_google_analytics")),m(4),le(B(7,5,"shared.button_cancel")),m(3),le(B(10,7,"disconnect")))}function YFe(n,t){1&n&&(D(0,"div",18),ee(1,"i",19),N(2),Y(3,"translate"),M()),2&n&&(m(2),ve(" ",B(3,1,"content_account_not_authorized"),""))}function jFe(n,t){1&n&&(D(0,"p"),N(1),Y(2,"translate"),M(),D(3,"p",26),ee(4,"img",27),Y(5,"translate"),M()),2&n&&(m(),le(B(2,2,"similar_screen_will_appear_pick_account")),m(3),He("src",B(5,4,"image_grant_analytics_access_multiple_accounts"),qn))}function BFe(n,t){1&n&&(D(0,"p")(1,"span"),N(2),Y(3,"translate"),M()(),D(4,"p",26),ee(5,"img",27),Y(6,"translate"),M()),2&n&&(m(2),le(B(3,2,"similar_screen_will_enter_email_and_password")),m(3),He("src",B(6,4,"image_grant_analytics_access_single_account"),qn))}function HFe(n,t){1&n&&(D(0,"p")(1,"span"),N(2),Y(3,"translate"),M()(),D(4,"p",26),ee(5,"img",27),Y(6,"translate"),M()),2&n&&(m(2),le(B(3,2,"review_the_information_on_screen")),m(3),He("src",B(6,4,"image_grant_analytics_access_logged_in"),qn))}function VFe(n,t){if(1&n){const e=tt();D(0,"div",20)(1,"ul",21,1),zu("activeIdChange",function(s){ze(e);const r=K(2);return Dh(r.active,s)||(r.active=s),Ge(s)}),D(3,"li",22)(4,"a",23),N(5),Y(6,"translate"),M(),re(7,jFe,6,6,"ng-template",24),M(),D(8,"li",22)(9,"a",23),N(10),Y(11,"translate"),M(),re(12,BFe,7,6,"ng-template",24),M(),D(13,"li",22)(14,"a",23),N(15),Y(16,"translate"),M(),re(17,HFe,7,6,"ng-template",24),M()(),ee(18,"div",25),M()}if(2&n){const e=Fi(2),i=K(2);m(),Uu("activeId",i.active),m(2),R("ngbNavItem",1),m(2),le(B(6,8,"google_multiple_accounts")),m(3),R("ngbNavItem",2),m(2),le(B(11,10,"google_single_account")),m(3),R("ngbNavItem",3),m(2),le(B(16,12,"google_already_logged_in")),m(3),R("ngbNavOutlet",e)}}function UFe(n,t){if(1&n&&(D(0,"span",31),ee(1,"i",32),N(2),M()),2&n){const e=K(3);m(2),ve(" ",e.profile.displayName,"")}}function zFe(n,t){if(1&n&&(D(0,"div",28)(1,"div",29),re(2,UFe,3,1,"span",30),D(3,"span"),N(4),M()()()),2&n){const e=K(2);m(2),R("ngIf",!!e.profile.displayName),m(2),ve("(",e.profile.profileId,")")}}function GFe(n,t){if(1&n){const e=tt();D(0,"button",33),Le("click",function(){ze(e);const s=K(2),r=Fi(1);return Ge(s.confirmDisconnect(r))}),ee(1,"i",34),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"disconnect"),""))}function WFe(n,t){if(1&n){const e=tt();D(0,"button",35),Le("click",function(){return ze(e),Ge(K(2).connect())}),ee(1,"i",32),N(2),Y(3,"translate"),M()}2&n&&(m(2),ve(" ",B(3,1,"content_connect_account"),""))}function $Fe(n,t){if(1&n&&(D(0,"div",9)(1,"div",10)(2,"h4",11),N(3),Y(4,"translate"),M(),re(5,YFe,4,3,"div",12)(6,VFe,19,14,"div",13)(7,zFe,5,2,"div",14),D(8,"div",15),re(9,GFe,4,3,"button",16)(10,WFe,4,3,"button",17),M()()()),2&n){const e=K();m(3),le(B(4,6,"google_analytics")),m(2),R("ngIf",!e.account.hasGoogleAnalyticsAccess),m(),R("ngIf",!e.account.hasGoogleAnalyticsAccess||!e.profile.displayName),m(),R("ngIf",e.account.hasGoogleAnalyticsAccess&&!!e.profile.displayName),m(2),R("ngIf",e.account.hasGoogleAnalyticsAccess),m(),R("ngIf",!e.account.hasGoogleAnalyticsAccess)}}let qFe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.modal=e,this.google=i,this.sessionService=s}ngOnInit(){this.load()}connect(){this.google.connect()}confirmDisconnect(e){this.modal.open(e).result.then(i=>{i&&this.disconnect()})}disconnect(){this.google.disconnect().subscribe(()=>{this.account.hasGoogleAnalyticsAccess=!1,this.sessionService.setAccount(this.account)})}load(){this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e}),this.google.account().pipe(qe(this.unsubscribe)).subscribe(e=>{e&&(this.profile=e)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(IO),W(UD),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-account"]],features:[Ue],decls:5,vars:1,consts:[["content",""],["nav","ngbNav"],[1,"row"],[1,"col-7"],["class","card",4,"ngIf"],[1,"modal-body"],[1,"modal-footer"],["type","button",1,"btn","btn-outline-grey",3,"click"],["type","button",1,"btn","btn-danger",3,"click"],[1,"card"],[1,"card-body"],[1,"card-title","text-primary","custom-tile-header"],["class","alert alert-danger",4,"ngIf"],["class","mt-2",4,"ngIf"],["class","p-4 text-center",4,"ngIf"],[1,"d-grid","gap-2"],["class","btn btn-danger btn-lg",3,"click",4,"ngIf"],["class","btn btn-primary btn-lg",3,"click",4,"ngIf"],[1,"alert","alert-danger"],[1,"fa","fa-exclamation-circle"],[1,"mt-2"],["ngbNav","",1,"nav-tabs",3,"activeIdChange","activeId"],[3,"ngbNavItem"],["ngbNavLink",""],["ngbNavContent",""],[1,"mt-2",3,"ngbNavOutlet"],[1,"text-center"],[2,"max-width","100%",3,"src"],[1,"p-4","text-center"],[1,"alert","alert-success"],["class","text-bold",4,"ngIf"],[1,"text-bold"],[1,"fa","fab-google"],[1,"btn","btn-danger","btn-lg",3,"click"],[1,"fa","fa-times"],[1,"btn","btn-primary","btn-lg",3,"click"]],template:function(i,s){1&i&&(re(0,FFe,11,9,"ng-template",null,0,hs),D(2,"div",2)(3,"div",3),re(4,$Fe,11,8,"div",4),M()()),2&i&&(m(4),R("ngIf",s.account&&s.profile))},dependencies:[wt,AO,rv,uC,yV,vV,ov,bV,et]})}return n})(),q7=(()=>{class n{constructor(e,i){this.http=e,this.sessionService=i,this.baseUrl=Pi_baseUrl}getUrl(){return this.sessionService.account.pipe(_t(e=>this.http.get(`${this.baseUrl}account/${e.id}/terms/url`)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();function KFe(n,t){if(1&n&&(D(0,"div",3)(1,"a",4),ee(2,"span",5),N(3),Y(4,"translate"),M()()),2&n){const e=K(2);m(),He("href",e.url,qn),m(2),ve(" ",B(4,2,"download_terms_and_conditions")," ")}}function XFe(n,t){if(1&n&&(D(0,"div",1),re(1,KFe,5,4,"div",2),M()),2&n){const e=K();m(),R("ngIf",e.url)}}let ZFe=(()=>{class n extends Dt{constructor(e){super(),this.terms=e}ngOnInit(){this.terms.getUrl().pipe(qe(this.unsubscribe)).subscribe(e=>{this.url=e})}static#e=this.\u0275fac=function(i){return new(i||n)(W(q7))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-terms"]],features:[Ue],decls:1,vars:1,consts:[["class","row",4,"hideKey"],[1,"row"],["class","col-md-12",4,"ngIf"],[1,"col-md-12"],["id","custom-download-tnc","target","_blank",1,"btn","btn-primary",3,"href"],[1,"fa","fa-download"]],template:function(i,s){1&i&&re(0,XFe,2,1,"div",0),2&i&&R("hideKey","Profile-DownloadTerms")},dependencies:[es,wt,et],data:{animation:[pa()]}})}return n})();function JFe(n,t){1&n&&(D(0,"button",8),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"website_access")," "))}function QFe(n,t){1&n&&(D(0,"button",9),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"seo_content_survey.content_survey")," "))}function e3e(n,t){1&n&&(D(0,"button",10),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"content_change_password")," "))}function t3e(n,t){1&n&&(mn(0),ee(1,"app-terms"),_n())}let n3e=(()=>{class n{constructor(e){this.sessionService=e,this.isEnglishLanguage=!1}ngOnInit(){this.isEnglishLanguage=-1!==C7.indexOf(this.sessionService.locale)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-user-profile"]],decls:9,vars:5,consts:[[1,"row","mt-3","mb-5"],[1,"col-md-7"],[1,"mt-5","d-flex","justify-content-start"],[1,"btn-toolbar"],["class","btn btn-primary me-2","routerLink","/user/website-access",4,"hideKey"],["class","btn btn-primary me-2","routerLink","/user/seo-content-survey",4,"hideKey"],["class","btn btn-primary me-2","routerLink","/user/change-password",4,"hideKey"],[4,"ngIf"],["routerLink","/user/website-access",1,"btn","btn-primary","me-2"],["routerLink","/user/seo-content-survey",1,"btn","btn-primary","me-2"],["routerLink","/user/change-password",1,"btn","btn-primary","me-2"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),ee(2,"app-google-account"),D(3,"div",2)(4,"div",3),re(5,JFe,3,3,"button",4)(6,QFe,3,3,"button",5)(7,e3e,3,3,"button",6)(8,t3e,2,0,"ng-container",7),M()()()()),2&i&&(R("@fadeInOut","active"),m(5),R("hideKey","Profile-WebsiteAccess"),m(),R("hideKey","Profile-SeoContentSurvey"),m(),R("hideKey","Profile-ChangePassword"),m(),R("ngIf",s.isEnglishLanguage))},dependencies:[es,wt,gr,qFe,ZFe,et],styles:['\n\n\n\n\n\n[_ngcontent-%COMP%]:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff}.container[_ngcontent-%COMP%], .container-fluid[_ngcontent-%COMP%], .container-xxl[_ngcontent-%COMP%], .container-xl[_ngcontent-%COMP%], .container-lg[_ngcontent-%COMP%], .container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%]{width:100%;padding-right:var(--bs-gutter-x, .75rem);padding-left:var(--bs-gutter-x, .75rem);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{max-width:540px}}@media (min-width: 768px){.container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{max-width:720px}}@media (min-width: 992px){.container-lg[_ngcontent-%COMP%], .container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{max-width:960px}}@media (min-width: 1200px){.container-xl[_ngcontent-%COMP%], .container-lg[_ngcontent-%COMP%], .container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{max-width:1140px}}@media (min-width: 1400px){.container-xxl[_ngcontent-%COMP%], .container-xl[_ngcontent-%COMP%], .container-lg[_ngcontent-%COMP%], .container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{max-width:1320px}}.row[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{box-sizing:border-box;flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col[_ngcontent-%COMP%]{flex:1 0 0%}.row-cols-auto[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.row-cols-1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.row-cols-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.row-cols-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:33.3333333333%}.row-cols-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.row-cols-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:20%}.row-cols-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:16.6666666667%}.col-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-2[_ngcontent-%COMP%]{flex:0 0 auto;width:16.66666667%}.col-3[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.col-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.col-5[_ngcontent-%COMP%]{flex:0 0 auto;width:41.66666667%}.col-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.col-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}.col-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%}.col-9[_ngcontent-%COMP%]{flex:0 0 auto;width:75%}.col-10[_ngcontent-%COMP%]{flex:0 0 auto;width:83.33333333%}.col-11[_ngcontent-%COMP%]{flex:0 0 auto;width:91.66666667%}.col-12[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.offset-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.offset-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.offset-3[_ngcontent-%COMP%]{margin-left:25%}.offset-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.offset-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.offset-6[_ngcontent-%COMP%]{margin-left:50%}.offset-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.offset-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.offset-9[_ngcontent-%COMP%]{margin-left:75%}.offset-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.offset-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.g-0[_ngcontent-%COMP%], .gx-0[_ngcontent-%COMP%]{--bs-gutter-x: 0}.g-0[_ngcontent-%COMP%], .gy-0[_ngcontent-%COMP%]{--bs-gutter-y: 0}.g-1[_ngcontent-%COMP%], .gx-1[_ngcontent-%COMP%]{--bs-gutter-x: .25rem}.g-1[_ngcontent-%COMP%], .gy-1[_ngcontent-%COMP%]{--bs-gutter-y: .25rem}.g-2[_ngcontent-%COMP%], .gx-2[_ngcontent-%COMP%]{--bs-gutter-x: .5rem}.g-2[_ngcontent-%COMP%], .gy-2[_ngcontent-%COMP%]{--bs-gutter-y: .5rem}.g-3[_ngcontent-%COMP%], .gx-3[_ngcontent-%COMP%]{--bs-gutter-x: 1rem}.g-3[_ngcontent-%COMP%], .gy-3[_ngcontent-%COMP%]{--bs-gutter-y: 1rem}.g-4[_ngcontent-%COMP%], .gx-4[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem}.g-4[_ngcontent-%COMP%], .gy-4[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.g-5[_ngcontent-%COMP%], .gx-5[_ngcontent-%COMP%]{--bs-gutter-x: 3rem}.g-5[_ngcontent-%COMP%], .gy-5[_ngcontent-%COMP%]{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm[_ngcontent-%COMP%]{flex:1 0 0%}.row-cols-sm-auto[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.row-cols-sm-1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.row-cols-sm-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.row-cols-sm-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.row-cols-sm-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:20%}.row-cols-sm-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:16.6666666667%}.col-sm-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-sm-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-sm-2[_ngcontent-%COMP%]{flex:0 0 auto;width:16.66666667%}.col-sm-3[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.col-sm-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.col-sm-5[_ngcontent-%COMP%]{flex:0 0 auto;width:41.66666667%}.col-sm-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.col-sm-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}.col-sm-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%}.col-sm-9[_ngcontent-%COMP%]{flex:0 0 auto;width:75%}.col-sm-10[_ngcontent-%COMP%]{flex:0 0 auto;width:83.33333333%}.col-sm-11[_ngcontent-%COMP%]{flex:0 0 auto;width:91.66666667%}.col-sm-12[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.offset-sm-0[_ngcontent-%COMP%]{margin-left:0}.offset-sm-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.offset-sm-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.offset-sm-3[_ngcontent-%COMP%]{margin-left:25%}.offset-sm-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.offset-sm-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.offset-sm-6[_ngcontent-%COMP%]{margin-left:50%}.offset-sm-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.offset-sm-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.offset-sm-9[_ngcontent-%COMP%]{margin-left:75%}.offset-sm-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.offset-sm-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.g-sm-0[_ngcontent-%COMP%], .gx-sm-0[_ngcontent-%COMP%]{--bs-gutter-x: 0}.g-sm-0[_ngcontent-%COMP%], .gy-sm-0[_ngcontent-%COMP%]{--bs-gutter-y: 0}.g-sm-1[_ngcontent-%COMP%], .gx-sm-1[_ngcontent-%COMP%]{--bs-gutter-x: .25rem}.g-sm-1[_ngcontent-%COMP%], .gy-sm-1[_ngcontent-%COMP%]{--bs-gutter-y: .25rem}.g-sm-2[_ngcontent-%COMP%], .gx-sm-2[_ngcontent-%COMP%]{--bs-gutter-x: .5rem}.g-sm-2[_ngcontent-%COMP%], .gy-sm-2[_ngcontent-%COMP%]{--bs-gutter-y: .5rem}.g-sm-3[_ngcontent-%COMP%], .gx-sm-3[_ngcontent-%COMP%]{--bs-gutter-x: 1rem}.g-sm-3[_ngcontent-%COMP%], .gy-sm-3[_ngcontent-%COMP%]{--bs-gutter-y: 1rem}.g-sm-4[_ngcontent-%COMP%], .gx-sm-4[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem}.g-sm-4[_ngcontent-%COMP%], .gy-sm-4[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.g-sm-5[_ngcontent-%COMP%], .gx-sm-5[_ngcontent-%COMP%]{--bs-gutter-x: 3rem}.g-sm-5[_ngcontent-%COMP%], .gy-sm-5[_ngcontent-%COMP%]{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md[_ngcontent-%COMP%]{flex:1 0 0%}.row-cols-md-auto[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.row-cols-md-1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.row-cols-md-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.row-cols-md-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.row-cols-md-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:20%}.row-cols-md-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:16.6666666667%}.col-md-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-md-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-md-2[_ngcontent-%COMP%]{flex:0 0 auto;width:16.66666667%}.col-md-3[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.col-md-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.col-md-5[_ngcontent-%COMP%]{flex:0 0 auto;width:41.66666667%}.col-md-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.col-md-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}.col-md-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%}.col-md-9[_ngcontent-%COMP%]{flex:0 0 auto;width:75%}.col-md-10[_ngcontent-%COMP%]{flex:0 0 auto;width:83.33333333%}.col-md-11[_ngcontent-%COMP%]{flex:0 0 auto;width:91.66666667%}.col-md-12[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.offset-md-0[_ngcontent-%COMP%]{margin-left:0}.offset-md-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.offset-md-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.offset-md-3[_ngcontent-%COMP%]{margin-left:25%}.offset-md-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.offset-md-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.offset-md-6[_ngcontent-%COMP%]{margin-left:50%}.offset-md-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.offset-md-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.offset-md-9[_ngcontent-%COMP%]{margin-left:75%}.offset-md-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.offset-md-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.g-md-0[_ngcontent-%COMP%], .gx-md-0[_ngcontent-%COMP%]{--bs-gutter-x: 0}.g-md-0[_ngcontent-%COMP%], .gy-md-0[_ngcontent-%COMP%]{--bs-gutter-y: 0}.g-md-1[_ngcontent-%COMP%], .gx-md-1[_ngcontent-%COMP%]{--bs-gutter-x: .25rem}.g-md-1[_ngcontent-%COMP%], .gy-md-1[_ngcontent-%COMP%]{--bs-gutter-y: .25rem}.g-md-2[_ngcontent-%COMP%], .gx-md-2[_ngcontent-%COMP%]{--bs-gutter-x: .5rem}.g-md-2[_ngcontent-%COMP%], .gy-md-2[_ngcontent-%COMP%]{--bs-gutter-y: .5rem}.g-md-3[_ngcontent-%COMP%], .gx-md-3[_ngcontent-%COMP%]{--bs-gutter-x: 1rem}.g-md-3[_ngcontent-%COMP%], .gy-md-3[_ngcontent-%COMP%]{--bs-gutter-y: 1rem}.g-md-4[_ngcontent-%COMP%], .gx-md-4[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem}.g-md-4[_ngcontent-%COMP%], .gy-md-4[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.g-md-5[_ngcontent-%COMP%], .gx-md-5[_ngcontent-%COMP%]{--bs-gutter-x: 3rem}.g-md-5[_ngcontent-%COMP%], .gy-md-5[_ngcontent-%COMP%]{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg[_ngcontent-%COMP%]{flex:1 0 0%}.row-cols-lg-auto[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.row-cols-lg-1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.row-cols-lg-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.row-cols-lg-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.row-cols-lg-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:20%}.row-cols-lg-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:16.6666666667%}.col-lg-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-lg-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-lg-2[_ngcontent-%COMP%]{flex:0 0 auto;width:16.66666667%}.col-lg-3[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.col-lg-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.col-lg-5[_ngcontent-%COMP%]{flex:0 0 auto;width:41.66666667%}.col-lg-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.col-lg-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}.col-lg-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%}.col-lg-9[_ngcontent-%COMP%]{flex:0 0 auto;width:75%}.col-lg-10[_ngcontent-%COMP%]{flex:0 0 auto;width:83.33333333%}.col-lg-11[_ngcontent-%COMP%]{flex:0 0 auto;width:91.66666667%}.col-lg-12[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.offset-lg-0[_ngcontent-%COMP%]{margin-left:0}.offset-lg-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.offset-lg-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.offset-lg-3[_ngcontent-%COMP%]{margin-left:25%}.offset-lg-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.offset-lg-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.offset-lg-6[_ngcontent-%COMP%]{margin-left:50%}.offset-lg-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.offset-lg-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.offset-lg-9[_ngcontent-%COMP%]{margin-left:75%}.offset-lg-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.offset-lg-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.g-lg-0[_ngcontent-%COMP%], .gx-lg-0[_ngcontent-%COMP%]{--bs-gutter-x: 0}.g-lg-0[_ngcontent-%COMP%], .gy-lg-0[_ngcontent-%COMP%]{--bs-gutter-y: 0}.g-lg-1[_ngcontent-%COMP%], .gx-lg-1[_ngcontent-%COMP%]{--bs-gutter-x: .25rem}.g-lg-1[_ngcontent-%COMP%], .gy-lg-1[_ngcontent-%COMP%]{--bs-gutter-y: .25rem}.g-lg-2[_ngcontent-%COMP%], .gx-lg-2[_ngcontent-%COMP%]{--bs-gutter-x: .5rem}.g-lg-2[_ngcontent-%COMP%], .gy-lg-2[_ngcontent-%COMP%]{--bs-gutter-y: .5rem}.g-lg-3[_ngcontent-%COMP%], .gx-lg-3[_ngcontent-%COMP%]{--bs-gutter-x: 1rem}.g-lg-3[_ngcontent-%COMP%], .gy-lg-3[_ngcontent-%COMP%]{--bs-gutter-y: 1rem}.g-lg-4[_ngcontent-%COMP%], .gx-lg-4[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem}.g-lg-4[_ngcontent-%COMP%], .gy-lg-4[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.g-lg-5[_ngcontent-%COMP%], .gx-lg-5[_ngcontent-%COMP%]{--bs-gutter-x: 3rem}.g-lg-5[_ngcontent-%COMP%], .gy-lg-5[_ngcontent-%COMP%]{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl[_ngcontent-%COMP%]{flex:1 0 0%}.row-cols-xl-auto[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.row-cols-xl-1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.row-cols-xl-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.row-cols-xl-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.row-cols-xl-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:20%}.row-cols-xl-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:16.6666666667%}.col-xl-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-xl-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-xl-2[_ngcontent-%COMP%]{flex:0 0 auto;width:16.66666667%}.col-xl-3[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.col-xl-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.col-xl-5[_ngcontent-%COMP%]{flex:0 0 auto;width:41.66666667%}.col-xl-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.col-xl-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}.col-xl-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%}.col-xl-9[_ngcontent-%COMP%]{flex:0 0 auto;width:75%}.col-xl-10[_ngcontent-%COMP%]{flex:0 0 auto;width:83.33333333%}.col-xl-11[_ngcontent-%COMP%]{flex:0 0 auto;width:91.66666667%}.col-xl-12[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.offset-xl-0[_ngcontent-%COMP%]{margin-left:0}.offset-xl-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.offset-xl-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.offset-xl-3[_ngcontent-%COMP%]{margin-left:25%}.offset-xl-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.offset-xl-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.offset-xl-6[_ngcontent-%COMP%]{margin-left:50%}.offset-xl-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.offset-xl-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.offset-xl-9[_ngcontent-%COMP%]{margin-left:75%}.offset-xl-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.offset-xl-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.g-xl-0[_ngcontent-%COMP%], .gx-xl-0[_ngcontent-%COMP%]{--bs-gutter-x: 0}.g-xl-0[_ngcontent-%COMP%], .gy-xl-0[_ngcontent-%COMP%]{--bs-gutter-y: 0}.g-xl-1[_ngcontent-%COMP%], .gx-xl-1[_ngcontent-%COMP%]{--bs-gutter-x: .25rem}.g-xl-1[_ngcontent-%COMP%], .gy-xl-1[_ngcontent-%COMP%]{--bs-gutter-y: .25rem}.g-xl-2[_ngcontent-%COMP%], .gx-xl-2[_ngcontent-%COMP%]{--bs-gutter-x: .5rem}.g-xl-2[_ngcontent-%COMP%], .gy-xl-2[_ngcontent-%COMP%]{--bs-gutter-y: .5rem}.g-xl-3[_ngcontent-%COMP%], .gx-xl-3[_ngcontent-%COMP%]{--bs-gutter-x: 1rem}.g-xl-3[_ngcontent-%COMP%], .gy-xl-3[_ngcontent-%COMP%]{--bs-gutter-y: 1rem}.g-xl-4[_ngcontent-%COMP%], .gx-xl-4[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem}.g-xl-4[_ngcontent-%COMP%], .gy-xl-4[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.g-xl-5[_ngcontent-%COMP%], .gx-xl-5[_ngcontent-%COMP%]{--bs-gutter-x: 3rem}.g-xl-5[_ngcontent-%COMP%], .gy-xl-5[_ngcontent-%COMP%]{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl[_ngcontent-%COMP%]{flex:1 0 0%}.row-cols-xxl-auto[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.row-cols-xxl-1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.row-cols-xxl-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.row-cols-xxl-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.row-cols-xxl-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:20%}.row-cols-xxl-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-xxl-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-xxl-2[_ngcontent-%COMP%]{flex:0 0 auto;width:16.66666667%}.col-xxl-3[_ngcontent-%COMP%]{flex:0 0 auto;width:25%}.col-xxl-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.col-xxl-5[_ngcontent-%COMP%]{flex:0 0 auto;width:41.66666667%}.col-xxl-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}.col-xxl-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}.col-xxl-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%}.col-xxl-9[_ngcontent-%COMP%]{flex:0 0 auto;width:75%}.col-xxl-10[_ngcontent-%COMP%]{flex:0 0 auto;width:83.33333333%}.col-xxl-11[_ngcontent-%COMP%]{flex:0 0 auto;width:91.66666667%}.col-xxl-12[_ngcontent-%COMP%]{flex:0 0 auto;width:100%}.offset-xxl-0[_ngcontent-%COMP%]{margin-left:0}.offset-xxl-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.offset-xxl-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.offset-xxl-3[_ngcontent-%COMP%]{margin-left:25%}.offset-xxl-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.offset-xxl-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.offset-xxl-6[_ngcontent-%COMP%]{margin-left:50%}.offset-xxl-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.offset-xxl-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.offset-xxl-9[_ngcontent-%COMP%]{margin-left:75%}.offset-xxl-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.offset-xxl-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.g-xxl-0[_ngcontent-%COMP%], .gx-xxl-0[_ngcontent-%COMP%]{--bs-gutter-x: 0}.g-xxl-0[_ngcontent-%COMP%], .gy-xxl-0[_ngcontent-%COMP%]{--bs-gutter-y: 0}.g-xxl-1[_ngcontent-%COMP%], .gx-xxl-1[_ngcontent-%COMP%]{--bs-gutter-x: .25rem}.g-xxl-1[_ngcontent-%COMP%], .gy-xxl-1[_ngcontent-%COMP%]{--bs-gutter-y: .25rem}.g-xxl-2[_ngcontent-%COMP%], .gx-xxl-2[_ngcontent-%COMP%]{--bs-gutter-x: .5rem}.g-xxl-2[_ngcontent-%COMP%], .gy-xxl-2[_ngcontent-%COMP%]{--bs-gutter-y: .5rem}.g-xxl-3[_ngcontent-%COMP%], .gx-xxl-3[_ngcontent-%COMP%]{--bs-gutter-x: 1rem}.g-xxl-3[_ngcontent-%COMP%], .gy-xxl-3[_ngcontent-%COMP%]{--bs-gutter-y: 1rem}.g-xxl-4[_ngcontent-%COMP%], .gx-xxl-4[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem}.g-xxl-4[_ngcontent-%COMP%], .gy-xxl-4[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.g-xxl-5[_ngcontent-%COMP%], .gx-xxl-5[_ngcontent-%COMP%]{--bs-gutter-x: 3rem}.g-xxl-5[_ngcontent-%COMP%], .gy-xxl-5[_ngcontent-%COMP%]{--bs-gutter-y: 3rem}}.d-inline[_ngcontent-%COMP%]{display:inline!important}.d-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-block[_ngcontent-%COMP%]{display:block!important}.d-grid[_ngcontent-%COMP%]{display:grid!important}.d-table[_ngcontent-%COMP%]{display:table!important}.d-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-flex[_ngcontent-%COMP%]{display:flex!important}.d-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-none[_ngcontent-%COMP%]{display:none!important}.flex-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-around[_ngcontent-%COMP%]{justify-content:space-around!important}.justify-content-evenly[_ngcontent-%COMP%]{justify-content:space-evenly!important}.align-items-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-first[_ngcontent-%COMP%]{order:-1!important}.order-0[_ngcontent-%COMP%]{order:0!important}.order-1[_ngcontent-%COMP%]{order:1!important}.order-2[_ngcontent-%COMP%]{order:2!important}.order-3[_ngcontent-%COMP%]{order:3!important}.order-4[_ngcontent-%COMP%]{order:4!important}.order-5[_ngcontent-%COMP%]{order:5!important}.order-last[_ngcontent-%COMP%]{order:6!important}.m-0[_ngcontent-%COMP%]{margin:0!important}.m-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-3[_ngcontent-%COMP%]{margin:1rem!important}.m-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-5[_ngcontent-%COMP%]{margin:3rem!important}.m-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-auto[_ngcontent-%COMP%]{margin-top:auto!important}.me-0[_ngcontent-%COMP%]{margin-right:0!important}.me-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.me-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.me-3[_ngcontent-%COMP%]{margin-right:1rem!important}.me-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.me-5[_ngcontent-%COMP%]{margin-right:3rem!important}.me-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ms-0[_ngcontent-%COMP%]{margin-left:0!important}.ms-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ms-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ms-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ms-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ms-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ms-auto[_ngcontent-%COMP%]{margin-left:auto!important}.p-0[_ngcontent-%COMP%]{padding:0!important}.p-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-3[_ngcontent-%COMP%]{padding:1rem!important}.p-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-5[_ngcontent-%COMP%]{padding:3rem!important}.px-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pe-0[_ngcontent-%COMP%]{padding-right:0!important}.pe-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pe-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pe-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pe-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pe-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-0[_ngcontent-%COMP%]{padding-left:0!important}.ps-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.ps-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.ps-3[_ngcontent-%COMP%]{padding-left:1rem!important}.ps-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.ps-5[_ngcontent-%COMP%]{padding-left:3rem!important}@media (min-width: 576px){.d-sm-inline[_ngcontent-%COMP%]{display:inline!important}.d-sm-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-sm-block[_ngcontent-%COMP%]{display:block!important}.d-sm-grid[_ngcontent-%COMP%]{display:grid!important}.d-sm-table[_ngcontent-%COMP%]{display:table!important}.d-sm-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-sm-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-sm-flex[_ngcontent-%COMP%]{display:flex!important}.d-sm-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-sm-none[_ngcontent-%COMP%]{display:none!important}.flex-sm-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-sm-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-sm-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-sm-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-sm-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-sm-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-sm-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-sm-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-sm-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-sm-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-sm-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-sm-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-sm-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-sm-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-sm-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-sm-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-sm-around[_ngcontent-%COMP%]{justify-content:space-around!important}.justify-content-sm-evenly[_ngcontent-%COMP%]{justify-content:space-evenly!important}.align-items-sm-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-sm-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-sm-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-sm-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-sm-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-sm-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-sm-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-sm-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-sm-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-sm-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-sm-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-sm-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-sm-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-sm-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-sm-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-sm-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-sm-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-sm-first[_ngcontent-%COMP%]{order:-1!important}.order-sm-0[_ngcontent-%COMP%]{order:0!important}.order-sm-1[_ngcontent-%COMP%]{order:1!important}.order-sm-2[_ngcontent-%COMP%]{order:2!important}.order-sm-3[_ngcontent-%COMP%]{order:3!important}.order-sm-4[_ngcontent-%COMP%]{order:4!important}.order-sm-5[_ngcontent-%COMP%]{order:5!important}.order-sm-last[_ngcontent-%COMP%]{order:6!important}.m-sm-0[_ngcontent-%COMP%]{margin:0!important}.m-sm-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-sm-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-sm-3[_ngcontent-%COMP%]{margin:1rem!important}.m-sm-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-sm-5[_ngcontent-%COMP%]{margin:3rem!important}.m-sm-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-sm-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-sm-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-sm-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-sm-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-sm-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-sm-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-sm-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-sm-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-sm-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-sm-auto[_ngcontent-%COMP%]{margin-top:auto!important}.me-sm-0[_ngcontent-%COMP%]{margin-right:0!important}.me-sm-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.me-sm-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.me-sm-3[_ngcontent-%COMP%]{margin-right:1rem!important}.me-sm-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.me-sm-5[_ngcontent-%COMP%]{margin-right:3rem!important}.me-sm-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-sm-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-sm-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-sm-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-sm-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-sm-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-sm-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-sm-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ms-sm-0[_ngcontent-%COMP%]{margin-left:0!important}.ms-sm-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ms-sm-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ms-sm-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ms-sm-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ms-sm-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ms-sm-auto[_ngcontent-%COMP%]{margin-left:auto!important}.p-sm-0[_ngcontent-%COMP%]{padding:0!important}.p-sm-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-sm-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-sm-3[_ngcontent-%COMP%]{padding:1rem!important}.p-sm-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-sm-5[_ngcontent-%COMP%]{padding:3rem!important}.px-sm-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-sm-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-sm-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-sm-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-sm-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-sm-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-sm-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-sm-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pe-sm-0[_ngcontent-%COMP%]{padding-right:0!important}.pe-sm-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pe-sm-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pe-sm-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pe-sm-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pe-sm-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-sm-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-sm-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-sm-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-sm-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-sm-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-sm-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-sm-0[_ngcontent-%COMP%]{padding-left:0!important}.ps-sm-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.ps-sm-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.ps-sm-3[_ngcontent-%COMP%]{padding-left:1rem!important}.ps-sm-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.ps-sm-5[_ngcontent-%COMP%]{padding-left:3rem!important}}@media (min-width: 768px){.d-md-inline[_ngcontent-%COMP%]{display:inline!important}.d-md-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-md-block[_ngcontent-%COMP%]{display:block!important}.d-md-grid[_ngcontent-%COMP%]{display:grid!important}.d-md-table[_ngcontent-%COMP%]{display:table!important}.d-md-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-md-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-md-flex[_ngcontent-%COMP%]{display:flex!important}.d-md-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-md-none[_ngcontent-%COMP%]{display:none!important}.flex-md-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-md-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-md-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-md-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-md-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-md-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-md-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-md-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-md-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-md-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-md-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-md-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-md-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-md-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-md-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-md-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-md-around[_ngcontent-%COMP%]{justify-content:space-around!important}.justify-content-md-evenly[_ngcontent-%COMP%]{justify-content:space-evenly!important}.align-items-md-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-md-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-md-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-md-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-md-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-md-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-md-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-md-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-md-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-md-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-md-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-md-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-md-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-md-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-md-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-md-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-md-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-md-first[_ngcontent-%COMP%]{order:-1!important}.order-md-0[_ngcontent-%COMP%]{order:0!important}.order-md-1[_ngcontent-%COMP%]{order:1!important}.order-md-2[_ngcontent-%COMP%]{order:2!important}.order-md-3[_ngcontent-%COMP%]{order:3!important}.order-md-4[_ngcontent-%COMP%]{order:4!important}.order-md-5[_ngcontent-%COMP%]{order:5!important}.order-md-last[_ngcontent-%COMP%]{order:6!important}.m-md-0[_ngcontent-%COMP%]{margin:0!important}.m-md-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-md-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-md-3[_ngcontent-%COMP%]{margin:1rem!important}.m-md-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-md-5[_ngcontent-%COMP%]{margin:3rem!important}.m-md-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-md-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-md-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-md-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-md-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-md-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-md-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-md-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-md-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-md-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-md-auto[_ngcontent-%COMP%]{margin-top:auto!important}.me-md-0[_ngcontent-%COMP%]{margin-right:0!important}.me-md-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.me-md-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.me-md-3[_ngcontent-%COMP%]{margin-right:1rem!important}.me-md-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.me-md-5[_ngcontent-%COMP%]{margin-right:3rem!important}.me-md-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-md-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-md-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-md-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-md-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-md-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-md-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-md-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ms-md-0[_ngcontent-%COMP%]{margin-left:0!important}.ms-md-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ms-md-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ms-md-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ms-md-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ms-md-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ms-md-auto[_ngcontent-%COMP%]{margin-left:auto!important}.p-md-0[_ngcontent-%COMP%]{padding:0!important}.p-md-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-md-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-md-3[_ngcontent-%COMP%]{padding:1rem!important}.p-md-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-md-5[_ngcontent-%COMP%]{padding:3rem!important}.px-md-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-md-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-md-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-md-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-md-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-md-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-md-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-md-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-md-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-md-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pe-md-0[_ngcontent-%COMP%]{padding-right:0!important}.pe-md-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pe-md-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pe-md-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pe-md-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pe-md-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-md-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-md-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-md-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-md-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-md-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-md-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-md-0[_ngcontent-%COMP%]{padding-left:0!important}.ps-md-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.ps-md-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.ps-md-3[_ngcontent-%COMP%]{padding-left:1rem!important}.ps-md-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.ps-md-5[_ngcontent-%COMP%]{padding-left:3rem!important}}@media (min-width: 992px){.d-lg-inline[_ngcontent-%COMP%]{display:inline!important}.d-lg-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-lg-block[_ngcontent-%COMP%]{display:block!important}.d-lg-grid[_ngcontent-%COMP%]{display:grid!important}.d-lg-table[_ngcontent-%COMP%]{display:table!important}.d-lg-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-lg-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-lg-flex[_ngcontent-%COMP%]{display:flex!important}.d-lg-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-lg-none[_ngcontent-%COMP%]{display:none!important}.flex-lg-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-lg-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-lg-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-lg-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-lg-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-lg-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-lg-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-lg-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-lg-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-lg-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-lg-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-lg-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-lg-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-lg-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-lg-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-lg-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-lg-around[_ngcontent-%COMP%]{justify-content:space-around!important}.justify-content-lg-evenly[_ngcontent-%COMP%]{justify-content:space-evenly!important}.align-items-lg-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-lg-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-lg-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-lg-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-lg-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-lg-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-lg-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-lg-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-lg-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-lg-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-lg-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-lg-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-lg-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-lg-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-lg-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-lg-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-lg-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-lg-first[_ngcontent-%COMP%]{order:-1!important}.order-lg-0[_ngcontent-%COMP%]{order:0!important}.order-lg-1[_ngcontent-%COMP%]{order:1!important}.order-lg-2[_ngcontent-%COMP%]{order:2!important}.order-lg-3[_ngcontent-%COMP%]{order:3!important}.order-lg-4[_ngcontent-%COMP%]{order:4!important}.order-lg-5[_ngcontent-%COMP%]{order:5!important}.order-lg-last[_ngcontent-%COMP%]{order:6!important}.m-lg-0[_ngcontent-%COMP%]{margin:0!important}.m-lg-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-lg-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-lg-3[_ngcontent-%COMP%]{margin:1rem!important}.m-lg-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-lg-5[_ngcontent-%COMP%]{margin:3rem!important}.m-lg-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-lg-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-lg-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-lg-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-lg-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-lg-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-lg-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-lg-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-lg-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-lg-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-lg-auto[_ngcontent-%COMP%]{margin-top:auto!important}.me-lg-0[_ngcontent-%COMP%]{margin-right:0!important}.me-lg-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.me-lg-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.me-lg-3[_ngcontent-%COMP%]{margin-right:1rem!important}.me-lg-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.me-lg-5[_ngcontent-%COMP%]{margin-right:3rem!important}.me-lg-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-lg-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-lg-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-lg-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-lg-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-lg-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-lg-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-lg-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ms-lg-0[_ngcontent-%COMP%]{margin-left:0!important}.ms-lg-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ms-lg-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ms-lg-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ms-lg-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ms-lg-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ms-lg-auto[_ngcontent-%COMP%]{margin-left:auto!important}.p-lg-0[_ngcontent-%COMP%]{padding:0!important}.p-lg-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-lg-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-lg-3[_ngcontent-%COMP%]{padding:1rem!important}.p-lg-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-lg-5[_ngcontent-%COMP%]{padding:3rem!important}.px-lg-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-lg-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-lg-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-lg-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-lg-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-lg-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-lg-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-lg-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pe-lg-0[_ngcontent-%COMP%]{padding-right:0!important}.pe-lg-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pe-lg-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pe-lg-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pe-lg-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pe-lg-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-lg-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-lg-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-lg-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-lg-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-lg-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-lg-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-lg-0[_ngcontent-%COMP%]{padding-left:0!important}.ps-lg-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.ps-lg-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.ps-lg-3[_ngcontent-%COMP%]{padding-left:1rem!important}.ps-lg-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.ps-lg-5[_ngcontent-%COMP%]{padding-left:3rem!important}}@media (min-width: 1200px){.d-xl-inline[_ngcontent-%COMP%]{display:inline!important}.d-xl-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-xl-block[_ngcontent-%COMP%]{display:block!important}.d-xl-grid[_ngcontent-%COMP%]{display:grid!important}.d-xl-table[_ngcontent-%COMP%]{display:table!important}.d-xl-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-xl-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-xl-flex[_ngcontent-%COMP%]{display:flex!important}.d-xl-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-xl-none[_ngcontent-%COMP%]{display:none!important}.flex-xl-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-xl-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-xl-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-xl-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-xl-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-xl-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-xl-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-xl-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-xl-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-xl-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-xl-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-xl-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-xl-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-xl-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-xl-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-xl-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-xl-around[_ngcontent-%COMP%]{justify-content:space-around!important}.justify-content-xl-evenly[_ngcontent-%COMP%]{justify-content:space-evenly!important}.align-items-xl-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-xl-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-xl-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-xl-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-xl-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-xl-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-xl-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-xl-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-xl-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-xl-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-xl-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-xl-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-xl-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-xl-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-xl-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-xl-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-xl-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-xl-first[_ngcontent-%COMP%]{order:-1!important}.order-xl-0[_ngcontent-%COMP%]{order:0!important}.order-xl-1[_ngcontent-%COMP%]{order:1!important}.order-xl-2[_ngcontent-%COMP%]{order:2!important}.order-xl-3[_ngcontent-%COMP%]{order:3!important}.order-xl-4[_ngcontent-%COMP%]{order:4!important}.order-xl-5[_ngcontent-%COMP%]{order:5!important}.order-xl-last[_ngcontent-%COMP%]{order:6!important}.m-xl-0[_ngcontent-%COMP%]{margin:0!important}.m-xl-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-xl-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-xl-3[_ngcontent-%COMP%]{margin:1rem!important}.m-xl-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-xl-5[_ngcontent-%COMP%]{margin:3rem!important}.m-xl-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-xl-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-xl-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-xl-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-xl-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-xl-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-xl-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-xl-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-xl-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-xl-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-xl-auto[_ngcontent-%COMP%]{margin-top:auto!important}.me-xl-0[_ngcontent-%COMP%]{margin-right:0!important}.me-xl-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.me-xl-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.me-xl-3[_ngcontent-%COMP%]{margin-right:1rem!important}.me-xl-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.me-xl-5[_ngcontent-%COMP%]{margin-right:3rem!important}.me-xl-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-xl-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-xl-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-xl-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-xl-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-xl-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-xl-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-xl-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ms-xl-0[_ngcontent-%COMP%]{margin-left:0!important}.ms-xl-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ms-xl-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ms-xl-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ms-xl-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ms-xl-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ms-xl-auto[_ngcontent-%COMP%]{margin-left:auto!important}.p-xl-0[_ngcontent-%COMP%]{padding:0!important}.p-xl-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-xl-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-xl-3[_ngcontent-%COMP%]{padding:1rem!important}.p-xl-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-xl-5[_ngcontent-%COMP%]{padding:3rem!important}.px-xl-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-xl-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-xl-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-xl-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-xl-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-xl-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-xl-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-xl-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pe-xl-0[_ngcontent-%COMP%]{padding-right:0!important}.pe-xl-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pe-xl-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pe-xl-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pe-xl-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pe-xl-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-xl-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-xl-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-xl-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-xl-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-xl-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-xl-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-xl-0[_ngcontent-%COMP%]{padding-left:0!important}.ps-xl-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.ps-xl-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.ps-xl-3[_ngcontent-%COMP%]{padding-left:1rem!important}.ps-xl-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.ps-xl-5[_ngcontent-%COMP%]{padding-left:3rem!important}}@media (min-width: 1400px){.d-xxl-inline[_ngcontent-%COMP%]{display:inline!important}.d-xxl-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-xxl-block[_ngcontent-%COMP%]{display:block!important}.d-xxl-grid[_ngcontent-%COMP%]{display:grid!important}.d-xxl-table[_ngcontent-%COMP%]{display:table!important}.d-xxl-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-xxl-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-xxl-flex[_ngcontent-%COMP%]{display:flex!important}.d-xxl-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-xxl-none[_ngcontent-%COMP%]{display:none!important}.flex-xxl-fill[_ngcontent-%COMP%]{flex:1 1 auto!important}.flex-xxl-row[_ngcontent-%COMP%]{flex-direction:row!important}.flex-xxl-column[_ngcontent-%COMP%]{flex-direction:column!important}.flex-xxl-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse!important}.flex-xxl-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse!important}.flex-xxl-grow-0[_ngcontent-%COMP%]{flex-grow:0!important}.flex-xxl-grow-1[_ngcontent-%COMP%]{flex-grow:1!important}.flex-xxl-shrink-0[_ngcontent-%COMP%]{flex-shrink:0!important}.flex-xxl-shrink-1[_ngcontent-%COMP%]{flex-shrink:1!important}.flex-xxl-wrap[_ngcontent-%COMP%]{flex-wrap:wrap!important}.flex-xxl-nowrap[_ngcontent-%COMP%]{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse[_ngcontent-%COMP%]{flex-wrap:wrap-reverse!important}.justify-content-xxl-start[_ngcontent-%COMP%]{justify-content:flex-start!important}.justify-content-xxl-end[_ngcontent-%COMP%]{justify-content:flex-end!important}.justify-content-xxl-center[_ngcontent-%COMP%]{justify-content:center!important}.justify-content-xxl-between[_ngcontent-%COMP%]{justify-content:space-between!important}.justify-content-xxl-around[_ngcontent-%COMP%]{justify-content:space-around!important}.justify-content-xxl-evenly[_ngcontent-%COMP%]{justify-content:space-evenly!important}.align-items-xxl-start[_ngcontent-%COMP%]{align-items:flex-start!important}.align-items-xxl-end[_ngcontent-%COMP%]{align-items:flex-end!important}.align-items-xxl-center[_ngcontent-%COMP%]{align-items:center!important}.align-items-xxl-baseline[_ngcontent-%COMP%]{align-items:baseline!important}.align-items-xxl-stretch[_ngcontent-%COMP%]{align-items:stretch!important}.align-content-xxl-start[_ngcontent-%COMP%]{align-content:flex-start!important}.align-content-xxl-end[_ngcontent-%COMP%]{align-content:flex-end!important}.align-content-xxl-center[_ngcontent-%COMP%]{align-content:center!important}.align-content-xxl-between[_ngcontent-%COMP%]{align-content:space-between!important}.align-content-xxl-around[_ngcontent-%COMP%]{align-content:space-around!important}.align-content-xxl-stretch[_ngcontent-%COMP%]{align-content:stretch!important}.align-self-xxl-auto[_ngcontent-%COMP%]{align-self:auto!important}.align-self-xxl-start[_ngcontent-%COMP%]{align-self:flex-start!important}.align-self-xxl-end[_ngcontent-%COMP%]{align-self:flex-end!important}.align-self-xxl-center[_ngcontent-%COMP%]{align-self:center!important}.align-self-xxl-baseline[_ngcontent-%COMP%]{align-self:baseline!important}.align-self-xxl-stretch[_ngcontent-%COMP%]{align-self:stretch!important}.order-xxl-first[_ngcontent-%COMP%]{order:-1!important}.order-xxl-0[_ngcontent-%COMP%]{order:0!important}.order-xxl-1[_ngcontent-%COMP%]{order:1!important}.order-xxl-2[_ngcontent-%COMP%]{order:2!important}.order-xxl-3[_ngcontent-%COMP%]{order:3!important}.order-xxl-4[_ngcontent-%COMP%]{order:4!important}.order-xxl-5[_ngcontent-%COMP%]{order:5!important}.order-xxl-last[_ngcontent-%COMP%]{order:6!important}.m-xxl-0[_ngcontent-%COMP%]{margin:0!important}.m-xxl-1[_ngcontent-%COMP%]{margin:.25rem!important}.m-xxl-2[_ngcontent-%COMP%]{margin:.5rem!important}.m-xxl-3[_ngcontent-%COMP%]{margin:1rem!important}.m-xxl-4[_ngcontent-%COMP%]{margin:1.5rem!important}.m-xxl-5[_ngcontent-%COMP%]{margin:3rem!important}.m-xxl-auto[_ngcontent-%COMP%]{margin:auto!important}.mx-xxl-0[_ngcontent-%COMP%]{margin-right:0!important;margin-left:0!important}.mx-xxl-1[_ngcontent-%COMP%]{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2[_ngcontent-%COMP%]{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3[_ngcontent-%COMP%]{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4[_ngcontent-%COMP%]{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5[_ngcontent-%COMP%]{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto[_ngcontent-%COMP%]{margin-right:auto!important;margin-left:auto!important}.my-xxl-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}.my-xxl-1[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5[_ngcontent-%COMP%]{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto[_ngcontent-%COMP%]{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0[_ngcontent-%COMP%]{margin-top:0!important}.mt-xxl-1[_ngcontent-%COMP%]{margin-top:.25rem!important}.mt-xxl-2[_ngcontent-%COMP%]{margin-top:.5rem!important}.mt-xxl-3[_ngcontent-%COMP%]{margin-top:1rem!important}.mt-xxl-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}.mt-xxl-5[_ngcontent-%COMP%]{margin-top:3rem!important}.mt-xxl-auto[_ngcontent-%COMP%]{margin-top:auto!important}.me-xxl-0[_ngcontent-%COMP%]{margin-right:0!important}.me-xxl-1[_ngcontent-%COMP%]{margin-right:.25rem!important}.me-xxl-2[_ngcontent-%COMP%]{margin-right:.5rem!important}.me-xxl-3[_ngcontent-%COMP%]{margin-right:1rem!important}.me-xxl-4[_ngcontent-%COMP%]{margin-right:1.5rem!important}.me-xxl-5[_ngcontent-%COMP%]{margin-right:3rem!important}.me-xxl-auto[_ngcontent-%COMP%]{margin-right:auto!important}.mb-xxl-0[_ngcontent-%COMP%]{margin-bottom:0!important}.mb-xxl-1[_ngcontent-%COMP%]{margin-bottom:.25rem!important}.mb-xxl-2[_ngcontent-%COMP%]{margin-bottom:.5rem!important}.mb-xxl-3[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-xxl-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.mb-xxl-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.mb-xxl-auto[_ngcontent-%COMP%]{margin-bottom:auto!important}.ms-xxl-0[_ngcontent-%COMP%]{margin-left:0!important}.ms-xxl-1[_ngcontent-%COMP%]{margin-left:.25rem!important}.ms-xxl-2[_ngcontent-%COMP%]{margin-left:.5rem!important}.ms-xxl-3[_ngcontent-%COMP%]{margin-left:1rem!important}.ms-xxl-4[_ngcontent-%COMP%]{margin-left:1.5rem!important}.ms-xxl-5[_ngcontent-%COMP%]{margin-left:3rem!important}.ms-xxl-auto[_ngcontent-%COMP%]{margin-left:auto!important}.p-xxl-0[_ngcontent-%COMP%]{padding:0!important}.p-xxl-1[_ngcontent-%COMP%]{padding:.25rem!important}.p-xxl-2[_ngcontent-%COMP%]{padding:.5rem!important}.p-xxl-3[_ngcontent-%COMP%]{padding:1rem!important}.p-xxl-4[_ngcontent-%COMP%]{padding:1.5rem!important}.p-xxl-5[_ngcontent-%COMP%]{padding:3rem!important}.px-xxl-0[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.px-xxl-1[_ngcontent-%COMP%]{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2[_ngcontent-%COMP%]{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3[_ngcontent-%COMP%]{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4[_ngcontent-%COMP%]{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5[_ngcontent-%COMP%]{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}.py-xxl-1[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5[_ngcontent-%COMP%]{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0[_ngcontent-%COMP%]{padding-top:0!important}.pt-xxl-1[_ngcontent-%COMP%]{padding-top:.25rem!important}.pt-xxl-2[_ngcontent-%COMP%]{padding-top:.5rem!important}.pt-xxl-3[_ngcontent-%COMP%]{padding-top:1rem!important}.pt-xxl-4[_ngcontent-%COMP%]{padding-top:1.5rem!important}.pt-xxl-5[_ngcontent-%COMP%]{padding-top:3rem!important}.pe-xxl-0[_ngcontent-%COMP%]{padding-right:0!important}.pe-xxl-1[_ngcontent-%COMP%]{padding-right:.25rem!important}.pe-xxl-2[_ngcontent-%COMP%]{padding-right:.5rem!important}.pe-xxl-3[_ngcontent-%COMP%]{padding-right:1rem!important}.pe-xxl-4[_ngcontent-%COMP%]{padding-right:1.5rem!important}.pe-xxl-5[_ngcontent-%COMP%]{padding-right:3rem!important}.pb-xxl-0[_ngcontent-%COMP%]{padding-bottom:0!important}.pb-xxl-1[_ngcontent-%COMP%]{padding-bottom:.25rem!important}.pb-xxl-2[_ngcontent-%COMP%]{padding-bottom:.5rem!important}.pb-xxl-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}.pb-xxl-4[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}.pb-xxl-5[_ngcontent-%COMP%]{padding-bottom:3rem!important}.ps-xxl-0[_ngcontent-%COMP%]{padding-left:0!important}.ps-xxl-1[_ngcontent-%COMP%]{padding-left:.25rem!important}.ps-xxl-2[_ngcontent-%COMP%]{padding-left:.5rem!important}.ps-xxl-3[_ngcontent-%COMP%]{padding-left:1rem!important}.ps-xxl-4[_ngcontent-%COMP%]{padding-left:1.5rem!important}.ps-xxl-5[_ngcontent-%COMP%]{padding-left:3rem!important}}@media print{.d-print-inline[_ngcontent-%COMP%]{display:inline!important}.d-print-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.d-print-block[_ngcontent-%COMP%]{display:block!important}.d-print-grid[_ngcontent-%COMP%]{display:grid!important}.d-print-table[_ngcontent-%COMP%]{display:table!important}.d-print-table-row[_ngcontent-%COMP%]{display:table-row!important}.d-print-table-cell[_ngcontent-%COMP%]{display:table-cell!important}.d-print-flex[_ngcontent-%COMP%]{display:flex!important}.d-print-inline-flex[_ngcontent-%COMP%]{display:inline-flex!important}.d-print-none[_ngcontent-%COMP%]{display:none!important}}@media (max-width: 575.98px){.card-group[_ngcontent-%COMP%]{display:block}}.btn-wrap[_ngcontent-%COMP%]{white-space:normal}'],data:{animation:[pa()]}})}return n})();const zD=n=>({"is-invalid":n});function i3e(n,t){if(1&n&&(D(0,"div",11)(1,"span",12),ee(2,"i",13),N(3),Y(4,"translate"),M(),D(5,"div",14),N(6),M()()),2&n){const e=K().$implicit;m(3),ve(" ",B(4,2,"contact_phone_support_label"),""),m(3),ve(" ",null==e?null:e.supportPhoneNumber," ")}}function s3e(n,t){if(1&n&&(D(0,"div",11)(1,"span",12),ee(2,"i",15),N(3),Y(4,"translate"),M(),D(5,"div",16)(6,"a",17),N(7),M()()()),2&n){const e=K().$implicit;m(3),ve(" ",B(4,4,"contact_email_support_label"),""),m(3),wc("href","mailto:",null==e?null:e.supportEmail,"",qn),m(),le(null==e?null:e.supportEmail)}}function r3e(n,t){1&n&&(D(0,"div",6)(1,"div",7)(2,"h6",8),N(3),Y(4,"translate"),M()(),D(5,"div",9),re(6,i3e,7,4,"div",10)(7,s3e,8,6,"div",10),M()()),2&n&&(m(3),ve("",B(4,3,"contact_description")," "),m(3),R("hideKey","ContactUs-Phone"),m(),R("hideKey","ContactUs-Email"))}function o3e(n,t){1&n&&(D(0,"div",18)(1,"div",9)(2,"div",19),N(3),Y(4,"translate"),M()()()),2&n&&(R("@fadeInOut",K().state),m(3),le(B(4,2,"contact_success")))}function a3e(n,t){if(1&n){const e=tt();D(0,"div",6)(1,"div",9)(2,"form",20),Le("submit",function(s){ze(e);const r=Fi(44);return Ge(K().send(s,r))}),D(3,"h2",21),N(4),Y(5,"translate"),M(),D(6,"div",22)(7,"label",23),N(8),Y(9,"translate"),M(),ee(10,"input",24),Y(11,"translate"),D(12,"div",25),N(13),Y(14,"translate"),M()(),D(15,"div",22)(16,"label",26),N(17),Y(18,"translate"),M(),ee(19,"input",27),Y(20,"translate"),D(21,"div",25),N(22),Y(23,"translate"),M()(),D(24,"div",22)(25,"label",28),N(26),Y(27,"translate"),M(),ee(28,"input",29),Y(29,"translate"),D(30,"div",25),N(31),Y(32,"translate"),M()(),D(33,"div",22)(34,"label",30),N(35),Y(36,"translate"),M(),ee(37,"textarea",31),Y(38,"translate"),D(39,"div",25),N(40),Y(41,"translate"),M()(),D(42,"div",32)(43,"button",33,0),N(45),Y(46,"translate"),M()()()()()}if(2&n){const e=K();m(2),R("formGroup",e.contactForm),m(2),le(B(5,19,"contact_us")),m(4),le(B(9,21,"contact_name_label")),m(2),He("placeholder",B(11,23,"contact_name_label")),R("ngClass",Lt(47,zD,e.contactForm.controls.name.dirty&&e.contactForm.controls.name.invalid)),m(3),ve(" ",B(14,25,"contact_name_invalid")," "),m(4),le(B(18,27,"email")),m(2),He("placeholder",B(20,29,"email")),R("ngClass",Lt(49,zD,e.contactForm.controls.email.dirty&&e.contactForm.controls.email.invalid)),m(3),ve(" ",B(23,31,"email_required")," "),m(4),le(B(27,33,"contact_phone_label")),m(2),He("placeholder",B(29,35,"contact_phone_label")),R("ngClass",Lt(51,zD,e.contactForm.controls.phone.dirty&&e.contactForm.controls.phone.invalid)),m(3),ve(" ",B(32,37,"contact_phone_invalid")," "),m(4),le(B(36,39,"contact_message_label")),m(2),He("placeholder",B(38,41,"contact_message_label")),R("ngClass",Lt(53,zD,e.contactForm.controls.message.dirty&&e.contactForm.controls.message.invalid)),m(3),ve(" ",B(41,43,"contact_message_invalid")," "),m(5),le(B(46,45,"button_send"))}}let l3e=(()=>{class n extends Dt{constructor(e,i,s){super(),this.sessionService=e,this.fb=i,this.userService=s,this.state="out"}ngOnInit(){this.contactForm=this.fb.group({name:["",Sn.required],email:["",[Sn.required,Sn.email]],phone:[""],message:["",Sn.required]}),this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e})}send(e,i){e.preventDefault(),this.contactForm.valid&&(i.disabled=!0,this.userService.contact(this.value("name"),this.value("email"),this.value("phone"),this.value("message")).subscribe(()=>{this.state="in",this.contactForm.reset(),setTimeout(()=>{this.state="out"},9e3)}))}value(e){return this.contactForm.controls[e].value}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et),W(Lc),W(Af))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-contact"]],features:[Ue],decls:7,vars:5,consts:[["submitBtn",""],[1,"row"],[1,"col-md-12"],["class","card",4,"ngIf"],[1,"row","pt-2"],["class","card alert alert-success",4,"ngIf"],[1,"card"],[1,"card-header"],[1,"mb-0"],[1,"card-body"],["class","row ms-4",4,"hideKey"],[1,"row","ms-4"],[1,"col-2"],[1,"fa","fa-phone"],[1,"col-8","form-label"],[1,"fa","fa-envelope"],[1,"col-8"],[3,"href"],[1,"card","alert","alert-success"],[1,""],["novalidate","",1,"form-signin",3,"submit","formGroup"],[1,"form-signin-heading"],[1,"form-group","mb-2"],["for","inputName",1,"sr-only"],["type","text","id","inputName","required","","autofocus","","autocomplete","off","formControlName","name",1,"form-control",3,"placeholder","ngClass"],[1,"invalid-feedback"],["for","inputEmail",1,"sr-only"],["type","email","id","inputEmail","required","","autofocus","","autocomplete","off","formControlName","email",1,"form-control",3,"placeholder","ngClass"],["for","inputPhone",1,"sr-only"],["type","text","id","inputPhone","formControlName","phone",1,"form-control",3,"placeholder","ngClass"],["for","inputMessage",1,"sr-only"],["autofocus","","rows","3","required","","formControlName","message",1,"form-control",3,"placeholder","ngClass"],[1,"d-grid"],["type","submit",1,"btn","btn-lg","btn-primary"]],template:function(i,s){1&i&&(D(0,"div",1)(1,"div",2),re(2,r3e,8,5,"div",3),M()(),D(3,"div",4)(4,"div",2),re(5,o3e,5,4,"div",5)(6,a3e,47,55,"div",3),M()()),2&i&&(R("@fadeInOut","active"),m(2),R("ngIf",s.account),m(),R("@fadeInOut","active"),m(2),R("ngIf","in"===s.state),m(),R("ngIf","out"===s.state))},dependencies:[Tl,Oo,Tr,oa,Oc,Lo,Na,es,xr,wt,et],data:{animation:[pa()]}})}return n})();class K7{static Match(t,e){return i=>{if(i.get(t).value===i.get(e).value)return null;i.get(t).setErrors({Match:!0})}}}const AI=n=>({"is-invalid":n});function c3e(n,t){1&n&&(D(0,"div",15),N(1,"Your password has been changed."),M()),2&n&&R("@fadeInOut",K().state)}function u3e(n,t){1&n&&(D(0,"div",16),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_email_password_invalid")," "))}function d3e(n,t){1&n&&(D(0,"div",17),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_password_matching")," "))}function h3e(n,t){1&n&&(D(0,"div",17),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_password_pattern")," "))}function f3e(n,t){1&n&&(D(0,"div",17),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_password_matching")," "))}let p3e=(()=>{class n{constructor(e,i){this.fb=e,this.userService=i,this.state="out",this.didFail=!1,this.changePasswordForm=this.fb.group({currentPassword:["",[Sn.required]],newPassword:["",[Sn.required,Sn.minLength(8),Sn.pattern("^((?=.*[A-Z])(?=.*[a-z]).*){8,}$")]],confirmPassword:["",[Sn.required]]},{validator:K7.Match("confirmPassword","newPassword")})}change(e){e.preventDefault(),!this.changePasswordForm.invalid&&this.userService.changePassword(this.changePasswordForm.value).subscribe(()=>{this.changePasswordForm.reset(),this.state="in",setTimeout(()=>{this.state="out"},5e3)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Lc),W(Af))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-change-password"]],decls:32,vars:39,consts:[[1,"card","col-md-5"],[1,"card-body"],[1,"card-title","text-primary"],["novalidate","",1,"form-signin",3,"submit","formGroup"],["class","alert alert-success",4,"ngIf"],["class","alert alert-danger","role","alert",4,"ngIf"],[1,"form-group"],["for","password",1,"sr-only"],["type","password","id","currentPassword","required","","autofocus","","autocomplete","off","formControlName","currentPassword",1,"form-control",3,"placeholder","ngClass"],["class","invalid-feedback",4,"ngIf"],["for","inputPassword",1,"sr-only"],["type","password","id","inputPassword","required","","autofocus","","autocomplete","off","formControlName","newPassword",1,"form-control",3,"placeholder","ngClass"],["for","inputConfirmPassword",1,"sr-only"],["type","password","id","inputConfirmPassword","required","","autofocus","","autocomplete","off","formControlName","confirmPassword",1,"form-control",3,"placeholder","ngClass"],["type","submit",1,"btn","btn-md","btn-primary","w-100"],[1,"alert","alert-success"],["role","alert",1,"alert","alert-danger"],[1,"invalid-feedback"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),M(),D(5,"form",3),Le("submit",function(o){return s.change(o)}),re(6,c3e,2,1,"div",4)(7,u3e,3,3,"div",5),D(8,"div",6)(9,"label",7),N(10),Y(11,"translate"),M(),ee(12,"input",8),Y(13,"translate"),re(14,d3e,3,3,"div",9),M(),D(15,"div",6)(16,"label",10),N(17),Y(18,"translate"),M(),ee(19,"input",11),Y(20,"translate"),re(21,h3e,3,3,"div",9),M(),D(22,"div",6)(23,"label",12),N(24),Y(25,"translate"),M(),ee(26,"input",13),Y(27,"translate"),re(28,f3e,3,3,"div",9),M(),D(29,"button",14),N(30),Y(31,"translate"),M()()()()),2&i&&(m(3),le(B(4,17,"content_change_password")),m(2),R("formGroup",s.changePasswordForm),m(),R("ngIf","in"===s.state),m(),R("ngIf",s.didFail),m(3),le(B(11,19,"content_login_password")),m(2),He("placeholder",B(13,21,"content_login_password")),R("ngClass",Lt(33,AI,s.changePasswordForm.controls.currentPassword.dirty&&s.changePasswordForm.controls.currentPassword.invalid)),m(2),R("ngIf",null==s.changePasswordForm.controls.confirmPassword.errors?null:s.changePasswordForm.controls.confirmPassword.errors.Match),m(3),le(B(18,23,"content_change_password_new_password")),m(2),He("placeholder",B(20,25,"content_change_password_new_password")),R("ngClass",Lt(35,AI,s.changePasswordForm.controls.newPassword.dirty&&s.changePasswordForm.controls.newPassword.invalid)),m(2),R("ngIf",null==s.changePasswordForm.controls.newPassword.errors?null:s.changePasswordForm.controls.newPassword.errors.pattern),m(3),le(B(25,27,"content_change_password_confirm_new_password")),m(2),He("placeholder",B(27,29,"content_change_password_confirm_new_password")),R("ngClass",Lt(37,AI,s.changePasswordForm.controls.confirmPassword.dirty&&s.changePasswordForm.controls.confirmPassword.invalid)),m(2),R("ngIf",null==s.changePasswordForm.controls.confirmPassword.errors?null:s.changePasswordForm.controls.confirmPassword.errors.Match),m(2),le(B(31,31,"content_change_password")))},dependencies:[Tl,Oo,Tr,oa,Oc,Lo,Na,xr,wt,et],data:{animation:[pa()]}})}return n})();const g3e=n=>({"is-invalid":n});function m3e(n,t){1&n&&(D(0,"div",14),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"recover_password_instructions")))}function _3e(n,t){if(1&n){const e=tt();D(0,"div",3)(1,"form",4),Le("submit",function(s){return ze(e),Ge(K().submit(s))}),re(2,m3e,3,3,"div",5),D(3,"h2",6),N(4),Y(5,"translate"),M(),D(6,"div",7)(7,"label",8),N(8),Y(9,"translate"),M(),ee(10,"input",9),Y(11,"translate"),D(12,"div",10),N(13),Y(14,"translate"),M()(),D(15,"div",11)(16,"button",12),N(17),Y(18,"translate"),M(),D(19,"button",13),N(20),Y(21,"translate"),M()()()()}if(2&n){const e=K();m(),R("formGroup",e.form),m(),R("ngIf",e.sent),m(2),le(B(5,9,"button_forgot_password")),m(4),le(B(9,11,"content_login_username")),m(2),He("placeholder",B(11,13,"content_login_username")),R("ngClass",Lt(21,g3e,e.form.controls.email.dirty&&e.form.controls.email.invalid)),m(3),ve(" ",B(14,15,"enter_valid_email")," "),m(4),le(B(18,17,"continue")),m(3),le(B(21,19,"button_back_to_login"))}}let y3e=(()=>{class n extends Dt{constructor(e,i){super(),this.userService=i,this.sent=!1,this.form=e.group({email:["",[Sn.required,Sn.email]]})}submit(e){e.preventDefault(),!this.form.invalid&&this.userService.forgot(this.form.controls.email.value).pipe(qe(this.unsubscribe)).subscribe(()=>{this.form.reset(),this.sent=!0})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Lc),W(Af))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-forgot-password"]],features:[Ue],decls:3,vars:1,consts:[["id","forgot-password-card",1,"card"],[1,"card-body"],["class","container p-4",4,"hideKey"],[1,"container","p-4"],["novalidate","",1,"form-signin","p-4",3,"submit","formGroup"],["class","alert alert-info",4,"ngIf"],[1,"form-signin-heading","pb-4"],[1,"form-group","pb-3"],["for","inputEmail",1,"sr-only"],["type","email","id","inputEmail","required","","autofocus","","autocomplete","off","formControlName","email",1,"form-control",3,"placeholder","ngClass"],[1,"invalid-feedback"],[1,"d-grid","gap-2"],["type","submit",1,"btn","btn-lg","btn-primary"],["routerLink","/log-in",1,"btn","btn-lg","btn-outline-secondary"],[1,"alert","alert-info"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),re(2,_3e,22,23,"div",2),M()()),2&i&&(m(2),R("hideKey","Login-Forgot-Password"))},dependencies:[Tl,Oo,Tr,oa,Oc,Lo,Na,es,xr,wt,gr,et],styles:["#forgot-password-card[_ngcontent-%COMP%]{margin-top:15px}\n\n/*# sourceMappingURL=forgot-password.component.css.map*/"]})}return n})();const X7=n=>({"is-invalid":n});function v3e(n,t){1&n&&(D(0,"div",13),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_password_pattern")," "))}function b3e(n,t){1&n&&(D(0,"div",13),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_password_matching")," "))}function w3e(n,t){1&n&&(D(0,"div",14),N(1),Y(2,"translate"),D(3,"a",15),N(4),Y(5,"translate"),M()()),2&n&&(m(),ve(" ",B(2,2,"success")," "),m(3),ve("-> ",B(5,4,"button_log_in"),""))}let C3e=(()=>{class n{constructor(e,i,s,r){this.route=e,this.router=i,this.fb=s,this.userService=r,this.success=!1}ngOnInit(){if(this.form=this.fb.group({password:["",[Sn.required,Sn.minLength(8),Sn.pattern("^((?=.*[A-Z])(?=.*[a-z]).*){8,}$")]],confirmPassword:["",[Sn.required]]},{validator:K7.Match("confirmPassword","password")}),this.resetToken=this.route.snapshot.queryParams.token,this.email=this.route.snapshot.queryParams.email,!this.resetToken||!this.email)return console.log("Invalid token"),void this.router.navigateByUrl("forgot-password");this.router.navigateByUrl("reset-password")}save(e){e.preventDefault(),!this.form.invalid&&this.userService.resetPassword(this.email,this.resetToken,this.form.get("password").value,this.form.get("confirmPassword").value).subscribe(()=>{this.form.reset(),this.success=!0,setTimeout(()=>{this.router.navigateByUrl("/login")},5e3)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(pr),W(Yn),W(Lc),W(Af))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-reset-password"]],decls:25,vars:29,consts:[["id","forgot-password-card",1,"card","mt-3"],[1,"card-body"],[1,"container","p-4"],["novalidate","",1,"form-signin","p-4",3,"submit","formGroup"],[1,"form-signin-heading"],[1,"form-group"],["for","password",1,"sr-only"],["type","text","id","password","autocomplete","off","formControlName","password",1,"form-control",3,"placeholder","ngClass"],["class","invalid-feedback",4,"ngIf"],["for","confirmPassword",1,"sr-only"],["type","text","id","confirmPassword","autocomplete","off","formControlName","confirmPassword",1,"form-control",3,"placeholder","ngClass"],["type","submit",1,"btn","btn-lg","btn-primary","w-100",3,"disabled"],["class","alert alert-success text-center",4,"ngIf"],[1,"invalid-feedback"],[1,"alert","alert-success","text-center"],["routerLink","/log-in"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"form",3),Le("submit",function(o){return s.save(o)}),D(4,"h2",4),N(5),Y(6,"translate"),M(),D(7,"div",5)(8,"label",6),N(9),Y(10,"translate"),M(),ee(11,"input",7),Y(12,"translate"),re(13,v3e,3,3,"div",8),M(),D(14,"div",5)(15,"label",9),N(16),Y(17,"translate"),M(),ee(18,"input",10),Y(19,"translate"),re(20,b3e,3,3,"div",8),M(),D(21,"button",11),N(22),Y(23,"translate"),M()(),re(24,w3e,6,6,"div",12),M()()()),2&i&&(m(3),R("formGroup",s.form),m(2),le(B(6,13,"reset_password")),m(4),le(B(10,15,"content_login_username")),m(2),He("placeholder",B(12,17,"content_login_password")),R("ngClass",Lt(25,X7,s.form.controls.password.dirty&&s.form.controls.password.invalid)),m(2),R("ngIf",null==s.form.controls.password.errors?null:s.form.controls.password.errors.pattern),m(3),le(B(17,19,"content_change_password_confirm_new_password")),m(2),He("placeholder",B(19,21,"content_change_password_confirm_new_password")),R("ngClass",Lt(27,X7,s.form.controls.confirmPassword.dirty&&s.form.controls.confirmPassword.invalid)),m(2),R("ngIf",null==s.form.controls.confirmPassword.errors?null:s.form.controls.confirmPassword.errors.Match),m(),R("disabled",s.form.invalid),m(),le(B(23,23,"reset_password")),m(2),R("ngIf",s.success))},dependencies:[Tl,Oo,Tr,oa,Lo,Na,xr,wt,gr,et]})}return n})();var Jl=function(n){return n[n.Yahoo=1]="Yahoo",n[n.Pinterest=7]="Pinterest",n[n.Blog=8]="Blog",n[n.GoogleAccount=9]="GoogleAccount",n[n.GoogleWebmasters=10]="GoogleWebmasters",n[n.GoogleAnalytics=11]="GoogleAnalytics",n[n.GoogleTagManager=12]="GoogleTagManager",n[n.GoogleMyBusiness=13]="GoogleMyBusiness",n[n.BingLocal=14]="BingLocal",n[n.FTP=15]="FTP",n[n.DomainRegistrar=16]="DomainRegistrar",n[n.BingAccount=20]="BingAccount",n[n.BingWebmastersAccount=21]="BingWebmastersAccount",n[n.CMSCustomerAccess=22]="CMSCustomerAccess",n[n.BlogHosting=23]="BlogHosting",n[n.BlogAdmin=24]="BlogAdmin",n[n.BlogEditor=25]="BlogEditor",n[n.WebsiteHosting=26]="WebsiteHosting",n[n.CMSAdminAccess=27]="CMSAdminAccess",n}(Jl||{});const GD=n=>({"is-invalid":n});function M3e(n,t){if(1&n&&(D(0,"small"),ee(1,"helpPopover",14),Y(2,"translate"),M()),2&n){const e=K();m(),He("html",B(2,1,e.helptextTranslateKey))}}function D3e(n,t){if(1&n&&(D(0,"div",5)(1,"label",6),N(2),Y(3,"translate"),D(4,"small"),N(5),Y(6,"translate"),M()(),D(7,"div",7),ee(8,"input",15),M()()),2&n){const e=K();m(2),ve(" ",B(3,3,"port")," "),m(3),ve("(",B(6,5,"optional"),")"),m(3),R("ngClass",Lt(7,GD,e.credentialForm.controls.port.dirty&&e.credentialForm.controls.port.invalid))}}let x3e=(()=>{class n extends Dt{get showPort(){return this.credential.customerAccountTypeId===Jl.FTP}get titleTranslateKey(){return"website_access_type."+Jl[this.credential.customerAccountTypeId].toLowerCase()}get helptextTranslateKey(){return"website_access_type.helptext."+Jl[this.credential.customerAccountTypeId].toLowerCase()}translationExists(e){const i=this.translateService.instant(e);return i!==e&&""!==i}asExternalUrl(e){return 0!==(e=e||"").toLowerCase().indexOf("http")?`http://${e}`:e}constructor(e){super(),this.translateService=e}static#e=this.\u0275fac=function(i){return new(i||n)(W(rr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-website-credentials"]],inputs:{credential:"credential",credentialForm:"credentialForm"},features:[Ue],decls:30,vars:28,consts:[[1,"card","card-default"],[1,"card-body"],[1,"card-title","text-primary","custom-tile-header"],[4,"ngIf"],[3,"formGroup"],[1,"form-group"],[1,"control-label","col-md-10"],[1,"col-md-10"],[1,"input-group"],["type","url","formControlName","url",1,"form-control",3,"ngClass"],["target","_blank",1,"btn","btn-primary",3,"href"],["class","form-group",4,"ngIf"],["formControlName","username","type","text","autocomplete","new-username",1,"form-control",3,"ngClass"],["formControlName","password","type","password","autocomplete","new-password",1,"form-control",3,"focus","ngClass"],["placement","auto",3,"html"],["formControlName","port","type","number","min","0","step","1",1,"form-control",2,"min-width","55px",3,"ngClass"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),re(5,M3e,3,3,"small",3),M(),D(6,"div",4)(7,"div",5)(8,"label",6),N(9),Y(10,"translate"),M(),D(11,"div",7)(12,"div",8),ee(13,"input",9),D(14,"a",10),N(15),Y(16,"translate"),M()()()(),re(17,D3e,9,9,"div",11),D(18,"div",5)(19,"label",6),N(20),Y(21,"translate"),M(),D(22,"div",7),ee(23,"input",12),M()(),D(24,"div",5)(25,"label",6),N(26),Y(27,"translate"),M(),D(28,"div",7)(29,"input",13),Le("focus",function(o){return o.target.select()}),M()()()()()()),2&i&&(m(3),ve(" ",B(4,12,s.titleTranslateKey)," "),m(2),R("ngIf",s.translationExists(s.helptextTranslateKey)),m(),R("formGroup",s.credentialForm),m(3),le(B(10,14,"login_url")),m(4),R("ngClass",Lt(22,GD,s.credentialForm.controls.url.dirty&&s.credentialForm.controls.url.invalid)),m(),R("href",s.asExternalUrl(s.credentialForm.controls.url.value),qn),m(),le(B(16,16,"button_view")),m(2),R("ngIf",s.showPort),m(3),le(B(21,18,"content_login_username")),m(3),R("ngClass",Lt(24,GD,s.credentialForm.controls.username.dirty&&s.credentialForm.controls.username.invalid)),m(3),le(B(27,20,"content_login_password")),m(3),R("ngClass",Lt(26,GD,s.credentialForm.controls.password.dirty&&s.credentialForm.controls.password.invalid)))},dependencies:[Oo,Qk,Tr,oa,iO,Lo,Na,nl,xr,wt,et]})}return n})();function S3e(n,t){1&n&&(D(0,"div",2),N(1),Y(2,"translate"),M()),2&n&&(R("@fadeInOut",K().state),m(),ve(" ",B(2,2,"website_access_saved")," "))}function T3e(n,t){if(1&n&&(D(0,"div",11),N(1),M()),2&n){const e=K().$implicit,i=K(2);m(),ve(" ",i.getErrorMessage(i.getForm(e))," ")}}function E3e(n,t){if(1&n&&(D(0,"div",8),ee(1,"app-website-credentials",9),re(2,T3e,2,1,"div",10),M()),2&n){const e=t.$implicit,i=K(2);m(),R("formGroupName",i.getFormName(e))("credential",e)("credentialForm",i.getForm(e)),m(),R("ngIf",i.showFormErrors&&i.getForm(e).invalid)}}function k3e(n,t){if(1&n){const e=tt();D(0,"div")(1,"form",3),Le("submit",function(s){return ze(e),Ge(K().save(s))}),D(2,"div",4),re(3,E3e,3,4,"div",5),M(),D(4,"div",6)(5,"button",7),N(6),Y(7,"translate"),M()()()()}if(2&n){const e=K();m(),R("formGroup",e.credentialsForm),m(2),R("ngForOf",e.customerAccounts),m(2),R("disabled",!e.credentialsForm.dirty),m(),le(B(7,4,"shared.button_save"))}}let O3e=(()=>{class n extends Dt{constructor(e,i,s){super(),this.websiteAccessService=e,this.fb=i,this.translateService=s,this.state="out",this.showFormErrors=!1}urlValidator(e){if(!e.value)return null;const i=e.value.toString().toLowerCase();return new RegExp("^((https?|s?ftp):\\/\\/)?((([\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffefa-z\\d]([\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffefa-z\\d-]*[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffefa-z\\d])*)\\.)+[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffefa-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z-\\d%_&\\:.~+]*)*(\\?[*@;:&a-z\\d%_\\./~+=-]*)?(#[!-a-z\\d_/]*)?$","i").test(i)?null:{urlInvalid:!0}}ngOnInit(){this.reloadForm()}reloadForm(){const e=[Jl.CMSCustomerAccess,Jl.FTP,Jl.DomainRegistrar,Jl.WebsiteHosting];dg({mockPassword:this.websiteAccessService.getMockPassword().pipe(su()),customerAccounts:this.websiteAccessService.get(e).pipe(su())}).subscribe(i=>{this.state="out",this.mockPassword=i.mockPassword,this.customerAccounts=i.customerAccounts,this.customerAccounts.filter(r=>r.isPasswordSet).forEach(r=>{r.setPassword=i.mockPassword});const s=this.customerAccounts.map(r=>[Jl[r.customerAccountTypeId],this.fb.group({url:[r.url,this.urlValidator],port:[r.port],username:[r.username],password:[r.setPassword]},{validators:this.generateMissingDetailsValidator(r)})]);this.credentialsForm=this.fb.group(Object.fromEntries(s)),this.credentialsForm.valueChanges.pipe(qe(this.unsubscribe)).subscribe(()=>{this.credentialsForm&&this.credentialsForm.valid&&(this.showFormErrors=!1)})})}getFormName(e){return Jl[e.customerAccountTypeId]}getForm(e){return this.credentialsForm.get(this.getFormName(e))}getErrorMessage(e){return e.get("url").invalid?this.translateService.instant("error_website_invalid"):e.get("username").value&&e.get("password").value?this.translateService.instant("error_website_required"):this.translateService.instant("error_login_username_password_required")}isDirty(e,i){const s=this.extractForm(i);return e.url!==s.url||e.port!==s.port||e.username!==s.username||!!s.setPassword&&s.setPassword!==this.mockPassword}extractForm(e){return{url:e.get("url").value,port:e.get("port").value,username:e.get("username").value,setPassword:e.get("password").value}}generateMissingDetailsValidator(e){return i=>{if(this.isDirty(e,i)){const r=this.extractForm(i);if((r.url||r.port||r.username||r.setPassword)&&(!r.url||!r.username||!r.setPassword))return{missingDetails:!0}}return null}}save(e){if(e.preventDefault(),this.showFormErrors=!1,this.credentialsForm.invalid)return void(this.showFormErrors=!0);const i=this.customerAccounts.map(s=>{const r=this.getForm(s),o=Object.assign({},s),a=this.extractForm(r);return o.url=a.url,o.port=a.port,o.username=a.username,o.setPassword=a.setPassword,o});this.credentialsForm.disable(),this.websiteAccessService.save(i).subscribe(()=>{this.credentialsForm.markAsPristine(),this.state="in",setTimeout(()=>{this.reloadForm()},5e3)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(O7),W(Lc),W(rr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-website-access"]],features:[Ue],decls:3,vars:2,consts:[["class","alert alert-success",4,"ngIf"],[4,"ngIf"],[1,"alert","alert-success"],[3,"submit","formGroup"],[1,"row"],["class","col-lg-6",4,"ngFor","ngForOf"],[1,"mt-4","float-end"],["type","submit",1,"btn","btn-lga","btn-success","w-100",3,"disabled"],[1,"col-lg-6"],[1,"ms-4",3,"formGroupName","credential","credentialForm"],["class","alert alert-danger",4,"ngIf"],[1,"alert","alert-danger"]],template:function(i,s){1&i&&(D(0,"div"),re(1,S3e,3,4,"div",0)(2,k3e,8,6,"div",1),M()),2&i&&(m(),R("ngIf","in"===s.state),m(),R("ngIf",s.credentialsForm))},dependencies:[Tl,oa,Lo,Ww,zs,wt,x3e,et],data:{animation:[pa()]}})}return n})();function L3e(n,t){1&n&&(D(0,"div",2),N(1),Y(2,"translate"),M()),2&n&&(R("@fadeInOut",K().state),m(),ve(" ",B(2,2,"seo_content_survey.saved")," "))}function P3e(n,t){if(1&n){const e=tt();D(0,"form",3),Le("submit",function(s){return ze(e),Ge(K().save(s))}),D(1,"div",4)(2,"div",5)(3,"h4",6),N(4),Y(5,"translate"),M(),D(6,"div",7)(7,"label",8),N(8),Y(9,"translate"),ee(10,"helpPopover",9),Y(11,"translate"),M(),D(12,"div",10),ee(13,"textarea",11),M()(),D(14,"div",7)(15,"label",8),N(16),Y(17,"translate"),ee(18,"helpPopover",9),Y(19,"translate"),M(),D(20,"div",10),ee(21,"textarea",12),M()(),D(22,"div",7)(23,"label",8),N(24),Y(25,"translate"),ee(26,"helpPopover",9),Y(27,"translate"),M(),D(28,"div",10),ee(29,"textarea",13),M()(),D(30,"div",7)(31,"label",8),N(32),Y(33,"translate"),ee(34,"helpPopover",9),Y(35,"translate"),M(),D(36,"div",10),ee(37,"textarea",14),M()(),D(38,"div",7)(39,"label",8),N(40),Y(41,"translate"),ee(42,"helpPopover",9),Y(43,"translate"),M(),D(44,"div",10),ee(45,"textarea",15),M()(),D(46,"div",7)(47,"label",8),N(48),Y(49,"translate"),ee(50,"helpPopover",9),Y(51,"translate"),M(),D(52,"div",10),ee(53,"textarea",16),M()()()(),D(54,"div",17)(55,"button",18),N(56),Y(57,"translate"),M()()()}if(2&n){const e=K();R("formGroup",e.seoContentSurveyForm),m(4),ve(" ",B(5,16,"seo_content_survey.content_survey")," "),m(4),ve("",B(9,18,"seo_content_survey.business_overview")," "),m(2),He("html",B(11,20,"seo_content_survey.helptext.business_overview")),m(6),ve("",B(17,22,"seo_content_survey.site_goals")," "),m(2),He("html",B(19,24,"seo_content_survey.helptext.site_goals")),m(6),ve("",B(25,26,"seo_content_survey.audience")," "),m(2),He("html",B(27,28,"seo_content_survey.helptext.audience")),m(6),ve("",B(33,30,"seo_content_survey.restrictions")," "),m(2),He("html",B(35,32,"seo_content_survey.helptext.restrictions")),m(6),ve("",B(41,34,"seo_content_survey.company_persona")," "),m(2),He("html",B(43,36,"seo_content_survey.helptext.company_persona")),m(6),ve("",B(49,38,"seo_content_survey.value_proposition")," "),m(2),He("html",B(51,40,"seo_content_survey.helptext.value_proposition")),m(5),R("disabled",!e.seoContentSurveyForm.dirty),m(),le(B(57,42,"shared.button_save"))}}let I3e=(()=>{class n extends Dt{constructor(e,i){super(),this.seoContentSurveyService=e,this.fb=i,this.state="out"}ngOnInit(){this.reloadForm()}reloadForm(){this.seoContentSurveyService.get().subscribe(e=>{this.state="out",this.seoContentSurvey=e,this.seoContentSurveyForm=this.fb.group({businessDescription:[this.seoContentSurvey.businessDescription],limitations:[this.seoContentSurvey.limitations],sellingPoints:[this.seoContentSurvey.sellingPoints],demographic:[this.seoContentSurvey.demographic],persona:[this.seoContentSurvey.persona],goalsTactics:[this.seoContentSurvey.goalsTactics]})})}save(e){if(e.preventDefault(),this.seoContentSurveyForm.invalid)return;const i=Object.assign({},this.seoContentSurvey);i.businessDescription=this.seoContentSurveyForm.get("businessDescription").value,i.limitations=this.seoContentSurveyForm.get("limitations").value,i.sellingPoints=this.seoContentSurveyForm.get("sellingPoints").value,i.demographic=this.seoContentSurveyForm.get("demographic").value,i.persona=this.seoContentSurveyForm.get("persona").value,i.goalsTactics=this.seoContentSurveyForm.get("goalsTactics").value,this.seoContentSurveyForm.disable(),this.seoContentSurveyService.save(i).subscribe(()=>{this.seoContentSurveyForm=void 0,this.state="in",setTimeout(()=>{this.reloadForm()},5e3)})}static#e=this.\u0275fac=function(i){return new(i||n)(W(L7),W(Lc))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-seo-content-survey"]],features:[Ue],decls:3,vars:2,consts:[["class","alert alert-success",4,"ngIf"],[3,"formGroup","submit",4,"ngIf"],[1,"alert","alert-success"],[3,"submit","formGroup"],[1,"card","card-default"],[1,"card-body"],[1,"card-title","text-primary","custom-tile-header"],[1,"form-group"],[1,"control-label","col-md-10"],["placement","auto",3,"html"],[1,"col-md-10"],["formControlName","businessDescription","maxlength","4000",1,"form-control"],["formControlName","goalsTactics","maxlength","4000",1,"form-control"],["formControlName","demographic","maxlength","4000",1,"form-control"],["formControlName","limitations","maxlength","4000",1,"form-control"],["formControlName","persona","maxlength","4000",1,"form-control"],["formControlName","sellingPoints","maxlength","4000",1,"form-control"],[1,"mt-4","float-end"],["type","submit",1,"btn","btn-lg","btn-success","w-100",3,"disabled"]],template:function(i,s){1&i&&(D(0,"div"),re(1,L3e,3,4,"div",0)(2,P3e,58,44,"form",1),M()),2&i&&(m(),R("ngIf","in"===s.state),m(),R("ngIf",s.seoContentSurveyForm))},dependencies:[Tl,Oo,Tr,oa,sO,Lo,Na,nl,wt,et],data:{animation:[pa()]}})}return n})(),A3e=(()=>{class n{constructor(e,i){this.sessionService=e,this.router=i}ngOnInit(){setTimeout(()=>{this.sessionService.isLoggingOut=!0,this.sessionService.clear(),window.location.replace("/log-in")},10)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Et),W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-logout"]],decls:0,vars:0,template:function(i,s){}})}return n})(),R3e=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-privacy-policy"]],decls:67,vars:0,consts:[[1,"card","mt-3"],[1,"card-body"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h1"),N(3,"Privacy Policy"),M(),ee(4,"hr"),D(5,"h4"),N(6,"1. Effective Date"),M(),D(7,"span"),N(8,"This privacy policy is effective as of September 2019."),M(),D(9,"h4"),N(10,"2. Scope of this Privacy Policy"),M(),D(11,"span"),N(12,"Your privacy is important to us and our Privacy Policy outlines how we protect and respect the privacy of our clients and users. This privacy policy applies to your use of MyMarketInfo\u2019s website, products/services, and/or applications. It does not apply to your use of other sites, services, or applications, and it does not apply to information we collect through other methods or sources such as sites owned or operated by our affiliates or vendors. Please be sure to review the privacy policy of any site, service, or application that you use as privacy practices often differ. By using our services, website, and website tools you agree to the collection and use of the information you provide as outlined in our Privacy Policy."),M(),D(13,"h4"),N(14,"3. Collecting Personally Identifiable Information"),M(),D(15,"span")(16,"span"),N(17,"We may collect, store, and use the following kinds of personal information:"),M(),D(18,"ul")(19,"li"),N(20,"Information you provide to us when you register with our website, products/services, and/or applications including your first name, last name, e-mail address, physical address(es), telephone number(s), company name, website URL(s), job title, years in business, product interest, marketing budget, industry, department, and number of employees."),M(),D(21,"li"),N(22,"Information you provide when you subscribe to a newsletter or other periodic report or notification that we provide, including first and last names and an email address."),M(),D(23,"li"),N(24,"Information about your visits to and use of the website, products/services, and/or applications including how you use these such as the timing, length, frequency, and pattern of use, and the pages, screens, or other displays of information looked at by the user."),M(),D(25,"li"),N(26,"Information that you provide to our Client Services Representatives for publication on the Internet, including first name, last name, e-mail address, physical address(es), telephone number(s), company name, company history, employee history or biographies, website URL(s), and/or images. MyMarketInfo uses the information you provide us in the following general ways: service provision, service improvement, contact, research and promotion."),M()()(),D(27,"h4"),N(28,"4. Email Policy"),M(),D(29,"span"),N(30,"If you provide MyMarketInfo with your email address, you may be contacted for marketing and campaign update purposes. Please be aware that a member of our client success team may manually contact you via email for administrative or informational purposes, including follow-up messages regarding business transactions between MyMarketInfo and yourself. By law, such messages are not considered to be commercial e-mail."),M(),D(31,"h4"),N(32,"5. Disclosing Personally Identifiable Information to Third Parties"),M(),D(33,"span")(34,"span"),N(35,"MyMarketInfo will not sell your email address and other personal information to any third parties. We may disclose personally identifiable information we collect from you to the following third parties, for the purposes specified:"),M(),D(36,"ul")(37,"li"),N(38,"Agents. We use a third party payment processor (when applicable). If you sign up for our products/services we will share your first name, last name, physical address and credit card information with the credit card processing agent. These agents can retain, store, and use this information only for the purpose of making the recurring monthly payments necessary to retain your products/services with MyMarketInfo as outlined in your product/services contract."),M(),D(39,"li"),N(40,"Service Providers. We use third parties to provide some online publishing services, business citation management, website hosting, customer relationship management, marketing analytics, and keyword research tools. If you sign up for our products/services, we will share information about your business and industry to the extent necessary in order for the third party to provide those services. These service providers do not retain, store, or use the information for any other purposes."),M(),D(41,"li"),N(42,"Other Third Parties. If you sign up for our products/services, we will disclose information about your business to search engines in order to provide our services. These third parties do retain, store, and use that information in various other ways. When information is shared with search engines it is then subject to their terms of use."),M(),D(43,"li"),N(44,"Other Disclosures. We may also disclose personally identifiable information we collect from you when we are required to do so by law, or when we believe that disclosure is necessary to protect our rights or to comply with a judicial proceeding, court order, or legal process served on our website, products/services, and/or applications. We store your data in a secure database provided by third-party vendors and hosting partners that is equipped with the necessary hardware, software and storage to perform the services you request. We take appropriate physical, electronic, and other security measures to help safeguard personal information from unauthorized access, alteration, or disclosure."),M()()(),D(45,"h4"),N(46,"6. Making Changes to Your Information"),M(),D(47,"span"),N(48,"MyMarketInfo\u2019s products/services, and/or applications permit you to update the personally identifiable information that we have collected from you that is specifically used within the services provided to you by MyMarketInfo. You can make updates to this information by contacting customer support. Updates can be made to your first name, last name, e-mail address, physical address(es), telephone number(s), company name, website URLs, and industry, which may be used in the services provided to you by MyMarketInfo. "),ee(49,"br"),N(50," MyMarketInfo\u2019s website does not maintain a process by which you can review and make changes to the personally identifiable information we collect from you."),M(),D(51,"h4"),N(52,"7. Changes to this Privacy Policy"),M(),D(53,"span"),N(54,"We may modify this privacy policy at any time. If we do, we will post the revised version here. You should periodically check here for the most up-to-date version of this privacy policy. Any changes to the privacy policy will not be retroactively applied and will not alter how we handle personally identifiable information we previously collected from you."),M(),D(55,"h4"),N(56,"8. Response to Do Not Track Signals"),M(),D(57,"span"),N(58,'Certain web browsers may provide an option by which you may have the browser inform websites or internet services you visit that you do not wish to have personally identifiable information about your activities tracked by cookies or other persistent identifiers across time and across third-party Internet websites, online or cloud computing services, online applications, or mobile applications. These are commonly called "do not track" signals. Our website, service, or application is unable to take action to respond to such signals but will allow you to continue without using cookies or other information gathering tools if those tools are blocked. '),ee(59,"br"),N(60," We do not allow third parties to collect personally identifiable information about a user\u2019s online activities, over time and across different sites, services, and applications, when that user uses our site, service, or application. MyMarketInfo uses cookies, tags, and other similar technologies. We use the information we collect to enhance your visit to MyMarketInfo."),ee(61,"br"),N(62," You may elect to refuse cookies. Please refer to your browser Help instructions to learn more about cookies and how you can opt out and delete these cookies."),M(),D(63,"h4"),N(64,"9. Visiting our Website from Outside the United States"),M(),D(65,"span"),N(66,"This Privacy Policy is intended to cover collection of information on our website from residents of the United States. If you are visiting our website from outside the United States, please be aware that your information may be transferred to, stored, and processed in the United States where our servers are located and our central database is operated. The data protection and other laws of the United States and other countries might not be as comprehensive as those in your country. By using our services, you understand that your information may be transferred to our facilities and those service providers with whom we share it as described in this privacy policy."),M()()())}})}return n})(),N3e=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-accessibility-statement-policy"]],decls:15,vars:0,consts:[[1,"card","mt-3"],[1,"card-body"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h1"),N(3,"Accessibility Statement"),M(),ee(4,"hr"),D(5,"span"),N(6," We are committed to providing SEO Reporting tools that are accessible to the widest possible audience, regardless of technology or ability. "),M(),ee(7,"br")(8,"br"),D(9,"span"),N(10," We are working to conform with all applicable standards, inclusive of the best practice guidelines found within the Principles of Accessible Design and Web Content Accessibility Guidelines (WCAG) 2.1. "),M(),ee(11,"br")(12,"br"),D(13,"span"),N(14," If you would like to request accessibility-related assistance, report any accessibility problems, or request any information in accessible alternative formats, please use one of the methods found within the Contact Us button. "),M()()())}})}return n})();function F3e(n,t){if(1&n){const e=tt();D(0,"input",15,0),Le("keyup",function(){ze(e);const s=Fi(1);return Ge(K().filter(s.value))}),M()}}function Y3e(n,t){1&n&&(D(0,"span",22),N(1,"GA4"),M())}function j3e(n,t){if(1&n){const e=tt();D(0,"li",16)(1,"div",17)(2,"span",18),N(3),M(),re(4,Y3e,2,0,"span",19),D(5,"button",20),Le("click",function(){const s=ze(e).$implicit;return Ge(K().select(s))}),ee(6,"i",21),N(7),Y(8,"translate"),M()()()}if(2&n){const e=t.$implicit;m(3),ir(" ",e.displayName," (property ID: ",e.profileId,")"),m(),R("ngIf",2==e.analyticsType),m(3),ve(" ",B(8,4,"content_connect_account")," ")}}function B3e(n,t){1&n&&(D(0,"div",23),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"message_no_results")," "))}let H3e=(()=>{class n extends Dt{constructor(e,i,s,r){super(),this.google=e,this.translate=i,this.router=s,this.sessionService=r,this.filteredAccounts=[]}ngOnInit(){this.google.accounts().subscribe(this.handleAccounts.bind(this))}handleAccounts(e){this.accounts=e,this.filteredAccounts=this.accounts,this.hasMultipleAccounts=this.accounts&&this.accounts.length>1}select(e){this.google.accountSelect(e).pipe(_t(()=>this.sessionService.account.pipe(pi(1)))).subscribe(i=>{i.hasGoogleAnalyticsAccess=!0,this.sessionService.setAccount(i),this.router.navigateByUrl("/user/profile")})}authorizeDifferentAccount(){this.google.connect()}filter(e){this.filteredAccounts=e?this.accounts.filter(i=>i.displayName.toLowerCase().includes(e.toLowerCase())||i.profileId.includes(e)):this.accounts}static#e=this.\u0275fac=function(i){return new(i||n)(W(UD),W(rr),W(Yn),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-analytics-select"]],features:[Ue],decls:19,vars:9,consts:[["search",""],[1,"row"],[1,"col-md-12"],[1,"card"],[1,"card-body"],[1,"col-md-7"],[1,"card-title"],[1,"input-group","mb-2"],["type","text","class","form-control","placeholder","Search",3,"keyup",4,"ngIf"],[1,"col-md-5"],[1,"btn","btn-primary","float-end",3,"click"],[1,"fa","fa-exchange-alt"],[1,"list-group"],["class","list-group-item flex-column align-items-start",4,"ngFor","ngForOf"],["class","m-4 alert alert-info",4,"ngIf"],["type","text","placeholder","Search",1,"form-control",3,"keyup"],[1,"list-group-item","flex-column","align-items-start"],[1,"d-flex"],[1,"p-2"],["class","badge badge-secondary my-auto",4,"ngIf"],[1,"btn","btn-primary","p-2","ms-auto",3,"click"],[1,"fa","fa-plug"],[1,"badge","badge-secondary","my-auto"],[1,"m-4","alert","alert-info"]],template:function(i,s){1&i&&(D(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",1)(5,"div",5)(6,"h4",6),N(7),Y(8,"translate"),M(),D(9,"div",7),re(10,F3e,2,0,"input",8),M()(),D(11,"div",9)(12,"button",10),Le("click",function(){return s.authorizeDifferentAccount()}),ee(13,"i",11),N(14),Y(15,"translate"),M()()()(),D(16,"ul",12),re(17,j3e,9,6,"li",13),M(),re(18,B3e,3,3,"div",14),M()()()),2&i&&(m(7),le(B(8,5,"google_choose_website")),m(3),R("ngIf",s.hasMultipleAccounts),m(4),ve(" ",B(15,7,"google_choose_different_account")," "),m(3),R("ngForOf",s.filteredAccounts),m(),R("ngIf",!s.filteredAccounts.length))},dependencies:[zs,wt,et]})}return n})();const z3e=[{path:"user",canActivateChild:[qs],children:[{path:"website-access",component:O3e,canActivate:[mr]},{path:"seo-content-survey",component:I3e,canActivate:[mr]},{path:"contact-us",component:l3e,canActivate:[mr]},{path:"profile",component:n3e,canActivate:[mr]},{path:"change-password",component:p3e,canActivate:[mr]},{path:"google/accounts",component:H3e}]},{path:"network",canActivateChild:[qs],children:[{path:"selection/6",component:(()=>{class n extends Dt{constructor(e,i,s){super(),this.google=e,this.translate=i,this.router=s}ngOnInit(){(function V3e(){return ct(VD.Maybe.just(window.location.href.split("?")[1]).map(t=>t.split("&")).map(t=>t.reduce((e,i)=>{const s=i.split("=");return e[s[0]]=decodeURIComponent(s[1]),e},{})).or(()=>({})))})().pipe(zl(e=>function U3e(n){const t=window.location,e=VD.Maybe.just(n.state||n.token).map(s=>s.split("#")[0]).map(s=>s.split("_")).map(s=>s[s.length-1]).or(()=>t.host);if(t.host===e)return!0;const i=Object.keys(n).map(s=>`${s}=${n[s]}`).reduce((s,r)=>`${s}&${r}`);return setTimeout(()=>{t.assign(`${t.origin.replace(t.host,e)}${t.pathname}?${i}`)},10),!1}(e)),ht(e=>e.error?null:e.code),_t(e=>e?this.google.complete(e):jh(this.translate.instant("error_connecting_account"))),qe(this.unsubscribe)).subscribe(()=>{this.router.navigateByUrl("user/google/accounts")},e=>{this.router.navigateByUrl("user/profile")})}static#e=this.\u0275fac=function(i){return new(i||n)(W(UD),W(rr),W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-exchange"]],features:[Ue],decls:0,vars:0,template:function(i,s){}})}return n})()}]},{path:"forgot-password",component:y3e,canActivate:[j0,DI,qs]},{path:"reset-password",component:C3e,canActivate:[j0,DI,qs]},{path:"log-in",component:NFe,canActivate:[j0,qs]},{path:"log-out",component:A3e,canActivate:[qs]},{path:"login",redirectTo:"log-in"},{path:"privacy-policy",component:R3e},{path:"accessibility-statement",component:N3e}];let G3e=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[q7,UD,$7,DI],imports:[Gy,$w,H0,qu,If.forChild(z3e),xg,If]})}return n})(),W3e=(()=>{class n{constructor(e,i){this.route=e,this.router=i}ngOnInit(){this.checkForParams()}checkForParams(){const e=this.route.snapshot.queryParams;Object.keys(e).length&&this.router.navigate(["accounts"],{queryParams:e})}static#e=this.\u0275fac=function(i){return new(i||n)(W(pr),W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-homepage"]],decls:20,vars:12,consts:[[1,"row"],[1,"col-8"],[1,"card","mt-4","p-4"],[1,"card-body"],[1,"card-title","text-primary","custom-tile-header"],[1,"row","my-4"],[1,"col-6"],["routerLink","/login",1,"btn","btn-primary","w-100","btn-lg","mt-5"],[1,"fa","fa-sign-in-alt","me-2"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),N(5,"Your Data Visualized"),M(),D(6,"h5"),N(7),Y(8,"translate"),M(),D(9,"div",5)(10,"div",6),N(11),Y(12,"translate"),M(),D(13,"div",6),N(14),Y(15,"translate"),D(16,"button",7),ee(17,"i",8),N(18),Y(19,"translate"),M()()()()()()()),2&i&&(m(7),le(B(8,4,"site_purpose")),m(4),ve(" ",B(12,6,"site_description_ga")," "),m(3),ve(" ",B(15,8,"site_description_campaign")," "),m(4),ve("",B(19,10,"button_log_in")," "))},dependencies:[gr,et]})}return n})();var $3e=V(45261);function q3e(n,t){1&n&&(D(0,"div")(1,"div",6),N(2),Y(3,"translate"),D(4,"div")(5,"button",7),ee(6,"span",8),N(7),Y(8,"translate"),M()()()()),2&n&&(m(2),ve("",B(3,2,"error_login_nocustomerusers")," "),m(5),ve(" ",B(8,4,"contact_us"),""))}function K3e(n,t){if(1&n){const e=tt();D(0,"tr")(1,"td"),N(2),M(),D(3,"td",13),N(4),M(),D(5,"td",14)(6,"button",15),Le("click",function(){const s=ze(e).$implicit;return Ge(K(3).select(s))}),ee(7,"span",16),N(8),Y(9,"translate"),M()()()}if(2&n){const e=t.$implicit;m(2),ve(" ",e.name," "),m(2),ve(" ",e.url," "),m(4),ve(" ",B(9,3,"button_log_in"),"")}}function X3e(n,t){if(1&n&&(D(0,"div",9)(1,"h4",10),N(2,"Select an account"),M(),D(3,"table",11),re(4,K3e,10,5,"tr",12),M()()),2&n){const e=K(2);m(4),R("ngForOf",e.accounts)}}function Z3e(n,t){if(1&n&&(D(0,"div",1)(1,"div",2)(2,"div",3),re(3,q3e,9,6,"div",4)(4,X3e,5,1,"div",5),M()()()),2&n){const e=K();m(2),R("@fadeInOut","active"),m(),R("ngIf",e.showNoAccountWarning),m(),R("ngIf",e.accounts.length)}}let J3e=(()=>{class n extends Dt{constructor(e,i,s,r){super(),this.activatedRoute=e,this.sessionService=i,this.accountService=s,this.router=r,this.defaultAccount=0,this.translationToFeatureMap=[{value:"navigation_seo",key:vi.SEO}],this.accounts=[],this.defaultPath="",this.isLoaded=!1}get showNoAccountWarning(){return 0===this.accounts.length&&this.isLoaded}ngOnInit(){this.getDefaultAccountId().pipe(_t(()=>this.list()),qe(this.unsubscribe)).subscribe(e=>{this.accounts=e})}list(){return this.accountService.list().pipe(ii(e=>{const i=(e||[]).length;if(this.sessionService.setCanSwitchAccounts(i>1),1!==i){if(this.defaultAccount){const s=e.filter(r=>r.id===this.defaultAccount);if(s.length)return void this.select(s[0])}this.isLoaded=!0}else this.select(e[0])}))}select(e){let i;return this.sessionService.isCsr.pipe(ii(s=>i=s),Gs(()=>this.accountService.account(e.id)),qe(this.unsubscribe)).subscribe(s=>{if(!s)return;if(i)for(let o=0;o<s.previousFeatures.length;o++)s.features.includes(s.previousFeatures[o])||s.features.push(s.previousFeatures[o]);this.sessionService.setAccount(s);const r=this.activatedRoute.snapshot.queryParams.path;this.defaultPath||(s.hasFeature(vi.SEO)?this.defaultPath="/seo/dashboard":s.hasFeature(vi.BusinessCitations)?this.defaultPath="/business-citations/local-listings":s.hasFeature(vi.ProfessionalBacklink)?this.defaultPath="/seo/work-history":s.features.length||(this.defaultPath="/no-products")),this.defaultPath=this.sessionService.redirectUrl?this.sessionService.redirectUrl:this.defaultPath,this.sessionService.clearRedirectUrl(),this.router.navigateByUrl(r||this.defaultPath),this.isLoaded=!0})}keysForFeatures(e){return e.map(i=>this.translationToFeatureMap.filter(s=>s.key===i).map(s=>s.value)).reduce((i,s)=>i.concat(s))}getDefaultAccountId(){const e=this.activatedRoute.snapshot.queryParams.y,i=this.activatedRoute.snapshot.queryParams.t;return i?(this.sessionService.setIsCsr(!0),this.accountService.defaultImpersonation(i).pipe(ii(s=>{this.defaultAccount=s}))):this.accountService.default(e).pipe(ii(s=>{this.defaultAccount=s}))}static#e=this.\u0275fac=function(i){return new(i||n)(W(pr),W(Et),W(yD),W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-choose-customer"]],features:[Ue],decls:1,vars:1,consts:[["class","card",4,"ngIf"],[1,"card"],[1,"card-body"],[1,"row","justify-content-md-center"],[4,"ngIf"],["class","col-md-12",4,"ngIf"],[1,"alert","alert-danger","text-center","m-4"],["routerLink","/user/contact-us",1,"m-3","btn","btn-lg","btn-danger"],[1,"fa","fa-envelope"],[1,"col-md-12"],[1,"card-title","text-primary","custom-tile-header"],[1,"table","table-striped"],[4,"ngFor","ngForOf"],[1,"d-none","d-md-table-cell"],[1,"text-center"],[1,"btn","btn-sm","btn-primary",3,"click"],[1,"fa","fa-sign-in-alt"]],template:function(i,s){1&i&&re(0,Z3e,5,3,"div",0),2&i&&R("ngIf",s.isLoaded)},dependencies:[gr,zs,wt,et],data:{animation:[pa()]}})}return n})();function Q3e(n,t){1&n&&ee(0,"app-choose-customer")}let e5e=(()=>{class n extends Dt{constructor(e,i,s,r){super(),this.route=e,this.router=i,this.sessionService=s,this.userService=r}ngOnInit(){this.isLoading=!0,this.hasFragment().pipe(_t(e=>e?this.resolveUserFromNonce():this.resolveUserFromToken()),pi(1),ii(this.validate),qe(this.unsubscribe)).subscribe(e=>{this.isLoading=!1},e=>{this.router.navigateByUrl("log-out")})}hasFragment(){return this.route.fragment.pipe(ht(e=>!!e))}resolveUserFromNonce(){return this.route.fragment.pipe(ht(e=>$3e(e).segment(-1)),_t(e=>this.userService.nonceLogin(e)))}resolveUserFromToken(){const e=this.route.snapshot.queryParams.y,i=this.route.snapshot.queryParams.t;return e||i?(setTimeout(()=>{this.sessionService.setAccount(null)},100),e?this.userService.accessTokenLogin(e):this.userService.impersonatedLogin(i)):this.sessionService.user}validate(e){if(!e)throw new Error("User not found");return e}static#e=this.\u0275fac=function(i){return new(i||n)(W(pr),W(Yn),W(Et),W(Af))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-preload"]],features:[Ue],decls:1,vars:1,consts:[[4,"ngIf"]],template:function(i,s){1&i&&re(0,Q3e,1,0,"app-choose-customer",0),2&i&&R("ngIf",!s.isLoading)},dependencies:[wt,J3e]})}return n})(),t5e=(()=>{class n{constructor(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-no-products-landing-page"]],decls:5,vars:3,consts:[[1,"row"],[1,"col-8","mt-4","p-4"],[1,"alert","alert-info","p-5"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2),N(3),Y(4,"translate"),M()()()),2&i&&(m(3),ve(" ",B(4,1,"no_products_landing_page")," "))},dependencies:[et]})}return n})(),Fm=(()=>{class n{constructor(e,i,s){this.http=e,this.sessionService=i,this.translate=s,this.baseUrl=Pi_baseUrl}getLocationBusinessCitations(){return this.sessionService.account.pipe(_t(e=>this.http.get(`${this.baseUrl}account/${e.id}/location-business-citations`)))}getLocationSyncHistory(){return this.sessionService.account.pipe(_t(e=>this.http.get(`${this.baseUrl}account/${e.id}/location-sync-history`)))}getLocationAnalytics(e,i){return this.sessionService.account.pipe(_t(s=>this.http.get(`${this.baseUrl}account/${s.id}/analytics`,{params:{periodStart:e.toISOString(),periodEnd:i.toISOString()}})))}saveLocation(e){return this.sessionService.account.pipe(_t(i=>this.http.post(`${this.baseUrl}account/${i.id}/location-save`,e)))}connectGoogleMyBusiness(e){return this.sessionService.account.pipe(_t(i=>this.http.get(`${this.baseUrl}account/${i.id}/${e}/${this.translate.currentLang}/connect-google-my-business`)))}static#e=this.\u0275fac=function(i){return new(i||n)(Ve(fs),Ve(Et),Ve(rr))};static#t=this.\u0275prov=Ie({token:n,factory:n.\u0275fac})}return n})();const n5e=n=>({days:n}),i5e=(n,t,e,i)=>({"btn-primary !important rounded-circle":n,"btn-outline-primary !important":t,faded:e,blocked:i});function s5e(n,t){if(1&n){const e=tt();D(0,"button",13),Le("click",function(){const s=ze(e).$implicit;K();const r=Fi(2);return K().setDays(s),Ge(r.navigateTo())}),N(1),Y(2,"translate"),M()}if(2&n){const e=t.$implicit,i=K(2);wn("btn-outline-primary",i.pastDaysSelected()!==e)("btn-primary",i.pastDaysSelected()===e),m(),ve(" ",On(2,5,"local_listings.stats_last_x_days",Lt(8,n5e,e))," ")}}function r5e(n,t){if(1&n){const e=tt();D(0,"div",3)(1,"ngb-datepicker",7,2),Le("dateSelect",function(s){return ze(e),Ge(K().onDateSelection(s))})("navigate",function(s){return ze(e),Ge(K().currentMonth.set(s.next.month))}),M(),D(3,"div",8)(4,"div",9),Co(5,s5e,3,10,"button",10,wo),M(),D(7,"div",3)(8,"button",11),Le("click",function(){return ze(e),Ge(K().clear())}),ee(9,"i",6),M(),D(10,"button",12),Le("click",function(){return ze(e),Ge(K().save())}),N(11),Y(12,"translate"),M()()()()}if(2&n){const e=K(),i=Fi(8);m(),R("dayTemplate",i)("minDate",e.minDate())("maxDate",e.maxDate()),m(4),Mo(e.pastDaysSelection()),m(5),R("disabled",e.startDate()&&!e.endDate()),m(),le(B(12,5,"shared.button_save"))}}function o5e(n,t){if(1&n){const e=tt();D(0,"span",14),Le("mouseenter",function(){const s=ze(e).$implicit;return Ge(K().hoveredDate=s)})("mouseleave",function(){return ze(e),Ge(K().hoveredDate=null)}),N(1),M()}if(2&n){const e=t.$implicit,i=K();R("ngClass",Ab(2,i5e,i.isRange(e),i.isHovered(e)||i.isInside(e),e.month!==i.currentMonth(),i.cannotSelect(e))),m(),ve(" ",e.day," ")}}let a5e=(()=>{class n extends Dt{constructor(e){super(),this.calendar=e,this.minDate=gh(this.calendar.getNext(this.calendar.getToday(),"y",-10),{transform:i=>i?new ts(i.getFullYear(),i.getMonth()+1,i.getDate()):this.minDate()}),this.maxDate=gh(this.calendar.getNext(this.calendar.getToday(),"y",10),{transform:i=>i?new ts(i.getFullYear(),i.getMonth()+1,i.getDate()):this.maxDate()}),this.defaultSelectedDays=gh(),this.pastDaysSelection=gh([]),this.rangeSelected=iR(),this.rangeCleared=iR(),this.pastDaysSelected=Yu(null),this.startDate=Yu(this.calendar.getToday()),this.endDate=Yu(this.calendar.getToday()),this.currentMonth=Yu(this.calendar.getToday().month),this.hoveredDate=null,this.displayDateRange=Th(()=>this.startDate()?this.endDate()?`${ti(this.toDate(this.startDate())).format("L")} - ${ti(this.toDate(this.endDate())).format("L")}`:ti(this.toDate(this.startDate())).format("L"):""),this.today=this.calendar.getToday()}ngOnInit(){this.defaultSelectedDays()&&this.setDays(this.defaultSelectedDays())}onDateSelection(e){this.startDate()||this.endDate()?this.startDate()&&!this.endDate()?e.after(this.startDate())?this.endDate.set(e):(this.endDate.set(this.startDate()),this.startDate.set(e)):(this.startDate.set(e),this.endDate.set(null)):this.startDate.set(e),this.pastDaysSelected.set(null)}isHovered(e){return this.startDate()&&!this.endDate()&&this.hoveredDate&&(e.after(this.startDate())&&e.before(this.hoveredDate)||e.before(this.startDate())&&e.after(this.hoveredDate))||e.equals(this.hoveredDate)}clear(){this.startDate.set(null),this.endDate.set(null),this.pastDaysSelected.set(null)}save(){if(!this.startDate())return this.savePreviousState(),void this.rangeCleared.emit();this.savePreviousState(),this.rangeSelected.emit([new Date(this.startDate().year,this.startDate().month-1,this.startDate().day),new Date(this.endDate().year,this.endDate().month-1,this.endDate().day)])}clearAndSave(){this.clear(),this.save()}savePreviousState(){this.previousStartDate=this.startDate(),this.previousEndDate=this.endDate(),this.previousPastDaysSelected=this.pastDaysSelected()}revertToPreviousState(){this.startDate.set(this.previousStartDate),this.endDate.set(this.previousEndDate),this.pastDaysSelected.set(this.previousPastDaysSelected)}isInside(e){return this.endDate()&&e.after(this.startDate())&&e.before(this.endDate())}isRange(e){return e.equals(this.startDate())||this.endDate()&&e.equals(this.endDate())||e.equals(this.hoveredDate)}cannotSelect(e){return this.minDate().after(e)||this.maxDate().before(e)}setDays(e){this.pastDaysSelected.set(e),this.endDate.set(this.today.before(this.maxDate())?this.today:this.maxDate()),this.startDate.set(this.calendar.getNext(this.today,"d",-e))}toDate(e){return new Date(e.year,e.month-1,e.day)}static#e=this.\u0275fac=function(i){return new(i||n)(W(nv))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-date-range-selector"]],inputs:{minDate:[bn.SignalBased,"minDate"],maxDate:[bn.SignalBased,"maxDate"],defaultSelectedDays:[bn.SignalBased,"defaultSelectedDays"],pastDaysSelection:[bn.SignalBased,"pastDaysSelection"]},outputs:{rangeSelected:"rangeSelected",rangeCleared:"rangeCleared"},features:[Ue],decls:9,vars:2,consts:[["dateRangeSelector",""],["t",""],["dp",""],[1,"d-flex","justify-content-between","gap-2"],["placement","bottom-left","autoClose","outside",1,"form-select",3,"shown","hidden","ngbPopover"],[1,"btn","btn-outline-primary",3,"click"],[1,"fa","fa-times"],[1,"text-secondary","!important",3,"dateSelect","navigate","dayTemplate","minDate","maxDate"],[1,"d-flex","flex-column","justify-content-end","gap-2"],[1,"d-flex","flex-column","gap-2"],[1,"btn",3,"btn-outline-primary","btn-primary"],[1,"btn","btn-outline-primary","flex-fill",3,"click"],[1,"btn","btn-primary","flex-fill",3,"click","disabled"],[1,"btn",3,"click"],[1,"custom-day","align-middle","p-1",3,"mouseenter","mouseleave","ngClass"]],template:function(i,s){if(1&i){const r=tt();D(0,"div",3)(1,"button",4),Le("shown",function(){return ze(r),Ge(s.savePreviousState())})("hidden",function(){return ze(r),Ge(s.revertToPreviousState())}),N(2),M(),D(3,"button",5),Le("click",function(){return ze(r),Ge(s.clearAndSave())}),ee(4,"i",6),M()(),re(5,r5e,13,7,"ng-template",null,0,hs)(7,o5e,2,7,"ng-template",null,1,hs)}if(2&i){const r=Fi(6);m(),R("ngbPopover",r),m(),le(s.displayDateRange())}},dependencies:[xr,iC,NO,et],styles:[".popover{max-width:100%}  .popover .popover-arrow{display:none}.custom-day[_ngcontent-%COMP%]{display:block;text-align:center;width:2rem}.faded[_ngcontent-%COMP%]{opacity:.33!important}.blocked[_ngcontent-%COMP%]{opacity:.66}  .ngb-dp-weekday{color:inherit!important}  .form-select{color:inherit!important}"]})}return n})();const Ff=n=>({"is-invalid":n});function l5e(n,t){if(1&n&&(D(0,"option",26),N(1),M()),2&n){const e=t.$implicit;He("value",e.id),m(),le(e.abbreviation)}}function c5e(n,t){1&n&&(ee(0,"span",29),Y(1,"translate")),2&n&&R("innerHTML",B(1,1,"local_listings.location_contact_us"),mh)}function u5e(n,t){1&n&&(D(0,"span"),N(1,"\xa0"),M())}function d5e(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"local_listings.location_edit_message")))}function h5e(n,t){if(1&n&&(D(0,"div",5)(1,"div",27),re(2,c5e,2,3,"span",28)(3,u5e,2,0,"span",24)(4,d5e,3,3,"span",24),M()()),2&n){const e=K();m(2),R("hideKey","Header-ContactUs"),m(),R("ngIf",e.showContactUs),m(),R("ngIf",e.isEditMode)}}function f5e(n,t){if(1&n){const e=tt();mn(0),D(1,"button",30),N(2),Y(3,"translate"),M(),D(4,"button",31),Le("click",function(){return ze(e),Ge(K().toggleEditMode(!1))}),N(5),Y(6,"translate"),M(),_n()}2&n&&(m(2),le(B(3,2,"shared.button_save")),m(3),le(B(6,4,"shared.button_cancel")))}function p5e(n,t){if(1&n){const e=tt();mn(0),D(1,"button",32),Le("click",function(){return ze(e),Ge(K().toggleEditMode(!0))}),N(2),Y(3,"translate"),M(),_n()}2&n&&(m(2),le(B(3,1,"local_listings.location_edit")))}function g5e(n,t){1&n&&(D(0,"div",33),N(1),Y(2,"translate"),M()),2&n&&(R("@fadeInOut",K().state),m(),le(B(2,2,"local_listings.location_success")))}var Ym=function(n){return n[n.US=1]="US",n[n.CA=40]="CA",n[n.MX=141]="MX",n[n.FR=76]="FR",n[n.HU=101]="HU",n}(Ym||{});let m5e=(()=>{class n extends Dt{set location(e){this._location=e,this.isEditMode=!1,this.setupForm()}constructor(e,i,s,r){super(),this.formBuilder=e,this.locationService=i,this.translatePipe=s,this.sessionService=r,this.isEditMode=!1,this.state="out",this.showContactUs=!1}ngOnInit(){this.sessionService.siteConfig.pipe(qe(this.unsubscribe)).subscribe(e=>{if(this.siteConfig=e,this.siteConfig&&this.siteConfig.hiddenContent){const i="HEADER-CONTACTUS";this.showContactUs=!this.siteConfig.hiddenContent.some(s=>s.toUpperCase()===i)}})}toggleEditMode(e){this.isEditMode=e,this.isEditMode?this.editLocationForm.enable():this.setupForm()}stateChanged(e){this._editLocation.state=e.selectedOptions[0].innerText}save(e){e.preventDefault(),this.editLocationForm.get("phone").markAsDirty(),this.editLocationForm.get("website").markAsDirty(),this.editLocationForm.get("address").markAsDirty(),this.editLocationForm.get("address2").markAsDirty(),this.editLocationForm.get("city").markAsDirty(),this.editLocationForm.get("stateId").markAsDirty(),this.editLocationForm.get("zip").markAsDirty(),this.editLocationForm.get("phone").updateValueAndValidity(),this.editLocationForm.get("website").updateValueAndValidity(),this.editLocationForm.get("address").updateValueAndValidity(),this.editLocationForm.get("address2").updateValueAndValidity(),this.editLocationForm.get("city").updateValueAndValidity(),this.editLocationForm.get("stateId").updateValueAndValidity(),this.editLocationForm.get("zip").updateValueAndValidity(),!this.editLocationForm.invalid&&(this._editLocation.phone=this.editLocationForm.controls.phone.value,this._editLocation.website=this.editLocationForm.controls.website.value,this._editLocation.address=this.editLocationForm.controls.address.value,this._editLocation.address2=this.editLocationForm.controls.address2.value,this._editLocation.city=this.editLocationForm.controls.city.value,this._editLocation.stateId=this.editLocationForm.controls.stateId.value,this._editLocation.zip=this.editLocationForm.controls.zip.value,this.locationService.saveLocation(this._editLocation).subscribe(()=>{this._location.phone=this._editLocation.phone,this._location.website=this._editLocation.website,this._location.address=this._editLocation.address,this._location.address2=this._editLocation.address2,this._location.city=this._editLocation.city,this._location.state=this._editLocation.state,this._location.stateId=this._editLocation.stateId,this._location.zip=this._editLocation.zip,this._location.displayName=`${this._location.city.toUpperCase()}, ${this._location.state}`,this.toggleEditMode(!1),this.state="in",setTimeout(()=>{this.state="out"},5e3)}))}addressLine2Exists(){return null!==this._location.address2&&""!==this._location.address2}setupForm(){this._editLocation=Object.assign({},this._location);const i=this.getPostalCodePattern(this._location.countryId);this.editLocationForm=this.formBuilder.group({phone:[this._editLocation.phone,[Sn.required,Sn.minLength(10),Sn.maxLength(20)]],website:[this._editLocation.website,[Sn.maxLength(350)]],address:[this._editLocation.address,[Sn.required,Sn.maxLength(255),Sn.pattern(/^((?!(P\.?\s?O\.?\sBox)).)*$/i)]],address2:[this._editLocation.address2,[Sn.maxLength(255)]],city:[this._editLocation.city,[Sn.required,Sn.maxLength(255)]],stateId:[this._editLocation.stateId,[Sn.required]],zip:[this._editLocation.zip,[Sn.required,Sn.maxLength(10),Sn.pattern(i)]]}),this.editLocationForm.disable()}getPostalCodePattern(e){let i=/^\d{5}(?:[-\s]\d{4})?$/,s=/^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1}[\s]{1}\d{1}[A-Z]{1}\d{1}$/i,r=/\d{4}/,o=/\d{5}/,a=/(.*?)/;switch(e){case Ym.US:return i;case Ym.CA:return s;case Ym.MX:return i;case Ym.FR:return o;case Ym.HU:return r;default:return a}}static#e=this.\u0275fac=function(i){return new(i||n)(W(Lc),W(Fm),W(et),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-location-card"]],inputs:{states:"states",location:"location"},features:[kt([et]),Ue],decls:74,vars:84,consts:[[1,"card",2,"word-wrap","no-wrap"],[1,"card-body"],["novalidate","",3,"submit","formGroup"],[1,"row"],[1,"col-md-6"],[1,"col-12"],["for","inputLocationAddress",1,"form-label"],["id","inputLocationAddress","required","","autocomplete","off","formControlName","address",1,"form-control",3,"placeholder","ngClass"],[1,"invalid-feedback"],["id","inputLocationAddress","autocomplete","off","formControlName","address2",1,"form-control",3,"placeholder","ngClass"],["for","inputLocationCity",1,"form-label"],["id","inputLocationCity","required","","autocomplete","off","formControlName","city",1,"form-control",3,"placeholder","ngClass"],["for","inputLocationState",1,"form-label"],["id","selectLocationState","formControlName","stateId",1,"form-select","pt-1","pb-1",3,"change","ngClass"],[3,"value",4,"ngFor","ngForOf"],["for","inputLocationZip",1,"form-label"],["id","inputLocationZip","required","","autocomplete","off","formControlName","zip",1,"form-control",3,"placeholder","ngClass"],["for","inputLocationPhone",1,"form-label"],["id","inputLocationPhone","required","","autocomplete","off","formControlName","phone",1,"form-control",3,"placeholder","ngClass"],["for","inputLocationWebsite",1,"form-label"],["id","inputLocationWebsite","autocomplete","off","formControlName","website",1,"form-control",3,"placeholder","ngClass"],["class","col-12",4,"ngIf"],[1,"row","mt-2"],[1,"col-12","text-end"],[4,"ngIf"],["class","alert alert-success",4,"ngIf"],[3,"value"],[1,"alert","alert-warning","mt-3"],[3,"innerHTML",4,"hideKey"],[3,"innerHTML"],["type","submit",1,"btn","btn-success","me-2"],[1,"btn","btn-danger",3,"click"],[1,"btn","btn-outline-primary",3,"click"],[1,"alert","alert-success"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div")(3,"form",2),Le("submit",function(o){return s.save(o)}),D(4,"div",3)(5,"div",4)(6,"div",3)(7,"div",5)(8,"label",6),N(9),Y(10,"translate"),M(),ee(11,"input",7),Y(12,"translate"),D(13,"div",8),N(14),Y(15,"translate"),M(),ee(16,"input",9),Y(17,"translate"),D(18,"div",8),N(19),Y(20,"translate"),M()(),D(21,"div",5)(22,"label",10),N(23),Y(24,"translate"),M(),ee(25,"input",11),Y(26,"translate"),D(27,"div",8),N(28),Y(29,"translate"),M()(),D(30,"div",5)(31,"label",12),N(32),Y(33,"translate"),M(),D(34,"select",13),Le("change",function(o){return s.stateChanged(o.target)}),re(35,l5e,2,2,"option",14),M(),D(36,"div",8),N(37),Y(38,"translate"),M()(),D(39,"div",5)(40,"label",15),N(41),Y(42,"translate"),M(),ee(43,"input",16),Y(44,"translate"),D(45,"div",8),N(46),Y(47,"translate"),M()()()(),D(48,"div",4)(49,"div",3)(50,"div",5)(51,"label",17),N(52),Y(53,"translate"),M(),ee(54,"input",18),Y(55,"translate"),D(56,"div",8),N(57),Y(58,"translate"),M()(),D(59,"div",5)(60,"label",19),N(61),Y(62,"translate"),M(),ee(63,"input",20),Y(64,"translate"),D(65,"div",8),N(66),Y(67,"translate"),M()(),re(68,h5e,5,3,"div",21),M()()(),D(69,"div",22)(70,"div",23),re(71,f5e,7,6,"ng-container",24)(72,p5e,4,3,"ng-container",24),M()()()()()(),re(73,g5e,3,4,"div",25)),2&i&&(m(3),R("formGroup",s.editLocationForm),m(6),le(B(10,32,"local_listings.location_edit_address")),m(2),He("placeholder",B(12,34,"local_listings.location_edit_address")),R("ngClass",Lt(70,Ff,s.editLocationForm.controls.address.dirty&&s.editLocationForm.controls.address.invalid)),m(3),le(B(15,36,"local_listings.location_edit_address_error")),m(2),He("placeholder",B(17,38,"local_listings.location_edit_address2")),R("ngClass",Lt(72,Ff,s.editLocationForm.controls.address2.dirty&&s.editLocationForm.controls.address2.invalid)),m(3),le(B(20,40,"local_listings.location_edit_address_error")),m(4),le(B(24,42,"local_listings.location_edit_city")),m(2),He("placeholder",B(26,44,"local_listings.location_edit_city")),R("ngClass",Lt(74,Ff,s.editLocationForm.controls.city.dirty&&s.editLocationForm.controls.city.invalid)),m(3),le(B(29,46,"local_listings.location_edit_city_error")),m(4),le(B(33,48,"local_listings.location_edit_state")),m(2),R("ngClass",Lt(76,Ff,s.editLocationForm.controls.stateId.dirty&&s.editLocationForm.controls.stateId.invalid)),m(),R("ngForOf",s.states),m(2),le(B(38,50,"local_listings.location_edit_state_error")),m(4),le(B(42,52,"local_listings.location_edit_zip")),m(2),He("placeholder",B(44,54,"local_listings.location_edit_zip")),R("ngClass",Lt(78,Ff,s.editLocationForm.controls.zip.dirty&&s.editLocationForm.controls.zip.invalid)),m(3),le(B(47,56,"local_listings.location_edit_zip_error")),m(6),le(B(53,58,"local_listings.location_edit_phone")),m(2),He("placeholder",B(55,60,"local_listings.location_edit_phone")),R("ngClass",Lt(80,Ff,s.editLocationForm.controls.phone.dirty&&s.editLocationForm.controls.phone.invalid)),m(3),le(B(58,62,"local_listings.location_edit_phone_error")),m(4),le(B(62,64,"local_listings.location_edit_website")),m(2),He("placeholder",B(64,66,"local_listings.location_edit_website")),R("ngClass",Lt(82,Ff,s.editLocationForm.controls.website.dirty&&s.editLocationForm.controls.website.invalid)),m(3),le(B(67,68,"local_listings.location_edit_website_error")),m(2),R("ngIf",s.showContactUs||s.isEditMode),m(3),R("ngIf",s.isEditMode),m(),R("ngIf",!s.isEditMode),m(),R("ngIf","in"===s.state))},dependencies:[xr,zs,wt,Tl,pg,gg,Oo,id,Tr,oa,Oc,Lo,Na,es,et],styles:[".col-12[_ngcontent-%COMP%]{margin-top:16px}"],data:{animation:[pa()]}})}return n})();function _5e(n,t){1&n&&ee(0,"aol-interaction-dragpan")}let y5e=(()=>{class n extends Dt{constructor(){super(),this.scrollEvents=new Gt(null),this.zoom=17}ngOnInit(){this.scrollEvents.pipe(qe(this.unsubscribe),D7(200)).subscribe(e=>{!e||!e.length||e.length<2||e[0].view.window.scrollBy(0,e[0].touches[0].pageY-e[e.length-1].touches[0].pageY)})}increaseZoom(){this.zoom=Math.min(this.zoom+1,18)}decreaseZoom(){this.zoom=Math.max(this.zoom-1,1)}touchMove(e){this.scrollEvents.next(e)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-location-map"]],inputs:{location:"location",allowPan:"allowPan"},features:[Ue],decls:27,vars:16,consts:[[3,"touchmove","width","height"],[4,"ngIf"],[3,"zoom"],[3,"x","y","srid"],[3,"src","scale","anchorOrigin"],[1,"overlay","d-flex","flex-row","ol-unselectable","ol-control"],[1,"btn-overlay","zoom","btn","btn-secondary","btn-sm","me-2",3,"click"],[1,"fa","fa-search-plus"],[1,"btn-overlay","zoom","btn","btn-secondary","btn-sm",3,"click"],[1,"fa","fa-search-minus"],[1,"ms-auto","align-self-end"],[1,"copyright"],["href","http://www.openstreetmap.org/copyright"]],template:function(i,s){1&i&&(D(0,"aol-map",0),Le("touchmove",function(o){return s.touchMove(o)}),ee(1,"aol-interaction-doubleclickzoom"),re(2,_5e,1,0,"aol-interaction-dragpan",1),ee(3,"aol-interaction-pinchzoom"),D(4,"aol-view",2),ee(5,"aol-coordinate",3),M(),D(6,"aol-layer-tile"),ee(7,"aol-source-osm"),M(),D(8,"aol-layer-vector")(9,"aol-source-vector")(10,"aol-feature")(11,"aol-geometry-point"),ee(12,"aol-coordinate",3),M(),D(13,"aol-style"),ee(14,"aol-style-icon",4),M()()()()(),D(15,"div",5)(16,"button",6),Le("click",function(){return s.increaseZoom()}),ee(17,"i",7),M(),D(18,"button",8),Le("click",function(){return s.decreaseZoom()}),ee(19,"i",9),M(),D(20,"div",10)(21,"span",11),N(22,"\xa9 "),D(23,"a",12),N(24,"OpenStreetMap"),M(),N(25),Y(26,"translate"),M()()()),2&i&&(R("width","100%")("height","100%"),m(2),R("ngIf",s.allowPan),m(2),R("zoom",s.zoom),m(),R("x",s.location.longitude)("y",s.location.latitude)("srid","EPSG:4326"),m(7),R("x",s.location.longitude)("y",s.location.latitude)("srid","EPSG:4326"),m(2),R("src","/assets/map-marker.png")("scale",.5)("anchorOrigin","top-left"),m(11),ve(" ",B(26,14,"local_listings.contributors"),""))},dependencies:[wt,Xt,YP,iu,Mm,s$,gD,el,BP,f$,Of,p$,g$,m$,_$,et],styles:[".copyright[_ngcontent-%COMP%]{background-color:#fff;opacity:.75;font-size:8pt;padding:5px}.zoom[_ngcontent-%COMP%]{width:50px}.overlay[_ngcontent-%COMP%]{position:relative!important;margin-top:-45px;padding:5px}.btn-overlay[_ngcontent-%COMP%]{box-shadow:5px 5px 5px #0003}"]})}return n})();var jm=function(n){return n[n.SearchAndDiscovery=1]="SearchAndDiscovery",n[n.VoiceSearch=2]="VoiceSearch",n[n.SocialAndReputation=3]="SocialAndReputation",n[n.NavigationServices=4]="NavigationServices",n[n.BusinessDirectories=5]="BusinessDirectories",n[n.Unknown=6]="Unknown",n}(jm||{}),Hd=function(n){return n[n.Synced=1]="Synced",n[n.Submitted=2]="Submitted",n[n.Updating=3]="Updating",n[n.ActionRequired=4]="ActionRequired",n[n.Linked=5]="Linked",n[n.Unknown=6]="Unknown",n}(Hd||{});function v5e(n,t){if(1&n&&(D(0,"div",8)(1,"div",9)(2,"h2"),N(3),M(),D(4,"h5"),N(5),Y(6,"translate"),M()(),D(7,"div",10)(8,"h2"),N(9),M(),D(10,"div",11),ee(11,"i",12),D(12,"h5"),N(13),Y(14,"translate"),M()()(),D(15,"div",10)(16,"h2"),N(17),M(),D(18,"div",11),ee(19,"i",12),D(20,"h5"),N(21),Y(22,"translate"),M()()(),D(23,"div",10)(24,"h2"),N(25),M(),D(26,"div",11),ee(27,"i",13),D(28,"h5"),N(29),Y(30,"translate"),M()()()()),2&n){const e=K();m(),R("ngbPopover",e.totalListingsTooltip),m(2),le(e.totalCitationCount),m(2),le(B(6,12,"local_listings.status_total")),m(2),R("ngbPopover",e.syncStatusTooltip),m(2),le(e.locationBusinessCitation.synced),m(4),le(B(14,14,"local_listings.status_synced")),m(2),R("ngbPopover",e.submittedStatusTooltip),m(2),le(e.locationBusinessCitation.submitted),m(4),le(B(22,16,"local_listings.status_submitted")),m(2),R("ngbPopover",e.updatingStatusTooltip),m(2),le(e.locationBusinessCitation.updating),m(4),le(B(30,18,"local_listings.status_updating"))}}function b5e(n,t){1&n&&(N(0),Y(1,"translate")),2&n&&le(B(1,1,"local_listings.tooltip_google_my_business_not_synced"))}function w5e(n,t){if(1&n&&ee(0,"img",23),2&n){const e=K(3).$implicit;Zp("src","",K(2).assetPath,"",e.publisherId.toLowerCase(),"-error.png",qn),He("alt",e.publisherId)}}function C5e(n,t){if(1&n&&(mn(0),re(1,b5e,2,3,"ng-template",null,1,hs),D(3,"div",22),re(4,w5e,1,4,"img",20),M(),_n()),2&n){const e=Fi(2),i=K(2).$implicit;m(3),R("ngbPopover",e),m(),R("ngIf",!i.url)}}function M5e(n,t){if(1&n&&(D(0,"a",24),ee(1,"img",25),M()),2&n){const e=K(2).$implicit,i=K(2);He("href",e.url,qn),m(),Zp("src","",i.assetPath,"",e.publisherId.toLowerCase(),".png",qn),He("alt",e.publisherId)}}function D5e(n,t){if(1&n&&ee(0,"img",23),2&n){const e=K(2).$implicit;Zp("src","",K(2).assetPath,"",e.publisherId.toLowerCase(),".png",qn),He("alt",e.publisherId)}}function x5e(n,t){1&n&&(D(0,"div"),N(1),Y(2,"translate"),M()),2&n&&(m(),ve("",B(2,1,"local_listings.directory_link_available")," "))}function S5e(n,t){1&n&&(D(0,"div"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"local_listings.directory_link_unavailable")))}function T5e(n,t){if(1&n&&(D(0,"strong"),N(1),M(),D(2,"div")(3,"div"),N(4),M(),D(5,"div"),N(6),M(),re(7,x5e,3,3,"div",16)(8,S5e,3,3,"div",16),M()),2&n){const e=K(2).$implicit;m(),le(e.directoryName),m(3),le(e.directoryTypeString),m(2),le(e.statusString),m(),R("ngIf",e.url),m(),R("ngIf",!e.url)}}function E5e(n,t){if(1&n&&(mn(0),D(1,"div",17),re(2,C5e,5,2,"ng-container",16),D(3,"div",18),re(4,M5e,2,5,"a",19)(5,D5e,1,4,"img",20),M(),re(6,T5e,9,5,"ng-template",21,0,hs),M(),_n()),2&n){const e=Fi(7),i=K().$implicit,s=K(2);m(2),R("ngIf",i.status!==s.BusinessCitationStatuses.Synced&&i.isGoogleMyBusiness),m(),R("ngbPopover",e),m(),R("ngIf",i.url),m(),R("ngIf",!i.url)}}function k5e(n,t){if(1&n&&(mn(0),re(1,E5e,8,4,"ng-container",16),_n()),2&n){const e=t.$implicit;m(),R("ngIf",e.isVisible)}}function O5e(n,t){if(1&n&&(D(0,"div",14),re(1,k5e,2,1,"ng-container",15),M()),2&n){const e=K();m(),R("ngForOf",e.locationBusinessCitation.businessCitations)}}let L5e=(()=>{class n extends Dt{constructor(e){super(),this.translatePipe=e,this.BusinessCitationStatuses=Hd,this.totalListingsTooltip=this.translatePipe.transform("local_listings.status_total_tooltip"),this.syncStatusTooltip=this.translatePipe.transform("local_listings.status_synced_tooltip"),this.submittedStatusTooltip=this.translatePipe.transform("local_listings.status_submitted_tooltip"),this.updatingStatusTooltip=this.translatePipe.transform("local_listings.status_updating_tooltip"),this.directoryTypeTranslationKeys={},this.statusTranslationKeys={}}ngOnChanges(){this.assetPath=`assets/publisher-icons/${this.locationBusinessCitation.location.businessCitationProviderId}/`,this.totalCitationCount=this.locationBusinessCitation?.businessCitations.length,0===Object.keys(this.directoryTypeTranslationKeys).length&&(this.directoryTypeTranslationKeys={[jm.SearchAndDiscovery]:this.translatePipe.transform("local_listings.directory_type_search_discovery"),[jm.SocialAndReputation]:this.translatePipe.transform("local_listings.directory_type_social_reputation"),[jm.NavigationServices]:this.translatePipe.transform("local_listings.directory_type_navigation_services"),[jm.VoiceSearch]:this.translatePipe.transform("local_listings.directory_type_voice_search"),[jm.BusinessDirectories]:this.translatePipe.transform("local_listings.directory_type_business_directories")}),0===Object.keys(this.statusTranslationKeys).length&&(this.statusTranslationKeys={[Hd.Synced]:this.translatePipe.transform("local_listings.status_synced"),[Hd.Submitted]:this.translatePipe.transform("local_listings.status_submitted"),[Hd.Updating]:this.translatePipe.transform("local_listings.status_updating")}),this.locationBusinessCitation.businessCitations.forEach(e=>{e.directoryTypeString=this.directoryTypeTranslationKeys[e.directoryType],e.statusString=this.statusTranslationKeys[e.status]})}static#e=this.\u0275fac=function(i){return new(i||n)(W(et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-location-business-citations"]],inputs:{locationBusinessCitation:"locationBusinessCitation"},features:[Ue,Ut],decls:10,vars:9,consts:[["popover",""],["googleMyBusinessPopContent",""],[1,"card","mt-4"],[1,"card-body"],[1,"text-success"],["placement","auto",2,"margin-top","4px",3,"html"],["class","flex-container text-center",4,"hideKey"],["class","p-1 d-flex flex-wrap justify-content-around",4,"hideKey"],[1,"flex-container","text-center"],["placement","bottom","triggers","mouseenter:mouseleave",1,"flex-box",2,"border-right","1px solid #aaa",3,"ngbPopover"],["placement","bottom","triggers","mouseenter:mouseleave",1,"flex-box",3,"ngbPopover"],[1,"flex-icon-title"],[1,"fa","fa-check-circle","text-success",2,"margin","0px 5px 7px 0px"],[1,"fa","fa-history","text-success",2,"margin","0px 5px 7px 0px"],[1,"p-1","d-flex","flex-wrap","justify-content-around"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-1"],["placement","right left auto","triggers","mouseenter:mouseleave",1,"text-center","p-1",3,"ngbPopover"],["target","_blank",3,"href",4,"ngIf"],["class","providerIcon",3,"src","alt",4,"ngIf"],[2,"display","inline"],["placement","right","container","body","triggers","mouseenter:mouseleave",1,"text-center","p-1",3,"ngbPopover"],[1,"providerIcon",3,"src","alt"],["target","_blank",3,"href"],[1,"providerIcon","hoverableProviderIcon",3,"src","alt"]],template:function(i,s){1&i&&(D(0,"div",2)(1,"div",3)(2,"h4",4),N(3),Y(4,"translate"),D(5,"small"),ee(6,"helpPopover",5),Y(7,"translate"),M()(),re(8,v5e,31,20,"div",6)(9,O5e,2,1,"div",7),M()()),2&i&&(m(3),ir("",B(4,5,"local_listings.title_business_citations_for")," ",s.locationBusinessCitation.location.displayName," "),m(3),He("html",B(7,7,"local_listings.status_tooltip")),m(2),R("hideKey","BusinessCitations-LocationBusinessCitationsStats"),m(),R("hideKey","BusinessCitations-LocationBusinessCitationsIcons"))},dependencies:[zs,wt,NO,nl,es,et],styles:[".flex-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.flex-box[_ngcontent-%COMP%]{flex:1;min-width:200px;padding:5px}.flex-icon-title[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center}.providerIcon[_ngcontent-%COMP%]{width:100px;border-radius:50%!important}.hoverableProviderIcon[_ngcontent-%COMP%]{transition:all .3s ease-in-out}.hoverableProviderIcon[_ngcontent-%COMP%]:after{z-index:-1;width:100%;height:100%;opacity:0;transition:opacity .3s ease-in-out}.hoverableProviderIcon[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.hoverableProviderIcon[_ngcontent-%COMP%]:hover:after{opacity:1}"]})}return n})();function P5e(n,t){}function I5e(n,t){1&n&&re(0,P5e,0,0,"ng-template")}function A5e(n,t){if(1&n){const e=tt();D(0,"div"),re(1,I5e,1,0,null,4),D(2,"h4"),N(3),Y(4,"translate"),M(),D(5,"h4")(6,"a",5),Le("click",function(){return ze(e),Ge(K(2).refresh())}),M()(),D(7,"h5"),N(8),Y(9,"translate"),M()()}if(2&n){K(2);const e=Fi(2);m(),R("ngTemplateOutlet",e),m(2),le(B(4,3,"local_listings.google_business_profile_processing")),m(5),le(B(9,5,"local_listings.google_business_profile_processing_contact"))}}function R5e(n,t){}function N5e(n,t){1&n&&re(0,R5e,0,0,"ng-template")}function F5e(n,t){if(1&n){const e=tt();D(0,"div"),re(1,N5e,1,0,null,4),D(2,"h4"),N(3),Y(4,"translate"),M(),D(5,"h4")(6,"a",5),Le("click",function(){return ze(e),Ge(K(2).refresh())}),M()()()}if(2&n){K(2);const e=Fi(2);m(),R("ngTemplateOutlet",e),m(2),le(B(4,2,"local_listings.google_business_profile_connect_for_insights"))}}function Y5e(n,t){1&n&&(D(0,"div")(1,"h4"),N(2),Y(3,"translate"),M(),D(4,"h5"),N(5),Y(6,"translate"),M()()),2&n&&(m(2),le(B(3,2,"local_listings.no_chart_data_provided")),m(3),le(B(6,4,"local_listings.google_business_profile_processing_contact")))}function j5e(n,t){if(1&n&&(D(0,"div",2),re(1,A5e,10,7,"div",3)(2,F5e,7,4,"div",3)(3,Y5e,7,6,"div",3),M()),2&n){const e=K();m(),R("ngIf",e.googleConnectionProcessing()),m(),R("ngIf",e.noGoogleConnection()),m(),R("ngIf",e.noDataProvided())}}function B5e(n,t){if(1&n){const e=tt();D(0,"button",6),Le("click",function(){return ze(e),Ge(K().connectGoogleBusiness())}),D(1,"span",7),ee(2,"img",8),N(3),Y(4,"translate"),M()()}2&n&&(m(2),R("src","/assets/google-g.png",qn),m(),ve("",B(4,2,"content_connect_account")," "))}let Z7=(()=>{class n extends Dt{constructor(e){super(),this.locationService=e,this.googleMyBusinessStatus=gh(),this.hasChartData=gh(),this.locationId=gh(),this.googleConnectionProcessing=Th(()=>this.googleMyBusinessStatus()===Hd.Updating&&!this.hasChartData()),this.noGoogleConnection=Th(()=>this.googleMyBusinessStatus()===Hd.Unknown),this.noDataProvided=Th(()=>this.googleMyBusinessStatus()===Hd.Synced&&!this.hasChartData()),this.isVisible=Th(()=>this.googleConnectionProcessing()||this.noGoogleConnection()||this.noDataProvided())}refresh(){window.location.reload()}connectGoogleBusiness(){this.locationService.connectGoogleMyBusiness(this.locationId()).pipe(qe(this.unsubscribe)).subscribe(e=>{window.open(e,"_blank","popup=true,width=800,height=600")})}static#e=this.\u0275fac=function(i){return new(i||n)(W(Fm))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-my-business-status"]],inputs:{googleMyBusinessStatus:[bn.SignalBased,"googleMyBusinessStatus"],hasChartData:[bn.SignalBased,"hasChartData"],locationId:[bn.SignalBased,"locationId"]},features:[Ue],decls:3,vars:1,consts:[["connectGoogle",""],["class","offset-2 col-8 text-center overlap-chart",4,"ngIf"],[1,"offset-2","col-8","text-center","overlap-chart"],[4,"ngIf"],[4,"ngTemplateOutlet"],["role","button",1,"fa","fa-redo","text-success","clickable",3,"click"],["type","button",1,"btn","p-2","btn-primary","btn-lg","mb-2",3,"click"],[1,"ms-2","me-2"],[1,"me-2","googleIcon",3,"src"]],template:function(i,s){1&i&&re(0,j5e,4,3,"div",1)(1,B5e,5,4,"ng-template",null,0,hs),2&i&&R("ngIf",s.isVisible())},dependencies:[wt,xc,et],styles:[".overlap-chart[_ngcontent-%COMP%]{position:absolute;top:150px}.clickable[_ngcontent-%COMP%]{cursor:pointer!important}.googleIcon[_ngcontent-%COMP%]{height:20px;margin-top:-3px}"]})}return n})();function H5e(n,t){if(1&n&&(D(0,"h6",4),N(1),M()),2&n){const e=K();m(),ve("(",e.graphSubtitle,")")}}function V5e(n,t){if(1&n&&(D(0,"div",6),ee(1,"app-google-my-business-status",7),D(2,"div",8)(3,"div",9),ee(4,"canvas",10),M()(),D(5,"div",11)(6,"div"),ee(7,"i",12),N(8),M(),D(9,"div"),N(10),Y(11,"translate"),M()(),D(12,"div",11)(13,"div"),ee(14,"i",13),N(15),Y(16,"percent"),M(),D(17,"div"),N(18),Y(19,"translate"),M()()()),2&n){const e=K();m(),R("googleMyBusinessStatus",e.googleMyBusinessStatus)("hasChartData",e.chartData.hasData)("locationId",e.locationId),m(3),R("data",e.data)("labels",e.labels)("options",e.options)("colors",e.chartColors)("type","line"),m(4),ve(" ",e.totalViews,""),m(2),le(B(11,12,"local_listings.stats_google_views_on_maps_and_search")),m(5),ve(" ",On(16,14,e.directionRequestConversionRate,"1.2-2"),""),m(3),le(B(19,17,"local_listings.stats_google_direction_conversion_rate"))}}let U5e=(()=>{class n extends Dt{set googleViewsByDate(e){this._chartData=e.googleViewsMetrics,this._chartData.hasData?this.options.scales.y.max=null:(this._chartData=this.disconnectedDataSet,this.options.scales.y.max=100),this.totalViews=e.totalViews,this.directionRequestConversionRate=e.directionRequestConversionRate,this.translateLabels(this.chartData),this.labels=this.chartData.labels,this.datasets=this.chartData.dataSet,this.data.labels=this.labels,this.datasets.forEach((i,s)=>{this.data.datasets[s].data=i.data,this.data.datasets[s].label=i.label})}constructor(e,i,s){super(),this.translate=e,this.chartColorService=i,this.chartLabelService=s,this.data={labels:[],datasets:[{data:[],fill:!0,tension:.4},{data:[],fill:!0,tension:.4}]},this.options={maintainAspectRatio:!1,responsive:!0,plugins:{tooltip:{mode:"index",callbacks:{label:r=>`${r.dataset.label}: ${r.parsed.y}`}}},scales:{y:{stacked:!0,min:0,ticks:{callback:function(r,o,a){return Number.isInteger(r)?r:""}}},x:{stacked:!0}}},this.disconnectedDataSet={hasData:!1,labelKeys:this.chartLabelService.getPreviousMondays(13),labels:null,dataSet:[{label:null,labelKey:"local_listings.label_views_on_map",data:[]},{label:null,labelKey:"local_listings.label_views_on_search",data:[]}]}}ngOnInit(){this.chartColorService.filledLine.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e,this.data.datasets.forEach((i,s)=>{i.backgroundColor=this.chartColors[s].backgroundColor,i.borderColor=this.chartColors[s].borderColor,i.borderWidth=this.chartColors[s].borderWidth})})}get chartData(){return this._chartData}translateLabels(e){e.labels=[];for(const i of e.labelKeys)e.labels.push(ti(i).format("L"));for(const i of e.dataSet)i.label=this.translate.instant(i.labelKey)}static#e=this.\u0275fac=function(i){return new(i||n)(W(rr),W(so),W(YD))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-views-by-date"]],inputs:{googleMyBusinessStatus:"googleMyBusinessStatus",locationId:"locationId",graphSubtitle:"graphSubtitle",googleViewsByDate:"googleViewsByDate"},features:[Ue],decls:10,vars:8,consts:[[1,"card","text-center"],[1,"card-body","d-flex","flex-column"],[1,"card-title","text-primary","text-center","custom-tile-header"],["placement","top",3,"html"],[1,"text-secondary"],["class","row",4,"ngIf"],[1,"row"],[3,"googleMyBusinessStatus","hasChartData","locationId"],[1,"col-12"],[1,"p-2","text-center","text-md-left","d-flex","flex-column","h-100"],["baseChart","",1,"chart-canvas",3,"data","labels","options","colors","type"],[1,"col-6"],[1,"far","fa-eye"],[1,"fas","fa-directions"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),D(5,"small"),ee(6,"helpPopover",3),Y(7,"translate"),M()(),re(8,H5e,2,1,"h6",4)(9,V5e,20,19,"div",5),M()()),2&i&&(m(3),ve(" ",B(4,4,"local_listings.title_google_views")," "),m(3),He("html",B(7,6,"local_listings.help_google_views")),m(2),Xn(8,s.chartData.hasData?8:-1),m(),R("ngIf",s.chartData))},dependencies:[wt,nl,Ys,Z7,aw,et]})}return n})();function z5e(n,t){if(1&n&&(D(0,"h6",4),N(1),M()),2&n){const e=K();m(),ve("(",e.graphSubtitle,")")}}function G5e(n,t){if(1&n&&(D(0,"div",6),ee(1,"app-google-my-business-status",7),D(2,"div",8)(3,"div",9),ee(4,"canvas",10),M()(),D(5,"div",11)(6,"div"),ee(7,"i",12),N(8),Y(9,"percent"),M(),D(10,"div"),N(11),Y(12,"translate"),M()(),D(13,"div",11)(14,"div"),ee(15,"i",13),N(16),Y(17,"percent"),M(),D(18,"div"),N(19),Y(20,"translate"),M()()()),2&n){const e=K();m(),R("googleMyBusinessStatus",e.googleMyBusinessStatus)("hasChartData",e.chartData.hasData)("locationId",e.locationId),m(3),R("data",e.data)("labels",e.labels)("options",e.options)("colors",e.chartColors)("type","line"),m(4),ve(" ",On(9,12,e.websiteConversionRate,"1.2-2"),""),m(3),le(B(12,15,"local_listings.stats_google_website_click_conversion_rate")),m(5),ve(" ",On(17,17,e.overallConversionRate,"1.2-2"),""),m(3),le(B(20,20,"local_listings.stats_google_overall_conversion_rate"))}}let W5e=(()=>{class n extends Dt{set googleActionsByDate(e){this._chartData=e.googleActionsMetrics,this._chartData.hasData?this.options.scales.y.max=null:(this._chartData=this.disconnectedDataSet,this.options.scales.y.max=100),this.websiteConversionRate=e.websiteConversionRate,this.overallConversionRate=e.overallConversionRate,this.translateLabels(this.chartData),this.labels=this.chartData.labels,this.datasets=this.chartData.dataSet,this.datasets.forEach((i,s)=>{this.data.datasets[s].data=i.data,this.data.datasets[s].label=i.label}),this.data.labels=this.labels}constructor(e,i,s){super(),this.translate=e,this.chartColorService=i,this.chartLabelService=s,this.data={labels:[],datasets:[{data:[],fill:!0,tension:.4},{data:[],fill:!0,tension:.4},{data:[],fill:!0,tension:.4}]},this.options={maintainAspectRatio:!1,responsive:!0,plugins:{tooltip:{mode:"index",callbacks:{label:r=>`${r.dataset.label}: ${r.parsed.y}`}}},scales:{x:{stacked:!0},y:{stacked:!0,min:0,ticks:{callback:function(r){return Number.isInteger(r)?r:""}}}}},this.disconnectedDataSet={hasData:!1,labelKeys:this.chartLabelService.getPreviousMondays(13),labels:null,dataSet:[{label:null,labelKey:"local_listings.label_get_directions",data:[]},{label:null,labelKey:"local_listings.label_phone_calls",data:[]},{label:null,labelKey:"local_listings.label_website_clicks",data:[]}]}}ngOnInit(){this.chartColorService.filledLine.pipe(qe(this.unsubscribe)).subscribe(e=>{this.chartColors=e,this.data.datasets.forEach((i,s)=>{i.backgroundColor=this.chartColors[s].backgroundColor,i.borderColor=this.chartColors[s].borderColor,i.borderWidth=this.chartColors[s].borderWidth})})}get chartData(){return this._chartData}translateLabels(e){e.labels=[];for(const i of e.labelKeys)e.labels.push(ti(i).format("L"));for(const i of e.dataSet)i.label=this.translate.instant(i.labelKey)}static#e=this.\u0275fac=function(i){return new(i||n)(W(rr),W(so),W(YD))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-google-actions-by-date"]],inputs:{googleMyBusinessStatus:"googleMyBusinessStatus",locationId:"locationId",graphSubtitle:"graphSubtitle",googleActionsByDate:"googleActionsByDate"},features:[Ue],decls:10,vars:8,consts:[[1,"card","text-center"],[1,"card-body","d-flex","flex-column"],[1,"card-title","text-primary","text-center","custom-tile-header"],["placement","top",3,"html"],[1,"text-secondary"],["class","row",4,"ngIf"],[1,"row"],[3,"googleMyBusinessStatus","hasChartData","locationId"],[1,"col-12"],[1,"p-2","text-center","text-md-left","d-flex","flex-column","h-100"],["baseChart","",1,"chart-canvas",3,"data","labels","options","colors","type"],[1,"col-6"],[1,"fas","fa-desktop"],[1,"fas","fa-sync-alt"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),D(5,"small"),ee(6,"helpPopover",3),Y(7,"translate"),M()(),re(8,z5e,2,1,"h6",4)(9,G5e,21,22,"div",5),M()()),2&i&&(m(3),ve(" ",B(4,4,"local_listings.title_google_customer_actions")," "),m(3),He("html",B(7,6,"local_listings.help_google_customer_actions")),m(2),Xn(8,s.chartData.hasData?8:-1),m(),R("ngIf",s.chartData))},dependencies:[wt,nl,Ys,Z7,aw,et]})}return n})();function $5e(n,t){if(1&n&&(D(0,"div",6)(1,"div",7),ee(2,"canvas",8),M()()),2&n){const e=K();m(2),R("data",e.data)("type","doughnut")("options",e.options)("legend",!0)}}function q5e(n,t){1&n&&(D(0,"div",7)(1,"div")(2,"h5",9),N(3),Y(4,"translate"),M(),ee(5,"i",10),M()()),2&n&&(m(3),le(B(4,1,"local_listings.duplicate_listing_supression_no_duplicates")))}let K5e=(()=>{class n extends Dt{constructor(e){super(),this.chartColorService=e,this.options={responsive:!1,maintainAspectRatio:!0,plugins:{legend:{position:"right"}}}}ngOnInit(){this.chartColorService.pie.pipe(qe(this.unsubscribe)).subscribe(e=>{this.drawChart(e)})}drawChart(e){const i=this.suppressedDuplicates.countByDirectory.sort((r,o)=>o.count-r.count),s=i.slice(0,3);i.length>3&&s.push({directory:"Other",count:i.slice(3).reduce((r,o)=>r+o.count,0)}),this.data={datasets:[{data:s.map(r=>r.count),backgroundColor:e.map(r=>r.backgroundColor)[0]}],labels:s.map(r=>`${r.directory} (${r.count})`)}}static#e=this.\u0275fac=function(i){return new(i||n)(W(so))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-suppressed-duplicates"]],viewQuery:function(i,s){if(1&i&&xo(Ys,5),2&i){let r;ln(r=cn())&&(s.charts=r)}},inputs:{suppressedDuplicates:"suppressedDuplicates"},features:[Ue],decls:12,vars:7,consts:[[1,"card","text-center"],[1,"card-body","d-flex","flex-column"],[1,"card-title","text-primary","text-center","custom-tile-header"],["placement","top",3,"html"],[1,"row"],[1,"col-12"],[1,"relative"],[1,"p-2","text-center","text-md-left","d-flex","flex-column","h-100"],["height","350","width","450","baseChart","",1,"mx-auto","my-auto",3,"data","type","options","legend"],[1,"text-muted"],[1,"fa","fa-broom","text-muted","fa-5x","align-text-top"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"h4",2),N(3),Y(4,"translate"),D(5,"small"),ee(6,"helpPopover",3),Y(7,"translate"),M()(),D(8,"div",4)(9,"div",5),re(10,$5e,3,4,"div",6)(11,q5e,6,3),M()()()()),2&i&&(m(3),ve(" ",B(4,3,"local_listings.duplicate_listing_supression")," "),m(3),He("html",B(7,5,"local_listings.duplicate_listing_supression_tooltip")),m(4),Xn(10,s.suppressedDuplicates.totalCount>0?10:11))},dependencies:[nl,Ys,et],encapsulation:2})}return n})();function X5e(n,t){if(1&n&&(D(0,"option",13),N(1),M()),2&n){const e=t.$implicit;R("ngValue",e),m(),le(e.location.displayName)}}function Z5e(n,t){if(1&n){const e=tt();mn(0),D(1,"span",9)(2,"h4",10),N(3),Y(4,"translate"),M()(),D(5,"span",9)(6,"select",11),zu("ngModelChange",function(s){ze(e);const r=K();return Dh(r.selectedLocationBusinessCitation,s)||(r.selectedLocationBusinessCitation=s),Ge(s)}),Le("change",function(){return ze(e),Ge(K().updateHasAnyData())}),re(7,X5e,2,2,"option",12),M()(),_n()}if(2&n){const e=K();m(3),le(B(4,3,"local_listings.title_business_citation_location")),m(3),Uu("ngModel",e.selectedLocationBusinessCitation),m(),R("ngForOf",e.locationBusinessCitations)}}function J5e(n,t){if(1&n&&(mn(0),D(1,"span",9)(2,"h4",10),N(3),Y(4,"translate"),M()(),_n()),2&n){const e=K();m(3),ir("",B(4,2,"local_listings.title_business_citation_location"),": ",e.selectedLocationBusinessCitation.location.displayName,"")}}function Q5e(n,t){1&n&&(mn(0),D(1,"span",9)(2,"h4",10),N(3),Y(4,"translate"),M()(),_n()),2&n&&(m(3),le(B(4,1,"local_listings.title_not_ready")))}function eYe(n,t){if(1&n&&ee(0,"app-location-card",20),2&n){const e=K(2);R("location",e.selectedLocationBusinessCitation.location)("states",e.states)}}function tYe(n,t){if(1&n&&ee(0,"app-location-map",24),2&n){const e=K(3);R("allowPan",!1)("location",e.selectedLocationBusinessCitation.location)}}function nYe(n,t){1&n&&(D(0,"div",22),re(1,tYe,1,2,"app-location-map",23),M()),2&n&&(m(),R("hideKey","BusinessCitations-LocationMap"))}function iYe(n,t){if(1&n&&ee(0,"app-location-map",24),2&n){const e=K(3);R("allowPan",!0)("location",e.selectedLocationBusinessCitation.location)}}function sYe(n,t){1&n&&(D(0,"div",19),re(1,iYe,1,2,"app-location-map",23),M()),2&n&&(m(),R("hideKey","BusinessCitations-LocationMap"))}function rYe(n,t){if(1&n&&(mn(0),D(1,"div",14)(2,"div",2)(3,"div",15),re(4,eYe,1,2,"app-location-card",16),M(),re(5,nYe,2,1,"div",17),M()(),D(6,"div",18)(7,"div",2)(8,"div",19),ee(9,"app-location-card",20),M(),re(10,sYe,2,1,"div",21),M()(),_n()),2&n){const e=K();m(4),R("hideKey","BusinessCitations-LocationCard"),m(),R("ngIf",e.selectedLocationBusinessCitation.location.latitude&&e.selectedLocationBusinessCitation.location.longitude),m(4),R("location",e.selectedLocationBusinessCitation.location)("states",e.states),m(),R("ngIf",e.selectedLocationBusinessCitation.location.latitude&&e.selectedLocationBusinessCitation.location.longitude)}}function oYe(n,t){if(1&n&&(mn(0),ee(1,"app-location-business-citations",25),_n()),2&n){const e=K(2);m(),R("locationBusinessCitation",e.selectedLocationBusinessCitation)}}function aYe(n,t){if(1&n&&(mn(0),re(1,oYe,2,1,"ng-container",4),_n()),2&n){const e=K();m(),R("ngIf",e.selectedLocationBusinessCitation)}}function lYe(n,t){if(1&n){const e=tt();D(0,"div",6)(1,"div",26)(2,"app-date-range-selector",27),Le("rangeSelected",function(s){return ze(e),Ge(K().analyticsPeriodChanged(s))})("rangeCleared",function(){return ze(e),Ge(K().rangeCleared())}),M()()()}if(2&n){const e=K();m(2),R("maxDate",e.maxDate)("defaultSelectedDays",e.defaultSelectedDays)("pastDaysSelection",e.pastDaysSelection)}}function cYe(n,t){if(1&n&&ee(0,"app-google-views-by-date",32),2&n){const e=K(2);R("googleMyBusinessStatus",e.selectedLocationBusinessCitation.googleMyBusinessStatus)("locationId",e.selectedLocationBusinessCitation.location.id)("googleViewsByDate",e.selectedLocationBusinessCitation.analytics.googleViewsByDate)("graphSubtitle",e.googleRangeLabel())}}function uYe(n,t){if(1&n&&ee(0,"app-google-actions-by-date",33),2&n){const e=K(2);R("googleMyBusinessStatus",e.selectedLocationBusinessCitation.googleMyBusinessStatus)("locationId",e.selectedLocationBusinessCitation.location.id)("googleActionsByDate",e.selectedLocationBusinessCitation.analytics.googleActionsByDate)("graphSubtitle",e.googleRangeLabel())}}function dYe(n,t){if(1&n&&(D(0,"div",28),re(1,cYe,1,4,"app-google-views-by-date",29)(2,uYe,1,4,"app-google-actions-by-date",30),ee(3,"app-suppressed-duplicates",31),M()),2&n){const e=K();m(),R("hideKey","BusinessCitations-Google-Views"),m(),R("hideKey","BusinessCitations-Google-Customer-Actions"),m(),R("suppressedDuplicates",e.selectedLocationBusinessCitation.analytics.suppressedDuplicates)}}function hYe(n,t){if(1&n&&(D(0,"p",37),N(1),M()),2&n){const e=K().$implicit;m(),le(e.url)}}function fYe(n,t){1&n&&(D(0,"div",34)(1,"div",35)(2,"div",0)(3,"div",1),re(4,hYe,2,1,"p",36),M()()()()),2&n&&(m(4),R("hideKey","Seo-CustomerUrl"))}const gYe=[30,90,365];let mYe=(()=>{class n extends Dt{constructor(e,i,s){super(),this.locationService=e,this.stateService=i,this.sessionService=s,this.locationBusinessCitations=[],this.maxDate=ti().add(-7,"days").toDate(),this.defaultSelectedDays=90,this.pastDaysSelection=gYe,this.rangeStartLabel=Yu(ti().add(-90,"days").format("L")),this.rangeEndLabel=Yu(ti(this.maxDate).format("L")),this.googleRangeLabel=Th(()=>`${this.rangeStartLabel()} - ${this.rangeEndLabel()}`),this.hasAnyData=!1}ngOnInit(){this.locationService.getLocationBusinessCitations().pipe(qe(this.unsubscribe)).subscribe(e=>{this.locationBusinessCitations=e,this.locationBusinessCitations.length>0&&(this.selectedLocationBusinessCitation=this.locationBusinessCitations[0]),this.fixFirstLabels(ti().add(-90,"days").toDate().toLocaleDateString()),this.updateHasAnyData()}),this.stateService.getStates().pipe(qe(this.unsubscribe)).subscribe(e=>{this.states=e}),this.sessionService.account.pipe(qe(this.unsubscribe)).subscribe(e=>{this.account=e})}analyticsPeriodChanged([e,i]){this.locationService.getLocationAnalytics(e??new Date(0),i).pipe(qe(this.unsubscribe)).subscribe(s=>{s.forEach(r=>{this.locationBusinessCitations.find(o=>o.location.id===r.locationId).analytics=r}),e&&this.fixFirstLabels(e.toLocaleDateString()),this.rangeStartLabel.set(ti(this.selectedLocationBusinessCitation.analytics.googleViewsByDate.googleViewsMetrics.labelKeys[0]).format("L")),this.rangeEndLabel.set(ti(i.toLocaleDateString()).format("L"))})}rangeCleared(){this.analyticsPeriodChanged([null,this.maxDate])}updateHasAnyData(){this.hasAnyData=this.selectedLocationBusinessCitation.analytics.googleActionsByDate.googleActionsMetrics.hasData||this.selectedLocationBusinessCitation.analytics.googleViewsByDate.googleViewsMetrics.hasData}fixFirstLabels(e){this.locationBusinessCitations.filter(i=>i.analytics.googleActionsByDate.googleActionsMetrics.hasData).forEach(i=>{this.fixFirstLabel(i.analytics.googleActionsByDate.googleActionsMetrics,e)}),this.locationBusinessCitations.filter(i=>i.analytics.googleViewsByDate.googleViewsMetrics.hasData).forEach(i=>{this.fixFirstLabel(i.analytics.googleViewsByDate.googleViewsMetrics,e)})}fixFirstLabel(e,i){e.labelKeys[0]!==i&&(e.labelKeys[0]=i)}static#e=this.\u0275fac=function(i){return new(i||n)(W(Fm),W(xI),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-business-citations"]],features:[kt([et]),Ue],decls:12,vars:8,consts:[[1,"card"],[1,"card-body"],[1,"row"],[1,"col-md-6"],[4,"ngIf"],[4,"hideKey"],[1,"row","pt-2","ps-2"],["class","d-flex flex-wrap justify-content-between",4,"ngIf"],["class","row mt-2",4,"ngIf"],[1,"float-start"],[1,"text-primary"],[1,"form-select","ms-2","mt-1","pt-1","pb-1",3,"ngModelChange","change","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"mt-4","d-block","d-md-none"],[1,"col-12"],[3,"location","states",4,"hideKey"],["class","col-12","style","min-height: 500px;",4,"ngIf"],[1,"mt-4","d-none","d-md-block"],[1,"col-6"],[3,"location","states"],["class","col-6",4,"ngIf"],[1,"col-12",2,"min-height","500px"],[3,"allowPan","location",4,"hideKey"],[3,"allowPan","location"],[3,"locationBusinessCitation"],[1,"col-md-4"],[3,"rangeSelected","rangeCleared","maxDate","defaultSelectedDays","pastDaysSelection"],[1,"d-flex","flex-wrap","justify-content-between"],["class","p-2 tile",3,"googleMyBusinessStatus","locationId","googleViewsByDate","graphSubtitle",4,"hideKey"],["class","p-2 tile",3,"googleMyBusinessStatus","locationId","googleActionsByDate","graphSubtitle",4,"hideKey"],[1,"p-2","tile",3,"suppressedDuplicates"],[1,"p-2","tile",3,"googleMyBusinessStatus","locationId","googleViewsByDate","graphSubtitle"],[1,"p-2","tile",3,"googleMyBusinessStatus","locationId","googleActionsByDate","graphSubtitle"],[1,"row","mt-2"],[1,"col-md-12"],["class","mb-0 text-muted text-center custom-tile-subheader",4,"hideKey"],[1,"mb-0","text-muted","text-center","custom-tile-subheader"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),re(4,Z5e,8,5,"ng-container",4)(5,J5e,5,4,"ng-container",4)(6,Q5e,5,3,"ng-container",4),M()(),re(7,rYe,11,5,"ng-container",4),M()(),re(8,aYe,2,1,"ng-container",5)(9,lYe,3,3,"div",6)(10,dYe,4,3,"div",7)(11,fYe,5,1,"div",8)),2&i&&(m(4),R("ngIf",s.locationBusinessCitations.length>1),m(),R("ngIf",1==s.locationBusinessCitations.length),m(),R("ngIf",0==s.locationBusinessCitations.length),m(),R("ngIf",s.selectedLocationBusinessCitation),m(),R("hideKey","BusinessCitations-LocationBusinessCitations"),m(),Xn(9,s.selectedLocationBusinessCitation&&s.hasAnyData?9:-1),m(),R("ngIf",s.selectedLocationBusinessCitation),m(),R("ngIf",s.account))},dependencies:[zs,wt,pg,gg,id,Tr,Vh,es,a5e,m5e,y5e,L5e,U5e,W5e,K5e,et],styles:[".tile[_ngcontent-%COMP%]{width:50%;min-height:200px}@media screen and (max-width: 575.99px){.tile[_ngcontent-%COMP%]{width:100%}}@media screen and (max-width: 767.99px){.tile[_ngcontent-%COMP%]{width:100%}}@media (max-width: 991.99px){.tile[_ngcontent-%COMP%]{width:100%}}"]})}return n})();const _Ye=()=>["opening_date"],yYe=()=>["is_closed","is_street_address_hidden"],vYe=()=>["categories","service_areas","social_profiles"],bYe=()=>["payment_options"];function wYe(n,t){if(1&n&&(D(0,"h4"),N(1),M()),2&n){const e=K(2);m(),le(e.localProfiles[0].title)}}function CYe(n,t){if(1&n&&(D(0,"option",8),N(1),M()),2&n){const e=t.$implicit;R("ngValue",e.localProfileId),m(),le(e.title)}}function MYe(n,t){if(1&n){const e=tt();D(0,"select",6),zu("ngModelChange",function(s){ze(e);const r=K(2);return Dh(r.selectedLocalProfileId,s)||(r.selectedLocalProfileId=s),Ge(s)}),re(1,CYe,2,2,"option",7),M()}if(2&n){const e=K(2);Uu("ngModel",e.selectedLocalProfileId),m(),R("ngForOf",e.localProfiles)}}function DYe(n,t){if(1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n){const e=K().$implicit;m(),ve(" ",B(2,1,"listing_history."+e.value)," ")}}function xYe(n,t){if(1&n&&(D(0,"span"),N(1),M()),2&n){const e=K().$implicit;m(),ve(" ",e.value," ")}}function SYe(n,t){if(1&n&&(D(0,"span")(1,"strong"),N(2),Y(3,"translate"),M(),N(4,": "),M()),2&n){const e=K().$implicit;m(2),le(B(3,1,"listing_history."+e.value))}}function TYe(n,t){if(1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n){const e=K().$implicit;m(),le(B(2,1,"listing_history."+e.value))}}function EYe(n,t){if(1&n&&(D(0,"span"),N(1),M()),2&n){const e=K().$implicit;m(),le(e.value)}}function kYe(n,t){if(1&n&&(mn(0)(1,16),re(2,SYe,5,3,"span",17)(3,TYe,3,3,"span",17)(4,EYe,2,1,"span",17),_n()()),2&n){const e=t.$implicit;m(),R("ngSwitch","hour_"+e.key),m(),R("ngSwitchCase","hour_name"),m(),R("ngSwitchCase","hour_information"),m(),R("ngSwitchCase","hour_hours")}}function OYe(n,t){if(1&n&&(D(0,"li"),re(1,kYe,5,4,"ng-container",5),Y(2,"keyvalue"),M()),2&n){const e=t.$implicit,i=K(8);m(),R("ngForOf",On(2,1,e,i.sortAsProvided))}}function LYe(n,t){if(1&n&&(D(0,"span")(1,"ul",19),re(2,OYe,3,4,"li",5),M()()),2&n){const e=K().$implicit;m(2),R("ngForOf",e.value)}}function PYe(n,t){if(1&n&&(mn(0)(1,16),re(2,DYe,3,3,"span",17)(3,xYe,2,1,"span",17)(4,LYe,3,1,"span",17),_n()()),2&n){const e=t.$implicit;m(),R("ngSwitch",e.key),m(),R("ngSwitchCase","information"),m(),R("ngSwitchCase","additional_information"),m(),R("ngSwitchCase","hours")}}function IYe(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4,": "),re(5,PYe,5,4,"ng-container",5),Y(6,"keyvalue"),M()),2&n){const e=K().$implicit,i=K(4);m(2),le(B(3,2,"listing_history."+e.key)),m(3),R("ngForOf",On(6,4,e.value,i.sortAsProvided))}}function AYe(n,t){if(1&n&&(D(0,"span")(1,"strong"),N(2),Y(3,"localDate"),M(),N(4,": "),M()),2&n){const e=K().$implicit;m(2),le(B(3,1,e.value))}}function RYe(n,t){if(1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n){const e=K().$implicit;m(),le(B(2,1,"listing_history."+e.value))}}function NYe(n,t){if(1&n&&(D(0,"span"),N(1),M()),2&n){const e=K().$implicit;m(),le(e.value)}}function FYe(n,t){if(1&n&&(D(0,"span"),N(1),M()),2&n){const e=K().$implicit;m(),ve(" (",e.value,")")}}function YYe(n,t){if(1&n&&(mn(0)(1,16),re(2,AYe,5,3,"span",17)(3,RYe,3,3,"span",17)(4,NYe,2,1,"span",17)(5,FYe,2,1,"span",17),_n()()),2&n){const e=t.$implicit;m(),R("ngSwitch","hour_"+e.key),m(),R("ngSwitchCase","hour_date"),m(),R("ngSwitchCase","hour_information"),m(),R("ngSwitchCase","hour_hours"),m(),R("ngSwitchCase","hour_description")}}function jYe(n,t){if(1&n&&(D(0,"li"),re(1,YYe,6,5,"ng-container",5),Y(2,"keyvalue"),M()),2&n){const e=t.$implicit,i=K(6);m(),R("ngForOf",On(2,1,e,i.sortAsProvided))}}function BYe(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4,": "),D(5,"ul",19),re(6,jYe,3,4,"li",5),M()()),2&n){const e=K().$implicit;m(2),le(B(3,2,"listing_history."+e.key)),m(4),R("ngForOf",e.value)}}function HYe(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4),Y(5,"localDate"),M()),2&n){const e=K().$implicit;m(2),le(B(3,2,"listing_history."+e.key)),m(2),ve(": ",B(5,4,e.value)," ")}}function VYe(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4),Y(5,"translate"),M()),2&n){const e=K().$implicit;m(2),le(B(3,2,"listing_history."+e.key)),m(2),ve(": ",B(5,4,"listing_history."+e.value)," ")}}function UYe(n,t){if(1&n&&(D(0,"li"),N(1),M()),2&n){const e=t.$implicit;m(),le(e)}}function zYe(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4,": "),D(5,"ul",19),re(6,UYe,2,1,"li",5),M()()),2&n){const e=K().$implicit;m(2),le(B(3,2,"listing_history."+e.key)),m(4),R("ngForOf",e.value)}}function GYe(n,t){if(1&n&&(D(0,"li"),N(1),Y(2,"translate"),M()),2&n){const e=t.$implicit;m(),le(B(2,1,"listing_history."+e))}}function WYe(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4,": "),D(5,"ul",19),re(6,GYe,3,3,"li",5),M()()),2&n){const e=K().$implicit;m(2),le(B(3,2,"listing_history."+e.key)),m(4),R("ngForOf",e.value)}}function $Ye(n,t){if(1&n&&(D(0,"div")(1,"strong"),N(2),Y(3,"translate"),M(),N(4),M()),2&n){const e=K().$implicit;m(2),le(B(3,2,"listing_history."+e.key)),m(2),ve(": ",e.value," ")}}function qYe(n,t){if(1&n&&(mn(0)(1,16),re(2,IYe,7,7,"div",17)(3,BYe,7,4,"div",17)(4,HYe,6,6,"div",17)(5,VYe,6,6,"div",17)(6,zYe,7,4,"div",17)(7,WYe,7,4,"div",17)(8,$Ye,5,4,"div",18),_n()()),2&n){const e=t.$implicit;m(),R("ngSwitch",!0),m(),R("ngSwitchCase","business_hours"===e.key),m(),R("ngSwitchCase","special_business_hours"===e.key),m(),R("ngSwitchCase",xh(7,_Ye).includes(e.key)),m(),R("ngSwitchCase",xh(8,yYe).includes(e.key)),m(),R("ngSwitchCase",xh(9,vYe).includes(e.key)),m(),R("ngSwitchCase",xh(10,bYe).includes(e.key))}}function KYe(n,t){if(1&n&&(re(0,qYe,9,11,"ng-container",5),Y(1,"keyvalue")),2&n){const e=K().$implicit,i=K(2);R("ngForOf",On(1,1,e.locationSnapshot,i.sortAsProvided))}}function XYe(n,t){if(1&n&&(mn(0),D(1,"div",9)(2,"h2",10)(3,"button",11),N(4),D(5,"span",12),ee(6,"i",13),N(7),Y(8,"translate"),Y(9,"localDate"),M()()(),D(10,"div",14)(11,"div",15),re(12,KYe,2,4,"ng-template"),M()()(),_n()),2&n){const e=t.$implicit,i=t.index;m(),R("ngbAccordionItem","history_"+i)("destroyOnHide",!1),m(3),le(e.title),m(3),ir(" ",B(8,5,"listing_history.sync_date"),": ",B(9,7,e.syncDate),"")}}function ZYe(n,t){if(1&n&&(D(0,"div",2)(1,"div",3),re(2,wYe,2,1,"h4")(3,MYe,2,2),M()(),D(4,"div",4),re(5,XYe,13,9,"ng-container",5),M()),2&n){const e=K();m(2),Xn(2,1===e.localProfiles.length?2:3),m(3),R("ngForOf",e.selectedHistory())}}function JYe(n,t){1&n&&(D(0,"span",20)(1,"h4",21),N(2),Y(3,"translate"),M()()),2&n&&(m(2),le(B(3,1,"local_listings.title_not_ready_history")))}let QYe=(()=>{class n extends Dt{constructor(e,i){super(),this.locationService=e,this.sessionService=i,this.syncHistory=[],this.localProfiles=[],this.selectedLocalProfileId=Yu(0),this.selectedHistory=Th(()=>this.selectedLocalProfileId()?this.syncHistory.filter(s=>s.localProfileId===this.selectedLocalProfileId()):[]),function nj(n,t){bl("NgSignals"),!t?.injector&&ih();const e=t?.injector??fe(ls),i=!0!==t?.manualCleanup?e.get(Ta):null,s=new Gne(e.get(Vne),n,typeof Zone>"u"?null:Zone.current,i,e,t?.allowSignalWrites??!1),r=e.get(Dr,null,{optional:!0});return r&&8&r._lView[St]?(r._lView[Dn]??=[]).push(s.watcher.notify):s.watcher.notify(),s}(()=>{this.selectedLocalProfileId()&&setTimeout(()=>{this.accordion.collapseAll(),this.accordion.expand("history_0")},0)})}ngOnInit(){this.locationService.getLocationSyncHistory().pipe(qe(this.unsubscribe)).subscribe(e=>{this.selectedLocalProfileId.set(e.length?e[0].localProfileId:this.selectedLocalProfileId());let i=[];e.forEach(s=>{const r=JSON.parse(s.locationSnapshot);s.locationSnapshot=r,s.title=`${r.city.toUpperCase()}, ${r.state}`,i.some(o=>o.localProfileId===s.localProfileId)||i.push({localProfileId:s.localProfileId,title:s.title,syncDate:s.syncDate}),this.syncHistory.push(s)}),this.localProfiles=i.sort((s,r)=>s.title.toLocaleLowerCase()<r.title.toLocaleLowerCase()?-1:1)})}sortAsProvided(){return 0}static#e=this.\u0275fac=function(i){return new(i||n)(W(Fm),W(Et))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-business-citations-sync-history"]],viewQuery:function(i,s){if(1&i&&xo(Qy,5),2&i){let r;ln(r=cn())&&(s.accordion=r.first)}},features:[kt([et]),Ue],decls:4,vars:1,consts:[[1,"card"],[1,"card-body"],[1,"row","mb-4"],[1,"col-4"],["ngbAccordion","","accordion","NgbAccordion"],[4,"ngFor","ngForOf"],[1,"form-select","d-inline",3,"ngModelChange","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"ngbAccordionItem","destroyOnHide"],["ngbAccordionHeader",""],["ngbAccordionButton",""],[1,"ms-4"],[1,"fas","fa-sync-alt"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mb-0"],[1,"float-start"],[1,"text-primary"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1),re(2,ZYe,6,2)(3,JYe,4,3),M()()),2&i&&(m(2),Xn(2,s.localProfiles.length?2:3))},dependencies:[zs,rw,wj,Cj,jH,Qy,rd,BH,FH,mO,pg,gg,id,Tr,Vh,xj,et,PI]})}return n})();const eje=[{path:"business-citations",canActivateChild:[qs],children:[{path:"local-listings",component:mYe,canActivate:[mr,ou],data:{requiredFeature:vi.BusinessCitations}},{path:"listings-sync-history",component:QYe,canActivate:[mr,ou],data:{requiredFeature:vi.BusinessCitations}}]}];let tje=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[Fm,Et,mr,ou,Fm,so,YD,xI,qs],imports:[qu,xg,mC,Gy,$w,zP,H0,If.forRoot(eje,{})]})}return n})();const nje=[{path:"accounts",component:e5e,canActivate:[qs]},{path:"no-products",component:t5e},{path:"",component:W3e}];let NI=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({imports:[qu,PFe,tje,If.forRoot(nje,{}),G3e,If]})}return n})();function ije(n,t){if(1&n&&(D(0,"p",10),N(1),Y(2,"translate"),Y(3,"translate"),M()),2&n){const e=K();m(),ir(" ",B(2,2,e.errorMessage)," ",B(3,4,"error_general_instructions")," ")}}function sje(n,t){1&n&&(D(0,"p"),N(1),Y(2,"translate"),M()),2&n&&(m(),ve(" ",B(2,1,"error_general")," "))}let rje=(()=>{class n{constructor(e,i){this.router=e,this.location=i}ngOnInit(){this.errorMessage=history.state.message}back(){this.location.back()}home(){this.router.navigateByUrl("accounts")}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn),W(Eh))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-error"]],decls:17,vars:11,consts:[[1,"d-flex","justify-content-center","m-4"],[1,"card","text-white","bg-danger","mb-3",2,"max-width","30rem"],[1,"card-body"],[1,"card-title"],["class","card-text",4,"ngIf"],[4,"ngIf"],[1,"d-grid","gap-2"],[1,"btn","btn-warning","text-light",3,"click"],[1,"fa","fa-home"],[1,"fa","fa-arrow-left"],[1,"card-text"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h4",3),N(4),Y(5,"translate"),M(),re(6,ije,4,6,"p",4)(7,sje,3,3,"p",5),D(8,"div",6)(9,"button",7),Le("click",function(){return s.home()}),ee(10,"span",8),N(11),Y(12,"translate"),M(),D(13,"button",7),Le("click",function(){return s.back()}),ee(14,"span",9),N(15),Y(16,"translate"),M()()()()()),2&i&&(m(4),le(B(5,5,"error_occurred")),m(2),R("ngIf",!!s.errorMessage),m(),R("ngIf",!s.errorMessage),m(4),ve(" ",B(12,7,"button_go_home"),""),m(4),ve(" ",B(16,9,"button_back"),""))},dependencies:[wt,et]})}return n})(),oje=(()=>{class n{constructor(e){this.router=e}home(){this.router.navigateByUrl("accounts")}static#e=this.\u0275fac=function(i){return new(i||n)(W(Yn))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-not-found"]],decls:13,vars:9,consts:[[1,"d-flex","justify-content-center","m-2"],[1,"card","text-white","bg-primary","mb-3",2,"max-width","30rem"],[1,"card-body"],[1,"card-title"],[1,"card-text"],[1,"btn","w-100","btn-warning","text-light",3,"click"],[1,"fa","fa-home"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"h4",3),N(4),Y(5,"translate"),M(),D(6,"p",4),N(7),Y(8,"translate"),M(),D(9,"button",5),Le("click",function(){return s.home()}),ee(10,"span",6),N(11),Y(12,"translate"),M()()()()),2&i&&(m(4),le(B(5,3,"error_page_not_found")),m(3),ve(" ",B(8,5,"error_page_not_found_message")," "),m(4),ve(" ",B(12,7,"button_go_home"),""))},dependencies:[et]})}return n})();function aje(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"error_general")))}function lje(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"error_not_setup")))}function cje(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"error_account_not_exists")))}function uje(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"error_login_nocustomerusers")))}function dje(n,t){1&n&&(D(0,"span"),N(1),Y(2,"translate"),M()),2&n&&(m(),le(B(2,1,"error_not_authorized")))}const hje=[{path:"not-found",component:oje,canActivateChild:[qs]},{path:"error",component:rje,canActivateChild:[qs]},{path:"business-center-error",component:(()=>{class n extends Dt{constructor(e){super(),this.route=e,this.showGeneralError=!1,this.showNotSetupError=!1,this.showAccountNotExistsError=!1,this.showInactiveAccountError=!1,this.showNotAuthorizedError=!1}ngOnInit(){this.route.queryParams.pipe(qe(this.unsubscribe)).subscribe(e=>{switch(e.errorType){case"notSetup":this.showNotSetupError=!0;break;case"accountNotExist":this.showAccountNotExistsError=!0;break;case"notAuthorized":this.showNotAuthorizedError=!0;break;case"inactiveAccount":this.showInactiveAccountError=!0;break;default:this.showGeneralError=!0}})}static#e=this.\u0275fac=function(i){return new(i||n)(W(pr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-external-error"]],features:[Ue],decls:9,vars:5,consts:[[1,"d-flex","justify-content-center","m-4"],[1,"card","text-white","bg-danger","mb-3",2,"max-width","60rem"],[1,"card-body"],[1,"card-text"],[4,"ngIf"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2)(3,"p",3),re(4,aje,3,3,"span",4)(5,lje,3,3,"span",4)(6,cje,3,3,"span",4)(7,uje,3,3,"span",4)(8,dje,3,3,"span",4),M()()()()),2&i&&(m(4),R("ngIf",s.showGeneralError),m(),R("ngIf",s.showNotSetupError),m(),R("ngIf",s.showAccountNotExistsError),m(),R("ngIf",s.showInactiveAccountError),m(),R("ngIf",s.showNotAuthorizedError))},dependencies:[wt,et]})}return n})(),canActivateChild:[qs]},{path:"maintenance",component:(()=>{class n{constructor(e){this.route=e}ngOnInit(){let e=this.route.snapshot.queryParamMap.get("minutes");this.minutes=e?`${e} minutes`:"Unknown"}static#e=this.\u0275fac=function(i){return new(i||n)(W(pr))};static#t=this.\u0275cmp=xe({type:n,selectors:[["app-maintenance"]],decls:14,vars:1,consts:[[1,"row"],[1,"card","mt-2","col-md-6","offset-md-3"],[1,"card-body","text-center"],[1,"fa","fa-cogs","fa-5x"]],template:function(i,s){1&i&&(D(0,"div",0)(1,"div",1)(2,"div",2),ee(3,"i",3),D(4,"h1"),N(5,"Website Under Maintenance"),M(),D(6,"div")(7,"strong"),N(8,"Estimated Duration: "),M(),D(9,"span"),N(10),M()(),ee(11,"br"),D(12,"p"),N(13," We're performing a system update at the moment and will be back up as soon as possible. We apologize for any inconvenience this may cause. "),M()()()()),2&i&&(m(10),le(s.minutes))},encapsulation:2})}return n})()},{path:"**",redirectTo:"/not-found",canActivateChild:[qs]}];let fje=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n});static#n=this.\u0275inj=dn({providers:[yD,Xi],imports:[Gy,NI,H0,qu,If.forRoot(hje,{}),_O,xg,NI]})}return n})();const _s=void 0,gje=["fr",[["AM","PM"],_s,_s],_s,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],_s,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],_s,[["av. J.-C.","ap. J.-C."],_s,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xe0' {0}",_s],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[_s,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[_s,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[_s,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[_s,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[_s,"\xa5"],KMF:[_s,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[_s,"$C"],NZD:["$NZ","$"],PHP:[_s,"\u20b1"],RHD:["$RH"],RON:[_s,"L"],RWF:[_s,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[_s,"$T"],TTD:["$TT","$"],TWD:[_s,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[_s,"$"],XPF:["FCFP"],ZMW:[_s,"Kw"]},"ltr",function pje(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 0===e||1===e?1:0===s&&0!==e&&e%1e6==0&&0===i||!(s>=0&&s<=5)?4:5}],Ii=void 0,_je=["es",[["a.\xa0m.","p.\xa0m."],Ii,Ii],Ii,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],Ii,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],Ii,[["a. C.","d. C."],Ii,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",Ii,Ii,Ii],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[Ii,"$"],BRL:[Ii,"R$"],BYN:[Ii,"\u0440."],CAD:[Ii,"$"],CNY:[Ii,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[Ii,"\xa3"],HKD:[Ii,"$"],ILS:[Ii,"\u20aa"],INR:[Ii,"\u20b9"],JPY:[Ii,"\xa5"],KRW:[Ii,"\u20a9"],MXN:[Ii,"$"],NZD:[Ii,"$"],PHP:[Ii,"\u20b1"],RON:[Ii,"L"],THB:["\u0e3f"],TWD:[Ii,"NT$"],USD:["US$","$"],XAF:[],XCD:[Ii,"$"],XOF:[]},"ltr",function mje(n){const t=n,e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(n.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===t?1:0===s&&0!==e&&e%1e6==0&&0===i||!(s>=0&&s<=5)?4:5}],Ql=void 0,vje=["nl",[["a.m.","p.m."],Ql,Ql],Ql,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],Ql,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],Ql,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",Ql,"{1} 'om' {0}",Ql],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00;\xa4\xa0-#,##0.00","#E0"],"EUR","\u20ac","Euro",{AUD:["AU$","$"],BYN:[Ql,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xa5","\xa5"],PHP:[Ql,"\u20b1"],RUR:[Ql,"\u0440."],SBD:["SI$","$"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",function yje(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}],Bs=void 0,wje=["de",[["AM","PM"],Bs,Bs],Bs,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],Bs,Bs],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",Bs,"{1} 'um' {0}",Bs],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[Bs,"\u0440."],CUC:[Bs,"Cub$"],DEM:["DM"],FKP:[Bs,"Fl\xa3"],GHS:[Bs,"\u20b5"],GNF:[Bs,"F.G."],KMF:[Bs,"FC"],PHP:[Bs,"\u20b1"],RON:[Bs,"L"],RUR:[Bs,"\u0440."],RWF:[Bs,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[Bs,"K"]},"ltr",function bje(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}],Yf=void 0,Mje=["fi",[["ap.","ip."],Yf,Yf],Yf,[["S","M","T","K","T","P","L"],["su","ma","ti","ke","to","pe","la"],["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"],["su","ma","ti","ke","to","pe","la"]],[["S","M","T","K","T","P","L"],["su","ma","ti","ke","to","pe","la"],["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["su","ma","ti","ke","to","pe","la"]],[["T","H","M","H","T","K","H","E","S","L","M","J"],["tammik.","helmik.","maalisk.","huhtik.","toukok.","kes\xe4k.","hein\xe4k.","elok.","syysk.","lokak.","marrask.","jouluk."],["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kes\xe4kuuta","hein\xe4kuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]],[["T","H","M","H","T","K","H","E","S","L","M","J"],["tammi","helmi","maalis","huhti","touko","kes\xe4","hein\xe4","elo","syys","loka","marras","joulu"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kes\xe4kuu","hein\xe4kuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]],[["eKr","jKr"],["eKr.","jKr."],["ennen Kristuksen syntym\xe4\xe4","j\xe4lkeen Kristuksen syntym\xe4n"]],1,[6,0],["d.M.y",Yf,"d. MMMM y","cccc d. MMMM y"],["H.mm","H.mm.ss","H.mm.ss z","H.mm.ss zzzz"],["{1} {0}","{1} 'klo' {0}",Yf,Yf],[",","\xa0",";","%","+","\u2212","E","\xd7","\u2030","\u221e","ep\xe4luku","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AOA:[],ARS:[],AUD:[],BAM:[],BBD:[],BDT:[],BMD:[],BND:[],BOB:[],BRL:[],BSD:[],BWP:[],BZD:[],CAD:[],CLP:[],CNY:[],COP:[],CRC:[],CUC:[],CUP:[],CZK:[],DKK:[],DOP:[],EGP:[],ESP:[],FIM:["mk"],FJD:[],FKP:[],GEL:[],GIP:[],GNF:[],GTQ:[],GYD:[],HKD:[],HNL:[],HRK:[],HUF:[],IDR:[],ILS:[],INR:[],ISK:[],JMD:[],KHR:[],KMF:[],KPW:[],KRW:[],KYD:[],KZT:[],LAK:[],LBP:[],LKR:[],LRD:[],LTL:[],LVL:[],MGA:[],MMK:[],MNT:[],MUR:[],MXN:[],MYR:[],NAD:[],NGN:[],NIO:[],NOK:[],NPR:[],NZD:[],PHP:[],PKR:[],PLN:[],PYG:[],RON:[],RWF:[],SBD:[],SEK:[],SGD:[],SHP:[],SRD:[],SSP:[],STN:[Yf,"STD"],SYP:[],THB:[],TOP:[],TRY:[],TTD:[],TWD:[],UAH:[],UYU:[],VEF:[],VND:[],XCD:[],XPF:[],XXX:[],ZAR:[],ZMW:[]},"ltr",function Cje(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}],rl=void 0,xje=["ru",[["AM","PM"],rl,rl],rl,[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],rl,[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",rl,rl,rl],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{BYN:[rl,"\u0440."],GEL:[rl,"\u10da"],PHP:[rl,"\u20b1"],RON:[rl,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function Dje(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 0===i&&e%10==1&&e%100!=11?1:0===i&&e%10===Math.floor(e%10)&&e%10>=2&&e%10<=4&&!(e%100>=12&&e%100<=14)?3:0===i&&e%10==0||0===i&&e%10===Math.floor(e%10)&&e%10>=5&&e%10<=9||0===i&&e%100===Math.floor(e%100)&&e%100>=11&&e%100<=14?4:5}],oi=void 0,Tje=["en-AU",[["am","pm"],oi,oi],oi,[["Su.","M.","Tu.","W.","Th.","F.","Sa."],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mon","Tu","Wed","Th","Fri","Sat"]],oi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["d/M/yy","d MMM y","d MMMM y","EEEE, d MMMM y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",oi,"{1} 'at' {0}",oi],[".",",",";","%","+","-","e","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"AUD","$","Australian Dollar",{AUD:["$"],BDT:[oi,"Tk"],BRL:[oi,"R$"],CAD:[oi,"$"],CNY:[oi,"\xa5"],CUP:[oi,"\u20b1"],EGP:[oi,"\xa3"],EUR:[oi,"\u20ac"],GBP:[oi,"\xa3"],HKD:[oi,"$"],ILS:[oi,"\u20aa"],INR:[oi,"\u20b9"],ISK:[oi,"Kr"],JPY:[oi,"\xa5"],KRW:[oi,"\u20a9"],MXN:[oi,"$"],NZD:[oi,"$"],PHP:[oi,"\u20b1"],PYG:[oi,"Gs"],SCR:["Rs"],SEK:[oi,"Kr"],TWD:[oi,"$"],USD:[oi,"$"],UYU:[oi,"$U"],VND:[oi,"\u20ab"],XAF:[],XCD:[oi,"$"],XOF:[],XPF:["CFP"]},"ltr",function Sje(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];kh(gje,"fr"),kh(_je,"es"),kh(vje,"nl"),kh(wje,"de"),kh(Mje,"fi"),kh(xje,"ru"),kh(Tje,"en-au");const Eje={provide:gw,useExisting:ND,multi:!0},kje={provide:gw,useExisting:wI,multi:!0},Oje={provide:gw,useExisting:CI,multi:!0},Lje=!("animate"in document.documentElement)||navigator&&/iPhone OS (8|9|10|11|12|13)_/.test(navigator.userAgent);function Pje(n){return new Gfe(n)}let Ije=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=pn({type:n,bootstrap:[IPe]});static#n=this.\u0275inj=dn({providers:[{provide:Qo,useClass:NPe},vPe,Eje,kje,jPe,Oje,HPe,{provide:La,deps:[Et,FD],useFactory:FPe},{provide:Pf,useClass:VPe},ywe(_we())],imports:[xg,Zj,Jae.withConfig({disableAnimations:Lje}),fje,NI,Qre,H0.forRoot(),zP,mC.forRoot({loader:{provide:av,useFactory:Pje,deps:[fs]}})]})}return n})();Pi_google_analyticsAccountId&&(ga("create",Pi_google_analyticsAccountId,"auto"),ga("send","pageview")),sre().bootstrapModule(Ije)},67587:(we,de,V)=>{"use strict";var T=V(37427);de.compose=function g(){for(var w=[],y=0;y<arguments.length;y++)w[y]=arguments[y];return w.reverse(),T.pipe.apply(void 0,[w[0]].concat(w.slice(1)))}},2216:(we,de)=>{"use strict";de.curry=function V(T){for(var g=[],w=1;w<arguments.length;w++)g[w-1]=arguments[w];return T.length===g.length?T.apply(void 0,g):V.bind.apply(V,[this,T].concat(g))}},34843:(we,de,V)=>{"use strict";function T(g){for(var w in g)de.hasOwnProperty(w)||(de[w]=g[w])}T(V(67587)),T(V(2216)),T(V(9979)),T(V(37427))},9979:(we,de)=>{"use strict";var V=function(){function T(g){this.val=g,this.then=this.do}return T.just=function(g){return new T(g)},T.nothing=function(){return new T(null)},Object.defineProperty(T.prototype,"value",{get:function(){return this.val},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"hasValue",{get:function(){return null!=this.val},enumerable:!0,configurable:!0}),T.prototype.bindFn=function(g){return this.hasValue?g(this.value):T.nothing()},T.prototype.do=function(g){return this.hasValue&&g(this.value),new T(this.value)},T.prototype.equals=function(g){return g.value===this.value},T.prototype.filter=function(g){return this.hasValue&&g(this.value)?T.just(this.value):T.nothing()},T.prototype.map=function(g){var w=this;return this.bindFn(function(y){return w.wrap(g(w.value))})},T.prototype.or=function(g){return this.hasValue?this.value:g()},T.prototype.orElse=function(g){return this.hasValue||g(),new T(this.value)},T.prototype.orError=function(g){if(this.hasValue)return this.value;throw new Error(g)},T.prototype.wrap=function(g){return new T(g)},T}();de.Maybe=V},37427:(we,de)=>{"use strict";de.pipe=function V(T){for(var g=[],w=1;w<arguments.length;w++)g[w-1]=arguments[w];return function(){for(var y=[],C=0;C<arguments.length;C++)y[C]=arguments[C];return g.length?V.apply(void 0,[g[0]].concat(g.slice(1)))(T.apply(void 0,y)):T.apply(void 0,y)}}},48932:function(we){we.exports=function(de){var V={};function T(g){if(V[g])return V[g].exports;var w=V[g]={i:g,l:!1,exports:{}};return de[g].call(w.exports,w,w.exports,T),w.l=!0,w.exports}return T.m=de,T.c=V,T.i=function(g){return g},T.d=function(g,w,y){T.o(g,w)||Object.defineProperty(g,w,{configurable:!1,enumerable:!0,get:y})},T.n=function(g){var w=g&&g.__esModule?function(){return g.default}:function(){return g};return T.d(w,"a",w),w},T.o=function(g,w){return Object.prototype.hasOwnProperty.call(g,w)},T.p="",T(T.s=4)}([function(de,V,T){"use strict";V.pipe=function g(w){for(var y=[],C=1;C<arguments.length;C++)y[C-1]=arguments[C];return function(){for(var S=[],E=0;E<arguments.length;E++)S[E]=arguments[E];return y.length?g.apply(void 0,[y[0]].concat(y.slice(1)))(w.apply(void 0,S)):w.apply(void 0,S)}}},function(de,V,T){"use strict";var g=T(0);V.compose=function w(){for(var y=[],C=0;C<arguments.length;C++)y[C]=arguments[C];return y.reverse(),g.pipe.apply(void 0,[y[0]].concat(y.slice(1)))}},function(de,V,T){"use strict";V.curry=function g(w){for(var y=[],C=1;C<arguments.length;C++)y[C-1]=arguments[C];return w.length===y.length?w.apply(void 0,y):g.bind.apply(g,[this,w].concat(y))}},function(de,V,T){"use strict";var g=function(){function w(y){this.val=y,this.then=this.do}return w.just=function(y){return new w(y)},w.nothing=function(){return new w(null)},Object.defineProperty(w.prototype,"value",{get:function(){return this.val},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"hasValue",{get:function(){return null!=this.val},enumerable:!0,configurable:!0}),w.prototype.bindFn=function(y){return this.hasValue?y(this.value):w.nothing()},w.prototype.do=function(y){return this.hasValue&&y(this.value),new w(this.value)},w.prototype.equals=function(y){return y.value===this.value},w.prototype.filter=function(y){return this.hasValue&&y(this.value)?w.just(this.value):w.nothing()},w.prototype.map=function(y){var C=this;return this.bindFn(function(S){return C.wrap(y(C.value))})},w.prototype.or=function(y){return this.hasValue?this.value:y()},w.prototype.orElse=function(y){return this.hasValue||y(),new w(this.value)},w.prototype.orError=function(y){if(this.hasValue)return this.value;throw new Error(y)},w.prototype.wrap=function(y){return new w(y)},w}();V.Maybe=g},function(de,V,T){"use strict";function g(w){for(var y in w)V.hasOwnProperty(y)||(V[y]=w[y])}g(T(1)),g(T(2)),g(T(3)),g(T(0))}])},80027:function(we,de,V){var T,g,w;!function(y,C){"use strict";g=[V(4539)],T=function(C){var S=/(^|@)\S+:\d+/,E=/^\s*at .*(\S+:\d+|\(native\))/m,A=/^(eval@)?(\[native code])?$/;return{parse:function(Q){if(typeof Q.stacktrace<"u"||typeof Q["opera#sourceloc"]<"u")return this.parseOpera(Q);if(Q.stack&&Q.stack.match(E))return this.parseV8OrIE(Q);if(Q.stack)return this.parseFFOrSafari(Q);throw new Error("Cannot parse given Error object")},extractLocation:function(Q){if(-1===Q.indexOf(":"))return[Q];var se=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(Q.replace(/[()]/g,""));return[se[1],se[2]||void 0,se[3]||void 0]},parseV8OrIE:function(Q){return Q.stack.split("\n").filter(function(se){return!!se.match(E)},this).map(function(se){se.indexOf("(eval ")>-1&&(se=se.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var me=se.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),ue=me.match(/ (\(.+\)$)/);me=ue?me.replace(ue[0],""):me;var U=this.extractLocation(ue?ue[1]:me),ne=ue&&me||void 0,$=["eval","<anonymous>"].indexOf(U[0])>-1?void 0:U[0];return new C({functionName:ne,fileName:$,lineNumber:U[1],columnNumber:U[2],source:se})},this)},parseFFOrSafari:function(Q){return Q.stack.split("\n").filter(function(se){return!se.match(A)},this).map(function(se){if(se.indexOf(" > eval")>-1&&(se=se.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===se.indexOf("@")&&-1===se.indexOf(":"))return new C({functionName:se});var me=/((.*".+"[^@]*)?[^@]*)(?:@)/,ue=se.match(me),U=ue&&ue[1]?ue[1]:void 0,ne=this.extractLocation(se.replace(me,""));return new C({functionName:U,fileName:ne[0],lineNumber:ne[1],columnNumber:ne[2],source:se})},this)},parseOpera:function(Q){return!Q.stacktrace||Q.message.indexOf("\n")>-1&&Q.message.split("\n").length>Q.stacktrace.split("\n").length?this.parseOpera9(Q):Q.stack?this.parseOpera11(Q):this.parseOpera10(Q)},parseOpera9:function(Q){for(var te=/Line (\d+).*script (?:in )?(\S+)/i,se=Q.message.split("\n"),me=[],ue=2,U=se.length;ue<U;ue+=2){var ne=te.exec(se[ue]);ne&&me.push(new C({fileName:ne[2],lineNumber:ne[1],source:se[ue]}))}return me},parseOpera10:function(Q){for(var te=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,se=Q.stacktrace.split("\n"),me=[],ue=0,U=se.length;ue<U;ue+=2){var ne=te.exec(se[ue]);ne&&me.push(new C({functionName:ne[3]||void 0,fileName:ne[2],lineNumber:ne[1],source:se[ue]}))}return me},parseOpera11:function(Q){return Q.stack.split("\n").filter(function(se){return!!se.match(S)&&!se.match(/^Error created at/)},this).map(function(se){var $,me=se.split("@"),ue=this.extractLocation(me.pop()),U=me.shift()||"",ne=U.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;U.match(/\(([^)]*)\)/)&&($=U.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var ae=void 0===$||"[arguments not available]"===$?void 0:$.split(",");return new C({functionName:ne,args:ae,fileName:ue[0],lineNumber:ue[1],columnNumber:ue[2],source:se})},this)}}},void 0!==(w=T.apply(de,g))&&(we.exports=w)}()},17383:(we,de)=>{de.read=function(V,T,g,w,y){var C,S,E=8*y-w-1,A=(1<<E)-1,I=A>>1,Q=-7,te=g?y-1:0,se=g?-1:1,me=V[T+te];for(te+=se,C=me&(1<<-Q)-1,me>>=-Q,Q+=E;Q>0;C=256*C+V[T+te],te+=se,Q-=8);for(S=C&(1<<-Q)-1,C>>=-Q,Q+=w;Q>0;S=256*S+V[T+te],te+=se,Q-=8);if(0===C)C=1-I;else{if(C===A)return S?NaN:1/0*(me?-1:1);S+=Math.pow(2,w),C-=I}return(me?-1:1)*S*Math.pow(2,C-w)},de.write=function(V,T,g,w,y,C){var S,E,A,I=8*C-y-1,Q=(1<<I)-1,te=Q>>1,se=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,me=w?0:C-1,ue=w?1:-1,U=T<0||0===T&&1/T<0?1:0;for(T=Math.abs(T),isNaN(T)||T===1/0?(E=isNaN(T)?1:0,S=Q):(S=Math.floor(Math.log(T)/Math.LN2),T*(A=Math.pow(2,-S))<1&&(S--,A*=2),(T+=S+te>=1?se/A:se*Math.pow(2,1-te))*A>=2&&(S++,A/=2),S+te>=Q?(E=0,S=Q):S+te>=1?(E=(T*A-1)*Math.pow(2,y),S+=te):(E=T*Math.pow(2,te-1)*Math.pow(2,y),S=0));y>=8;V[g+me]=255&E,me+=ue,E/=256,y-=8);for(S=S<<y|E,I+=y;I>0;V[g+me]=255&S,me+=ue,S/=256,I-=8);V[g+me-ue]|=128*U}},85637:function(we,de,V){!function(T){"use strict";T.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(w){return/^nm$/i.test(w)},meridiem:function(w,y,C){return w<12?C?"vm":"VM":C?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(w){return w+(1===w||8===w||w>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(39545))},74508:function(we,de,V){!function(T){"use strict";var g=function(E){return 0===E?0:1===E?1:2===E?2:E%100>=3&&E%100<=10?3:E%100>=11?4:5},w={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},y=function(E){return function(A,I,Q,te){var se=g(A),me=w[E][g(A)];return 2===se&&(me=me[I?0:1]),me.replace(/%d/i,A)}},C=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar-dz",{months:C,monthsShort:C,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(E){return"\u0645"===E},meridiem:function(E,A,I){return E<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:y("s"),ss:y("s"),m:y("m"),mm:y("m"),h:y("h"),hh:y("h"),d:y("d"),dd:y("d"),M:y("M"),MM:y("M"),y:y("y"),yy:y("y")},postformat:function(E){return E.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(V(39545))},67504:function(we,de,V){!function(T){"use strict";T.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(V(39545))},95373:function(we,de,V){!function(T){"use strict";var g={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},w=function(A){return 0===A?0:1===A?1:2===A?2:A%100>=3&&A%100<=10?3:A%100>=11?4:5},y={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},C=function(A){return function(I,Q,te,se){var me=w(I),ue=y[A][w(I)];return 2===me&&(ue=ue[Q?0:1]),ue.replace(/%d/i,I)}},S=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar-ly",{months:S,monthsShort:S,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(A){return"\u0645"===A},meridiem:function(A,I,Q){return A<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(A){return A.replace(/\u060c/g,",")},postformat:function(A){return A.replace(/\d/g,function(I){return g[I]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(V(39545))},92412:function(we,de,V){!function(T){"use strict";T.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(V(39545))},78823:function(we,de,V){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,S,E){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(C){return C.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(S){return w[S]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(S){return w[S]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(V(39545))},36670:function(we,de,V){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,S,E){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(S){return w[S]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(V(39545))},36448:function(we,de,V){!function(T){"use strict";T.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(V(39545))},6777:function(we,de,V){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},y=function(I){return 0===I?0:1===I?1:2===I?2:I%100>=3&&I%100<=10?3:I%100>=11?4:5},C={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},S=function(I){return function(Q,te,se,me){var ue=y(Q),U=C[I][y(Q)];return 2===ue&&(U=U[te?0:1]),U.replace(/%d/i,Q)}},E=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];T.defineLocale("ar",{months:E,monthsShort:E,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(I){return"\u0645"===I},meridiem:function(I,Q,te){return I<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:S("s"),ss:S("s"),m:S("m"),mm:S("m"),h:S("h"),hh:S("h"),d:S("d"),dd:S("d"),M:S("M"),MM:S("M"),y:S("y"),yy:S("y")},preparse:function(I){return I.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(Q){return w[Q]}).replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(Q){return g[Q]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(V(39545))},23009:function(we,de,V){!function(T){"use strict";var g={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};T.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(y){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(y)},meridiem:function(y,C,S){return y<4?"gec\u0259":y<12?"s\u0259h\u0259r":y<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(y){if(0===y)return y+"-\u0131nc\u0131";var C=y%10;return y+(g[C]||g[y%100-C]||g[y>=100?100:null])},week:{dow:1,doy:7}})}(V(39545))},28299:function(we,de,V){!function(T){"use strict";function w(C,S,E){return"m"===E?S?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===E?S?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function g(C,S){var E=C.split("_");return S%10==1&&S%100!=11?E[0]:S%10>=2&&S%10<=4&&(S%100<10||S%100>=20)?E[1]:E[2]}({ss:S?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:S?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:S?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[E],+C)}T.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:w,mm:w,h:w,hh:w,d:"\u0434\u0437\u0435\u043d\u044c",dd:w,M:"\u043c\u0435\u0441\u044f\u0446",MM:w,y:"\u0433\u043e\u0434",yy:w},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,S,E){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,S){switch(S){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(V(39545))},4685:function(we,de,V){!function(T){"use strict";T.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(w){var y=w%10,C=w%100;return 0===w?w+"-\u0435\u0432":0===C?w+"-\u0435\u043d":C>10&&C<20?w+"-\u0442\u0438":1===y?w+"-\u0432\u0438":2===y?w+"-\u0440\u0438":7===y||8===y?w+"-\u043c\u0438":w+"-\u0442\u0438"},week:{dow:1,doy:7}})}(V(39545))},11171:function(we,de,V){!function(T){"use strict";T.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(V(39545))},5841:function(we,de,V){!function(T){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},w={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===S?C<4?C:C+12:"\u09ad\u09cb\u09b0"===S||"\u09b8\u0995\u09be\u09b2"===S?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===S?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===S||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===S?C+12:void 0},meridiem:function(C,S,E){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(V(39545))},23590:function(we,de,V){!function(T){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},w={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===S&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===S&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===S?C+12:C},meridiem:function(C,S,E){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(V(39545))},54309:function(we,de,V){!function(T){"use strict";var g={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},w={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};T.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===S&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===S&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===S?C+12:C},meridiem:function(C,S,E){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(V(39545))},54130:function(we,de,V){!function(T){"use strict";function g(U,ne,$){return U+" "+function C(U,ne){return 2===ne?function S(U){var ne={m:"v",b:"v",d:"z"};return void 0===ne[U.charAt(0)]?U:ne[U.charAt(0)]+U.substring(1)}(U):U}({mm:"munutenn",MM:"miz",dd:"devezh"}[$],U)}function y(U){return U>9?y(U%10):U}var E=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],A=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,me=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];T.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:me,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:me,monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:E,longMonthsParse:E,shortMonthsParse:E,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:g,h:"un eur",hh:"%d eur",d:"un devezh",dd:g,M:"ur miz",MM:g,y:"ur bloaz",yy:function w(U){switch(y(U)){case 1:case 3:case 4:case 5:case 9:return U+" bloaz";default:return U+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(U){return U+(1===U?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(U){return"g.m."===U},meridiem:function(U,ne,$){return U<12?"a.m.":"g.m."}})}(V(39545))},8033:function(we,de,V){!function(T){"use strict";function w(C,S,E){var A=C+" ";switch(E){case"ss":return A+(1===C?"sekunda":2===C||3===C||4===C?"sekunde":"sekundi");case"mm":return A+(1===C?"minuta":2===C||3===C||4===C?"minute":"minuta");case"h":return"jedan sat";case"hh":return A+(1===C?"sat":2===C||3===C||4===C?"sata":"sati");case"dd":return A+(1===C?"dan":"dana");case"MM":return A+(1===C?"mjesec":2===C||3===C||4===C?"mjeseca":"mjeseci");case"yy":return A+(1===C?"godina":2===C||3===C||4===C?"godine":"godina")}}T.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:w,m:function g(C,S,E,A){if("m"===E)return S?"jedna minuta":A?"jednu minutu":"jedne minute"},mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},55294:function(we,de,V){!function(T){"use strict";T.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(w,y){var C=1===w?"r":2===w?"n":3===w?"r":4===w?"t":"\xe8";return("w"===y||"W"===y)&&(C="a"),w+C},week:{dow:1,doy:4}})}(V(39545))},53028:function(we,de,V){!function(T){"use strict";var g={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},w="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),y=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],C=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function S(I){return I>1&&I<5&&1!=~~(I/10)}function E(I,Q,te,se){var me=I+" ";switch(te){case"s":return Q||se?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return Q||se?me+(S(I)?"sekundy":"sekund"):me+"sekundami";case"m":return Q?"minuta":se?"minutu":"minutou";case"mm":return Q||se?me+(S(I)?"minuty":"minut"):me+"minutami";case"h":return Q?"hodina":se?"hodinu":"hodinou";case"hh":return Q||se?me+(S(I)?"hodiny":"hodin"):me+"hodinami";case"d":return Q||se?"den":"dnem";case"dd":return Q||se?me+(S(I)?"dny":"dn\xed"):me+"dny";case"M":return Q||se?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return Q||se?me+(S(I)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):me+"m\u011bs\xedci";case"y":return Q||se?"rok":"rokem";case"yy":return Q||se?me+(S(I)?"roky":"let"):me+"lety"}}T.defineLocale("cs",{months:g,monthsShort:w,monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},5807:function(we,de,V){!function(T){"use strict";T.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(w){return w+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(w)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(w)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(V(39545))},70342:function(we,de,V){!function(T){"use strict";T.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(w){var C="";return w>20?C=40===w||50===w||60===w||80===w||100===w?"fed":"ain":w>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][w]),w+C},week:{dow:1,doy:4}})}(V(39545))},38269:function(we,de,V){!function(T){"use strict";T.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},42123:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[y+" Tage",y+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[y+" Monate",y+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[y+" Jahre",y+" Jahren"]};return C?A[S][0]:A[S][1]}T.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},17757:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[y+" Tage",y+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[y+" Monate",y+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[y+" Jahre",y+" Jahren"]};return C?A[S][0]:A[S][1]}T.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},11489:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[y+" Tage",y+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[y+" Monate",y+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[y+" Jahre",y+" Jahren"]};return C?A[S][0]:A[S][1]}T.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},28152:function(we,de,V){!function(T){"use strict";var g=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],w=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];T.defineLocale("dv",{months:g,monthsShort:g,weekdays:w,weekdaysShort:w,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(C){return"\u0789\u078a"===C},meridiem:function(C,S,E){return C<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(V(39545))},7687:function(we,de,V){!function(T){"use strict";T.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(y,C){return y?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[y.month()]:this._monthsNominativeEl[y.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(y,C,S){return y>11?S?"\u03bc\u03bc":"\u039c\u039c":S?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(y){return"\u03bc"===(y+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(y,C){var S=this._calendarEl[y],E=C&&C.hours();return function g(y){return typeof Function<"u"&&y instanceof Function||"[object Function]"===Object.prototype.toString.call(y)}(S)&&(S=S.apply(C)),S.replace("{}",E%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(V(39545))},46668:function(we,de,V){!function(T){"use strict";T.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:0,doy:4}})}(V(39545))},76798:function(we,de,V){!function(T){"use strict";T.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")}})}(V(39545))},53615:function(we,de,V){!function(T){"use strict";T.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(V(39545))},91364:function(we,de,V){!function(T){"use strict";T.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(V(39545))},79907:function(we,de,V){!function(T){"use strict";T.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")}})}(V(39545))},70533:function(we,de,V){!function(T){"use strict";T.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:0,doy:6}})}(V(39545))},33190:function(we,de,V){!function(T){"use strict";T.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(V(39545))},51096:function(we,de,V){!function(T){"use strict";T.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(V(39545))},3962:function(we,de,V){!function(T){"use strict";T.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(w){return"p"===w.charAt(0).toLowerCase()},meridiem:function(w,y,C){return w>11?C?"p.t.m.":"P.T.M.":C?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(V(39545))},65010:function(we,de,V){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,A){return E?/-MMM-/.test(A)?w[E.month()]:g[E.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},63654:function(we,de,V){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,A){return E?/-MMM-/.test(A)?w[E.month()]:g[E.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(V(39545))},59043:function(we,de,V){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,A){return E?/-MMM-/.test(A)?w[E.month()]:g[E.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(V(39545))},37726:function(we,de,V){!function(T){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;T.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(E,A){return E?/-MMM-/.test(A)?w[E.month()]:g[E.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(V(39545))},25343:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[y+"sekundi",y+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[y+" minuti",y+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[y+" tunni",y+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[y+" kuu",y+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[y+" aasta",y+" aastat"]};return C?A[S][2]?A[S][2]:A[S][1]:E?A[S][0]:A[S][1]}T.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:"%d p\xe4eva",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},90728:function(we,de,V){!function(T){"use strict";T.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},60787:function(we,de,V){!function(T){"use strict";var g={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},w={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};T.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,S,E){return C<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/[\u06f0-\u06f9]/g,function(S){return w[S]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(V(39545))},71771:function(we,de,V){!function(T){"use strict";var g="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),w=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",g[7],g[8],g[9]];function y(E,A,I,Q){var te="";switch(I){case"s":return Q?"muutaman sekunnin":"muutama sekunti";case"ss":te=Q?"sekunnin":"sekuntia";break;case"m":return Q?"minuutin":"minuutti";case"mm":te=Q?"minuutin":"minuuttia";break;case"h":return Q?"tunnin":"tunti";case"hh":te=Q?"tunnin":"tuntia";break;case"d":return Q?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":te=Q?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return Q?"kuukauden":"kuukausi";case"MM":te=Q?"kuukauden":"kuukautta";break;case"y":return Q?"vuoden":"vuosi";case"yy":te=Q?"vuoden":"vuotta"}return function C(E,A){return E<10?A?w[E]:g[E]:E}(E,Q)+" "+te}T.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},45335:function(we,de,V){!function(T){"use strict";T.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(w){return w},week:{dow:1,doy:4}})}(V(39545))},69761:function(we,de,V){!function(T){"use strict";T.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},28991:function(we,de,V){!function(T){"use strict";T.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(w,y){switch(y){default:case"M":case"Q":case"D":case"DDD":case"d":return w+(1===w?"er":"e");case"w":case"W":return w+(1===w?"re":"e")}}})}(V(39545))},97280:function(we,de,V){!function(T){"use strict";T.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(w,y){switch(y){default:case"M":case"Q":case"D":case"DDD":case"d":return w+(1===w?"er":"e");case"w":case"W":return w+(1===w?"re":"e")}},week:{dow:1,doy:4}})}(V(39545))},1670:function(we,de,V){!function(T){"use strict";var y=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,C=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];T.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(E,A){switch(A){case"D":return E+(1===E?"er":"");default:case"M":case"Q":case"DDD":case"d":return E+(1===E?"er":"e");case"w":case"W":return E+(1===E?"re":"e")}},week:{dow:1,doy:4}})}(V(39545))},24203:function(we,de,V){!function(T){"use strict";var g="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),w="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");T.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,S){return C?/-MMM-/.test(S)?w[C.month()]:g[C.month()]:g},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(39545))},69858:function(we,de,V){!function(T){"use strict";T.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(A){return A+(1===A?"d":A%10==2?"na":"mh")},week:{dow:1,doy:4}})}(V(39545))},38605:function(we,de,V){!function(T){"use strict";T.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(A){return A+(1===A?"d":A%10==2?"na":"mh")},week:{dow:1,doy:4}})}(V(39545))},27365:function(we,de,V){!function(T){"use strict";T.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(w){return 0===w.indexOf("un")?"n"+w:"en "+w},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},33896:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[y+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",y+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[y+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",y+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[y+" \u0935\u0930\u093e\u0902\u0928\u0940",y+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[y+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",y+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[y+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",y+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[y+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",y+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return E?A[S][0]:A[S][1]}T.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(y,C){return"D"===C?y+"\u0935\u0947\u0930":y},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0930\u093e\u0924\u0940"===C?y<4?y:y+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?y:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?y>12?y:y+12:"\u0938\u093e\u0902\u091c\u0947"===C?y+12:void 0},meridiem:function(y,C,S){return y<4?"\u0930\u093e\u0924\u0940":y<12?"\u0938\u0915\u093e\u0933\u0940\u0902":y<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":y<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(V(39545))},95587:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A={s:["thoddea sekondamni","thodde sekond"],ss:[y+" sekondamni",y+" sekond"],m:["eka mintan","ek minut"],mm:[y+" mintamni",y+" mintam"],h:["eka voran","ek vor"],hh:[y+" voramni",y+" voram"],d:["eka disan","ek dis"],dd:[y+" disamni",y+" dis"],M:["eka mhoinean","ek mhoino"],MM:[y+" mhoineamni",y+" mhoine"],y:["eka vorsan","ek voros"],yy:[y+" vorsamni",y+" vorsam"]};return E?A[S][0]:A[S][1]}T.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(y,C){return"D"===C?y+"er":y},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(y,C){return 12===y&&(y=0),"rati"===C?y<4?y:y+12:"sokallim"===C?y:"donparam"===C?y>12?y:y+12:"sanje"===C?y+12:void 0},meridiem:function(y,C,S){return y<4?"rati":y<12?"sokallim":y<16?"donparam":y<20?"sanje":"rati"}})}(V(39545))},97950:function(we,de,V){!function(T){"use strict";var g={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},w={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};T.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===S?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===S?C:"\u0aac\u0aaa\u0acb\u0ab0"===S?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===S?C+12:void 0},meridiem:function(C,S,E){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(V(39545))},92029:function(we,de,V){!function(T){"use strict";T.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(w){return 2===w?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":w+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(w){return 2===w?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":w+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(w){return 2===w?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":w+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(w){return 2===w?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":w%10==0&&10!==w?w+" \u05e9\u05e0\u05d4":w+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(w){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(w)},meridiem:function(w,y,C){return w<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":w<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":w<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":w<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(V(39545))},51897:function(we,de,V){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},w={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},y=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];T.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:y,longMonthsParse:y,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(E){return E.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(A){return w[A]})},postformat:function(E){return E.replace(/\d/g,function(A){return g[A]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(E,A){return 12===E&&(E=0),"\u0930\u093e\u0924"===A?E<4?E:E+12:"\u0938\u0941\u092c\u0939"===A?E:"\u0926\u094b\u092a\u0939\u0930"===A?E>=10?E:E+12:"\u0936\u093e\u092e"===A?E+12:void 0},meridiem:function(E,A,I){return E<4?"\u0930\u093e\u0924":E<10?"\u0938\u0941\u092c\u0939":E<17?"\u0926\u094b\u092a\u0939\u0930":E<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(V(39545))},29816:function(we,de,V){!function(T){"use strict";function g(y,C,S){var E=y+" ";switch(S){case"ss":return E+(1===y?"sekunda":2===y||3===y||4===y?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return E+(1===y?"minuta":2===y||3===y||4===y?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return E+(1===y?"sat":2===y||3===y||4===y?"sata":"sati");case"dd":return E+(1===y?"dan":"dana");case"MM":return E+(1===y?"mjesec":2===y||3===y||4===y?"mjeseca":"mjeseci");case"yy":return E+(1===y?"godina":2===y||3===y||4===y?"godine":"godina")}}T.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},22253:function(we,de,V){!function(T){"use strict";var g="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function w(S,E,A,I){var Q=S;switch(A){case"s":return I||E?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return Q+(I||E)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(I||E?" perc":" perce");case"mm":return Q+(I||E?" perc":" perce");case"h":return"egy"+(I||E?" \xf3ra":" \xf3r\xe1ja");case"hh":return Q+(I||E?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(I||E?" nap":" napja");case"dd":return Q+(I||E?" nap":" napja");case"M":return"egy"+(I||E?" h\xf3nap":" h\xf3napja");case"MM":return Q+(I||E?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(I||E?" \xe9v":" \xe9ve");case"yy":return Q+(I||E?" \xe9v":" \xe9ve")}return""}function y(S){return(S?"":"[m\xfalt] ")+"["+g[this.day()]+"] LT[-kor]"}T.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(S){return"u"===S.charAt(1).toLowerCase()},meridiem:function(S,E,A){return S<12?!0===A?"de":"DE":!0===A?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return y.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return y.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},28196:function(we,de,V){!function(T){"use strict";T.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(w){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(w)},meridiem:function(w){return w<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":w<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":w<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(w,y){switch(y){case"DDD":case"w":case"W":case"DDDo":return 1===w?w+"-\u056b\u0576":w+"-\u0580\u0564";default:return w}},week:{dow:1,doy:7}})}(V(39545))},51307:function(we,de,V){!function(T){"use strict";T.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(w,y){return 12===w&&(w=0),"pagi"===y?w:"siang"===y?w>=11?w:w+12:"sore"===y||"malam"===y?w+12:void 0},meridiem:function(w,y,C){return w<11?"pagi":w<15?"siang":w<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(V(39545))},95474:function(we,de,V){!function(T){"use strict";function g(C){return C%100==11||C%10!=1}function w(C,S,E,A){var I=C+" ";switch(E){case"s":return S||A?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return g(C)?I+(S||A?"sek\xfandur":"sek\xfandum"):I+"sek\xfanda";case"m":return S?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return g(C)?I+(S||A?"m\xedn\xfatur":"m\xedn\xfatum"):S?I+"m\xedn\xfata":I+"m\xedn\xfatu";case"hh":return g(C)?I+(S||A?"klukkustundir":"klukkustundum"):I+"klukkustund";case"d":return S?"dagur":A?"dag":"degi";case"dd":return g(C)?S?I+"dagar":I+(A?"daga":"d\xf6gum"):S?I+"dagur":I+(A?"dag":"degi");case"M":return S?"m\xe1nu\xf0ur":A?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return g(C)?S?I+"m\xe1nu\xf0ir":I+(A?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):S?I+"m\xe1nu\xf0ur":I+(A?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return S||A?"\xe1r":"\xe1ri";case"yy":return g(C)?I+(S||A?"\xe1r":"\xe1rum"):I+(S||A?"\xe1r":"\xe1ri")}}T.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:w,ss:w,m:w,mm:w,h:"klukkustund",hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},45807:function(we,de,V){!function(T){"use strict";T.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(w){return(/^[0-9].+$/.test(w)?"tra":"in")+" "+w},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},23099:function(we,de,V){!function(T){"use strict";T.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},19127:function(we,de,V){!function(T){"use strict";T.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(w,y){return"\u5143"===y[1]?1:parseInt(y[1]||w,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(w){return"\u5348\u5f8c"===w},meridiem:function(w,y,C){return w<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(w){return w.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(w){return this.week()!==w.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(w,y){switch(y){case"y":return 1===w?"\u5143\u5e74":w+"\u5e74";case"d":case"D":case"DDD":return w+"\u65e5";default:return w}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(V(39545))},30182:function(we,de,V){!function(T){"use strict";T.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(w,y){return 12===w&&(w=0),"enjing"===y?w:"siyang"===y?w>=11?w:w+12:"sonten"===y||"ndalu"===y?w+12:void 0},meridiem:function(w,y,C){return w<11?"enjing":w<15?"siyang":w<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(V(39545))},10758:function(we,de,V){!function(T){"use strict";T.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(w){return w.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(y,C,S){return"\u10d8"===S?C+"\u10e8\u10d8":C+S+"\u10e8\u10d8"})},past:function(w){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(w)?w.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(w)?w.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):w},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(w){return 0===w?w:1===w?w+"-\u10da\u10d8":w<20||w<=100&&w%20==0||w%100==0?"\u10db\u10d4-"+w:w+"-\u10d4"},week:{dow:1,doy:7}})}(V(39545))},93444:function(we,de,V){!function(T){"use strict";var g={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};T.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(y){return y+(g[y]||g[y%10]||g[y>=100?100:null])},week:{dow:1,doy:7}})}(V(39545))},72034:function(we,de,V){!function(T){"use strict";var g={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},w={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};T.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,S,E){return C<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},week:{dow:1,doy:4}})}(V(39545))},46223:function(we,de,V){!function(T){"use strict";var g={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},w={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};T.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===S?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===S?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===S?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===S?C+12:void 0},meridiem:function(C,S,E){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(V(39545))},83064:function(we,de,V){!function(T){"use strict";T.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(w,y){switch(y){case"d":case"D":case"DDD":return w+"\uc77c";case"M":return w+"\uc6d4";case"w":case"W":return w+"\uc8fc";default:return w}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(w){return"\uc624\ud6c4"===w},meridiem:function(w,y,C){return w<12?"\uc624\uc804":"\uc624\ud6c4"}})}(V(39545))},10961:function(we,de,V){!function(T){"use strict";function g(C,S,E,A){var I={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[C+" san\xeeye",C+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[C+" deq\xeeqe",C+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[C+" saet",C+" saetan"],d:["rojek","rojek\xea"],dd:[C+" roj",C+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[C+" hefte",C+" hefteyan"],M:["mehek","mehek\xea"],MM:[C+" meh",C+" mehan"],y:["salek","salek\xea"],yy:[C+" sal",C+" salan"]};return S?I[E][0]:I[E][1]}T.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(C,S,E){return C<12?E?"bn":"BN":E?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,w:g,ww:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(C,S){var E=S.toLowerCase();return E.includes("w")||E.includes("m")?C+".":C+function w(C){var S=(C=""+C).substring(C.length-1),E=C.length>1?C.substring(C.length-2):"";return 12==E||13==E||"2"!=S&&"3"!=S&&"50"!=E&&"70"!=S&&"80"!=S?"\xea":"y\xea"}(C)},week:{dow:1,doy:4}})}(V(39545))},8714:function(we,de,V){!function(T){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},y=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];T.defineLocale("ku",{months:y,monthsShort:y,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(S){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(S)},meridiem:function(S,E,A){return S<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(S){return S.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(E){return w[E]}).replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(E){return g[E]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(V(39545))},12062:function(we,de,V){!function(T){"use strict";var g={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};T.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(y){return y+(g[y]||g[y%10]||g[y>=100?100:null])},week:{dow:1,doy:7}})}(V(39545))},84796:function(we,de,V){!function(T){"use strict";function g(E,A,I,Q){var te={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return A?te[I][0]:te[I][1]}function C(E){if(E=parseInt(E,10),isNaN(E))return!1;if(E<0)return!0;if(E<10)return 4<=E&&E<=7;if(E<100){var A=E%10;return C(0===A?E/10:A)}if(E<1e4){for(;E>=10;)E/=10;return C(E)}return C(E/=1e3)}T.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function w(E){return C(E.substr(0,E.indexOf(" ")))?"a "+E:"an "+E},past:function y(E){return C(E.substr(0,E.indexOf(" ")))?"viru "+E:"virun "+E},s:"e puer Sekonnen",ss:"%d Sekonnen",m:g,mm:"%d Minutten",h:g,hh:"%d Stonnen",d:g,dd:"%d Deeg",M:g,MM:"%d M\xe9int",y:g,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},19279:function(we,de,V){!function(T){"use strict";T.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(w){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===w},meridiem:function(w,y,C){return w<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(w){return"\u0e97\u0eb5\u0ec8"+w}})}(V(39545))},106:function(we,de,V){!function(T){"use strict";var g={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function y(I,Q,te,se){return Q?S(te)[0]:se?S(te)[1]:S(te)[2]}function C(I){return I%10==0||I>10&&I<20}function S(I){return g[I].split("_")}function E(I,Q,te,se){var me=I+" ";return 1===I?me+y(0,Q,te[0],se):Q?me+(C(I)?S(te)[1]:S(te)[0]):se?me+S(te)[1]:me+(C(I)?S(te)[1]:S(te)[2])}T.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function w(I,Q,te,se){return Q?"kelios sekund\u0117s":se?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:E,m:y,mm:E,h:y,hh:E,d:y,dd:E,M:y,MM:E,y,yy:E},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(I){return I+"-oji"},week:{dow:1,doy:4}})}(V(39545))},11840:function(we,de,V){!function(T){"use strict";var g={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function w(A,I,Q){return Q?I%10==1&&I%100!=11?A[2]:A[3]:I%10==1&&I%100!=11?A[0]:A[1]}function y(A,I,Q){return A+" "+w(g[Q],A,I)}function C(A,I,Q){return w(g[Q],A,I)}T.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function S(A,I){return I?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:y,m:C,mm:y,h:C,hh:y,d:C,dd:y,M:C,MM:y,y:C,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},42240:function(we,de,V){!function(T){"use strict";var g={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(y,C){return 1===y?C[0]:y>=2&&y<=4?C[1]:C[2]},translate:function(y,C,S){var E=g.words[S];return 1===S.length?C?E[0]:E[1]:y+" "+g.correctGrammaticalCase(y,E)}};T.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:"dan",dd:g.translate,M:"mjesec",MM:g.translate,y:"godinu",yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},13588:function(we,de,V){!function(T){"use strict";T.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},15518:function(we,de,V){!function(T){"use strict";T.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(w){var y=w%10,C=w%100;return 0===w?w+"-\u0435\u0432":0===C?w+"-\u0435\u043d":C>10&&C<20?w+"-\u0442\u0438":1===y?w+"-\u0432\u0438":2===y?w+"-\u0440\u0438":7===y||8===y?w+"-\u043c\u0438":w+"-\u0442\u0438"},week:{dow:1,doy:7}})}(V(39545))},37823:function(we,de,V){!function(T){"use strict";T.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(w,y){return 12===w&&(w=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===y&&w>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===y||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===y?w+12:w},meridiem:function(w,y,C){return w<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":w<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":w<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":w<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(V(39545))},98657:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){switch(S){case"s":return C?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return y+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return y+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return y+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return y+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return y+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return y+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return y}}T.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(y){return"\u04ae\u0425"===y},meridiem:function(y,C,S){return y<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(y,C){switch(C){case"d":case"D":case"DDD":return y+" \u04e9\u0434\u04e9\u0440";default:return y}}})}(V(39545))},61285:function(we,de,V){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},w={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function y(S,E,A,I){var Q="";if(E)switch(A){case"s":Q="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":Q="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":Q="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":Q="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":Q="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":Q="%d \u0924\u093e\u0938";break;case"d":Q="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":Q="%d \u0926\u093f\u0935\u0938";break;case"M":Q="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":Q="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":Q="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":Q="%d \u0935\u0930\u094d\u0937\u0947"}else switch(A){case"s":Q="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":Q="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":Q="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":Q="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":Q="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":Q="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":Q="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":Q="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":Q="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":Q="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":Q="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":Q="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return Q.replace(/%d/i,S)}T.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},preparse:function(S){return S.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return w[E]})},postformat:function(S){return S.replace(/\d/g,function(E){return g[E]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(S,E){return 12===S&&(S=0),"\u092a\u0939\u093e\u091f\u0947"===E||"\u0938\u0915\u093e\u0933\u0940"===E?S:"\u0926\u0941\u092a\u093e\u0930\u0940"===E||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===E||"\u0930\u093e\u0924\u094d\u0930\u0940"===E?S>=12?S:S+12:void 0},meridiem:function(S,E,A){return S>=0&&S<6?"\u092a\u0939\u093e\u091f\u0947":S<12?"\u0938\u0915\u093e\u0933\u0940":S<17?"\u0926\u0941\u092a\u093e\u0930\u0940":S<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(V(39545))},86253:function(we,de,V){!function(T){"use strict";T.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(w,y){return 12===w&&(w=0),"pagi"===y?w:"tengahari"===y?w>=11?w:w+12:"petang"===y||"malam"===y?w+12:void 0},meridiem:function(w,y,C){return w<11?"pagi":w<15?"tengahari":w<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(V(39545))},43014:function(we,de,V){!function(T){"use strict";T.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(w,y){return 12===w&&(w=0),"pagi"===y?w:"tengahari"===y?w>=11?w:w+12:"petang"===y||"malam"===y?w+12:void 0},meridiem:function(w,y,C){return w<11?"pagi":w<15?"tengahari":w<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(V(39545))},20167:function(we,de,V){!function(T){"use strict";T.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},47940:function(we,de,V){!function(T){"use strict";var g={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},w={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};T.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},week:{dow:1,doy:4}})}(V(39545))},50014:function(we,de,V){!function(T){"use strict";T.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},49023:function(we,de,V){!function(T){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},w={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};T.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===S?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===S?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===S?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===S?C+12:void 0},meridiem:function(C,S,E){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(V(39545))},71412:function(we,de,V){!function(T){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),w="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),y=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;T.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(E,A){return E?/-MMM-/.test(A)?w[E.month()]:g[E.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(39545))},34208:function(we,de,V){!function(T){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),w="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),y=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;T.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(E,A){return E?/-MMM-/.test(A)?w[E.month()]:g[E.month()]:g},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(E){return E+(1===E||8===E||E>=20?"ste":"de")},week:{dow:1,doy:4}})}(V(39545))},81354:function(we,de,V){!function(T){"use strict";T.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},40870:function(we,de,V){!function(T){"use strict";T.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(w,y){var C=1===w?"r":2===w?"n":3===w?"r":4===w?"t":"\xe8";return("w"===y||"W"===y)&&(C="a"),w+C},week:{dow:1,doy:4}})}(V(39545))},80389:function(we,de,V){!function(T){"use strict";var g={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},w={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};T.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,S){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===S?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===S?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===S?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===S?C+12:void 0},meridiem:function(C,S,E){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(V(39545))},7342:function(we,de,V){!function(T){"use strict";var g="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),w="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),y=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function C(A){return A%10<5&&A%10>1&&~~(A/10)%10!=1}function S(A,I,Q){var te=A+" ";switch(Q){case"ss":return te+(C(A)?"sekundy":"sekund");case"m":return I?"minuta":"minut\u0119";case"mm":return te+(C(A)?"minuty":"minut");case"h":return I?"godzina":"godzin\u0119";case"hh":return te+(C(A)?"godziny":"godzin");case"ww":return te+(C(A)?"tygodnie":"tygodni");case"MM":return te+(C(A)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return te+(C(A)?"lata":"lat")}}T.defineLocale("pl",{months:function(A,I){return A?/D MMMM/.test(I)?w[A.month()]:g[A.month()]:g},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:S,m:S,mm:S,h:S,hh:S,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:S,M:"miesi\u0105c",MM:S,y:"rok",yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},73003:function(we,de,V){!function(T){"use strict";T.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(V(39545))},34774:function(we,de,V){!function(T){"use strict";T.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(V(39545))},85333:function(we,de,V){!function(T){"use strict";function g(y,C,S){var A=" ";return(y%100>=20||y>=100&&y%100==0)&&(A=" de "),y+A+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[S]}T.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:g,m:"un minut",mm:g,h:"o or\u0103",hh:g,d:"o zi",dd:g,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:g,M:"o lun\u0103",MM:g,y:"un an",yy:g},week:{dow:1,doy:7}})}(V(39545))},73451:function(we,de,V){!function(T){"use strict";function w(S,E,A){return"m"===A?E?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":S+" "+function g(S,E){var A=S.split("_");return E%10==1&&E%100!=11?A[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?A[1]:A[2]}({ss:E?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:E?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[A],+S)}var y=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];T.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:y,longMonthsParse:y,shortMonthsParse:y,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(S){if(S.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(S){if(S.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:w,m:w,mm:w,h:"\u0447\u0430\u0441",hh:w,d:"\u0434\u0435\u043d\u044c",dd:w,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:w,M:"\u043c\u0435\u0441\u044f\u0446",MM:w,y:"\u0433\u043e\u0434",yy:w},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(S){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(S)},meridiem:function(S,E,A){return S<4?"\u043d\u043e\u0447\u0438":S<12?"\u0443\u0442\u0440\u0430":S<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(S,E){switch(E){case"M":case"d":case"DDD":return S+"-\u0439";case"D":return S+"-\u0433\u043e";case"w":case"W":return S+"-\u044f";default:return S}},week:{dow:1,doy:4}})}(V(39545))},43921:function(we,de,V){!function(T){"use strict";var g=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],w=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];T.defineLocale("sd",{months:g,monthsShort:g,weekdays:w,weekdaysShort:w,weekdaysMin:w,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,S,E){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(V(39545))},59682:function(we,de,V){!function(T){"use strict";T.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},80582:function(we,de,V){!function(T){"use strict";T.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(w){return w+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(w){return"\u0db4.\u0dc0."===w||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===w},meridiem:function(w,y,C){return w>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(V(39545))},4348:function(we,de,V){!function(T){"use strict";var g="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),w="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function y(E){return E>1&&E<5}function C(E,A,I,Q){var te=E+" ";switch(I){case"s":return A||Q?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return A||Q?te+(y(E)?"sekundy":"sek\xfand"):te+"sekundami";case"m":return A?"min\xfata":Q?"min\xfatu":"min\xfatou";case"mm":return A||Q?te+(y(E)?"min\xfaty":"min\xfat"):te+"min\xfatami";case"h":return A?"hodina":Q?"hodinu":"hodinou";case"hh":return A||Q?te+(y(E)?"hodiny":"hod\xedn"):te+"hodinami";case"d":return A||Q?"de\u0148":"d\u0148om";case"dd":return A||Q?te+(y(E)?"dni":"dn\xed"):te+"d\u0148ami";case"M":return A||Q?"mesiac":"mesiacom";case"MM":return A||Q?te+(y(E)?"mesiace":"mesiacov"):te+"mesiacmi";case"y":return A||Q?"rok":"rokom";case"yy":return A||Q?te+(y(E)?"roky":"rokov"):te+"rokmi"}}T.defineLocale("sk",{months:g,monthsShort:w,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},95337:function(we,de,V){!function(T){"use strict";function g(y,C,S,E){var A=y+" ";switch(S){case"s":return C||E?"nekaj sekund":"nekaj sekundami";case"ss":return A+(1===y?C?"sekundo":"sekundi":2===y?C||E?"sekundi":"sekundah":y<5?C||E?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return A+(1===y?C?"minuta":"minuto":2===y?C||E?"minuti":"minutama":y<5?C||E?"minute":"minutami":C||E?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return A+(1===y?C?"ura":"uro":2===y?C||E?"uri":"urama":y<5?C||E?"ure":"urami":C||E?"ur":"urami");case"d":return C||E?"en dan":"enim dnem";case"dd":return A+(1===y?C||E?"dan":"dnem":2===y?C||E?"dni":"dnevoma":C||E?"dni":"dnevi");case"M":return C||E?"en mesec":"enim mesecem";case"MM":return A+(1===y?C||E?"mesec":"mesecem":2===y?C||E?"meseca":"mesecema":y<5?C||E?"mesece":"meseci":C||E?"mesecev":"meseci");case"y":return C||E?"eno leto":"enim letom";case"yy":return A+(1===y?C||E?"leto":"letom":2===y?C||E?"leti":"letoma":y<5?C||E?"leta":"leti":C||E?"let":"leti")}}T.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},39358:function(we,de,V){!function(T){"use strict";T.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(w){return"M"===w.charAt(0)},meridiem:function(w,y,C){return w<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},69382:function(we,de,V){!function(T){"use strict";var g={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(y,C){return y%10>=1&&y%10<=4&&(y%100<10||y%100>=20)?y%10==1?C[0]:C[1]:C[2]},translate:function(y,C,S,E){var I,A=g.words[S];return 1===S.length?"y"===S&&C?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":E||C?A[0]:A[1]:(I=g.correctGrammaticalCase(y,A),"yy"===S&&C&&"\u0433\u043e\u0434\u0438\u043d\u0443"===I?y+" \u0433\u043e\u0434\u0438\u043d\u0430":y+" "+I)}};T.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},50683:function(we,de,V){!function(T){"use strict";var g={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(y,C){return y%10>=1&&y%10<=4&&(y%100<10||y%100>=20)?y%10==1?C[0]:C[1]:C[2]},translate:function(y,C,S,E){var I,A=g.words[S];return 1===S.length?"y"===S&&C?"jedna godina":E||C?A[0]:A[1]:(I=g.correctGrammaticalCase(y,A),"yy"===S&&C&&"godinu"===I?y+" godina":y+" "+I)}};T.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(V(39545))},51156:function(we,de,V){!function(T){"use strict";T.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(w,y,C){return w<11?"ekuseni":w<15?"emini":w<19?"entsambama":"ebusuku"},meridiemHour:function(w,y){return 12===w&&(w=0),"ekuseni"===y?w:"emini"===y?w>=11?w:w+12:"entsambama"===y||"ebusuku"===y?0===w?0:w+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(V(39545))},29855:function(we,de,V){!function(T){"use strict";T.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?":e":1===y||2===y?":a":":e")},week:{dow:1,doy:4}})}(V(39545))},18536:function(we,de,V){!function(T){"use strict";T.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(V(39545))},15373:function(we,de,V){!function(T){"use strict";var g={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},w={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};T.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(S){return w[S]})},postformat:function(C){return C.replace(/\d/g,function(S){return g[S]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(C,S,E){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,S){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===S?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===S||"\u0b95\u0bbe\u0bb2\u0bc8"===S||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===S&&C>=10?C:C+12},week:{dow:0,doy:6}})}(V(39545))},37809:function(we,de,V){!function(T){"use strict";T.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(w,y){return 12===w&&(w=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===y?w<4?w:w+12:"\u0c09\u0c26\u0c2f\u0c02"===y?w:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===y?w>=10?w:w+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===y?w+12:void 0},meridiem:function(w,y,C){return w<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":w<10?"\u0c09\u0c26\u0c2f\u0c02":w<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":w<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(V(39545))},61297:function(we,de,V){!function(T){"use strict";T.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(V(39545))},92527:function(we,de,V){!function(T){"use strict";var g={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};T.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(y,C){return 12===y&&(y=0),"\u0448\u0430\u0431"===C?y<4?y:y+12:"\u0441\u0443\u0431\u04b3"===C?y:"\u0440\u04ef\u0437"===C?y>=11?y:y+12:"\u0431\u0435\u0433\u043e\u04b3"===C?y+12:void 0},meridiem:function(y,C,S){return y<4?"\u0448\u0430\u0431":y<11?"\u0441\u0443\u0431\u04b3":y<16?"\u0440\u04ef\u0437":y<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(y){return y+(g[y]||g[y%10]||g[y>=100?100:null])},week:{dow:1,doy:7}})}(V(39545))},85862:function(we,de,V){!function(T){"use strict";T.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(w){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===w},meridiem:function(w,y,C){return w<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(V(39545))},79331:function(we,de,V){!function(T){"use strict";var g={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};T.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(y,C){switch(C){case"d":case"D":case"Do":case"DD":return y;default:if(0===y)return y+"'unjy";var S=y%10;return y+(g[S]||g[y%100-S]||g[y>=100?100:null])}},week:{dow:1,doy:7}})}(V(39545))},44387:function(we,de,V){!function(T){"use strict";T.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(w){return w},week:{dow:1,doy:4}})}(V(39545))},3592:function(we,de,V){!function(T){"use strict";var g="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(A,I,Q,te){var se=function S(A){var I=Math.floor(A%1e3/100),Q=Math.floor(A%100/10),te=A%10,se="";return I>0&&(se+=g[I]+"vatlh"),Q>0&&(se+=(""!==se?" ":"")+g[Q]+"maH"),te>0&&(se+=(""!==se?" ":"")+g[te]),""===se?"pagh":se}(A);switch(Q){case"ss":return se+" lup";case"mm":return se+" tup";case"hh":return se+" rep";case"dd":return se+" jaj";case"MM":return se+" jar";case"yy":return se+" DIS"}}T.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function w(A){var I=A;return-1!==A.indexOf("jaj")?I.slice(0,-3)+"leS":-1!==A.indexOf("jar")?I.slice(0,-3)+"waQ":-1!==A.indexOf("DIS")?I.slice(0,-3)+"nem":I+" pIq"},past:function y(A){var I=A;return-1!==A.indexOf("jaj")?I.slice(0,-3)+"Hu\u2019":-1!==A.indexOf("jar")?I.slice(0,-3)+"wen":-1!==A.indexOf("DIS")?I.slice(0,-3)+"ben":I+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},79732:function(we,de,V){!function(T){"use strict";var g={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};T.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(y,C,S){return y<12?S?"\xf6\xf6":"\xd6\xd6":S?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(y){return"\xf6s"===y||"\xd6S"===y},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(y,C){switch(C){case"d":case"D":case"Do":case"DD":return y;default:if(0===y)return y+"'\u0131nc\u0131";var S=y%10;return y+(g[S]||g[y%100-S]||g[y>=100?100:null])}},week:{dow:1,doy:7}})}(V(39545))},99570:function(we,de,V){!function(T){"use strict";function w(y,C,S,E){var A={s:["viensas secunds","'iensas secunds"],ss:[y+" secunds",y+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[y+" m\xeduts",y+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[y+" \xfeoras",y+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[y+" ziuas",y+" ziuas"],M:["'n mes","'iens mes"],MM:[y+" mesen",y+" mesen"],y:["'n ar","'iens ar"],yy:[y+" ars",y+" ars"]};return E||C?A[S][0]:A[S][1]}T.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(y){return"d'o"===y.toLowerCase()},meridiem:function(y,C,S){return y>11?S?"d'o":"D'O":S?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(V(39545))},7699:function(we,de,V){!function(T){"use strict";T.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(V(39545))},83553:function(we,de,V){!function(T){"use strict";T.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(V(39545))},25674:function(we,de,V){!function(T){"use strict";T.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(w,y){return 12===w&&(w=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===y||"\u0633\u06d5\u06be\u06d5\u0631"===y||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===y?w:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===y||"\u0643\u06d5\u0686"===y?w+12:w>=11?w:w+12},meridiem:function(w,y,C){var S=100*w+y;return S<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":S<900?"\u0633\u06d5\u06be\u06d5\u0631":S<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":S<1230?"\u0686\u06c8\u0634":S<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(w,y){switch(y){case"d":case"D":case"DDD":return w+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return w+"-\u06be\u06d5\u067e\u062a\u06d5";default:return w}},preparse:function(w){return w.replace(/\u060c/g,",")},postformat:function(w){return w.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(V(39545))},69974:function(we,de,V){!function(T){"use strict";function w(E,A,I){return"m"===I?A?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===I?A?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":E+" "+function g(E,A){var I=E.split("_");return A%10==1&&A%100!=11?I[0]:A%10>=2&&A%10<=4&&(A%100<10||A%100>=20)?I[1]:I[2]}({ss:A?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:A?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:A?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[I],+E)}function C(E){return function(){return E+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}T.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function y(E,A){var I={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===E?I.nominative.slice(1,7).concat(I.nominative.slice(0,1)):E?I[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(A)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(A)?"genitive":"nominative"][E.day()]:I.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:w,m:w,mm:w,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:w,d:"\u0434\u0435\u043d\u044c",dd:w,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:w,y:"\u0440\u0456\u043a",yy:w},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(E){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(E)},meridiem:function(E,A,I){return E<4?"\u043d\u043e\u0447\u0456":E<12?"\u0440\u0430\u043d\u043a\u0443":E<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(E,A){switch(A){case"M":case"d":case"DDD":case"w":case"W":return E+"-\u0439";case"D":return E+"-\u0433\u043e";default:return E}},week:{dow:1,doy:7}})}(V(39545))},45773:function(we,de,V){!function(T){"use strict";var g=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],w=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];T.defineLocale("ur",{months:g,monthsShort:g,weekdays:w,weekdaysShort:w,weekdaysMin:w,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,S,E){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(V(39545))},77135:function(we,de,V){!function(T){"use strict";T.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(V(39545))},357:function(we,de,V){!function(T){"use strict";T.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(V(39545))},20043:function(we,de,V){!function(T){"use strict";T.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(w){return/^ch$/i.test(w)},meridiem:function(w,y,C){return w<12?C?"sa":"SA":C?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(w){return w},week:{dow:1,doy:4}})}(V(39545))},40767:function(we,de,V){!function(T){"use strict";T.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(w){var y=w%10;return w+(1==~~(w%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(V(39545))},80150:function(we,de,V){!function(T){"use strict";T.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(V(39545))},21828:function(we,de,V){!function(T){"use strict";T.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(w,y){return 12===w&&(w=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?w:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?w+12:w>=11?w:w+12},meridiem:function(w,y,C){var S=100*w+y;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1130?"\u4e0a\u5348":S<1230?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(w){return w.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(w){return this.week()!==w.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(w,y){switch(y){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u5468";default:return w}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(V(39545))},86644:function(we,de,V){!function(T){"use strict";T.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(w,y){return 12===w&&(w=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?w:"\u4e2d\u5348"===y?w>=11?w:w+12:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?w+12:void 0},meridiem:function(w,y,C){var S=100*w+y;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1200?"\u4e0a\u5348":1200===S?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(w,y){switch(y){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u9031";default:return w}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(V(39545))},79305:function(we,de,V){!function(T){"use strict";T.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(w,y){return 12===w&&(w=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?w:"\u4e2d\u5348"===y?w>=11?w:w+12:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?w+12:void 0},meridiem:function(w,y,C){var S=100*w+y;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1130?"\u4e0a\u5348":S<1230?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(w,y){switch(y){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u9031";default:return w}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(V(39545))},31860:function(we,de,V){!function(T){"use strict";T.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(w,y){return 12===w&&(w=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?w:"\u4e2d\u5348"===y?w>=11?w:w+12:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?w+12:void 0},meridiem:function(w,y,C){var S=100*w+y;return S<600?"\u51cc\u6668":S<900?"\u65e9\u4e0a":S<1130?"\u4e0a\u5348":S<1230?"\u4e2d\u5348":S<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(w,y){switch(y){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u9031";default:return w}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(V(39545))},39545:function(we,de,V){(we=V.nmd(we)).exports=function(){"use strict";var T,ne;function g(){return T.apply(null,arguments)}function y(f){return f instanceof Array||"[object Array]"===Object.prototype.toString.call(f)}function C(f){return null!=f&&"[object Object]"===Object.prototype.toString.call(f)}function S(f,b){return Object.prototype.hasOwnProperty.call(f,b)}function E(f){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(f).length;var b;for(b in f)if(S(f,b))return!1;return!0}function A(f){return void 0===f}function I(f){return"number"==typeof f||"[object Number]"===Object.prototype.toString.call(f)}function Q(f){return f instanceof Date||"[object Date]"===Object.prototype.toString.call(f)}function te(f,b){var F,L=[],q=f.length;for(F=0;F<q;++F)L.push(b(f[F],F));return L}function se(f,b){for(var L in b)S(b,L)&&(f[L]=b[L]);return S(b,"toString")&&(f.toString=b.toString),S(b,"valueOf")&&(f.valueOf=b.valueOf),f}function me(f,b,L,F){return op(f,b,L,F,!0).utc()}function U(f){return null==f._pf&&(f._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),f._pf}function $(f){var b=null,L=!1,F=f._d&&!isNaN(f._d.getTime());return F&&(b=U(f),L=ne.call(b.parsedDateParts,function(q){return null!=q}),F=b.overflow<0&&!b.empty&&!b.invalidEra&&!b.invalidMonth&&!b.invalidWeekday&&!b.weekdayMismatch&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&L),f._strict&&(F=F&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour)),null!=Object.isFrozen&&Object.isFrozen(f)?F:(f._isValid=F,f._isValid)}function ae(f){var b=me(NaN);return null!=f?se(U(b),f):U(b).userInvalidated=!0,b}ne=Array.prototype.some?Array.prototype.some:function(f){var F,b=Object(this),L=b.length>>>0;for(F=0;F<L;F++)if(F in b&&f.call(this,b[F],F,b))return!0;return!1};var be=g.momentProperties=[],Ce=!1;function Pe(f,b){var L,F,q,ye=be.length;if(A(b._isAMomentObject)||(f._isAMomentObject=b._isAMomentObject),A(b._i)||(f._i=b._i),A(b._f)||(f._f=b._f),A(b._l)||(f._l=b._l),A(b._strict)||(f._strict=b._strict),A(b._tzm)||(f._tzm=b._tzm),A(b._isUTC)||(f._isUTC=b._isUTC),A(b._offset)||(f._offset=b._offset),A(b._pf)||(f._pf=U(b)),A(b._locale)||(f._locale=b._locale),ye>0)for(L=0;L<ye;L++)A(q=b[F=be[L]])||(f[F]=q);return f}function Je(f){Pe(this,f),this._d=new Date(null!=f._d?f._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ce&&(Ce=!0,g.updateOffset(this),Ce=!1)}function Qe(f){return f instanceof Je||null!=f&&null!=f._isAMomentObject}function ut(f){!1===g.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+f)}function vt(f,b){var L=!0;return se(function(){if(null!=g.deprecationHandler&&g.deprecationHandler(null,f),L){var q,ye,Te,F=[],gt=arguments.length;for(ye=0;ye<gt;ye++){if(q="","object"==typeof arguments[ye]){for(Te in q+="\n["+ye+"] ",arguments[0])S(arguments[0],Te)&&(q+=Te+": "+arguments[0][Te]+", ");q=q.slice(0,-2)}else q=arguments[ye];F.push(q)}ut(f+"\nArguments: "+Array.prototype.slice.call(F).join("")+"\n"+(new Error).stack),L=!1}return b.apply(this,arguments)},b)}var O,ft={};function vn(f,b){null!=g.deprecationHandler&&g.deprecationHandler(f,b),ft[f]||(ut(b),ft[f]=!0)}function qt(f){return typeof Function<"u"&&f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}function _e(f,b){var F,L=se({},f);for(F in b)S(b,F)&&(C(f[F])&&C(b[F])?(L[F]={},se(L[F],f[F]),se(L[F],b[F])):null!=b[F]?L[F]=b[F]:delete L[F]);for(F in f)S(f,F)&&!S(b,F)&&C(f[F])&&(L[F]=se({},L[F]));return L}function ke(f){null!=f&&this.set(f)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null,O=Object.keys?Object.keys:function(f){var b,L=[];for(b in f)S(f,b)&&L.push(b);return L};function ge(f,b,L){var F=""+Math.abs(f);return(f>=0?L?"+":"":"-")+Math.pow(10,Math.max(0,b-F.length)).toString().substr(1)+F}var Me=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,X={},Ae={};function he(f,b,L,F){var q=F;"string"==typeof F&&(q=function(){return this[F]()}),f&&(Ae[f]=q),b&&(Ae[b[0]]=function(){return ge(q.apply(this,arguments),b[1],b[2])}),L&&(Ae[L]=function(){return this.localeData().ordinal(q.apply(this,arguments),f)})}function $e(f){return f.match(/\[[\s\S]/)?f.replace(/^\[|\]$/g,""):f.replace(/\\/g,"")}function at(f,b){return f.isValid()?(b=lt(b,f.localeData()),X[b]=X[b]||function yt(f){var L,F,b=f.match(Me);for(L=0,F=b.length;L<F;L++)b[L]=Ae[b[L]]?Ae[b[L]]:$e(b[L]);return function(q){var Te,ye="";for(Te=0;Te<F;Te++)ye+=qt(b[Te])?b[Te].call(q,f):b[Te];return ye}}(b),X[b](f)):f.localeData().invalidDate()}function lt(f,b){var L=5;function F(q){return b.longDateFormat(q)||q}for(pe.lastIndex=0;L>=0&&pe.test(f);)f=f.replace(pe,F),pe.lastIndex=0,L-=1;return f}var Uf={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ao(f){return"string"==typeof f?Uf[f]||Uf[f.toLowerCase()]:void 0}function du(f){var L,F,b={};for(F in f)S(f,F)&&(L=ao(F))&&(b[L]=f[F]);return b}var hi={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var ht,zd=/\d/,Fr=/\d\d/,Mn=/\d{3}/,zf=/\d{4}/,Gf=/[+-]?\d{6}/,_i=/\d\d?/,hu=/\d\d\d\d?/,Gd=/\d\d\d\d\d\d?/,Wf=/\d{1,3}/,$f=/\d{1,4}/,Un=/[+-]?\d{1,6}/,nc=/\d+/,zm=/[+-]?\d+/,ic=/Z|[+-]\d\d:?\d\d/gi,Wd=/Z|[+-]\d\d(?::?\d\d)?/gi,Zt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,sc=/^[1-9]\d?/,Gt=/^([1-9]\d|\d)/;function bt(f,b,L){ht[f]=qt(b)?b:function(F,q){return F&&L?L:b}}function KD(f,b){return S(ht,f)?ht[f](b._strict,b._locale):new RegExp(function BI(f){return $o(f.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(b,L,F,q,ye){return L||F||q||ye}))}(f))}function $o(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Oe(f){return f<0?Math.ceil(f)||0:Math.floor(f)}function tn(f){var b=+f,L=0;return 0!==b&&isFinite(b)&&(L=Oe(b)),L}ht={};var fu={};function Wn(f,b){var L,q,F=b;for("string"==typeof f&&(f=[f]),I(b)&&(F=function(ye,Te){Te[b]=tn(ye)}),q=f.length,L=0;L<q;L++)fu[f[L]]=F}function qf(f,b){Wn(f,function(L,F,q,ye){q._w=q._w||{},b(L,q._w,q,ye)})}function HI(f,b,L){null!=b&&S(fu,f)&&fu[f](b,L._a,L,f)}function $d(f){return f%4==0&&f%100!=0||f%400==0}var wi=0,Xs=1,Hs=2,Ci=3,Yr=4,lo=5,jr=6,VI=7,zn=8;function Kf(f){return $d(f)?366:365}he("Y",0,0,function(){var f=this.year();return f<=9999?ge(f,4):"+"+f}),he(0,["YY",2],0,function(){return this.year()%100}),he(0,["YYYY",4],0,"year"),he(0,["YYYYY",5],0,"year"),he(0,["YYYYYY",6,!0],0,"year"),bt("Y",zm),bt("YY",_i,Fr),bt("YYYY",$f,zf),bt("YYYYY",Un,Gf),bt("YYYYYY",Un,Gf),Wn(["YYYYY","YYYYYY"],wi),Wn("YYYY",function(f,b){b[wi]=2===f.length?g.parseTwoDigitYear(f):tn(f)}),Wn("YY",function(f,b){b[wi]=g.parseTwoDigitYear(f)}),Wn("Y",function(f,b){b[wi]=parseInt(f,10)}),g.parseTwoDigitYear=function(f){return tn(f)+(tn(f)>68?1900:2e3)};var mt,XD=pu("FullYear",!0);function pu(f,b){return function(L){return null!=L?(Xf(this,f,L),g.updateOffset(this,b),this):Ri(this,f)}}function Ri(f,b){if(!f.isValid())return NaN;var L=f._d,F=f._isUTC;switch(b){case"Milliseconds":return F?L.getUTCMilliseconds():L.getMilliseconds();case"Seconds":return F?L.getUTCSeconds():L.getSeconds();case"Minutes":return F?L.getUTCMinutes():L.getMinutes();case"Hours":return F?L.getUTCHours():L.getHours();case"Date":return F?L.getUTCDate():L.getDate();case"Day":return F?L.getUTCDay():L.getDay();case"Month":return F?L.getUTCMonth():L.getMonth();case"FullYear":return F?L.getUTCFullYear():L.getFullYear();default:return NaN}}function Xf(f,b,L){var F,q,ye,Te,gt;if(f.isValid()&&!isNaN(L)){switch(F=f._d,q=f._isUTC,b){case"Milliseconds":return void(q?F.setUTCMilliseconds(L):F.setMilliseconds(L));case"Seconds":return void(q?F.setUTCSeconds(L):F.setSeconds(L));case"Minutes":return void(q?F.setUTCMinutes(L):F.setMinutes(L));case"Hours":return void(q?F.setUTCHours(L):F.setHours(L));case"Date":return void(q?F.setUTCDate(L):F.setDate(L));case"FullYear":break;default:return}ye=L,Te=f.month(),gt=29!==(gt=f.date())||1!==Te||$d(ye)?gt:28,q?F.setUTCFullYear(ye,Te,gt):F.setFullYear(ye,Te,gt)}}function gu(f,b){if(isNaN(f)||isNaN(b))return NaN;var L=function Yt(f,b){return(f%b+b)%b}(b,12);return f+=(b-L)/12,1===L?$d(f)?29:28:31-L%7%2}mt=Array.prototype.indexOf?Array.prototype.indexOf:function(f){var b;for(b=0;b<this.length;++b)if(this[b]===f)return b;return-1},he("M",["MM",2],"Mo",function(){return this.month()+1}),he("MMM",0,0,function(f){return this.localeData().monthsShort(this,f)}),he("MMMM",0,0,function(f){return this.localeData().months(this,f)}),bt("M",_i,sc),bt("MM",_i,Fr),bt("MMM",function(f,b){return b.monthsShortRegex(f)}),bt("MMMM",function(f,b){return b.monthsRegex(f)}),Wn(["M","MM"],function(f,b){b[Xs]=tn(f)-1}),Wn(["MMM","MMMM"],function(f,b,L,F){var q=L._locale.monthsParse(f,F,L._strict);null!=q?b[Xs]=q:U(L).invalidMonth=f});var _r="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),JD="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),K0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,zI=Zt,cl=Zt;function $I(f,b,L){var F,q,ye,Te=f.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],F=0;F<12;++F)ye=me([2e3,F]),this._shortMonthsParse[F]=this.monthsShort(ye,"").toLocaleLowerCase(),this._longMonthsParse[F]=this.months(ye,"").toLocaleLowerCase();return L?"MMM"===b?-1!==(q=mt.call(this._shortMonthsParse,Te))?q:null:-1!==(q=mt.call(this._longMonthsParse,Te))?q:null:"MMM"===b?-1!==(q=mt.call(this._shortMonthsParse,Te))||-1!==(q=mt.call(this._longMonthsParse,Te))?q:null:-1!==(q=mt.call(this._longMonthsParse,Te))||-1!==(q=mt.call(this._shortMonthsParse,Te))?q:null}function X0(f,b){if(!f.isValid())return f;if("string"==typeof b)if(/^\d+$/.test(b))b=tn(b);else if(!I(b=f.localeData().monthsParse(b)))return f;var L=b,F=f.date();return F=F<29?F:Math.min(F,gu(f.year(),L)),f._isUTC?f._d.setUTCMonth(L,F):f._d.setMonth(L,F),f}function QD(f){return null!=f?(X0(this,f),g.updateOffset(this,!0),this):Ri(this,"Month")}function Pt(){function f(It,At){return At.length-It.length}var q,ye,Te,gt,b=[],L=[],F=[];for(q=0;q<12;q++)ye=me([2e3,q]),Te=$o(this.monthsShort(ye,"")),gt=$o(this.months(ye,"")),b.push(Te),L.push(gt),F.push(gt),F.push(Te);b.sort(f),L.sort(f),F.sort(f),this._monthsRegex=new RegExp("^("+F.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+b.join("|")+")","i")}function XI(f,b,L,F,q,ye,Te){var gt;return f<100&&f>=0?(gt=new Date(f+400,b,L,F,q,ye,Te),isFinite(gt.getFullYear())&&gt.setFullYear(f)):gt=new Date(f,b,L,F,q,ye,Te),gt}function Zf(f){var b,L;return f<100&&f>=0?((L=Array.prototype.slice.call(arguments))[0]=f+400,b=new Date(Date.UTC.apply(null,L)),isFinite(b.getUTCFullYear())&&b.setUTCFullYear(f)):b=new Date(Date.UTC.apply(null,arguments)),b}function Gm(f,b,L){var F=7+b-L;return-(7+Zf(f,0,F).getUTCDay()-b)%7+F-1}function tx(f,b,L,F,q){var It,At,gt=1+7*(b-1)+(7+L-F)%7+Gm(f,F,q);return gt<=0?At=Kf(It=f-1)+gt:gt>Kf(f)?(It=f+1,At=gt-Kf(f)):(It=f,At=gt),{year:It,dayOfYear:At}}function Jf(f,b,L){var ye,Te,F=Gm(f.year(),b,L),q=Math.floor((f.dayOfYear()-F-1)/7)+1;return q<1?ye=q+Ie(Te=f.year()-1,b,L):q>Ie(f.year(),b,L)?(ye=q-Ie(f.year(),b,L),Te=f.year()+1):(Te=f.year(),ye=q),{week:ye,year:Te}}function Ie(f,b,L){var F=Gm(f,b,L),q=Gm(f+1,b,L);return(Kf(f)-F+q)/7}he("w",["ww",2],"wo","week"),he("W",["WW",2],"Wo","isoWeek"),bt("w",_i,sc),bt("ww",_i,Fr),bt("W",_i,sc),bt("WW",_i,Fr),qf(["w","ww","W","WW"],function(f,b,L,F){b[F.substr(0,1)]=tn(f)});function qd(f,b){return f.slice(b,7).concat(f.slice(0,b))}he("d",0,"do","day"),he("dd",0,0,function(f){return this.localeData().weekdaysMin(this,f)}),he("ddd",0,0,function(f){return this.localeData().weekdaysShort(this,f)}),he("dddd",0,0,function(f){return this.localeData().weekdays(this,f)}),he("e",0,0,"weekday"),he("E",0,0,"isoWeekday"),bt("d",_i),bt("e",_i),bt("E",_i),bt("dd",function(f,b){return b.weekdaysMinRegex(f)}),bt("ddd",function(f,b){return b.weekdaysShortRegex(f)}),bt("dddd",function(f,b){return b.weekdaysRegex(f)}),qf(["dd","ddd","dddd"],function(f,b,L,F){var q=L._locale.weekdaysParse(f,F,L._strict);null!=q?b.d=q:U(L).invalidWeekday=f}),qf(["d","e","E"],function(f,b,L,F){b[F]=tn(f)});var J0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Q0="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),dt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wm=Zt,$m=Zt,e1=Zt;function JI(f,b,L){var F,q,ye,Te=f.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)ye=me([2e3,1]).day(F),this._minWeekdaysParse[F]=this.weekdaysMin(ye,"").toLocaleLowerCase(),this._shortWeekdaysParse[F]=this.weekdaysShort(ye,"").toLocaleLowerCase(),this._weekdaysParse[F]=this.weekdays(ye,"").toLocaleLowerCase();return L?"dddd"===b?-1!==(q=mt.call(this._weekdaysParse,Te))?q:null:"ddd"===b?-1!==(q=mt.call(this._shortWeekdaysParse,Te))?q:null:-1!==(q=mt.call(this._minWeekdaysParse,Te))?q:null:"dddd"===b?-1!==(q=mt.call(this._weekdaysParse,Te))||-1!==(q=mt.call(this._shortWeekdaysParse,Te))||-1!==(q=mt.call(this._minWeekdaysParse,Te))?q:null:"ddd"===b?-1!==(q=mt.call(this._shortWeekdaysParse,Te))||-1!==(q=mt.call(this._weekdaysParse,Te))||-1!==(q=mt.call(this._minWeekdaysParse,Te))?q:null:-1!==(q=mt.call(this._minWeekdaysParse,Te))||-1!==(q=mt.call(this._weekdaysParse,Te))||-1!==(q=mt.call(this._shortWeekdaysParse,Te))?q:null}function np(){function f(Vs,vr){return vr.length-Vs.length}var ye,Te,gt,It,At,b=[],L=[],F=[],q=[];for(ye=0;ye<7;ye++)Te=me([2e3,1]).day(ye),gt=$o(this.weekdaysMin(Te,"")),It=$o(this.weekdaysShort(Te,"")),At=$o(this.weekdays(Te,"")),b.push(gt),L.push(It),F.push(At),q.push(gt),q.push(It),q.push(At);b.sort(f),L.sort(f),F.sort(f),q.sort(f),this._weekdaysRegex=new RegExp("^("+q.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+b.join("|")+")","i")}function co(){return this.hours()%12||12}function Qm(f,b){he(f,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function jt(f,b){return b._meridiemParse}he("H",["HH",2],0,"hour"),he("h",["hh",2],0,co),he("k",["kk",2],0,function Xd(){return this.hours()||24}),he("hmm",0,0,function(){return""+co.apply(this)+ge(this.minutes(),2)}),he("hmmss",0,0,function(){return""+co.apply(this)+ge(this.minutes(),2)+ge(this.seconds(),2)}),he("Hmm",0,0,function(){return""+this.hours()+ge(this.minutes(),2)}),he("Hmmss",0,0,function(){return""+this.hours()+ge(this.minutes(),2)+ge(this.seconds(),2)}),Qm("a",!0),Qm("A",!1),bt("a",jt),bt("A",jt),bt("H",_i,Gt),bt("h",_i,sc),bt("k",_i,sc),bt("HH",_i,Fr),bt("hh",_i,Fr),bt("kk",_i,Fr),bt("hmm",hu),bt("hmmss",Gd),bt("Hmm",hu),bt("Hmmss",Gd),Wn(["H","HH"],Ci),Wn(["k","kk"],function(f,b,L){var F=tn(f);b[Ci]=24===F?0:F}),Wn(["a","A"],function(f,b,L){L._isPm=L._locale.isPM(f),L._meridiem=f}),Wn(["h","hh"],function(f,b,L){b[Ci]=tn(f),U(L).bigHour=!0}),Wn("hmm",function(f,b,L){var F=f.length-2;b[Ci]=tn(f.substr(0,F)),b[Yr]=tn(f.substr(F)),U(L).bigHour=!0}),Wn("hmmss",function(f,b,L){var F=f.length-4,q=f.length-2;b[Ci]=tn(f.substr(0,F)),b[Yr]=tn(f.substr(F,2)),b[lo]=tn(f.substr(q)),U(L).bigHour=!0}),Wn("Hmm",function(f,b,L){var F=f.length-2;b[Ci]=tn(f.substr(0,F)),b[Yr]=tn(f.substr(F))}),Wn("Hmmss",function(f,b,L){var F=f.length-4,q=f.length-2;b[Ci]=tn(f.substr(0,F)),b[Yr]=tn(f.substr(F,2)),b[lo]=tn(f.substr(q))});var rx=pu("Hours",!0);var nn,ax={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_r,monthsShort:JD,week:{dow:0,doy:6},weekdays:J0,weekdaysMin:dt,weekdaysShort:Q0,meridiemParse:/[ap]\.?m?\.?/i},Mi={},rc={};function e_(f,b){var L,F=Math.min(f.length,b.length);for(L=0;L<F;L+=1)if(f[L]!==b[L])return L;return F}function t_(f){return f&&f.toLowerCase().replace("_","-")}function n_(f){var b=null;if(void 0===Mi[f]&&we&&we.exports&&function t1(f){return!(!f||!f.match("^[^/\\\\]*$"))}(f))try{b=nn._abbr,V(35358)("./"+f),oc(b)}catch{Mi[f]=null}return Mi[f]}function oc(f,b){var L;return f&&((L=A(b)?Br(f):ac(f,b))?nn=L:typeof console<"u"&&console.warn&&console.warn("Locale "+f+" not found. Did you forget to load it?")),nn._abbr}function ac(f,b){if(null!==b){var L,F=ax;if(b.abbr=f,null!=Mi[f])vn("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),F=Mi[f]._config;else if(null!=b.parentLocale)if(null!=Mi[b.parentLocale])F=Mi[b.parentLocale]._config;else{if(null==(L=n_(b.parentLocale)))return rc[b.parentLocale]||(rc[b.parentLocale]=[]),rc[b.parentLocale].push({name:f,config:b}),null;F=L._config}return Mi[f]=new ke(_e(F,b)),rc[f]&&rc[f].forEach(function(q){ac(q.name,q.config)}),oc(f),Mi[f]}return delete Mi[f],null}function Br(f){var b;if(f&&f._locale&&f._locale._abbr&&(f=f._locale._abbr),!f)return nn;if(!y(f)){if(b=n_(f))return b;f=[f]}return function Zs(f){for(var L,F,q,ye,b=0;b<f.length;){for(L=(ye=t_(f[b]).split("-")).length,F=(F=t_(f[b+1]))?F.split("-"):null;L>0;){if(q=n_(ye.slice(0,L).join("-")))return q;if(F&&F.length>=L&&e_(ye,F)>=L-1)break;L--}b++}return nn}(f)}function s_(f){var b,L=f._a;return L&&-2===U(f).overflow&&(b=L[Xs]<0||L[Xs]>11?Xs:L[Hs]<1||L[Hs]>gu(L[wi],L[Xs])?Hs:L[Ci]<0||L[Ci]>24||24===L[Ci]&&(0!==L[Yr]||0!==L[lo]||0!==L[jr])?Ci:L[Yr]<0||L[Yr]>59?Yr:L[lo]<0||L[lo]>59?lo:L[jr]<0||L[jr]>999?jr:-1,U(f)._overflowDayOfYear&&(b<wi||b>Hs)&&(b=Hs),U(f)._overflowWeeks&&-1===b&&(b=VI),U(f)._overflowWeekday&&-1===b&&(b=zn),U(f).overflow=b),f}var cx=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,n1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mu=/Z|[+-]\d\d(?::?\d\d)?/,ip=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],qo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ux=/^\/?Date\((-?\d+)/i,Ve=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,i1={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function fe(f){var b,L,ye,Te,gt,It,F=f._i,q=cx.exec(F)||n1.exec(F),At=ip.length,Vs=qo.length;if(q){for(U(f).iso=!0,b=0,L=At;b<L;b++)if(ip[b][1].exec(q[1])){Te=ip[b][0],ye=!1!==ip[b][2];break}if(null==Te)return void(f._isValid=!1);if(q[3]){for(b=0,L=Vs;b<L;b++)if(qo[b][1].exec(q[3])){gt=(q[2]||" ")+qo[b][0];break}if(null==gt)return void(f._isValid=!1)}if(!ye&&null!=gt)return void(f._isValid=!1);if(q[4]){if(!mu.exec(q[4]))return void(f._isValid=!1);It="Z"}f._f=Te+(gt||"")+(It||""),Ca(f)}else f._isValid=!1}function r_(f){var b=parseInt(f,10);return b<=49?2e3+b:b<=999?1900+b:b}function s1(f){var L,b=Ve.exec(function Zd(f){return f.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(f._i));if(b){if(L=function sp(f,b,L,F,q,ye){var Te=[r_(f),JD.indexOf(b),parseInt(L,10),parseInt(F,10),parseInt(q,10)];return ye&&Te.push(parseInt(ye,10)),Te}(b[4],b[3],b[2],b[5],b[6],b[7]),!function dx(f,b,L){return!f||Q0.indexOf(f)===new Date(b[0],b[1],b[2]).getDay()||(U(L).weekdayMismatch=!0,L._isValid=!1,!1)}(b[1],L,f))return;f._a=L,f._tzm=function hx(f,b,L){if(f)return i1[f];if(b)return 0;var F=parseInt(L,10),q=F%100;return(F-q)/100*60+q}(b[8],b[9],b[10]),f._d=Zf.apply(null,f._a),f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),U(f).rfc2822=!0}else f._isValid=!1}function wa(f,b,L){return f??b??L}function _u(f){var b,L,q,ye,Te,F=[];if(!f._d){for(q=function px(f){var b=new Date(g.now());return f._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}(f),f._w&&null==f._a[Hs]&&null==f._a[Xs]&&function gx(f){var b,L,F,q,ye,Te,gt,It,At;null!=(b=f._w).GG||null!=b.W||null!=b.E?(ye=1,Te=4,L=wa(b.GG,f._a[wi],Jf(Di(),1,4).year),F=wa(b.W,1),((q=wa(b.E,1))<1||q>7)&&(It=!0)):(ye=f._locale._week.dow,Te=f._locale._week.doy,At=Jf(Di(),ye,Te),L=wa(b.gg,f._a[wi],At.year),F=wa(b.w,At.week),null!=b.d?((q=b.d)<0||q>6)&&(It=!0):null!=b.e?(q=b.e+ye,(b.e<0||b.e>6)&&(It=!0)):q=ye),F<1||F>Ie(L,ye,Te)?U(f)._overflowWeeks=!0:null!=It?U(f)._overflowWeekday=!0:(gt=tx(L,F,q,ye,Te),f._a[wi]=gt.year,f._dayOfYear=gt.dayOfYear)}(f),null!=f._dayOfYear&&(Te=wa(f._a[wi],q[wi]),(f._dayOfYear>Kf(Te)||0===f._dayOfYear)&&(U(f)._overflowDayOfYear=!0),L=Zf(Te,0,f._dayOfYear),f._a[Xs]=L.getUTCMonth(),f._a[Hs]=L.getUTCDate()),b=0;b<3&&null==f._a[b];++b)f._a[b]=F[b]=q[b];for(;b<7;b++)f._a[b]=F[b]=null==f._a[b]?2===b?1:0:f._a[b];24===f._a[Ci]&&0===f._a[Yr]&&0===f._a[lo]&&0===f._a[jr]&&(f._nextDay=!0,f._a[Ci]=0),f._d=(f._useUTC?Zf:XI).apply(null,F),ye=f._useUTC?f._d.getUTCDay():f._d.getDay(),null!=f._tzm&&f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),f._nextDay&&(f._a[Ci]=24),f._w&&typeof f._w.d<"u"&&f._w.d!==ye&&(U(f).weekdayMismatch=!0)}}function Ca(f){if(f._f!==g.ISO_8601)if(f._f!==g.RFC_2822){f._a=[],U(f).empty=!0;var L,F,q,ye,Te,At,Vs,b=""+f._i,gt=b.length,It=0;for(Vs=(q=lt(f._f,f._locale).match(Me)||[]).length,L=0;L<Vs;L++)(F=(b.match(KD(ye=q[L],f))||[])[0])&&((Te=b.substr(0,b.indexOf(F))).length>0&&U(f).unusedInput.push(Te),b=b.slice(b.indexOf(F)+F.length),It+=F.length),Ae[ye]?(F?U(f).empty=!1:U(f).unusedTokens.push(ye),HI(ye,F,f)):f._strict&&!F&&U(f).unusedTokens.push(ye);U(f).charsLeftOver=gt-It,b.length>0&&U(f).unusedInput.push(b),f._a[Ci]<=12&&!0===U(f).bigHour&&f._a[Ci]>0&&(U(f).bigHour=void 0),U(f).parsedDateParts=f._a.slice(0),U(f).meridiem=f._meridiem,f._a[Ci]=function mx(f,b,L){var F;return null==L?b:null!=f.meridiemHour?f.meridiemHour(b,L):(null!=f.isPM&&((F=f.isPM(L))&&b<12&&(b+=12),!F&&12===b&&(b=0)),b)}(f._locale,f._a[Ci],f._meridiem),null!==(At=U(f).era)&&(f._a[wi]=f._locale.erasConvertYear(At,f._a[wi])),_u(f),s_(f)}else s1(f);else fe(f)}function Jd(f){var b=f._i,L=f._f;return f._locale=f._locale||Br(f._l),null===b||void 0===L&&""===b?ae({nullInput:!0}):("string"==typeof b&&(f._i=b=f._locale.preparse(b)),Qe(b)?new Je(s_(b)):(Q(b)?f._d=b:y(L)?function Js(f){var b,L,F,q,ye,Te,gt=!1,It=f._f.length;if(0===It)return U(f).invalidFormat=!0,void(f._d=new Date(NaN));for(q=0;q<It;q++)ye=0,Te=!1,b=Pe({},f),null!=f._useUTC&&(b._useUTC=f._useUTC),b._f=f._f[q],Ca(b),$(b)&&(Te=!0),ye+=U(b).charsLeftOver,ye+=10*U(b).unusedTokens.length,U(b).score=ye,gt?ye<F&&(F=ye,L=b):(null==F||ye<F||Te)&&(F=ye,L=b,Te&&(gt=!0));se(f,L||b)}(f):L?Ca(f):function rp(f){var b=f._i;A(b)?f._d=new Date(g.now()):Q(b)?f._d=new Date(b.valueOf()):"string"==typeof b?function fx(f){var b=ux.exec(f._i);null===b?(fe(f),!1===f._isValid&&(delete f._isValid,s1(f),!1===f._isValid&&(delete f._isValid,f._strict?f._isValid=!1:g.createFromInputFallback(f)))):f._d=new Date(+b[1])}(f):y(b)?(f._a=te(b.slice(0),function(L){return parseInt(L,10)}),_u(f)):C(b)?function yu(f){if(!f._d){var b=du(f._i);f._a=te([b.year,b.month,void 0===b.day?b.date:b.day,b.hour,b.minute,b.second,b.millisecond],function(F){return F&&parseInt(F,10)}),_u(f)}}(f):I(b)?f._d=new Date(b):g.createFromInputFallback(f)}(f),$(f)||(f._d=null),f))}function op(f,b,L,F,q){var ye={};return(!0===b||!1===b)&&(F=b,b=void 0),(!0===L||!1===L)&&(F=L,L=void 0),(C(f)&&E(f)||y(f)&&0===f.length)&&(f=void 0),ye._isAMomentObject=!0,ye._useUTC=ye._isUTC=q,ye._l=L,ye._i=f,ye._f=b,ye._strict=F,function r1(f){var b=new Je(s_(Jd(f)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}(ye)}function Di(f,b,L,F){return op(f,b,L,F,!1)}g.createFromInputFallback=vt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(f){f._d=new Date(f._i+(f._useUTC?" UTC":""))}),g.ISO_8601=function(){},g.RFC_2822=function(){};var o1=vt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var f=Di.apply(null,arguments);return this.isValid()&&f.isValid()?f<this?this:f:ae()}),iA=vt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var f=Di.apply(null,arguments);return this.isValid()&&f.isValid()?f>this?this:f:ae()});function Qs(f,b){var L,F;if(1===b.length&&y(b[0])&&(b=b[0]),!b.length)return Di();for(L=b[0],F=1;F<b.length;++F)(!b[F].isValid()||b[F][f](L))&&(L=b[F]);return L}var bu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Qd(f){var b=du(f),L=b.year||0,F=b.quarter||0,q=b.month||0,ye=b.week||b.isoWeek||0,Te=b.day||0,gt=b.hour||0,It=b.minute||0,At=b.second||0,Vs=b.millisecond||0;this._isValid=function Ko(f){var b,F,L=!1,q=bu.length;for(b in f)if(S(f,b)&&(-1===mt.call(bu,b)||null!=f[b]&&isNaN(f[b])))return!1;for(F=0;F<q;++F)if(f[bu[F]]){if(L)return!1;parseFloat(f[bu[F]])!==tn(f[bu[F]])&&(L=!0)}return!0}(b),this._milliseconds=+Vs+1e3*At+6e4*It+1e3*gt*60*60,this._days=+Te+7*ye,this._months=+q+3*F+12*L,this._data={},this._locale=Br(),this._bubble()}function wu(f){return f instanceof Qd}function Cu(f){return f<0?-1*Math.round(-1*f):Math.round(f)}function Hr(f,b){he(f,0,0,function(){var L=this.utcOffset(),F="+";return L<0&&(L=-L,F="-"),F+ge(~~(L/60),2)+b+ge(~~L%60,2)})}Hr("Z",":"),Hr("ZZ",""),bt("Z",Wd),bt("ZZ",Wd),Wn(["Z","ZZ"],function(f,b,L){L._useUTC=!0,L._tzm=a_(Wd,f)});var bn=/([\+\-]|\d\d)/gi;function a_(f,b){var q,ye,L=(b||"").match(f);return null===L?null:0===(ye=60*(q=((L[L.length-1]||[])+"").match(bn)||["-",0,0])[1]+tn(q[2]))?0:"+"===q[0]?ye:-ye}function eh(f,b){var L,F;return b._isUTC?(L=b.clone(),F=(Qe(f)||Q(f)?f.valueOf():Di(f).valueOf())-L.valueOf(),L._d.setTime(L._d.valueOf()+F),g.updateOffset(L,!1),L):Di(f).local()}function lp(f){return-Math.round(f._d.getTimezoneOffset())}function c_(){return!!this.isValid()&&this._isUTC&&0===this._offset}g.updateOffset=function(){};var wx=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cx=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ho(f,b){var q,ye,Te,L=f,F=null;return wu(f)?L={ms:f._milliseconds,d:f._days,M:f._months}:I(f)||!isNaN(+f)?(L={},b?L[b]=+f:L.milliseconds=+f):(F=wx.exec(f))?(q="-"===F[1]?-1:1,L={y:0,d:tn(F[Hs])*q,h:tn(F[Ci])*q,m:tn(F[Yr])*q,s:tn(F[lo])*q,ms:tn(Cu(1e3*F[jr]))*q}):(F=Cx.exec(f))?L={y:cc(F[2],q="-"===F[1]?-1:1),M:cc(F[3],q),w:cc(F[4],q),d:cc(F[5],q),h:cc(F[6],q),m:cc(F[7],q),s:cc(F[8],q)}:null==L?L={}:"object"==typeof L&&("from"in L||"to"in L)&&(Te=function Mx(f,b){var L;return f.isValid()&&b.isValid()?(b=eh(b,f),f.isBefore(b)?L=u_(f,b):((L=u_(b,f)).milliseconds=-L.milliseconds,L.months=-L.months),L):{milliseconds:0,months:0}}(Di(L.from),Di(L.to)),(L={}).ms=Te.milliseconds,L.M=Te.months),ye=new Qd(L),wu(f)&&S(f,"_locale")&&(ye._locale=f._locale),wu(f)&&S(f,"_isValid")&&(ye._isValid=f._isValid),ye}function cc(f,b){var L=f&&parseFloat(f.replace(",","."));return(isNaN(L)?0:L)*b}function u_(f,b){var L={};return L.months=b.month()-f.month()+12*(b.year()-f.year()),f.clone().add(L.months,"M").isAfter(b)&&--L.months,L.milliseconds=+b-+f.clone().add(L.months,"M"),L}function u1(f,b){return function(L,F){var ye;return null!==F&&!isNaN(+F)&&(vn(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ye=L,L=F,F=ye),d1(this,ho(L,F),f),this}}function d1(f,b,L,F){var q=b._milliseconds,ye=Cu(b._days),Te=Cu(b._months);f.isValid()&&(F=F??!0,Te&&X0(f,Ri(f,"Month")+Te*L),ye&&Xf(f,"Date",Ri(f,"Date")+ye*L),q&&f._d.setTime(f._d.valueOf()+q*L),F&&g.updateOffset(f,ye||Te))}ho.fn=Qd.prototype,ho.invalid=function lc(){return ho(NaN)};var xe=u1(1,"add"),Dx=u1(-1,"subtract");function h1(f){return"string"==typeof f||f instanceof String}function pn(f){return Qe(f)||Q(f)||h1(f)||I(f)||function rt(f){var b=y(f),L=!1;return b&&(L=0===f.filter(function(F){return!I(F)&&h1(f)}).length),b&&L}(f)||function f1(f){var q,b=C(f)&&!E(f),L=!1,F=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Te=F.length;for(q=0;q<Te;q+=1)L=L||S(f,F[q]);return b&&L}(f)||null==f}function dl(f,b){if(f.date()<b.date())return-dl(b,f);var L=12*(b.year()-f.year())+(b.month()-f.month()),F=f.clone().add(L,"months");return-(L+(b-F<0?(b-F)/(F-f.clone().add(L-1,"months")):(b-F)/(f.clone().add(L+1,"months")-F)))||0}function p_(f){var b;return void 0===f?this._locale._abbr:(null!=(b=Br(f))&&(this._locale=b),this)}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var g_=vt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(f){return void 0===f?this.localeData():this.locale(f)});function hl(){return this._locale}var fl=6e4,uc=60*fl,_1=3506328*uc;function pl(f,b){return(f%b+b)%b}function nh(f,b,L){return f<100&&f>=0?new Date(f+400,b,L)-_1:new Date(f,b,L).valueOf()}function ys(f,b,L){return f<100&&f>=0?Date.UTC(f+400,b,L)-_1:Date.UTC(f,b,L)}function y_(f,b){return b.erasAbbrRegex(f)}function rh(){var q,ye,Te,gt,It,f=[],b=[],L=[],F=[],At=this.eras();for(q=0,ye=At.length;q<ye;++q)Te=$o(At[q].name),gt=$o(At[q].abbr),It=$o(At[q].narrow),b.push(Te),f.push(gt),L.push(It),F.push(Te),F.push(gt),F.push(It);this._erasRegex=new RegExp("^("+F.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+b.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+f.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+L.join("|")+")","i")}function dc(f,b){he(0,[f,f.length],0,b)}function er(f,b,L,F,q){var ye;return null==f?Jf(this,F,q).year:(b>(ye=Ie(f,F,q))&&(b=ye),Su.call(this,f,b,L,F,q))}function Su(f,b,L,F,q){var ye=tx(f,b,L,F,q),Te=Zf(ye.year,0,ye.dayOfYear);return this.year(Te.getUTCFullYear()),this.month(Te.getUTCMonth()),this.date(Te.getUTCDate()),this}he("N",0,0,"eraAbbr"),he("NN",0,0,"eraAbbr"),he("NNN",0,0,"eraAbbr"),he("NNNN",0,0,"eraName"),he("NNNNN",0,0,"eraNarrow"),he("y",["y",1],"yo","eraYear"),he("y",["yy",2],0,"eraYear"),he("y",["yyy",3],0,"eraYear"),he("y",["yyyy",4],0,"eraYear"),bt("N",y_),bt("NN",y_),bt("NNN",y_),bt("NNNN",function jx(f,b){return b.erasNameRegex(f)}),bt("NNNNN",function Bx(f,b){return b.erasNarrowRegex(f)}),Wn(["N","NN","NNN","NNNN","NNNNN"],function(f,b,L,F){var q=L._locale.erasParse(f,F,L._strict);q?U(L).era=q:U(L).invalidEra=f}),bt("y",nc),bt("yy",nc),bt("yyy",nc),bt("yyyy",nc),bt("yo",function Hx(f,b){return b._eraYearOrdinalRegex||nc}),Wn(["y","yy","yyy","yyyy"],wi),Wn(["yo"],function(f,b,L,F){var q;L._locale._eraYearOrdinalRegex&&(q=f.match(L._locale._eraYearOrdinalRegex)),b[wi]=L._locale.eraYearOrdinalParse?L._locale.eraYearOrdinalParse(f,q):parseInt(f,10)}),he(0,["gg",2],0,function(){return this.weekYear()%100}),he(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dc("gggg","weekYear"),dc("ggggg","weekYear"),dc("GGGG","isoWeekYear"),dc("GGGGG","isoWeekYear"),bt("G",zm),bt("g",zm),bt("GG",_i,Fr),bt("gg",_i,Fr),bt("GGGG",$f,zf),bt("gggg",$f,zf),bt("GGGGG",Un,Gf),bt("ggggg",Un,Gf),qf(["gggg","ggggg","GGGG","GGGGG"],function(f,b,L,F){b[F.substr(0,2)]=tn(f)}),qf(["gg","GG"],function(f,b,L,F){b[F]=g.parseTwoDigitYear(f)}),he("Q",0,"Qo","quarter"),bt("Q",zd),Wn("Q",function(f,b){b[Xs]=3*(tn(f)-1)}),he("D",["DD",2],"Do","date"),bt("D",_i,sc),bt("DD",_i,Fr),bt("Do",function(f,b){return f?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient}),Wn(["D","DD"],Hs),Wn("Do",function(f,b){b[Hs]=tn(f.match(_i)[0])});var $i=pu("Date",!0);he("DDD",["DDDD",3],"DDDo","dayOfYear"),bt("DDD",Wf),bt("DDDD",Mn),Wn(["DDD","DDDD"],function(f,b,L){L._dayOfYear=tn(f)}),he("m",["mm",2],0,"minute"),bt("m",_i,Gt),bt("mm",_i,Fr),Wn(["m","mm"],Yr);var Nt=pu("Minutes",!1);he("s",["ss",2],0,"second"),bt("s",_i,Gt),bt("ss",_i,Fr),Wn(["s","ss"],lo);var Ma,hc,oh=pu("Seconds",!1);for(he("S",0,0,function(){return~~(this.millisecond()/100)}),he(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),he(0,["SSS",3],0,"millisecond"),he(0,["SSSS",4],0,function(){return 10*this.millisecond()}),he(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),he(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),he(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),he(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),he(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),bt("S",Wf,zd),bt("SS",Wf,Fr),bt("SSS",Wf,Mn),Ma="SSSS";Ma.length<=9;Ma+="S")bt(Ma,nc);function Ni(f,b){b[jr]=tn(1e3*("0."+f))}for(Ma="S";Ma.length<=9;Ma+="S")Wn(Ma,Ni);hc=pu("Milliseconds",!1),he("z",0,0,"zoneAbbr"),he("zz",0,0,"zoneName");var Xe=Je.prototype;function Da(f){return f}Xe.add=xe,Xe.calendar=function os(f,b){1===arguments.length&&(arguments[0]?pn(arguments[0])?(f=arguments[0],b=void 0):function rs(f){var q,b=C(f)&&!E(f),L=!1,F=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(q=0;q<F.length;q+=1)L=L||S(f,F[q]);return b&&L}(arguments[0])&&(b=arguments[0],f=void 0):(f=void 0,b=void 0));var L=f||Di(),F=eh(L,this).startOf("day"),q=g.calendarFormat(this,F)||"sameElse",ye=b&&(qt(b[q])?b[q].call(this,L):b[q]);return this.format(ye||this.localeData().calendar(q,this,Di(L)))},Xe.clone=function Ms(){return new Je(this)},Xe.diff=function Sx(f,b,L){var F,q,ye;if(!this.isValid())return NaN;if(!(F=eh(f,this)).isValid())return NaN;switch(q=6e4*(F.utcOffset()-this.utcOffset()),b=ao(b)){case"year":ye=dl(this,F)/12;break;case"month":ye=dl(this,F);break;case"quarter":ye=dl(this,F)/3;break;case"second":ye=(this-F)/1e3;break;case"minute":ye=(this-F)/6e4;break;case"hour":ye=(this-F)/36e5;break;case"day":ye=(this-F-q)/864e5;break;case"week":ye=(this-F-q)/6048e5;break;default:ye=this-F}return L?ye:Oe(ye)},Xe.endOf=function m_(f){var b,L;if(void 0===(f=ao(f))||"millisecond"===f||!this.isValid())return this;switch(L=this._isUTC?ys:nh,f){case"year":b=L(this.year()+1,0,1)-1;break;case"quarter":b=L(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":b=L(this.year(),this.month()+1,1)-1;break;case"week":b=L(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":b=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":b=L(this.year(),this.month(),this.date()+1)-1;break;case"hour":b=this._d.valueOf(),b+=uc-pl(b+(this._isUTC?0:this.utcOffset()*fl),uc)-1;break;case"minute":b=this._d.valueOf(),b+=fl-pl(b,fl)-1;break;case"second":b=this._d.valueOf(),b+=1e3-pl(b,1e3)-1}return this._d.setTime(b),g.updateOffset(this,!0),this},Xe.format=function up(f){f||(f=this.isUtc()?g.defaultFormatUtc:g.defaultFormat);var b=at(this,f);return this.localeData().postformat(b)},Xe.from=function rA(f,b){return this.isValid()&&(Qe(f)&&f.isValid()||Di(f).isValid())?ho({to:this,from:f}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()},Xe.fromNow=function h_(f){return this.from(Di(),f)},Xe.to=function Ex(f,b){return this.isValid()&&(Qe(f)&&f.isValid()||Di(f).isValid())?ho({from:this,to:f}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()},Xe.toNow=function f_(f){return this.to(Di(),f)},Xe.get=function UI(f){return qt(this[f=ao(f)])?this[f]():this},Xe.invalidAt=function Xo(){return U(this).overflow},Xe.isAfter=function ul(f,b){var L=Qe(f)?f:Di(f);return!(!this.isValid()||!L.isValid())&&("millisecond"===(b=ao(b)||"millisecond")?this.valueOf()>L.valueOf():L.valueOf()<this.clone().startOf(b).valueOf())},Xe.isBefore=function Is(f,b){var L=Qe(f)?f:Di(f);return!(!this.isValid()||!L.isValid())&&("millisecond"===(b=ao(b)||"millisecond")?this.valueOf()<L.valueOf():this.clone().endOf(b).valueOf()<L.valueOf())},Xe.isBetween=function p1(f,b,L,F){var q=Qe(f)?f:Di(f),ye=Qe(b)?b:Di(b);return!!(this.isValid()&&q.isValid()&&ye.isValid())&&("("===(F=F||"()")[0]?this.isAfter(q,L):!this.isBefore(q,L))&&(")"===F[1]?this.isBefore(ye,L):!this.isAfter(ye,L))},Xe.isSame=function g1(f,b){var F,L=Qe(f)?f:Di(f);return!(!this.isValid()||!L.isValid())&&("millisecond"===(b=ao(b)||"millisecond")?this.valueOf()===L.valueOf():(F=L.valueOf(),this.clone().startOf(b).valueOf()<=F&&F<=this.clone().endOf(b).valueOf()))},Xe.isSameOrAfter=function cp(f,b){return this.isSame(f,b)||this.isAfter(f,b)},Xe.isSameOrBefore=function xx(f,b){return this.isSame(f,b)||this.isBefore(f,b)},Xe.isValid=function Ix(){return $(this)},Xe.lang=g_,Xe.locale=p_,Xe.localeData=hl,Xe.max=iA,Xe.min=o1,Xe.parsingFlags=function __(){return se({},U(this))},Xe.set=function ZD(f,b){if("object"==typeof f){var F,L=function $0(f){var L,b=[];for(L in f)S(f,L)&&b.push({unit:L,priority:hi[L]});return b.sort(function(F,q){return F.priority-q.priority}),b}(f=du(f)),q=L.length;for(F=0;F<q;F++)this[L[F].unit](f[L[F].unit])}else if(qt(this[f=ao(f)]))return this[f](b);return this},Xe.startOf=function Mu(f){var b,L;if(void 0===(f=ao(f))||"millisecond"===f||!this.isValid())return this;switch(L=this._isUTC?ys:nh,f){case"year":b=L(this.year(),0,1);break;case"quarter":b=L(this.year(),this.month()-this.month()%3,1);break;case"month":b=L(this.year(),this.month(),1);break;case"week":b=L(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":b=L(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":b=L(this.year(),this.month(),this.date());break;case"hour":b=this._d.valueOf(),b-=pl(b+(this._isUTC?0:this.utcOffset()*fl),uc);break;case"minute":b=this._d.valueOf(),b-=pl(b,fl);break;case"second":b=this._d.valueOf(),b-=pl(b,1e3)}return this._d.setTime(b),g.updateOffset(this,!0),this},Xe.subtract=Dx,Xe.toArray=function Du(){var f=this;return[f.year(),f.month(),f.date(),f.hour(),f.minute(),f.second(),f.millisecond()]},Xe.toObject=function Lx(){var f=this;return{years:f.year(),months:f.month(),date:f.date(),hours:f.hours(),minutes:f.minutes(),seconds:f.seconds(),milliseconds:f.milliseconds()}},Xe.toDate=function y1(){return new Date(this.valueOf())},Xe.toISOString=function d_(f){if(!this.isValid())return null;var b=!0!==f,L=b?this.clone().utc():this;return L.year()<0||L.year()>9999?at(L,b?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):qt(Date.prototype.toISOString)?b?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",at(L,"Z")):at(L,b?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Xe.inspect=function m1(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var L,F,f="moment",b="";return this.isLocal()||(f=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z"),L="["+f+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(L+F+"-MM-DD[T]HH:mm:ss.SSS"+b+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Xe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Xe.toJSON=function Px(){return this.isValid()?this.toISOString():null},Xe.toString=function Tx(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Xe.unix=function Ox(){return Math.floor(this.valueOf()/1e3)},Xe.valueOf=function kx(){return this._d.valueOf()-6e4*(this._offset||0)},Xe.creationData=function v1(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Xe.eraName=function Rx(){var f,b,L,F=this.localeData().eras();for(f=0,b=F.length;f<b;++f)if(L=this.clone().startOf("day").valueOf(),F[f].since<=L&&L<=F[f].until||F[f].until<=L&&L<=F[f].since)return F[f].name;return""},Xe.eraNarrow=function as(){var f,b,L,F=this.localeData().eras();for(f=0,b=F.length;f<b;++f)if(L=this.clone().startOf("day").valueOf(),F[f].since<=L&&L<=F[f].until||F[f].until<=L&&L<=F[f].since)return F[f].narrow;return""},Xe.eraAbbr=function b1(){var f,b,L,F=this.localeData().eras();for(f=0,b=F.length;f<b;++f)if(L=this.clone().startOf("day").valueOf(),F[f].since<=L&&L<=F[f].until||F[f].until<=L&&L<=F[f].since)return F[f].abbr;return""},Xe.eraYear=function Nx(){var f,b,L,F,q=this.localeData().eras();for(f=0,b=q.length;f<b;++f)if(L=q[f].since<=q[f].until?1:-1,F=this.clone().startOf("day").valueOf(),q[f].since<=F&&F<=q[f].until||q[f].until<=F&&F<=q[f].since)return(this.year()-g(q[f].since).year())*L+q[f].offset;return this.year()},Xe.year=XD,Xe.isLeapYear=function $n(){return $d(this.year())},Xe.weekYear=function xi(f){return er.call(this,f,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},Xe.isoWeekYear=function it(f){return er.call(this,f,this.isoWeek(),this.isoWeekday(),1,4)},Xe.quarter=Xe.quarters=function fi(f){return null==f?Math.ceil((this.month()+1)/3):this.month(3*(f-1)+this.month()%3)},Xe.month=QD,Xe.daysInMonth=function ex(){return gu(this.year(),this.month())},Xe.week=Xe.weeks=function Z0(f){var b=this.localeData().week(this);return null==f?b:this.add(7*(f-b),"d")},Xe.isoWeek=Xe.isoWeeks=function ix(f){var b=Jf(this,1,4).week;return null==f?b:this.add(7*(f-b),"d")},Xe.weeksInYear=function fo(){var f=this.localeData()._week;return Ie(this.year(),f.dow,f.doy)},Xe.weeksInWeekYear=function As(){var f=this.localeData()._week;return Ie(this.weekYear(),f.dow,f.doy)},Xe.isoWeeksInYear=function St(){return Ie(this.year(),1,4)},Xe.isoWeeksInISOWeekYear=function Wi(){return Ie(this.isoWeekYear(),1,4)},Xe.date=$i,Xe.day=Xe.days=function eA(f){if(!this.isValid())return null!=f?this:NaN;var b=Ri(this,"Day");return null!=f?(f=function ep(f,b){return"string"!=typeof f?f:isNaN(f)?"number"==typeof(f=b.weekdaysParse(f))?f:null:parseInt(f,10)}(f,this.localeData()),this.add(f-b,"d")):b},Xe.weekday=function tA(f){if(!this.isValid())return null!=f?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==f?b:this.add(f-b,"d")},Xe.isoWeekday=function Xm(f){if(!this.isValid())return null!=f?this:NaN;if(null!=f){var b=function tp(f,b){return"string"==typeof f?b.weekdaysParse(f)%7||7:isNaN(f)?null:f}(f,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7},Xe.dayOfYear=function po(f){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==f?b:this.add(f-b,"d")},Xe.hour=Xe.hours=rx,Xe.minute=Xe.minutes=Nt,Xe.second=Xe.seconds=oh,Xe.millisecond=Xe.milliseconds=hc,Xe.utcOffset=function a1(f,b,L){var q,F=this._offset||0;if(!this.isValid())return null!=f?this:NaN;if(null!=f){if("string"==typeof f){if(null===(f=a_(Wd,f)))return this}else Math.abs(f)<16&&!L&&(f*=60);return!this._isUTC&&b&&(q=lp(this)),this._offset=f,this._isUTC=!0,null!=q&&this.add(q,"m"),F!==f&&(!b||this._changeInProgress?d1(this,ho(f-F,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?F:lp(this)},Xe.utc=function l1(f){return this.utcOffset(0,f)},Xe.local=function c1(f){return this._isUTC&&(this.utcOffset(0,f),this._isUTC=!1,f&&this.subtract(lp(this),"m")),this},Xe.parseZone=function _x(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var f=a_(ic,this._i);null!=f?this.utcOffset(f):this.utcOffset(0,!0)}return this},Xe.hasAlignedHourOffset=function l_(f){return!!this.isValid()&&(f=f?Di(f).utcOffset():0,(this.utcOffset()-f)%60==0)},Xe.isDST=function yx(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Xe.isLocal=function uo(){return!!this.isValid()&&!this._isUTC},Xe.isUtcOffset=function bx(){return!!this.isValid()&&this._isUTC},Xe.isUtc=c_,Xe.isUTC=c_,Xe.zoneAbbr=function ah(){return this._isUTC?"UTC":""},Xe.zoneName=function Tu(){return this._isUTC?"Coordinated Universal Time":""},Xe.dates=vt("dates accessor is deprecated. Use date instead.",$i),Xe.months=vt("months accessor is deprecated. Use month instead",QD),Xe.years=vt("years accessor is deprecated. Use year instead",XD),Xe.zone=vt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function th(f,b){return null!=f?("string"!=typeof f&&(f=-f),this.utcOffset(f,b),this):-this.utcOffset()}),Xe.isDSTShifted=vt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function vx(){if(!A(this._isDSTShifted))return this._isDSTShifted;var b,f={};return Pe(f,this),(f=Jd(f))._a?(b=f._isUTC?me(f._a):Di(f._a),this._isDSTShifted=this.isValid()&&function ap(f,b,L){var Te,F=Math.min(f.length,b.length),q=Math.abs(f.length-b.length),ye=0;for(Te=0;Te<F;Te++)(L&&f[Te]!==b[Te]||!L&&tn(f[Te])!==tn(b[Te]))&&ye++;return ye+q}(f._a,b.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Dn=ke.prototype;function Zo(f,b,L,F){var q=Br(),ye=me().set(F,b);return q[L](ye,f)}function Bt(f,b,L){if(I(f)&&(b=f,f=void 0),f=f||"",null!=b)return Zo(f,b,L,"month");var F,q=[];for(F=0;F<12;F++)q[F]=Zo(f,F,L,"month");return q}function ch(f,b,L,F){"boolean"==typeof f?(I(b)&&(L=b,b=void 0),b=b||""):(L=b=f,f=!1,I(b)&&(L=b,b=void 0),b=b||"");var Te,q=Br(),ye=f?q._week.dow:0,gt=[];if(null!=L)return Zo(b,(L+ye)%7,F,"day");for(Te=0;Te<7;Te++)gt[Te]=Zo(b,(Te+ye)%7,F,"day");return gt}Dn.calendar=function ie(f,b,L){var F=this._calendar[f]||this._calendar.sameElse;return qt(F)?F.call(b,L):F},Dn.longDateFormat=function Fn(f){var b=this._longDateFormat[f],L=this._longDateFormat[f.toUpperCase()];return b||!L?b:(this._longDateFormat[f]=L.match(Me).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[f])},Dn.invalidDate=function bi(){return this._invalidDate},Dn.ordinal=function ss(f){return this._ordinal.replace("%d",f)},Dn.preparse=Da,Dn.postformat=Da,Dn.relativeTime=function Vf(f,b,L,F){var q=this._relativeTime[L];return qt(q)?q(f,b,L,F):q.replace(/%d/i,f)},Dn.pastFuture=function ll(f,b){var L=this._relativeTime[f>0?"future":"past"];return qt(L)?L(b):L.replace(/%s/i,b)},Dn.set=function J(f){var b,L;for(L in f)S(f,L)&&(qt(b=f[L])?this[L]=b:this["_"+L]=b);this._config=f,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Dn.eras=function ih(f,b){var L,F,q,ye=this._eras||Br("en")._eras;for(L=0,F=ye.length;L<F;++L)switch("string"==typeof ye[L].since&&(q=g(ye[L].since).startOf("day"),ye[L].since=q.valueOf()),typeof ye[L].until){case"undefined":ye[L].until=1/0;break;case"string":q=g(ye[L].until).startOf("day").valueOf(),ye[L].until=q.valueOf()}return ye},Dn.erasParse=function xu(f,b,L){var F,q,Te,gt,It,ye=this.eras();for(f=f.toUpperCase(),F=0,q=ye.length;F<q;++F)if(Te=ye[F].name.toUpperCase(),gt=ye[F].abbr.toUpperCase(),It=ye[F].narrow.toUpperCase(),L)switch(b){case"N":case"NN":case"NNN":if(gt===f)return ye[F];break;case"NNNN":if(Te===f)return ye[F];break;case"NNNNN":if(It===f)return ye[F]}else if([Te,gt,It].indexOf(f)>=0)return ye[F]},Dn.erasConvertYear=function Ax(f,b){var L=f.since<=f.until?1:-1;return void 0===b?g(f.since).year():g(f.since).year()+(b-f.offset)*L},Dn.erasAbbrRegex=function Fx(f){return S(this,"_erasAbbrRegex")||rh.call(this),f?this._erasAbbrRegex:this._erasRegex},Dn.erasNameRegex=function sh(f){return S(this,"_erasNameRegex")||rh.call(this),f?this._erasNameRegex:this._erasRegex},Dn.erasNarrowRegex=function Yx(f){return S(this,"_erasNarrowRegex")||rh.call(this),f?this._erasNarrowRegex:this._erasRegex},Dn.months=function GI(f,b){return f?y(this._months)?this._months[f.month()]:this._months[(this._months.isFormat||K0).test(b)?"format":"standalone"][f.month()]:y(this._months)?this._months:this._months.standalone},Dn.monthsShort=function WI(f,b){return f?y(this._monthsShort)?this._monthsShort[f.month()]:this._monthsShort[K0.test(b)?"format":"standalone"][f.month()]:y(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Dn.monthsParse=function qI(f,b,L){var F,q,ye;if(this._monthsParseExact)return $I.call(this,f,b,L);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),F=0;F<12;F++){if(q=me([2e3,F]),L&&!this._longMonthsParse[F]&&(this._longMonthsParse[F]=new RegExp("^"+this.months(q,"").replace(".","")+"$","i"),this._shortMonthsParse[F]=new RegExp("^"+this.monthsShort(q,"").replace(".","")+"$","i")),!L&&!this._monthsParse[F]&&(ye="^"+this.months(q,"")+"|^"+this.monthsShort(q,""),this._monthsParse[F]=new RegExp(ye.replace(".",""),"i")),L&&"MMMM"===b&&this._longMonthsParse[F].test(f))return F;if(L&&"MMM"===b&&this._shortMonthsParse[F].test(f))return F;if(!L&&this._monthsParse[F].test(f))return F}},Dn.monthsRegex=function yr(f){return this._monthsParseExact?(S(this,"_monthsRegex")||Pt.call(this),f?this._monthsStrictRegex:this._monthsRegex):(S(this,"_monthsRegex")||(this._monthsRegex=cl),this._monthsStrictRegex&&f?this._monthsStrictRegex:this._monthsRegex)},Dn.monthsShortRegex=function KI(f){return this._monthsParseExact?(S(this,"_monthsRegex")||Pt.call(this),f?this._monthsShortStrictRegex:this._monthsShortRegex):(S(this,"_monthsShortRegex")||(this._monthsShortRegex=zI),this._monthsShortStrictRegex&&f?this._monthsShortStrictRegex:this._monthsShortRegex)},Dn.week=function ZI(f){return Jf(f,this._week.dow,this._week.doy).week},Dn.firstDayOfYear=function nx(){return this._week.doy},Dn.firstDayOfWeek=function Qf(){return this._week.dow},Dn.weekdays=function qm(f,b){var L=y(this._weekdays)?this._weekdays:this._weekdays[f&&!0!==f&&this._weekdays.isFormat.test(b)?"format":"standalone"];return!0===f?qd(L,this._week.dow):f?L[f.day()]:L},Dn.weekdaysMin=function Km(f){return!0===f?qd(this._weekdaysMin,this._week.dow):f?this._weekdaysMin[f.day()]:this._weekdaysMin},Dn.weekdaysShort=function sx(f){return!0===f?qd(this._weekdaysShort,this._week.dow):f?this._weekdaysShort[f.day()]:this._weekdaysShort},Dn.weekdaysParse=function QI(f,b,L){var F,q,ye;if(this._weekdaysParseExact)return JI.call(this,f,b,L);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(q=me([2e3,1]).day(F),L&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(q,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(q,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(q,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(ye="^"+this.weekdays(q,"")+"|^"+this.weekdaysShort(q,"")+"|^"+this.weekdaysMin(q,""),this._weekdaysParse[F]=new RegExp(ye.replace(".",""),"i")),L&&"dddd"===b&&this._fullWeekdaysParse[F].test(f))return F;if(L&&"ddd"===b&&this._shortWeekdaysParse[F].test(f))return F;if(L&&"dd"===b&&this._minWeekdaysParse[F].test(f))return F;if(!L&&this._weekdaysParse[F].test(f))return F}},Dn.weekdaysRegex=function Kd(f){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||np.call(this),f?this._weekdaysStrictRegex:this._weekdaysRegex):(S(this,"_weekdaysRegex")||(this._weekdaysRegex=Wm),this._weekdaysStrictRegex&&f?this._weekdaysStrictRegex:this._weekdaysRegex)},Dn.weekdaysShortRegex=function Zm(f){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||np.call(this),f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(S(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$m),this._weekdaysShortStrictRegex&&f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Dn.weekdaysMinRegex=function Jm(f){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||np.call(this),f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(S(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=e1),this._weekdaysMinStrictRegex&&f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Dn.isPM=function jn(f){return"p"===(f+"").toLowerCase().charAt(0)},Dn.meridiem=function ox(f,b,L){return f>11?L?"pm":"PM":L?"am":"AM"},oc("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(f){var b=f%10;return f+(1===tn(f%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),g.lang=vt("moment.lang is deprecated. Use moment.locale instead.",oc),g.langData=vt("moment.langData is deprecated. Use moment.localeData instead.",Br);var go=Math.abs;function Ds(f,b,L,F){var q=ho(b,L);return f._milliseconds+=F*q._milliseconds,f._days+=F*q._days,f._months+=F*q._months,f._bubble()}function dh(f){return f<0?Math.floor(f):Math.ceil(f)}function fp(f){return 4800*f/146097}function b_(f){return 146097*f/4800}function _o(f){return function(){return this.as(f)}}var w_=_o("ms"),Ux=_o("s"),C_=_o("m"),oA=_o("h"),aA=_o("d"),lA=_o("w"),cA=_o("M"),uA=_o("Q"),dA=_o("y"),hA=w_;function ku(f){return function(){return this.isValid()?this._data[f]:NaN}}var gA=ku("milliseconds"),mA=ku("seconds"),C1=ku("minutes"),M1=ku("hours"),_A=ku("days"),yA=ku("months"),vA=ku("years");var xa=Math.round,pc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ut(f,b,L,F,q){return q.relativeTime(b||1,!!L,f,F)}var pp=Math.abs;function Ou(f){return(f>0)-(f<0)||+f}function Lu(){if(!this.isValid())return this.localeData().invalidDate();var F,q,ye,Te,It,At,Vs,vr,f=pp(this._milliseconds)/1e3,b=pp(this._days),L=pp(this._months),gt=this.asSeconds();return gt?(F=Oe(f/60),q=Oe(F/60),f%=60,F%=60,ye=Oe(L/12),L%=12,Te=f?f.toFixed(3).replace(/\.?0+$/,""):"",It=gt<0?"-":"",At=Ou(this._months)!==Ou(gt)?"-":"",Vs=Ou(this._days)!==Ou(gt)?"-":"",vr=Ou(this._milliseconds)!==Ou(gt)?"-":"",It+"P"+(ye?At+ye+"Y":"")+(L?At+L+"M":"")+(b?Vs+b+"D":"")+(q||F||f?"T":"")+(q?vr+q+"H":"")+(F?vr+F+"M":"")+(f?vr+Te+"S":"")):"P0D"}var kn=Qd.prototype;return kn.isValid=function In(){return this._isValid},kn.abs=function Rs(){var f=this._data;return this._milliseconds=go(this._milliseconds),this._days=go(this._days),this._months=go(this._months),f.milliseconds=go(f.milliseconds),f.seconds=go(f.seconds),f.minutes=go(f.minutes),f.hours=go(f.hours),f.months=go(f.months),f.years=go(f.years),this},kn.add=function v_(f,b){return Ds(this,f,b,1)},kn.subtract=function fc(f,b){return Ds(this,f,b,-1)},kn.as=function Vx(f){if(!this.isValid())return NaN;var b,L,F=this._milliseconds;if("month"===(f=ao(f))||"quarter"===f||"year"===f)switch(b=this._days+F/864e5,L=this._months+fp(b),f){case"month":return L;case"quarter":return L/3;case"year":return L/12}else switch(b=this._days+Math.round(b_(this._months)),f){case"week":return b/7+F/6048e5;case"day":return b+F/864e5;case"hour":return 24*b+F/36e5;case"minute":return 1440*b+F/6e4;case"second":return 86400*b+F/1e3;case"millisecond":return Math.floor(864e5*b)+F;default:throw new Error("Unknown unit "+f)}},kn.asMilliseconds=w_,kn.asSeconds=Ux,kn.asMinutes=C_,kn.asHours=oA,kn.asDays=aA,kn.asWeeks=lA,kn.asMonths=cA,kn.asQuarters=uA,kn.asYears=dA,kn.valueOf=hA,kn._bubble=function mo(){var q,ye,Te,gt,It,f=this._milliseconds,b=this._days,L=this._months,F=this._data;return f>=0&&b>=0&&L>=0||f<=0&&b<=0&&L<=0||(f+=864e5*dh(b_(L)+b),b=0,L=0),F.milliseconds=f%1e3,q=Oe(f/1e3),F.seconds=q%60,ye=Oe(q/60),F.minutes=ye%60,Te=Oe(ye/60),F.hours=Te%24,b+=Oe(Te/24),L+=It=Oe(fp(b)),b-=dh(b_(It)),gt=Oe(L/12),L%=12,F.days=b,F.months=L,F.years=gt,this},kn.clone=function fA(){return ho(this)},kn.get=function pA(f){return f=ao(f),this.isValid()?this[f+"s"]():NaN},kn.milliseconds=gA,kn.seconds=mA,kn.minutes=C1,kn.hours=M1,kn.days=_A,kn.weeks=function bA(){return Oe(this.days()/7)},kn.months=yA,kn.years=vA,kn.humanize=function x1(f,b){if(!this.isValid())return this.localeData().invalidDate();var q,ye,L=!1,F=pc;return"object"==typeof f&&(b=f,f=!1),"boolean"==typeof f&&(L=f),"object"==typeof b&&(F=Object.assign({},pc,b),null!=b.s&&null==b.ss&&(F.ss=b.s-1)),ye=function D1(f,b,L,F){var q=ho(f).abs(),ye=xa(q.as("s")),Te=xa(q.as("m")),gt=xa(q.as("h")),It=xa(q.as("d")),At=xa(q.as("M")),Vs=xa(q.as("w")),vr=xa(q.as("y")),br=ye<=L.ss&&["s",ye]||ye<L.s&&["ss",ye]||Te<=1&&["m"]||Te<L.m&&["mm",Te]||gt<=1&&["h"]||gt<L.h&&["hh",gt]||It<=1&&["d"]||It<L.d&&["dd",It];return null!=L.w&&(br=br||Vs<=1&&["w"]||Vs<L.w&&["ww",Vs]),(br=br||At<=1&&["M"]||At<L.M&&["MM",At]||vr<=1&&["y"]||["yy",vr])[2]=b,br[3]=+f>0,br[4]=F,Ut.apply(null,br)}(this,!L,F,q=this.localeData()),L&&(ye=q.pastFuture(+this,ye)),q.postformat(ye)},kn.toISOString=Lu,kn.toString=Lu,kn.toJSON=Lu,kn.locale=p_,kn.localeData=hl,kn.toIsoString=vt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Lu),kn.lang=g_,he("X",0,0,"unix"),he("x",0,0,"valueOf"),bt("x",zm),bt("X",/[+-]?\d+(\.\d{1,3})?/),Wn("X",function(f,b,L){L._d=new Date(1e3*parseFloat(f))}),Wn("x",function(f,b,L){L._d=new Date(tn(f))}),g.version="2.30.1",function w(f){T=f}(Di),g.fn=Xe,g.min=function o_(){return Qs("isBefore",[].slice.call(arguments,0))},g.max=function vu(){return Qs("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=me,g.unix=function lh(f){return Di(1e3*f)},g.months=function uh(f,b){return Bt(f,b,"months")},g.isDate=Q,g.locale=oc,g.invalid=ae,g.duration=ho,g.isMoment=Qe,g.weekdays=function hp(f,b,L){return ch(f,b,L,"weekdays")},g.parseZone=function w1(){return Di.apply(null,arguments).parseZone()},g.localeData=Br,g.isDuration=wu,g.monthsShort=function Jo(f,b){return Bt(f,b,"monthsShort")},g.weekdaysMin=function qi(f,b,L){return ch(f,b,L,"weekdaysMin")},g.defineLocale=ac,g.updateLocale=function i_(f,b){if(null!=b){var L,F,q=ax;null!=Mi[f]&&null!=Mi[f].parentLocale?Mi[f].set(_e(Mi[f]._config,b)):(null!=(F=n_(f))&&(q=F._config),b=_e(q,b),null==F&&(b.abbr=f),(L=new ke(b)).parentLocale=Mi[f],Mi[f]=L),oc(f)}else null!=Mi[f]&&(null!=Mi[f].parentLocale?(Mi[f]=Mi[f].parentLocale,f===oc()&&oc(f)):null!=Mi[f]&&delete Mi[f]);return Mi[f]},g.locales=function lx(){return O(Mi)},g.weekdaysShort=function Eu(f,b,L){return ch(f,b,L,"weekdaysShort")},g.normalizeUnits=ao,g.relativeTimeRounding=function zx(f){return void 0===f?xa:"function"==typeof f&&(xa=f,!0)},g.relativeTimeThreshold=function Gx(f,b){return void 0!==pc[f]&&(void 0===b?pc[f]:(pc[f]=b,"s"===f&&(pc.ss=b-1),!0))},g.calendarFormat=function hn(f,b){var L=f.diff(b,"days",!0);return L<-6?"sameElse":L<-1?"lastWeek":L<0?"lastDay":L<1?"sameDay":L<2?"nextDay":L<7?"nextWeek":"sameElse"},g.prototype=Xe,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g}()},6311:(we,de)=>{"use strict";var T=function(){function E(){}return E.EOL="\r\n",E.BOM="\ufeff",E.DEFAULT_FIELD_SEPARATOR=",",E.DEFAULT_DECIMAL_SEPARATOR=".",E.DEFAULT_QUOTE='"',E.DEFAULT_SHOW_TITLE=!1,E.DEFAULT_TITLE="My Report",E.DEFAULT_FILENAME="mycsv.csv",E.DEFAULT_SHOW_LABELS=!1,E.DEFAULT_USE_BOM=!0,E.DEFAULT_HEADER=[],E.DEFAULT_NO_DOWNLOAD=!1,E.DEFAULT_REMOVE_EMPTY_VALUES=!1,E}();de.te={filename:T.DEFAULT_FILENAME,fieldSeparator:T.DEFAULT_FIELD_SEPARATOR,quoteStrings:T.DEFAULT_QUOTE,decimalseparator:T.DEFAULT_DECIMAL_SEPARATOR,showLabels:T.DEFAULT_SHOW_LABELS,showTitle:T.DEFAULT_SHOW_TITLE,title:T.DEFAULT_TITLE,useBom:T.DEFAULT_USE_BOM,headers:T.DEFAULT_HEADER,noDownload:T.DEFAULT_NO_DOWNLOAD,removeEmptyValues:T.DEFAULT_REMOVE_EMPTY_VALUES};var g=function(){function E(A,I,Q){this.csv="";var te=Q||{};this.data="object"!=typeof A?JSON.parse(A):A,this._options=function S(E){for(var A=[],I=1;I<arguments.length;I++)A[I-1]=arguments[I];for(var Q,se,te=function C(E){if(null==E)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(E)}(E),me=1;me<arguments.length;me++){for(var ue in Q=Object(arguments[me]))w.call(Q,ue)&&(te[ue]=Q[ue]);if(Object.getOwnPropertySymbols){se=Object.getOwnPropertySymbols(Q);for(var U=0;U<se.length;U++)y.call(Q,se[U])&&(te[se[U]]=Q[se[U]])}}return te}({},de.te,te),this._options.filename&&(this._options.filename=I),this.generateCsv()}return E.prototype.generateCsv=function(){if(this._options.useBom&&(this.csv+=T.BOM),this._options.showTitle&&(this.csv+=this._options.title+"\r\n\n"),this.getHeaders(),this.getBody(),""!=this.csv){if(this._options.noDownload)return this.csv;var A=new Blob([this.csv],{type:"text/csv;charset=utf8;"});if(navigator.msSaveBlob){var I=this._options.filename.replace(/ /g,"_")+".csv";navigator.msSaveBlob(A,I)}else{encodeURI(this.csv);var te=document.createElement("a");te.href=URL.createObjectURL(A),te.setAttribute("visibility","hidden"),te.download=this._options.filename.replace(/ /g,"_")+".csv",document.body.appendChild(te),te.click(),document.body.removeChild(te)}}else console.log("Invalid data")},E.prototype.getHeaders=function(){var A=this;if(this._options.headers.length>0){var Q=this._options.headers.reduce(function(te,se){return te+se+A._options.fieldSeparator},"");Q=Q.slice(0,-1),this.csv+=Q+T.EOL}},E.prototype.getBody=function(){for(var A=0;A<this.data.length;A++){var I="";for(var Q in this.data[A])I+=this.formartData(this.data[A][Q])+this._options.fieldSeparator;I=I.slice(0,-1),this.csv+=I+T.EOL}},E.prototype.formartData=function(A){return this._options.removeEmptyValues&&!A?"":"locale"===this._options.decimalseparator&&E.isFloat(A)?A.toLocaleString():"."!==this._options.decimalseparator&&E.isFloat(A)?A.toString().replace(".",this._options.decimalseparator):"string"==typeof A?(A=A.replace(/"/g,'""'),(this._options.quoteStrings||A.indexOf(",")>-1||A.indexOf("\n")>-1||A.indexOf("\r")>-1)&&(A=this._options.quoteStrings+A+this._options.quoteStrings),A):"boolean"==typeof A?A?"TRUE":"FALSE":A},E.prototype.getCsv=function(){return this.csv},E.isFloat=function(A){return!(+A!==A||isFinite(A)&&!(A%1))},E}();de.cu=g;var w=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable},416:function(we){we.exports=function(){"use strict";var T="round",w=(function(){function pe(Ae){this.value=Ae}function X(Ae){var he,$e;function at(Vn,Fn){try{var ui=Ae[Vn](Fn),bi=ui.value;bi instanceof pe?Promise.resolve(bi.value).then(function(di){at("next",di)},function(di){at("throw",di)}):lt(ui.done?"return":"normal",ui.value)}catch(di){lt("throw",di)}}function lt(Vn,Fn){switch(Vn){case"return":he.resolve({value:Fn,done:!0});break;case"throw":he.reject(Fn);break;default:he.resolve({value:Fn,done:!1})}(he=he.next)?at(he.key,he.arg):$e=null}this._invoke=function yt(Vn,Fn){return new Promise(function(ui,bi){var di={key:Vn,arg:Fn,resolve:ui,reject:bi,next:null};$e?$e=$e.next=di:(he=$e=di,at(Vn,Fn))})},"function"!=typeof Ae.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(X.prototype[Symbol.asyncIterator]=function(){return this}),X.prototype.next=function(Ae){return this._invoke("next",Ae)},X.prototype.throw=function(Ae){return this._invoke("throw",Ae)},X.prototype.return=function(Ae){return this._invoke("return",Ae)}}(),function(pe,X){if(!(pe instanceof X))throw new TypeError("Cannot call a class as a function")}),y=function(){function pe(X,Ae){for(var he=0;he<Ae.length;he++){var $e=Ae[he];$e.enumerable=$e.enumerable||!1,$e.configurable=!0,"value"in $e&&($e.writable=!0),Object.defineProperty(X,$e.key,$e)}}return function(X,Ae,he){return Ae&&pe(X.prototype,Ae),he&&pe(X,he),X}}(),C=Object.assign||function(pe){for(var X=1;X<arguments.length;X++){var Ae=arguments[X];for(var he in Ae)Object.prototype.hasOwnProperty.call(Ae,he)&&(pe[he]=Ae[he])}return pe},S=function(pe,X){if("function"!=typeof X&&null!==X)throw new TypeError("Super expression must either be null or a function, not "+typeof X);pe.prototype=Object.create(X&&X.prototype,{constructor:{value:pe,enumerable:!1,writable:!0,configurable:!0}}),X&&(Object.setPrototypeOf?Object.setPrototypeOf(pe,X):pe.__proto__=X)},E=function(pe,X){if(!pe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!X||"object"!=typeof X&&"function"!=typeof X?pe:X},A=function(){function pe(){var X=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,Ae=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgba(100, 100, 100, 0.7)",he=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"rgba(255, 255, 255, 0.8)";return w(this,pe),this._canvas=document.createElement("canvas"),this._context=this._canvas.getContext("2d"),this._canvas.width=X,this._canvas.height=X,this._context.fillStyle=Ae,this._context.fillRect(0,0,this._canvas.width,this._canvas.height),this._size=X,this._patternColor=he,this}return y(pe,[{key:"setStrokeProps",value:function(){this._context.strokeStyle=this._patternColor,this._context.lineWidth=this._size/10,this._context.lineJoin=T,this._context.lineCap=T}},{key:"setFillProps",value:function(){this._context.fillStyle=this._patternColor}}]),pe}(),I=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawPlus(),this.drawPlus(he,he),this._context.stroke(),this._canvas}},{key:"drawPlus",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,yt=this._size,at=yt/2,lt=yt/4;this._context.moveTo(lt+he,0+$e),this._context.lineTo(lt+he,at+$e),this._context.moveTo(0+he,lt+$e),this._context.lineTo(at+he,lt+$e),this._context.closePath()}}]),X}(A),Q=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawCross(),this.drawCross(he,he),this._context.stroke(),this._canvas}},{key:"drawCross",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,at=this._size/2;this._context.moveTo(he+2,$e+2),this._context.lineTo(at-2+he,at-2+$e),this._context.moveTo(he+2,at-2+$e),this._context.lineTo(at-2+he,$e+2),this._context.closePath()}}]),X}(A),te=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawDash(),this.drawDash(he,he),this._context.stroke(),this._canvas}},{key:"drawDash",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,at=this._size/2;this._context.moveTo(he+2,$e+2),this._context.lineTo(at-2+he,at-2+$e),this._context.closePath()}}]),X}(A),se=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),(new Q).drawCross.call(this),(new te).drawDash.call(this,he,he),this._context.stroke(),this._canvas}}]),X}(A),me=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setFillProps(),this.drawDot(),this.drawDot(he,he),this._context.fill(),this._canvas}},{key:"drawDot",value:function(){var yt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._size/10,lt=this._size/4,Vn=lt+(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0),Fn=lt+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0);this._context.moveTo(Vn+lt,Fn),this._context.arc(Vn,Fn,yt,0,2*Math.PI),this._context.closePath()}}]),X}(A),ue=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),(new te).drawDash.call(this,he,he),this._context.closePath(),this._context.stroke(),this.setFillProps(),(new me).drawDot.call(this),this._context.fill(),this._canvas}}]),X}(A),U=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2,$e=this._size/5;return this._context.beginPath(),this.setFillProps(),this.drawDot(0,0,$e),this.drawDot(he,he,$e),this._context.fill(),this._canvas}}]),X}(me),ne=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2,$e=this._size/5;return this._context.beginPath(),this.setStrokeProps(),this.drawDot(0,0,$e),this.drawDot(he,he,$e),this._context.stroke(),this._canvas}}]),X}(me),$=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawLine(),this.drawLine(he,he),this._context.stroke(),this._canvas}},{key:"drawLine",value:function(){var $e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,at=this._size/4;this._context.moveTo(0,at+$e),this._context.lineTo(this._size,at+$e),this._context.closePath()}}]),X}(A),ae=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){return this._context.translate(this._size,0),this._context.rotate(90*Math.PI/180),$.prototype.drawTile.call(this),this._canvas}}]),X}($),be=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){return this._context.beginPath(),this.setStrokeProps(),this.drawWeave(0,0),this._context.stroke(),this._canvas}},{key:"drawWeave",value:function(he,$e){var yt=this._size,at=yt/2;this._context.moveTo(he+1,$e+1),this._context.lineTo(at-1,at-1),this._context.moveTo(at+1,yt-1),this._context.lineTo(yt-1,at+1),this._context.closePath()}}]),X}(A),Ce=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){return this._context.beginPath(),this.setStrokeProps(),this.drawZigzag(),this.drawZigzag(this._size/2),this._context.stroke(),this._canvas}},{key:"drawZigzag",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=this._size,yt=$e/4,at=$e/2,lt=$e/10;this._context.moveTo(0,lt+he),this._context.lineTo(yt,at-lt+he),this._context.lineTo(at,lt+he),this._context.lineTo($e-yt,at-lt+he),this._context.lineTo($e,lt+he)}}]),X}(A),Pe=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){return this._context.translate(this._size,0),this._context.rotate(90*Math.PI/180),Ce.prototype.drawTile.call(this),this._canvas}}]),X}(Ce),Je=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawDiagonalLine(),this.drawDiagonalLine(he,he),this._context.stroke(),this._canvas}},{key:"drawDiagonalLine",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,yt=this._size,at=yt/2;this._context.moveTo(at-1-he,-1+$e),this._context.lineTo(yt+1-he,at+1+$e),this._context.closePath()}}]),X}(A),Qe=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){return this._context.translate(this._size,0),this._context.rotate(90*Math.PI/180),Je.prototype.drawTile.call(this),this._canvas}}]),X}(Je),ut=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setFillProps(),this.drawSquare(),this.drawSquare(he,he),this._context.fill(),this._canvas}},{key:"drawSquare",value:function(){var yt=this._size,at=yt/2,lt=yt/20;this._context.fillRect((arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+lt,(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)+lt,at-2*lt,at-2*lt),this._context.closePath()}}]),X}(A),vt=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawBox(),this.drawBox(he,he),this._context.stroke(),this._canvas}},{key:"drawBox",value:function(){var yt=this._size,at=yt/2,lt=yt/20;this._context.strokeRect((arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+lt,(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)+lt,at-4*lt,at-4*lt),this._context.closePath()}}]),X}(A),ft=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setFillProps(),this.drawTriangle(),this.drawTriangle(he,he),this._context.fill(),this._canvas}},{key:"drawTriangle",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,yt=this._size,at=yt/2;this._context.moveTo(yt/4+he,$e),this._context.lineTo(at+he,at+$e),this._context.lineTo(he,at+$e),this._context.closePath()}}]),X}(A),vn=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size;return this._context.translate(he,he),this._context.rotate(180*Math.PI/180),ft.prototype.drawTile.call(this),this._canvas}}]),X}(ft),qt=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setFillProps(),this.drawDiamond(),this.drawDiamond(he,he),this._context.fill(),this._canvas}},{key:"drawDiamond",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,yt=this._size,at=yt/2,lt=yt/4;this._context.moveTo(lt+he,$e),this._context.lineTo(at+he,lt+$e),this._context.lineTo(lt+he,at+$e),this._context.lineTo(he,lt+$e),this._context.closePath()}}]),X}(A),J=function(pe){function X(){return w(this,X),E(this,(X.__proto__||Object.getPrototypeOf(X)).apply(this,arguments))}return S(X,pe),y(X,[{key:"drawTile",value:function(){var he=this._size/2;return this._context.beginPath(),this.setStrokeProps(),this.drawDiamond(),this.drawDiamond(he,he),this._context.stroke(),this._canvas}},{key:"drawDiamond",value:function(){var he=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,yt=this._size,at=yt/2-1,lt=yt/4;this._context.moveTo(lt+he,$e+1),this._context.lineTo(at+he,lt+$e),this._context.lineTo(lt+he,at+$e),this._context.lineTo(he+1,lt+$e),this._context.closePath()}}]),X}(qt),_e={plus:I,cross:Q,dash:te,"cross-dash":se,dot:me,"dot-dash":ue,disc:U,ring:ne,line:$,"line-vertical":ae,weave:be,zigzag:Ce,"zigzag-vertical":Pe,diagonal:Je,"diagonal-right-left":Qe,square:ut,box:vt,triangle:ft,"triangle-inverted":vn,diamond:qt,"diamond-box":J},O=[];function H(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],X=Object.keys(_e);pe.forEach(function(he){X.splice(X.indexOf(he),1)});var Ae=Math.floor(Math.random()*X.length);return X[Ae]}function ie(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"square",X=arguments[1],Ae=arguments[2],he=arguments[3],$e=document.createElement("canvas"),yt=$e.getContext("2d"),at=2*he,Vn=new(0,O[pe])(he,X,Ae),Fn=yt.createPattern(Vn.drawTile(),"repeat");return $e.width=at,$e.height=at,Fn.shapeType=pe,Fn}return C(O,_e,{circle:_e.disc,"triangle-vertical":_e["triangle-inverted"],"line-horizontal":_e.line,"line-diagonal-lr":_e.diagonal,"line-diagonal-rl":_e["diagonal-right-left"],"zigzag-horizontal":_e.zigzag,"diamond-outline":_e["diamond-box"]}),{draw:ie,generate:function ge(pe){var X=void 0,Ae=void 0;return pe.map(function(he,$e,yt){var at=void 0;return 0===$e?(at=H(),X=Ae=at):$e===yt.length-1?at=H([Ae,X]):(at=H([Ae]),Ae=at),ie(at,he)})}}}()},93803:(we,de,V)=>{"use strict";we.exports=g;var T=V(17383);function g(J){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(J)?J:new Uint8Array(J||0),this.pos=0,this.type=0,this.length=this.buf.length}g.Varint=0,g.Fixed64=1,g.Bytes=2,g.Fixed32=5;var w=4294967296,y=1/w,S=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function A(J){return J.type===g.Bytes?J.readVarint()+J.pos:J.pos+1}function me(J,_e,ke){var O=_e<=16383?1:_e<=2097151?2:_e<=268435455?3:Math.floor(Math.log(_e)/(7*Math.LN2));ke.realloc(O);for(var H=ke.pos-1;H>=J;H--)ke.buf[H+O]=ke.buf[H]}function ue(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeVarint(J[ke])}function U(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeSVarint(J[ke])}function ne(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeFloat(J[ke])}function $(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeDouble(J[ke])}function ae(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeBoolean(J[ke])}function be(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeFixed32(J[ke])}function Ce(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeSFixed32(J[ke])}function Pe(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeFixed64(J[ke])}function Je(J,_e){for(var ke=0;ke<J.length;ke++)_e.writeSFixed64(J[ke])}function Qe(J,_e){return(J[_e]|J[_e+1]<<8|J[_e+2]<<16)+16777216*J[_e+3]}function ut(J,_e,ke){J[ke]=_e,J[ke+1]=_e>>>8,J[ke+2]=_e>>>16,J[ke+3]=_e>>>24}function vt(J,_e){return(J[_e]|J[_e+1]<<8|J[_e+2]<<16)+(J[_e+3]<<24)}g.prototype={destroy:function(){this.buf=null},readFields:function(J,_e,ke){for(ke=ke||this.length;this.pos<ke;){var O=this.readVarint(),H=O>>3,ie=this.pos;this.type=7&O,J(H,_e,this),this.pos===ie&&this.skip(O)}return _e},readMessage:function(J,_e){return this.readFields(J,_e,this.readVarint()+this.pos)},readFixed32:function(){var J=Qe(this.buf,this.pos);return this.pos+=4,J},readSFixed32:function(){var J=vt(this.buf,this.pos);return this.pos+=4,J},readFixed64:function(){var J=Qe(this.buf,this.pos)+Qe(this.buf,this.pos+4)*w;return this.pos+=8,J},readSFixed64:function(){var J=Qe(this.buf,this.pos)+vt(this.buf,this.pos+4)*w;return this.pos+=8,J},readFloat:function(){var J=T.read(this.buf,this.pos,!0,23,4);return this.pos+=4,J},readDouble:function(){var J=T.read(this.buf,this.pos,!0,52,8);return this.pos+=8,J},readVarint:function(J){var ke,O,_e=this.buf;return ke=127&(O=_e[this.pos++]),O<128||(ke|=(127&(O=_e[this.pos++]))<<7,O<128)||(ke|=(127&(O=_e[this.pos++]))<<14,O<128)||(ke|=(127&(O=_e[this.pos++]))<<21,O<128)?ke:function E(J,_e,ke){var H,ie,O=ke.buf;if(H=(112&(ie=O[ke.pos++]))>>4,ie<128||(H|=(127&(ie=O[ke.pos++]))<<3,ie<128)||(H|=(127&(ie=O[ke.pos++]))<<10,ie<128)||(H|=(127&(ie=O[ke.pos++]))<<17,ie<128)||(H|=(127&(ie=O[ke.pos++]))<<24,ie<128)||(H|=(1&(ie=O[ke.pos++]))<<31,ie<128))return function I(J,_e,ke){return ke?4294967296*_e+(J>>>0):4294967296*(_e>>>0)+(J>>>0)}(J,H,_e);throw new Error("Expected varint not more than 10 bytes")}(ke|=(15&(O=_e[this.pos]))<<28,J,this)},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var J=this.readVarint();return J%2==1?(J+1)/-2:J/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var J=this.readVarint()+this.pos,_e=this.pos;return this.pos=J,J-_e>=12&&S?function vn(J,_e,ke){return S.decode(J.subarray(_e,ke))}(this.buf,_e,J):function ft(J,_e,ke){for(var O="",H=_e;H<ke;){var pe,X,Ae,ie=J[H],ge=null,Me=ie>239?4:ie>223?3:ie>191?2:1;if(H+Me>ke)break;1===Me?ie<128&&(ge=ie):2===Me?128==(192&(pe=J[H+1]))&&(ge=(31&ie)<<6|63&pe)<=127&&(ge=null):3===Me?(X=J[H+2],128==(192&(pe=J[H+1]))&&128==(192&X)&&((ge=(15&ie)<<12|(63&pe)<<6|63&X)<=2047||ge>=55296&&ge<=57343)&&(ge=null)):4===Me&&(X=J[H+2],Ae=J[H+3],128==(192&(pe=J[H+1]))&&128==(192&X)&&128==(192&Ae)&&((ge=(15&ie)<<18|(63&pe)<<12|(63&X)<<6|63&Ae)<=65535||ge>=1114112)&&(ge=null)),null===ge?(ge=65533,Me=1):ge>65535&&(ge-=65536,O+=String.fromCharCode(ge>>>10&1023|55296),ge=56320|1023&ge),O+=String.fromCharCode(ge),H+=Me}return O}(this.buf,_e,J)},readBytes:function(){var J=this.readVarint()+this.pos,_e=this.buf.subarray(this.pos,J);return this.pos=J,_e},readPackedVarint:function(J,_e){if(this.type!==g.Bytes)return J.push(this.readVarint(_e));var ke=A(this);for(J=J||[];this.pos<ke;)J.push(this.readVarint(_e));return J},readPackedSVarint:function(J){if(this.type!==g.Bytes)return J.push(this.readSVarint());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readSVarint());return J},readPackedBoolean:function(J){if(this.type!==g.Bytes)return J.push(this.readBoolean());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readBoolean());return J},readPackedFloat:function(J){if(this.type!==g.Bytes)return J.push(this.readFloat());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readFloat());return J},readPackedDouble:function(J){if(this.type!==g.Bytes)return J.push(this.readDouble());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readDouble());return J},readPackedFixed32:function(J){if(this.type!==g.Bytes)return J.push(this.readFixed32());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readFixed32());return J},readPackedSFixed32:function(J){if(this.type!==g.Bytes)return J.push(this.readSFixed32());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readSFixed32());return J},readPackedFixed64:function(J){if(this.type!==g.Bytes)return J.push(this.readFixed64());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readFixed64());return J},readPackedSFixed64:function(J){if(this.type!==g.Bytes)return J.push(this.readSFixed64());var _e=A(this);for(J=J||[];this.pos<_e;)J.push(this.readSFixed64());return J},skip:function(J){var _e=7&J;if(_e===g.Varint)for(;this.buf[this.pos++]>127;);else if(_e===g.Bytes)this.pos=this.readVarint()+this.pos;else if(_e===g.Fixed32)this.pos+=4;else{if(_e!==g.Fixed64)throw new Error("Unimplemented type: "+_e);this.pos+=8}},writeTag:function(J,_e){this.writeVarint(J<<3|_e)},realloc:function(J){for(var _e=this.length||16;_e<this.pos+J;)_e*=2;if(_e!==this.length){var ke=new Uint8Array(_e);ke.set(this.buf),this.buf=ke,this.length=_e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(J){this.realloc(4),ut(this.buf,J,this.pos),this.pos+=4},writeSFixed32:function(J){this.realloc(4),ut(this.buf,J,this.pos),this.pos+=4},writeFixed64:function(J){this.realloc(8),ut(this.buf,-1&J,this.pos),ut(this.buf,Math.floor(J*y),this.pos+4),this.pos+=8},writeSFixed64:function(J){this.realloc(8),ut(this.buf,-1&J,this.pos),ut(this.buf,Math.floor(J*y),this.pos+4),this.pos+=8},writeVarint:function(J){(J=+J||0)>268435455||J<0?function Q(J,_e){var ke,O;if(J>=0?(ke=J%4294967296|0,O=J/4294967296|0):(O=~(-J/4294967296),4294967295^(ke=~(-J%4294967296))?ke=ke+1|0:(ke=0,O=O+1|0)),J>=0x10000000000000000||J<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");_e.realloc(10),function te(J,_e,ke){ke.buf[ke.pos++]=127&J|128,J>>>=7,ke.buf[ke.pos++]=127&J|128,J>>>=7,ke.buf[ke.pos++]=127&J|128,J>>>=7,ke.buf[ke.pos++]=127&J|128,ke.buf[ke.pos]=127&(J>>>=7)}(ke,0,_e),function se(J,_e){var ke=(7&J)<<4;_e.buf[_e.pos++]|=ke|((J>>>=3)?128:0),J&&(_e.buf[_e.pos++]=127&J|((J>>>=7)?128:0),J&&(_e.buf[_e.pos++]=127&J|((J>>>=7)?128:0),J&&(_e.buf[_e.pos++]=127&J|((J>>>=7)?128:0),J&&(_e.buf[_e.pos++]=127&J|((J>>>=7)?128:0),J&&(_e.buf[_e.pos++]=127&J)))))}(O,_e)}(J,this):(this.realloc(4),this.buf[this.pos++]=127&J|(J>127?128:0),!(J<=127)&&(this.buf[this.pos++]=127&(J>>>=7)|(J>127?128:0),!(J<=127)&&(this.buf[this.pos++]=127&(J>>>=7)|(J>127?128:0),!(J<=127)&&(this.buf[this.pos++]=J>>>7&127))))},writeSVarint:function(J){this.writeVarint(J<0?2*-J-1:2*J)},writeBoolean:function(J){this.writeVarint(!!J)},writeString:function(J){J=String(J),this.realloc(4*J.length),this.pos++;var _e=this.pos;this.pos=function qt(J,_e,ke){for(var H,ie,O=0;O<_e.length;O++){if((H=_e.charCodeAt(O))>55295&&H<57344){if(!ie){H>56319||O+1===_e.length?(J[ke++]=239,J[ke++]=191,J[ke++]=189):ie=H;continue}if(H<56320){J[ke++]=239,J[ke++]=191,J[ke++]=189,ie=H;continue}H=ie-55296<<10|H-56320|65536,ie=null}else ie&&(J[ke++]=239,J[ke++]=191,J[ke++]=189,ie=null);H<128?J[ke++]=H:(H<2048?J[ke++]=H>>6|192:(H<65536?J[ke++]=H>>12|224:(J[ke++]=H>>18|240,J[ke++]=H>>12&63|128),J[ke++]=H>>6&63|128),J[ke++]=63&H|128)}return ke}(this.buf,J,this.pos);var ke=this.pos-_e;ke>=128&&me(_e,ke,this),this.pos=_e-1,this.writeVarint(ke),this.pos+=ke},writeFloat:function(J){this.realloc(4),T.write(this.buf,J,this.pos,!0,23,4),this.pos+=4},writeDouble:function(J){this.realloc(8),T.write(this.buf,J,this.pos,!0,52,8),this.pos+=8},writeBytes:function(J){var _e=J.length;this.writeVarint(_e),this.realloc(_e);for(var ke=0;ke<_e;ke++)this.buf[this.pos++]=J[ke]},writeRawMessage:function(J,_e){this.pos++;var ke=this.pos;J(_e,this);var O=this.pos-ke;O>=128&&me(ke,O,this),this.pos=ke-1,this.writeVarint(O),this.pos+=O},writeMessage:function(J,_e,ke){this.writeTag(J,g.Bytes),this.writeRawMessage(_e,ke)},writePackedVarint:function(J,_e){_e.length&&this.writeMessage(J,ue,_e)},writePackedSVarint:function(J,_e){_e.length&&this.writeMessage(J,U,_e)},writePackedBoolean:function(J,_e){_e.length&&this.writeMessage(J,ae,_e)},writePackedFloat:function(J,_e){_e.length&&this.writeMessage(J,ne,_e)},writePackedDouble:function(J,_e){_e.length&&this.writeMessage(J,$,_e)},writePackedFixed32:function(J,_e){_e.length&&this.writeMessage(J,be,_e)},writePackedSFixed32:function(J,_e){_e.length&&this.writeMessage(J,Ce,_e)},writePackedFixed64:function(J,_e){_e.length&&this.writeMessage(J,Pe,_e)},writePackedSFixed64:function(J,_e){_e.length&&this.writeMessage(J,Je,_e)},writeBytesField:function(J,_e){this.writeTag(J,g.Bytes),this.writeBytes(_e)},writeFixed32Field:function(J,_e){this.writeTag(J,g.Fixed32),this.writeFixed32(_e)},writeSFixed32Field:function(J,_e){this.writeTag(J,g.Fixed32),this.writeSFixed32(_e)},writeFixed64Field:function(J,_e){this.writeTag(J,g.Fixed64),this.writeFixed64(_e)},writeSFixed64Field:function(J,_e){this.writeTag(J,g.Fixed64),this.writeSFixed64(_e)},writeVarintField:function(J,_e){this.writeTag(J,g.Varint),this.writeVarint(_e)},writeSVarintField:function(J,_e){this.writeTag(J,g.Varint),this.writeSVarint(_e)},writeStringField:function(J,_e){this.writeTag(J,g.Bytes),this.writeString(_e)},writeFloatField:function(J,_e){this.writeTag(J,g.Fixed32),this.writeFloat(_e)},writeDoubleField:function(J,_e){this.writeTag(J,g.Fixed64),this.writeDouble(_e)},writeBooleanField:function(J,_e){this.writeVarintField(J,!!_e)}}},94153:function(we){we.exports=function(){"use strict";function de(U,ne,$,ae,be){!function Ce(Pe,Je,Qe,ut,vt){for(;ut>Qe;){if(ut-Qe>600){var ft=ut-Qe+1,vn=Je-Qe+1,qt=Math.log(ft),J=.5*Math.exp(2*qt/3),_e=.5*Math.sqrt(qt*J*(ft-J)/ft)*(vn-ft/2<0?-1:1);Ce(Pe,Je,Math.max(Qe,Math.floor(Je-vn*J/ft+_e)),Math.min(ut,Math.floor(Je+(ft-vn)*J/ft+_e)),vt)}var H=Pe[Je],ie=Qe,ge=ut;for(V(Pe,Qe,Je),vt(Pe[ut],H)>0&&V(Pe,Qe,ut);ie<ge;){for(V(Pe,ie,ge),ie++,ge--;vt(Pe[ie],H)<0;)ie++;for(;vt(Pe[ge],H)>0;)ge--}0===vt(Pe[Qe],H)?V(Pe,Qe,ge):V(Pe,++ge,ut),ge<=Je&&(Qe=ge+1),Je<=ge&&(ut=ge-1)}}(U,ne,$||0,ae||U.length-1,be||T)}function V(U,ne,$){var ae=U[ne];U[ne]=U[$],U[$]=ae}function T(U,ne){return U<ne?-1:U>ne?1:0}var g=function(U){void 0===U&&(U=9),this._maxEntries=Math.max(4,U),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function w(U,ne,$){if(!$)return ne.indexOf(U);for(var ae=0;ae<ne.length;ae++)if($(U,ne[ae]))return ae;return-1}function y(U,ne){C(U,0,U.children.length,ne,U)}function C(U,ne,$,ae,be){be||(be=me(null)),be.minX=1/0,be.minY=1/0,be.maxX=-1/0,be.maxY=-1/0;for(var Ce=ne;Ce<$;Ce++){var Pe=U.children[Ce];S(be,U.leaf?ae(Pe):Pe)}return be}function S(U,ne){return U.minX=Math.min(U.minX,ne.minX),U.minY=Math.min(U.minY,ne.minY),U.maxX=Math.max(U.maxX,ne.maxX),U.maxY=Math.max(U.maxY,ne.maxY),U}function E(U,ne){return U.minX-ne.minX}function A(U,ne){return U.minY-ne.minY}function I(U){return(U.maxX-U.minX)*(U.maxY-U.minY)}function Q(U){return U.maxX-U.minX+(U.maxY-U.minY)}function te(U,ne){return U.minX<=ne.minX&&U.minY<=ne.minY&&ne.maxX<=U.maxX&&ne.maxY<=U.maxY}function se(U,ne){return ne.minX<=U.maxX&&ne.minY<=U.maxY&&ne.maxX>=U.minX&&ne.maxY>=U.minY}function me(U){return{children:U,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function ue(U,ne,$,ae,be){for(var Ce=[ne,$];Ce.length;)if(!(($=Ce.pop())-(ne=Ce.pop())<=ae)){var Pe=ne+Math.ceil(($-ne)/ae/2)*ae;de(U,Pe,ne,$,be),Ce.push(ne,Pe,Pe,$)}}return g.prototype.all=function(){return this._all(this.data,[])},g.prototype.search=function(U){var ne=this.data,$=[];if(!se(U,ne))return $;for(var ae=this.toBBox,be=[];ne;){for(var Ce=0;Ce<ne.children.length;Ce++){var Pe=ne.children[Ce],Je=ne.leaf?ae(Pe):Pe;se(U,Je)&&(ne.leaf?$.push(Pe):te(U,Je)?this._all(Pe,$):be.push(Pe))}ne=be.pop()}return $},g.prototype.collides=function(U){var ne=this.data;if(!se(U,ne))return!1;for(var $=[];ne;){for(var ae=0;ae<ne.children.length;ae++){var be=ne.children[ae],Ce=ne.leaf?this.toBBox(be):be;if(se(U,Ce)){if(ne.leaf||te(U,Ce))return!0;$.push(be)}}ne=$.pop()}return!1},g.prototype.load=function(U){if(!U||!U.length)return this;if(U.length<this._minEntries){for(var ne=0;ne<U.length;ne++)this.insert(U[ne]);return this}var $=this._build(U.slice(),0,U.length-1,0);if(this.data.children.length)if(this.data.height===$.height)this._splitRoot(this.data,$);else{if(this.data.height<$.height){var ae=this.data;this.data=$,$=ae}this._insert($,this.data.height-$.height-1,!0)}else this.data=$;return this},g.prototype.insert=function(U){return U&&this._insert(U,this.data.height-1),this},g.prototype.clear=function(){return this.data=me([]),this},g.prototype.remove=function(U,ne){if(!U)return this;for(var $,ae,be,Ce=this.data,Pe=this.toBBox(U),Je=[],Qe=[];Ce||Je.length;){if(Ce||(Ce=Je.pop(),ae=Je[Je.length-1],$=Qe.pop(),be=!0),Ce.leaf){var ut=w(U,Ce.children,ne);if(-1!==ut)return Ce.children.splice(ut,1),Je.push(Ce),this._condense(Je),this}be||Ce.leaf||!te(Ce,Pe)?ae?($++,Ce=ae.children[$],be=!1):Ce=null:(Je.push(Ce),Qe.push($),$=0,ae=Ce,Ce=Ce.children[0])}return this},g.prototype.toBBox=function(U){return U},g.prototype.compareMinX=function(U,ne){return U.minX-ne.minX},g.prototype.compareMinY=function(U,ne){return U.minY-ne.minY},g.prototype.toJSON=function(){return this.data},g.prototype.fromJSON=function(U){return this.data=U,this},g.prototype._all=function(U,ne){for(var $=[];U;)U.leaf?ne.push.apply(ne,U.children):$.push.apply($,U.children),U=$.pop();return ne},g.prototype._build=function(U,ne,$,ae){var be,Ce=$-ne+1,Pe=this._maxEntries;if(Ce<=Pe)return y(be=me(U.slice(ne,$+1)),this.toBBox),be;ae||(ae=Math.ceil(Math.log(Ce)/Math.log(Pe)),Pe=Math.ceil(Ce/Math.pow(Pe,ae-1))),(be=me([])).leaf=!1,be.height=ae;var Je=Math.ceil(Ce/Pe),Qe=Je*Math.ceil(Math.sqrt(Pe));ue(U,ne,$,Qe,this.compareMinX);for(var ut=ne;ut<=$;ut+=Qe){var vt=Math.min(ut+Qe-1,$);ue(U,ut,vt,Je,this.compareMinY);for(var ft=ut;ft<=vt;ft+=Je){var vn=Math.min(ft+Je-1,vt);be.children.push(this._build(U,ft,vn,ae-1))}}return y(be,this.toBBox),be},g.prototype._chooseSubtree=function(U,ne,$,ae){for(;ae.push(ne),!ne.leaf&&ae.length-1!==$;){for(var be=1/0,Ce=1/0,Pe=void 0,Je=0;Je<ne.children.length;Je++){var Qe=ne.children[Je],ut=I(Qe),vt=(ft=U,vn=Qe,(Math.max(vn.maxX,ft.maxX)-Math.min(vn.minX,ft.minX))*(Math.max(vn.maxY,ft.maxY)-Math.min(vn.minY,ft.minY))-ut);vt<Ce?(Ce=vt,be=ut<be?ut:be,Pe=Qe):vt===Ce&&ut<be&&(be=ut,Pe=Qe)}ne=Pe||ne.children[0]}var ft,vn;return ne},g.prototype._insert=function(U,ne,$){var ae=$?U:this.toBBox(U),be=[],Ce=this._chooseSubtree(ae,this.data,ne,be);for(Ce.children.push(U),S(Ce,ae);ne>=0&&be[ne].children.length>this._maxEntries;)this._split(be,ne),ne--;this._adjustParentBBoxes(ae,be,ne)},g.prototype._split=function(U,ne){var $=U[ne],ae=$.children.length,be=this._minEntries;this._chooseSplitAxis($,be,ae);var Ce=this._chooseSplitIndex($,be,ae),Pe=me($.children.splice(Ce,$.children.length-Ce));Pe.height=$.height,Pe.leaf=$.leaf,y($,this.toBBox),y(Pe,this.toBBox),ne?U[ne-1].children.push(Pe):this._splitRoot($,Pe)},g.prototype._splitRoot=function(U,ne){this.data=me([U,ne]),this.data.height=U.height+1,this.data.leaf=!1,y(this.data,this.toBBox)},g.prototype._chooseSplitIndex=function(U,ne,$){for(var ae,be,Ce,Pe,Je,Qe,ut,vt=1/0,ft=1/0,vn=ne;vn<=$-ne;vn++){var qt=C(U,0,vn,this.toBBox),J=C(U,vn,$,this.toBBox),_e=(be=qt,Ce=J,void 0,void 0,void 0,void 0,Pe=Math.max(be.minX,Ce.minX),Je=Math.max(be.minY,Ce.minY),Qe=Math.min(be.maxX,Ce.maxX),ut=Math.min(be.maxY,Ce.maxY),Math.max(0,Qe-Pe)*Math.max(0,ut-Je)),ke=I(qt)+I(J);_e<vt?(vt=_e,ae=vn,ft=ke<ft?ke:ft):_e===vt&&ke<ft&&(ft=ke,ae=vn)}return ae||$-ne},g.prototype._chooseSplitAxis=function(U,ne,$){var ae=U.leaf?this.compareMinX:E,be=U.leaf?this.compareMinY:A;this._allDistMargin(U,ne,$,ae)<this._allDistMargin(U,ne,$,be)&&U.children.sort(ae)},g.prototype._allDistMargin=function(U,ne,$,ae){U.children.sort(ae);for(var be=this.toBBox,Ce=C(U,0,ne,be),Pe=C(U,$-ne,$,be),Je=Q(Ce)+Q(Pe),Qe=ne;Qe<$-ne;Qe++){var ut=U.children[Qe];S(Ce,U.leaf?be(ut):ut),Je+=Q(Ce)}for(var vt=$-ne-1;vt>=ne;vt--){var ft=U.children[vt];S(Pe,U.leaf?be(ft):ft),Je+=Q(Pe)}return Je},g.prototype._adjustParentBBoxes=function(U,ne,$){for(var ae=$;ae>=0;ae--)S(ne[ae],U)},g.prototype._condense=function(U){for(var ne=U.length-1,$=void 0;ne>=0;ne--)0===U[ne].children.length?ne>0?($=U[ne-1].children).splice($.indexOf(U[ne]),1):this.clear():y(U[ne],this.toBBox)},g}()},19643:function(we,de,V){var T,g,w;!function(y,C){"use strict";g=[V(4539)],T=function(y){return{backtrace:function(S){var E=[],A=10;"object"==typeof S&&"number"==typeof S.maxStackSize&&(A=S.maxStackSize);for(var I=arguments.callee;I&&E.length<A&&I.arguments;){for(var Q=new Array(I.arguments.length),te=0;te<Q.length;++te)Q[te]=I.arguments[te];/function(?:\s+([\w$]+))+\s*\(/.test(I.toString())?E.push(new y({functionName:RegExp.$1||void 0,args:Q})):E.push(new y({args:Q}));try{I=I.caller}catch{break}}return E}}},void 0!==(w=T.apply(de,g))&&(we.exports=w)}()},4539:function(we,de){var V,g;!function(w,y){"use strict";V=function(){function w(ne){return!isNaN(parseFloat(ne))&&isFinite(ne)}function y(ne){return ne.charAt(0).toUpperCase()+ne.substring(1)}function C(ne){return function(){return this[ne]}}var S=["isConstructor","isEval","isNative","isToplevel"],E=["columnNumber","lineNumber"],A=["fileName","functionName","source"],te=S.concat(E,A,["args"],["evalOrigin"]);function se(ne){if(ne)for(var $=0;$<te.length;$++)void 0!==ne[te[$]]&&this["set"+y(te[$])](ne[te[$]])}se.prototype={getArgs:function(){return this.args},setArgs:function(ne){if("[object Array]"!==Object.prototype.toString.call(ne))throw new TypeError("Args must be an Array");this.args=ne},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(ne){if(ne instanceof se)this.evalOrigin=ne;else{if(!(ne instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new se(ne)}},toString:function(){var ne=this.getFileName()||"",$=this.getLineNumber()||"",ae=this.getColumnNumber()||"",be=this.getFunctionName()||"";return this.getIsEval()?ne?"[eval] ("+ne+":"+$+":"+ae+")":"[eval]:"+$+":"+ae:be?be+" ("+ne+":"+$+":"+ae+")":ne+":"+$+":"+ae}},se.fromString=function($){var ae=$.indexOf("("),be=$.lastIndexOf(")"),Ce=$.substring(0,ae),Pe=$.substring(ae+1,be).split(","),Je=$.substring(be+1);if(0===Je.indexOf("@"))var Qe=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(Je,""),ut=Qe[1],vt=Qe[2],ft=Qe[3];return new se({functionName:Ce,args:Pe||void 0,fileName:ut,lineNumber:vt||void 0,columnNumber:ft||void 0})};for(var me=0;me<S.length;me++)se.prototype["get"+y(S[me])]=C(S[me]),se.prototype["set"+y(S[me])]=function(ne){return function($){this[ne]=!!$}}(S[me]);for(var ue=0;ue<E.length;ue++)se.prototype["get"+y(E[ue])]=C(E[ue]),se.prototype["set"+y(E[ue])]=function(ne){return function($){if(!w($))throw new TypeError(ne+" must be a Number");this[ne]=Number($)}}(E[ue]);for(var U=0;U<A.length;U++)se.prototype["get"+y(A[U])]=C(A[U]),se.prototype["set"+y(A[U])]=function(ne){return function($){this[ne]=String($)}}(A[U]);return se},void 0!==(g=V.apply(de,[]))&&(we.exports=g)}()},50139:(we,de,V)=>{var T=V(2735),g=Object.prototype.hasOwnProperty;function w(){this._array=[],this._set=Object.create(null)}w.fromArray=function(C,S){for(var E=new w,A=0,I=C.length;A<I;A++)E.add(C[A],S);return E},w.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},w.prototype.add=function(C,S){var E=T.toSetString(C),A=g.call(this._set,E),I=this._array.length;(!A||S)&&this._array.push(C),A||(this._set[E]=I)},w.prototype.has=function(C){var S=T.toSetString(C);return g.call(this._set,S)},w.prototype.indexOf=function(C){var S=T.toSetString(C);if(g.call(this._set,S))return this._set[S];throw new Error('"'+C+'" is not in the set.')},w.prototype.at=function(C){if(C>=0&&C<this._array.length)return this._array[C];throw new Error("No element indexed by "+C)},w.prototype.toArray=function(){return this._array.slice()},de.C=w},57120:(we,de,V)=>{var T=V(73264);de.encode=function(I){var te,Q="",se=function S(A){return A<0?1+(-A<<1):0+(A<<1)}(I);do{te=31&se,(se>>>=5)>0&&(te|=32),Q+=T.encode(te)}while(se>0);return Q},de.decode=function(I,Q,te){var U,ne,se=I.length,me=0,ue=0;do{if(Q>=se)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(ne=T.decode(I.charCodeAt(Q++))))throw new Error("Invalid base64 digit: "+I.charAt(Q-1));U=!!(32&ne),me+=(ne&=31)<<ue,ue+=5}while(U);te.value=function E(A){var Q=A>>1;return 1&~A?Q:-Q}(me),te.rest=Q}},73264:(we,de)=>{var V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");de.encode=function(T){if(0<=T&&T<V.length)return V[T];throw new TypeError("Must be between 0 and 63: "+T)},de.decode=function(T){return 65<=T&&T<=90?T-65:97<=T&&T<=122?T-97+26:48<=T&&T<=57?T-48+52:43==T?62:47==T?63:-1}},49559:(we,de)=>{function V(T,g,w,y,C,S){var E=Math.floor((g-T)/2)+T,A=C(w,y[E],!0);return 0===A?E:A>0?g-E>1?V(E,g,w,y,C,S):S==de.LEAST_UPPER_BOUND?g<y.length?g:-1:E:E-T>1?V(T,E,w,y,C,S):S==de.LEAST_UPPER_BOUND?E:T<0?-1:T}de.GREATEST_LOWER_BOUND=1,de.LEAST_UPPER_BOUND=2,de.search=function(g,w,y,C){if(0===w.length)return-1;var S=V(-1,w.length,g,w,y,C||de.GREATEST_LOWER_BOUND);if(S<0)return-1;for(;S-1>=0&&0===y(w[S],w[S-1],!0);)--S;return S}},59474:(we,de,V)=>{var T=V(2735);function w(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}w.prototype.unsortedForEach=function(C,S){this._array.forEach(C,S)},w.prototype.add=function(C){!function g(y,C){var S=y.generatedLine,E=C.generatedLine;return E>S||E==S&&C.generatedColumn>=y.generatedColumn||T.compareByGeneratedPositionsInflated(y,C)<=0}(this._last,C)?(this._sorted=!1,this._array.push(C)):(this._last=C,this._array.push(C))},w.prototype.toArray=function(){return this._sorted||(this._array.sort(T.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},de.P=w},70949:(we,de)=>{function V(w,y,C){var S=w[y];w[y]=w[C],w[C]=S}function g(w,y,C,S){if(C<S){var E=function T(w,y){return Math.round(w+Math.random()*(y-w))}(C,S),A=C-1;V(w,E,S);for(var I=w[S],Q=C;Q<S;Q++)y(w[Q],I)<=0&&V(w,A+=1,Q);V(w,A+1,Q);var te=A+1;g(w,y,C,te-1),g(w,y,te+1,S)}}de.g=function(w,y){g(w,y,0,w.length-1)}},23762:(we,de,V)=>{var g=V(2735),w=V(49559),y=V(50139).C,C=V(57120),S=V(70949).g;function E(te){var se=te;return"string"==typeof te&&(se=JSON.parse(te.replace(/^\)\]\}'/,""))),null!=se.sections?new Q(se):new A(se)}function A(te){var se=te;"string"==typeof te&&(se=JSON.parse(te.replace(/^\)\]\}'/,"")));var me=g.getArg(se,"version"),ue=g.getArg(se,"sources"),U=g.getArg(se,"names",[]),ne=g.getArg(se,"sourceRoot",null),$=g.getArg(se,"sourcesContent",null),ae=g.getArg(se,"mappings"),be=g.getArg(se,"file",null);if(me!=this._version)throw new Error("Unsupported version: "+me);ue=ue.map(String).map(g.normalize).map(function(Ce){return ne&&g.isAbsolute(ne)&&g.isAbsolute(Ce)?g.relative(ne,Ce):Ce}),this._names=y.fromArray(U.map(String),!0),this._sources=y.fromArray(ue,!0),this.sourceRoot=ne,this.sourcesContent=$,this._mappings=ae,this.file=be}function I(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function Q(te){var se=te;"string"==typeof te&&(se=JSON.parse(te.replace(/^\)\]\}'/,"")));var me=g.getArg(se,"version"),ue=g.getArg(se,"sections");if(me!=this._version)throw new Error("Unsupported version: "+me);this._sources=new y,this._names=new y;var U={line:-1,column:0};this._sections=ue.map(function(ne){if(ne.url)throw new Error("Support for url field in sections not implemented.");var $=g.getArg(ne,"offset"),ae=g.getArg($,"line"),be=g.getArg($,"column");if(ae<U.line||ae===U.line&&be<U.column)throw new Error("Section offsets must be ordered and non-overlapping.");return U=$,{generatedOffset:{generatedLine:ae+1,generatedColumn:be+1},consumer:new E(g.getArg(ne,"map"))}})}E.fromSourceMap=function(te){return A.fromSourceMap(te)},E.prototype._version=3,E.prototype.__generatedMappings=null,Object.defineProperty(E.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),E.prototype.__originalMappings=null,Object.defineProperty(E.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),E.prototype._charIsMappingSeparator=function(se,me){var ue=se.charAt(me);return";"===ue||","===ue},E.prototype._parseMappings=function(se,me){throw new Error("Subclasses must implement _parseMappings")},E.GENERATED_ORDER=1,E.ORIGINAL_ORDER=2,E.GREATEST_LOWER_BOUND=1,E.LEAST_UPPER_BOUND=2,E.prototype.eachMapping=function(se,me,ue){var $,U=me||null;switch(ue||E.GENERATED_ORDER){case E.GENERATED_ORDER:$=this._generatedMappings;break;case E.ORIGINAL_ORDER:$=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ae=this.sourceRoot;$.map(function(be){var Ce=null===be.source?null:this._sources.at(be.source);return null!=Ce&&null!=ae&&(Ce=g.join(ae,Ce)),{source:Ce,generatedLine:be.generatedLine,generatedColumn:be.generatedColumn,originalLine:be.originalLine,originalColumn:be.originalColumn,name:null===be.name?null:this._names.at(be.name)}},this).forEach(se,U)},E.prototype.allGeneratedPositionsFor=function(se){var me=g.getArg(se,"line"),ue={source:g.getArg(se,"source"),originalLine:me,originalColumn:g.getArg(se,"column",0)};if(null!=this.sourceRoot&&(ue.source=g.relative(this.sourceRoot,ue.source)),!this._sources.has(ue.source))return[];ue.source=this._sources.indexOf(ue.source);var U=[],ne=this._findMapping(ue,this._originalMappings,"originalLine","originalColumn",g.compareByOriginalPositions,w.LEAST_UPPER_BOUND);if(ne>=0){var $=this._originalMappings[ne];if(void 0===se.column)for(var ae=$.originalLine;$&&$.originalLine===ae;)U.push({line:g.getArg($,"generatedLine",null),column:g.getArg($,"generatedColumn",null),lastColumn:g.getArg($,"lastGeneratedColumn",null)}),$=this._originalMappings[++ne];else for(var be=$.originalColumn;$&&$.originalLine===me&&$.originalColumn==be;)U.push({line:g.getArg($,"generatedLine",null),column:g.getArg($,"generatedColumn",null),lastColumn:g.getArg($,"lastGeneratedColumn",null)}),$=this._originalMappings[++ne]}return U},de.SourceMapConsumer=E,(A.prototype=Object.create(E.prototype)).consumer=E,A.fromSourceMap=function(se){var me=Object.create(A.prototype),ue=me._names=y.fromArray(se._names.toArray(),!0),U=me._sources=y.fromArray(se._sources.toArray(),!0);me.sourceRoot=se._sourceRoot,me.sourcesContent=se._generateSourcesContent(me._sources.toArray(),me.sourceRoot),me.file=se._file;for(var ne=se._mappings.toArray().slice(),$=me.__generatedMappings=[],ae=me.__originalMappings=[],be=0,Ce=ne.length;be<Ce;be++){var Pe=ne[be],Je=new I;Je.generatedLine=Pe.generatedLine,Je.generatedColumn=Pe.generatedColumn,Pe.source&&(Je.source=U.indexOf(Pe.source),Je.originalLine=Pe.originalLine,Je.originalColumn=Pe.originalColumn,Pe.name&&(Je.name=ue.indexOf(Pe.name)),ae.push(Je)),$.push(Je)}return S(me.__originalMappings,g.compareByOriginalPositions),me},A.prototype._version=3,Object.defineProperty(A.prototype,"sources",{get:function(){return this._sources.toArray().map(function(te){return null!=this.sourceRoot?g.join(this.sourceRoot,te):te},this)}}),A.prototype._parseMappings=function(se,me){for(var ft,vn,qt,J,ue=1,U=0,ne=0,$=0,ae=0,be=0,Ce=se.length,Pe=0,Je={},Qe={},ut=[],vt=[];Pe<Ce;)if(";"===se.charAt(Pe))ue++,Pe++,U=0;else if(","===se.charAt(Pe))Pe++;else{for((ft=new I).generatedLine=ue,J=Pe;J<Ce&&!this._charIsMappingSeparator(se,J);J++);if(qt=Je[vn=se.slice(Pe,J)])Pe+=vn.length;else{for(qt=[];Pe<J;)C.decode(se,Pe,Qe),Pe=Qe.rest,qt.push(Qe.value);if(2===qt.length)throw new Error("Found a source, but no line and column");if(3===qt.length)throw new Error("Found a source and line, but no column");Je[vn]=qt}ft.generatedColumn=U+qt[0],U=ft.generatedColumn,qt.length>1&&(ft.source=ae+qt[1],ae+=qt[1],ft.originalLine=ne+qt[2],ne=ft.originalLine,ft.originalLine+=1,ft.originalColumn=$+qt[3],$=ft.originalColumn,qt.length>4&&(ft.name=be+qt[4],be+=qt[4])),vt.push(ft),"number"==typeof ft.originalLine&&ut.push(ft)}S(vt,g.compareByGeneratedPositionsDeflated),this.__generatedMappings=vt,S(ut,g.compareByOriginalPositions),this.__originalMappings=ut},A.prototype._findMapping=function(se,me,ue,U,ne,$){if(se[ue]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+se[ue]);if(se[U]<0)throw new TypeError("Column must be greater than or equal to 0, got "+se[U]);return w.search(se,me,ne,$)},A.prototype.computeColumnSpans=function(){for(var se=0;se<this._generatedMappings.length;++se){var me=this._generatedMappings[se];if(se+1<this._generatedMappings.length){var ue=this._generatedMappings[se+1];if(me.generatedLine===ue.generatedLine){me.lastGeneratedColumn=ue.generatedColumn-1;continue}}me.lastGeneratedColumn=1/0}},A.prototype.originalPositionFor=function(se){var me={generatedLine:g.getArg(se,"line"),generatedColumn:g.getArg(se,"column")},ue=this._findMapping(me,this._generatedMappings,"generatedLine","generatedColumn",g.compareByGeneratedPositionsDeflated,g.getArg(se,"bias",E.GREATEST_LOWER_BOUND));if(ue>=0){var U=this._generatedMappings[ue];if(U.generatedLine===me.generatedLine){var ne=g.getArg(U,"source",null);null!==ne&&(ne=this._sources.at(ne),null!=this.sourceRoot&&(ne=g.join(this.sourceRoot,ne)));var $=g.getArg(U,"name",null);return null!==$&&($=this._names.at($)),{source:ne,line:g.getArg(U,"originalLine",null),column:g.getArg(U,"originalColumn",null),name:$}}}return{source:null,line:null,column:null,name:null}},A.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(se){return null==se})},A.prototype.sourceContentFor=function(se,me){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(se=g.relative(this.sourceRoot,se)),this._sources.has(se))return this.sourcesContent[this._sources.indexOf(se)];var ue;if(null!=this.sourceRoot&&(ue=g.urlParse(this.sourceRoot))){var U=se.replace(/^file:\/\//,"");if("file"==ue.scheme&&this._sources.has(U))return this.sourcesContent[this._sources.indexOf(U)];if((!ue.path||"/"==ue.path)&&this._sources.has("/"+se))return this.sourcesContent[this._sources.indexOf("/"+se)]}if(me)return null;throw new Error('"'+se+'" is not in the SourceMap.')},A.prototype.generatedPositionFor=function(se){var me=g.getArg(se,"source");if(null!=this.sourceRoot&&(me=g.relative(this.sourceRoot,me)),!this._sources.has(me))return{line:null,column:null,lastColumn:null};var ue={source:me=this._sources.indexOf(me),originalLine:g.getArg(se,"line"),originalColumn:g.getArg(se,"column")},U=this._findMapping(ue,this._originalMappings,"originalLine","originalColumn",g.compareByOriginalPositions,g.getArg(se,"bias",E.GREATEST_LOWER_BOUND));if(U>=0){var ne=this._originalMappings[U];if(ne.source===ue.source)return{line:g.getArg(ne,"generatedLine",null),column:g.getArg(ne,"generatedColumn",null),lastColumn:g.getArg(ne,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},(Q.prototype=Object.create(E.prototype)).constructor=E,Q.prototype._version=3,Object.defineProperty(Q.prototype,"sources",{get:function(){for(var te=[],se=0;se<this._sections.length;se++)for(var me=0;me<this._sections[se].consumer.sources.length;me++)te.push(this._sections[se].consumer.sources[me]);return te}}),Q.prototype.originalPositionFor=function(se){var me={generatedLine:g.getArg(se,"line"),generatedColumn:g.getArg(se,"column")},ue=w.search(me,this._sections,function(ne,$){return ne.generatedLine-$.generatedOffset.generatedLine||ne.generatedColumn-$.generatedOffset.generatedColumn}),U=this._sections[ue];return U?U.consumer.originalPositionFor({line:me.generatedLine-(U.generatedOffset.generatedLine-1),column:me.generatedColumn-(U.generatedOffset.generatedLine===me.generatedLine?U.generatedOffset.generatedColumn-1:0),bias:se.bias}):{source:null,line:null,column:null,name:null}},Q.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(se){return se.consumer.hasContentsOfAllSources()})},Q.prototype.sourceContentFor=function(se,me){for(var ue=0;ue<this._sections.length;ue++){var ne=this._sections[ue].consumer.sourceContentFor(se,!0);if(ne)return ne}if(me)return null;throw new Error('"'+se+'" is not in the SourceMap.')},Q.prototype.generatedPositionFor=function(se){for(var me=0;me<this._sections.length;me++){var ue=this._sections[me];if(-1!==ue.consumer.sources.indexOf(g.getArg(se,"source"))){var U=ue.consumer.generatedPositionFor(se);if(U)return{line:U.line+(ue.generatedOffset.generatedLine-1),column:U.column+(ue.generatedOffset.generatedLine===U.line?ue.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Q.prototype._parseMappings=function(se,me){this.__generatedMappings=[],this.__originalMappings=[];for(var ue=0;ue<this._sections.length;ue++)for(var U=this._sections[ue],ne=U.consumer._generatedMappings,$=0;$<ne.length;$++){var ae=ne[$],be=U.consumer._sources.at(ae.source);null!==U.consumer.sourceRoot&&(be=g.join(U.consumer.sourceRoot,be)),this._sources.add(be),be=this._sources.indexOf(be);var Ce=U.consumer._names.at(ae.name);this._names.add(Ce),Ce=this._names.indexOf(Ce);var Pe={source:be,generatedLine:ae.generatedLine+(U.generatedOffset.generatedLine-1),generatedColumn:ae.generatedColumn+(U.generatedOffset.generatedLine===ae.generatedLine?U.generatedOffset.generatedColumn-1:0),originalLine:ae.originalLine,originalColumn:ae.originalColumn,name:Ce};this.__generatedMappings.push(Pe),"number"==typeof Pe.originalLine&&this.__originalMappings.push(Pe)}S(this.__generatedMappings,g.compareByGeneratedPositionsDeflated),S(this.__originalMappings,g.compareByOriginalPositions)}},18357:(we,de,V)=>{var T=V(57120),g=V(2735),w=V(50139).C,y=V(59474).P;function C(S){S||(S={}),this._file=g.getArg(S,"file",null),this._sourceRoot=g.getArg(S,"sourceRoot",null),this._skipValidation=g.getArg(S,"skipValidation",!1),this._sources=new w,this._names=new w,this._mappings=new y,this._sourcesContents=null}C.prototype._version=3,C.fromSourceMap=function(E){var A=E.sourceRoot,I=new C({file:E.file,sourceRoot:A});return E.eachMapping(function(Q){var te={generated:{line:Q.generatedLine,column:Q.generatedColumn}};null!=Q.source&&(te.source=Q.source,null!=A&&(te.source=g.relative(A,te.source)),te.original={line:Q.originalLine,column:Q.originalColumn},null!=Q.name&&(te.name=Q.name)),I.addMapping(te)}),E.sources.forEach(function(Q){var te=E.sourceContentFor(Q);null!=te&&I.setSourceContent(Q,te)}),I},C.prototype.addMapping=function(E){var A=g.getArg(E,"generated"),I=g.getArg(E,"original",null),Q=g.getArg(E,"source",null),te=g.getArg(E,"name",null);this._skipValidation||this._validateMapping(A,I,Q,te),null!=Q&&(Q=String(Q),this._sources.has(Q)||this._sources.add(Q)),null!=te&&(te=String(te),this._names.has(te)||this._names.add(te)),this._mappings.add({generatedLine:A.line,generatedColumn:A.column,originalLine:null!=I&&I.line,originalColumn:null!=I&&I.column,source:Q,name:te})},C.prototype.setSourceContent=function(E,A){var I=E;null!=this._sourceRoot&&(I=g.relative(this._sourceRoot,I)),null!=A?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[g.toSetString(I)]=A):this._sourcesContents&&(delete this._sourcesContents[g.toSetString(I)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},C.prototype.applySourceMap=function(E,A,I){var Q=A;if(null==A){if(null==E.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');Q=E.file}var te=this._sourceRoot;null!=te&&(Q=g.relative(te,Q));var se=new w,me=new w;this._mappings.unsortedForEach(function(ue){if(ue.source===Q&&null!=ue.originalLine){var U=E.originalPositionFor({line:ue.originalLine,column:ue.originalColumn});null!=U.source&&(ue.source=U.source,null!=I&&(ue.source=g.join(I,ue.source)),null!=te&&(ue.source=g.relative(te,ue.source)),ue.originalLine=U.line,ue.originalColumn=U.column,null!=U.name&&(ue.name=U.name))}var ne=ue.source;null!=ne&&!se.has(ne)&&se.add(ne);var $=ue.name;null!=$&&!me.has($)&&me.add($)},this),this._sources=se,this._names=me,E.sources.forEach(function(ue){var U=E.sourceContentFor(ue);null!=U&&(null!=I&&(ue=g.join(I,ue)),null!=te&&(ue=g.relative(te,ue)),this.setSourceContent(ue,U))},this)},C.prototype._validateMapping=function(E,A,I,Q){if(!(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0)||A||I||Q){if(E&&"line"in E&&"column"in E&&A&&"line"in A&&"column"in A&&E.line>0&&E.column>=0&&A.line>0&&A.column>=0&&I)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:I,original:A,name:Q}))}},C.prototype._serializeMappings=function(){for(var ue,U,ne,$,E=0,A=1,I=0,Q=0,te=0,se=0,me="",ae=this._mappings.toArray(),be=0,Ce=ae.length;be<Ce;be++){if(ue="",(U=ae[be]).generatedLine!==A)for(E=0;U.generatedLine!==A;)ue+=";",A++;else if(be>0){if(!g.compareByGeneratedPositionsInflated(U,ae[be-1]))continue;ue+=","}ue+=T.encode(U.generatedColumn-E),E=U.generatedColumn,null!=U.source&&($=this._sources.indexOf(U.source),ue+=T.encode($-se),se=$,ue+=T.encode(U.originalLine-1-Q),Q=U.originalLine-1,ue+=T.encode(U.originalColumn-I),I=U.originalColumn,null!=U.name&&(ne=this._names.indexOf(U.name),ue+=T.encode(ne-te),te=ne)),me+=ue}return me},C.prototype._generateSourcesContent=function(E,A){return E.map(function(I){if(!this._sourcesContents)return null;null!=A&&(I=g.relative(A,I));var Q=g.toSetString(I);return Object.prototype.hasOwnProperty.call(this._sourcesContents,Q)?this._sourcesContents[Q]:null},this)},C.prototype.toJSON=function(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(E.file=this._file),null!=this._sourceRoot&&(E.sourceRoot=this._sourceRoot),this._sourcesContents&&(E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)),E},C.prototype.toString=function(){return JSON.stringify(this.toJSON())},de.SourceMapGenerator=C},34039:(we,de,V)=>{var T=V(18357).SourceMapGenerator,g=V(2735),w=/(\r?\n)/,C="$$$isSourceNode$$$";function S(E,A,I,Q,te){this.children=[],this.sourceContents={},this.line=E??null,this.column=A??null,this.source=I??null,this.name=te??null,this[C]=!0,null!=Q&&this.add(Q)}S.fromStringWithSourceMap=function(A,I,Q){var te=new S,se=A.split(w),me=function(){return se.shift()+(se.shift()||"")},ue=1,U=0,ne=null;return I.eachMapping(function(ae){if(null!==ne){if(!(ue<ae.generatedLine)){var Ce=(be=se[0]).substr(0,ae.generatedColumn-U);return se[0]=be.substr(ae.generatedColumn-U),U=ae.generatedColumn,$(ne,Ce),void(ne=ae)}$(ne,me()),ue++,U=0}for(;ue<ae.generatedLine;)te.add(me()),ue++;var be;U<ae.generatedColumn&&(te.add((be=se[0]).substr(0,ae.generatedColumn)),se[0]=be.substr(ae.generatedColumn),U=ae.generatedColumn),ne=ae},this),se.length>0&&(ne&&$(ne,me()),te.add(se.join(""))),I.sources.forEach(function(ae){var be=I.sourceContentFor(ae);null!=be&&(null!=Q&&(ae=g.join(Q,ae)),te.setSourceContent(ae,be))}),te;function $(ae,be){if(null===ae||void 0===ae.source)te.add(be);else{var Ce=Q?g.join(Q,ae.source):ae.source;te.add(new S(ae.originalLine,ae.originalColumn,Ce,be,ae.name))}}},S.prototype.add=function(A){if(Array.isArray(A))A.forEach(function(I){this.add(I)},this);else{if(!A[C]&&"string"!=typeof A)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+A);A&&this.children.push(A)}return this},S.prototype.prepend=function(A){if(Array.isArray(A))for(var I=A.length-1;I>=0;I--)this.prepend(A[I]);else{if(!A[C]&&"string"!=typeof A)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+A);this.children.unshift(A)}return this},S.prototype.walk=function(A){for(var I,Q=0,te=this.children.length;Q<te;Q++)(I=this.children[Q])[C]?I.walk(A):""!==I&&A(I,{source:this.source,line:this.line,column:this.column,name:this.name})},S.prototype.join=function(A){var I,Q,te=this.children.length;if(te>0){for(I=[],Q=0;Q<te-1;Q++)I.push(this.children[Q]),I.push(A);I.push(this.children[Q]),this.children=I}return this},S.prototype.replaceRight=function(A,I){var Q=this.children[this.children.length-1];return Q[C]?Q.replaceRight(A,I):"string"==typeof Q?this.children[this.children.length-1]=Q.replace(A,I):this.children.push("".replace(A,I)),this},S.prototype.setSourceContent=function(A,I){this.sourceContents[g.toSetString(A)]=I},S.prototype.walkSourceContents=function(A){for(var I=0,Q=this.children.length;I<Q;I++)this.children[I][C]&&this.children[I].walkSourceContents(A);var te=Object.keys(this.sourceContents);for(I=0,Q=te.length;I<Q;I++)A(g.fromSetString(te[I]),this.sourceContents[te[I]])},S.prototype.toString=function(){var A="";return this.walk(function(I){A+=I}),A},S.prototype.toStringWithSourceMap=function(A){var I={code:"",line:1,column:0},Q=new T(A),te=!1,se=null,me=null,ue=null,U=null;return this.walk(function(ne,$){I.code+=ne,null!==$.source&&null!==$.line&&null!==$.column?((se!==$.source||me!==$.line||ue!==$.column||U!==$.name)&&Q.addMapping({source:$.source,original:{line:$.line,column:$.column},generated:{line:I.line,column:I.column},name:$.name}),se=$.source,me=$.line,ue=$.column,U=$.name,te=!0):te&&(Q.addMapping({generated:{line:I.line,column:I.column}}),se=null,te=!1);for(var ae=0,be=ne.length;ae<be;ae++)10===ne.charCodeAt(ae)?(I.line++,I.column=0,ae+1===be?(se=null,te=!1):te&&Q.addMapping({source:$.source,original:{line:$.line,column:$.column},generated:{line:I.line,column:I.column},name:$.name})):I.column++}),this.walkSourceContents(function(ne,$){Q.setSourceContent(ne,$)}),{code:I.code,map:Q}},de.SourceNode=S},2735:(we,de)=>{de.getArg=function V($,ae,be){if(ae in $)return $[ae];if(3===arguments.length)return be;throw new Error('"'+ae+'" is a required argument.')};var T=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,g=/^data:.+\,.+$/;function w($){var ae=$.match(T);return ae?{scheme:ae[1],auth:ae[2],host:ae[3],port:ae[4],path:ae[5]}:null}function y($){var ae="";return $.scheme&&(ae+=$.scheme+":"),ae+="//",$.auth&&(ae+=$.auth+"@"),$.host&&(ae+=$.host),$.port&&(ae+=":"+$.port),$.path&&(ae+=$.path),ae}function C($){var ae=$,be=w($);if(be){if(!be.path)return $;ae=be.path}for(var Je,Ce=de.isAbsolute(ae),Pe=ae.split(/\/+/),Qe=0,ut=Pe.length-1;ut>=0;ut--)"."===(Je=Pe[ut])?Pe.splice(ut,1):".."===Je?Qe++:Qe>0&&(""===Je?(Pe.splice(ut+1,Qe),Qe=0):(Pe.splice(ut,2),Qe--));return""===(ae=Pe.join("/"))&&(ae=Ce?"/":"."),be?(be.path=ae,y(be)):ae}de.urlParse=w,de.urlGenerate=y,de.normalize=C,de.join=function S($,ae){""===$&&($="."),""===ae&&(ae=".");var be=w(ae),Ce=w($);if(Ce&&($=Ce.path||"/"),be&&!be.scheme)return Ce&&(be.scheme=Ce.scheme),y(be);if(be||ae.match(g))return ae;if(Ce&&!Ce.host&&!Ce.path)return Ce.host=ae,y(Ce);var Pe="/"===ae.charAt(0)?ae:C($.replace(/\/+$/,"")+"/"+ae);return Ce?(Ce.path=Pe,y(Ce)):Pe},de.isAbsolute=function($){return"/"===$.charAt(0)||!!$.match(T)},de.relative=function E($,ae){""===$&&($="."),$=$.replace(/\/$/,"");for(var be=0;0!==ae.indexOf($+"/");){var Ce=$.lastIndexOf("/");if(Ce<0||($=$.slice(0,Ce)).match(/^([^\/]+:\/)?\/*$/))return ae;++be}return Array(be+1).join("../")+ae.substr($.length+1)};var A=!("__proto__"in Object.create(null));function I($){return $}function se($){if(!$)return!1;var ae=$.length;if(ae<9||95!==$.charCodeAt(ae-1)||95!==$.charCodeAt(ae-2)||111!==$.charCodeAt(ae-3)||116!==$.charCodeAt(ae-4)||111!==$.charCodeAt(ae-5)||114!==$.charCodeAt(ae-6)||112!==$.charCodeAt(ae-7)||95!==$.charCodeAt(ae-8)||95!==$.charCodeAt(ae-9))return!1;for(var be=ae-10;be>=0;be--)if(36!==$.charCodeAt(be))return!1;return!0}function U($,ae){return $===ae?0:$>ae?1:-1}de.toSetString=A?I:function Q($){return se($)?"$"+$:$},de.fromSetString=A?I:function te($){return se($)?$.slice(1):$},de.compareByOriginalPositions=function me($,ae,be){var Ce=$.source-ae.source;return 0!==Ce||0!=(Ce=$.originalLine-ae.originalLine)||0!=(Ce=$.originalColumn-ae.originalColumn)||be||0!=(Ce=$.generatedColumn-ae.generatedColumn)||0!=(Ce=$.generatedLine-ae.generatedLine)?Ce:$.name-ae.name},de.compareByGeneratedPositionsDeflated=function ue($,ae,be){var Ce=$.generatedLine-ae.generatedLine;return 0!==Ce||0!=(Ce=$.generatedColumn-ae.generatedColumn)||be||0!=(Ce=$.source-ae.source)||0!=(Ce=$.originalLine-ae.originalLine)||0!=(Ce=$.originalColumn-ae.originalColumn)?Ce:$.name-ae.name},de.compareByGeneratedPositionsInflated=function ne($,ae){var be=$.generatedLine-ae.generatedLine;return 0!==be||0!=(be=$.generatedColumn-ae.generatedColumn)||0!==(be=U($.source,ae.source))||0!=(be=$.originalLine-ae.originalLine)||0!=(be=$.originalColumn-ae.originalColumn)?be:U($.name,ae.name)}},38789:(we,de,V)=>{de.SourceMapGenerator=V(18357).SourceMapGenerator,de.SourceMapConsumer=V(23762).SourceMapConsumer,de.SourceNode=V(34039).SourceNode},47985:function(we,de,V){var T,g,w;!function(y,C){"use strict";g=[V(38789),V(4539)],T=function(y,C){function S(ue){return new Promise(function(U,ne){var $=new XMLHttpRequest;$.open("get",ue),$.onerror=ne,$.onreadystatechange=function(){4===$.readyState&&($.status>=200&&$.status<300||"file://"===ue.substr(0,7)&&$.responseText?U($.responseText):ne(new Error("HTTP status: "+$.status+" retrieving "+ue)))},$.send()})}function E(ue){if(typeof window<"u"&&window.atob)return window.atob(ue);throw new Error("You must supply a polyfill for window.atob in this environment")}function te(ue){if("object"!=typeof ue)throw new TypeError("Given StackFrame is not an object");if("string"!=typeof ue.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof ue.lineNumber||ue.lineNumber%1!=0||ue.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof ue.columnNumber||ue.columnNumber%1!=0||ue.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}return function ue(U){if(!(this instanceof ue))return new ue(U);this.sourceCache=(U=U||{}).sourceCache||{},this.sourceMapConsumerCache=U.sourceMapConsumerCache||{},this.ajax=U.ajax||S,this._atob=U.atob||E,this._get=function($){return new Promise(function(ae,be){var Ce="data:"===$.substr(0,5);if(this.sourceCache[$])ae(this.sourceCache[$]);else if(U.offline&&!Ce)be(new Error("Cannot make network requests in offline mode"));else if(Ce){var Je=$.match(/^data:application\/json;([\w=:"-]+;)*base64,/);if(Je){var ut=$.substr(Je[0].length),vt=this._atob(ut);this.sourceCache[$]=vt,ae(vt)}else be(new Error("The encoding of the inline sourcemap is not supported"))}else{var ft=this.ajax($,{method:"get"});this.sourceCache[$]=ft,ft.then(ae,be)}}.bind(this))},this._getSourceMapConsumer=function($,ae){return new Promise(function(be){if(this.sourceMapConsumerCache[$])be(this.sourceMapConsumerCache[$]);else{var Ce=new Promise(function(Pe,Je){return this._get($).then(function(Qe){"string"==typeof Qe&&(Qe=function A(ue){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(ue);throw new Error("You must supply a polyfill for JSON.parse in this environment")}(Qe.replace(/^\)\]\}'/,""))),typeof Qe.sourceRoot>"u"&&(Qe.sourceRoot=ae),Pe(new y.SourceMapConsumer(Qe))}).catch(Je)}.bind(this));this.sourceMapConsumerCache[$]=Ce,be(Ce)}}.bind(this))},this.pinpoint=function($){return new Promise(function(ae,be){this.getMappedLocation($).then(function(Ce){function Pe(){ae(Ce)}this.findFunctionName(Ce).then(ae,Pe).catch(Pe)}.bind(this),be)}.bind(this))},this.findFunctionName=function($){return new Promise(function(ae,be){te($),this._get($.fileName).then(function(Pe){var Je=$.lineNumber,Qe=$.columnNumber,ut=function I(ue,U){for(var ne=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],$=ue.split("\n"),ae="",be=Math.min(U,20),Ce=0;Ce<be;++Ce){var Pe=$[U-Ce-1],Je=Pe.indexOf("//");if(Je>=0&&(Pe=Pe.substr(0,Je)),Pe){ae=Pe+ae;for(var Qe=ne.length,ut=0;ut<Qe;ut++){var vt=ne[ut].exec(ae);if(vt&&vt[1])return vt[1]}}}}(Pe,Je);ae(ut?new C({functionName:ut,args:$.args,fileName:$.fileName,lineNumber:Je,columnNumber:Qe}):$)},be).catch(be)}.bind(this))},this.getMappedLocation=function($){return new Promise(function(ae,be){(function Q(){if("function"!=typeof Object.defineProperty||"function"!=typeof Object.create)throw new Error("Unable to consume source maps in older browsers")})(),te($);var Ce=this.sourceCache,Pe=$.fileName;this._get(Pe).then(function(Je){var Qe=function se(ue){for(var ne,$,U=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm;$=U.exec(ue);)ne=$[1];if(ne)return ne;throw new Error("sourceMappingURL not found")}(Je),ut="data:"===Qe.substr(0,5),vt=Pe.substring(0,Pe.lastIndexOf("/")+1);return"/"!==Qe[0]&&!ut&&!/^https?:\/\/|^\/\//i.test(Qe)&&(Qe=vt+Qe),this._getSourceMapConsumer(Qe,vt).then(function(ft){return function me(ue,U,ne){return new Promise(function($,ae){var be=U.originalPositionFor({line:ue.lineNumber,column:ue.columnNumber});if(be.source){var Ce=U.sourceContentFor(be.source);Ce&&(ne[be.source]=Ce),$(new C({functionName:be.name||ue.functionName,args:ue.args,fileName:be.source,lineNumber:be.line,columnNumber:be.column}))}else ae(new Error("Could not get original source for given stackframe and source map"))})}($,ft,Ce).then(ae).catch(function(){ae($)})})}.bind(this),be).catch(be)}.bind(this))}}},void 0!==(w=T.apply(de,g))&&(we.exports=w)}()},53663:function(we,de,V){var T,g,w;!function(y,C){"use strict";g=[V(80027),V(19643),V(47985)],T=function(C,S,E){var A={filter:function(me){return-1===(me.functionName||"").indexOf("StackTrace$$")&&-1===(me.functionName||"").indexOf("ErrorStackParser$$")&&-1===(me.functionName||"").indexOf("StackTraceGPS$$")&&-1===(me.functionName||"").indexOf("StackGenerator$$")},sourceCache:{}},I=function(){try{throw new Error}catch(ue){return ue}};function Q(me,ue){var U={};return[me,ue].forEach(function(ne){for(var $ in ne)Object.prototype.hasOwnProperty.call(ne,$)&&(U[$]=ne[$]);return U}),U}function te(me){return me.stack||me["opera#sourceloc"]}function se(me,ue){return"function"==typeof ue?me.filter(ue):me}return{get:function(ue){var U=I();return te(U)?this.fromError(U,ue):this.generateArtificially(ue)},getSync:function(ue){ue=Q(A,ue);var U=I();return se(te(U)?C.parse(U):S.backtrace(ue),ue.filter)},fromError:function(ue,U){U=Q(A,U);var ne=new E(U);return new Promise(function($){var ae=se(C.parse(ue),U.filter);$(Promise.all(ae.map(function(be){return new Promise(function(Ce){function Pe(){Ce(be)}ne.pinpoint(be).then(Ce,Pe).catch(Pe)})})))}.bind(this))},generateArtificially:function(ue){ue=Q(A,ue);var U=S.backtrace(ue);return"function"==typeof ue.filter&&(U=U.filter(ue.filter)),Promise.resolve(U)},instrument:function(ue,U,ne,$){if("function"!=typeof ue)throw new Error("Cannot instrument non-function object");if("function"==typeof ue.__stacktraceOriginalFn)return ue;var ae=function(){try{return this.get().then(U,ne).catch(ne),ue.apply($||this,arguments)}catch(Ce){throw te(Ce)&&this.fromError(Ce).then(U,ne).catch(ne),Ce}}.bind(this);return ae.__stacktraceOriginalFn=ue,ae},deinstrument:function(ue){if("function"!=typeof ue)throw new Error("Cannot de-instrument non-function object");return"function"==typeof ue.__stacktraceOriginalFn?ue.__stacktraceOriginalFn:ue},report:function(ue,U,ne,$){return new Promise(function(ae,be){var Ce=new XMLHttpRequest;if(Ce.onerror=be,Ce.onreadystatechange=function(){4===Ce.readyState&&(Ce.status>=200&&Ce.status<400?ae(Ce.responseText):be(new Error("POST to "+U+" failed with status: "+Ce.status)))},Ce.open("post",U),Ce.setRequestHeader("Content-Type","application/json"),$&&"object"==typeof $.headers){var Pe=$.headers;for(var Je in Pe)Object.prototype.hasOwnProperty.call(Pe,Je)&&Ce.setRequestHeader(Je,Pe[Je])}var Qe={stack:ue};null!=ne&&(Qe.message=ne),Ce.send(JSON.stringify(Qe))})}}},void 0!==(w=T.apply(de,g))&&(we.exports=w)}()},40194:function(we,de,V){var T,g;!function(w,y){"use strict";we.exports?we.exports=y():void 0!==(g="function"==typeof(T=y)?T.call(de,V,de,we):T)&&(we.exports=g)}(0,function(w){"use strict";var y=w&&w.IPv6;return{best:function C(E){var se,I=E.toLowerCase().split(":"),Q=I.length,te=8;for(""===I[0]&&""===I[1]&&""===I[2]?(I.shift(),I.shift()):""===I[0]&&""===I[1]?I.shift():""===I[Q-1]&&""===I[Q-2]&&I.pop(),-1!==I[(Q=I.length)-1].indexOf(".")&&(te=7),se=0;se<Q&&""!==I[se];se++);if(se<te)for(I.splice(se,1,"0000");I.length<te;)I.splice(se,0,"0000");for(var me,ue=0;ue<te;ue++){me=I[ue].split("");for(var U=0;U<3&&"0"===me[0]&&me.length>1;U++)me.splice(0,1);I[ue]=me.join("")}var ne=-1,$=0,ae=0,be=-1,Ce=!1;for(ue=0;ue<te;ue++)Ce?"0"===I[ue]?ae+=1:(Ce=!1,ae>$&&(ne=be,$=ae)):"0"===I[ue]&&(Ce=!0,be=ue,ae=1);ae>$&&(ne=be,$=ae),$>1&&I.splice(ne,$,""),Q=I.length;var Pe="";for(""===I[0]&&(Pe=":"),ue=0;ue<Q&&(Pe+=I[ue],ue!==Q-1);ue++)Pe+=":";return""===I[Q-1]&&(Pe+=":"),Pe},noConflict:function S(){return w.IPv6===this&&(w.IPv6=y),this}}})},29860:function(we,de,V){var T,g;!function(w,y){"use strict";we.exports?we.exports=y():void 0!==(g="function"==typeof(T=y)?T.call(de,V,de,we):T)&&(we.exports=g)}(0,function(w){"use strict";var y=w&&w.SecondLevelDomains,C={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(S){var E=S.lastIndexOf(".");if(E<=0||E>=S.length-1)return!1;var A=S.lastIndexOf(".",E-1);if(A<=0||A>=E-1)return!1;var I=C.list[S.slice(E+1)];return!!I&&I.indexOf(" "+S.slice(A+1,E)+" ")>=0},is:function(S){var E=S.lastIndexOf(".");if(E<=0||E>=S.length-1)return!1;if(S.lastIndexOf(".",E-1)>=0)return!1;var I=C.list[S.slice(E+1)];return!!I&&I.indexOf(" "+S.slice(0,E)+" ")>=0},get:function(S){var E=S.lastIndexOf(".");if(E<=0||E>=S.length-1)return null;var A=S.lastIndexOf(".",E-1);if(A<=0||A>=E-1)return null;var I=C.list[S.slice(E+1)];return!I||I.indexOf(" "+S.slice(A+1,E)+" ")<0?null:S.slice(A+1)},noConflict:function(){return w.SecondLevelDomains===this&&(w.SecondLevelDomains=y),this}};return C})},45261:function(we,de,V){var T,g,w;!function(y,C){"use strict";we.exports?we.exports=C(V(5904),V(40194),V(29860)):(g=[V(5904),V(40194),V(29860)],void 0!==(w="function"==typeof(T=C)?T.apply(de,g):T)&&(we.exports=w))}(0,function(y,C,S,E){"use strict";var A=E&&E.URI;function I(O,H){var ie=arguments.length>=1;if(!(this instanceof I))return ie?arguments.length>=2?new I(O,H):new I(O):new I;if(void 0===O){if(ie)throw new TypeError("undefined is not a valid argument for URI");O=typeof location<"u"?location.href+"":""}if(null===O&&ie)throw new TypeError("null is not a valid argument for URI");return this.href(O),void 0!==H?this.absoluteTo(H):this}I.version="1.19.11";var te=I.prototype,se=Object.prototype.hasOwnProperty;function me(O){return O.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function ue(O){return void 0===O?"Undefined":String(Object.prototype.toString.call(O)).slice(8,-1)}function U(O){return"Array"===ue(O)}function ne(O,H){var ge,Me,ie={};if("RegExp"===ue(H))ie=null;else if(U(H))for(ge=0,Me=H.length;ge<Me;ge++)ie[H[ge]]=!0;else ie[H]=!0;for(ge=0,Me=O.length;ge<Me;ge++)(ie&&void 0!==ie[O[ge]]||!ie&&H.test(O[ge]))&&(O.splice(ge,1),Me--,ge--);return O}function $(O,H){var ie,ge;if(U(H)){for(ie=0,ge=H.length;ie<ge;ie++)if(!$(O,H[ie]))return!1;return!0}var Me=ue(H);for(ie=0,ge=O.length;ie<ge;ie++)if("RegExp"===Me){if("string"==typeof O[ie]&&O[ie].match(H))return!0}else if(O[ie]===H)return!0;return!1}function ae(O,H){if(!U(O)||!U(H)||O.length!==H.length)return!1;O.sort(),H.sort();for(var ie=0,ge=O.length;ie<ge;ie++)if(O[ie]!==H[ie])return!1;return!0}function be(O){return O.replace(/^\/+|\/+$/g,"")}function Ce(O){return escape(O)}function Pe(O){return encodeURIComponent(O).replace(/[!'()*]/g,Ce).replace(/\*/g,"%2A")}I._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:I.preventInvalidHostname,duplicateQueryParameters:I.duplicateQueryParameters,escapeQuerySpace:I.escapeQuerySpace}},I.preventInvalidHostname=!1,I.duplicateQueryParameters=!1,I.escapeQuerySpace=!0,I.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,I.idn_expression=/[^a-z0-9\._-]/i,I.punycode_expression=/(xn--)/i,I.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,I.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,I.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,I.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},I.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,I.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,I.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},I.hostProtocols=["http","https"],I.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,I.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},I.getDomAttribute=function(O){if(O&&O.nodeName){var H=O.nodeName.toLowerCase();if("input"!==H||"image"===O.type)return I.domAttributes[H]}},I.encode=Pe,I.decode=decodeURIComponent,I.iso8859=function(){I.encode=escape,I.decode=unescape},I.unicode=function(){I.encode=Pe,I.decode=decodeURIComponent},I.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},I.encodeQuery=function(O,H){var ie=I.encode(O+"");return void 0===H&&(H=I.escapeQuerySpace),H?ie.replace(/%20/g,"+"):ie},I.decodeQuery=function(O,H){O+="",void 0===H&&(H=I.escapeQuerySpace);try{return I.decode(H?O.replace(/\+/g,"%20"):O)}catch{return O}};var Qe,Je={encode:"encode",decode:"decode"},ut=function(O,H){return function(ie){try{return I[H](ie+"").replace(I.characters[O][H].expression,function(ge){return I.characters[O][H].map[ge]})}catch{return ie}}};for(Qe in Je)I[Qe+"PathSegment"]=ut("pathname",Je[Qe]),I[Qe+"UrnPathSegment"]=ut("urnpath",Je[Qe]);var vt=function(O,H,ie){return function(ge){var Me;Me=ie?function(he){return I[H](I[ie](he))}:I[H];for(var pe=(ge+"").split(O),X=0,Ae=pe.length;X<Ae;X++)pe[X]=Me(pe[X]);return pe.join(O)}};function ft(O){return function(H,ie){return void 0===H?this._parts[O]||"":(this._parts[O]=H||null,this.build(!ie),this)}}function vn(O,H){return function(ie,ge){return void 0===ie?this._parts[O]||"":(null!==ie&&(ie+="").charAt(0)===H&&(ie=ie.substring(1)),this._parts[O]=ie,this.build(!ge),this)}}I.decodePath=vt("/","decodePathSegment"),I.decodeUrnPath=vt(":","decodeUrnPathSegment"),I.recodePath=vt("/","encodePathSegment","decode"),I.recodeUrnPath=vt(":","encodeUrnPathSegment","decode"),I.encodeReserved=ut("reserved","encode"),I.parse=function(O,H){var ie;return H||(H={preventInvalidHostname:I.preventInvalidHostname}),(ie=(O=(O=O.replace(I.leading_whitespace_expression,"")).replace(I.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(H.fragment=O.substring(ie+1)||null,O=O.substring(0,ie)),(ie=O.indexOf("?"))>-1&&(H.query=O.substring(ie+1)||null,O=O.substring(0,ie)),"//"===(O=(O=O.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(H.protocol=null,O=O.substring(2),O=I.parseAuthority(O,H)):(ie=O.indexOf(":"))>-1&&(H.protocol=O.substring(0,ie)||null,H.protocol&&!H.protocol.match(I.protocol_expression)?H.protocol=void 0:"//"===O.substring(ie+1,ie+3).replace(/\\/g,"/")?(O=O.substring(ie+3),O=I.parseAuthority(O,H)):(O=O.substring(ie+1),H.urn=!0)),H.path=O,H},I.parseHost=function(O,H){O||(O="");var ge,Me,ie=(O=O.replace(/\\/g,"/")).indexOf("/");if(-1===ie&&(ie=O.length),"["===O.charAt(0))ge=O.indexOf("]"),H.hostname=O.substring(1,ge)||null,H.port=O.substring(ge+2,ie)||null,"/"===H.port&&(H.port=null);else{var pe=O.indexOf(":"),X=O.indexOf("/"),Ae=O.indexOf(":",pe+1);-1!==Ae&&(-1===X||Ae<X)?(H.hostname=O.substring(0,ie)||null,H.port=null):(Me=O.substring(0,ie).split(":"),H.hostname=Me[0]||null,H.port=Me[1]||null)}return H.hostname&&"/"!==O.substring(ie).charAt(0)&&(ie++,O="/"+O),H.preventInvalidHostname&&I.ensureValidHostname(H.hostname,H.protocol),H.port&&I.ensureValidPort(H.port),O.substring(ie)||"/"},I.parseAuthority=function(O,H){return O=I.parseUserinfo(O,H),I.parseHost(O,H)},I.parseUserinfo=function(O,H){var ie=O;-1!==O.indexOf("\\")&&(O=O.replace(/\\/g,"/"));var X,Me=O.indexOf("/"),pe=O.lastIndexOf("@",Me>-1?Me:O.length-1);return pe>-1&&(-1===Me||pe<Me)?(X=O.substring(0,pe).split(":"),H.username=X[0]?I.decode(X[0]):null,X.shift(),H.password=X[0]?I.decode(X.join(":")):null,O=ie.substring(pe+1)):(H.username=null,H.password=null),O},I.parseQuery=function(O,H){if(!O)return{};if(!(O=O.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var pe,X,Ae,ie={},ge=O.split("&"),Me=ge.length,he=0;he<Me;he++)pe=ge[he].split("="),X=I.decodeQuery(pe.shift(),H),Ae=pe.length?I.decodeQuery(pe.join("="),H):null,"__proto__"!==X&&(se.call(ie,X)?(("string"==typeof ie[X]||null===ie[X])&&(ie[X]=[ie[X]]),ie[X].push(Ae)):ie[X]=Ae);return ie},I.build=function(O){var H="",ie=!1;return O.protocol&&(H+=O.protocol+":"),!O.urn&&(H||O.hostname)&&(H+="//",ie=!0),H+=I.buildAuthority(O)||"","string"==typeof O.path&&("/"!==O.path.charAt(0)&&ie&&(H+="/"),H+=O.path),"string"==typeof O.query&&O.query&&(H+="?"+O.query),"string"==typeof O.fragment&&O.fragment&&(H+="#"+O.fragment),H},I.buildHost=function(O){var H="";return O.hostname?(I.ip6_expression.test(O.hostname)?H+="["+O.hostname+"]":H+=O.hostname,O.port&&(H+=":"+O.port),H):""},I.buildAuthority=function(O){return I.buildUserinfo(O)+I.buildHost(O)},I.buildUserinfo=function(O){var H="";return O.username&&(H+=I.encode(O.username)),O.password&&(H+=":"+I.encode(O.password)),H&&(H+="@"),H},I.buildQuery=function(O,H,ie){var Me,pe,X,Ae,ge="";for(pe in O)if("__proto__"!==pe&&se.call(O,pe))if(U(O[pe]))for(Me={},X=0,Ae=O[pe].length;X<Ae;X++)void 0!==O[pe][X]&&void 0===Me[O[pe][X]+""]&&(ge+="&"+I.buildQueryParameter(pe,O[pe][X],ie),!0!==H&&(Me[O[pe][X]+""]=!0));else void 0!==O[pe]&&(ge+="&"+I.buildQueryParameter(pe,O[pe],ie));return ge.substring(1)},I.buildQueryParameter=function(O,H,ie){return I.encodeQuery(O,ie)+(null!==H?"="+I.encodeQuery(H,ie):"")},I.addQuery=function(O,H,ie){if("object"==typeof H)for(var ge in H)se.call(H,ge)&&I.addQuery(O,ge,H[ge]);else{if("string"!=typeof H)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===O[H])return void(O[H]=ie);"string"==typeof O[H]&&(O[H]=[O[H]]),U(ie)||(ie=[ie]),O[H]=(O[H]||[]).concat(ie)}},I.setQuery=function(O,H,ie){if("object"==typeof H)for(var ge in H)se.call(H,ge)&&I.setQuery(O,ge,H[ge]);else{if("string"!=typeof H)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");O[H]=void 0===ie?null:ie}},I.removeQuery=function(O,H,ie){var ge,Me,pe;if(U(H))for(ge=0,Me=H.length;ge<Me;ge++)O[H[ge]]=void 0;else if("RegExp"===ue(H))for(pe in O)H.test(pe)&&(O[pe]=void 0);else if("object"==typeof H)for(pe in H)se.call(H,pe)&&I.removeQuery(O,pe,H[pe]);else{if("string"!=typeof H)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==ie?"RegExp"===ue(ie)?O[H]=!U(O[H])&&ie.test(O[H])?void 0:ne(O[H],ie):O[H]!==String(ie)||U(ie)&&1!==ie.length?U(O[H])&&(O[H]=ne(O[H],ie)):O[H]=void 0:O[H]=void 0}},I.hasQuery=function(O,H,ie,ge){switch(ue(H)){case"String":break;case"RegExp":for(var Me in O)if(se.call(O,Me)&&H.test(Me)&&(void 0===ie||I.hasQuery(O,Me,ie)))return!0;return!1;case"Object":for(var pe in H)if(se.call(H,pe)&&!I.hasQuery(O,pe,H[pe]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(ue(ie)){case"Undefined":return H in O;case"Boolean":return ie===!!(U(O[H])?O[H].length:O[H]);case"Function":return!!ie(O[H],H,O);case"Array":return!!U(O[H])&&(ge?$:ae)(O[H],ie);case"RegExp":return U(O[H])?!!ge&&$(O[H],ie):!(!O[H]||!O[H].match(ie));case"Number":ie=String(ie);case"String":return U(O[H])?!!ge&&$(O[H],ie):O[H]===ie;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},I.joinPaths=function(){for(var O=[],H=[],ie=0,ge=0;ge<arguments.length;ge++){var Me=new I(arguments[ge]);O.push(Me);for(var pe=Me.segment(),X=0;X<pe.length;X++)"string"==typeof pe[X]&&H.push(pe[X]),pe[X]&&ie++}if(!H.length||!ie)return new I("");var Ae=new I("").segment(H);return(""===O[0].path()||"/"===O[0].path().slice(0,1))&&Ae.path("/"+Ae.path()),Ae.normalize()},I.commonPath=function(O,H){var ge,ie=Math.min(O.length,H.length);for(ge=0;ge<ie;ge++)if(O.charAt(ge)!==H.charAt(ge)){ge--;break}return ge<1?O.charAt(0)===H.charAt(0)&&"/"===O.charAt(0)?"/":"":(("/"!==O.charAt(ge)||"/"!==H.charAt(ge))&&(ge=O.substring(0,ge).lastIndexOf("/")),O.substring(0,ge+1))},I.withinString=function(O,H,ie){ie||(ie={});var ge=ie.start||I.findUri.start,Me=ie.end||I.findUri.end,pe=ie.trim||I.findUri.trim,X=ie.parens||I.findUri.parens,Ae=/[a-z0-9-]=["']?$/i;for(ge.lastIndex=0;;){var he=ge.exec(O);if(!he)break;var $e=he.index;if(ie.ignoreHtml){var yt=O.slice(Math.max($e-3,0),$e);if(yt&&Ae.test(yt))continue}for(var at=$e+O.slice($e).search(Me),lt=O.slice($e,at),Vn=-1;;){var Fn=X.exec(lt);if(!Fn)break;Vn=Math.max(Vn,Fn.index+Fn[0].length)}if(!((lt=Vn>-1?lt.slice(0,Vn)+lt.slice(Vn).replace(pe,""):lt.replace(pe,"")).length<=he[0].length||ie.ignore&&ie.ignore.test(lt))){var bi=H(lt,$e,at=$e+lt.length,O);if(void 0===bi){ge.lastIndex=at;continue}bi=String(bi),O=O.slice(0,$e)+bi+O.slice(at),ge.lastIndex=$e+bi.length}}return ge.lastIndex=0,O},I.ensureValidHostname=function(O,H){var ie=!!O,Me=!1;if(!!H&&(Me=$(I.hostProtocols,H)),Me&&!ie)throw new TypeError("Hostname cannot be empty, if protocol is "+H);if(O&&O.match(I.invalid_hostname_characters)){if(!y)throw new TypeError('Hostname "'+O+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(y.toASCII(O).match(I.invalid_hostname_characters))throw new TypeError('Hostname "'+O+'" contains characters other than [A-Z0-9.-:_]')}},I.ensureValidPort=function(O){if(O){var H=Number(O);if(!(function Q(O){return/^[0-9]+$/.test(O)}(H)&&H>0&&H<65536))throw new TypeError('Port "'+O+'" is not a valid port')}},I.noConflict=function(O){if(O){var H={URI:this.noConflict()};return E.URITemplate&&"function"==typeof E.URITemplate.noConflict&&(H.URITemplate=E.URITemplate.noConflict()),E.IPv6&&"function"==typeof E.IPv6.noConflict&&(H.IPv6=E.IPv6.noConflict()),E.SecondLevelDomains&&"function"==typeof E.SecondLevelDomains.noConflict&&(H.SecondLevelDomains=E.SecondLevelDomains.noConflict()),H}return E.URI===this&&(E.URI=A),this},te.build=function(O){return!0===O?this._deferred_build=!0:(void 0===O||this._deferred_build)&&(this._string=I.build(this._parts),this._deferred_build=!1),this},te.clone=function(){return new I(this)},te.valueOf=te.toString=function(){return this.build(!1)._string},te.protocol=ft("protocol"),te.username=ft("username"),te.password=ft("password"),te.hostname=ft("hostname"),te.port=ft("port"),te.query=vn("query","?"),te.fragment=vn("fragment","#"),te.search=function(O,H){var ie=this.query(O,H);return"string"==typeof ie&&ie.length?"?"+ie:ie},te.hash=function(O,H){var ie=this.fragment(O,H);return"string"==typeof ie&&ie.length?"#"+ie:ie},te.pathname=function(O,H){if(void 0===O||!0===O){var ie=this._parts.path||(this._parts.hostname?"/":"");return O?(this._parts.urn?I.decodeUrnPath:I.decodePath)(ie):ie}return this._parts.path=this._parts.urn?O?I.recodeUrnPath(O):"":O?I.recodePath(O):"/",this.build(!H),this},te.path=te.pathname,te.href=function(O,H){var ie;if(void 0===O)return this.toString();this._string="",this._parts=I._parts();var ge=O instanceof I,Me="object"==typeof O&&(O.hostname||O.path||O.pathname);if(O.nodeName&&(O=O[I.getDomAttribute(O)]||"",Me=!1),!ge&&Me&&void 0!==O.pathname&&(O=O.toString()),"string"==typeof O||O instanceof String)this._parts=I.parse(String(O),this._parts);else{if(!ge&&!Me)throw new TypeError("invalid input");var X=ge?O._parts:O;for(ie in X)"query"!==ie&&se.call(this._parts,ie)&&(this._parts[ie]=X[ie]);X.query&&this.query(X.query,!1)}return this.build(!H),this},te.is=function(O){var H=!1,ie=!1,ge=!1,Me=!1,pe=!1,X=!1,Ae=!1,he=!this._parts.urn;switch(this._parts.hostname&&(he=!1,ie=I.ip4_expression.test(this._parts.hostname),ge=I.ip6_expression.test(this._parts.hostname),pe=(Me=!(H=ie||ge))&&S&&S.has(this._parts.hostname),X=Me&&I.idn_expression.test(this._parts.hostname),Ae=Me&&I.punycode_expression.test(this._parts.hostname)),O.toLowerCase()){case"relative":return he;case"absolute":return!he;case"domain":case"name":return Me;case"sld":return pe;case"ip":return H;case"ip4":case"ipv4":case"inet4":return ie;case"ip6":case"ipv6":case"inet6":return ge;case"idn":return X;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return Ae}return null};var qt=te.protocol,J=te.port,_e=te.hostname;te.protocol=function(O,H){if(O&&!(O=O.replace(/:(\/\/)?$/,"")).match(I.protocol_expression))throw new TypeError('Protocol "'+O+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return qt.call(this,O,H)},te.scheme=te.protocol,te.port=function(O,H){return this._parts.urn?void 0===O?"":this:(void 0!==O&&(0===O&&(O=null),O&&(":"===(O+="").charAt(0)&&(O=O.substring(1)),I.ensureValidPort(O))),J.call(this,O,H))},te.hostname=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0!==O){var ie={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==I.parseHost(O,ie))throw new TypeError('Hostname "'+O+'" contains characters other than [A-Z0-9.-]');O=ie.hostname,this._parts.preventInvalidHostname&&I.ensureValidHostname(O,this._parts.protocol)}return _e.call(this,O,H)},te.origin=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O){var ie=this.protocol();return this.authority()?(ie?ie+"://":"")+this.authority():""}var Me=I(O);return this.protocol(Me.protocol()).authority(Me.authority()).build(!H),this},te.host=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O)return this._parts.hostname?I.buildHost(this._parts):"";if("/"!==I.parseHost(O,this._parts))throw new TypeError('Hostname "'+O+'" contains characters other than [A-Z0-9.-]');return this.build(!H),this},te.authority=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O)return this._parts.hostname?I.buildAuthority(this._parts):"";if("/"!==I.parseAuthority(O,this._parts))throw new TypeError('Hostname "'+O+'" contains characters other than [A-Z0-9.-]');return this.build(!H),this},te.userinfo=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O){var ie=I.buildUserinfo(this._parts);return ie&&ie.substring(0,ie.length-1)}return"@"!==O[O.length-1]&&(O+="@"),I.parseUserinfo(O,this._parts),this.build(!H),this},te.resource=function(O,H){var ie;return void 0===O?this.path()+this.search()+this.hash():(ie=I.parse(O),this._parts.path=ie.path,this._parts.query=ie.query,this._parts.fragment=ie.fragment,this.build(!H),this)},te.subdomain=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O){if(!this._parts.hostname||this.is("IP"))return"";var ie=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,ie)||""}var ge=this._parts.hostname.length-this.domain().length,Me=this._parts.hostname.substring(0,ge),pe=new RegExp("^"+me(Me));if(O&&"."!==O.charAt(O.length-1)&&(O+="."),-1!==O.indexOf(":"))throw new TypeError("Domains cannot contain colons");return O&&I.ensureValidHostname(O,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(pe,O),this.build(!H),this},te.domain=function(O,H){if(this._parts.urn)return void 0===O?"":this;if("boolean"==typeof O&&(H=O,O=void 0),void 0===O){if(!this._parts.hostname||this.is("IP"))return"";var ie=this._parts.hostname.match(/\./g);if(ie&&ie.length<2)return this._parts.hostname;var ge=this._parts.hostname.length-this.tld(H).length-1;return ge=this._parts.hostname.lastIndexOf(".",ge-1)+1,this._parts.hostname.substring(ge)||""}if(!O)throw new TypeError("cannot set domain empty");if(-1!==O.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(I.ensureValidHostname(O,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=O;else{var Me=new RegExp(me(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(Me,O)}return this.build(!H),this},te.tld=function(O,H){if(this._parts.urn)return void 0===O?"":this;if("boolean"==typeof O&&(H=O,O=void 0),void 0===O){if(!this._parts.hostname||this.is("IP"))return"";var ie=this._parts.hostname.lastIndexOf("."),ge=this._parts.hostname.substring(ie+1);return!0!==H&&S&&S.list[ge.toLowerCase()]&&S.get(this._parts.hostname)||ge}var Me;if(!O)throw new TypeError("cannot set TLD empty");if(O.match(/[^a-zA-Z0-9-]/)){if(!S||!S.is(O))throw new TypeError('TLD "'+O+'" contains characters other than [A-Z0-9]');Me=new RegExp(me(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(Me,O)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");Me=new RegExp(me(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(Me,O)}return this.build(!H),this},te.directory=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O||!0===O){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var ie=this._parts.path.length-this.filename().length-1,ge=this._parts.path.substring(0,ie)||(this._parts.hostname?"/":"");return O?I.decodePath(ge):ge}var Me=this._parts.path.length-this.filename().length,pe=this._parts.path.substring(0,Me),X=new RegExp("^"+me(pe));return this.is("relative")||(O||(O="/"),"/"!==O.charAt(0)&&(O="/"+O)),O&&"/"!==O.charAt(O.length-1)&&(O+="/"),O=I.recodePath(O),this._parts.path=this._parts.path.replace(X,O),this.build(!H),this},te.filename=function(O,H){if(this._parts.urn)return void 0===O?"":this;if("string"!=typeof O){if(!this._parts.path||"/"===this._parts.path)return"";var ie=this._parts.path.lastIndexOf("/"),ge=this._parts.path.substring(ie+1);return O?I.decodePathSegment(ge):ge}var Me=!1;"/"===O.charAt(0)&&(O=O.substring(1)),O.match(/\.?\//)&&(Me=!0);var pe=new RegExp(me(this.filename())+"$");return O=I.recodePath(O),this._parts.path=this._parts.path.replace(pe,O),Me?this.normalizePath(H):this.build(!H),this},te.suffix=function(O,H){if(this._parts.urn)return void 0===O?"":this;if(void 0===O||!0===O){if(!this._parts.path||"/"===this._parts.path)return"";var Me,pe,ie=this.filename(),ge=ie.lastIndexOf(".");return-1===ge?"":(Me=ie.substring(ge+1),pe=/^[a-z0-9%]+$/i.test(Me)?Me:"",O?I.decodePathSegment(pe):pe)}"."===O.charAt(0)&&(O=O.substring(1));var Ae,X=this.suffix();if(X)Ae=O?new RegExp(me(X)+"$"):new RegExp(me("."+X)+"$");else{if(!O)return this;this._parts.path+="."+I.recodePath(O)}return Ae&&(O=I.recodePath(O),this._parts.path=this._parts.path.replace(Ae,O)),this.build(!H),this},te.segment=function(O,H,ie){var ge=this._parts.urn?":":"/",Me=this.path(),pe="/"===Me.substring(0,1),X=Me.split(ge);if(void 0!==O&&"number"!=typeof O&&(ie=H,H=O,O=void 0),void 0!==O&&"number"!=typeof O)throw new Error('Bad segment "'+O+'", must be 0-based integer');if(pe&&X.shift(),O<0&&(O=Math.max(X.length+O,0)),void 0===H)return void 0===O?X:X[O];if(null===O||void 0===X[O])if(U(H)){X=[];for(var Ae=0,he=H.length;Ae<he;Ae++)!H[Ae].length&&(!X.length||!X[X.length-1].length)||(X.length&&!X[X.length-1].length&&X.pop(),X.push(be(H[Ae])))}else(H||"string"==typeof H)&&(H=be(H),""===X[X.length-1]?X[X.length-1]=H:X.push(H));else H?X[O]=be(H):X.splice(O,1);return pe&&X.unshift(""),this.path(X.join(ge),ie)},te.segmentCoded=function(O,H,ie){var ge,Me,pe;if("number"!=typeof O&&(ie=H,H=O,O=void 0),void 0===H){if(U(ge=this.segment(O,H,ie)))for(Me=0,pe=ge.length;Me<pe;Me++)ge[Me]=I.decode(ge[Me]);else ge=void 0!==ge?I.decode(ge):void 0;return ge}if(U(H))for(Me=0,pe=H.length;Me<pe;Me++)H[Me]=I.encode(H[Me]);else H="string"==typeof H||H instanceof String?I.encode(H):H;return this.segment(O,H,ie)};var ke=te.query;return te.query=function(O,H){if(!0===O)return I.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof O){var ie=I.parseQuery(this._parts.query,this._parts.escapeQuerySpace),ge=O.call(this,ie);return this._parts.query=I.buildQuery(ge||ie,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!H),this}return void 0!==O&&"string"!=typeof O?(this._parts.query=I.buildQuery(O,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!H),this):ke.call(this,O,H)},te.setQuery=function(O,H,ie){var ge=I.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof O||O instanceof String)ge[O]=void 0!==H?H:null;else{if("object"!=typeof O)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var Me in O)se.call(O,Me)&&(ge[Me]=O[Me])}return this._parts.query=I.buildQuery(ge,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof O&&(ie=H),this.build(!ie),this},te.addQuery=function(O,H,ie){var ge=I.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return I.addQuery(ge,O,void 0===H?null:H),this._parts.query=I.buildQuery(ge,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof O&&(ie=H),this.build(!ie),this},te.removeQuery=function(O,H,ie){var ge=I.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return I.removeQuery(ge,O,H),this._parts.query=I.buildQuery(ge,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof O&&(ie=H),this.build(!ie),this},te.hasQuery=function(O,H,ie){var ge=I.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return I.hasQuery(ge,O,H,ie)},te.setSearch=te.setQuery,te.addSearch=te.addQuery,te.removeSearch=te.removeQuery,te.hasSearch=te.hasQuery,te.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},te.normalizeProtocol=function(O){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!O)),this},te.normalizeHostname=function(O){return this._parts.hostname&&(this.is("IDN")&&y?this._parts.hostname=y.toASCII(this._parts.hostname):this.is("IPv6")&&C&&(this._parts.hostname=C.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!O)),this},te.normalizePort=function(O){return"string"==typeof this._parts.protocol&&this._parts.port===I.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!O)),this},te.normalizePath=function(O){var H=this._parts.path;if(!H)return this;if(this._parts.urn)return this._parts.path=I.recodeUrnPath(this._parts.path),this.build(!O),this;if("/"===this._parts.path)return this;var ie,Me,pe,ge="";for("/"!==(H=I.recodePath(H)).charAt(0)&&(ie=!0,H="/"+H),("/.."===H.slice(-3)||"/."===H.slice(-2))&&(H+="/"),H=H.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),ie&&(ge=H.substring(1).match(/^(\.\.\/)+/)||"")&&(ge=ge[0]);-1!==(Me=H.search(/\/\.\.(\/|$)/));)0!==Me?(-1===(pe=H.substring(0,Me).lastIndexOf("/"))&&(pe=Me),H=H.substring(0,pe)+H.substring(Me+3)):H=H.substring(3);return ie&&this.is("relative")&&(H=ge+H.substring(1)),this._parts.path=H,this.build(!O),this},te.normalizePathname=te.normalizePath,te.normalizeQuery=function(O){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(I.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!O)),this},te.normalizeFragment=function(O){return this._parts.fragment||(this._parts.fragment=null,this.build(!O)),this},te.normalizeSearch=te.normalizeQuery,te.normalizeHash=te.normalizeFragment,te.iso8859=function(){var O=I.encode,H=I.decode;I.encode=escape,I.decode=decodeURIComponent;try{this.normalize()}finally{I.encode=O,I.decode=H}return this},te.unicode=function(){var O=I.encode,H=I.decode;I.encode=Pe,I.decode=unescape;try{this.normalize()}finally{I.encode=O,I.decode=H}return this},te.readable=function(){var O=this.clone();O.username("").password("").normalize();var H="";if(O._parts.protocol&&(H+=O._parts.protocol+"://"),O._parts.hostname&&(O.is("punycode")&&y?(H+=y.toUnicode(O._parts.hostname),O._parts.port&&(H+=":"+O._parts.port)):H+=O.host()),O._parts.hostname&&O._parts.path&&"/"!==O._parts.path.charAt(0)&&(H+="/"),H+=O.path(!0),O._parts.query){for(var ie="",ge=0,Me=O._parts.query.split("&"),pe=Me.length;ge<pe;ge++){var X=(Me[ge]||"").split("=");ie+="&"+I.decodeQuery(X[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==X[1]&&(ie+="="+I.decodeQuery(X[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}H+="?"+ie.substring(1)}return H+I.decodeQuery(O.hash(),!0)},te.absoluteTo=function(O){var ge,Me,pe,H=this.clone(),ie=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(O instanceof I||(O=new I(O)),H._parts.protocol||(H._parts.protocol=O._parts.protocol,this._parts.hostname))return H;for(Me=0;pe=ie[Me];Me++)H._parts[pe]=O._parts[pe];return H._parts.path?(".."===H._parts.path.substring(-2)&&(H._parts.path+="/"),"/"!==H.path().charAt(0)&&(ge=(ge=O.directory())||(0===O.path().indexOf("/")?"/":""),H._parts.path=(ge?ge+"/":"")+H._parts.path,H.normalizePath())):(H._parts.path=O._parts.path,H._parts.query||(H._parts.query=O._parts.query)),H.build(),H},te.relativeTo=function(O){var ie,ge,Me,pe,X,H=this.clone().normalize();if(H._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(O=new I(O).normalize(),ie=H._parts,ge=O._parts,pe=H.path(),X=O.path(),"/"!==pe.charAt(0))throw new Error("URI is already relative");if("/"!==X.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(ie.protocol===ge.protocol&&(ie.protocol=null),ie.username!==ge.username||ie.password!==ge.password||null!==ie.protocol||null!==ie.username||null!==ie.password)return H.build();if(ie.hostname!==ge.hostname||ie.port!==ge.port)return H.build();if(ie.hostname=null,ie.port=null,pe===X)return ie.path="",H.build();if(!(Me=I.commonPath(pe,X)))return H.build();var Ae=ge.path.substring(Me.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return ie.path=Ae+ie.path.substring(Me.length)||"./",H.build()},te.equals=function(O){var ge,Me,X,Ae,he,H=this.clone(),ie=new I(O),pe={};if(H.normalize(),ie.normalize(),H.toString()===ie.toString())return!0;if(X=H.query(),Ae=ie.query(),H.query(""),ie.query(""),H.toString()!==ie.toString()||X.length!==Ae.length)return!1;for(he in ge=I.parseQuery(X,this._parts.escapeQuerySpace),Me=I.parseQuery(Ae,this._parts.escapeQuerySpace),ge)if(se.call(ge,he)){if(U(ge[he])){if(!ae(ge[he],Me[he]))return!1}else if(ge[he]!==Me[he])return!1;pe[he]=!0}for(he in Me)if(se.call(Me,he)&&!pe[he])return!1;return!0},te.preventInvalidHostname=function(O){return this._parts.preventInvalidHostname=!!O,this},te.duplicateQueryParameters=function(O){return this._parts.duplicateQueryParameters=!!O,this},te.escapeQuerySpace=function(O){return this._parts.escapeQuerySpace=!!O,this},I})},5904:function(we,de,V){var T;we=V.nmd(we),function(g){"object"==typeof global&&global;var S,E=2147483647,A=36,Q=26,te=38,se=700,ne=/^xn--/,$=/[^\x20-\x7E]/,ae=/[\x2E\u3002\uFF0E\uFF61]/g,be={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ce=A-1,Pe=Math.floor,Je=String.fromCharCode;function ut(Me){throw new RangeError(be[Me])}function vt(Me,pe){for(var X=Me.length,Ae=[];X--;)Ae[X]=pe(Me[X]);return Ae}function ft(Me,pe){var X=Me.split("@"),Ae="";return X.length>1&&(Ae=X[0]+"@",Me=X[1]),Ae+vt((Me=Me.replace(ae,".")).split("."),pe).join(".")}function vn(Me){for(var he,$e,pe=[],X=0,Ae=Me.length;X<Ae;)(he=Me.charCodeAt(X++))>=55296&&he<=56319&&X<Ae?56320==(64512&($e=Me.charCodeAt(X++)))?pe.push(((1023&he)<<10)+(1023&$e)+65536):(pe.push(he),X--):pe.push(he);return pe}function qt(Me){return vt(Me,function(pe){var X="";return pe>65535&&(X+=Je((pe-=65536)>>>10&1023|55296),pe=56320|1023&pe),X+Je(pe)}).join("")}function J(Me){return Me-48<10?Me-22:Me-65<26?Me-65:Me-97<26?Me-97:A}function _e(Me,pe){return Me+22+75*(Me<26)-((0!=pe)<<5)}function ke(Me,pe,X){var Ae=0;for(Me=X?Pe(Me/se):Me>>1,Me+=Pe(Me/pe);Me>Ce*Q>>1;Ae+=A)Me=Pe(Me/Ce);return Pe(Ae+(Ce+1)*Me/(Me+te))}function O(Me){var Ae,at,lt,Vn,Fn,ui,bi,di,Nr,ss,pe=[],X=Me.length,he=0,$e=128,yt=72;for((at=Me.lastIndexOf("-"))<0&&(at=0),lt=0;lt<at;++lt)Me.charCodeAt(lt)>=128&&ut("not-basic"),pe.push(Me.charCodeAt(lt));for(Vn=at>0?at+1:0;Vn<X;){for(Fn=he,ui=1,bi=A;Vn>=X&&ut("invalid-input"),((di=J(Me.charCodeAt(Vn++)))>=A||di>Pe((E-he)/ui))&&ut("overflow"),he+=di*ui,!(di<(Nr=bi<=yt?1:bi>=yt+Q?Q:bi-yt));bi+=A)ui>Pe(E/(ss=A-Nr))&&ut("overflow"),ui*=ss;yt=ke(he-Fn,Ae=pe.length+1,0==Fn),Pe(he/Ae)>E-$e&&ut("overflow"),$e+=Pe(he/Ae),he%=Ae,pe.splice(he++,0,$e)}return qt(pe)}function H(Me){var pe,X,Ae,he,$e,yt,at,lt,Vn,Fn,ui,di,Nr,ss,Wo,bi=[];for(di=(Me=vn(Me)).length,pe=128,X=0,$e=72,yt=0;yt<di;++yt)(ui=Me[yt])<128&&bi.push(Je(ui));for(Ae=he=bi.length,he&&bi.push("-");Ae<di;){for(at=E,yt=0;yt<di;++yt)(ui=Me[yt])>=pe&&ui<at&&(at=ui);for(at-pe>Pe((E-X)/(Nr=Ae+1))&&ut("overflow"),X+=(at-pe)*Nr,pe=at,yt=0;yt<di;++yt)if((ui=Me[yt])<pe&&++X>E&&ut("overflow"),ui==pe){for(lt=X,Vn=A;!(lt<(Fn=Vn<=$e?1:Vn>=$e+Q?Q:Vn-$e));Vn+=A)bi.push(Je(_e(Fn+(Wo=lt-Fn)%(ss=A-Fn),0))),lt=Pe(Wo/ss);bi.push(Je(_e(lt,0))),$e=ke(X,Nr,Ae==he),X=0,++Ae}++X,++pe}return bi.join("")}S={version:"1.3.2",ucs2:{decode:vn,encode:qt},decode:O,encode:H,toASCII:function ge(Me){return ft(Me,function(pe){return $.test(pe)?"xn--"+H(pe):pe})},toUnicode:function ie(Me){return ft(Me,function(pe){return ne.test(pe)?O(pe.slice(4).toLowerCase()):pe})}},void 0!==(T=function(){return S}.call(de,V,de,we))&&(we.exports=T)}()},35358:(we,de,V)=>{var T={"./af":85637,"./af.js":85637,"./ar":6777,"./ar-dz":74508,"./ar-dz.js":74508,"./ar-kw":67504,"./ar-kw.js":67504,"./ar-ly":95373,"./ar-ly.js":95373,"./ar-ma":92412,"./ar-ma.js":92412,"./ar-ps":78823,"./ar-ps.js":78823,"./ar-sa":36670,"./ar-sa.js":36670,"./ar-tn":36448,"./ar-tn.js":36448,"./ar.js":6777,"./az":23009,"./az.js":23009,"./be":28299,"./be.js":28299,"./bg":4685,"./bg.js":4685,"./bm":11171,"./bm.js":11171,"./bn":23590,"./bn-bd":5841,"./bn-bd.js":5841,"./bn.js":23590,"./bo":54309,"./bo.js":54309,"./br":54130,"./br.js":54130,"./bs":8033,"./bs.js":8033,"./ca":55294,"./ca.js":55294,"./cs":53028,"./cs.js":53028,"./cv":5807,"./cv.js":5807,"./cy":70342,"./cy.js":70342,"./da":38269,"./da.js":38269,"./de":11489,"./de-at":42123,"./de-at.js":42123,"./de-ch":17757,"./de-ch.js":17757,"./de.js":11489,"./dv":28152,"./dv.js":28152,"./el":7687,"./el.js":7687,"./en-au":46668,"./en-au.js":46668,"./en-ca":76798,"./en-ca.js":76798,"./en-gb":53615,"./en-gb.js":53615,"./en-ie":91364,"./en-ie.js":91364,"./en-il":79907,"./en-il.js":79907,"./en-in":70533,"./en-in.js":70533,"./en-nz":33190,"./en-nz.js":33190,"./en-sg":51096,"./en-sg.js":51096,"./eo":3962,"./eo.js":3962,"./es":37726,"./es-do":65010,"./es-do.js":65010,"./es-mx":63654,"./es-mx.js":63654,"./es-us":59043,"./es-us.js":59043,"./es.js":37726,"./et":25343,"./et.js":25343,"./eu":90728,"./eu.js":90728,"./fa":60787,"./fa.js":60787,"./fi":71771,"./fi.js":71771,"./fil":45335,"./fil.js":45335,"./fo":69761,"./fo.js":69761,"./fr":1670,"./fr-ca":28991,"./fr-ca.js":28991,"./fr-ch":97280,"./fr-ch.js":97280,"./fr.js":1670,"./fy":24203,"./fy.js":24203,"./ga":69858,"./ga.js":69858,"./gd":38605,"./gd.js":38605,"./gl":27365,"./gl.js":27365,"./gom-deva":33896,"./gom-deva.js":33896,"./gom-latn":95587,"./gom-latn.js":95587,"./gu":97950,"./gu.js":97950,"./he":92029,"./he.js":92029,"./hi":51897,"./hi.js":51897,"./hr":29816,"./hr.js":29816,"./hu":22253,"./hu.js":22253,"./hy-am":28196,"./hy-am.js":28196,"./id":51307,"./id.js":51307,"./is":95474,"./is.js":95474,"./it":23099,"./it-ch":45807,"./it-ch.js":45807,"./it.js":23099,"./ja":19127,"./ja.js":19127,"./jv":30182,"./jv.js":30182,"./ka":10758,"./ka.js":10758,"./kk":93444,"./kk.js":93444,"./km":72034,"./km.js":72034,"./kn":46223,"./kn.js":46223,"./ko":83064,"./ko.js":83064,"./ku":8714,"./ku-kmr":10961,"./ku-kmr.js":10961,"./ku.js":8714,"./ky":12062,"./ky.js":12062,"./lb":84796,"./lb.js":84796,"./lo":19279,"./lo.js":19279,"./lt":106,"./lt.js":106,"./lv":11840,"./lv.js":11840,"./me":42240,"./me.js":42240,"./mi":13588,"./mi.js":13588,"./mk":15518,"./mk.js":15518,"./ml":37823,"./ml.js":37823,"./mn":98657,"./mn.js":98657,"./mr":61285,"./mr.js":61285,"./ms":43014,"./ms-my":86253,"./ms-my.js":86253,"./ms.js":43014,"./mt":20167,"./mt.js":20167,"./my":47940,"./my.js":47940,"./nb":50014,"./nb.js":50014,"./ne":49023,"./ne.js":49023,"./nl":34208,"./nl-be":71412,"./nl-be.js":71412,"./nl.js":34208,"./nn":81354,"./nn.js":81354,"./oc-lnc":40870,"./oc-lnc.js":40870,"./pa-in":80389,"./pa-in.js":80389,"./pl":7342,"./pl.js":7342,"./pt":34774,"./pt-br":73003,"./pt-br.js":73003,"./pt.js":34774,"./ro":85333,"./ro.js":85333,"./ru":73451,"./ru.js":73451,"./sd":43921,"./sd.js":43921,"./se":59682,"./se.js":59682,"./si":80582,"./si.js":80582,"./sk":4348,"./sk.js":4348,"./sl":95337,"./sl.js":95337,"./sq":39358,"./sq.js":39358,"./sr":50683,"./sr-cyrl":69382,"./sr-cyrl.js":69382,"./sr.js":50683,"./ss":51156,"./ss.js":51156,"./sv":29855,"./sv.js":29855,"./sw":18536,"./sw.js":18536,"./ta":15373,"./ta.js":15373,"./te":37809,"./te.js":37809,"./tet":61297,"./tet.js":61297,"./tg":92527,"./tg.js":92527,"./th":85862,"./th.js":85862,"./tk":79331,"./tk.js":79331,"./tl-ph":44387,"./tl-ph.js":44387,"./tlh":3592,"./tlh.js":3592,"./tr":79732,"./tr.js":79732,"./tzl":99570,"./tzl.js":99570,"./tzm":83553,"./tzm-latn":7699,"./tzm-latn.js":7699,"./tzm.js":83553,"./ug-cn":25674,"./ug-cn.js":25674,"./uk":69974,"./uk.js":69974,"./ur":45773,"./ur.js":45773,"./uz":357,"./uz-latn":77135,"./uz-latn.js":77135,"./uz.js":357,"./vi":20043,"./vi.js":20043,"./x-pseudo":40767,"./x-pseudo.js":40767,"./yo":80150,"./yo.js":80150,"./zh-cn":21828,"./zh-cn.js":21828,"./zh-hk":86644,"./zh-hk.js":86644,"./zh-mo":79305,"./zh-mo.js":79305,"./zh-tw":31860,"./zh-tw.js":31860};function g(y){var C=w(y);return V(C)}function w(y){if(!V.o(T,y)){var C=new Error("Cannot find module '"+y+"'");throw C.code="MODULE_NOT_FOUND",C}return T[y]}g.keys=function(){return Object.keys(T)},g.resolve=w,we.exports=g,g.id=35358}},we=>{we(we.s=28584)}]);
//# sourceMappingURL=main.7f012e8271d9bfac.js.map