1"use strict";(self.webpackChunkwtd_header_mini=self.webpackChunkwtd_header_mini||[]).push([[792],{417:()=>{function bs(n,t){return Object.is(n,t)}let Oe=null,Wr=!1,Kr=1;const fn=Symbol("SIGNAL");function Y(n){const t=Oe;return Oe=n,t}const xs={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 Ku(n){if(Wr)throw new Error("");if(null===Oe)return;Oe.consumerOnSignalRead(n);const t=Oe.nextProducerIndex++;bl(Oe),t<Oe.producerNode.length&&Oe.producerNode[t]!==n&&ws(Oe)&&Cl(Oe.producerNode[t],Oe.producerIndexOfThis[t]),Oe.producerNode[t]!==n&&(Oe.producerNode[t]=n,Oe.producerIndexOfThis[t]=ws(Oe)?mv(n,Oe,t):0),Oe.producerLastReadVersion[t]=n.version}function uv(n){if((!ws(n)||n.dirty)&&(n.dirty||n.lastCleanEpoch!==Kr)){if(!n.producerMustRecompute(n)&&!Yu(n))return n.dirty=!1,void(n.lastCleanEpoch=Kr);n.producerRecomputeValue(n),n.dirty=!1,n.lastCleanEpoch=Kr}}function hv(n){if(void 0===n.liveConsumerNode)return;const t=Wr;Wr=!0;try{for(const e of n.liveConsumerNode)e.dirty||fv(e)}finally{Wr=t}}function pv(){return!1!==Oe?.consumerAllowSignalWrites}function fv(n){n.dirty=!0,hv(n),n.consumerMarkedDirty?.(n)}function yl(n){return n&&(n.nextProducerIndex=0),Y(n)}function Zu(n,t){if(Y(t),n&&void 0!==n.producerNode&&void 0!==n.producerIndexOfThis&&void 0!==n.producerLastReadVersion){if(ws(n))for(let e=n.nextProducerIndex;e<n.producerNode.length;e++)Cl(n.producerNode[e],n.producerIndexOfThis[e]);for(;n.producerNode.length>n.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Yu(n){bl(n);for(let t=0;t<n.producerNode.length;t++){const e=n.producerNode[t],i=n.producerLastReadVersion[t];if(i!==e.version||(uv(e),i!==e.version))return!0}return!1}function Qu(n){if(bl(n),ws(n))for(let t=0;t<n.producerNode.length;t++)Cl(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 mv(n,t,e){if(gv(n),0===n.liveConsumerNode.length&&_v(n))for(let i=0;i<n.producerNode.length;i++)n.producerIndexOfThis[i]=mv(n.producerNode[i],n,i);return n.liveConsumerIndexOfThis.push(e),n.liveConsumerNode.push(t)-1}function Cl(n,t){if(gv(n),1===n.liveConsumerNode.length&&_v(n))for(let i=0;i<n.producerNode.length;i++)Cl(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],r=n.liveConsumerNode[t];bl(r),r.producerIndexOfThis[i]=t}}function ws(n){return n.consumerIsAlwaysLive||(n?.liveConsumerNode?.length??0)>0}function bl(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function gv(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function _v(n){return void 0!==n.producerNode}const Xu=Symbol("UNSET"),Ju=Symbol("COMPUTING"),xl=Symbol("ERRORED"),B2={...xs,value:Xu,dirty:!0,error:null,equal:bs,producerMustRecompute:n=>n.value===Xu||n.value===Ju,producerRecomputeValue(n){if(n.value===Ju)throw new Error("Detected cycle in computations.");const t=n.value;n.value=Ju;const e=yl(n);let i;try{i=n.computation()}catch(r){i=xl,n.error=r}finally{Zu(n,e)}t!==Xu&&t!==xl&&i!==xl&&n.equal(t,i)?n.value=t:(n.value=i,n.version++)}};let vv=function q2(){throw new Error};function yv(){vv()}let wl=null;function Cv(n,t){pv()||yv(),n.equal(n.value,t)||(n.value=t,function G2(n){n.version++,function V2(){Kr++}(),hv(n),wl?.()}(n))}const $2={...xs,equal:bs,value:void 0};function le(n){return"function"==typeof n}function th(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const nh=th(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Dl(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class rt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 11,436 bytes, line 1
1unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(le(i))try{i()}catch(o){t=o instanceof nh?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{wv(o)}catch(s){t=t??[],s instanceof nh?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nh(t)}}add(t){var e;if(t&&t!==this)if(this.closed)wv(t);else{if(t instanceof rt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Dl(e,t)}remove(t){const{_finalizers:e}=this;e&&Dl(e,t),t instanceof rt&&t._removeParent(this)}}rt.EMPTY=(()=>{const n=new rt;return n.closed=!0,n})();const bv=rt.EMPTY;function xv(n){return n instanceof rt||n&&"closed"in n&&le(n.remove)&&le(n.add)&&le(n.unsubscribe)}function wv(n){le(n)?n():n.unsubscribe()}const Ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Il={setTimeout(n,t,...e){const{delegate:i}=Il;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=Il;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Dv(n){Il.setTimeout(()=>{const{onUnhandledError:t}=Ki;if(!t)throw n;t(n)})}function ih(){}const Z2=rh("C",void 0,void 0);function rh(n,t,e){return{kind:n,value:t,error:e}}let Zi=null;function Sl(n){if(Ki.useDeprecatedSynchronousErrorHandling){const t=!Zi;if(t&&(Zi={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Zi;if(Zi=null,e)throw i}}else n()}class oh extends rt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xv(t)&&t.add(this)):this.destination=nT}static create(t,e,i){return new Zr(t,e,i)}next(t){this.isStopped?ah(function Q2(n){return rh("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ah(function Y2(n){return rh("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ah(Z2,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const J2=Function.prototype.bind;function sh(n,t){return J2.call(n,t)}class eT{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){El(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){El(i)}else El(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){El(e)}}}class Zr extends oh{constructor(t,e,i){let r;if(super(),le(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Ki.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&sh(t.next,o),error:t.error&&sh(t.error,o),complete:t.complete&&sh(t.complete,o)}):r=t}this.destination=new eT(r)}}function El(n){Ki.useDeprecatedSynchronousErrorHandling?function X2(n){Ki.useDeprecatedSynchronousErrorHandling&&Zi&&(Zi.errorThrown=!0,Zi.error=n)}(n):Dv(n)}function ah(n,t){const{onStoppedNotification:e}=Ki;e&&Il.setTimeout(()=>e(n,t))}const nT={closed:!0,next:ih,error:function tT(n){throw n},complete:ih},lh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Yi(n){return n}let ge=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function rT(n){return n&&n instanceof oh||function iT(n){return n&&le(n.next)&&le(n.error)&&le(n.complete)}(n)&&xv(n)}(e)?e:new Zr(e,i,r);return Sl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Sv(i))((r,o)=>{const s=new Zr({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[lh](){return this}pipe(...e){return function Iv(n){return 0===n.length?Yi:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=Sv(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function Sv(n){var t;return null!==(t=n??Ki.Promise)&&void 0!==t?t:Promise}const oT=th(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ee=(()=>{class n extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Ev(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new oT}next(e){Sl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Sl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Sl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?bv:(this.currentObservers=null,o.push(e),new rt(()=>{this.currentObservers=null,Dl(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new ge;return e.source=this,e}}return n.create=(t,e)=>new Ev(t,e),n})();class Ev extends ee{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:bv}}class Zn extends ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function ct(n){return t=>{if(function sT(n){return le(n?.lift)}(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ke(n,t,e,i,r){return new aT(n,t,e,i,r)}class aT extends oh{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function M(n,t){return ct((e,i)=>{let r=0;e.subscribe(Ke(i,o=>{i.next(n.call(t,o,r++))}))})}const Fv="https://g.co/ng/security#xss";class x extends Error{constructor(t,e){super(function Yr(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}function Yn(n){return{toString:n}.toString()}const Se=globalThis;function pe(n){for(let t in n)if(n[t]===pe)return t;throw Error("Could not find renamed property on target object.")}function lT(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Ze(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Ze).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 dh(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const cT=pe({__forward_ref__:pe});function Ce(n){return n.__forward_ref__=Ce,n.toString=function(){return Ze(this())},n}function j(n){return Ml(n)?n():n}function Ml(n){return"function"==typeof n&&n.hasOwnProperty(cT)&&n.__forward_ref__===Ce}function F(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function be(n){return{providers:n.providers||[],imports:n.imports||[]}}function Tl(n){return kv(n,kl)||kv(n,Pv)}function kv(n,t){return n.hasOwnProperty(t)?n[t]:null}function Al(n){return n&&(n.hasOwnProperty(uh)||n.hasOwnProperty(fT))?n[uh]:null}const kl=pe({\u0275prov:pe}),uh=pe({\u0275inj:pe}),Pv=pe({ngInjectableDef:pe}),fT=pe({ngInjectorDef:pe});class D{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=F({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function gh(n){return n&&!!n.\u0275providers}const Ds=pe({\u0275cmp:pe}),_h=pe({\u0275dir:pe}),vh=pe({\u0275pipe:pe}),Nv=pe({\u0275mod:pe}),Qn=pe({\u0275fac:pe}),Is=pe({__NG_ELEMENT_ID__:pe}),Ov=pe({__NG_ENV_ID__:pe});function G(n){return"string"==typeof n?n:null==n?"":String(n)}function yh(n,t){throw new x(-201,!1)}var te=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}(te||{});let Ch;function Rv(){return Ch}function kt(n){const t=Ch;return Ch=n,t}function Vv(n,t,e){const i=Tl(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&te.Optional?null:void 0!==t?t:void yh()}const Ss={},bh="__NG_DI_FLAG__",Pl="ngTempTokenPath",CT=/\n/gm,jv="__source";let to;function yi(n){const t=to;return to=n,t}function wT(n,t=te.Default){if(void 0===to)throw new x(-203,!1);return null===to?Vv(n,void 0,t):to.get(n,t&te.Optional?null:void 0,t)}function y(n,t=te.Default){return(Rv()||wT)(j(n),t)}function S(n,t=te.Default){return y(n,Ll(t))}function Ll(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function xh(n){const t=[];for(let e=0;e<n.length;e++){const i=j(n[e]);if(Array.isArray(i)){if(0===i.length)throw new x(900,!1);let r,o=te.Default;for(let s=0;s<i.length;s++){const a=i[s],l=DT(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}t.push(y(r,o))}else t.push(y(i))}return t}function DT(n){return n[bh]}function Qi(n,t){return n.hasOwnProperty(Qn)?n[Qn]:null}
vendor: 4,172 bytes, line 1
1function no(n,t){n.forEach(e=>Array.isArray(e)?no(e,t):t(e))}function qv(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Nl(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function qt(n,t,e){let i=io(n,t);return i>=0?n[1|i]=e:(i=~i,function zv(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Sh(n,t){const e=io(n,t);if(e>=0)return n[1|e]}function io(n,t){return function Uv(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<<e];if(t===s)return o<<e;s>t?r=o:i=o+1}return~(r<<e)}(n,t,1)}const An={},re=[],Xn=new D(""),Hv=new D("",-1),Eh=new D("");class Rl{get(t,e=Ss){if(e===Ss){const i=new Error(`NullInjectorError: No provider for ${Ze(t)}!`);throw i.name="NullInjectorError",i}return e}}var Vl=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(Vl||{}),mn=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(mn||{}),Ci=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(Ci||{});function AT(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}function Fh(n,t,e){let i=0;for(;i<e.length;){const r=e[i];if("number"==typeof r){if(0!==r)break;i++;const o=e[i++],s=e[i++],a=e[i++];n.setAttribute(t,s,a,o)}else{const o=r,s=e[++i];Gv(o)?n.setProperty(t,o,s):n.setAttribute(t,o,s),i++}}return i}function $v(n){return 3===n||4===n||6===n}function Gv(n){return 64===n.charCodeAt(0)}function Fs(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 r=t[i];"number"==typeof r?e=r:0===e||Wv(n,e,r,null,-1===e||2===e?t[++i]:null)}}return n}function Wv(n,t,e,i,r){let o=0,s=n.length;if(-1===t)s=-1;else for(;o<n.length;){const a=n[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<n.length;){const a=n[o];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==r&&(n[o+1]=r));if(i===n[o+1])return void(n[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(n.splice(s,0,t),o=s+1),n.splice(o++,0,e),null!==i&&n.splice(o++,0,i),null!==r&&n.splice(o++,0,r)}const Kv="ng-template";function kT(n,t,e,i){let r=0;if(i){for(;r<t.length&&"string"==typeof t[r];r+=2)if("class"===t[r]&&-1!==AT(t[r+1].toLowerCase(),e,0))return!0}else if(Mh(n))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&"string"==typeof(o=t[r]);)if(o.toLowerCase()===e)return!0}return!1}function Mh(n){return 4===n.type&&n.value!==Kv}function PT(n,t,e){return t===(4!==n.type||e?n.value:Kv)}function LT(n,t,e){let i=4;const r=n.attrs,o=null!==r?function RT(n){for(let t=0;t<n.length;t++)if($v(n[t]))return t;return n.length}(r):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!PT(n,l,e)||""===l&&1===t.length){if(gn(i))return!1;s=!0}}else if(8&i){if(null===r||!kT(n,r,l,e)){if(gn(i))return!1;s=!0}}else{const c=t[++a],d=NT(l,r,Mh(n),e);if(-1===d){if(gn(i))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":r[d+1].toLowerCase(),2&i&&c!==u){if(gn(i))return!1;s=!0}}}}else{if(!s&&!gn(i)&&!gn(l))return!1;if(s&&gn(l))continue;s=!1,i=l|1&i}}return gn(i)||s}function gn(n){return!(1&n)}function NT(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r<t.length;){const s=t[r];if(s===n)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function VT(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 Zv(n,t,e=!1){for(let i=0;i<t.length;i++)if(LT(n,t[i],e))return!0;return!1}function Yv(n,t){return n?":not("+t.trim()+")":t}function BT(n){let t=n[0],e=1,i=2,r="",o=!1;for(;e<n.length;){let s=n[e];if("string"==typeof s)if(2&i){const a=n[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);
vendor: 5,864 bytes, line 1
1else""!==r&&!gn(s)&&(t+=Yv(o,r),r=""),i=s,o=o||!gn(i);e++}return""!==r&&(t+=Yv(o,r)),t}function Xi(n){return Yn(()=>{const t=Xv(n),e={...t,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Vl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||mn.Emulated,styles:n.styles||re,_:null,schemas:n.schemas||null,tView:null,id:""};Jv(e);const i=n.dependencies;return e.directiveDefs=jl(i,!1),e.pipeDefs=jl(i,!0),e.id=function GT(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 r of e)t=Math.imul(31,t)+r.charCodeAt(0)|0;return t+=2147483648,"c"+t}(e),e})}function UT(n){return X(n)||Ye(n)}function HT(n){return null!==n}function Ee(n){return Yn(()=>({type:n.type,bootstrap:n.bootstrap||re,declarations:n.declarations||re,imports:n.imports||re,exports:n.exports||re,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Qv(n,t){if(null==n)return An;const e={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];let o,s,a=Ci.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),t?(e[o]=a!==Ci.None?[i,a]:i,t[o]=s):e[o]=i}return e}function R(n){return Yn(()=>{const t=Xv(n);return Jv(t),t})}function xt(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 X(n){return n[Ds]||null}function Ye(n){return n[_h]||null}function dt(n){return n[vh]||null}function Xv(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||An,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||re,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Qv(n.inputs,t),outputs:Qv(n.outputs),debugInfo:null}}function Jv(n){n.features?.forEach(t=>t(n))}function jl(n,t){if(!n)return null;const e=t?dt:UT;return()=>("function"==typeof n?n():n).map(i=>e(i)).filter(HT)}function Jn(n){return{\u0275providers:n}}function WT(...n){return{\u0275providers:Th(0,n),\u0275fromNgModule:!0}}function Th(n,...t){const e=[],i=new Set;let r;const o=s=>{e.push(s)};return no(t,s=>{const a=s;Bl(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&e0(r,o),e}function e0(n,t){for(let e=0;e<n.length;e++){const{ngModule:i,providers:r}=n[e];Ah(r,o=>{t(o,i)})}}function Bl(n,t,e,i){if(!(n=j(n)))return!1;let r=null,o=Al(n);const s=!o&&X(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Al(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Bl(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{no(o.imports,d=>{Bl(d,t,e,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&e0(c,t)}if(!a){const c=Qi(r)||(()=>new r);t({provide:r,useFactory:c,deps:re},r),t({provide:Eh,useValue:r,multi:!0},r),t({provide:Xn,useValue:()=>y(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=n;Ah(l,d=>{t(d,c)})}}}return r!==n&&void 0!==n.providers}function Ah(n,t){for(let e of n)gh(e)&&(e=e.\u0275providers),Array.isArray(e)?Ah(e,t):t(e)}const KT=pe({provide:String,useValue:pe});function kh(n){return null!==n&&"object"==typeof n&&KT in n}function er(n){return"function"==typeof n}const Ph=new D(""),ql={},YT={};let Lh;function zl(){return void 0===Lh&&(Lh=new Rl),Lh}class zt{}class ro extends zt{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Oh(t,s=>this.processProvider(s)),this.records.set(Hv,oo(void 0,this)),r.has("environment")&&this.records.set(zt,oo(void 0,this));const o=this.records.get(Ph);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Eh,re,te.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=Y(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(),Y(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=yi(this),i=kt(void 0);try{return t()}finally{yi(e),kt(i)}}get(t,e=Ss,i=te.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ov))return t[Ov](this);i=Ll(i);const o=yi(this),s=kt(void 0);try{if(!(i&te.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function tA(n){return"function"==typeof n||"object"==typeof n&&n instanceof D}(t)&&Tl(t);l=c&&this.injectableDefInScope(c)?oo(Nh(t),ql):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(i&te.Self?zl():this.parent).get(t,e=i&te.Optional&&e===Ss?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Pl]=a[Pl]||[]).unshift(Ze(t)),o)throw a;return function IT(n,t,e,i){const r=n[Pl];throw t[jv]&&r.unshift(t[jv]),n.message=function ST(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=Ze(t);if(Array.isArray(t))r=t.map(Ze).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];
1o.push(s+":"+("string"==typeof a?JSON.stringify(a):Ze(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(CT,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Pl]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{kt(s),yi(o)}}resolveInjectorInitializers(){const t=Y(null),e=yi(this),i=kt(void 0);try{const o=this.get(Xn,re,te.Self);for(const s of o)s()}finally{yi(e),kt(i),Y(t)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Ze(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){let e=er(t=j(t))?t:j(t&&t.provide);const i=function XT(n){return kh(n)?oo(void 0,n.useValue):oo(r0(n),ql)}(t);if(!er(t)&&!0===t.multi){let r=this.records.get(e);r||(r=oo(void 0,ql,!0),r.factory=()=>xh(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){const i=Y(null);try{return e.value===ql&&(e.value=YT,e.value=e.factory()),"object"==typeof e.value&&e.value&&function eA(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Y(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const e=j(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 Nh(n){const t=Tl(n),e=null!==t?t.factory:Qi(n);if(null!==e)return e;if(n instanceof D)throw new x(204,!1);if(n instanceof Function)return function QT(n){if(n.length>0)throw new x(204,!1);const e=function pT(n){return n&&(n[kl]||n[Pv])||null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new x(204,!1)}function r0(n,t,e){let i;if(er(n)){const r=j(n);return Qi(r)||Nh(r)}if(kh(n))i=()=>j(n.useValue);else if(function n0(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...xh(n.deps||[]));else if(function t0(n){return!(!n||!n.useExisting)}(n))i=()=>y(j(n.useExisting));else{const r=j(n&&(n.useClass||n.provide));if(!function JT(n){return!!n.deps}(n))return Qi(r)||Nh(r);i=()=>new r(...xh(n.deps))}return i}function oo(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Oh(n,t){for(const e of n)Array.isArray(e)?Oh(e,t):e&&gh(e)?Oh(e.\u0275providers,t):t(e)}function o0(){return void 0!==Rv()||null!=function xT(){return to}()}function Ul(n){if(!o0())throw new x(-203,!1)}const Fe=0,E=1,L=2,qe=3,_n=4,ut=5,wt=6,ao=7,xe=8,ze=9,kn=10,z=11,Ts=12,a0=13,lo=14,Me=15,tr=16,co=17,ei=18,uo=19,l0=20,bi=21,$l=22,en=23,P=25,Vh=1,Pn=7,ho=9,Re=10;var Wl=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(Wl||{});function Xe(n){return Array.isArray(n)&&"object"==typeof n[Vh]}function _t(n){return Array.isArray(n)&&!0===n[Vh]}function jh(n){return!!(4&n.flags)}function nr(n){return n.componentOffset>-1}function Kl(n){return!(1&~n.flags)}function vn(n){return!!n.template}function ks(n){return!!(512&n[L])}class p0{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function f0(n,t,e,i){null!==t?t.applyValueToInputSignal(t,i):n[e]=i}function tn(){return m0}function m0(n){return n.type.prototype.ngOnChanges&&(n.setInput=mA),fA}function fA(){const n=_0(this),t=n?.current;if(t){const e=n.previous;if(e===An)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function mA(n,t,e,i,r){const o=this.declaredInputs[i],s=_0(n)||function gA(n,t){return n[g0]=t}(n,{previous:An,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new p0(c&&c.currentValue,e,l===An),f0(n,t,r,e)}tn.ngInherit=!0;const g0="__ngSimpleChanges__";function _0(n){return n[g0]||null}const Ln=function(n,t,e){},v0="svg";function oe(n){for(;Array.isArray(n);)n=n[Fe];return n}function Ps(n,t){return oe(t[n])}function Dt(n,t){return oe(t[n.index])}function Ls(n,t){return n.data[t]}function Ut(n,t){const e=t[n];return Xe(e)?e:e[Fe]}function Hh(n){return!(128&~n[L])}function nn(n,t){return null==t?null:n[t]}function C0(n){n[co]=0}function b0(n){1024&n[L]||(n[L]|=1024,Hh(n)&&Yl(n))}function Zl(n){return!!(9216&n[L]||n[en]?.dirty)}function $h(n){n[kn].changeDetectionScheduler?.notify(8),64&n[L]&&(n[L]|=1024),Zl(n)&&Yl(n)}function Yl(n){n[kn].changeDetectionScheduler?.notify(0);let t=ti(n);for(;null!==t&&!(8192&t[L])&&(t[L]|=8192,Hh(t));)t=ti(t)}function Ql(n,t){if(!(256&~n[L]))throw new x(911,!1);null===n[bi]&&(n[bi]=[]),n[bi].push(t)}function ti(n){const t=n[qe];return _t(t)?t[qe]:t}const U={lFrame:L0(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let w0=!1;function D0(){return U.bindingsEnabled}function b(){return U.lFrame.lView}function Q(){return U.lFrame.tView}function or(n){return U.lFrame.contextLView=n,n[xe]}function sr(n){return U.lFrame.contextLView=null,n}function fe(){let n=I0();for(;null!==n&&64===n.type;)n=n.parent;return n}function I0(){return U.lFrame.currentTNode}function yn(n,t){const e=U.lFrame;e.currentTNode=n,e.isParent=t}function Kh(){return U.lFrame.isParent}function F0(){return w0}function M0(n){w0=n}function It(){const n=U.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Cn(){return U.lFrame.bindingIndex++}function TA(n,t){const e=U.lFrame;e.bindingIndex=e.bindingRootIndex=n,Yh(t)}function Yh(n){U.lFrame.currentDirectiveIndex=n}function Xh(){return U.lFrame.currentQueryIndex}function Jl(n){U.lFrame.currentQueryIndex=n}function kA(n){const t=n[E];return 2===t.type?t.declTNode:1===t.type?n[ut]:null}function k0(n,t,e){if(e&te.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&te.Host||(r=kA(o),null===r||(o=o[lo],10&r.type))););if(null===r)return!1;t=r,n=o}const i=U.lFrame=P0();return i.currentTNode=t,i.lView=n,!0}function Jh(n){const t=P0(),e=n[E];U.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function P0(){const n=U.lFrame,t=null===n?null:n.child;return null===t?L0(n):t}function L0(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,
vendor: 4,124 bytes, line 1
1selectedIndex:-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 N0(){const n=U.lFrame;return U.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const O0=N0;function ep(){const n=N0();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 ht(){return U.lFrame.selectedIndex}function ar(n){U.lFrame.selectedIndex=n}function we(){const n=U.lFrame;return Ls(n.tView,n.selectedIndex)}function po(){U.lFrame.currentNamespace=v0}function Os(){!function NA(){U.lFrame.currentNamespace=null}()}let V0=!0;function Rs(){return V0}function Nn(n){V0=n}function ec(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){const o=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(n.contentHooks??=[]).push(-e,s),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!=d&&(n.destroyHooks??=[]).push(e,d)}}function tc(n,t,e){j0(n,t,3,e)}function nc(n,t,e,i){(3&n[L])===e&&j0(n,t,e,i)}function tp(n,t){let e=n[L];(3&e)===t&&(e&=16383,e+=1,n[L]=e)}function j0(n,t,e,i){const o=i??-1,s=t.length-1;let a=0;for(let l=void 0!==i?65535&n[co]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(n[co]+=65536),(a<o||-1==o)&&(RA(n,e,t,l),n[co]=(4294901760&n[co])+l+2),l++}function B0(n,t){Ln(4,n,t);const e=Y(null);try{t.call(n)}finally{Y(e),Ln(5,n,t)}}function RA(n,t,e,i){const r=e[i]<0,o=e[i+1],a=n[r?-e[i]:e[i]];r?n[L]>>14<n[co]>>16&&(3&n[L])===t&&(n[L]+=16384,B0(a,o)):B0(a,o)}const fo=-1;class Vs{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}const ip={};class lr{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=Ll(i);const r=this.injector.get(t,ip,i);return r!==ip||e===ip?r:this.parentInjector.get(t,e,i)}}function rp(n){return n!==fo}function js(n){return 32767&n}function Bs(n,t){let e=function zA(n){return n>>16}(n),i=t;for(;e>0;)i=i[lo],e--;return i}let op=!0;function ic(n){const t=op;return op=n,t}const z0=255,U0=5;let HA=0;const On={};function rc(n,t){const e=H0(n,t);if(-1!==e)return e;const i=t[E];i.firstCreatePass&&(n.injectorIndex=t.length,sp(i.data,n),sp(t,null),sp(i.blueprint,null));const r=oc(n,t),o=n.injectorIndex;if(rp(r)){const s=js(r),a=Bs(r,t),l=a[E].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function sp(n,t){n.push(0,0,0,0,0,0,0,0,t)}function H0(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function oc(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=Q0(r),null===i)return fo;if(e++,r=r[lo],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return fo}function ap(n,t,e){!function $A(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Is)&&(i=e[Is]),null==i&&(i=e[Is]=HA++);const r=i&z0;t.data[n+(r>>U0)]|=1<<r}(n,t,e)}function $0(n,t,e){if(e&te.Optional||void 0!==n)return n;yh()}function G0(n,t,e,i){if(e&te.Optional&&void 0===i&&(i=null),!(e&(te.Self|te.Host))){const r=n[ze],o=kt(void 0);try{return r?r.get(t,i,e&te.Optional):Vv(t,i,e&te.Optional)}finally{kt(o)}}return $0(i,0,e)}function W0(n,t,e,i=te.Default,r){if(null!==n){if(2048&t[L]&&!(i&te.Self)){const s=function YA(n,t,e,i,r){let o=n,s=t;for(;null!==o&&null!==s&&2048&s[L]&&!(512&s[L]);){const a=K0(o,s,e,i|te.Self,On);if(a!==On)return a;let l=o.parent;if(!l){const c=s[l0];if(c){const d=c.get(e,On,i);if(d!==On)return d}l=Q0(s),s=s[lo]}o=l}return r}(n,t,e,i,On);if(s!==On)return s}const o=K0(n,t,e,i,On);if(o!==On)return o}return G0(t,e,i,r)}function K0(n,t,e,i,r){const o=function KA(n){if("string"==typeof n)return n.charCo
1deAt(0)||0;const t=n.hasOwnProperty(Is)?n[Is]:void 0;return"number"==typeof t?t>=0?t&z0:ZA:t}(e);if("function"==typeof o){if(!k0(t,n,i))return i&te.Host?$0(r,0,i):G0(t,e,i,r);try{let s;if(s=o(i),null!=s||i&te.Optional)return s;yh()}finally{O0()}}else if("number"==typeof o){let s=null,a=H0(n,t),l=fo,c=i&te.Host?t[Me][ut]:null;for((-1===a||i&te.SkipSelf)&&(l=-1===a?oc(n,t):t[a+8],l!==fo&&Y0(i,!1)?(s=t[E],a=js(l),t=Bs(l,t)):a=-1);-1!==a;){const d=t[E];if(Z0(o,a,d.data)){const u=WA(a,t,e,s,i,c);if(u!==On)return u}l=t[a+8],l!==fo&&Y0(i,t[E].data[a+8]===c)&&Z0(o,a,t)?(s=d,a=js(l),t=Bs(l,t)):a=-1}}return r}function WA(n,t,e,i,r,o){const s=t[E],a=s.data[n+8],d=sc(a,s,e,null==i?nr(a)&&op:i!=s&&!!(3&a.type),r&te.Host&&o===a);return null!==d?cr(t,s,d,a):On}function sc(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,d=o>>20,h=r?a+d:n.directiveEnd;for(let p=i?a:a+d;p<h;p++){const f=s[p];if(p<l&&e===f||p>=l&&f.type===e)return p}if(r){const p=s[l];if(p&&vn(p)&&p.type===e)return l}return null}function cr(n,t,e,i){let r=n[e];const o=t.data;if(function VA(n){return n instanceof Vs}(r)){const s=r;s.resolving&&function _T(n,t){throw t&&t.join(" > "),new x(-200,n)}(function ce(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():G(n)}(o[e]));const a=ic(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?kt(s.injectImpl):null;k0(n,i,te.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function OA(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=m0(t);(e.preOrderHooks??=[]).push(n,s),(e.preOrderCheckHooks??=[]).push(n,s)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}(e,o[e],t)}finally{null!==c&&kt(c),ic(a),s.resolving=!1,O0()}}return r}function Z0(n,t,e){return!!(e[t+(n>>U0)]&1<<n)}function Y0(n,t){return!(n&te.Self||n&te.Host&&t)}class Je{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return W0(this._tNode,this._lView,t,Ll(i),e)}}function ZA(){return new Je(fe(),b())}function et(n){return Yn(()=>{const t=n.prototype.constructor,e=t[Qn]||lp(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Qn]||lp(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function lp(n){return Ml(n)?()=>{const t=lp(j(n));return t&&t()}:Qi(n)}function Q0(n){const t=n[E],e=t.type;return 2===e?t.declTNode:1===e?n[ut]:null}function ny(n,t=null,e=null,i){const r=iy(n,t,e,i);return r.resolveInjectorInitializers(),r}function iy(n,t=null,e=null,i,r=new Set){const o=[e||re,WT(n)];return i=i||("object"==typeof n?void 0:Ze(n)),new ro(o,t||zl(),i||null,r)}class _e{static{this.THROW_IF_NOT_FOUND=Ss}static{this.NULL=new Rl}static create(t,e){if(Array.isArray(t))return ny({name:""},e,t,"");{const i=t.name??"";return ny({name:i},t.parent,t.providers,i)}}static{this.\u0275prov=F({token:_e,providedIn:"any",factory:()=>y(Hv)})}static{this.__NG_ELEMENT_ID__=-1}}new D("").__NG_ELEMENT_ID__=n=>{const t=fe();if(null===t)throw new x(204,!1);if(2&t.type)return t.value;if(n&te.Optional)return null;throw new x(204,!1)};function dp(n){return n.ngOriginalError}const oy=!0;let xi=(()=>{class n{static{this.__NG_ELEMENT_ID__=sk}static{this.__NG_ENV_ID__=e=>e}}return n})();class ok extends xi{constructor(t){super(),this._lView=t}onDestroy(t){return Ql(this._lView,t),()=>function Gh(n,t){if(null===n[bi])return;const e=n[bi].indexOf(t);-1!==e&&n[bi].splice(e,1)}(this._lView,t)}}function sk(){return new ok(b())}let wi=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zn(!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{this.\u0275prov=F({token:n,providedIn:"root",factory:()=>new n})}}return n})();const Ue=class ak extends ee{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,o0()&&(this.destroyRef=S(xi,{optional:!0})??void 0,this.pendingTasks=S(wi,{optional:!0})??void 0)}emit(t){const e=Y(null);try{super.next(t)}finally{Y(e)}}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;
1r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof rt&&t.add(a),a}wrapInTimeout(t){return e=>{const i=this.pendingTasks?.add();setTimeout(()=>{t(e),void 0!==i&&this.pendingTasks?.remove(i)})}}};function cc(...n){}function sy(n){let t,e;function i(){n=cc;try{void 0!==e&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(e),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{n(),i()}),"function"==typeof requestAnimationFrame&&(e=requestAnimationFrame(()=>{n(),i()})),()=>i()}function ay(n){return queueMicrotask(()=>n()),()=>{n=cc}}const up="isAngularZone",dc=up+"_ID";let lk=0;class W{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1);const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=oy}=t;if(typeof Zone>"u")throw new x(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)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function uk(n){const t=()=>{!function dk(n){function t(){sy(()=>{n.callbackScheduled=!1,pp(n),n.isCheckStableRunning=!0,hp(n),n.isCheckStableRunning=!1})}n.isCheckStableRunning||n.callbackScheduled||(n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{t()}):n._outer.run(()=>{t()}),pp(n))}(n)},e=lk++;n._inner=n._inner.fork({name:"angular",properties:{[up]:!0,[dc]:e,[dc+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function hk(n){return dy(n,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return ly(n),i.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&t(),cy(n)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return ly(n),i.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function pk(n){return dy(n,"__scheduler_tick__")}(l)&&t(),cy(n)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,pp(n),hp(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(up)}static assertInAngularZone(){if(!W.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(W.isInAngularZone())throw new x(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,ck,cc,cc);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const ck={};function hp(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 pp(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled)}function ly(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function cy(n){n._nesting--,hp(n)}class fp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}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,r){return t.apply(e,i)}}function dy(n,t){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0]?.data?.[t]}class Rn{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&&dp(t);for(;e&&dp(e);)e=dp(e);return e||null}}const mk=new D("",{providedIn:"root",factory:()=>{const n=S(W),t=S(Rn);return e=>n.runOutsideAngular(()=>t.handleError(e))}});function gk(){return _o(fe(),b())}function _o(n,t){return new ke(Dt(n,t))}let ke=(()=>{class n{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=gk}}return n})();function hy(n){return n instanceof ke?n.nativeElement:n}function _k(){return this._results[Symbol.iterator]()}class vo{get changes(){return this._changes??=new Ue}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=vo.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=_k)}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)}
1forEach(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 Pt(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function TT(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],o=t[i];if(e&&(r=e(r),o=e(o)),o!==r)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 zs(n){return!(128&~n.flags)}const gp=new Map;let yk=0;function _p(n){gp.delete(n[uo])}const uc="__ngContext__";function vt(n,t){Xe(t)?(n[uc]=t[uo],function bk(n){gp.set(n[uo],n)}(t)):n[uc]=t}function xy(n){return Dy(n[Ts])}function wy(n){return Dy(n[_n])}function Dy(n){for(;null!==n&&!_t(n);)n=n[_n];return n}let yp;function Di(){if(void 0!==yp)return yp;if(typeof document<"u")return document;throw new x(210,!1)}const Co=new D("",{providedIn:"root",factory:()=>Vk}),Vk="ng",ky=new D(""),ri=new D("",{providedIn:"platform",factory:()=>"unknown"}),Hs=new D(""),Cp=new D("",{providedIn:"root",factory:()=>Di().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Py=()=>null;function Ep(n,t,e=!1){return Py(n,t,e)}const qy=new D("",{providedIn:"root",factory:()=>!1});let yc,Cc;function wo(n){return function kp(){if(void 0===yc&&(yc=null,Se.trustedTypes))try{yc=Se.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return yc}()?.createHTML(n)||n}function Hy(n){return function Pp(){if(void 0===Cc&&(Cc=null,Se.trustedTypes))try{Cc=Se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Cc}()?.createHTML(n)||n}class Wy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fv})`}}function Ii(n){return n instanceof Wy?n.changingThisBreaksApplicationSecurity:n}function Ys(n,t){const e=function iP(n){return n instanceof Wy&&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 ${Fv})`)}return e===t}class rP{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(wo(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}}class oP{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=wo(t),e}}const aP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lp(n){return(n=String(n)).match(aP)?n:"unsafe:"+n}function oi(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Qs(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const Zy=oi("area,br,col,hr,img,wbr"),Yy=oi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qy=oi("rp,rt"),Np=Qs(Zy,Qs(Yy,oi("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")),Qs(Qy,oi("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")),Qs(Qy,Yy)),Op=oi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xy=Qs(Op,oi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,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"),oi("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")),lP=oi("script,style,template");class cP{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0,r=[];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)r.push(e),e=hP(e);else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=uP(e);if(o){e=o;break}e=r.pop()}return this.buf.join("")}startElement(t){const e=Jy(t).toLowerCase();if(!Np.hasOwnProperty(e))return this.sanitizedSomething=!0,!lP.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!Xy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Op[a]&&(l=Lp(l)),this.buf.push(" ",s,'="',tC(l),'"')}return this.buf.push(">"),!0}endElement(t){const e=Jy(t).toLowerCase();Np.hasOwnProperty(e)&&!Zy.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(tC(t))}}function uP(n){const t=n.nextSibling;if(t&&n!==t.previousSibling)throw eC(t);return t}function hP(n){const t=n.firstChild;if(t&&function dP(n,t){return(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,t))throw eC(t);return t}function Jy(n){const t=n.nodeName;return"string"==typeof t?t:"FORM"}function eC(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const pP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fP=/([^\#-~ |!])/g;function tC(n){return n.replace(/&/g,"&").replace(pP,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(fP,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let bc;function Rp(n){return"content"in n&&function gP(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Do=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}(Do||{});function Vp(n){const t=Xs();return t?Hy(t.sanitize(Do.HTML,n)||""):Ys(n,"HTML")?Hy(Ii(n)):function mP(n,t){let e=null;try{bc=bc||function Ky(n){const t=new oP(n);return function sP(){try{return!!(new window.DOMParser).parseFromString(wo(""),"text/html")}catch{return!1}}()?new rP(t):t}(n);let i=t?String(t):"";e=bc.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=bc.getInertBodyElement(i)}while(i!==o);return wo((new cP).sanitizeChildren(Rp(e)||e))}finally{if(e){const i=Rp(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}(Di(),G(n))}function Io(n){const t=Xs();return t?t.sanitize(Do.URL,n)||"":Ys(n,"URL")?Ii(n):Lp(G(n))}function Xs(){const n=b();return n&&n[kn].sanitizer}function $t(n){return"browser"===(n??S(_e)).get(ri)}var Si=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Si||{});let qp;function zp(n,t){return qp(n,t)}function Eo(n,t,e,i,r){if(null!=i){let o,s=!1;_t(i)?o=i:Xe(i)&&(s=!0,i=i[Fe]);const a=oe(i);0===n&&null!==e?null==r?mC(t,e,a):ur(t,e,a,r||null,!0):1===n&&null!==e?ur(t,e,a,r||null,!0):2===n?function ea(n,t,e){n.removeChild(null,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function $P(n,t,e,i,r){const o=e[Pn];o!==oe(e)&&Eo(t,n,i,o,r);for(let a=Re;a<e.length;a++){const l=e[a];Ec(l[E],l,n,t,i,o)}}(t,n,o,e,r)}}function Dc(n,t,e){return n.createElement(t,e)}function hC(n,t){t[kn].changeDetectionScheduler?.notify(9),Ec(n,t,t[z],2,null,null)}function pC(n,t){const e=n[ho],i=t[qe];(Xe(i)||t[Me]!==i[qe][Me])&&(n[L]|=Wl.HasTransplantedViews),null===e?n[ho]=[t]:e.push(t)}function $p(n,t){const e=n[ho],i=e.indexOf(t);e.splice(i,1)}function Js(n,t){if(n.length<=Re)return;const e=Re+t,i=n[e];if(i){const r=i[tr];null!==r&&r!==n&&$p(r,i),t>0&&(n[e-1][_n]=i[_n]);const o=Nl(n,Re+t);!function RP(n,t){hC(n,t),t[Fe]=null,t[ut]=null}(i[E],i);const s=o[ei];null!==s&&s.detachView(o[E]),i[qe]=null,i[_n]=null,i[L]&=-129}return i}function Ic(n,t){if(!(256&t[L])){const e=t[z];e.destroyNode&&Ec(n,t,e,3,null,null),function jP(n){let t=n[Ts];if(!t)return Gp(n[E],n);for(;t;){let e=null;if(Xe(t))e=t[Ts];else{const i=t[Re];i&&(e=i)}if(!e){for(;t&&!t[_n]&&t!==n;)Xe(t)&&Gp(t[E],t),t=t[qe];null===t&&(t=n),Xe(t)&&Gp(t[E],t),e=t&&t[_n]}t=e}}(t)}}function Gp(n,t){if(256&t[L])return;const e=Y(null);try{t[L]&=-129,t[L]|=256,t[en]&&Qu(t[en]),function zP(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i<e.length;i+=2){const r=t[e[i]];if(!(r instanceof Vs)){const o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];Ln(4,a,l);try{l.call(a)}finally{Ln(5,a,l)}}else{Ln(4,r,o);try{o.call(r)}finally{Ln(5,r,o)}}}}}(n,t),function qP(n,t){const e=n.cleanup,i=t[ao];if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const s=e[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else e[o].call(i[e[o+1]]);null!==i&&(t[ao]=null);const r=t[bi];if(null!==r){t[bi]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(n,t),1===t[E].type&&t[z].destroy();const i=t[tr];if(null!==i&&_t(t[qe])){i!==t[qe]&&$p(i,t);const r=t[ei];null!==r&&r.detachView(n)}_p(t)}finally{Y(e)}}function Wp(n,t,e){return function fC(n,t,e){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return e[Fe];
1{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===mn.None||o===mn.Emulated)return null}return Dt(i,e)}}(n,t.parent,e)}function ur(n,t,e,i,r){n.insertBefore(t,e,i,r)}function mC(n,t,e){n.appendChild(t,e)}function gC(n,t,e,i,r){null!==i?ur(n,t,e,i,r):mC(n,t,e)}function Kp(n,t){return n.parentNode(t)}let Zp,yC=function vC(n,t,e){return 40&n.type?Dt(n,e):null};function Sc(n,t,e,i){const r=Wp(n,i,t),o=t[z],a=function _C(n,t,e){return yC(n,t,e)}(i.parent||t[ut],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;l<e.length;l++)gC(o,r,e[l],a,!1);else gC(o,r,e,a,!1);void 0!==Zp&&Zp(o,i,t,e,r)}function hr(n,t){if(null!==t){const e=t.type;if(3&e)return Dt(t,n);if(4&e)return Yp(-1,n[t.index]);if(8&e){const i=t.child;if(null!==i)return hr(n,i);{const r=n[t.index];return _t(r)?Yp(-1,r):oe(r)}}if(128&e)return hr(n,t.next);if(32&e)return zp(t,n)()||oe(n[t.index]);{const i=bC(n,t);return null!==i?Array.isArray(i)?i[0]:hr(ti(n[Me]),i):hr(n,t.next)}}return null}function bC(n,t){return null!==t?n[Me][ut].projection[t.projection]:null}function Yp(n,t){const e=Re+n+1;if(e<t.length){const i=t[e],r=i[E].firstChild;if(null!==r)return hr(i,r)}return t[Pn]}function Qp(n,t,e,i,r,o,s){for(;null!=e;){if(128===e.type){e=e.next;continue}const a=i[e.index],l=e.type;if(s&&0===t&&(a&&vt(oe(a),i),e.flags|=2),32&~e.flags)if(8&l)Qp(n,t,e.child,i,r,o,!1),Eo(t,n,r,a,o);else if(32&l){const c=zp(e,i);let d;for(;d=c();)Eo(t,n,r,d,o);Eo(t,n,r,a,o)}else 16&l?wC(n,t,i,e,r,o):Eo(t,n,r,a,o);e=s?e.projectionNext:e.next}}function Ec(n,t,e,i,r,o){Qp(e,i,n.firstChild,t,r,o,!1)}function wC(n,t,e,i,r,o){const s=e[Me],l=s[ut].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Eo(t,n,r,l[c],o);else{let c=l;const d=s[qe];zs(i)&&(c.flags|=128),Qp(n,t,c,d,r,o,!0)}}function DC(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function IC(n,t,e){const{mergedAttrs:i,classes:r,styles:o}=e;null!==i&&Fh(n,t,i),null!==r&&DC(n,t,r),null!==o&&function WP(n,t,e){n.setAttribute(t,"style",e)}(n,t,o)}const K={};function se(n=1){SC(Q(),b(),ht()+n,!1)}function SC(n,t,e,i){if(!i)if(3&~t[L]){const o=n.preOrderHooks;null!==o&&nc(t,o,0,e)}else{const o=n.preOrderCheckHooks;null!==o&&tc(t,o,e)}ar(e)}function C(n,t=te.Default){const e=b();return null===e?y(n,t):W0(fe(),e,j(n),t)}function EC(n,t,e,i,r,o){const s=Y(null);try{let a=null;r&Ci.SignalBased&&(a=t[i][fn]),null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),r&Ci.HasDecoratorInputTransform&&(o=n.inputTransforms[i].call(t,o)),null!==n.setInput?n.setInput(t,a,o,e,i):f0(t,a,i,o)}finally{Y(s)}}function Fc(n,t,e,i,r,o,s,a,l,c,d){const u=t.blueprint.slice();return u[Fe]=r,u[L]=204|i,(null!==c||n&&2048&n[L])&&(u[L]|=2048),C0(u),u[qe]=u[lo]=n,u[xe]=e,u[kn]=s||n&&n[kn],u[z]=a||n&&n[z],u[ze]=l||n&&n[ze]||null,u[ut]=o,u[uo]=function Ck(){return yk++}(),u[wt]=d,u[l0]=c,u[Me]=2==t.type?n[Me]:u,u}function pr(n,t,e,i,r){let o=n.data[t];if(null===o)o=function Xp(n,t,e,i,r){const o=I0(),s=Kh(),l=n.data[t]=function nL(n,t,e,i,r,o){let s=t?t.injectorIndex:-1,a=0;return function rr(){return null!==U.skipHydrationRootTNode}()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,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,s?o:o&&o.parent,e,t,i,r);return null===n.firstChild&&(n.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(n,t,e,i,r),function MA(){return U.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const s=function Ns(){const n=U.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return yn(o,!0),o}function ta(n,t,e,i){if(0===e)return-1;const r=t.length;for(let o=0;o<e;o++)t.push(i),n.blueprint.push(i),n.data.push(null);return r}function FC(n,t,e,i,r){const o=ht(),s=2&i;try{ar(-1),s&&t.length>P&&SC(n,t,P,!1),Ln(s?2:0,r),e(i,r)}finally{ar(o),Ln(s?3:1,r)}}function Jp(n,t,e){if(jh(t)){const i=Y(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=n.data[s];a.contentQueries&&a.contentQueries(1,e[s],s)}}finally{Y(i)}}}function ef(n,t,e){D0()&&(function cL(n,t,e,i){const r=e.directiveStart,o=e.directiveEnd;nr(e)&&function gL(n,t,e){const i=Dt(t,n),r=MC(e);let s=16;e.signals?s=4096:e.onPush&&(s=64);const a=Mc(n,Fc(n,r,null,s,i,t,null,n[kn].rendererFactory.createRenderer(i,e),null,
1null,null));n[t.index]=a}(t,e,n.data[r+e.componentOffset]),n.firstCreatePass||rc(e,t),vt(i,t);const s=e.initialInputs;for(let a=r;a<o;a++){const l=n.data[a],c=cr(t,n,a,e);vt(c,t),null!==s&&_L(0,a-r,c,l,0,s),vn(l)&&(Ut(e.index,t)[xe]=cr(t,n,a,e))}}(n,t,e,Dt(e,t)),!(64&~e.flags)&&LC(n,t,e))}function tf(n,t,e=Dt){const i=t.localNames;if(null!==i){let r=t.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?e(t,n):n[s];n[r++]=a}}}function MC(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=nf(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):t}function nf(n,t,e,i,r,o,s,a,l,c,d){const u=P+i,h=u+r,p=function YP(n,t){const e=[];for(let i=0;i<t;i++)e.push(i<n?null:K);return e}(u,h),f="function"==typeof c?c():c;return p[E]={type:n,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1,ssrId:d}}let TC=()=>null;function AC(n,t,e,i,r){for(let o in t){if(!t.hasOwnProperty(o))continue;const s=t[o];if(void 0===s)continue;i??={};let a,l=Ci.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===n?kC(i,e,c,a,l):kC(i,e,c,a)}return i}function kC(n,t,e,i,r){let o;n.hasOwnProperty(e)?(o=n[e]).push(t,i):o=n[e]=[t,i],void 0!==r&&o.push(r)}function Nt(n,t,e,i,r,o,s,a){const l=Dt(t,e);let d,c=t.inputs;!a&&null!=c&&(d=c[i])?(cf(n,e,d,i,r),nr(t)&&function oL(n,t){const e=Ut(t,n);16&e[L]||(e[L]|=64)}(e,t.index)):3&t.type&&(i=function rL(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=s?s(r,t.value||"",i):r,o.setProperty(l,i,r))}function rf(n,t,e,i){if(D0()){const r=null===i?null:{"":-1},o=function uL(n,t){const e=n.directiveRegistry;let i=null,r=null;if(e)for(let o=0;o<e.length;o++){const s=e[o];if(Zv(t,s.selectors,!1))if(i||(i=[]),vn(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),sf(n,t,a.length)}else i.unshift(s),sf(n,t,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(n,e);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&PC(n,t,e,s,r,a),r&&function hL(n,t,e){if(t){const i=n.localNames=[];for(let r=0;r<t.length;r+=2){const o=e[t[r+1]];if(null==o)throw new x(-301,!1);i.push(t[r],o)}}}(e,i,r)}e.mergedAttrs=Fs(e.mergedAttrs,e.attrs)}function PC(n,t,e,i,r,o){for(let c=0;c<i.length;c++)ap(rc(e,t),n,i[c].type);!function fL(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 d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=ta(n,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];e.mergedAttrs=Fs(e.mergedAttrs,d.hostAttrs),mL(n,e,t,l,d),pL(l,d,r),null!==d.contentQueries&&(e.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(e.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((n.preOrderHooks??=[]).push(e.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}!function iL(n,t,e){const r=t.directiveEnd,o=n.data,s=t.attrs,a=[];let l=null,c=null;for(let d=t.directiveStart;d<r;d++){const u=o[d],h=e?e.get(u):null,f=h?h.outputs:null;l=AC(0,u.inputs,d,l,h?h.inputs:null),c=AC(1,u.outputs,d,c,f);const m=null===l||null===s||Mh(t)?null:vL(l,d,s);a.push(m)}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,o)}function LC(n,t,e){const i=e.directiveStart,r=e.directiveEnd,o=e.index,s=function AA(){return U.lFrame.currentDirectiveIndex}();try{ar(o);for(let a=i;a<r;a++){const l=n.data[a],c=t[a];Yh(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&dL(l,c)}}finally{ar(-1),Yh(s)}}function dL(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}
1function sf(n,t,e){t.componentOffset=e,(n.components??=[]).push(t.index)}function pL(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;vn(t)&&(e[""]=n)}}function mL(n,t,e,i,r){n.data[i]=r;const o=r.factory||(r.factory=Qi(r.type)),s=new Vs(o,vn(r),C);n.blueprint[i]=s,e[i]=s,function aL(n,t,e,i,r){const o=r.hostBindings;if(o){let s=n.hostBindingOpCodes;null===s&&(s=n.hostBindingOpCodes=[]);const a=~t.index;(function lL(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(n,t,i,ta(n,e,r.hostVars,K),r)}function Vn(n,t,e,i,r,o){const s=Dt(n,t);!function af(n,t,e,i,r,o,s){if(null==o)n.removeAttribute(t,r,e);else{const a=null==s?G(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}(t[z],s,o,n.value,e,i,r)}function _L(n,t,e,i,r,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;)EC(i,e,s[a++],s[a++],s[a++],s[a++])}function vL(n,t,e){let i=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(n.hasOwnProperty(o)){null===i&&(i=[]);const s=n[o];for(let a=0;a<s.length;a+=3)if(s[a]===t){i.push(o,s[a+1],s[a+2],e[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function NC(n,t,e,i){return[n,!0,0,t,null,i,null,e,null,null]}function OC(n,t){const e=n.contentQueries;if(null!==e){const i=Y(null);try{for(let r=0;r<e.length;r+=2){const s=e[r+1];if(-1!==s){const a=n.data[s];Jl(e[r]),a.contentQueries(2,t[s],s)}}}finally{Y(i)}}}function Mc(n,t){return n[Ts]?n[a0][_n]=t:n[Ts]=t,n[a0]=t,t}function lf(n,t,e){Jl(0);const i=Y(null);try{t(n,e)}finally{Y(i)}}function RC(n){return n[ao]??=[]}function VC(n){return n.cleanup??=[]}function Tc(n,t){const e=n[ze],i=e?e.get(Rn,null):null;i&&i.handleError(t)}function cf(n,t,e,i,r){for(let o=0;o<e.length;){const s=e[o++],a=e[o++],l=e[o++];EC(n.data[s],t[s],i,a,l,r)}}function yL(n,t){const e=Ut(t,n),i=e[E];!function CL(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])}(i,e);const r=e[Fe];null!==r&&null===e[wt]&&(e[wt]=Ep(r,e[ze])),df(i,e,e[xe])}function df(n,t,e){Jh(t);try{const i=n.viewQuery;null!==i&&lf(1,i,e);const r=n.template;null!==r&&FC(n,t,r,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),t[ei]?.finishViewCreation(n),n.staticContentQueries&&OC(n,t),n.staticViewQueries&&lf(2,n.viewQuery,e);const o=n.components;null!==o&&function bL(n,t){for(let e=0;e<t.length;e++)yL(n,t[e])}(t,o)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[L]&=-5,ep()}}function Fo(n,t,e,i){const r=Y(null);try{const o=t.tView,l=Fc(n,o,e,4096&n[L]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[tr]=n[t.index];const d=n[ei];return null!==d&&(l[ei]=d.createEmbeddedView(o)),df(o,l,e),l}finally{Y(r)}}function fr(n,t){return!t||null===t.firstChild||zs(n)}function Mo(n,t,e,i=!0){const r=t[E];if(function BP(n,t,e,i){const r=Re+i,o=e.length;i>0&&(e[r-1][_n]=t),i<o-Re?(t[_n]=e[r],qv(e,Re+i,t)):(e.push(t),t[_n]=null),t[qe]=e;const s=t[tr];null!==s&&e!==s&&pC(s,t);const a=t[ei];null!==a&&a.insertView(n),$h(t),t[L]|=128}(r,t,n,e),i){const s=Yp(e,n),a=t[z],l=Kp(a,n[Pn]);null!==l&&function VP(n,t,e,i,r,o){i[Fe]=r,i[ut]=t,Ec(n,i,e,1,r,o)}(r,n[ut],a,t,l,s)}const o=t[wt];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function na(n,t,e,i,r=!1){for(;null!==e;){if(128===e.type){e=r?e.projectionNext:e.next;continue}const o=t[e.index];null!==o&&i.push(oe(o)),_t(o)&&qC(o,i);const s=e.type;if(8&s)na(n,t,e.child,i);else if(32&s){const a=zp(e,t);let l;for(;l=a();)i.push(l)}else if(16&s){const a=bC(t,e);if(Array.isArray(a))i.push(...a);else{const l=ti(t[Me]);na(l[E],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function qC(n,t){for(let e=Re;e<n.length;e++){const i=n[e],r=i[E].firstChild;null!==r&&na(i[E],i,r,t)}n[Pn]!==n[Fe]&&t.push(n[Pn])}let zC=[];const IL={...xs,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{Yl(n.lView)},consumerOnSignalRead(){this.lView[en]=this}},EL={...xs,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let t=ti(n.lView);for(;t&&!UC(t[E]);)t=ti(t);t&&b0(t)},consumerOnSignalRead(){this.lView[en]=this}};function UC(n){return 2!==n.type}const FL=100;
1function Ac(n,t=!0,e=0){const i=n[kn],r=i.rendererFactory;r.begin?.();try{!function ML(n,t){const e=F0();try{M0(!0),hf(n,t);let i=0;for(;Zl(n);){if(i===FL)throw new x(103,!1);i++,hf(n,1)}}finally{M0(e)}}(n,e)}catch(s){throw t&&Tc(n,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function TL(n,t,e,i){const r=t[L];if(!(256&~r))return;t[kn].inlineEffectRunner?.flush(),Jh(t);let a=!0,l=null,c=null;UC(n)?(c=function xL(n){return n[en]??function wL(n){const t=zC.pop()??Object.create(IL);return t.lView=n,t}(n)}(t),l=yl(c)):null===function Wu(){return Oe}()?(a=!1,c=function SL(n){const t=n[en]??Object.create(EL);return t.lView=n,t}(t),l=yl(c)):t[en]&&(Qu(t[en]),t[en]=null);try{C0(t),function T0(n){return U.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&FC(n,t,e,2,i);const d=!(3&~r);if(d){const p=n.preOrderCheckHooks;null!==p&&tc(t,p,null)}else{const p=n.preOrderHooks;null!==p&&nc(t,p,0,null),tp(t,0)}if(function AL(n){for(let t=xy(n);null!==t;t=wy(t)){if(!(t[L]&Wl.HasTransplantedViews))continue;const e=t[ho];for(let i=0;i<e.length;i++)b0(e[i])}}(t),$C(t,0),null!==n.contentQueries&&OC(n,t),d){const p=n.contentCheckHooks;null!==p&&tc(t,p)}else{const p=n.contentHooks;null!==p&&nc(t,p,1),tp(t,1)}!function ZP(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const r=e[i];if(r<0)ar(~r);else{const o=r,s=e[++i],a=e[++i];TA(s,o),a(2,t[o])}}}finally{ar(-1)}}(n,t);const u=n.components;null!==u&&WC(t,u,0);const h=n.viewQuery;if(null!==h&&lf(2,h,i),d){const p=n.viewCheckHooks;null!==p&&tc(t,p)}else{const p=n.viewHooks;null!==p&&nc(t,p,2),tp(t,2)}if(!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[$l]){for(const p of t[$l])p();t[$l]=null}t[L]&=-73}catch(d){throw Yl(t),d}finally{null!==c&&(Zu(c,l),a&&function DL(n){n.lView[en]!==n&&(n.lView=null,zC.push(n))}(c)),ep()}}function $C(n,t){for(let e=xy(n);null!==e;e=wy(e))for(let i=Re;i<e.length;i++)GC(e[i],t)}function kL(n,t,e){GC(Ut(t,n),e)}function GC(n,t){Hh(n)&&hf(n,t)}function hf(n,t){const i=n[E],r=n[L],o=n[en];let s=!!(0===t&&16&r);if(s||=!!(64&r&&0===t),s||=!!(1024&r),s||=!(!o?.dirty||!Yu(o)),s||=!1,o&&(o.dirty=!1),n[L]&=-9217,s)TL(i,n,i.template,n[xe]);else if(8192&r){$C(n,1);const a=i.components;null!==a&&WC(n,a,1)}}function WC(n,t,e){for(let i=0;i<t.length;i++)kL(n,t[i],e)}function ia(n,t){const e=F0()?64:1088;for(n[kn].changeDetectionScheduler?.notify(t);n;){n[L]|=e;const i=ti(n);if(ks(n)&&!i)return n;n=i}return null}class ra{get rootNodes(){const t=this._lView,e=t[E];return na(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[xe]}set context(t){this._lView[xe]=t}get destroyed(){return!(256&~this._lView[L])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[qe];if(_t(t)){const e=t[8],i=e?e.indexOf(this):-1;i>-1&&(Js(t,i),Nl(e,i))}this._attachedToViewContainer=!1}Ic(this._lView[E],this._lView)}onDestroy(t){Ql(this._lView,t)}markForCheck(){ia(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[L]&=-129}reattach(){$h(this._lView),this._lView[L]|=128}detectChanges(){this._lView[L]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ks(this._lView),e=this._lView[tr];null!==e&&!t&&$p(e,this._lView),hC(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;const e=ks(this._lView),i=this._lView[tr];null!==i&&!e&&pC(i,this._lView),$h(this._lView)}}let rn=(()=>{class n{static{this.__NG_ELEMENT_ID__=NL}}return n})();const PL=rn,LL=class extends PL{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 r=Fo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:i});return new ra(r)}};function NL(){return kc(fe(),b())}function kc(n,t){return 4&n.type?new LL(t,n,_o(n,t)):null}let m1=()=>null;function gr(n,t){return m1(n,t)}class Ao{}const ha=new D("",{providedIn:"root",factory:()=>!1}),g1=new D(""),wf=new D("");class F3{}class _1{}class T3{resolveComponentFactory(t){throw function M3(n){const t=Error(`No component factory found for ${Ze(n)}.`);
1return t.ngComponent=n,t}(t)}}class Ei{static{this.NULL=new T3}}class Vc{}let Fi=(()=>{class n{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function A3(){const n=b(),e=Ut(fe().index,n);return(Xe(e)?e:n)[z]}()}}return n})(),k3=(()=>{class n{static{this.\u0275prov=F({token:n,providedIn:"root",factory:()=>null})}}return n})();function Bc(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?r=dh(r,a):2==o&&(i=dh(i,a+": "+t[++s]+";"))}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=r:n.classesWithoutHost=r}class b1 extends Ei{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=X(t);return new ma(e,this.ngModule)}}function x1(n,t){const e=[];for(const i in n){if(!n.hasOwnProperty(i))continue;const r=n[i];if(void 0===r)continue;const o=Array.isArray(r),s=o?r[0]:r;e.push(t?{propName:s,templateName:i,isSignal:!!((o?r[1]:Ci.None)&Ci.SignalBased)}:{propName:s,templateName:i})}return e}class ma extends _1{get inputs(){const t=this.componentDef,e=t.inputTransforms,i=x1(t.inputs,!0);if(null!==e)for(const r of i)e.hasOwnProperty(r.propName)&&(r.transform=e[r.propName]);return i}get outputs(){return x1(this.componentDef.outputs,!1)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function qT(n){return n.map(BT).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){const o=Y(null);try{let s=(r=r||this.ngModule)instanceof zt?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new lr(t,s):t,l=a.get(Vc,null);if(null===l)throw new x(407,!1);const u={rendererFactory:l,sanitizer:a.get(k3,null),inlineEffectRunner:null,changeDetectionScheduler:a.get(Ao,null)},h=l.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",f=i?function QP(n,t,e,i){const o=i.get(qy,!1)||e===mn.ShadowDom,s=n.selectRootElement(t,o);return function XP(n){TC(n)}(s),s}(h,i,this.componentDef.encapsulation,a):Dc(h,p,function N3(n){const t=n.toLowerCase();return"svg"===t?v0:"math"===t?"math":null}(p));let m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let g=null;null!==f&&(g=Ep(f,a,!0));const v=nf(0,null,null,1,0,null,null,null,null,null,null),_=Fc(null,v,null,m,null,null,u,h,a,null,g);Jh(_);let I,A,B=null;try{const Z=this.componentDef;let J,Ae=null;Z.findHostDirectiveDefs?(J=[],Ae=new Map,Z.findHostDirectiveDefs(Z,J,Ae),J.push(Z)):J=[Z];const Wn=function R3(n,t){const e=n[E],i=P;return n[i]=t,pr(e,i,2,"#host",null)}(_,f);B=function V3(n,t,e,i,r,o,s){const a=r[E];!function j3(n,t,e,i){for(const r of n)t.mergedAttrs=Fs(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Bc(t,t.mergedAttrs,!0),null!==e&&IC(i,e,t))}(i,n,t,s);let l=null;null!==t&&(l=Ep(t,r[ze]));const c=o.rendererFactory.createRenderer(t,e);let d=16;e.signals?d=4096:e.onPush&&(d=64);const u=Fc(r,MC(e),null,d,r[n.index],n,o,c,null,null,l);return a.firstCreatePass&&sf(a,n,i.length-1),Mc(r,u),r[n.index]=u}(Wn,f,Z,J,_,u,h),A=Ls(v,P),f&&function q3(n,t,e,i){if(i)Fh(n,e,["ng-version","18.2.14"]);else{const{attrs:r,classes:o}=function zT(n){const t=[],e=[];let i=1,r=2;for(;i<n.length;){let o=n[i];if("string"==typeof o)2===r?""!==o&&t.push(o,n[++i]):8===r&&e.push(o);else{if(!gn(r))break;r=o}i++}return{attrs:t,classes:e}}(t.selectors[0]);r&&Fh(n,e,r),o&&o.length>0&&DC(n,e,o.join(" "))}}(h,Z,f,i),void 0!==e&&function z3(n,t,e){const i=n.projection=[];for(let r=0;r<t.length;r++){const o=e[r];i.push(null!=o?Array.from(o):null)}}(A,this.ngContentSelectors,e),I=function B3(n,t,e,i,r,o){const s=fe(),a=r[E],l=Dt(s,r);PC(a,r,s,e,null,i);for(let d=0;d<e.length;d++)vt(cr(r,a,s.directiveStart+d,s),r);LC(a,r,s),l&&vt(l,r);const c=cr(r,a,s.directiveStart+s.componentOffset,s);if(n[xe]=r[xe]=c,null!==o)for(const d of o)d(c,t);return Jp(a,s,r),c}(B,Z,J,Ae,_,[U3]),df(v,_,null)}catch(Z){throw null!==B&&_p(B),_p(_),Z}finally{ep()}return new O3(this.componentType,I,_o(A,_),_,A)}finally{Y(o)}}}class O3 extends F3{constructor(t,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new ra(r,void 0,!1),this.componentType=t}
1setInput(t,e){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const o=this._rootLView;cf(o[E],o,r,t,e),this.previousInputValues.set(t,e),ia(Ut(this._tNode.index,o),1)}}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function U3(){const n=fe();ec(b()[E],n)}let on=(()=>{class n{static{this.__NG_ELEMENT_ID__=H3}}return n})();function H3(){return I1(fe(),b())}const $3=on,w1=class extends $3{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return _o(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){const t=oc(this._hostTNode,this._hostLView);if(rp(t)){const e=Bs(t,this._hostLView),i=js(t);return new Je(e[E].data[i+8],e)}return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=D1(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Re}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=gr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,fr(this._hostTNode,s)),a}createComponent(t,e,i,r,o){const s=t&&!function Ms(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const f=e||{};a=f.index,i=f.injector,r=f.projectableNodes,o=f.environmentInjector||f.ngModuleRef}const l=s?t:new ma(X(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(zt,null);m&&(o=m)}const d=X(l.componentType??{}),u=gr(this._lContainer,d?.id??null),p=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(p.hostView,a,fr(this._hostTNode,u)),p}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,i){const r=t._lView;if(function CA(n){return _t(n[qe])}(r)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=r[qe],c=new w1(l,l[ut],l[qe]);c.detach(c.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;return Mo(s,r,o,i),t.attachToViewContainerRef(),qv(Sf(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=D1(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),i=Js(this._lContainer,e);i&&(Nl(Sf(this._lContainer),e),Ic(i[E],i))}detach(t){const e=this._adjustIndex(t,-1),i=Js(this._lContainer,e);return i&&null!=Nl(Sf(this._lContainer),e)?new ra(i):null}_adjustIndex(t,e=0){return t??this.length+e}};function D1(n){return n[8]}function Sf(n){return n[8]||(n[8]=[])}function I1(n,t){let e;const i=t[n.index];return _t(i)?e=i:(e=NC(i,t,null,n),t[n.index]=e,Mc(t,e)),S1(e,t,n,i),new w1(e,n,t)}let S1=function F1(n,t,e,i){if(n[Pn])return;let r;r=8&e.type?oe(i):function G3(n,t){const e=n[z],i=e.createComment(""),r=Dt(t,n);return ur(e,Kp(e,r),i,function UP(n,t){return n.nextSibling(t)}(e,r),!1),i}(t,e),n[Pn]=r},Ef=()=>!1;class Ff{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ff(this.queryList)}setDirty(){this.queryList.setDirty()}}class Mf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){const s=e.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new Mf(r)}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!==Lf(t,e).matches&&this.queries[e].setDirty()}}class M1{constructor(t,e,i=null){this.flags=e,this.read=i,this.predicate="string"==typeof t?function eN(n){return n.split(",").map(t=>t.trim())}(t):t}}class Tf{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 r=null!==e?e.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==e?e.push(o):e=[o])}return null!==e?new Tf(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 Af{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 Af(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}
1matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(t,e,Y3(e,o)),this.matchTNodeWithReadOption(t,e,sc(e,t,o,!1,!1))}else i===rn?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,sc(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===ke||r===on||r===rn&&4&e.type)this.addMatch(e.index,-2);else{const o=sc(e,t,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Y3(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 X3(n,t,e,i){return-1===e?function Q3(n,t){return 11&n.type?_o(n,t):4&n.type?kc(n,t):null}(t,n):-2===e?function J3(n,t,e){return e===ke?_o(t,n):e===rn?kc(t,n):e===on?I1(t,n):void 0}(n,t,i):cr(n,n[E],e,t)}function T1(n,t,e,i){const r=t[ei].queries[i];if(null===r.matches){const o=n.data,s=e.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:X3(t,o[c],s[l+1],e.metadata.read))}r.matches=a}return r.matches}function kf(n,t,e,i){const r=n.queries.getByIndex(e),o=r.matches;if(null!==o){const s=T1(n,t,r,e);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=t[-l];for(let u=Re;u<d.length;u++){const h=d[u];h[tr]===h[qe]&&kf(h[E],h,c,i)}if(null!==d[ho]){const u=d[ho];for(let h=0;h<u.length;h++){const p=u[h];kf(p[E],p,c,i)}}}}}return i}function k1(n,t,e){const i=Q();return i.firstCreatePass&&(function L1(n,t,e){null===n.queries&&(n.queries=new Tf),n.queries.track(new Af(t,e))}(i,new M1(n,t,e),-1),!(2&~t)&&(i.staticViewQueries=!0)),function A1(n,t,e){const i=new vo(!(4&~e));return function tL(n,t,e,i){const r=RC(t);r.push(e),n.firstCreatePass&&VC(n).push(i,r.length-1)}(n,t,i,i.destroy),(t[ei]??=new Mf).queries.push(new Ff(i))-1}(i,b(),t)}function Lf(n,t){return n.queries.getByIndex(t)}function N1(n,t){const e=n[E],i=Lf(e,t);return i.crossesNgTemplate?kf(e,n,t,[]):T1(e,n,i,t)}const O1=new Set;function St(n){O1.has(n)||(O1.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function vr(n,t){St("NgSignals");const e=function U2(n){const t=Object.create($2);t.value=n;const e=()=>(Ku(t),t.value);return e[fn]=t,e}(n),i=e[fn];return t?.equal&&(i.equal=t.equal),e.set=r=>Cv(i,r),e.update=r=>function H2(n,t){pv()||yv(),Cv(n,t(n.value))}(i,r),e.asReadonly=R1.bind(e),e}function R1(){const n=this[fn];if(void 0===n.readonlyFn){const t=()=>this();t[fn]=n,n.readonlyFn=t}return n.readonlyFn}function ie(n){let t=function Z1(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let r;if(vn(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);r=t.\u0275dir}if(r){if(e){i.push(r);const s=n;s.inputs=Uc(n.inputs),s.inputTransforms=Uc(n.inputTransforms),s.declaredInputs=Uc(n.declaredInputs),s.outputs=Uc(n.outputs);const a=r.hostBindings;a&&mN(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&pN(n,l),c&&fN(n,c),uN(n,r),lT(n.outputs,r.outputs),vn(r)&&r.data.animation){const d=n.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(n),a===ie&&(e=!1)}}t=Object.getPrototypeOf(t)}!function hN(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Fs(r.hostAttrs,e=Fs(e,r.hostAttrs))}}(i)}function uN(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 r=Array.isArray(i)?i[0]:i;if(!t.inputTransforms.hasOwnProperty(r))continue;n.inputTransforms??={},n.inputTransforms[r]=t.inputTransforms[r]}}}function Uc(n){return n===An?{}:n===re?[]:n}function pN(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function fN(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function mN(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}class yr{}class bN{}class Rf extends yr{constructor(t,e,i,r=!0){super(),this.ngModuleType=t,this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new b1(this);const o=function gt(n,t){const e=n[Nv]||null;if(!e&&!0===t)throw new Error(`Type ${Ze(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function Ht(n){return n instanceof Function?n():n}(o.bootstrap),this._r3Injector=iy(t,e,[{provide:yr,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver},...i],Ze(t),new Set(["environment"])),r&&this.resolveInjectorInitializer
1s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 Vf extends bN{constructor(t){super(),this.moduleType=t}create(t){return new Rf(this.moduleType,t,[])}}class tb extends yr{constructor(t){super(),this.componentFactoryResolver=new b1(this),this.instance=null;const e=new ro([...t.providers,{provide:yr,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver}],t.parent||zl(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ve(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function va(n,t,e,i,r,o,s,a,l,c){const d=e+P,u=t.firstCreatePass?function FN(n,t,e,i,r,o,s,a,l){const c=t.consts,d=pr(t,n,4,s||null,a||null);rf(t,e,d,nn(c,l)),ec(t,d);const u=d.tView=nf(2,d,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,t,n,i,r,o,s,a,l):t.data[d];yn(u,!1);const h=ib(t,n,u,e);Rs()&&Sc(t,n,h,u),vt(h,n);const p=NC(h,n,h,u);return n[d]=p,Mc(n,p),function E1(n,t,e){return Ef(n,t,e)}(p,u,n),Kl(u)&&ef(t,n,u),null!=l&&tf(n,u,c),u}function an(n,t,e,i,r,o,s,a){const l=b(),c=Q();return va(l,c,n,t,e,i,r,nn(c.consts,o),s,a),an}let ib=function rb(n,t,e,i){return Nn(!0),t[z].createComment("")};var No=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(No||{});let db=(()=>{class n{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=F({token:n,providedIn:"root",factory:()=>new n})}}return n})();class ba{constructor(){this.ngZone=S(W),this.scheduler=S(Ao),this.errorHandler=S(Rn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[No.EarlyRead,No.Write,No.MixedReadWrite,No.Read]}execute(){this.executing=!0;for(const t of ba.PHASES)for(const e of this.sequences)if(!e.erroredOrDestroyed&&e.hooks[t])try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[t](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=F({token:ba,providedIn:"root",factory:()=>new ba})}}class kN{constructor(t,e,i,r){this.impl=t,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Oo(n,t){!t?.injector&&Ul();const e=t?.injector??S(_e);return $t(e)?(St("NgAfterNextRender"),hb(n,e,t,!0)):pb}function hb(n,t,e,i){const r=t.get(db);r.impl??=t.get(ba);const o=e?.phase??No.MixedReadWrite,s=!0!==e?.manualCleanup?t.get(xi):null,a=new kN(r.impl,function PN(n,t){if(n instanceof Function){const e=[void 0,void 0,void 0,void 0];return e[t]=n,e}return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n,o),i,s);return r.impl.register(a),a}const pb={destroy(){}};function ln(n,t,e,i){const r=b();return Ve(r,Cn(),t)&&(Q(),Vn(we(),r,n,t,e,i)),ln}function Uo(n,t,e,i){return Ve(n,Cn(),e)?t+G(e)+i:K}function Qc(n,t){return n<<17|t<<2}function Ai(n){return n>>17&32767}function Yf(n){return 2|n}function xr(n){return(131068&n)>>2}function Qf(n,t){return-131069&n|t<<2}function Xf(n){return 1|n}function jb(n,t,e,i){const r=n[e+1],o=null===t;let s=i?Ai(r):xr(r),a=!1;for(;0!==s&&(!1===a||o);){const c=n[s+1];mO(n[s],t)&&(a=!0,n[s+1]=i?Xf(c):Yf(c)),s=i?Ai(c):xr(c)}a&&(n[e+1]=i?Yf(r):Xf(r))}function mO(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&io(n,t)>=0}function nt(n,t,e){const i=b();return Ve(i,Cn(),t)&&Nt(Q(),we(),i,n,t,i[z],e,!1),nt}function Jf(n,t,e,i,r){const s=r?"class":"style";cf(n,e,t.inputs[s],s,i)}function Xo(n,t){return function bn(n,t,e,i){const r=b(),o=Q(),s=function ii(n){const t=U.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}(2);o.firstUpdatePass&&function Kb(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[ht()],s=function Wb(n,t){return t>=n.expandoStartIndex}(n,e);(function Xb(n,t){return!!(n.flags&(t?8:16))})(o,i)&&null===t&&!s&&(t=!1),t=function DO(n,t,e,i){const r=function Qh(n){const t=U.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=wa(e=em(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;
1if(-1===s||n[s]!==r)if(e=em(r,n,t,e,i),null===o){let l=function IO(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==xr(i))return n[Ai(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=em(null,n,t,l[1],i),l=wa(l,t.attrs,i),function SO(n,t,e,i){n[Ai(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function EO(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++)i=wa(i,n[o].hostAttrs,e);return wa(i,t.attrs,e)}(n,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),e}(r,o,t,i),function pO(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=Ai(s),l=xr(s);n[i]=e;let d,c=!1;if(Array.isArray(e)?(d=e[1],(null===d||io(e,d)>0)&&(c=!0)):d=e,r)if(0!==l){const h=Ai(n[a+1]);n[i+1]=Qc(h,a),0!==h&&(n[h+1]=Qf(n[h+1],i)),n[a+1]=function uO(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=Qc(a,0),0!==a&&(n[a+1]=Qf(n[a+1],i)),a=i;else n[i+1]=Qc(l,0),0===a?a=i:n[l+1]=Qf(n[l+1],i),l=i;c&&(n[i+1]=Yf(n[i+1])),jb(n,d,i,!0),jb(n,d,i,!1),function fO(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&io(o,t)>=0&&(e[i+1]=Xf(e[i+1]))}(t,d,n,i,o),s=Qc(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}(o,n,s,i),t!==K&&Ve(r,s,t)&&function Yb(n,t,e,i,r,o,s,a){if(!(3&t.type))return;const l=n.data,c=l[a+1],d=function hO(n){return!(1&~n)}(c)?Qb(l,t,e,r,xr(c),s):void 0;Xc(d)||(Xc(o)||function dO(n){return!(2&~n)}(c)&&(o=Qb(l,null,e,r,a,s)),function GP(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:Si.DashCase;null==r?n.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Si.Important),n.setStyle(e,i,r,o))}}(i,s,Ps(ht(),e),r,o))}(o,o.data[ht()],r,r[z],n,r[s+1]=function AO(n,t){return null==n||""===n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Ze(Ii(n)))),n}(t,e),i,s)}(n,t,null,!0),Xo}function em(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(o=t[a],i=wa(i,o.hostAttrs,r),o!==n);)a++;return null!==n&&(e.directiveStylingLast=a),i}function wa(n,t,e){const i=e?1:2;let r=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?r=s:r===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),qt(n,s,!!e||t[++o]))}return void 0===n?null:n}function Qb(n,t,e,i,r,o){const s=null===t;let a;for(;r>0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=e[r+1];h===K&&(h=u?re:void 0);let p=u?Sh(h,i):d===i?h:void 0;if(c&&!Xc(p)&&(p=Sh(l,i)),Xc(p)&&(a=p,s))return a;const f=n[r+1];r=s?Ai(f):xr(f)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Sh(l,i))}return a}function Xc(n){return void 0!==n}function Da(n,t){St("NgControlFlow");const e=b(),i=Cn(),r=e[i]!==K?e[i]:-1,o=-1!==r?Jc(e,P+r):void 0;if(Ve(e,i,n)){const a=Y(null);try{if(void 0!==o&&function uf(n,t){const e=Js(n,t);return void 0!==e&&Ic(e[E],e),e}(o,0),-1!==n){const l=P+n,c=Jc(e,l),d=function im(n,t){return Ls(n,t)}(e[E],l),u=gr(c,d.tView.ssrId);Mo(c,Fo(e,d,t,{dehydratedView:u}),0,fr(d,u))}}finally{Y(a)}}else if(void 0!==o){const a=function BC(n,t){const e=Re+t;if(e<n.length)return n[e]}(o,0);void 0!==a&&(a[xe]=t)}}function Jc(n,t){return n[t]}function ne(n,t,e,i){const r=b(),o=Q(),s=P+n,a=r[z],l=o.firstCreatePass?function JO(n,t,e,i,r,o){const s=t.consts,l=pr(t,n,2,i,nn(s,r));return rf(t,e,l,nn(s,o)),null!==l.attrs&&Bc(l,l.attrs,!1),null!==l.mergedAttrs&&Bc(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,r,t,e,i):o.data[s],c=nx(o,r,l,a,t,n);r[s]=c;const d=Kl(l);return yn(l,!0),IC(a,c,l),!function Po(n){return!(32&~n.flags)}(l)&&Rs()&&Sc(o,r,c,l),0===function bA(){return U.lFrame.elementDepthCount}()&&vt(c,r),function xA(){U.lFrame.elementDepthCount++}(),d&&(ef(o,r,l),Jp(o,l,r)),null!==i&&tf(r,l),ne}function he(){let n=fe();Kh()?function Zh(){U.lFrame.isParent=!1}():(n=n.parent,yn(n,!1));const t=n;(function DA(n){return U.skipHydrationRootTNode===n})(t)&&function FA(){U.skipHydrationRootTNode=null}(),function wA(){U.lFrame.elementDepthCount--}();const e=Q();return e.firstCreatePass&&(ec(e,n),jh(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function BA(n){return!!(8&n.flags)}(t)&&Jf(e,t,b(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function qA(n){return!!(16&n.flags)}(t)&&Jf(e,t,b(),t.stylesWithoutHost,!1),he}function wn(n,t,e,i){return ne(n,t,e,i),he(),wn}let nx=(n,t,e,i,r,o)=>(Nn(!0),Dc(i,r,function R0(){return U.lFrame.currentNamespace}()));function sm(){return b()}function ed(n,t,e){const i=b();return Ve(i,Cn(),t)&&Nt(Q(),we(),i,n,t,i[z],e,!0),ed}const td="en-US";let lx=td,Sx=(n,t,e)=>{};function ot(n,t,e,i){const r=b(),o=Q(),s=fe();return function cm(n,t,e,i,r,o,s){const a=Kl(i),c=n.firstCreatePass&&VC(n),d=t[xe],u=RC(t);let h=!0;if(3&i.type||s){const m=Dt(i,t),g=s?s(m):m,v=u.length,_=s?A=>s(oe(A[i.index])):i.index;let I=null;if(!s&&a&&(I=function ZR(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===e&&r[o+1]===i){const a=t[ao],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1;else{o=Tx(i,t,d,o),Sx(m,r,o);const A=e.listen(g,r,o);u.push(o,A),c&&c.push(r,_,v,v+1)}}else o=Tx(i,t,d,o);const p=i.outputs;let f;if(h&&null!==p&&(f=p[r])){const m=f.length;if(m)for(let g=0;g<m;g+=2){const B=t[f[g]][f[g+1]].subscribe(o),Z=u.length;u.push(o,B),c&&c.push(r,i.index,Z,-(Z+1))}}}(o,r,r[z],s,n,t,i),ot}function Mx(n,t,e,i){const r=Y(null);try{return Ln(6,t,e),!1!==e(i)}catch(o){return Tc(n,o),!1}finally{Ln(7,t,e),Y(r)}}function Tx(n,t,e,i){return function r(o){if(o===Function)return i;
vendor: 4,592 bytes, line 1
1ia(n.componentOffset>-1?Ut(n.index,t):t,5);let a=Mx(t,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=Mx(t,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function Wt(n=1){return function PA(n){return(U.lFrame.contextLView=function x0(n,t){for(;n>0;)t=t[lo],n--;return t}(n,U.lFrame.contextLView))[xe]}(n)}function es(n,t,e){return dm(n,"",t,"",e),es}function dm(n,t,e,i,r){const o=b(),s=Uo(o,t,e,i);return s!==K&&Nt(Q(),we(),o,n,s,o[z],r,!1),dm}function qx(){return function Pf(n,t){return n[ei].queries[t].queryList}(b(),Xh())}function Rt(n,t=""){const e=b(),i=Q(),r=n+P,o=i.firstCreatePass?pr(i,r,1,t,null):i.data[r],s=Qx(i,e,o,t,n);e[r]=s,Rs()&&Sc(i,e,s,o),yn(o,!1)}let Qx=(n,t,e,i,r)=>(Nn(!0),function Up(n,t){return n.createText(t)}(t[z],i));function Vt(n){return od("",n,""),Vt}function od(n,t,e){const i=b(),r=Uo(i,n,t,e);return r!==K&&function si(n,t,e){const i=Ps(t,n);!function uC(n,t,e){n.setValue(t,e)}(n[z],i,e)}(i,ht(),r),od}function hm(n,t,e,i,r){if(n=j(n),Array.isArray(n))for(let o=0;o<n.length;o++)hm(n[o],t,e,i,r);else{const o=Q(),s=b(),a=fe();let l=er(n)?n:j(n.provide);const c=r0(n),d=1048575&a.providerIndexes,u=a.directiveStart,h=a.providerIndexes>>20;if(er(n)||!n.multi){const p=new Vs(c,r,C),f=fm(l,t,r?d:d+h,u);-1===f?(ap(rc(a,s),o,l),pm(o,n,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[f]=p,s[f]=p)}else{const p=fm(l,t,d+h,u),f=fm(l,t,d,d+h),g=f>=0&&e[f];if(r&&!g||!r&&!(p>=0&&e[p])){ap(rc(a,s),o,l);const v=function w4(n,t,e,i,r){const o=new Vs(n,e,C);return o.multi=[],o.index=t,o.componentProviders=0,dw(o,r,i&&!e),o}(r?x4:b4,e.length,r,i,c);!r&&g&&(e[f].providerFactory=v),pm(o,n,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(v),s.push(v)}else pm(o,n,p>-1?p:f,dw(e[r?f:p],c,!r&&i));!r&&i&&g&&e[f].componentProviders++}}}function pm(n,t,e,i){const r=er(t),o=function ZT(n){return!!n.useClass}(t);if(r||o){const l=(o?j(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const d=c.indexOf(e);-1===d?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function dw(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function fm(n,t,e,i){for(let r=e;r<i;r++)if(t[r]===n)return r;return-1}function b4(n,t,e,i){return mm(this.multi,[])}function x4(n,t,e,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=cr(e,e[E],this.providerFactory.index,i);o=a.slice(0,s),mm(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],mm(r,o);return o}function mm(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function Te(n,t=[]){return e=>{e.providersResolver=(i,r)=>function C4(n,t,e){const i=Q();if(i.firstCreatePass){const r=vn(n);hm(e,i.data,i.blueprint,r,!0),hm(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}let D4=(()=>{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=Th(0,e.type),r=i.length>0?function nb(n,t,e=null){return new tb({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=F({token:n,providedIn:"environment",factory:()=>new n(y(zt))})}}return n})();function sd(n){St("NgStandalone"),n.getStandaloneInjector=t=>t.get(D4).getOrCreateStandaloneInjector(n)}function ai(n,t,e,i){return pw(b(),It(),n,t,e,i)}function pw(n,t,e,i,r,o){const s=t+e;return Ve(n,s,r)?function jn(n,t,e){return n[t]=e}(n,s+1,o?i.call(o,r):i(r)):function Ta(n,t){const e=n[t];return e===K?void 0:e}(n,s+1)}function pt(n,t){const e=Q();let i;const r=n+P;e.firstCreatePass?(i=function R4(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[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Qi(i.type)),a=kt(C);try{const l=ic(!1),c=o();return ic(l),function um(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,b(),r,c),c}finally{kt(a)}}function ft(n,t,e){const i=n+P,r=b(),o=function ir(n,t){return n[t]}(r,i);return function Aa(n,t){return n[E].data[t].pure}(r,i)?pw(r,It(),t,o.transform,e,o):o.transform(e)}const Rw=new D(""),ud=new D("");let wm,bm=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._isZ
1oneStable=!0,this._callbacks=[],this.taskTrackingZone=null,wm||(function OV(n){wm=n}(r),r.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:()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let 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,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static{this.\u0275fac=function(i){return new(i||n)(y(W),y(xm),y(ud))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})(),xm=(()=>{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 wm?.findTestabilityInTree(this,e,i)??null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})();function hd(n){return!!n&&"function"==typeof n.then}function Vw(n){return!!n&&"function"==typeof n.subscribe}const RV=new D("");let jw=(()=>{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=S(RV,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const r of this.appInits){const o=r();if(hd(o))e.push(o);else if(Vw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Dm=new D("");function qw(n,t){return Array.isArray(t)?t.reduce(qw,n):{...n,...t}}let Dn=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=S(mk),this.afterRenderManager=S(db),this.zonelessEnabled=S(ha),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ee,this.afterTick=new ee,this.componentTypes=[],this.components=[],this.isStable=S(wi).hasPendingTasks.pipe(M(e=>!e)),this._injector=S(zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof _1;if(!this._injector.get(jw).done)throw!r&&function Ji(n){const t=X(n)||Ye(n)||dt(n);return null!==t&&t.standalone}(e),new x(405,!1);let s;s=r?e:this._injector.get(Ei).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function VV(n){return n.isBoundToModule}(s)?void 0:this._injector.get(yr),c=s.create(_e.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(Rw,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),pd(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new x(101,!1);const e=Y(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Y(e),this.afterTick.next()}}synchronize(){let e=null;
1this._injector.destroyed||(e=this._injector.get(Vc,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)qV(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else e?.begin?.(),e?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>Zl(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;pd(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(Dm,[]);[...this._bootstrapListeners,...i].forEach(r=>r(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),()=>pd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new x(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function pd(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function qV(n,t,e,i){(e||Zl(n))&&Ac(n,t,e&&!i?0:1)}let $V=(()=>{class n{constructor(){this.zone=S(W),this.changeDetectionScheduler=S(Ao),this.applicationRef=S(Dn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Im({ngZoneFactory:n,ignoreChangesOutsideZone:t,scheduleInRootZone:e}){return n??=()=>new W({...Sm(),scheduleInRootZone:e}),[{provide:W,useFactory:n},{provide:Xn,multi:!0,useFactory:()=>{const i=S($V,{optional:!0});return()=>i.initialize()}},{provide:Xn,multi:!0,useFactory:()=>{const i=S(WV);return()=>{i.initialize()}}},!0===t?{provide:g1,useValue:!0}:[],{provide:wf,useValue:e??oy}]}function Sm(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}let WV=(()=>{class n{constructor(){this.subscription=new rt,this.initialized=!1,this.zone=S(W),this.pendingTasks=S(wi)}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(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),La=(()=>{class n{constructor(){this.appRef=S(Dn),this.taskService=S(wi),this.ngZone=S(W),this.zonelessEnabled=S(ha),this.disableScheduling=S(g1,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}
1],this.subscriptions=new rt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(dc):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(S(wf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof fp||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&5===e)return;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?ay:sy;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(dc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ay(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const li=new D("",{providedIn:"root",factory:()=>S(li,te.Optional|te.SkipSelf)||function KV(){return typeof $localize<"u"&&$localize.locale||td}()}),md=new D("");function gd(n){return!n.moduleRef}let Kw=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[Im({ngZoneFactory:()=>function fk(n="zone.js",t){return"noop"===n?new fp:"zone.js"===n?new W(t):n}(i?.ngZone,{...Sm({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:Ao,useExisting:La}],l=function wN(n,t,e){return new Rf(n,t,e,!1)}(e.moduleType,this.injector,a);return function Ww(n){const t=gd(n)?n.r3Injector:n.moduleRef.injector,e=t.get(W);return e.run(()=>{gd(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();const i=t.get(Rn,null);let r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),gd(n)){const o=()=>t.destroy(),s=n.platformInjector.get(md);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(md);s.add(o),n.moduleRef.onDestroy(()=>{pd(n.allPlatformModules,n.moduleRef),r.unsubscribe(),s.delete(o)})}return function BV(n,t,e){try{const i=e();return hd(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(i,e,()=>{const o=t.get(jw);return o.runInitializers(),o.donePromise.then(()=>{if(function uR(n){"string"==typeof n&&(lx=n.toLowerCase().replace(/_/g,"-"))}(t.get(li,td)||td),gd(n)){const a=t.get(Dn);return void 0!==n.rootComponent&&a.bootstrap(n.rootComponent),a}return function e6(n,t){const e=n.injector.get(Dn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>e.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new x(-403,!1);n.instance.ngDoBootstrap(e)}t.push(n)}(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){const r=qw({},i);return function HV(n,t,e){const i=new Vf(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);
1this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(md,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||n)(y(_e))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"platform"})}}return n})(),ki=null;const is=new D("");function Zw(n,t,e=[]){const i=`Platform: ${t}`,r=new D(i);return(o=[])=>{let s=_d();if(!s||s.injector.get(is,!1)){const l=[...e,...o,{provide:r,useValue:!0}];s=n?.(l)??function t6(n){if(_d())throw new x(400,!1);(function Bw(){!function z2(n){vv=n}(()=>{throw new x(600,!1)})})(),ki=n.get(is,!1)?null:n;const e=n.get(Kw);return function Qw(n){n.get(ky,null)?.forEach(e=>e())}(n),e}(function Yw(n=[],t){return _e.create({name:t,providers:[{provide:Ph,useValue:"platform"},{provide:md,useValue:new Set([()=>ki=null])},...n]})}(l,i))}return s.injector.get(is,!1)?s:function n6(){const t=_d();if(!t)throw new x(401,!1);return t}()}}function _d(){return ki&&ki.get(is,!1)?null:ki?.get(Kw)??null}let Ir=(()=>{class n{static{this.__NG_ELEMENT_ID__=r6}}return n})();function r6(n){return function o6(n,t,e){if(nr(n)&&!e){const i=Ut(n.index,t);return new ra(i,i)}return 175&n.type?new ra(t[Me],t):null}(fe(),b(),!(16&~n))}const _6=Zw(null,"core",[]);let v6=(()=>{class n{constructor(e){}static{this.\u0275fac=function(i){return new(i||n)(y(Dn))}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({})}}return n})();function Va(n,t){St("NgSignals");const e=function j2(n){const t=Object.create(B2);t.computation=n;const e=()=>{if(uv(t),Ku(t),t.value===xl)throw t.error;return t.value};return e[fn]=t,e}(n);return t?.equal&&(e[fn].equal=t.equal),e}function In(n){const t=Y(null);try{return n()}finally{Y(t)}}let AD=null;function Pi(){return AD}class t5{}const me=new D("");let kD=(()=>{class n{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:()=>S(n5),providedIn:"platform"})}}return n})(),n5=(()=>{class n extends kD{constructor(){super(),this._doc=S(me),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pi().getBaseHref(this._doc)}onPopState(e){const i=Pi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Pi().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,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:()=>new n,providedIn:"platform"})}}return n})();function PD(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 LD(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 Er(n){return n&&"?"!==n[0]?"?"+n:n}let Om=(()=>{class n{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:()=>S(o5),providedIn:"root"})}}return n})();const r5=new D("");let o5=(()=>{class n extends Om{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??S(me).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 4,668 bytes, line 1
1HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return PD(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Er(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Er(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Er(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||n)(y(kD),y(r5,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Rm=(()=>{class n{constructor(e){this._subject=new Ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function l5(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(LD(ND(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.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+Er(i))}normalize(e){return n.stripTrailingSlash(function a5(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,ND(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Er(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Er(i)),r)}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(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}static{this.normalizeQueryParams=Er}static{this.joinWithSlash=PD}static{this.stripTrailingSlash=LD}static{this.\u0275fac=function(i){return new(i||n)(y(Om))}}static{this.\u0275prov=F({token:n,factory:()=>function s5(){return new Rm(y(Om))}(),providedIn:"root"})}}return n})();function ND(n){return n.replace(/\/index.html$/,"")}function HD(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const Wm=/\s+/,$D=[];let GD=(()=>{class n{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=$D,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Wm):$D}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Wm):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 r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Wm).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||n)(C(ke),C(Fi))}}static{this.\u0275dir=R({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return n})(),ZD=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new Z5,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
1Ref=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){YD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){YD("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{this.\u0275fac=function(i){return new(i||n)(C(on),C(rn))}}static{this.\u0275dir=R({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return n})();class Z5{constructor(){this.$implicit=null,this.ngIf=null}}function YD(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Ze(t)}'.`)}let Xm=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({})}}return n})();const JD="browser";function eI(n){return"server"===n}class tI{}class Yj extends t5{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ng extends Yj{static makeCurrent(){!function e5(n){AD??=n}(new ng)}onAndCancel(t,e,i){return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}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 Qj(){return za=za||document.querySelector("base"),za?za.getAttribute("href"):null}();return null==e?null:function Xj(n){return new URL(n,document.baseURI).pathname}(e)}resetBaseElement(){za=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return HD(document.cookie,t)}}let za=null,e8=(()=>{class n{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const ig=new D("");let hI=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new x(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||n)(y(ig),y(W))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();class pI{constructor(t){this._doc=t}}const rg="ng-app-id";let fI=(()=>{class n{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=eI(o),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(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${rg}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}
vendor: 6,765 bytes, line 1
1changeUsageCount(e,i){const r=this.styleRef;if(r.has(e)){const o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute(rg),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(rg,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){const r=this.getStyleElement(e,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||n)(y(me),y(Co),y(Cp,8),y(ri))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const og={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},sg=/%COMP%/g,r8=new D("",{providedIn:"root",factory:()=>!0});function gI(n,t){return t.map(e=>e.replace(sg,n))}let ag=(()=>{class n{constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=eI(a),this.defaultRenderer=new lg(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===mn.ShadowDom&&(i={...i,encapsulation:mn.Emulated});const r=this.getOrCreateRenderer(e,i);return r instanceof vI?r.applyToHost(e):r instanceof cg&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case mn.Emulated:o=new vI(l,c,i,this.appId,d,s,a,u);break;case mn.ShadowDom:return new l8(l,c,e,i,s,a,this.nonce,u);default:o=new cg(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||n)(y(hI),y(fI),y(Co),y(r8),y(me),y(ri),y(W),y(Cp))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();class lg{constructor(t,e,i,r){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(og[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(_I(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(_I(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){e.remove()}selectRootElement(t,e){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new x(-5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=og[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=og[i];r?t.removeAttributeNS(r,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,r){r&(Si.DashCase|Si.Important)?t.style.setProperty(e,i,r&Si.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Si.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=Pi().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 _I(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class l8 extends lg{constructor(t,e,i,r,o,s,a,l){super(t,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=gI(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}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(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class cg extends lg{constructor(t,e,i,r,o,s,a,l){super(t,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?gI(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class vI extends cg{constructor(t,e,i,r,o,s,a,l){const c=r+"-"+i.id;super(t,e,i,o,s,a,l,c),this.contentAttr=function o8(n){return"_ngcontent-%COMP%".replace(sg,n)}(c),this.hostAttr=function s8(n){return"_nghost-%COMP%".replace(sg,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 c8=(()=>{class n extends pI{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static{this.\u0275fac=function(i){return new(i||n)(y(me))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const yI=["alt","control","meta","shift"],d8={"\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"},u8={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let h8=(()=>{class n extends pI{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pi().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>
vendor: 6,215 bytes, line 1
1-1&&(i.splice(a,1),s="code."),yI.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=d8[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),yI.forEach(s=>{s!==r&&(0,u8[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}static{this.\u0275fac=function(i){return new(i||n)(y(me))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const g8=Zw(_6,"browser",[{provide:ri,useValue:JD},{provide:ky,useValue:function p8(){ng.makeCurrent()},multi:!0},{provide:me,useFactory:function m8(){return function Rk(n){yp=n}(document),document},deps:[]}]),_8=new D(""),xI=[{provide:ud,useClass:class Jj{addToWindow(t){Se.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new x(5103,!1);return o},Se.getAllAngularTestabilities=()=>t.getAllTestabilities(),Se.getAllAngularRootElements=()=>t.getAllRootElements(),Se.frameworkStabilizers||(Se.frameworkStabilizers=[]),Se.frameworkStabilizers.push(i=>{const r=Se.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Pi().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:Rw,useClass:bm,deps:[W,xm,ud]},{provide:bm,useClass:bm,deps:[W,xm,ud]}],wI=[{provide:Ph,useValue:"root"},{provide:Rn,useFactory:function f8(){return new Rn},deps:[]},{provide:ig,useClass:c8,multi:!0,deps:[me,W,ri]},{provide:ig,useClass:h8,multi:!0,deps:[me]},ag,fI,hI,{provide:Vc,useExisting:ag},{provide:tI,useClass:e8,deps:[]},[]];let DI=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Co,useValue:e.appId}]}}static{this.\u0275fac=function(i){return new(i||n)(y(_8,12))}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[...wI,...xI],imports:[Xm,v6]})}}return n})();function EI(n,t,e,i,r,o,s){try{var a=n[o](s),l=a.value}catch(c){return void e(c)}a.done?t(l):Promise.resolve(l).then(i,r)}function dg(n){return function(){var t=this,e=arguments;return new Promise(function(i,r){var o=n.apply(t,e);function s(l){EI(o,i,r,s,a,"next",l)}function a(l){EI(o,i,r,s,a,"throw",l)}s(void 0)})}}function Li(n){return this instanceof Li?(this.v=n,this):new Li(n)}function AI(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function fg(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const gg=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function kI(n){return le(n?.then)}function PI(n){return le(n[lh])}function LI(n){return Symbol.asyncIterator&&le(n?.[Symbol.asyncIterator])}function NI(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const OI=function W8(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function RI(n){return le(n?.[OI])}function VI(n){return function TI(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(p){return function(f){return Promise.resolve(f).then(p,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,f){i[p]&&(r[p]=function(m){return new Promise(function(g,v){o.push([p,m,g,v])>1||l(p,m)})},f&&(r[p]=f(r[p])))}function l(p,f){try{!function c(p){p.value instanceof Li?Promise.resolve(p.value.v).then(d,u):h(o[0][2],p)}(i[p](f))}catch(m){h(o[0][3],m)}}function d(p){l("next",p)}function u(p){l("throw",p)}function h(p,f){p(f),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield Li(e.read());if(r)return yield Li(void 0);yield yield Li(i)}}finally{e.releaseLock()}})}function jI(n){return le(n?.getReader)}function yt(n){if(n instanceof ge)return n;if(null!=n){if(PI(n))return function K8(n){return new ge(t=>{const e=n[lh]();if(le(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(gg(n))return function Z8(n){return new ge(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}(n);if(kI(n))return function Y8(n){return new ge(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Dv)})}(n);if(LI(n))return BI(n);if(RI(n))return function Q8(n){return new ge(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(jI(n))return function X8(n){return BI(VI(n))}(n)}throw NI(n)}function BI(n){return new ge(t=>{(function J8(n,t){var e,i,r,o;return function FI(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=AI(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}
1finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function ui(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function qI(n,t=0){return ct((e,i)=>{e.subscribe(Ke(i,r=>ui(i,n,()=>i.next(r),t),()=>ui(i,n,()=>i.complete(),t),r=>ui(i,n,()=>i.error(r),t)))})}function zI(n,t=0){return ct((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function UI(n,t){if(!n)throw new Error("Iterable cannot be null");return new ge(e=>{ui(e,t,()=>{const i=n[Symbol.asyncIterator]();ui(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function hi(n,t){return t?function o7(n,t){if(null!=n){if(PI(n))return function e7(n,t){return yt(n).pipe(zI(t),qI(t))}(n,t);if(gg(n))return function n7(n,t){return new ge(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(kI(n))return function t7(n,t){return yt(n).pipe(zI(t),qI(t))}(n,t);if(LI(n))return UI(n,t);if(RI(n))return function i7(n,t){return new ge(e=>{let i;return ui(e,t,()=>{i=n[OI](),ui(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>le(i?.return)&&i.return()})}(n,t);if(jI(n))return function r7(n,t){return UI(VI(n),t)}(n,t)}throw NI(n)}(n,t):yt(n)}const{isArray:s7}=Array,{getPrototypeOf:a7,prototype:l7,keys:c7}=Object;function HI(n){if(1===n.length){const t=n[0];if(s7(t))return{args:t,keys:null};if(function d7(n){return n&&"object"==typeof n&&a7(n)===l7}(t)){const e=c7(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}function $I(n){return n&&le(n.schedule)}function _g(n){return n[n.length-1]}function GI(n){return le(_g(n))?n.pop():void 0}function Ua(n){return $I(_g(n))?n.pop():void 0}const{isArray:h7}=Array;function vg(n){return M(t=>function p7(n,t){return h7(t)?n(...t):n(t)}(n,t))}function WI(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function Ha(...n){const t=GI(n),{args:e,keys:i}=HI(n),r=new ge(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;yt(e[d]).subscribe(Ke(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?WI(i,a):a),o.complete())}))}});return t?r.pipe(vg(t)):r}let KI=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},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{this.\u0275fac=function(i){return new(i||n)(C(Fi),C(ke))}}static{this.\u0275dir=R({type:n})}}return n})(),Mr=(()=>{class n extends KI{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=et(n)))(r||n)}})()}static{this.\u0275dir=R({type:n,features:[ie]})}}return n})();const zn=new D(""),m7={provide:zn,useExisting:Ce(()=>zd),multi:!0},_7=new D("");let zd=(()=>{class n extends KI{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function g7(){const n=Pi()?Pi().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{this.\u0275fac=function(i){return new(i||n)(C(Fi),C(ke),C(_7,8))}}static{this.\u0275dir=R({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,r){1&i&&ot("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Te([m7]),ie]})}}return n})();function Ni(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function YI(n){return null!=n&&"number"==typeof n.length}const Ct=new D(""),Oi=new D(""),v7=/^(?=.{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 QI{static min(t){return function XI(n){return t=>{if(Ni(t.value)||Ni(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function JI(n){return t=>{if(Ni(t.value)||Ni(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 function eS(n){return Ni(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function tS(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function nS(n){return Ni(n.value)||v7.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function iS(n){return t=>Ni(t.value)||!YI(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function rS(n){return t=>YI(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function oS(n){if(!n)return Ud;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(Ni(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return uS(t)}static composeAsync(t){return hS(t)}}function Ud(n){return null}function sS(n){return null!=n}function aS(n){return hd(n)?hi(n):n}function lS(n){let t={};
1return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function cS(n,t){return t.map(e=>e(n))}function dS(n){return n.map(t=>function y7(n){return!n.validate}(t)?t:e=>t.validate(e))}function uS(n){if(!n)return null;const t=n.filter(sS);return 0==t.length?null:function(e){return lS(cS(e,t))}}function yg(n){return null!=n?uS(dS(n)):null}function hS(n){if(!n)return null;const t=n.filter(sS);return 0==t.length?null:function(e){return Ha(cS(e,t).map(aS)).pipe(M(lS))}}function Cg(n){return null!=n?hS(dS(n)):null}function pS(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function fS(n){return n._rawValidators}function mS(n){return n._rawAsyncValidators}function bg(n){return n?Array.isArray(n)?n:[n]:[]}function Hd(n,t){return Array.isArray(n)?n.includes(t):n===t}function gS(n,t){const e=bg(t);return bg(n).forEach(r=>{Hd(e,r)||e.push(r)}),e}function _S(n,t){return bg(t).filter(e=>!Hd(n,e))}class vS{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=yg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Cg(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 Tt extends vS{get formDirective(){return null}get path(){return null}}class Ri extends vS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class yS{constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let CS=(()=>{class n extends yS{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||n)(C(Ri,2))}}static{this.\u0275dir=R({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Xo("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ie]})}}return n})(),bS=(()=>{class n extends yS{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||n)(C(Tt,10))}}static{this.\u0275dir=R({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Xo("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ie]})}}return n})();const $a="VALID",Gd="INVALID",ss="PENDING",Ga="DISABLED";class as{}class wS extends as{constructor(t,e){super(),this.value=t,this.source=e}}class Dg extends as{constructor(t,e){super(),this.pristine=t,this.source=e}}class Ig extends as{constructor(t,e){super(),this.touched=t,this.source=e}}class Wd extends as{constructor(t,e){super(),this.status=t,this.source=e}}class D7 extends as{constructor(t){super(),this.source=t}}class I7 extends as{constructor(t){super(),this.source=t}}function Sg(n){return(Kd(n)?n.validators:n)||null}function Eg(n,t){return(Kd(t)?t.asyncValidators:n)||null}function Kd(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function DS(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new x(1e3,"");if(!i[e])throw new x(1001,"")}
1function IS(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new x(1002,"")})}class Zd{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Va(()=>this.statusReactive()),this.statusReactive=vr(void 0),this._pristine=Va(()=>this.pristineReactive()),this.pristineReactive=vr(!0),this._touched=Va(()=>this.touchedReactive()),this.touchedReactive=vr(!1),this._events=new ee,this.events=this._events.asObservable(),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 status(){return In(this.statusReactive)}set status(t){In(()=>this.statusReactive.set(t))}get valid(){return this.status===$a}get invalid(){return this.status===Gd}get pending(){return this.status==ss}get disabled(){return this.status===Ga}get enabled(){return this.status!==Ga}get pristine(){return In(this.pristineReactive)}set pristine(t){In(()=>this.pristineReactive.set(t))}get dirty(){return!this.pristine}get touched(){return In(this.touchedReactive)}set touched(t){In(()=>this.touchedReactive.set(t))}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(gS(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(gS(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(_S(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(_S(t,this._rawAsyncValidators))}hasValidator(t){return Hd(this._rawValidators,t)}hasAsyncValidator(t){return Hd(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const e=!1===this.touched;this.touched=!0;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new Ig(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){const e=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&!1!==t.emitEvent&&this._events.next(new Ig(!1,i))}markAsDirty(t={}){const e=!0===this.pristine;this.pristine=!1;const i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:i}),e&&!1!==t.emitEvent&&this._events.next(new Dg(!1,i))}markAsPristine(t={}){const e=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&!1!==t.emitEvent&&this._events.next(new Dg(!0,i))}markAsPending(t={}){this.status=ss;const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new Wd(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:e})}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Ga,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue();const i=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new wS(this.value,i)),this._events.next(new Wd(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);
1this.status=$a,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$a||this.status===ss)&&this._runAsyncValidator(i,t.emitEvent)}const e=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new wS(this.value,e)),this._events.next(new Wd(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:e})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ga:$a}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=ss,this._hasOwnPendingAsyncValidator={emitEvent:!1!==e};const i=aS(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent,this,e.shouldHaveEmitted)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),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,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Wd(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new Ue,this.statusChanges=new Ue}_calculateStatus(){return this._allControlsDisabled()?Ga:this.errors?Gd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ss)?ss:this._anyControlsHaveStatus(Gd)?Gd:$a}_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,e){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new Dg(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ig(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Kd(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 S7(n){return Array.isArray(n)?yg(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function E7(n){return Array.isArray(n)?Cg(n):n||null}(this._rawAsyncValidators)}}class ls extends Zd{constructor(t,e,i){super(Sg(e),Eg(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={}
vendor: 4,732 bytes, line 1
1){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={}){IS(this,0,t),Object.keys(t).forEach(i=>{DS(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 r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),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,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),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}}const SS=ls;class ES extends ls{}const Tr=new D("CallSetDisabledState",{providedIn:"root",factory:()=>Wa}),Wa="always";function Ka(n,t,e=Wa){Fg(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function M7(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&FS(n,t)})}(n,t),function A7(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function T7(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&FS(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function F7(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Qd(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Jd(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Xd(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Fg(n,t){const e=fS(n);null!==t.validator?n.setValidators(pS(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=mS(n);null!==t.asyncValidator?n.setAsyncValidators(pS(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Xd(t._rawValidators,r),Xd(t._rawAsyncValidators,r)}function Jd(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=fS(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=mS(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return Xd(t._rawValidators,i),Xd(t._rawAsyncValidators,i),e}function FS(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function AS(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function kS(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}Promise.resolve();const Ya=class extends Zd{constructor(t=null,e,i){super(Sg(e),Eg(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initOb
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kd(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=kS(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){AS(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){AS(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){kS(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}};Promise.resolve();const Pg=new D(""),G7={provide:Tt,useExisting:Ce(()=>eu)};let eu=(()=>{class n extends Tt{get submitted(){return In(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Va(()=>this._submittedReactive()),this._submittedReactive=vr(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ue,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&&(Jd(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 Ka(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}
1removeControl(e){Qd(e.control||null,e,!1),function N7(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._submittedReactive.set(!0),function TS(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new D7(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new I7(this.form))}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(Qd(i||null,e),(n=>n instanceof Ya)(r)&&(Ka(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);(function MS(n,t){Fg(n,t)})(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function k7(n,t){return Jd(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Fg(this.form,this),this._oldForm&&Jd(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(i){return new(i||n)(C(Ct,10),C(Oi,10),C(Tr,8))}}static{this.\u0275dir=R({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&ot("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Te([G7]),ie,tn]})}}return n})();const Z7={provide:Ri,useExisting:Ce(()=>Og)};let Og=(()=>{class n extends Ri{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Ue,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Ag(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===zd?e=o:function L7(n){return Object.getPrototypeOf(n.constructor)===Mr}(o)?i=o:r=o}),r||i||e||null}(0,o)}ngOnChanges(e){this._added||this._setUpControl(),function Tg(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}(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 function Yd(n,t){return[...t.path,n]}(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{this.\u0275fac=function(i){return new(i||n)(C(Tt,13),C(Ct,10),C(Oi,10),C(zn,10),C(Pg,8))}}static{this.\u0275dir=R({type:n,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Te([Z7]),ie,tn]})}}return n})(),JS=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({})}}return n})();class Bg extends Zd{constructor(t,e,i){super(Sg(e),Eg(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={}
1){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 r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){IS(this,0,t),t.forEach((i,r)=>{DS(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),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}}const d9=Bg;function eE(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let u9=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,i=null){const r=this._reduceControls(e);let o={};return eE(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new ls(r,o)}record(e,i=null){const r=this._reduceControls(e);return new ES(r,i)}control(e,i,r){let o={};return this.useNonNullable?(eE(i)?o=i:(o.validators=i,o.asyncValidators=r),new Ya(e,{...o,nonNullable:!0})):new Ya(e,i,r)}array(e,i,r){const o=e.map(s=>this._createControl(s));return new Bg(o,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return e instanceof Ya||e instanceof Zd?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),h9=(()=>{class n extends u9{group(e,i=null){return super.group(e,i)}control(e,i,r){return super.control(e,i,r)}array(e,i,r){return super.array(e,i,r)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=et(n)))(r||n)}})()}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),tE=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Tr,useValue:e.callSetDisabledState??Wa}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({imports:[JS]})}}return n})(),nE=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Pg,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Tr,useValue:e.callSetDisabledState??Wa}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({imports:[JS]})}}return n})();function Un(n,t){return ct((e,i)=>{let r=0;e.subscribe(Ke(i,o=>n.call(t,o,r++)&&i.next(o)))})}
vendor: 4,452 bytes, line 1
1const tu=new ge(n=>n.complete());function Vi(n){return n<=0?()=>tu:ct((t,e)=>{let i=0;t.subscribe(Ke(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function Qa(n){return ct((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Ke(e,void 0,void 0,s=>{o=yt(n(s,Qa(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}const qg={now:()=>(qg.delegate||Date).now(),delegate:void 0};class iE extends ee{constructor(t=1/0,e=1/0,i=qg){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=e.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}function zg(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new Zr({next:()=>{i.unsubscribe(),n()}});return yt(t(...e)).subscribe(i)}function Ug(n,t,e){let i,r=!1;return n&&"object"==typeof n?({bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=n):i=n??1/0,function f9(n={}){const{connector:t=()=>new ee,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=l=void 0,d=u=!1},f=()=>{const m=s;p(),m?.unsubscribe()};return ct((m,g)=>{c++,!u&&!d&&h();const v=l=l??t();g.add(()=>{c--,0===c&&!u&&!d&&(a=zg(f,r))}),v.subscribe(g),!s&&c>0&&(s=new Zr({next:_=>v.next(_),error:_=>{u=!0,h(),a=zg(p,e,_),v.error(_)},complete:()=>{d=!0,h(),a=zg(p,i),v.complete()}}),yt(m).subscribe(s))})(o)}}({connector:()=>new iE(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function ji(n,t){return ct((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Ke(i,l=>{r?.unsubscribe();let c=0;const d=o++;yt(n(l,d)).subscribe(r=Ke(i,u=>i.next(t?t(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function Zt(...n){return hi(n,Ua(n))}function Xa(n,t,e=1/0){return le(t)?Xa((i,r)=>M((o,s)=>t(i,o,r,s))(yt(n(i,r))),e):("number"==typeof t&&(e=t),ct((i,r)=>function m9(n,t,e,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&t.complete()},p=m=>c<i?f(m):l.push(m),f=m=>{o&&t.next(m),c++;let g=!1;yt(e(m,d++)).subscribe(Ke(t,v=>{r?.(v),o?p(v):t.next(v)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&c<i;){const v=l.shift();s?ui(t,s,()=>f(v)):f(v)}h()}catch(v){t.error(v)}}))};return n.subscribe(Ke(t,p,()=>{u=!0,h()})),()=>{a?.()}}(i,r,n,e)))}function rE(n){return ct((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}class nu{}class iu{}class mt{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 r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}: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 mt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}
vendor: 6,462 bytes, line 1
1copyFrom(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 mt;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof mt?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 r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(t,e){const i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class _9{encodeKey(t){return oE(t)}encodeValue(t){return oE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const y9=/%(\d[a-f0-9])/gi,C9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function oE(n){return encodeURIComponent(n).replace(y9,(t,e)=>C9[e]??t)}function ru(n){return`${n}`}class Bi{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new _9,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function v9(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(ru):[ru(i)];this.map.set(e,r)})):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 r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,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 Bi({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(ru(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 r=i.indexOf(ru(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class b9{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 sE(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function aE(n){return typeof Blob<"u"&&n instanceof Blob}function lE(n){return typeof FormData<"u"&&n instanceof FormData}class Ja{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function x9(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new mt,this.context??=new b9,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new Bi,this.urlWithParams=e}serializeBody(){return null===this.body?null:"string"==typeof this.body||sE(this.body)||aE(this.body)||lE(this.body)||function w9(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Bi?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||lE(this.body)?null:aE(this.body)?this.body.type||null:sE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Bi?"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,r=t.responseType||this.responseType,o=t.transferCache??this.transferCache,s=void 0!==t.body?t.body:this.body,a=t.withCredentials??this.withCredentials,l=t.reportProgress??this.reportProgress;let c=t.headers||this.headers,d=t.params||this.params;const u=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&&(d=Object.keys(t.setParams).reduce((h,p)=>h.set(p,t.setParams[p]),d)),new Ja(e,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var qi=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}(qi||{});
1class Hg{constructor(t,e=200,i="OK"){this.headers=t.headers||new mt,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 ou extends Hg{constructor(t={}){super(t),this.type=qi.ResponseHeader}clone(t={}){return new ou({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 kr extends Hg{constructor(t={}){super(t),this.type=qi.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new kr({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 cs extends Hg{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}}function $g(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 zi=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Ja)o=e;else{let l,c;l=r.headers instanceof mt?r.headers:new mt(r.headers),r.params&&(c=r.params instanceof Bi?r.params:new Bi({fromObject:r.params})),o=new Ja(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=Zt(o).pipe(function g9(n,t){return le(t)?Xa(n,t,1):Xa(n,1)}(l=>this.handler.handle(l)));if(e instanceof Ja||"events"===r.observe)return s;const a=s.pipe(Un(l=>l instanceof kr));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(M(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(M(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(M(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(M(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.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 Bi).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,$g(r,i))}post(e,i,r={}){return this.request("POST",e,$g(r,i))}put(e,i,r={}){return this.request("PUT",e,$g(r,i))}static{this.\u0275fac=function(i){return new(i||n)(y(nu))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const S9=/^\)\]\}',?\n/;function dE(n){if(n.url)return n.url;const t="X-Request-URL".toLocaleLowerCase();return n.headers.get(t)}let Gg=(()=>{class n{constructor(){this.fetchImpl=S(F9,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=S(W)}handle(e){return new ge(i=>{const r=new AbortController;return this.doRequest(e,r.signal,i).then(Wg,o=>i.error(new cs({error:o}))),()=>r.abort()})}doRequest(e,i,r){var o=this;return dg(function*(){const s=o.createRequestInit(e);let a;try{const f=o.ngZone.runOutsideAngular(()=>o.fetchImpl(e.urlWithParams,{signal:i,...s}));(function M9(n){n.then(Wg,Wg)})(f),r.next({type:qi.Sent}),a=yield f}catch(f){return void r.error(new cs({error:f,status:f.status??0,statusText:f.statusText,url:e.urlWithParams,headers:f.headers}))}const l=new mt(a.headers),c=a.statusText,d=dE(a)??e.urlWithParams;let u=a.status,h=null;if(e.reportProgress&&r.next(new ou({headers:l,status:u,statusText:c,url:d})),a.body){const f=a.headers.get("content-length"),m=[],g=a.body.getReader();let _,I,v=0;const A=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(dg(function*(){for(;;){const{done:Z,value:J}=yield g.read();if(Z)break;if(m.push(J),v+=J.length,e.reportProgress){I="text"===e.responseType?(I??"")+(_??=new TextDecoder).decode(J,{stream:!0}):void 0;const Ae=()=>r.next({type:qi.DownloadProgress,total:f?+f:void 0,loaded:v,partialText:I});A?A.run(Ae):Ae()}}}));const B=o.concatChunks(m,v);try{const Z=a.headers.get("Content-Type")??"";h=o.parseBody(e,B,Z)}catch(Z){return void r.error(new cs({error:Z,headers:new mt(a.headers),status:a.status,statusText:a.statusText,url:dE(a)??e.urlWithParams}))}}0===u&&(u=h?200:0),u>=200&&u<300?(r.next(new kr({body:h,headers:l,status:u,statusText:c,url:d})),r.complete()):r.error(new cs({error:h,headers:l,status:u,statusText:c,url:d}))})()}parseBody(e,i,r){switch(e.responseType){case"json":const o=(new TextDecoder).decode(i).replace(S9,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){const i={},r=e.withCredentials?"include":void 0;
1if(e.headers.forEach((o,s)=>i[o]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){const o=e.detectContentTypeHeader();null!==o&&(i["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r}}concatChunks(e,i){const r=new Uint8Array(i);let o=0;for(const s of e)r.set(s,o),o+=s.length;return r}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();class F9{}function Wg(){}function uE(n,t){return t(n)}function T9(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const k9=new D(""),el=new D(""),hE=new D(""),pE=new D("",{providedIn:"root",factory:()=>!0});function P9(){let n=null;return(t,e)=>{null===n&&(n=(S(k9,{optional:!0})??[]).reduceRight(T9,uE));const i=S(wi);if(S(pE)){const o=i.add();return n(t,e).pipe(rE(()=>i.remove(o)))}return n(t,e)}}let fE=(()=>{class n extends nu{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=S(wi),this.contributeToStability=S(pE)}handle(e){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(el),...this.injector.get(hE,[])]));this.chain=i.reduceRight((r,o)=>function A9(n,t,e){return(i,r)=>function nA(n,t){n instanceof ro&&n.assertNotDestroyed();const i=yi(n),r=kt(void 0);try{return t()}finally{yi(i),kt(r)}}(e,()=>t(i,o=>n(o,r)))}(r,o,this.injector),uE)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(rE(()=>this.pendingTasks.remove(i)))}return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||n)(y(iu),y(zt))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const V9=/^\)\]\}',?\n/;let gE=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new x(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?hi(i.\u0275loadImpl()):Zt(null)).pipe(ji(()=>new ge(o=>{const s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((m,g)=>s.setRequestHeader(m,g.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const m=e.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(e.responseType){const m=e.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",g=new mt(s.getAllResponseHeaders()),v=function j9(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(s)||e.url;return l=new ou({headers:g,status:s.status,statusText:m,url:v}),l},d=()=>{let{headers:m,status:g,statusText:v,url:_}=c(),I=null;204!==g&&(I=typeof s.response>"u"?s.responseText:s.response),0===g&&(g=I?200:0);let A=g>=200&&g<300;if("json"===e.responseType&&"string"==typeof I){const B=I;I=I.replace(V9,"");try{I=""!==I?JSON.parse(I):null}catch(Z){I=B,A&&(A=!1,I={error:Z,text:I})}}A?(o.next(new kr({body:I,headers:m,status:g,statusText:v,url:_||void 0})),o.complete()):o.error(new cs({error:I,headers:m,status:g,statusText:v,url:_||void 0}))},u=m=>{const{url:g}=c(),v=new cs({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:g||void 0});o.error(v)};let h=!1;const p=m=>{h||(o.next(c()),h=!0);let g={type:qi.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(g.total=m.total),"text"===e.responseType&&s.responseText&&(g.partialText=s.responseText),o.next(g)},f=m=>{let g={type:qi.UploadProgress,loaded:m.loaded};m.lengthComputable&&(g.total=m.total),o.next(g)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",f)),s.send(a),o.next({type:qi.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",p),null!==a&&s.upload&&s.upload.removeEventListener("progress",f)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||n)(y(tI))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();const Kg=new D(""),_E=new D("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),vE=new D("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class yE{}let z9=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,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=HD(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||n)(y(me),y(ri),y(_E))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();function U9(n,t){const e=n.url.toLowerCase();if(!S(Kg)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=S(yE).getToken(),r=S(vE);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)}
1)),t(n)}var Ui=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}(Ui||{});function Pr(n,t){return{\u0275kind:n,\u0275providers:t}}function H9(...n){const t=[zi,gE,fE,{provide:nu,useExisting:fE},{provide:iu,useFactory:()=>S(Gg,{optional:!0})??S(gE)},{provide:el,useValue:U9,multi:!0},{provide:Kg,useValue:!0},{provide:yE,useClass:z9}];for(const e of n)t.push(...e.\u0275providers);return Jn(t)}const CE=new D("");function FE(n,t){const e=le(n)?n:()=>n,i=r=>r.error(e());return new ge(t?r=>t.schedule(i,0,r):i)}var ME=function TE(){var n=[].slice.call(arguments),t=!1;"boolean"==typeof n[0]&&(t=n.shift());var e=n[0];if(AE(e))throw new Error("extendee must be an object");for(var i=n.slice(1),r=i.length,o=0;o<r;o++){var s=i[o];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a)){var l=s[a];if(t&&eB(l)){var c=Array.isArray(l)?[]:{};e[a]=TE(!0,Object.prototype.hasOwnProperty.call(e,a)&&!AE(e[a])?e[a]:c,l)}else e[a]=l}}return e};function eB(n){return Array.isArray(n)||"[object Object]"=={}.toString.call(n)}function AE(n){return!n||"object"!=typeof n&&"function"!=typeof n}function tB(n){return n&&n.__esModule?n.default:n}class kE{on(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}emit(t,...e){this._callbacks=this._callbacks||{};let i=this._callbacks[t];if(i)for(let r of i)r.apply(this,e);return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:e})),this}makeEvent(t,e){let i={bubbles:!0,cancelable:!0,detail:e};if("function"==typeof window.CustomEvent)return new CustomEvent(t,i);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),r}off(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;let i=this._callbacks[t];if(!i)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(let r=0;r<i.length;r++)if(i[r]===e){i.splice(r,1);break}return this}}var nB={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2097152,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,defaultHeaders:!0,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init(){},params(n,t,e){if(e)return{dzuuid:e.file.upload.uuid,dzchunkindex:e.index,dztotalfilesize:e.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:e.file.upload.totalChunkCount,dzchunkbyteoffset:e.index*this.options.chunkSize}},accept:(n,t)=>t(),chunksUploaded:function(n,t){t()},binaryBody:!1,fallback(){let n;this.element.className=`${this.element.className} dz-browser-not-supported`;for(let e of this.element.getElementsByTagName("div"))if(/(^| )dz-message($| )/.test(e.className)){n=e,e.className="dz-message";break}n||(n=T.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(n));let t=n.getElementsByTagName("span")[0];return t&&(null!=t.textContent?t.textContent=this.options.dictFallbackMessage:null!=t.innerText&&(t.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize(n,t,e,i){let r={srcX:0,srcY:0,srcWidth:n.width,srcHeight:n.height},o=n.width/n.height;null==t&&null==e?(t=r.srcWidth,e=r.srcHeight):null==t?t=e*o:null==e&&(e=t/o);let s=(t=Math.min(t,r.srcWidth))/(e=Math.min(e,r.srcHeight));if(r.srcWidth>t||r.srcHeight>e)if("crop"===i)o>s?(r.srcHeight=n.height,r.srcWidth=r.srcHeight*s):(r.srcWidth=n.width,r.srcHeight=r.srcWidth/s);else{if("contain"!==i)throw new Error(`Unknown resizeMethod '${i}'`);o>s?e=t/o:t=e*o}return r.srcX=(n.width-r.srcWidth)/2,r.srcY=(n.height-r.srcHeight)/2,r.trgWidth=t,r.trgHeight=e,r}
1,transformFile(n,t){return(this.options.resizeWidth||this.options.resizeHeight)&&n.type.match(/image.*/)?this.resizeImage(n,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(n)},previewTemplate:tB('<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail=""></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size=""></span></div>\n <div class="dz-filename"><span data-dz-name=""></span></div>\n </div>\n <div class="dz-progress">\n <span class="dz-upload" data-dz-uploadprogress=""></span>\n </div>\n <div class="dz-error-message"><span data-dz-errormessage=""></span></div>\n <div class="dz-success-mark">\n <svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2071 29.7929L14.2929 25.7071C14.6834 25.3166 15.3166 25.3166 15.7071 25.7071L21.2929 31.2929C21.6834 31.6834 22.3166 31.6834 22.7071 31.2929L38.2929 15.7071C38.6834 15.3166 39.3166 15.3166 39.7071 15.7071L43.7929 19.7929C44.1834 20.1834 44.1834 20.8166 43.7929 21.2071L22.7071 42.2929C22.3166 42.6834 21.6834 42.6834 21.2929 42.2929L10.2071 31.2071C9.81658 30.8166 9.81658 30.1834 10.2071 29.7929Z"></path>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg">\n <path d="M26.2929 20.2929L19.2071 13.2071C18.8166 12.8166 18.1834 12.8166 17.7929 13.2071L13.2071 17.7929C12.8166 18.1834 12.8166 18.8166 13.2071 19.2071L20.2929 26.2929C20.6834 26.6834 20.6834 27.3166 20.2929 27.7071L13.2071 34.7929C12.8166 35.1834 12.8166 35.8166 13.2071 36.2071L17.7929 40.7929C18.1834 41.1834 18.8166 41.1834 19.2071 40.7929L26.2929 33.7071C26.6834 33.3166 27.3166 33.3166 27.7071 33.7071L34.7929 40.7929C35.1834 41.1834 35.8166 41.1834 36.2071 40.7929L40.7929 36.2071C41.1834 35.8166 41.1834 35.1834 40.7929 34.7929L33.7071 27.7071C33.3166 27.3166 33.3166 26.6834 33.7071 26.2929L40.7929 19.2071C41.1834 18.8166 41.1834 18.1834 40.7929 17.7929L36.2071 13.2071C35.8166 12.8166 35.1834 12.8166 34.7929 13.2071L27.7071 20.2929C27.3166 20.6834 26.6834 20.6834 26.2929 20.2929Z"></path>\n </svg>\n </div>\n</div>\n'),drop(n){return this.element.classList.remove("dz-drag-hover")},dragstart(n){},dragend(n){return this.element.classList.remove("dz-drag-hover")},dragenter(n){return this.element.classList.add("dz-drag-hover")},dragover(n){return this.element.classList.add("dz-drag-hover")},dragleave(n){return this.element.classList.remove("dz-drag-hover")},paste(n){},reset(){return this.element.classList.remove("dz-started")},addedfile(n){if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){for(var t of(n.previewElement=T.createElement(this.options.previewTemplate.trim()),n.previewTemplate=n.previewElement,this.previewsContainer.appendChild(n.previewElement),n.previewElement.querySelectorAll("[data-dz-name]")))t.textContent=n.name;for(t of n.previewElement.querySelectorAll("[data-dz-size]"))t.innerHTML=this.filesize(n.size);this.options.addRemoveLinks&&(n._removeLink=T.createElement(`<a class="dz-remove" href="javascript:undefined;" data-dz-remove>${this.options.dictRemoveFile}</a>`),n.previewElement.appendChild(n._removeLink));let e=i=>(i.preventDefault(),i.stopPropagation(),n.status===T.UPLOADING?T.confirm(this.options.dictCancelUploadConfirmation,()=>this.removeFile(n)):this.options.dictRemoveFileConfirmation?T.confirm(this.options.dictRemoveFileConfirmation,()=>this.removeFile(n)):this.removeFile(n));for(let i of n.previewElement.querySelectorAll("[data-dz-remove]"))i.addEventListener("click",e)}},removedfile(n){return null!=n.previewElement&&null!=n.previewElement.parentNode&&n.previewElement.parentNode.removeChild(n.previewElement),this._updateMaxFilesReachedClass()},thumbnail(n,t){if(n.previewElement){n.previewElement.classList.remove("dz-file-preview");for(let e of n.previewElement.querySelectorAll("[data-dz-thumbnail]"))e.alt=n.name,e.src=t;return setTimeout(()=>n.previewElement.classList.add("dz-image-preview"),1)}},error(n,t){if(n.previewElement){n.previewElement.classList.add("dz-error"),"string"!=typeof t&&t.error&&(t=t.error);for(let e of n.previewElement.querySelectorAll("[data-dz-errormessage]"))e.textContent=t}},errormultiple(){},processing(n){if(n.previewElement&&(n.previewElement.classList.add("dz-processing"),n._removeLink))return n._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple(){},uploadprogress(n,t,e){if(n.previewElement)for(let i of n.previewElement.querySelectorAll("[data-dz-uploadprogress]"))"PROGRESS"===i.nodeName?i.value=t:i.style.width=`${t}%`},totaluploadprogress(){},sending(){},sendingmultiple(){},success(n){if(n.previewElement)return n.previewElement.classList.add("dz-success")},successmultiple(){}
1,canceled(n){return this.emit("error",n,this.options.dictUploadCanceled)},canceledmultiple(){},complete(n){if(n._removeLink&&(n._removeLink.innerHTML=this.options.dictRemoveFile),n.previewElement)return n.previewElement.classList.add("dz-complete")},completemultiple(){},maxfilesexceeded(){},maxfilesreached(){},queuecomplete(){},addedfiles(){}};class T extends kE{static initClass(){this.prototype.Emitter=kE,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}getAcceptedFiles(){return this.files.filter(t=>t.accepted).map(t=>t)}getRejectedFiles(){return this.files.filter(t=>!t.accepted).map(t=>t)}getFilesWithStatus(t){return this.files.filter(e=>e.status===t).map(e=>e)}getQueuedFiles(){return this.getFilesWithStatus(T.QUEUED)}getUploadingFiles(){return this.getFilesWithStatus(T.UPLOADING)}getAddedFiles(){return this.getFilesWithStatus(T.ADDED)}getActiveFiles(){return this.files.filter(t=>t.status===T.UPLOADING||t.status===T.QUEUED).map(t=>t)}init(){if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(T.createElement(`<div class="dz-default dz-message"><button class="dz-button" type="button">${this.options.dictDefaultMessage}</button></div>`)),this.clickableElements.length){let i=()=>{this.hiddenFileInput&&this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=document.createElement("input"),this.hiddenFileInput.setAttribute("type","file"),(null===this.options.maxFiles||this.options.maxFiles>1)&&this.hiddenFileInput.setAttribute("multiple","multiple"),this.hiddenFileInput.className="dz-hidden-input",null!==this.options.acceptedFiles&&this.hiddenFileInput.setAttribute("accept",this.options.acceptedFiles),null!==this.options.capture&&this.hiddenFileInput.setAttribute("capture",this.options.capture),this.hiddenFileInput.setAttribute("tabindex","-1"),this.hiddenFileInput.style.visibility="hidden",this.hiddenFileInput.style.position="absolute",this.hiddenFileInput.style.top="0",this.hiddenFileInput.style.left="0",this.hiddenFileInput.style.height="0",this.hiddenFileInput.style.width="0",T.getElement(this.options.hiddenInputContainer,"hiddenInputContainer").appendChild(this.hiddenFileInput),this.hiddenFileInput.addEventListener("change",()=>{let{files:r}=this.hiddenFileInput;if(r.length)for(let o of r)this.addFile(o);this.emit("addedfiles",r),i()})};i()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(let i of this.events)this.on(i,this.options[i]);this.on("uploadprogress",()=>this.updateTotalUploadProgress()),this.on("removedfile",()=>this.updateTotalUploadProgress()),this.on("canceled",i=>
1this.emit("complete",i)),this.on("complete",i=>{if(0===this.getAddedFiles().length&&0===this.getUploadingFiles().length&&0===this.getQueuedFiles().length)return setTimeout(()=>this.emit("queuecomplete"),0)});let e=function(i){if(function(i){if(i.dataTransfer.types)for(var r=0;r<i.dataTransfer.types.length;r++)if("Files"===i.dataTransfer.types[r])return!0;return!1}(i))return i.stopPropagation(),i.preventDefault?i.preventDefault():i.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:i=>this.emit("dragstart",i),dragenter:i=>(e(i),this.emit("dragenter",i)),dragover:i=>{let r;try{r=i.dataTransfer.effectAllowed}catch{}return i.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",e(i),this.emit("dragover",i)},dragleave:i=>this.emit("dragleave",i),drop:i=>(e(i),this.drop(i)),dragend:i=>this.emit("dragend",i)}}],this.clickableElements.forEach(i=>this.listeners.push({element:i,events:{click:r=>((i!==this.element||r.target===this.element||T.elementInside(r.target,this.element.querySelector(".dz-message")))&&this.hiddenFileInput.click(),!0)}})),this.enable(),this.options.init.call(this)}destroy(){return this.disable(),this.removeAllFiles(!0),null!=this.hiddenFileInput&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,T.instances.splice(T.instances.indexOf(this),1)}updateTotalUploadProgress(){let t,e=0,i=0;if(this.getActiveFiles().length){for(let o of this.getActiveFiles())e+=o.upload.bytesSent,i+=o.upload.total;t=100*e/i}else t=100;return this.emit("totaluploadprogress",t,i,e)}_getParamName(t){return"function"==typeof this.options.paramName?this.options.paramName(t):`${this.options.paramName}${this.options.uploadMultiple?`[${t}]`:""}`}_renameFile(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}getFallbackForm(){let t,e;if(t=this.getExistingFallback())return t;let i='<div class="dz-fallback">';this.options.dictFallbackText&&(i+=`<p>${this.options.dictFallbackText}</p>`),i+=`<input type="file" name="${this._getParamName(0)}" ${this.options.uploadMultiple?'multiple="multiple"':void 0} /><input type="submit" value="Upload!"></div>`;let r=T.createElement(i);return"FORM"!==this.element.tagName?(e=T.createElement(`<form action="${this.options.url}" enctype="multipart/form-data" method="${this.options.method}"></form>`),e.appendChild(r)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),e??r}getExistingFallback(){let t=function(i){for(let r of i)if(/(^| )fallback($| )/.test(r.className))return r};for(let i of["div","form"]){var e;if(e=t(this.element.getElementsByTagName(i)))return e}}setupEventListeners(){return this.listeners.map(t=>(()=>{let e=[];for(let i in t.events)e.push(t.element.addEventListener(i,t.events[i],!1));return e})())}removeEventListeners(){return this.listeners.map(t=>(()=>{let e=[];for(let i in t.events)e.push(t.element.removeEventListener(i,t.events[i],!1));return e})())}disable(){return this.clickableElements.forEach(t=>t.classList.remove("dz-clickable")),this.removeEventListeners(),this.disabled=!0,this.files.map(t=>this.cancelUpload(t))}enable(){return delete this.disabled,this.clickableElements.forEach(t=>t.classList.add("dz-clickable")),this.setupEventListeners()}filesize(t){let e=0,i="b";if(t>0){let r=["tb","gb","mb","kb","b"];for(let o=0;o<r.length;o++){let s=r[o];if(t>=Math.pow(this.options.filesizeBase,4-o)/10){e=t/Math.pow(this.options.filesizeBase,4-o),i=s;break}}e=Math.round(10*e)/10}return`<strong>${e}</strong> ${this.options.dictFileSizeUnits[i]}`}_updateMaxFilesReachedClass(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}drop(t){if(!t.dataTransfer)return;this.emit("drop",t);let e=[];for(let i=0;i<t.dataTransfer.files.length;i++)e[i]=t.dataTransfer.files[i];if(e.length){let{items:i}=t.dataTransfer;i&&i.length&&null!=i[0].webkitGetAsEntry?this._addFilesFromItems(i):this.handleFiles(e)}
1this.emit("addedfiles",e)}paste(t){if(null==function aB(n,t){return typeof n<"u"&&null!==n?t(n):void 0}(t?.clipboardData,i=>i.items))return;this.emit("paste",t);let{items:e}=t.clipboardData;return e.length?this._addFilesFromItems(e):void 0}handleFiles(t){for(let e of t)this.addFile(e)}_addFilesFromItems(t){return(()=>{let e=[];for(let r of t){var i;null!=r.webkitGetAsEntry&&(i=r.webkitGetAsEntry())?e.push(i.isFile?this.addFile(r.getAsFile()):i.isDirectory?this._addFilesFromDirectory(i,i.name):void 0):e.push(null==r.getAsFile||null!=r.kind&&"file"!==r.kind?void 0:this.addFile(r.getAsFile()))}return e})()}_addFilesFromDirectory(t,e){let i=t.createReader(),r=s=>function lB(n,t,e){if(typeof n<"u"&&null!==n&&"function"==typeof n[t])return e(n,t)}(console,"log",a=>a.log(s));var o=()=>i.readEntries(s=>{if(s.length>0){for(let a of s)a.isFile?a.file(l=>{if(!this.options.ignoreHiddenFiles||"."!==l.name.substring(0,1))return l.fullPath=`${e}/${l.name}`,this.addFile(l)}):a.isDirectory&&this._addFilesFromDirectory(a,`${e}/${a.name}`);o()}return null},r);return o()}accept(t,e){this.options.maxFilesize&&t.size>1048576*this.options.maxFilesize?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):T.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}addFile(t){t.upload={uuid:T.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=T.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,e=>{e?(t.accepted=!1,this._errorProcessing([t],e)):(t.accepted=!0,this.options.autoQueue&&this.enqueueFile(t)),this._updateMaxFilesReachedClass()})}enqueueFiles(t){for(let e of t)this.enqueueFile(e);return null}enqueueFile(t){if(t.status!==T.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=T.QUEUED,this.options.autoProcessQueue)return setTimeout(()=>this.processQueue(),0)}_enqueueThumbnail(t){if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1048576*this.options.maxThumbnailFilesize)return this._thumbnailQueue.push(t),setTimeout(()=>this._processThumbnailQueue(),0)}_processThumbnailQueue(){if(this._processingThumbnail||0===this._thumbnailQueue.length)return;this._processingThumbnail=!0;let t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,e=>(this.emit("thumbnail",t,e),this._processingThumbnail=!1,this._processThumbnailQueue()))}removeFile(t){if(t.status===T.UPLOADING&&this.cancelUpload(t),this.files=iB(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}removeAllFiles(t){null==t&&(t=!1);for(let e of this.files.slice())(e.status!==T.UPLOADING||t)&&this.removeFile(e);return null}resizeImage(t,e,i,r,o){return this.createThumbnail(t,e,i,r,!0,(s,a)=>{if(null==a)return o(t);{let{resizeMimeType:l}=this.options;null==l&&(l=t.type);let c=a.toDataURL(l,this.options.resizeQuality);return("image/jpeg"===l||"image/jpg"===l)&&(c=LE.restore(t.dataURL,c)),o(T.dataURItoBlob(c))}})}createThumbnail(t,e,i,r,o,s){let a=new FileReader;a.onload=()=>{t.dataURL=a.result,"image/svg+xml"!==t.type?this.createThumbnailFromUrl(t,e,i,r,o,s):s?.(a.result)},a.readAsDataURL(t)}displayExistingFile(t,e,i,r,o=!0){if(this.emit("addedfile",t),this.emit("complete",t),o){let s=a=>{this.emit("thumbnail",t,a),i&&i()};t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,s,r)}else this.emit("thumbnail",t,e),i&&i()}createThumbnailFromUrl(t,e,i,r,o,s,a){let l=document.createElement("img");return a&&(l.crossOrigin=a),o="from-image"!=getComputedStyle(document.body).imageOrientation&&o,l.onload=()=>{let c=d=>d(1);return typeof EXIF<"u"&&null!==EXIF&&o&&(c=d=>EXIF.getData(l,function(){return d(EXIF.getTag(this,"Orientation"))})),c(d=>{t.width=l.width,t.height=l.height;let u=this.options.resize.call(this,t,e,i,r),h=document.createElement("canvas"),p=h.getContext("2d");switch(h.width=u.trgWidth,h.height=u.trgHeight,d>4&&(h.width=u.trgHeight,h.height=u.trgWidth),d){case 2:p.translate(h.width,0),p.scale(-1,1);break;case 3:p.translate(h.width,h.height),p.rotate(Math.PI);break;case 4:p.translate(0,h.height),p.scale(1,-1);break;case 5:p.rotate(.5*Math.PI),p.scale(1,-1);break;case 6:p.rotate(.5*Math.PI),p.translate(0,-h.width);break;case 7:p.rotate(.5*Math.PI),p.translate(h.height,-h.width),p.scale(-1,1);break;case 8:p.rotate(-.5*Math.PI),p.translate(-h.height,0)}sB(p,l,null!=u.srcX?u.srcX:0,null!=u.srcY?u.srcY:0,u.srcWidth,u.srcHeight,null!=u.trgX?u.trgX:0,null!=u.trgY?u.trgY:0,u.trgWidth,u.trgHeight);let f=h.toDataURL("image/png");if(null!=s)return s(f,h)})},null!=s&&(l.onerror=s),l.src=t.dataURL}processQueue(){let{parallelUploads:t}=this.options,e=this.getUploadingFiles().length,i=e;if(e>=t)return;let r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;i<t;){if(!r.length)return;this.processFile(r.shift()),i++}}}processFile(t){return this.processFiles([t])}processFiles(t){for(let e of t)e.processing=!0,e.status=T.UPLOADING,this.emit
1("processing",e);return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}_getFilesWithXhr(t){return this.files.filter(i=>i.xhr===t).map(i=>i)}cancelUpload(t){if(t.status===T.UPLOADING){let e=this._getFilesWithXhr(t.xhr);for(let i of e)i.status=T.CANCELED;typeof t.xhr<"u"&&t.xhr.abort();for(let i of e)this.emit("canceled",i);this.options.uploadMultiple&&this.emit("canceledmultiple",e)}else(t.status===T.ADDED||t.status===T.QUEUED)&&(t.status=T.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}resolveOption(t,...e){return"function"==typeof t?t.apply(this,e):t}uploadFile(t){return this.uploadFiles([t])}uploadFiles(t){this._transformFiles(t,e=>{if(this.options.chunking){let i=e[0];t[0].upload.chunked=this.options.chunking&&(this.options.forceChunking||i.size>this.options.chunkSize),t[0].upload.totalChunkCount=Math.ceil(i.size/this.options.chunkSize)}if(t[0].upload.chunked){let i=t[0],r=e[0],o=0;i.upload.chunks=[];let s=()=>{let a=0;for(;void 0!==i.upload.chunks[a];)a++;if(a>=i.upload.totalChunkCount)return;o++;let l=a*this.options.chunkSize,c=Math.min(l+this.options.chunkSize,r.size),d={name:this._getParamName(0),data:r.webkitSlice?r.webkitSlice(l,c):r.slice(l,c),filename:i.upload.filename,chunkIndex:a};i.upload.chunks[a]={file:i,index:a,dataBlock:d,status:T.UPLOADING,progress:0,retries:0},this._uploadData(t,[d])};if(i.upload.finishedChunkUpload=(a,l)=>{let c=!0;a.status=T.SUCCESS,a.dataBlock=null,a.response=a.xhr.responseText,a.responseHeaders=a.xhr.getAllResponseHeaders(),a.xhr=null;for(let d=0;d<i.upload.totalChunkCount;d++){if(void 0===i.upload.chunks[d])return s();i.upload.chunks[d].status!==T.SUCCESS&&(c=!1)}c&&this.options.chunksUploaded(i,()=>{this._finished(t,l,null)})},this.options.parallelChunkUploads)for(let a=0;a<i.upload.totalChunkCount;a++)s();else s()}else{let i=[];for(let r=0;r<t.length;r++)i[r]={name:this._getParamName(r),data:e[r],filename:t[r].upload.filename};this._uploadData(t,i)}})}_getChunk(t,e){for(let i=0;i<t.upload.totalChunkCount;i++)if(void 0!==t.upload.chunks[i]&&t.upload.chunks[i].xhr===e)return t.upload.chunks[i]}_uploadData(t,e){let i=new XMLHttpRequest;for(let c of t)c.xhr=i;t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);let r=this.resolveOption(this.options.method,t,e),o=this.resolveOption(this.options.url,t,e);i.open(r,o,!0),this.resolveOption(this.options.timeout,t)&&(i.timeout=this.resolveOption(this.options.timeout,t)),i.withCredentials=!!this.options.withCredentials,i.onload=c=>{this._finishedUploading(t,i,c)},i.ontimeout=()=>{this._handleUploadError(t,i,`Request timedout after ${this.options.timeout/1e3} seconds`)},i.onerror=()=>{this._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=c=>this._updateFilesUploadProgress(t,i,c);let l=this.options.defaultHeaders?{Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"}:{};this.options.binaryBody&&(l["Content-Type"]=t[0].type),this.options.headers&&ME(l,this.options.headers);for(let c in l){let d=l[c];d&&i.setRequestHeader(c,d)}if(this.options.binaryBody){for(let c of t)this.emit("sending",c,i);this.options.uploadMultiple&&this.emit("sendingmultiple",t,i),this.submitRequest(i,null,t)}else{let c=new FormData;if(this.options.params){let d=this.options.params;"function"==typeof d&&(d=d.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null));for(let u in d){let h=d[u];if(Array.isArray(h))for(let p=0;p<h.length;p++)c.append(u,h[p]);else c.append(u,h)}}for(let d of t)this.emit("sending",d,i,c);this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,c),this._addFormElementData(c);for(let d=0;d<e.length;d++){let u=e[d];c.append(u.name,u.data,u.filename)}this.submitRequest(i,c,t)}}_transformFiles(t,e){let i=[],r=0;for(let o=0;o<t.length;o++)this.options.transformFile.call(this,t[o],s=>{i[o]=s,++r===t.length&&e(i)})}_addFormElementData(t){if("FORM"===this.element.tagName)for(let e of this.element.querySelectorAll("input, textarea, select, button")){let i=e.getAttribute("name"),r=e.getAttribute("type");if(r&&(r=r.toLowerCase()),!(typeof i>"u"||null===i))if("SELECT"===e.tagName&&e.hasAttribute("multiple"))for(let o of e.options)o.selected&&t.append(i,o.value);else(!r||"checkbox"!==r&&"radio"!==r||e.checked)&&t.append(i,e.value)}}_updateFilesUploadProgress(t,e,i){if(t[0].upload.chunked){let r=t[0],o=this._getChunk(r,e);i?(o.progress=100*i.loaded/i.total,o.total=i.total,o.bytesSent=i.loaded):(o.progress=100,o.bytesSent=o.total),r.upload.progress=0,r.upload.total=0,r.upload.b
1ytesSent=0;for(let s=0;s<r.upload.totalChunkCount;s++)r.upload.chunks[s]&&typeof r.upload.chunks[s].progress<"u"&&(r.upload.progress+=r.upload.chunks[s].progress,r.upload.total+=r.upload.chunks[s].total,r.upload.bytesSent+=r.upload.chunks[s].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else for(let r of t)r.upload.total&&r.upload.bytesSent&&r.upload.bytesSent==r.upload.total||(i?(r.upload.progress=100*i.loaded/i.total,r.upload.total=i.total,r.upload.bytesSent=i.loaded):(r.upload.progress=100,r.upload.bytesSent=r.upload.total),this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent))}_finishedUploading(t,e,i){let r;if(t[0].status!==T.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(r=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(o){i=o,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t,e),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e),r):this._finished(t,r,i):this._handleUploadError(t,e,r)}}_handleUploadError(t,e,i){if(t[0].status!==T.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){let r=this._getChunk(t[0],e);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(t,i||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}submitRequest(t,e,i){if(1==t.readyState)if(this.options.binaryBody)if(i[0].upload.chunked){const r=this._getChunk(i[0],t);t.send(r.dataBlock.data)}else t.send(i[0]);else t.send(e);else console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}_finished(t,e,i){for(let r of t)r.status=T.SUCCESS,this.emit("success",r,e,i),this.emit("complete",r);
1if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,i),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}_errorProcessing(t,e,i){for(let r of t)r.status=T.ERROR,this.emit("error",r,e,i),this.emit("complete",r);if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,i),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}static uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}constructor(t,e){let i,r;if(super(),this.element=t,this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");T.instances.push(this),this.element.dropzone=this;let o=null!=(r=T.optionsForElement(this.element))?r:{};if(this.options=ME(!0,{},nB,o,e??{}),this.options.previewTemplate=this.options.previewTemplate.replace(/\n*/g,""),this.options.forceFallback||!T.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(this.options.uploadMultiple&&this.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");if(this.options.binaryBody&&this.options.uploadMultiple)throw new Error("You cannot set both: binaryBody and uploadMultiple.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),null!=this.options.renameFilename&&(this.options.renameFile=s=>this.options.renameFilename.call(this,s.name,s)),"string"==typeof this.options.method&&(this.options.method=this.options.method.toUpperCase()),(i=this.getExistingFallback())&&i.parentNode&&i.parentNode.removeChild(i),!1!==this.options.previewsContainer&&(this.previewsContainer=this.options.previewsContainer?T.getElement(this.options.previewsContainer,"previewsContainer"):this.element),this.options.clickable&&(this.clickableElements=!0===this.options.clickable?[this.element]:T.getElements(this.options.clickable,"clickable")),this.init()}}T.initClass(),T.options={},T.optionsForElement=function(n){if(n.getAttribute("id"))return T.options[rB(n.getAttribute("id"))]},T.instances=[],T.forElement=function(n){if("string"==typeof n&&(n=document.querySelector(n)),null==n?.dropzone)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return n.dropzone},T.discover=function(){let n;if(document.querySelectorAll)n=document.querySelectorAll(".dropzone");else{n=[];let t=e=>(()=>{let i=[];for(let r of e)/(^| )dropzone($| )/.test(r.className)?i.push(n.push(r)):i.push(void 0);return i})();t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return(()=>{let t=[];for(let e of n)!1!==T.optionsForElement(e)?t.push(new T(e)):t.push(void 0);return t})()},T.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],T.isBrowserSupported=function(){let n=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){void 0!==T.blacklistedBrowsers&&(T.blockedBrowsers=T.blacklistedBrowsers);for(let t of T.blockedBrowsers)if(t.test(navigator.userAgent)){n=!1;continue}}else n=!1;else n=!1;return n},T.dataURItoBlob=function(n){let t=atob(n.split(",")[1]),e=n.split(",")[0].split(":")[1].split(";
1")[0],i=new ArrayBuffer(t.length),r=new Uint8Array(i);for(let o=0,s=t.length,a=0<=s;a?o<=s:o>=s;a?o++:o--)r[o]=t.charCodeAt(o);return new Blob([i],{type:e})};const iB=(n,t)=>n.filter(e=>e!==t).map(e=>e),rB=n=>n.replace(/[\-_](\w)/g,t=>t.charAt(1).toUpperCase());T.createElement=function(n){let t=document.createElement("div");return t.innerHTML=n,t.childNodes[0]},T.elementInside=function(n,t){if(n===t)return!0;for(;n=n.parentNode;)if(n===t)return!0;return!1},T.getElement=function(n,t){let e;if("string"==typeof n?e=document.querySelector(n):null!=n.nodeType&&(e=n),null==e)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector or a plain HTML element.`);return e},T.getElements=function(n,t){let e,i;if(n instanceof Array){i=[];try{for(e of n)i.push(this.getElement(e,t))}catch{i=null}}else if("string"==typeof n)for(e of(i=[],document.querySelectorAll(n)))i.push(e);else null!=n.nodeType&&(i=[n]);if(null==i||!i.length)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector, a plain HTML element or a list of those.`);return i},T.confirm=function(n,t,e){return window.confirm(n)?t():null!=e?e():void 0},T.isValidFile=function(n,t){if(!t)return!0;t=t.split(",");let e=n.type,i=e.replace(/\/.*$/,"");for(let r of t)if(r=r.trim(),"."===r.charAt(0)){if(-1!==n.name.toLowerCase().indexOf(r.toLowerCase(),n.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(i===r.replace(/\/.*$/,""))return!0}else if(e===r)return!0;return!1},typeof jQuery<"u"&&null!==jQuery&&(jQuery.fn.dropzone=function(n){return this.each(function(){return new T(this,n)})}),T.ADDED="added",T.QUEUED="queued",T.ACCEPTED=T.QUEUED,T.UPLOADING="uploading",T.PROCESSING=T.UPLOADING,T.CANCELED="canceled",T.ERROR="error",T.SUCCESS="success";var sB=function(n,t,e,i,r,o,s,a,l,c){let d=function(n){let e=n.naturalHeight,i=document.createElement("canvas");i.width=1,i.height=e;let r=i.getContext("2d");r.drawImage(n,0,0);let{data:o}=r.getImageData(1,0,1,e),s=0,a=e,l=e;for(;l>s;)0===o[4*(l-1)+3]?a=l:s=l,l=a+s>>1;let c=l/e;return 0===c?1:c}(t);return n.drawImage(t,e,i,r,o,s,a,l,c/d)};class LE{static initClass(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}static encode64(t){let i,r,s,a,l,e="",o="",c="",d=0;for(;i=t[d++],r=t[d++],o=t[d++],s=i>>2,a=(3&i)<<4|r>>4,l=(15&r)<<2|o>>6,c=63&o,isNaN(r)?l=c=64:isNaN(o)&&(c=64),e=e+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(l)+this.KEY_STR.charAt(c),i=r=o="",s=a=l=c="",d<t.length;);return e}static restore(t,e){if(!t.match("data:image/jpeg;base64,"))return e;let i=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(i),o=this.exifManipulation(e,r);return`data:image/jpeg;base64,${this.encode64(o)}`}static exifManipulation(t,e){let i=this.getExifArray(e),r=this.insertExif(t,i);return new Uint8Array(r)}static getExifArray(t){let e,i=0;for(;i<t.length;){if(e=t[i],255===e[0]&225===e[1])return e;i++}return[]}static insertExif(t,e){let i=t.replace("data:image/jpeg;base64,",""),r=this.decode64(i),o=r.indexOf(255,3),s=r.slice(0,o),a=r.slice(o),l=s;return l=l.concat(e),l=l.concat(a),l}static slice2Segments(t){let e=0,i=[];for(;!(255===t[e]&218===t[e+1]);){if(255===t[e]&216===t[e+1])e+=2;else{let o=e+(256*t[e+2]+t[e+3])+2,s=t.slice(e,o);i.push(s),e=o}if(e>t.length)break}return i}static decode64(t){let i,r,s,a,l,o="",c="",d=0,u=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");s=this.KEY_STR.indexOf(t.charAt(d++)),a=this.KEY_STR.indexOf(t.charAt(d++)),l=this.KEY_STR.indexOf(t.charAt(d++)),c=this.KEY_STR.indexOf(t.charAt(d++)),i=s<<2|a>>4,r=(15&a)<<4|l>>2,o=(3&l)<<6|c,u.push(i),64!==l&&u.push(r),64!==c&&u.push(o),i=r=o="",s=a=l=c="",d<t.length;);return u}}LE.initClass();class Fn{protocol="";hostnameAPI="";skinFolderName="";localStorageKeyPrefix="";hostnameMedia="";websocketRoot="";routingMeertalig=!0;routingIndividueel=!0;routingToLower=!1;extraIconFile="";constructor(t){Object.assign(this,t)}}class w{static delay(t){return dg(function*(){yield new Promise(e=>setTimeout(()=>e(null),t))})()}static decodeHtmlTag(t){return null==t?"":t.toString().replace("<","<").replace(">",">")}static removeHtmlTags(t){return t.replace(/<[^>]*>/g,"")}static trimTekst(t,e){return t.length>e&&(t=t.substring(0,e-3)+"..."),t}static getNumber(t){return null==t||""==t.toString()?NaN:isNaN(t)?Number(t.toString().replace(",",".")):t}static getMixedNumberParts(t){const e=t.match(Ge.getPattern(st.MixedNumber));return e?{numberPart:e[1],textPart:e[2]}:null}static modulo(t,e){for(;t.length>10;){var r=t.substring(0,10);t=r%e+t.substring(10)}return t%e}static getUniqueString(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}static getLongStringFromDate(t){return this.stuffIntToString(t.getFullYear())+this.stuffIntToString(t.getMonth()+1)+this.stuffIntToString(t.getDate())+this.stuffIntToString(t.getHours())+this.stuffIntToString(t.getMinutes())+this.stuffIntToString(t.getSeconds())+this.stuffIntToString(t.getUTCMilliseconds())}static getObject(t){if(null==t)return{};if("object"==typeof t)return t;if("string"==typeof t)try{return JSON.parse(t)}catch{return{}}return{}}static logMessage(t,...e){e&&e.length>0?console.log(t,e):console.log(t)}static stuffIntToString(t){return 1==t.toString().length?"0"+t.toString():t.toString()}static myOwnJSONObjectParse(t){try{return JSON.parse(t)}catch{return t}}static myOwnJSONBestandenParse(t,e){try{return t[e]=JSON.parse(t[e]),t}catch{return t}}static myOwnJSONParse(t){try{let i="string"==typeof t||t instanceof String;return null==t||""==t&&i?"":i?(t=(t=(t=t.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"),JSON.parse(t)):t}catch(e){return w.logMessage("myOwnJSONParse error",e,t),t}}static ownStringContain(t,e){return!!t&&t.toString().toLowerCase().indexOf(e.toLowerCase())>=0}static parseStringToURLSafe(t){let e=t;for(e=e.replace(/\W/g," ").split(" ").join("-");e.split("--").length>1;)e=e.split("--").join("-");return"-"==e.charAt(0)&&(e=e.substr(1)),"-"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e}static randomNumber(t){return Math.floor(Math.random()*t)+1}static roundNumber(t,e){let i=Math.pow(10,e||0);return Math.round(t*i)/i}static getDeviceType(){const t=navigator.userAgent||"unknown",e=navigator.maxTouchPoints>0,i=/Mobi|Android/i.test(t)||screen.width<=768&&e,r=screen.width>768&&screen.width<=1024&&e;return i?"Mobile":r?"Tablet":"Desktop"}static formatDatum(t){return t.length<=10?t:t.substring(0,10)}static formatNumber(t,e){return Number(t).toFixed(e)}static formatToEuro(t,e){const r=new Intl.NumberFormat("nl-BE",{style:"currency",currency:"EUR",minimumFractionDigits:2}).format(t);return e?r.replace(/\./g," "):r.substring(2).replace(/\./g," ")}static formatReadableNumber(t,e){var i=(""+t).replace(",","."),r=i.split(".");if(1==r.length){for(var o=r[0],s=0;s<Math.floor((o.length-(1+s))/3);s++)o=o.substring(0,o.length-(4*s+3))+"."+o.substring(o.length-(4*s+3));return e?o+",00":o}if(2==r.length){for(o=r[0],s=0;s<Math.floor((o.length-(1+s))/3);s++)o=o.substring(0,o.length-(4*s+3))+"."+o.substring(o.length-(4*s+3));return o+","+(0==r[1].length?"00":1==r[1].length?r[1]+"0":2==r[1].length?r[1]:r[1].substr(0,2))}return i}static stringToDateSimple(t){var e=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;if(e.test(t)){let i=t.match(e);return new Date(Number(i[3]),Number(i[2])-1,Number(i[1]))}return null}static stringToDate(t,e,i){if(!t)return null;const o=e.toLowerCase().split(i),s=t.split(i),a=o.indexOf("mm"),l=o.indexOf("dd"),c=o.indexOf("yyyy");
1if(a<0||l<0||c<0||s.length!==o.length)return null;const d=Number(s[c]),u=Number(s[a])-1,h=Number(s[l]),p=new Date(d,u,h);return isNaN(p.getTime())?null:p}static dateToString(t){return t?[t.getDate().toString().padStart(2,"0"),(t.getMonth()+1).toString().padStart(2,"0"),t.getFullYear()].join("/"):""}static isJsonString(t){try{JSON.parse(t)}catch{return!1}return!0}static isNullOrEmpty(t){return!t}static isLocalHost(t){return"localhost"==t||!t.includes(".")||!!t.startsWith("10.0.")||!!t.startsWith("192.168.")}static isDatumVoorDatum(t,e){return!(w.stringToDate(t,"dd/MM/yyyy","/")>w.stringToDate(e,"dd/MM/yyyy","/"))}static isDatumGeldig(t,e=!0){if(e&&this.isNullOrEmpty(t))return!1;if(!e&&this.isNullOrEmpty(t))return!0;var i=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;if(!i.test(t))return!1;let r=t.match(i),o=new Date(Number(r[3]),Number(r[2])-1,Number(r[1]));return!(o.getFullYear()!=Number(r[3])||o.getMonth()+1!=Number(r[2])||o.getDate()!=Number(r[1]))}static isGeldigIban(t){if(!t)return!0;let i=String(t);if(i=i.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),i.length<15||0==new RegExp("^[a-zA-Z0-9]+$").test(i))return!1;i=(i.substring(4)+i.substring(0,4)).toUpperCase();let o="";for(var s=0;s<i.length;s++){let l=i.charCodeAt(s);o+=l>64&&l<91?String(l-55):String.fromCharCode(l)}return 1===w.modulo(o,97)}static isGeldigRRNr(t){if(!t)return!0;let r,o,i=String(t);return i=i.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),11==i.length&&(r=i.substring(0,9),o=i.substring(9),w.isGeldigRRNrCheckModulo(r,o))}static isGeldigRRNrCheckModulo(t,e){let i,r;return i=Number(t)+Number(e),r=Math.round(i/97),97*r==i||"0"==t.substring(0,1)&&this.isGeldigRRNrCheckModulo("2"+t,e)}static isGeldigVATBE(t){if(!t)return!0;let r,o,s,a,i=String(t);return"BE"==i.substring(0,2).toUpperCase()&&(i=i.substring(2)),i=i.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),!(i.length<9||i.length>10||isNaN(w.getNumber(i)))&&(9==i.length&&(i="0"+i),r=i.substring(0,8),o=i.substring(8),s=Number(r)+Number(o),a=Math.round(s/97),97*a==s)}static isGeldigVAT(t,e){if(!t)return!0;let r=String(t).toUpperCase().replace(/\W/g,"");!e&&/^\d/.test(r)&&(r="BE"+r);const o=r.substring(0,2),s=r.substring(2),a={AT:/^[0-9]{8}$/,BE:/^[0-9]{9,10}$/,BG:/^[0-9]{9,10}$/,CY:/^[0-9]{8}[A-Z]$/,CZ:/^[0-9]{8,10}$/,DE:/^[0-9]{9}$/,DK:/^[0-9]{8}$/,EE:/^[0-9]{9}$/,EL:/^[0-9]{9}$/,ES:/^[0-9A-Z][0-9]{7}[0-9A-Z]$/,FI:/^[0-9]{8}$/,FR:/^[0-9A-Z]{2}[0-9]{9}$/,GB:/^[0-9]{9,12}$/,HU:/^[0-9]{8}$/,IE:/^[0-9A-Z]{8,9}$/,IT:/^[0-9]{11}$/,LT:/^[0-9]{9,12}$/,LU:/^[0-9]{8}$/,LV:/^[0-9]{11}$/,MT:/^[0-9]{8}$/,NL:/^[0-9]{9}B[0-9]{2}$/,PL:/^[0-9]{10}$/,PT:/^[0-9]{9}$/,RO:/^[0-9]{2,10}$/,SE:/^[0-9]{12}$/,SI:/^[0-9]{8}$/,SK:/^[0-9]{10}$/};if(a[o]){if(!a[o].test(s))return!1;if("BE"==r.substring(0,2).toUpperCase()){if(r=r.substring(2),r=r.replace(/\./g,"").replace(/ /g,"").replace(/-/g,"").replace(/_/g,""),r.length<9||r.length>10||isNaN(w.getNumber(r)))return!1;let l,c,d,u;if(9==r.length&&(r="0"+r),l=r.substring(0,8),c=r.substring(8),d=Number(l)+Number(c),u=Math.round(d/97),97*u!=d)return!1}return!0}return!!/^[A-Z]{2}[0-9]+$/.test(r)}static isValidTime(t,e="",i=""){if(!t)return!0;if(!/^([01]\d|2[0-3]):([0-5]\d)$/.test(t))return!1;const[s,a]=t.split(":").map(Number);if(e){const[l,c]=e.split(":").map(Number);if(s<l||s==l&&a<c)return!1}if(i){const[l,c]=i.split(":").map(Number);if(s>l||s==l&&a>c)return!1}return!0}static isBotUserAgent(){const t=navigator.userAgent.toLowerCase();return/bot|crawl|spider|slurp|ahrefs|semrush|facebookexternalhit|embedly|linkedinbot|twitterbot|applebot|pingdom|crawler|yeti|naver|puppeteer|headless/.test(t)}static compareRoute(t,e){return t&&decodeURIComponent(t).startsWith(e)}static prefix(t,e,i,r,o){return i?r?"/"+e+"/"+t:"/"+t:o?"":"/"+t}static focusFirstErrorField(t,e){for(let i of Object.keys(e)){let o,r=t.controls[i];if(r)if(r instanceof SS){if(r.invalid){this.focusFirstErrorField(r,e[i]);break}}else if(r instanceof d9){let s=r;for(let a=0;a<s.controls.length;a++){const l=s.controls[a];if(l.invalid&&l instanceof SS){this.focusFirstErrorField(l,l.value);break}}}
1else if(r.invalid){o=document.querySelector('.ng-invalid[formcontrolname="'+i+'"]'),o||(o=document.querySelector('.ng-invalid[ng-reflect-name="'+i+'"]')),o&&o.focus();break}}}static standaardCKEditorConfig(t,e){let i;return i=e?{items:["undo","redo","|","bold","italic","|","removeFormat","|","numberedList","bulletedList","|","specialCharacters","|","link"]}:{items:["undo","redo","|","bold","italic","|","removeFormat","|","numberedList","bulletedList","|","specialCharacters"]},{title:"Teksteditor",placeholder:t,toolbar:i,link:{addTargetToExternalLinks:!0},language:"nl"}}static standaardQuillEditorConfig(t,e){let i;return i=e?{toolbar:[["bold","italic","underline"],[{list:"ordered"},{list:"bullet"}],[{header:[1,2,3,!1]}],["link","clean"]]}:{toolbar:[["bold","italic","underline"],[{list:"ordered"},{list:"bullet"}],[{header:[1,2,3,!1]}],["clean"]]},i}}var st=function(n){return n.Int="cdInt",n.MixedNumber="cdMixedNumber",n.Decimal="cdDecimal",n.DecimalWhitespace="cdDecimalWhitespace",n.DecimalPositive2="cdDecimalPositive2",n.Email="cdEmail",n.Website="cdWebsite",n.WebsiteIntern="cdWebsiteIntern",n.Link="cdLink",n.TelefoonBe="cdTelefoonBe",n.Wachtwoord="cdWachtwoord",n.WachtwoordMatig="cdWachtwoordMatig",n.WachtwoordMoeilijk="cdWachtwoordMoeilijk",n.WachtwoordZeerMoeilijk="cdWachtwoordZeerMoeilijk",n.YouTube="cdYouTube",n.Vimeo="cdVimeo",n}(st||{});class Ge{static getPattern(t){return t==st.Int?/^[-+]?\d+$/:t==st.MixedNumber?/^(\d+)(.*)$/:t==st.Decimal?/^[+-]?((\d+([\.\,]\d*)?)|(\.\d+))$/:t==st.DecimalWhitespace?/^[\d ]*[\.\,]?\d*$/:t==st.DecimalPositive2?/^\d+([\.\,]\d{1,2})?$/:t==st.Email?/^[A-Za-z0-9](\.?[A-Za-z0-9_-]){0,}@[A-Za-z0-9-]+(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z]{1,63})$/:t==st.WebsiteIntern?/^\/.*$/:t==st.Website?/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[A-Za-z0-9]+([\-\.]{1}[A-Za-z0-9]+)*\.[A-Za-z]{1,63}(:[0-9]{1,63})?(\/.*)?$/:t==st.Link?/^[A-Za-z0-9](\.?[A-Za-z0-9_-]){0,}@[A-Za-z0-9-]+(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z0-9-]{1,63})?(\.[A-Za-z]{1,63})$|(\/.*$)|((http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[A-Za-z0-9]+([\-\.]{1}[A-Za-z0-9]+)*\.[A-Za-z]{1,63}(:[0-9]{1,63})?(\/.*)?$)/:t==st.TelefoonBe?/^(((\+|00)32[ ]?(?:\(0\)[ ]?)?)|0){1}(4(60|[789]\d)\/?(\s?\d{2}\.?){2}(\s?\d{2})|(\d\/?\s?\d{3}|\d{2}\/?\s?\d{2})(\.?\s?\d{2}){2})$/:t==st.Wachtwoord?/^(?=.*?[A-Za-z])(?=(.*[\d]){1,})(?!.*\s).{8,}$/:t==st.WachtwoordMatig?/^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?!.*\s).{8,}$/:t==st.WachtwoordMoeilijk?/^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{10,}$/:t==st.WachtwoordZeerMoeilijk?/^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{12,}$/:t==st.YouTube?/(?:youtube(?:-nocookie)?\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/:t==st.Vimeo?/https?:\/\/(?:www\.)?(?:vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/[^\/]+\/videos\/|album\/\d+\/video\/)?|player\.vimeo\.com\/video\/)(\d+)(?:$|\/|\?)/:(console.error("onbekend patroon ("+t+")"),alert("onbekend patroon ("+t+")"),/^.*/)}static bevatLeveringKost(t,e){return r=>t||e||r.value&&-1!=r.value.Id?null:{geenLeveringKost:!0}}static bevatVerhandelkeuzeCode(t){return i=>t||i.value&&""!=i.value?null:{geenVerhandelkeuzeCode:!0}}static isLeveringskostLogisch(){return e=>{const i=e.get("zonderlevering").value,r=e.get("verhandelkeuzecode").value,o=e.get("leveringkost").value;return i?""==r?null:{leveringskostFout:!0}:"cdLevering"==r?null!=o?null:{leveringskostFout:!0}:"cdAfhaling"==r&&null==o?null:{leveringskostFout:!0}}}static isAfhalingPuntLogisch(){return e=>{const i=e.get("zonderlevering").value,r=e.get("verhandelkeuzecode").value,o=e.get("afhalingpuntid");return i?""==r?null:{afhalingPuntFout:!0}:"cdLevering"==r||"cdAfhaling"==r&&null!=o&&o.value?null:{afhalingPuntFout:!0}}}static uniekInLijst(t,e,i){return o=>{let s=o.value;return s&&("cdOmschrijving"==e&&null!=i.find(a=>a.Id!=t&&a.Omschrijving.toLowerCase()==s.toLowerCase())||"cdNaam"==e&&null!=i.find(a=>a.Id!=t&&a.Naam.toLowerCase()==s.toLowerCase())||"cdWoord"==e&&null!=i.find(a=>a.Id!=t&&a.Woord.toLowerCase()==s.toLowerCase())||"cdCode"==e&&null!=i.find(a=>a.Id!=t&&a.Code.toLowerCase()==s.toLowerCase()))?{nietUniekInLijst:!0}:null}}static elementInLijst(t){return i=>{let r=i.value;return r&&null==t.find(o=>o.toLowerCase()==r.toLowerCase())?{nietElementInLijst:!0}:null}}static elementNietUitgeschakeld(t){return i=>{let r=i.value;return r&&null!=t.find(o=>o.toLowerCase()==r.toLowerCase())?{elementUitgeschakeld:!0}:null}}static bedrijfsgegevensVerplicht(){return t=>"cdZakelijk"!=t.get("klanttypecode").value||t.get("factuurbedrijfsnaam").value&&""!=t.get("factuurbedrijfsnaam").value&&t.get("factuurbtwnr").value&&""!=t.get("factuurbtwnr").value?null:{bedrijfsgegevensFout:!0}}static hasOneOfMultiplePattern(t){return e=>{const i=e.value;let r={multiplePatternInvalid:!0};return t.forEach(o=>{o.test(i)&&(r=null)}),r}}static isIntBetween(t,e){return i=>{let r=w.getNumber(i.value);return isNaN(r)||Number(r)>=Number(t)&&Number(r)<=Number(e)?null:{intNotBetween:!0}}}static isFloatBetween(t,e){return i=>{let r=w.getNumber(i.value);return isNaN(r)||r>=t&&r<=e?null:{floatNotBetween:!0}}}static isGeldigDatum(){return t=>
1w.isDatumGeldig(t.value,!1)?null:{invalidDate:!0}}static isDatumVoorDatumString(t,e,i="nietIsDatumVoorDatumString"){return r=>{if(r.value){let o=w.stringToDate(r.value,"dd/MM/yyyy","/"),s=w.stringToDate(t,"dd/MM/yyyy","/"),a={};return e?o>s&&(a[i]=!0):o<s&&(a[i]=!0),a}return null}}static isValidTime(t="",e=""){return i=>{let r=!0;return i.value&&(r=w.isValidTime(i.value,t,e)),r?null:{notIsValidTime:!0}}}static isGeldigEmail(){return t=>null==t.value||""==t.value||Ge.getPattern("cdEmail").test(t.value)?null:{invalidEmail:!0}}static isGeldigEmailLijst(){return t=>{let e=!0;return t.value&&t.value.split(",").forEach(r=>{Ge.getPattern("cdEmail").test(r.trim())||(e=!1)}),e?null:{invalidEmailLijst:!0}}}static isGeldigJson(){return t=>null==t.value||""==t.value||w.isJsonString(t.value)?null:{invalidJson:!0}}static isGeldigWachtwoord(){return t=>Ge.getPattern("cdWachtwoord").test(t.value)?null:{invalidPassword:!0}}static isGeldigPercentage(){return t=>{if(Ge.getPattern("cdDecimalWhitespace"))return Number(w.getNumber(t.value))>=0&&Number(w.getNumber(t.value))<=100?null:{invalidPercent:!0}}}static isSelectieChecked(){return t=>1==t.value?null:{noCheck:!0}}static isSelectLeeg(){return t=>null!=t.value&&"null"!=t.value?null:{noSelect:!0}}static isGeldigIban(){return t=>w.isGeldigIban(t.value)?null:{invalidIban:!0}}static isGeldigRRNr(){return t=>w.isGeldigRRNr(t.value)?null:{invalidRRNr:!0}}static isGeldigVATBE(){return t=>w.isGeldigVATBE(t.value)?null:{invalidVat:!0}}static isGeldigVAT(t){return e=>w.isGeldigVAT(e.value,t)?null:{invalidVat:!0}}static isGoogleResultZonderErrorCode(){return t=>{let e=t.value;return e?e.FormattedAddress&&e.Latitude&&e.Longitude?e.ErrorCode?new Error(e.ErrorCode):null:{cdNoResult:!0}:null}}static stringLength(t=0,e=Number.MAX_VALUE){return i=>null!=i.value&&"null"!=i.value&&""!=i.value&&(i.value.length<t||i.value.length>e)?{stringLengthError:!0}:null}static bevatEnkelGeldigeTokens(t){return e=>t.TokenListOngeldig&&t.TokenListOngeldig.length>0?{invalidTokens:!0}:null}static autocompleteObjectValidator(){return t=>{const e=t.value;return!e||"object"==typeof e&&"Waarde"in e?null:{invalidOption:!0}}}static validationWrapper(t,e,i){return r=>{let o=r.get(t);return o&&e(o)?{[i]:!0}:null}}static isWachtwoordGelijk(t="password",e="passwordrepeat"){return i=>i.get(t)?.value==i.get(e)?.value?null:{passwordNotEqual:!0}}static isDatumVoorDatum(t="startdatum",e="einddatum"){return i=>i.get(t)&&i.get(t).value&&i.get(e)&&i.get(e).value&&w.stringToDate(i.get(t).value,"dd/MM/yyyy","/")>w.stringToDate(i.get(e).value,"dd/MM/yyyy","/")?{nietIsDatumVoorDatum:!0}:null}static isTimeBeforeTime(t,e,i,r=!0){return o=>{let s=!0;if(o.get(t)&&o.get(t).value&&o.get(e)&&o.get(e).value){const[a,l]=o.get(t).value.split(":").map(Number),[c,d]=o.get(e).value.split(":").map(Number);(a>c||a==c&&l>d||!r&&a==c&&l==d)&&(s=!1)}if(s)return null;if(i){let a={};return a[i]=!0,a}return{notIsTimeBeforeTime:!0}}}static isPostcodeBelgieGeldig(t="postcode",e="land",i){return r=>{if(r.get(e)?.value){if("BE"==i.find(s=>s.Id==r.get(e).value).Code){let s=w.getNumber(r.get(t).value);return isNaN(s)||!Ge.getPattern("cdInt").test(r.get(t).value)?{nietIsPostcodeBelgieGeldig:!0}:Number(s)>=1e3&&Number(s)<=9999?null:{nietIsPostcodeBelgieGeldig:!0}}return null}return null}}static is2FieldsEmptyOrProvided(t,e,i){return r=>{if(r.get(t)?.value&&r.get(e)?.value)return null;if(!r.get(t)?.value&&r.get(e)?.value){let o={};return o[i]=!0,o}return null}}}class qE{_nativeElement;get nativeElement(){return this._nativeElement}_moduleId;get moduleId(){return this._moduleId}_taalcodeportal;get taalcodeportal(){return this._taalcodeportal}_isHost=!1;get isHost(){return this._isHost}_metricsGoogle=!1;get metricsGoogle(){return this._metricsGoogle}_googlecloudstorageHosturl;get googlecloudstorageHosturl(){return this._googlecloudstorageHosturl}_hosturl;get hosturl(){return this._hosturl}_ngVersion;get ngVersion(){return this._ngVersion}_folder;get folder(){return this._folder}constructor(t){this._nativeElement=t,this._moduleId=t.getAttribute("moduleid"),this._taalcodeportal=t.getAttribute("taalcodeportal"),this._isHost=t.getAttribute("ishost")&&"true"==t.getAttribute("ishost"),this._metricsGoogle=t.getAttribute("metrics-google")&&"true"==t.getAttribute("metrics-google"),this._googlecloudstorageHosturl=t.getAttribute("googlecloudstorage-hosturl"),this._hosturl=t.getAttribute("hosturl"),this._ngVersion=t.getAttribute("ng-version"),this._folder=t.getAttribute("folder")}toString(){const t={};return this._moduleId&&(t.moduleid=this._moduleId),this._taalcodeportal&&(t.taalcodeportal=this._taalcodeportal),this._isHost&&(t.ishost=this._isHost.toString()),this._metricsGoogle&&(t["metrics-google"]=this._metricsGoogle.toString()),this._googlecloudstorageHosturl&&(t["googlecloudstorage-hosturl"]=this._googlecloudstorageHosturl),this._hosturl&&(t.hosturl=this._hosturl),this._ngVersion&&(t["ng-version"]=this._ngVersion),this._folder&&(t.folder=this._folder),JSON.stringify(t)}}class I${loggingListInclude_Warn;loggingListExclude_Warn;loggingListInclude_Error;loggingListExclude_Error;
1constructor(){this.loggingListInclude_Warn=[],this.loggingListExclude_Warn=[],this.loggingListInclude_Error=[],this.loggingListExclude_Error=[]}initListsDefault(){return this.initError(null,["[webpack-dev-server]","Timeout",["unexpected end of json","facebook.net"],["Object Not Found Matching Id:","MethodName:update","ParamCount:"],["Snowplow: Plugin beforeTrack"]]).initWarn(null,["[webpack-dev-server]","MetaMask extension not found","connectChrome error","Could not find Angular Material core theme.","The component requires using CKEditor 5 in version 37 or higher."]),this}initWarnAll(){return this.loggingListInclude_Warn=null,this.loggingListExclude_Warn=null,this}initWarn(t,e){return this.loggingListInclude_Warn=t,this.loggingListExclude_Warn=e,this}addWarn(t,e){return this.loggingListInclude_Warn||(this.loggingListInclude_Warn=[]),this.loggingListExclude_Warn||(this.loggingListExclude_Warn=[]),this.loggingListInclude_Warn.push(...t),this.loggingListExclude_Warn.push(...e),this}initErrorAll(){return this.loggingListInclude_Error=null,this.loggingListExclude_Error=null,this}initError(t,e){return this.loggingListInclude_Error=t,this.loggingListExclude_Error=e,this}addError(t,e){return this.loggingListInclude_Error||(this.loggingListInclude_Error=[]),this.loggingListExclude_Error||(this.loggingListExclude_Error=[]),this.loggingListInclude_Error.push(...t),this.loggingListExclude_Error.push(...e),this}}class S${lijst=[];add(t,e,i,r,o,s,a,l){let c=new E$(t,e,i,r,o,s,a,l);return this.lijst.find(u=>u.typeCode==c.typeCode&&u.argumenten==c.argumenten&&u.url==c.url&&u.attributes==c.attributes)?null:(this.lijst.push(c),c)}}class E${typeCode;argumenten;url;attributes;coreServiceConfig;userAgent;isBot;deviceType;constructor(t,e,i,r,o,s,a,l){this.typeCode=t,this.argumenten=e,this.url=i,this.attributes=r,this.coreServiceConfig=o,this.userAgent=s,this.isBot=a,this.deviceType=l}}var Pe=function(n){return n.api="cdApi",n.duotixBeheer="cdDuotixBeheer",n.duotixBeheerPublic="cdDuotixBeheerPublic",n.portal="cdPortal",n.portalPublic="cdPortalPublic",n.skin="cdSkin",n}(Pe||{});class tl{dtxModuleService;http;_moduleAttributes;get moduleAttributes(){return this._moduleAttributes}_coreServiceConfig;get coreServiceConfig(){return this._coreServiceConfig}_serviceRoot="";get serviceRoot(){return this._serviceRoot}serviceRootName="duotix.ModuleNaam";serviceRootDevAdd="";apiController="WS";apiControllerPrefix;sf;getOptions={headers:new mt};postOptions={headers:new mt};deleteOptions={headers:new mt};otherheaders;public=!1;development;constructor(t,e){this.dtxModuleService=t,this.http=e}initModule(t){this._coreServiceConfig=t,this.dtxModuleService.moduleConfigObservable.subscribe(e=>{null!=e&&null!=e&&(null!=e||w.isLocalHost(window.location.hostname))&&this.setModuleAttributes(e)})}setModuleAttributes(t){this._moduleAttributes=t;var e=t.moduleId;this.public?""==e||"-1"==e||null==e?(this.development=!0,this.apiControllerPrefix="",this._serviceRoot=this.coreServiceConfig.protocol+this.coreServiceConfig.hostnameAPI+"/DesktopModules/"):(this.development=!1,this.apiControllerPrefix="",this._serviceRoot=w.isLocalHost(window.location.hostname)?this.coreServiceConfig.protocol+this.coreServiceConfig.hostnameAPI+"/DesktopModules/":window.location.protocol+"//"+window.location.hostname+"/DesktopModules/"):""==e||"-1"==e||null==e?(this.development=!0,this.apiControllerPrefix="Dev",this._serviceRoot=this._coreServiceConfig.protocol+this.coreServiceConfig.hostnameAPI+"/DesktopModules/"):(this.development=!1,this.apiControllerPrefix="",this.sf=$.ServicesFramework(e),this._serviceRoot=this.sf.getServiceRoot(this.serviceRootName)),this.createHeaders()}createHeaders(){let t=new mt({"Content-Type":"application/json"});t=t.append("Cache-control","no-cache"),t=t.append("Cache-control","no-store"),t=t.append("Pragma","no-cache"),t=t.append("Expires","0");let e=new mt({"Content-Type":"application/json"});this.development||this.public?this.otherheaders={}:(t=t.append("ModuleId",this.sf.getModuleId()),t=t.append("TabId",this.sf.getTabId()),t=t.append("RequestVerificationToken",this.sf.getAntiForgeryValue()),e=e.append("ModuleId",this.sf.getModuleId()),e=e.append("TabId",this.sf.getTabId()),e=e.append("RequestVerificationToken",this.sf.getAntiForgeryValue()),this.otherheaders={ModuleId:this.sf.getModuleId(),TabId:this.sf.getTabId(),RequestVerificationToken:this.sf.getAntiForgeryValue()}),this.getOptions.headers=t,this.postOptions.headers=e,this.deleteOptions.headers=e}getBlokDocumentFolderPath(t=Pe.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-document/bestand/"}getBlokAfbeeldingFolderPath(t=Pe.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-afbeelding/bestand/"}getBlokAfbeeldingPath(t,e,i=Pe.duotixBeheer){if(t&&t.length>0){let r=t.find(o=>o.omschrijving==e);if(r){let o=r.bestand;return this.getBlokAfbeeldingFolderPath(i)+o}return""}return""}getBlokGalerijAfbeeldingFolderPath(t=Pe.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-galerij/afbeelding/bestand/"}getBlokGalerijAfbeeldingPath(t,e,i=Pe.duotixBeheer){if(t&&t.length>0){let r=t.find(o=>o.omschrijving==e).bestand;return this.getBlokGalerijAfbeeldingFolderPath(i)+r}return""}getBlokGalerijVideoFolderPath(t=Pe.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-galerij/video/bestand/"}getBlokLijstFolderPath(t=Pe.duotixBeheer){return this.urlPrefix(t)+"/Portals/0/dtxArt/blok-lijst/item/bestand/"}getLijstItemAfbeeldingPath(t,e,i=Pe.duotixBeheer){if(null!=t&&t.length>0){let r=t.find(o=>o.omschrijving==e).bestand;return this.getBlokLijstFolderPath(i)+r}return""}getAPIPath(){return this.urlPrefix(Pe.api)}urlPrefix(t){if(this.development)switch(t){case Pe.api:return this.serviceRoot+(this.development||this.public?this.serviceRootDevAdd:"")+this.apiControllerPrefix+this.apiController+"/";case Pe.duotixBeheer:return this.moduleAttributes.googlecloudstorageHosturl?this.moduleAttributes.googlecloudstorageHosturl:this.coreServiceConfig.hostnameMedia;default:return this.coreServiceConfig.hostnameMedia}else{let e=window.location.protocol+"//"+window.location.hostname;switch(t){case Pe.api:return this.serviceRoot+(this.development||this.public?this.serviceRootDevAdd:"")+this.apiControllerPrefix+this.apiController+"/";case Pe.duotixBeheer:return this.moduleAttributes.googlecloudstorageHosturl?this.moduleAttributes.googlecloudstorageHosturl:"";case Pe.duotixBeheerPublic:return this.moduleAttributes.googlecloudstorageHosturl?this.moduleAttributes.googlecloudstorageHosturl:e;case Pe.portal:return"";case Pe.portalPublic:return e;default:return""}}}getSkinPath(){return this.urlPrefix(Pe.skin)+"/Portals/_default/Skins/"+(this.coreServiceConfig.skinFolderName?this.coreServiceConfig.skinFolderName:"dtx")+"/"}getOtherheaders(){let t;return t=this.development?{}:{ModuleId:this.sf.getModuleId(),TabId:this.sf.getTabId(),RequestVerificationToken:this.sf.getAntiForgeryValue()},t}getAPIParamConnection(){return"?"}getEmptyString(t){return t??""}getSingleRecord(t){return 1==t.length?t[0]:(this.addLog("1 record verwacht, "+t.length.toString()+" records teruggekregen."),null)}encodeHtmlTag(t){return null==t?"":t.toString().replace("<","<").replace(">",">")}decodeHtmlTag(t){return null==t?"":t.toString().replace("<","<").replace(">",">")}cleanInput(t){return t.toString().replace(/\u0003/g,"").trim()}cleanBody(t){return Object.keys(t).forEach(i=>
1{"string"==typeof t[i]&&(t[i]=this.cleanInput(t[i]))}),t}addLog(t){}}let F$=(()=>{class n extends tl{dtxModuleService;http;constructor(e,i,r){super(e,i),this.dtxModuleService=e,this.http=i,this.apiController="WSCustom",this.serviceRootName="duotix.Beheer",this.serviceRootDevAdd="duotix.Beheer/API/",this.initModule(r)}FStoredProcedurePost(e,i,r,o=""){if(e.includes(" "))throw new Error("niet uitgevoerd - spatie in de naam");let s={Naam:e,Parameters:i.data,TaalCodeB:r,ConnectionStringAlias:o};return this.http.post(this.getAPIPath()+"FStoredProcedure",s,this.postOptions).pipe(Qa(a=>(console.error("[FStoredProcedure] \u274c API call failed",{naam:e,parameterLijst:i?.data,taalCodeB:r,connectionStringAlias:o,body:s,error:a,url:this.getAPIPath()+"FStoredProcedure",userAgent:navigator.userAgent,location:location.href}),FE(()=>a))))}FStoredProcedureGet(e,i,r,o=""){if(e.includes(" "))throw new Error("niet uitgevoerd - spatie in de naam");let s=`?StoredProcedure=${e}&ConnectionString=${o}&TaalCodeB=${r?"true":"false"}`;return i&&i.data.length>0&&(s=s+"&"+i.data.map(a=>`${a.Naam}=${a.Waarde}`).join("&")),this.http.get(this.getAPIPath()+"FStoredProcedureSelect"+s,this.getOptions).pipe(Qa(a=>(console.error("[FStoredProcedureSelect] \u274c API call failed",{naam:e,parameterLijst:i?.data,taalCodeB:r,connectionStringAlias:o,parameterLijstC:s,error:a,url:this.getAPIPath()+"FStoredProcedure",userAgent:navigator.userAgent,location:location.href}),FE(()=>a))))}SkinsAppDeleteBestandF(e,i){let r={Naam:e,FolderPath:i};return this.http.post(this.getAPIPath()+"SkinsAppDeleteBestandF",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}SkinsAppDeleteFolderF(e){let i={FolderPath:e};return this.http.post(this.getAPIPath()+"SkinsAppDeleteFolderF",i,this.postOptions).pipe(M(r=>this.getSingleRecord(r)))}SkinsAppSelectBestandF(e){let i={FolderPath:e};return this.http.post(this.getAPIPath()+"SkinsAppSelectBestandF",i,this.postOptions)}SkinsAppUpdateBestandF(e,i,r){let o={Naam:e,Inhoud:i,FolderPath:r};return this.http.post(this.getAPIPath()+"SkinsAppUpdateBestandF",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}PDF_Duotix_V1_SelectFJson(e){return this.http.post("https://pdf.duotix.be/api/v1/Pdf/SelectFJson",e,{...this.postOptions,responseType:"blob"}).pipe(M(i=>new Blob([i],{type:"application/pdf"})))}static \u0275fac=function(i){return new(i||n)(y(pi),y(zi),y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),T$=(()=>{class n extends tl{dtxModuleService;http;customAPIService;constructor(e,i,r,o){super(e,i),this.dtxModuleService=e,this.http=i,this.customAPIService=r,this.apiController="WSBeheer",this.serviceRootName="duotix.Beheer",this.serviceRootDevAdd="duotix.Beheer/API/",this.initModule(o)}ConsoleInterceptorLogInsert(e){let i={TypeCode:e.typeCode,Argumenten:e.argumenten,Url:e.url,Attributes:e.attributes,CoreServiceConfig:e.coreServiceConfig,UserAgent:e.userAgent,IsBot:e.isBot,DeviceType:e.deviceType};return this.http.post(this.getAPIPath()+"ConsoleInterceptorLogInsert",i,this.postOptions)}EmailWachtrijInsert(e,i,r,o,s,a,l,c,d,u,h){let p={ModuleCode:e,LinkTypeCode:i,LinkId:r,Code:o,VerstuurdVan:s,VerstuurdNaar:a,VerstuurdOnderwerp:l,VerstuurdInhoud:c,VerstuurdReplyTo:d,VerstuurdCC:u,VerstuurdBCC:h};return this.http.post(this.getAPIPath()+"EmailWachtrijInsert",p,this.postOptions).pipe(M(f=>this.getSingleRecord(f)))}EmailWachtrijInsertFFormulier(e,i,r,o,s,a,l,c,d,u){let h={Code:e,VanafMinutes:i,VerstuurdNaar:r,VerstuurdReplyTo:o,VerstuurdCC:s,VerstuurdBCC:a,VerstuurdOnderwerp:l,Skin:c,Formulier:{...d},Bijlages:u};return this.http.post(this.getAPIPath()+"EmailWachtrijInsertFFormulier",h,this.postOptions).pipe(M(p=>this.getSingleRecord(p)))}GoogleRecaptchaCheck(e,i,r,o,s){let a={Token:e,SiteKey:i,ActieCode:r,Data:o,Poging:s};return this.http.post(this.getAPIPath()+"GoogleRecaptchaCheck",a,this.postOptions).pipe(M(l=>this.getSingleRecord(l)))}GoogleRecaptchaVerify(e){let i={response:e};return this.http.post(this.getAPIPath()+"GoogleRecaptchaVerify",i,this.postOptions)}GoogleRecaptchaVerifyEnterprise(e,i,r,o){let s={token:e,siteKey:i,action:r,poging:o};return this.http.post(this.getAPIPath()+"GoogleRecaptchaVerify",s,this.postOptions)}InstellingSelectFCode(e,i,r){return this.http.get(this.getAPIPath()+"InstellingSelectFCode"+this.getAPIParamConnection()+"TaalCode="+e+"&Code="+i+"&ModuleCode="+r,this.getOptions)}LandSelectFLijst(){return this.http.get(this.getAPIPath()+"LandSelectFLijst",this.getOptions)}LocaleSelect(){return this.http.get(this.getAPIPath()+"LocaleSelect",this.getOptions).pipe(M(e=>e.filter(i=>i.Actief)))}NieuwsbriefWachtrijInsert(e,i,r,o,s,a,l,c){let u={TypeCode:e,LijstCode:i,Email:r,LinkTypeCode:o,LinkId:s,MetaData:{merge_tags:a,interests:l,tags:c}
1};return this.http.post(this.getAPIPath()+"NieuwsbriefWachtrijInsert",u,this.postOptions).pipe(M(h=>this.getSingleRecord(h)))}static \u0275fac=function(i){return new(i||n)(y(pi),y(zi),y(F$),y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),A$=(()=>{class n{injector;beheerAPIService;config;originalWarn=console.warn;originalError=console.error;loggedItemLijst=new S$;constructor(e){this.injector=e}initialize(e){return this.config=e,this.interceptConsoleWarn(),this.interceptConsoleError(),this}interceptConsoleWarn(){console.warn=(...e)=>{this.shouldSuppress(e)||this.config?.loggingListExclude_Warn&&this.matchAny(e,this.config?.loggingListExclude_Warn)||(null==this.config?.loggingListInclude_Warn||0==this.config?.loggingListInclude_Warn.length||this.matchAny(e,this.config?.loggingListInclude_Warn))&&this.sendToLoggingService("warn",e)}}interceptConsoleError(){console.error=(...e)=>{const i=e.map(r=>String(r)).join(" ").toLowerCase();if(!(this.shouldSuppress(e)||this.config?.loggingListExclude_Error&&this.matchAny(e,this.config?.loggingListExclude_Error))){if(i.includes("timeout")){const r=(new Error).stack;return this.originalError.call(console,"[Intercepted Timeout]"),void this.sendToLoggingService("error",[...e,"\nStack Trace:",r])}(null==this.config?.loggingListInclude_Error||0==this.config?.loggingListInclude_Error.length||this.matchAny(e,this.config?.loggingListInclude_Error))&&this.sendToLoggingService("error",e)}}}shouldSuppress(e){return!!w.isBotUserAgent()||e.some(i=>0===i?.status&&!0===i?.error?.isTrusted&&"HttpErrorResponse"===i?.name)}sendToLoggingService(e,i){const r=JSON.stringify(i,this.errorSerializer,2);this.beheerAPIService||(this.beheerAPIService=this.injector.get(T$));let o=this.loggedItemLijst.add(e,r,location.href,this.beheerAPIService.moduleAttributes.toString(),JSON.stringify({hostnameAPI:this.beheerAPIService.coreServiceConfig.hostnameAPI,hostnameMedia:this.beheerAPIService.coreServiceConfig.hostnameMedia,isDevelopment:this.beheerAPIService.development}),navigator.userAgent||"unknown",w.isBotUserAgent(),w.getDeviceType());o&&("error"==e?this.originalError.apply(console,i):"warn"==e&&this.originalWarn.apply(console,i),this.beheerAPIService.ConsoleInterceptorLogInsert(o).subscribe({next:()=>{},error:()=>{}}))}matchAny(e,i=[]){const r=this.safeStringify(e).toLowerCase();return i.some(o=>"string"==typeof o?r.includes(o.toLowerCase()):!!Array.isArray(o)&&o.every(s=>r.includes(s.toLowerCase())))}safeStringify(e){const i=new WeakSet,r=(o,s)=>{if("object"==typeof s&&null!==s){if(i.has(s))return"[Circular]";if(i.add(s),s instanceof Error)return{name:s.name,message:s.message,stack:s.stack}}return s};try{return JSON.stringify(e,r,2)}catch(o){return`[Unserializable: ${o}]`}}errorSerializer(e,i){return i instanceof Error?{name:i.name,message:i.message,stack:i.stack}:i}getEnvironmentInfo(){const e=navigator.userAgent||"unknown",i=navigator.platform||"unknown",r=navigator.language||"unknown",o=navigator.languages?.join(", ")||"unknown",s=`${screen.width}x${screen.height}`,a=`${window.innerWidth}x${window.innerHeight}`,l=window.devicePixelRatio||1,c=navigator.onLine?"Online":"Offline",d=navigator.hardwareConcurrency||"unknown",u=navigator.vendor||"unknown",h=(new Date).toISOString(),p=w.getDeviceType();return`\n <p><strong>Timestamp:</strong> ${h}</p>\n <p><strong>User Agent:</strong> ${e}</p>\n <p><strong>Is Bot:</strong> ${w.isBotUserAgent()?"Yes":"No"}</p>\n <p><strong>Platform:</strong> ${i}</p>\n <p><strong>Vendor:</strong> ${u}</p>\n <p><strong>Language:</strong> ${r}</p>\n <p><strong>Languages:</strong> ${o}</p>\n <p><strong>Device Type:</strong> ${p}</p>\n <p><strong>Screen Size:</strong> ${s}</p>\n <p><strong>Viewport Size:</strong> ${a}</p>\n <p><strong>Pixel Ratio:</strong> ${l}</p>\n <p><strong>CPU Cores:</strong> ${d}</p>\n <p><strong>Online:</strong> ${c}</p>\n `}static \u0275fac=function(i){return new(i||n)(y(_e))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),P$=(()=>{class n{http;fileCache={};insertedFiles=new Set;_isReady$=new Zn(!1);_isReady=!1;get isReady$(){return this._isReady$.asObservable()}get isReady(){return this._isReady$.value}_isLoading=!1;get isLoading(){return this._isLoading}_metLogging=!1;_extraIconFile="";get extraIconFile(){return this._extraIconFile}_extraIconFilePrefixSet=!1;get extraIconFilePrefixSet(){return this._extraIconFilePrefixSet}constructor(e){this.http=e}setExtraIconFilePrefix(e){"true"===localStorage?.getItem("dtx_icon_logging")&&w.logMessage("dtxSvgIconService - setExtraIconFilePrefix - extraIconFile: "+e),this._extraIconFile=e,this._extraIconFilePrefixSet=!0,this.loadSprite(this._extraIconFile,"true"===localStorage?.getItem("dtx_icon_logging")).subscribe(i=>{})}warnIfExtraIconFileWithoutPrefix(){""!=this.extraIconFile&&!this._extraIconFilePrefixSet&&console.warn(`[CoreServiceConfig] Warning: extraIconFile is set ("${this.extraIconFile}") but setExtraIconFilePrefix() was not called.`)}loadSprite(e,i=!1){if(this._metLogging=i,this._isReady)return Zt(!0);if(this._isLoading)return this._isReady$.pipe(Un(s=>s),Vi(1));this._isLoading=!0;const r=[];return this.insertedFiles.has("core")||r.push(this.insertSvg('\x3c!--\n SVG sprite for SayHeyCoreModule\n\n License attribution:\n Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com\n License - https://fontawesome.com/license/free\n Copyright 2025 Fonticons, Inc.\n\n Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com\n License - https://fontawesome.com/license (Commercial License)\n Copyright 2025 Fonticons, Inc.\n--\x3e\n\n<svg style="display:none;">\n <symbol id="icon-shared__fa-regular__fa-eye" viewBox="0 0 640 640">\n <path d="M320 144C254.8 144 201.2 173.6 160.1 211.7C121.6 247.5 95 290 81.4 320C95 350 121.6 392.5 160.1 428.3C201.2 466.4 254.8 496 320 496C385.2 496 438.8 466.4 479.9 428.3C518.4 392.5 545 350 558.6 320C545 290 518.4 247.5 479.9 211.7C438.8 173.6 385.2 144 320 144zM127.4 176.6C174.5 132.8 239.2 96 320 96C400.8 96 465.5 132.8 512.6 176.6C559.4 220.1 590.7 272 605.6 307.7C608.9 315.6 608.9 324.4 605.6 332.3C590.7 368 559.4 420 512.6 463.4C465.5 507.1 400.8 544 320 544C239.2 544 174.5 507.2 127.4 463.4C80.6 419.9 49.3 368 34.4 332.3C31.1 324.4 31.1 315.6 34.4 307.7C49.3 272 80.6 220 127.4 176.6zM320 400C364.2 400 400 364.2 400 320C400 290.4 383.9 264.5 360 250.7C358.6 310.4 310.4 358.6 250.7 360C264.5 383.9 290.4 400 320 400zM240.4 311.6C242.9 311.9 245.4 312 248 312C283.3 312 312 283.3 312 248C312 245.4 311.8 242.9 311.6 240.4C274.2 244.3 244.4 274.1 240.5 311.5zM286 196.6C296.8 193.6 308.2 192.1 319.9 192.1C328.7 192.1 337.4 193 345.7 194.7C346 194.8 346.2 194.8 346.5 194.9C404.4 207.1 447.9 258.6 447.9 320.1C447.9 390.8 390.6 448.1 319.9 448.1C258.3 448.1 206.9 404.6 194.7 346.7C192.9 338.1 191.9 329.2 191.9 320.1C191.9 309.1 193.3 298.3 195.9 288.1C196.1 287.4 196.2 286.8 196.4 286.2C208.3 242.8 242.5 208.6 285.9 196.7z"/>\n </symbol>\n <symbol id="icon-shared__fa-regular__fa-eye-slash" viewBox="0 0 640 640">\n <path d="M73 39.1C63.6 29.7 48.4 29.7 39.1 39.1C29.8 48.5 29.7 63.7 39 73.1L567 601.1C576.4 610.5 591.6 610.5 600.9 601.1C610.2 591.7 610.3 576.5 600.9 567.2L504.5 470.8C507.2 468.4 509.9 466 512.5 463.6C559.3 420.1 590.6 368.2 605.5 332.5C608.8 324.6 608.8 315.8 605.5 307.9C590.6 272.2 559.3 220.2 512.5 176.8C465.4 133.1 400.7 96.2 319.9 96.2C2
163.1 96.2 214.3 114.4 173.9 140.4L73 39.1zM208.9 175.1C241 156.2 278.1 144 320 144C385.2 144 438.8 173.6 479.9 211.7C518.4 247.4 545 290 558.5 320C544.9 350 518.3 392.5 479.9 428.3C476.8 431.1 473.7 433.9 470.5 436.7L425.8 392C439.8 371.5 448 346.7 448 320C448 249.3 390.7 192 320 192C293.3 192 268.5 200.2 248 214.2L208.9 175.1zM390.9 357.1L282.9 249.1C294 243.3 306.6 240 320 240C364.2 240 400 275.8 400 320C400 333.4 396.7 346 390.9 357.1zM135.4 237.2L101.4 203.2C68.8 240 46.4 279 34.5 307.7C31.2 315.6 31.2 324.4 34.5 332.3C49.4 368 80.7 420 127.5 463.4C174.6 507.1 239.3 544 320.1 544C357.4 544 391.3 536.1 421.6 523.4L384.2 486C364.2 492.4 342.8 496 320 496C254.8 496 201.2 466.4 160.1 428.3C121.6 392.6 95 350 81.5 320C91.9 296.9 110.1 266.4 135.5 237.2z"/>\n </symbol>\n <symbol id="icon-shared__fa-regular__fa-image" viewBox="0 0 640 640">\n <path d="M160 144C151.2 144 144 151.2 144 160L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 160C496 151.2 488.8 144 480 144L160 144zM96 160C96 124.7 124.7 96 160 96L480 96C515.3 96 544 124.7 544 160L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 160zM224 192C241.7 192 256 206.3 256 224C256 241.7 241.7 256 224 256C206.3 256 192 241.7 192 224C192 206.3 206.3 192 224 192zM360 264C368.5 264 376.4 268.5 380.7 275.8L460.7 411.8C465.1 419.2 465.1 428.4 460.8 435.9C456.5 443.4 448.6 448 440 448L200 448C191.1 448 182.8 443 178.7 435.1C174.6 427.2 175.2 417.6 180.3 410.3L236.3 330.3C240.8 323.9 248.1 320.1 256 320.1C263.9 320.1 271.2 323.9 275.7 330.3L292.9 354.9L339.4 275.9C343.7 268.6 351.6 264.1 360.1 264.1z"/>\n </symbol>\n <symbol id="icon-shared__fa-regular__fa-xmark" viewBox="0 0 640 640">\n <path d="M135.5 169C126.1 159.6 126.1 144.4 135.5 135.1C144.9 125.8 160.1 125.7 169.4 135.1L320.4 286.1L471.4 135.1C480.8 125.7 496 125.7 505.3 135.1C514.6 144.5 514.7 159.7 505.3 169L354.3 320L505.3 471C514.7 480.4 514.7 495.6 505.3 504.9C495.9 514.2 480.7 514.3 471.4 504.9L320.4 353.9L169.4 504.9C160 514.3 144.8 514.3 135.5 504.9C126.2 495.5 126.1 480.3 135.5 471L286.5 320L135.5 169z"/>\n </symbol>\n\n <symbol id="icon-shared__fa-solid__fa-angle-left" viewBox="0 0 640 640">\n <path d="M201.4 297.4C188.9 309.9 188.9 330.2 201.4 342.7L361.4 502.7C373.9 515.2 394.2 515.2 406.7 502.7C419.2 490.2 419.2 469.9 406.7 457.4L269.3 320L406.6 182.6C419.1 170.1 419.1 149.8 406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3L201.3 297.3z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-angle-right" viewBox="0 0 640 640">\n <path d="M439.1 297.4C451.6 309.9 451.6 330.2 439.1 342.7L279.1 502.7C266.6 515.2 246.3 515.2 233.8 502.7C221.3 490.2 221.3 469.9 233.8 457.4L371.2 320L233.9 182.6C221.4 170.1 221.4 149.8 233.9 137.3C246.4 124.8 266.7 124.8 279.2 137.3L439.2 297.3z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-caret-down" viewBox="0 0 640 640">\n <path d="M300.3 440.8C312.9 451 331.4 450.3 343.1 438.6L471.1 310.6C480.3 301.4 483 287.7 478 275.7C473 263.7 461.4 256 448.5 256L192.5 256C179.6 256 167.9 263.8 162.9 275.8C157.9 287.8 160.7 301.5 169.9 310.6L297.9 438.6L300.3 440.8z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-caret-up" viewBox="0 0 640 640">\n <path d="M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-circle-check" viewBox="0 0 640 640">\n <path d="M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM438 209.7C427.3 201.9 412.3 204.3 404.5 215L285.1 379.2L233 327.1C223.6 317.7 208.4 317.7 199.1 327.1C189.8 336.5 189.7 351.7 199.1 361L271.1 433C276.1 438 282.9 440.5 289.9 440C296.9 439.5 303.3 435.9 307.4 430.2L443.3 243.2C451.1 232.5 448.7 217.5 438 209.7z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-circle-exclamation" viewBox="0 0 640 640">\n <path d="M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64
1C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM320 384C302.3 384 288 398.3 288 416C288 433.7 302.3 448 320 448C337.7 448 352 433.7 352 416C352 398.3 337.7 384 320 384zM320 192C301.8 192 287.3 207.5 288.6 225.7L296 329.7C296.9 342.3 307.4 352 319.9 352C332.5 352 342.9 342.3 343.8 329.7L351.2 225.7C352.5 207.5 338.1 192 319.8 192z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-circle-info" viewBox="0 0 640 640">\n <path d="M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM288 224C288 206.3 302.3 192 320 192C337.7 192 352 206.3 352 224C352 241.7 337.7 256 320 256C302.3 256 288 241.7 288 224zM280 288L328 288C341.3 288 352 298.7 352 312L352 400L360 400C373.3 400 384 410.7 384 424C384 437.3 373.3 448 360 448L280 448C266.7 448 256 437.3 256 424C256 410.7 266.7 400 280 400L304 400L304 336L280 336C266.7 336 256 325.3 256 312C256 298.7 266.7 288 280 288z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-circle-xmark" viewBox="0 0 640 640">\n <path d="M320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM231 231C240.4 221.6 255.6 221.6 264.9 231L319.9 286L374.9 231C384.3 221.6 399.5 221.6 408.8 231C418.1 240.4 418.2 255.6 408.8 264.9L353.8 319.9L408.8 374.9C418.2 384.3 418.2 399.5 408.8 408.8C399.4 418.1 384.2 418.2 374.9 408.8L319.9 353.8L264.9 408.8C255.5 418.2 240.3 418.2 231 408.8C221.7 399.4 221.6 384.2 231 374.9L286 319.9L231 264.9C221.6 255.5 221.6 240.3 231 231z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-close" viewBox="0 0 640 640">\n <path d="M135.5 169C126.1 159.6 126.1 144.4 135.5 135.1C144.9 125.8 160.1 125.7 169.4 135.1L320.4 286.1L471.4 135.1C480.8 125.7 496 125.7 505.3 135.1C514.6 144.5 514.7 159.7 505.3 169L354.3 320L505.3 471C514.7 480.4 514.7 495.6 505.3 504.9C495.9 514.2 480.7 514.3 471.4 504.9L320.4 353.9L169.4 504.9C160 514.3 144.8 514.3 135.5 504.9C126.2 495.5 126.1 480.3 135.5 471L286.5 320L135.5 169z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-download" viewBox="0 0 640 640">\n <path d="M352 96C352 78.3 337.7 64 320 64C302.3 64 288 78.3 288 96L288 306.7L246.6 265.3C234.1 252.8 213.8 252.8 201.3 265.3C188.8 277.8 188.8 298.1 201.3 310.6L297.3 406.6C309.8 419.1 330.1 419.1 342.6 406.6L438.6 310.6C451.1 298.1 451.1 277.8 438.6 265.3C426.1 252.8 405.8 252.8 393.3 265.3L352 306.7L352 96zM160 384C124.7 384 96 412.7 96 448L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 448C544 412.7 515.3 384 480 384L433.1 384L376.5 440.6C345.3 471.8 294.6 471.8 263.4 440.6L206.9 384L160 384zM464 440C477.3 440 488 450.7 488 464C488 477.3 477.3 488 464 488C450.7 488 440 477.3 440 464C440 450.7 450.7 440 464 440z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-file" viewBox="0 0 640 640">\n <path d="M192 64C156.7 64 128 92.7 128 128L128 512C128 547.3 156.7 576 192 576L448 576C483.3 576 512 547.3 512 512L512 234.5C512 217.5 505.3 201.2 493.3 189.2L386.7 82.7C374.7 70.7 358.5 64 341.5 64L192 64zM453.5 240L360 240C346.7 240 336 229.3 336 216L336 122.5L453.5 240z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-link-simple" viewBox="0 0 640 640">\n <path d="M32 320C32 214 118 128 224 128L256 128C273.7 128 288 142.3 288 160C288 177.7 273.7 192 256 192L224 192C153.3 192 96 249.3 96 320C96 390.7 153.3 448 224 448L256 448C273.7 448 288 462.3 288 480C288 497.7 273.7 512 256 512L224 512C118 512 32 426 32 320zM608 320C608 426 522 512 416 512L384 512C366.3 512 352 497.7 352 480C352 462.3 366.3 448 384 448L416 448C486.7 448 544 390.7 544 320C544 249.3 486.7 192 416 192L384 192C366.3 192 352 177.7 352 160C352 142.3 366.3 128 384 128L416 128C522 128 608 214 608 320zM224 288L416 288C433.7 288 448 302.3 448 320C448 337.7 433.7 352 416 352L224 352C206.3 352 192 337.7 192 320C192 302.3 206.3 288 224 288z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-pencil" viewBox="0 0 640 640">\n <path d="M100.4 417.2C104.5 402.6 112.2 389.3 123 378.5L304.2 197.3L338.1 163.4C354.7 180 389.4 214.7 442.1 267.4L476 301.3L442.1 335.2L260.9 516.4C250.2 527.1 236.8 534.9 222.2 539L94.4 574.6C86.1 576.9 77.1 574.6 71 568.4C64.9 562.2 62.6 553.3 64.9 545L100.4 417.2zM156 413.5C151.6 418.2 148.4 423.9 146.7 430.1L122.6 517L209.5 492.9C215.9 491.1 221.7 487.8 226.5 483.2L155.9 413.5zM510 267.4C493.4 250.8 458.7 216.1 406 163.4L372 129.5C398.5 103 413.4 88.1 416.9 84.6C430.4 71 448.8 63.4 468 63.4C487.2 63.4 505.6 71 519.1 84.6L554.8 120.3C568.4 133.9 576 152.3 576 171.4C576 190.5 568.4 209 554.8 222.5C551.3 226 536.4 240.9 509.9 267.4z"/>\n </symbol>\n <symbol id="icon-shared__fa-solid__fa-trash" viewBox="0 0 640 640">\n <path d="M232.7 69.9L224 96L128 96C110.3 96 96 110.3 96 128C96 145.7 110.3 160 128 160L512 160C529.7 160 544 145.7 544 128C544 110.3 529.7 96 512 96L416 96L407.3 69.9C402.9 56.8 390.7 48 376.9 48L263.1 48C249.3 48 237.1 56.8 232.7 69.9zM512 208L128 208L149.1 531.1C150.7 556.4 171.7 576 197 576L443 576C468.3 576 489.3 556.4 490.9 531.1L512 208z"/>
1\n </symbol>\n</svg>',"core")),e&&(i&&w.logMessage("dtxSvgIconService - loadSprite - extraIconFile: "+e),r.push(this.loadFile(e))),(r.length?Ha(r):Zt(void 0)).pipe(M(()=>(this._metLogging&&w.logMessage("dtxSvgIconService - loadSprite - setReady",r.length),this._isReady=!0,this._isLoading=!1,this._isReady$.next(!0),!0)),Qa(s=>(this._isLoading=!1,console.error("\u26a0\ufe0f dtxSvgIconService - loadSprite failed:",s),Zt(!1))),Ug(1))}loadFile(e){return this._metLogging&&w.logMessage("dtxSvgIconService - loadFile1 - this.fileCache[file]: "+this.fileCache[e]),this.fileCache[e]||(this._metLogging&&w.logMessage("dtxSvgIconService - loadFile2 - file: "+e),this.fileCache[e]=this.http.get(e,{responseType:"text"}).pipe(ji(i=>(this._metLogging&&w.logMessage("dtxSvgIconService - loadFile -svgContent: "+i),this.insertSvg(i,e).pipe(M(()=>{})))),Ug({bufferSize:1,refCount:!1}))),this.fileCache[e]}insertSvg(e,i){return new ge(r=>{if(this._metLogging&&w.logMessage("dtxSvgIconService - insertSvg - this.insertedFiles.has(file): "+this.insertedFiles.has(i)),this.insertedFiles.has(i))return r.next(!0),void r.complete();const o=document.createElement("div");o.innerHTML=e;const s=o.querySelector("svg");this._metLogging&&w.logMessage("dtxSvgIconService - insertSvg - svg: ",s),s&&document.body.insertBefore(s,document.body.firstChild),this.insertedFiles.add(i),r.next(!0),r.complete()})}static \u0275fac=function(i){return new(i||n)(y(zi))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),pi=(()=>{class n{dtxConsoleInterceptorService;dtxSvgIconService;moduleConfig=new Zn(null);moduleConfigObservable=this.moduleConfig.asObservable();get moduleConfigValue(){return this.moduleConfig.value}consoleInterceptorConfig;development;config;constructor(e,i,r){this.dtxConsoleInterceptorService=e,this.dtxSvgIconService=i,this.config=r}getModuleConfig(){return this.moduleConfig}setModuleConfigFNativeElement(e,i,r,o){let s=new qE(e);this.moduleConfig.next(s),this.consoleInterceptorConfig=r,this.development=o,this.initConsoleInterceptor(i),this.initSvcIconService(this.config.extraIconFile,s.folder,this.development,s,!1)}setModuleConfigFModuleAttributes(e,i,r,o){this.moduleConfig.next(e),this.consoleInterceptorConfig=r,this.development=o,this.initConsoleInterceptor(i),this.initSvcIconService(this.config.extraIconFile,e.folder,this.development,e,!1)}setModuleConfigFSayHeyBeheer(e,i,r,o){let s=new qE(e);this.moduleConfig.next(s),this.consoleInterceptorConfig=r,this.development=o,this.initConsoleInterceptor(i),this.initSvcIconService(this.config.extraIconFile,s.folder,this.development,s,!0)}initSvcIconService(e,i,r,o,s){if("true"===localStorage?.getItem("dtx_icon_logging")&&w.logMessage("dtxModuleService - initSvcIconService - parrams: ",e,i,r,o,s),r)this.dtxSvgIconService.setExtraIconFilePrefix(e);else if(s){let l=`/DesktopModules/duotix.Beheer/Resources/dist-v${o.nativeElement.getAttribute("versie-package")}/`;this.dtxSvgIconService.setExtraIconFilePrefix(e=e?l+e:"")}else{let a=`/DesktopModules/duotix.Beheer/Skins/App/${i}/`;e&&!i&&console.error("extraIconFile: ",e,"projectRoot: ",i),this.dtxSvgIconService.setExtraIconFilePrefix(e=e&&i?a+e:"")}}initConsoleInterceptor(e){e&&this.dtxConsoleInterceptorService.initialize(this.consoleInterceptorConfig)}static \u0275fac=function(i){return new(i||n)(y(A$),y(P$),y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),L$=(()=>{class n extends tl{dtxModuleService;http;gebruikerInfo=new Zn(null);gebruikerProfiel=new Zn(null);PortalId=0;constructor(e,i,r){super(e,i),this.dtxModuleService=e,this.http=i,this.apiController="WSGebruiker",this.serviceRootName="duotix.Gebruiker",this.serviceRootDevAdd="duotix.Gebruiker/API/",this.initModule(r)}getCurrentGebruikerInfo(){return this.gebruikerInfo.getValue()}getCurrentGebruikerInfoAsObservable(){return this.gebruikerInfo}setCurrentGebruikerInfo(e){this.gebruikerInfo.next(e)}getCurrentGebruikerProfiel(){return this.gebruikerProfiel.getValue()}getCurrentGebruikerProfielAsObservable(){return this.gebruikerProfiel}setCurrentGebruikerProfiel(e){this.gebruikerProfiel.next(e)}setPortalId(e){this.PortalId=e}isDevelopment(){return this.development}GebruikerAanmeldenFUsername(e,i){let r={Username:e,Password:i};return this.http.post(this.getAPIPath()+"GebruikerAanmeldenFUsername",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}GebruikerAanmeldenFEmail(e,i){let r={Email:e,Password:i,PortalId:this.PortalId};return this.http.post(this.getAPIPath()+"GebruikerAanmeldenFEmail",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}GebruikerAanmeldenFProfielDefinitie(e,i,r){let o={ProfielDefinitieCode:e,ProfielDefinitieWaarde:i,Password:r,PortalId:this.PortalId};return this.http.post(this.getAPIPath()+"GebruikerAanmeldenFProfielDefinitie",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}GebruikerAdresDelete(e){return this.http.delete(this.getAPIPath()+"GebruikerAdresDelete"+this.getAPIParamConnection()+"Id="+e,this.deleteOptions).pipe(M(i=>this.getSingleRecord(i)))}
1GebruikerAdresInsert(e){return this.http.post(this.getAPIPath()+"GebruikerAdresInsert",e,this.postOptions).pipe(M(i=>this.getSingleRecord(i)))}GebruikerAdresUpdate(e){return this.http.post(this.getAPIPath()+"GebruikerAdresUpdate",e,this.postOptions).pipe(M(i=>this.getSingleRecord(i)))}GebruikerAdresSelectFGebruiker(e){return this.http.get(this.getAPIPath()+"GebruikerAdresSelectFGebruiker"+this.getAPIParamConnection()+"GebruikerId="+e,this.getOptions)}GebruikerDelete(e){let i={Id:e,PortalId:this.PortalId};return this.http.post(this.getAPIPath()+"GebruikerDelete"+this.getAPIParamConnection(),i,this.postOptions).pipe(M(r=>this.getSingleRecord(r)))}GebruikerProfielSelectFGebruiker(e){return this.http.get(this.getAPIPath()+"GebruikerProfielSelectFGebruiker"+this.getAPIParamConnection()+"GebruikerId="+e,this.getOptions)}GebruikerProfielUpdate(e,i){let r={GebruikerId:e,Acties:i};return this.http.post(this.getAPIPath()+"GebruikerProfielUpdate",r,this.postOptions)}GebruikerAfmelden(){return this.http.post(this.getAPIPath()+"GebruikerAfmelden",{},this.postOptions).pipe(M(i=>this.getSingleRecord(i)))}GebruikerInsert(e,i){let r={Password:e,GebruikerProfiel:i,PortalId:this.PortalId,RegistrerenGeluktEmail:!1};return this.http.post(this.getAPIPath()+"GebruikerInsert",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}GebruikerSelectFAangemeld(){return this.http.get(this.getAPIPath()+"GebruikerSelectFAangemeld"+this.getAPIParamConnection()+"PortalId="+this.PortalId,this.getOptions).pipe(M(e=>this.getSingleRecord(e)),M(e=>(e.ProfielDefinitieData=JSON.parse(e.ProfielDefinitieData),e)))}GebruikerSelectFEmailB(e){return this.http.get(this.getAPIPath()+"GebruikerSelectFEmailB"+this.getAPIParamConnection()+"Email="+e,this.getOptions).pipe(M(i=>this.getSingleRecord(i)))}GebruikerSelectFRoleName(e){return this.http.get(this.getAPIPath()+"GebruikerSelectFRoleName"+this.getAPIParamConnection()+"RoleName="+e,this.getOptions)}GebruikerUpdateFWachtwoord(e,i,r){let o={Id:e,HuidigPassword:i,NieuwPassword:r,PortalId:this.PortalId};return this.http.post(this.getAPIPath()+"GebruikerUpdateFWachtwoord",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}UserSelectFRoleB(e){return this.http.get(this.getAPIPath()+"UserSelectFRoleB?role="+e,this.getOptions)}WachtwoordHerstellenDelete(e){return this.http.delete(this.getAPIPath()+"WachtwoordHerstellenDelete"+this.getAPIParamConnection()+"Id="+e,this.deleteOptions).pipe(M(i=>this.getSingleRecord(i)))}WachtwoordHerstellenInsert(e,i){let r={Email:e,TypeCode:i};return this.http.post(this.getAPIPath()+"WachtwoordHerstellenInsert",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}WachtwoordHerstellenSelectFHash(e){return this.http.get(this.getAPIPath()+"WachtwoordHerstellenSelectFHash"+this.getAPIParamConnection()+"Hash="+e,this.getOptions)}WachtwoordHerstellenUpdateFNieuw(e,i,r){let o={WachtwoordHerstellenId:e,GebruikerId:i,NieuwPassword:r,PortalId:this.PortalId};return this.http.post(this.getAPIPath()+"WachtwoordHerstellenUpdateFNieuw",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}static \u0275fac=function(i){return new(i||n)(y(pi),y(zi),y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),N$=(()=>{class n{urlMeertalig;individueel;casingLower;constructor(e){this.urlMeertalig=e.routingMeertalig,this.individueel=e.routingIndividueel,this.casingLower=e.routingToLower}urlAanmeldenFReturnurl(e,i,r){let o;return o=this.urlAanmelden(e,r)+(i?"?returnurl="+encodeURIComponent(i):""),this.casingLower?o.toLowerCase():o}urlAanmelden(e,i){let r;return r=w.prefix("nl"==e?"Aanmelden":"fr"==e?"Connexion":"Login",e,i,this.urlMeertalig,this.individueel),this.casingLower?r.toLowerCase():r}urlMijnAccount(e,i){let r;return r=w.prefix("nl"==e?"Mijn-account":"fr"==e?"Mon-compte":"My-account",e,i,this.urlMeertalig,this.individueel),this.casingLower?r.toLowerCase():r}urlMijnAccountGegevens(e,i){let r;return r="nl"==e?w.prefix("Mijn-account",e,i,this.urlMeertalig,this.individueel)+"/Mijn-gegevens":"fr"==e?w.prefix("Mon-compte",e,i,this.urlMeertalig,this.individueel)+"/Mes-coordonn\xe9es":w.prefix("My-account",e,i,this.urlMeertalig,this.individueel)+"/My-detail
1s",this.casingLower?r.toLowerCase():r}urlMijnAccountAdressen(e,i){let r;return r="nl"==e?w.prefix("Mijn-account",e,i,this.urlMeertalig,this.individueel)+"/Mijn-adressen":"fr"==e?w.prefix("Mon-compte",e,i,this.urlMeertalig,this.individueel)+"/Mes-adresses":w.prefix("My-account",e,i,this.urlMeertalig,this.individueel)+"/My-addresses",this.casingLower?r.toLowerCase():r}urlMijnAccountBestellingen(e,i){let r;return r="nl"==e?w.prefix("Mijn-account",e,i,this.urlMeertalig,this.individueel)+"/Mijn-bestellingen":"fr"==e?w.prefix("Mon-compte",e,i,this.urlMeertalig,this.individueel)+"/Mes-commandes":w.prefix("My-account",e,i,this.urlMeertalig,this.individueel)+"/My-orders",this.casingLower?r.toLowerCase():r}urlRegistrerenFReturnurl(e,i,r){let o;return o=this.urlRegistreren(e,r)+(i?"?returnurl="+encodeURIComponent(i):""),this.casingLower?o.toLowerCase():o}urlRegistreren(e,i){let r;return r=w.prefix("nl"==e?"Registreren":"fr"==e?"Enregistrer":"Register",e,i,this.urlMeertalig,this.individueel),this.casingLower?r.toLowerCase():r}urlWachtwoordVergeten(e,i){let r;return r="nl"==e?w.prefix("Aanmelden",e,i,this.urlMeertalig,this.individueel)+"/Wachtwoord-vergeten":"fr"==e?w.prefix("Connexion",e,i,this.urlMeertalig,this.individueel)+"/Oubli\xe9-le-mot-de-passe":w.prefix("Login",e,i,this.urlMeertalig,this.individueel)+"/Forgot-password",this.casingLower?r.toLowerCase():r}urlWachtwoordVergetenVerstuurd(e,i){let r;return r="nl"==e?w.prefix("Aanmelden",e,i,this.urlMeertalig,this.individueel)+"/Wachtwoord-vergeten/E-mail-verstuurd":"fr"==e?w.prefix("Connexion",e,i,this.urlMeertalig,this.individueel)+"/Oubli\xe9-le-mot-de-passe/Envoyer-e-mail":w.prefix("Login",e,i,this.urlMeertalig,this.individueel)+"/Forgot-password/Email-sent",this.casingLower?r.toLowerCase():r}urlWachtwoordHersteld(e,i){let r;return r="nl"==e?w.prefix("Aanmelden",e,i,this.urlMeertalig,this.individueel)+"/Wachtwoord-hersteld":"fr"==e?w.prefix("Connexion",e,i,this.urlMeertalig,this.individueel)+"/Le-mot-de-passe-r\xe9cup\xe9r\xe9":w.prefix("Login",e,i,this.urlMeertalig,this.individueel)+"/Password-recovered",this.casingLower?r.toLowerCase():r}static \u0275fac=function(i){return new(i||n)(y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),O$=(()=>{class n{_currentLanguage;get currentLanguage(){return this._currentLanguage}_translationList;get translationList(){return this._translationList}
1_translationListReadySubject=new Zn(!1);get translationListReadySubject(){return this._translationListReadySubject}constructor(){}setData(e,i){this._currentLanguage=e,this._translationList=i,this._translationListReadySubject.next(!0)}getGlobal(e,i){return this.get(this.translationList,(e?e+".":"")+i)}getObjectNotRequired(e,i){return new ge(r=>{r.next(this.get(this.translationList,(e?e+".":"")+i,!1)),r.complete()})}get(e,i,r=!0){try{let o=e;return i.split(".").forEach(a=>{o=o[a]}),null==o&&r?(console.warn("Missing translation (dtxTranslateService)",i),i):o}catch{return console.warn("Missing translation (dtxTranslateService)",i),i}}getReplace(e,i,r){let o=this.getGlobal(e,i);return r.forEach(s=>{o=o.replace("{{"+s.key+"}}",s.value)}),o}getReplaceSquare(e,i,r){let o=this.getGlobal(e,i);return r.forEach(s=>{o=o.replace("[["+s.key+"]]",s.value)}),o}static \u0275fac=function(i){return new(i||n)};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),R$=(()=>{class n{static forRoot(e){return{ngModule:n,providers:[{provide:Fn,useValue:e}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=Ee({type:n});static \u0275inj=be({})}return n})();const Yt={production:!0,fullHostname:""};function QE(n=1/0){return Xa(Yi,n)}function e_(...n){const t=Ua(n),e=function u7(n,t){return"number"==typeof _g(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?yt(i[0]):QE(e)(hi(i,t)):tu}const pu={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if(typeof window>"u")return pu.schedule(n,0);if(typeof window.requestAnimationFrame>"u")return pu.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let t_;function sG(n,t,e){let i=e;return function J$(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((r,o)=>!("*"===r||!function tG(n,t){if(!t_){const e=Element.prototype;t_=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&t_.call(n,t)}(n,r)||(i=o,0))),i}class lG{constructor(t,e){this.componentFactory=e.get(Ei).resolveComponentFactory(t)}create(t){return new cG(this.componentFactory,t)}}class cG{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new iE(1),this.events=this.eventEmitters.pipe(ji(i=>e_(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(W),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=pu.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e,i){this.runInZone(()=>{i&&(e=i.call(this.componentRef?.instance,e)),null!==this.componentRef?function nG(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=_e.create({providers:[],parent:this.injector}),i=function oG(n,t){const e=n.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=e.length;o<s;++o){const a=e[o],l=sG(a,t,r);-1!==l&&i[l].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Ir),this.implementsOnChanges=function eG(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Dn).attachView(this.componentRef.hostView)}
1initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:e})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),e)}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(M(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=pu.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new p0(o,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class dG extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}const hG=th(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});class ps{static formatCurrency(t,e,i=!1){return Intl?t%1==0?new Intl.NumberFormat(e.CultureCode,{style:"currency",currency:e.Currency,minimumFractionDigits:e.DecimalsNul}).format(t):new Intl.NumberFormat(e.CultureCode,{style:"currency",currency:e.Currency,minimumFractionDigits:e.Decimals}).format(t):t%1==0?e.Currency+" "+t.toFixed(e.DecimalsNul):e.Currency+" "+t.toFixed(e.Decimals)}static amountExclToIncl(t,e,i=2){return w.roundNumber(t*(100+e)/100,i)}static amountInclToExcl(t,e,i=2){return w.roundNumber(t/(100+e)*100,i)}}class fG{leveringKostLandLijst;klanttypecode="";verhandelkeuzecode="";afhalingpuntid="";afhalingpunt=null;email="";telefoon="";opmerking="";doorverwijzingcode="";factuur=!1;leveringkost=null;leveringadresid="";bedrijfsnaam="";voornaam="";naam="";straat="";huisnummer="";postcode="";gemeente="";regio="";landid="";landnaam="";landcode="";factuuradresid="";factuurbedrijfsnaam="";factuurvoornaam="";factuurnaam="";factuurstraat="";factuurhuisnummer="";factuurpostcode="";factuurgemeente="";factuurregio="";factuurlandid="";factuurlandnaam="";factuurlandcode="";factuurbtwnr="";password="";passwordrepeat="";metadata;EmailBestellingBevestiging=!0;EmailBestellingBevestigingBeheerder=!0;constructor(t,e){if(this.leveringKostLandLijst=e,t)if(this.klanttypecode=t.klanttypecode,"cdLevering"==t.verhandelkeuzecode?this.verhandelkeuzecode="cdLevering":"cdAfhaling"==t.verhandelkeuzecode&&(this.verhandelkeuzecode="cdAfhaling"),this.afhalingpuntid=t.afhalingpuntid,this.afhalingpunt=t.afhalingpunt,this.email=t.email,this.telefoon=t.telefoon,this.opmerking=t.opmerking,this.doorverwijzingcode=t.doorverwijzingcode,this.factuur=t.factuur,this.leveringkost=t.leveringkost,"cdLevering"==t.verhandelkeuzecode&&t.optiefactuuradres){this.leveringadresid=t.leveringadresid,this.bedrijfsnaam=t.bedrijfsnaam,this.voornaam=t.voornaam,this.naam=t.naam,this.straat=t.straat,this.huisnummer=t.huisnummer,this.postcode=t.postcode,this.gemeente=t.gemeente,this.regio=t.regio,this.landid=t.landid;let i=e.find(r=>r.Id==t.landid);this.landnaam=i?i.Naam:"",this.landcode=i?i.Code:"",this.factuuradresid=this.leveringadresid,this.factuurvoornaam=this.voornaam,this.factuurnaam=this.naam,this.factuurstraat=this.straat,this.factuurhuisnummer=this.huisnummer,this.factuurpostcode=this.postcode,this.factuurgemeente=this.gemeente,this.factuurregio=this.regio,this.factuurlandid=this.landid,this.factuurlandnaam=this.landnaam,this.factuurlandcode=this.landcode,"cdZakelijk"==t.klanttypecode&&(this.factuurbtwnr=t.factuurbtwnr,this.factuurbedrijfsnaam=t.factuurbedrijfsnaam)}else if("cdLevering"!=t.verhandelkeuzecode||t.optiefactuuradres){this.factuurvoornaam=t.factuurvoornaam,this.factuurnaam=t.factuurnaam,this.factuurstraat=t.factuurstraat,this.factuurhuisnummer=t.factuurhuisnummer,this.factuurpostcode=t.factuurpostcode,this.factuurgemeente=t.factuurgemeente,this.factuurregio=t.factuurregio,this.factuurlandid=t.factuurlandid;let i=e.find(r=>r.Id==t.factuurlandid);this.factuurlandnaam=i?i.Naam:"",this.factuurlandcode=i?i.Code:"","cdZakelijk"==t.klanttypecode&&(this.factuurbtwnr=t.factuurbtwnr,this.factuurbedrijfsnaam=t.factuurbedrijfsnaam)}else{this.leveringadresid=t.leveringadresid,this.bedrijfsnaam=t.bedrijfsnaam,this.voornaam=t.voornaam,this.naam=t.naam,this.straat=t.straat,this.huisnummer=t.huisnummer,this.postcode=t.postcode,this.gemeente=t.gemeente,this.regio=t.regi
1o,this.landid=t.landid;let i=e.find(o=>o.Id==t.landid);this.landnaam=i?i.Naam:"",this.landcode=i?i.Code:"",this.factuurvoornaam=t.factuurvoornaam,this.factuurnaam=t.factuurnaam,this.factuurstraat=t.factuurstraat,this.factuurhuisnummer=t.factuurhuisnummer,this.factuurpostcode=t.factuurpostcode,this.factuurgemeente=t.factuurgemeente,this.factuurregio=t.factuurregio,this.factuurlandid=t.factuurlandid;let r=e.find(o=>o.Id==t.factuurlandid);this.factuurlandnaam=r?r.Naam:"",this.factuurlandcode=r?r.Code:"","cdZakelijk"==t.klanttypecode&&(this.factuurbtwnr=t.factuurbtwnr,this.factuurbedrijfsnaam=t.factuurbedrijfsnaam)}}geefLeveringGegevens(){let t="";return"cdLevering"==this.verhandelkeuzecode&&("cdZakelijk"==this.klanttypecode&&(t+=this.bedrijfsnaam+"<br/>"),t+=this.voornaam+" "+this.naam+"<br/>",t+=this.straat+" "+this.huisnummer+"<br/>",t+=this.postcode+", "+this.gemeente),t}geefFacturatieGegevens(){let t="";"cdZakelijk"==this.klanttypecode&&(t+=this.factuurbedrijfsnaam+"<br/>"),t+=this.factuurvoornaam+" "+this.factuurnaam+"<br/>",t+=this.factuurstraat+" "+this.factuurhuisnummer+"<br/>",t+=this.factuurpostcode+", "+this.factuurgemeente;let e=this.leveringKostLandLijst.find(i=>i.Id.toString()==this.factuurlandid);return"BE"!=e.Code&&(t+="<br>"+e.Naam),"cdZakelijk"==this.klanttypecode&&(t+="<br>"+this.factuurbtwnr),t}}class n_{actieCode;bericht;zender;constructor(t,e,i){this.actieCode=t,this.bericht=e,this.zender=i}}let _G=(()=>{class n extends tl{dtxModuleService;http;leveringKostLandLijst=[];afrondenTempGegevens=new fG(null,null);winkelwagenDetail=new Zn(null);constructor(e,i,r){super(e,i),this.dtxModuleService=e,this.http=i,this.apiController="WSBestelling",this.serviceRootName="duotix.Bestelling",this.serviceRootDevAdd="duotix.Bestelling/API/",this.initModule(r)}LeveringKostSelectFLandLijst(){return this.http.get(this.getAPIPath()+"LeveringKostSelectFLandLijst",this.getOptions)}AfhalingPuntSelect(e){return this.http.get(this.getAPIPath()+"AfhalingPuntSelect"+this.getAPIParamConnection()+"Id="+e,this.getOptions).pipe(M(i=>this.getSingleRecord(i)))}AfhalingPuntSelectFLijst(){return this.http.get(this.getAPIPath()+"AfhalingPuntSelectFLijst",this.getOptions)}BestellingInsertFLijnen(e,i,r,o,s="",a="EUR"){let l={GebruikerId:e,Gegevens:i,Lijnen:r,BetaalMethodeCode:o,TaalCode:s,Currency:a};return this.http.post(this.getAPIPath()+"BestellingInsertFLijnen",l,this.postOptions).pipe(M(c=>this.getSingleRecord(c)))}BestellingInsertFProducten(e,i,r,o,s="",a="EUR"){let l={GebruikerId:e,Gegevens:i,Producten:r,BetaalMethodeCode:o,TaalCode:s,Currency:a};return this.http.post(this.getAPIPath()+"BestellingInsertFProducten",l,this.postOptions).pipe(M(c=>this.getSingleRecord(c)))}BestellingLijnSelectFProductDocumentDownload(e,i,r,o,s,a,l,c){let d={GebruikerId:e,GebruikerEmail:i,BestellingId:r,BestellingGebruikerHash:o,BestellingLijnId:s,ProductId:a,ProductTitel:l,ProductDocument:c},u=this.postOptions.headers;return this.http.post(this.getAPIPath()+"BestellingLijnSelectFProductDocumentDownload",d,{observe:"response",headers:u,responseType:"blob"}).pipe(M(h=>{if(h&&"application/json"!=h.body.type){var p=h.headers.get("content-disposition").split(";")[1].split("filename")[1].split("=")[1].trim();return{blob:new Blob([h.body]),mimetype:h.type,filename:p}}return null}))}BestellingSelect(e){return this.http.get(this.getAPIPath()+"BestellingSelect"+this.getAPIParamConnection()+"Id="+e,this.getOptions).pipe(M(i=>this.getSingleRecord(i)),M(i=>
1(i.BestellingLijnen.forEach(r=>{null!=r&&(r.OptieJSONData=JSON.parse(r.OptieJSONData))}),i)))}BestellingLijnInsertFBestelling(e,i,r=""){let o={BestellingId:e,Lijnen:i,TaalCode:r};return this.http.post(this.getAPIPath()+"BestellingLijnInsertFBestelling",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}BestellingUpdateFBetaaldManueel(e,i,r){let o={Id:e,Bedrag:i,BetaalTransactieActieId:r};return this.http.post(this.getAPIPath()+"BestellingUpdateFBetaaldManueel",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}BestellingUpdateFWinkelwagen(e,i,r){let o={Gegevens:e,BetaalMethodeCode:i,Currency:r};return this.http.post(this.getAPIPath()+"BestellingUpdateFWinkelwagen",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}BestellingSelectFGebruiker(e){return this.http.get(this.getAPIPath()+"BestellingSelectFGebruiker"+this.getAPIParamConnection()+"GebruikerId="+e,this.getOptions)}BestellingSelectFProductDocumentLijst(e,i){return this.http.get(this.getAPIPath()+"BestellingSelectFProductDocumentLijst"+this.getAPIParamConnection()+"BestellingId="+e+"&GebruikerId="+i,this.getOptions)}BestellingSelectFRef(e){return this.http.get(this.getAPIPath()+"BestellingSelectFRef"+this.getAPIParamConnection()+"Ref="+e,this.getOptions).pipe(M(i=>{let r=this.getSingleRecord(i);return r.BetaalOutput=JSON.parse(r.BetaalOutput),r}))}BestellingUpdateFBetaalOutput(e,i,r,o){let s={Id:e,BetaalOutput:i,Ref:r,BetaalMethodeCode:o};return this.http.post(this.getAPIPath()+"BestellingUpdateFBetaalOutput",s,this.postOptions).pipe(M(a=>this.getSingleRecord(a)))}KlantTypeSelectFLijst(){return this.http.get(this.getAPIPath()+"KlantTypeSelectFLijst",this.getOptions)}OfferteInsert(e,i,r,o,s,a,l,c,d,u,h,p,f,m,g,v,_,I){let A={GebruikerId:e,TaalCode:i,Bedrijfsnaam:r,Voornaam:o,Naam:s,Straat:a,Huisnummer:l,Postcode:c,Gemeente:d,Land:u,LeveringStraat:h,LeveringHuisnummer:p,LeveringPostcode:f,LeveringGemeente:m,LeveringLand:g,Email:v,Telefoon:_,DetailJSON:I};return this.http.post(this.getAPIPath()+"OfferteInsert",A,this.postOptions).pipe(M(B=>this.getSingleRecord(B)))}OfferteLijnInsert(e,i,r,o,s,a){let l={OfferteId:e,TaalCode:i,LinkTypeCode:r,LinkId:o,Aantal:s,DetailJSON:a};return this.http.post(this.getAPIPath()+"OfferteLijnInsert",l,this.postOptions).pipe(M(c=>this.getSingleRecord(c)))}OfferteBijlageInsert(e,i){let r={OfferteId:e,Bestand:i};return this.http.post(this.getAPIPath()+"OfferteBijlageInsert",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}BestellingTotaalActieInsert(e,i,r){let o={BestellingId:e,ActieCode:i,MetaData:r};return this.http.post(this.getAPIPath()+"BestellingTotaalActieInsert",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}KortingSelectFProductBedragAantal(e,i){return this.http.get(this.getAPIPath()+"KortingSelectFProductBedragAantal"+this.getAPIParamConnection()+"ProductItemId="+e+"&Currency="+i,this.getOptions)}LeveringKostSelectFWinkelwagen(e,i,r,o,s,a,l,c=""){return this.http.get(this.getAPIPath()+"LeveringKostSelectFWinkelwagen"+this.getAPIParamConnection()+"LandId="+e+"&Postcode="+i+"&TotaalGewicht="+r+"&TotaalPrijsExcl="+o+"&TotaalPrijsIncl="+s+"&TotaalHLB="+a+"&BTWTarief="+l+"&Currency="+c,this.getOptions).pipe(M(d=>{if(null==d||0==d.length)return{Id:-1,Omschrijving:"Leveringskosten op aanvraag",BTWTarief:21,Excl:0,ExclCy:"0",Incl:0,InclCy:"0"};if(d.length>1){let u=d[0];return u.Omschrijving+=" ("+d.length.toString()+" leveringskosten gevonden)",u}return d[0]}))}berekenLeveringKost(e,i,r,o,s,a,l,c,d){return r?Promise.resolve({Id:-1,Omschrijving:"",BTWTarief:21,Excl:0,ExclCy:ps.formatCurrency(0,d),Incl:0,InclCy:ps.formatCurrency(0,d)}):e&&""!=e&&i&&""!=i?function pG(n,t){const e="object"==typeof t;return new Promise((i,r)=>{const o=new Zr({next:s=>{i(s),o.unsubscribe()},error:r,complete:()=>{e?i(t.defaultValue):r(new hG)}});n.subscribe(o)})}(this.LeveringKostSelectFWinkelwagen(e,i,o,s,a,l,c,d.Currency)):Promise.resolve({Id:-1,Omschrijving:"",BTWTarief:21,Excl:0,ExclCy:ps.formatCurrency(0,d),Incl:0,InclCy:ps.formatCurrency(0,d)})}WinkelwagenKortingDelete(e){return this.http.delete(this.getAPIPath()+"WinkelwagenKortingDelete"+this.getAPIParamConnection()+"Id="+e,this.deleteOptions).pipe(M(i=>this.getSingleRecord(i)))}
1WinkelwagenKortingInsert(e,i){let r={LinkTypeCode:e,LinkWaarde:i};return this.http.post(this.getAPIPath()+"WinkelwagenKortingInsert",r,this.postOptions).pipe(M(o=>this.getSingleRecord(o)))}WinkelwagenLijnDelete(e){return this.http.delete(this.getAPIPath()+"WinkelwagenLijnDelete"+this.getAPIParamConnection()+"Id="+e,this.deleteOptions).pipe(M(i=>this.getSingleRecord(i)))}WinkelwagenLijnInsert(e,i,r){let o={ProductId:e,Aantal:i,OptieJSONData:r};return this.http.post(this.getAPIPath()+"WinkelwagenLijnInsert",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}WinkelwagenLijnUpdate(e,i,r){let o={Id:e,Aantal:i,OptieJSONData:r};return this.http.post(this.getAPIPath()+"WinkelwagenLijnUpdate",o,this.postOptions).pipe(M(s=>this.getSingleRecord(s)))}WinkelwagenSelectFDetail(e){return this.http.get(this.getAPIPath()+"WinkelwagenSelectFDetail"+this.getAPIParamConnection()+"Currency="+e,this.getOptions).pipe(M(i=>this.getSingleRecord(i)),M(i=>(i.WinkelwagenLijnen.forEach(r=>{let o=r;o.Product.HoofdAfbeeldingBestanden&&(o.Product.HoofdAfbeeldingBestanden=JSON.parse(o.Product.HoofdAfbeeldingBestanden),o.Product.HoofdAfbeeldingPath=this.getBlokAfbeeldingPath(o.Product.HoofdAfbeeldingBestanden,"medium"))}),i)))}WinkelwagenSelectFKort(){return this.http.get(this.getAPIPath()+"WinkelwagenSelectFKort",this.getOptions).pipe(M(e=>this.getSingleRecord(e)))}static \u0275fac=function(i){return new(i||n)(y(pi),y(zi),y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),rl=(()=>{class n{dtxModuleService;zone;moduleId="";development;serviceRoot="";serviceController="HubShopController";hubConnection;hubProxy;berichten=new ee;constructor(e,i,r){this.dtxModuleService=e,this.zone=i,r&&(this.serviceRoot=r.websocketRoot),this.dtxModuleService.moduleConfigObservable.subscribe(o=>{null!=o&&null!=o&&(null!=o||w.isLocalHost(window.location.hostname))&&this.setModuleAttributes(o)})}setModuleAttributes(e){this.moduleId=e.moduleId,""==this.moduleId||"-1"==this.moduleId?this.development=!0:(this.development=!1,this.serviceRoot=window.location.protocol+"//"+window.location.hostname+"/duoti
1x.Shop/Sockets/hubs"),this.setConnection()}setConnection(){null!=this.hubConnection&&this.hubConnection.state==$.signalR.connectionState.connected&&this.stop(),this.hubConnection=$.hubConnection(this.serviceRoot),this.hubConnection.transportConnectTimeout=3e3,this.hubProxy=this.hubConnection.createHubProxy(this.serviceController),this.start()}start(){this.hubProxy.on("bericht",e=>{this.zone.run(()=>this.berichten.next(e))}),this.hubConnection.start({waitForPageLoad:!0}).done(()=>{}).fail(e=>{w.logMessage("hubConnection.start is mislukt: "+e+" (moduleId:"+this.moduleId+")")})}stop(){this.hubConnection.stop(),this.hubConnection=null,this.hubProxy=null}berichtFAlle(e,i){let r=new n_(e,i,null);this.hubConnection.state==$.signalR.connectionState.connected&&(this.hubProxy.state.test="test",this.hubProxy.invoke("BerichtFAlle",r))}berichtFZelf(e,i){let r=new n_(e,i,null);this.hubConnection.state==$.signalR.connectionState.connected&&this.hubProxy.invoke("BerichtFZelf",r)}berichtFAndereInGroep(e,i,r){let o=new n_(e,i,r);this.hubConnection.state==$.signalR.connectionState.connected&&this.hubProxy.invoke("BerichtFAndereInGroep",o)}static \u0275fac=function(i){return new(i||n)(y(pi),y(W),y(Fn,8))};static \u0275prov=F({token:n,factory:n.\u0275fac})}return n})(),vG=(()=>{class n{static forRoot(e){return{ngModule:n,providers:[{provide:Fn,useValue:e}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=Ee({type:n});static \u0275inj=be({providers:[rl]})}return n})();class yG extends rt{constructor(t,e){super()}schedule(t,e=0){return this}}const fu={setInterval(n,t,...e){const{delegate:i}=fu;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=fu;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class i_ extends yG{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return fu.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&fu.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 r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Dl(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}class ol{constructor(t,e=ol.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}ol.now=qg.now;class r_ extends ol{constructor(t,e=ol.now){super(t,e),this.actions=[],this._active=!1}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 o_=new r_(i_),CG=o_;function tF(n=0,t,e=CG){let i=-1;return null!=t&&($I(t)?e=t:i=t),new ge(r=>{let o=function bG(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function s_(...n){const t=Ua(n),e=GI(n),{args:i,keys:r}=HI(n);if(0===i.length)return hi([],t);const o=new ge(function wG(n,t,e=Yi){return i=>{iF(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)iF(t,()=>{const c=hi(n[l],t);let d=!1;c.subscribe(Ke(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>WI(r,s):Yi));return e?o.pipe(vg(e)):o}function iF(n,t,e){n?ui(e,n,t):t()}function sl(n){return ct((t,e)=>{yt(n).subscribe(Ke(e,()=>e.complete(),ih)),!e.closed&&t.subscribe(e)})}class FG{translations;constructor(t){this.translations=t}getTranslation(t){return Zt(this.translations.get(t)||{})}}const a_=new D("");function l_(n,t){return n&&(Object.prototype.hasOwnProperty.call(n,t)?n[t]:t.split(".").reduce((e,i)=>e?.[i],n))}function rF(n){return n?Array.isArray(n)?n.length:gu(n)?Object.keys(n).length:n?n.length:0:0}function Nr(n){return"string"==typeof n}function gu(n){return!!n&&"object"==typeof n&&!Array.isArray(n)}function oF(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,e)=>0==e?t.toLowerCase():t.toUpperCase()).replace(/\s+|_|-|\//g,"")}function c_(n){return null==n}function aF(n){return!1===c_(n)}function lF(n){return n&&"string"==typeof n.scope}function cF(n){const t={};return function e(i,r){if(null===i)t[r]=null;else if(gu(i))for(const[o,s]of Object.entries(i))e(s,r?`${r}.${o}`:o);else t[r]=i}(n,""),t}const Or=new D("",{providedIn:"root",factory:()=>fs}
1),fs={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};const uF=new D("");let hF=(()=>{class n{config=S(Or,{optional:!0})??fs;get interpolationMatcher(){return function NG(n){const[t,e]=n.interpolation;return new RegExp(`${t}([^${t}${e}]*?)${e}`,"g")}(this.config)}transpile({value:e,params:i={},translation:r,key:o}){if(Nr(e)){let s,a=e;for(;null!==(s=this.interpolationMatcher.exec(a));){const[l,c]=s;a=a.replace(l,()=>{const d=c.trim(),u=l_(i,d);return aF(u)?u:aF(r[d])?this.transpile({params:i,translation:r,key:o,value:r[d]}):""})}return a}return i&&(gu(e)?e=this.handleObject({value:e,params:i,translation:r,key:o}):Array.isArray(e)&&(e=this.handleArray({value:e,params:i,translation:r,key:o}))),e}handleObject({value:e,params:i={},translation:r,key:o}){let s=e;return Object.keys(i).forEach(a=>{const l=this.transpile({value:l_(s,a),params:l_(i,a),translation:r,key:o});s=function MG(n,t,e){n={...n};const i=t.split("."),r=i.length-1;return i.reduce((o,s,a)=>(o[s]=a===r?e:Array.isArray(o[s])?o[s].slice():{...o[s]},o&&o[s]),n),n}(s,a,l)}),s}handleArray({value:e,...i}){return e.map(r=>this.transpile({value:r,...i}))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=F({token:n,factory:n.\u0275fac})}return n})();const pF=new D("");let fF=(()=>{class n{handle(e,i){return i.missingHandler.logMissingKey&&!i.prodMode&&console.warn(`%c Missing translation for '${e}'`,"font-size: 12px; color: red"),e}static \u0275fac=function(i){return new(i||n)};static \u0275prov=F({token:n,factory:n.\u0275fac})}return n})();const mF=new D("");let gF=(()=>{class n{preSaveTranslation(e){return e}preSaveTranslationKey(e,i){return i}static \u0275fac=function(i){return new(i||n)};static \u0275prov=F({token:n,factory:n.\u0275fac})}return n})();const _F=new D("");let p_,vF=(()=>{class n{userConfig;constructor(e){this.userConfig=e}getNextLangs(){const e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(i){return new(i||n)(y(Or))};static \u0275prov=F({token:n,factory:n.\u0275fac})}return n})();function al(n){if(!n)return"";const t=n.split("/");return t.pop(),t.join("/")}function Hi(n){return n?n.split("/").pop():""}function d_(n,t,e="|"){if(Nr(n)){const i=n.split(e),r=i.pop();return r===t?[!0,i.toString()]:[!1,r]}return[!1,""]}function u_(n,t){return function PG(n){return n&&gu(n.loader)}(n)?function OG(n,t){return Object.keys(n).reduce((e,i)=>(e[`${t}/${i}`]=n[i],e),{})}(n.loader,t):void 0}function h_(n){return{scope:al(n)||null,langName:Hi(n)}}function bF(n){const{path:t,inlineLoader:e,mainLoader:i,data:r}=n;if(e){if(!1===function AG(n){return"function"==typeof n}(e[t]))throw`You're using an inline loader but didn't provide a loader for ${t}`;return e[t]().then(s=>s.default?s.default:s)}return i.getTranslation(t,r)}let Rr=(()=>{class n{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new ee;events$=this.events.asObservable();config;destroyRef=S(xi);constructor(e,i,r,o,s,a){this.loader=e,this.parser=i,this.missingHandler=r,this.interceptor=o,this.fallbackStrategy=a,this.loader||(this.loader=new FG(this.translations)),p_=this,this.config=JSON.parse(JSON.stringify(s)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Zn(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.subscribe(l=>{"translationLoadSuccess"===l.type&&l.wasFailure&&this.setActiveLang(l.payload.langName)}),this.destroyRef.onDestroy(()=>{this.lang.complete(),this.events.complete(),this.cache.clear()})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:h_(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,i={}){const r=this.cache.get(e);if(r)return r;let o;const s=this._isLangScoped(e);let a;s&&(a=al(e));const l={path:e,mainLoader:this.loader,inlineLoader:i.inlineLoader,data:s?{scope:a}:void 0};if(this.useFallbackTranslation(e)){const d=s?`${a}/${this.firstFallbackLang}`:this.firstFallbackLang,u=function RG({mainLoader:n,path:t,data:e,fallbackPath:i,inlineLoader:r}){return(i?[t,i]:[t]).map(s=>
1hi(bF({path:s,mainLoader:n,inlineLoader:r,data:e})).pipe(M(l=>({translation:l,lang:s}))))}({...l,fallbackPath:d});o=Ha(u)}else o=hi(bF(l));const c=o.pipe(function xG(n=1/0){let t;t=n&&"object"==typeof n?n:{count:n};const{count:e=1/0,delay:i,resetOnSuccess:r=!1}=t;return e<=0?Yi:ct((o,s)=>{let l,a=0;const c=()=>{let d=!1;l=o.subscribe(Ke(s,u=>{r&&(a=0),s.next(u)},void 0,u=>{if(a++<e){const h=()=>{l?(l.unsubscribe(),l=null,c()):d=!0};if(null!=i){const p="number"==typeof i?tF(i):yt(i(u,a)),f=Ke(s,()=>{f.unsubscribe(),h()},()=>{s.complete()});p.subscribe(f)}else h()}else s.error(u)})),d&&(l.unsubscribe(),l=null,c())};c()})}(this.config.failedRetries),function nF(n,t,e){const i=le(n)||t||e?{next:n,error:t,complete:e}:n;return i?ct((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ke(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Yi}(d=>{Array.isArray(d)?d.forEach(u=>{this.handleSuccess(u.lang,u.translation),u.lang!==e&&this.cache.set(u.lang,Zt({}))}):this.handleSuccess(e,d)}),Qa(d=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,d),this.handleFailure(e,i))),Ug(1),function mu(n){n||(Ul(),n=S(xi));const t=new ge(e=>n.onDestroy(e.next.bind(e)));return e=>e.pipe(sl(t))}(this.destroyRef));return this.cache.set(e,c),c}translate(e,i={},r=this.getActiveLang()){if(!e)return e;const{scope:o,resolveLang:s}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(c=>this.translate(o?`${o}.${c}`:c,i,s));e=o?`${o}.${e}`:e;const a=this.getTranslation(s),l=a[e];return l?this.parser.transpile({value:l,params:i,translation:a,key:e}):this._handleMissingKey(e,l,i)}selectTranslate(e,i,r,o=!1){let s;const a=(c,d)=>this.load(c,d).pipe(M(()=>o?this.translateObject(e,i,c):this.translate(e,i,c)));if(c_(r))return this.langChanges$.pipe(ji(c=>a(c)));if(lF(r=Array.isArray(r)?r[0]:r)){const c=r;r=c.scope,s=u_(c,c.scope)}if(this.isLang(r)||this.isScopeWithLang(r))return a(r);const l=r;return this.langChanges$.pipe(ji(c=>a(`${l}/${c}`,{inlineLoader:s})))}isScopeWithLang(e){return this.isLang(Hi(e))}translateObject(e,i={},r=this.getActiveLang()){if(Nr(e)||Array.isArray(e)){const{resolveLang:s,scope:a}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(d=>this.translateObject(a?`${a}.${d}`:d,i,s));const l=this.getTranslation(s),c=function LG(n){const t={};for(const[e,i]of Object.entries(n)){const r=e.split(".");let o=t;r.forEach((s,a)=>{a===r.length-1?o[s]=i:(o[s]??={},o=o[s])})}return t}(this.getObjectByKey(l,e=a?`${a}.${e}`:e));return function TG(n){return 0===rF(n)}(c)?this.translate(e,i,r):this.parser.transpile({value:c,params:i,translation:l,key:e})}const o=[];for(const[s,a]of this.getEntries(e))o.push(this.translateObject(s,a,r));return o}selectTranslateObject(e,i,r){if(Nr(e)||Array.isArray(e))return this.selectTranslate(e,i,r,!0);const[[o,s],...a]=this.getEntries(e);return this.selectTranslateObject(o,s,r).pipe(M(l=>{const c=[l];for(const[d,u]of a)c.push(this.translateObject(d,u,r));return c}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{const{scope:i,resolveLang:r}=this.resolveLangAndScope(e),o=this.translations.get(r)||{};return this.getObjectByKey(o,i)}}return this.translations}selectTranslation(e){let i=this.langChanges$;if(e){const r=Hi(e)!==e;i=this.isLang(e)||r?Zt(e):this.langChanges$.pipe(M(o=>`${e}/${o}`))}return i.pipe(ji(r=>this.load(r).pipe(M(()=>this.getTranslation(r)))))}setTranslation(e,i=this.getActiveLang(),r={}){const s={merge:!0,emitChange:!0,...r},a=al(i);let l=e;if(a){const p=this.getMappedScope(a);l=cF({[p]:e})}const c=a?Hi(i):i,d={...s.merge&&this.getTranslation(c),...l},u=this.config.flatten.aot?d:cF(d),h=this.interceptor.preSaveTranslation(u,c);this.translations.set(c,h),s.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,i,r={}){const o=r.lang||this.getActiveLang(),s=this.interceptor.preSaveTranslationKey(e,i,o);this.setTranslation({[e]:s},o,{...r,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:e}){const i=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(i)&&(this.firstFallbackLang=i)}_handleMissingKey(e,i,r){if(this.config.missingHandler.allowEmpty&&""===i)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const o=this.translate(e,r,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,o}return this.missingHandler.handle(e,this.getMissingHandlerData(),r)}_isLangScoped(e){return-1===this.getAvailableLangsIds().indexOf(e)}isLang(e){return-1!==this.getAvailableLangsIds().indexOf(e)}_loadDependencies(e,i){const r=Hi(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(r)?s_([this.load(r),this.load(e,{inlineLoader:i})]):this.load(e,{inlineLoader:i})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(Hi(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,i){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=i}isLoadedTranslation(e){return rF(this.getTranslation(e))}getAvailableLangsIds(){return Nr(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(i=>i.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,i){this.setTranslation(i,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:h_(e)}
1),this.failedLangs.forEach(r=>this.cache.delete(r)),this.failedLangs.clear()}handleFailure(e,i){c_(i.failedCounter)&&(i.failedCounter=0,i.fallbackLangs||(i.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));const r=e.split("/"),s=i.fallbackLangs[i.failedCounter];if(this.failedLangs.add(e),this.cache.has(s))return this.handleSuccess(s,this.getTranslation(s)),tu;if(!s||s===r[r.length-1]){let c="Unable to load translation and all the fallback languages";throw r.length>1&&(c+=", did you misspelled the scope name?"),new Error(c)}let l=s;return r.length>1&&(r[r.length-1]=s,l=r.join("/")),i.failedCounter++,this.events.next({type:"translationLoadFailure",payload:h_(e)}),this.load(l,i)}getMappedScope(e){const{scopeMapping:i={},scopes:r={keepCasing:!1}}=this.config;return i[e]||(r.keepCasing?e:oF(e))}resolveLangAndScope(e){let r,i=e;if(this._isLangScoped(e)){const o=Hi(e),s=this.isLang(o);i=s?o:this.getActiveLang(),r=this.getMappedScope(s?al(e):e)}return{scope:r,resolveLang:i}}getObjectByKey(e,i){const r={},o=`${i}.`;for(const s in e)s.startsWith(o)&&(r[s.replace(o,"")]=e[s]);return r}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(i){return new(i||n)(y(a_,8),y(uF),y(pF),y(mF),y(Or),y(_F))};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const f_=new D(""),_u=(new D(""),new D(""));class wF{initialized=!1;resolve({inline:t,provider:e,active:i}){let r=i;if(this.initialized)return r=i,r;if(e){const[,o]=d_(e,"static");r=o}if(t){const[,o]=d_(t,"static");r=o}return this.initialized=!0,r}resolveLangBasedOnScope(t){return al(t)?Hi(t):t}resolveLangPath(t,e){return e?`${e}/${t}`:t}}class DF{service;constructor(t){this.service=t}resolve(t){const{inline:e,provider:i}=t;if(e)return e;if(i){if(lF(i)){const{scope:r,alias:o=(this.service.config.scopes.keepCasing?r:oF(r))}=i;return this.service._setScopeAlias(r,o),r}return i}}}let m_=(()=>{class n{service;providerScope;providerLang;cdr;subscription=null;
1lastValue="";lastKey;path;langResolver=new wF;scopeResolver;constructor(e,i,r,o){this.service=e,this.providerScope=i,this.providerLang=r,this.cdr=o,this.scopeResolver=new DF(this.service)}transform(e,i,r){if(!e)return e;const o=i?`${e}${JSON.stringify(i)}`:e;if(o===this.lastKey)return this.lastValue;this.lastKey=o,this.subscription?.unsubscribe();const s=function yF(n,t){const[e]=d_(t,"static");return!e&&!!n.config.reRenderOnLangChange}(this.service,this.providerLang||r);return this.subscription=this.service.langChanges$.pipe(ji(a=>{const l=this.langResolver.resolve({inline:r,provider:this.providerLang,active:a});return Array.isArray(this.providerScope)?Ha(this.providerScope.map(c=>this.resolveScope(l,c))):this.resolveScope(l,this.providerScope)}),function CF(n){return n?t=>t:Vi(1)}(s)).subscribe(()=>this.updateValue(e,i)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(e,i){const r=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(e,i,r),this.cdr.markForCheck()}resolveScope(e,i){const r=this.scopeResolver.resolve({inline:void 0,provider:i});this.path=this.langResolver.resolveLangPath(e,r);const o=u_(i,r);return this.service._loadDependencies(this.path,o)}static \u0275fac=function(i){return new(i||n)(C(Rr,16),C(_u,24),C(f_,24),C(Ir,16))};static \u0275pipe=xt({name:"transloco",type:n,pure:!1,standalone:!0})}return n})(),qG=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=Ee({type:n});static \u0275inj=be({})}return n})();function IF(n){return Jn([{provide:uF,useClass:n,deps:[Or]}])}function SF(n){return Jn([{provide:_F,useClass:n,deps:[Or]}])}function EF(n){return Jn([{provide:pF,useClass:n}])}function FF(n){return Jn([{provide:mF,useClass:n}])}new D("TRANSLOCO_TEST_LANGS - Available testing languages"),new D("TRANSLOCO_TEST_OPTIONS - Testing options");class at{static{this.dev=!Yt.production}static{this.config=new Fn({protocol:"http://",hostnameAPI:"s26.sayhey.be",hostnameMedia:"http://s26.sayhey.be",websocketRoot:"http://dtx-f05-shopdevsockets/duotix.ShopDevSockets/Sockets/hubs",routingMeertalig:!0,routingIndividueel:!0,routingToLower:!1,localStorageKeyPrefix:"wanted",skinFolderName:"dtxWanted"})}static{this.isConsoleInterceptorActief=!0}static getConsoleInterceptorConfig(){return(new I$).initListsDefault()}static{this.FORM_VERSION="1.0.0"}static{this.FORM_CACHE_DAYS=10}static getTranslocoConfiguration(){return function dF(n={}){return{...fs,...n,missingHandler:{...fs.missingHandler,...n.missingHandler},flatten:{...fs.flatten,...n.flatten},scopes:{...fs.scopes,...n.scopes}}}({availableLangs:["nl","fr","en"],defaultLang:"nl",reRenderOnLangChange:!0,prodMode:Yt.production})}static{this.standaardVerhandelKeuzeCode="cdLevering"}static{this.skinPath=""}static{this.currency="EUR"}static setProperties(){this.setSkinPath()}static setSkinPath(){this.skinPath=this.dev?this.config.hostnameMedia+"/Portals/_default/Skins/dtxWanted/":"/Portals/_default/Skins/dtxWanted/"}static getBlokDocumentFolderPath(){return this.dev?this.config.hostnameMedia+"/Portals/0/dtxArt/blok-document/bestand/":"/Portals/0/dtxArt/blok-document/bestand/"}static getBlokAfbeeldingFolderPath(t){return this.dev||t?this.config.hostnameMedia+"/Portals/0/dtxArt/blok-afbeelding/bestand/":"/Portals/0/dtxArt/blok-afbeelding/bestand/"}static getAfbeeldingPath(t,e,i){if(t&&t.length>0){let r=t.find(o=>o.omschrijving==e);if(r){let o=r.bestand;return this.getBlokAfbeeldingFolderPath(i)+o}return""}return""}static getBlokGalerijFolderPath(){return this.dev?this.config.hostnameMedia+"/Portals/0/dtxArt/blok-galerij/afbeelding/bestand/":"/Portals/0/dtxArt/blok-galerij/afbeelding/bestand/"}static getGalerijAfbeeldingPath(t,e){if(t&&t.length>0){let i=t.find(r=>r.omschrijving==e).bestand;return this.getBlokGalerijFolderPath()+i}return""}static getBlokLijstFolderPath(){return this.dev?this.config.hostnameMedia+"/Portals/0/dtxArt/blok-lijst/item/bestand/":"/Portals/0/dtxArt/blok-lijst/item/bestand/"}static getLijstItemAfbeeldingPath(t,e){if(null!=t&&t.length>0){let i=t.find(r=>r.omschrijving==e).bestand;return this.getBlokLijstFolderPath()+i}return""}static dienstAanvraagClearLocaleStorage(){localStorage.removeItem("wantedDienstAanvraagProduct"),localStorage.removeItem("wantedDienstAanvraagAanmeldenForm"),localStorage.removeItem("wantedDienstAanvraagGegevensForm"),localStorage.removeItem("wantedDienstAanvraagBetalingForm")}static productDetailFProductExtra(t,e){let i=t.TemplatePlaceHolderData.find(o=>"cdGewicht"==o.TemplateBlokPlaceholderCode);return{...t,CategorieId:JSON.parse(t.TemplatePlaceHolderData.find(o=>"cdCategorie"==o.TemplateBlokPlaceholderCode).JSON).Data,GewichtVolgorde:null==i?10:Number(JSON.parse(i.JSON).Data),Dienst:e}}static signClearLocaleStorage(t){localStorage.removeItem(t+"SignGegevensForm"),localStorage.removeItem(t+"SignContractForm"),localStorage.removeItem(t+"SignBetalingForm")}}let QG=(()=>{class n{constructor(e,i){this.http=e,this.dtxTranslateService=i}getTranslation(e){return Yt.production?this.http.get(`/DesktopModules/duotix.Beheer/Skins/App/i18n/${e}.json?ts=`+(new Date).getTime()).pipe(M(i=>(this.dtxTranslateService.setData(e,i),i))):this.http.get(`${Yt.fullHostname}/DesktopModules/duotix.Beheer/Skins/App/i18n/${e}.json?ts=`+(new Date).getTime()).pipe(M(i=>(this.dtxTranslateService.setData(e,i),i)))}static{this.\u0275fac=function(i){return new(i||n)(y(zi),y(O$))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),AF=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[{provide:Or,useValue:at.getTranslocoConfiguration()},{provide:a_,useClass:QG},IF(hF),EF(fF),FF(gF),SF(vF)],imports:[qG]})}}return n})();var H=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}(H||{});const mi="*";function ms(n){return{type:H.Style,styles:n,offset:null}}class ll{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=>
vendor: 4,168 bytes, line 1
1i()),e.length=0}}class VF{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,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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 r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}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 jF(n){return new x(3e3,!1)}function $i(n){switch(n.length){case 0:return new ll;case 1:return n[0];default:return new VF(n)}}function BF(n,t,e=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(t.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,p)=>{let f=p,m=h;if("offset"!==p)switch(f=n.normalizePropertyName(f,r),m){case"!":m=e.get(p);break;case mi:m=i.get(p);break;default:m=n.normalizeStyleValue(p,f,m,r)}u.set(f,m)}),d||o.push(u),a=u,s=c}),r.length)throw function SW(){return new x(3502,!1)}();return o}function __(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&v_(e,"start",n)));break;case"done":n.onDone(()=>i(e&&v_(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&v_(e,"destroy",n)))}}function v_(n,t,e){const o=y_(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function y_(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Qt(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function qF(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}const VW=typeof document>"u"?null:document.documentElement;function C_(n){const t=n.parentNode||n.host||null;return t===VW?null:t}let Vr=null,zF=!1;function UF(n,t){for(;t;){if(t===n)return!0;t=C_(t)}return!1}function HF(n,t,e){if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]}let b_=(()=>{class n{validateStyleProperty(e){return function BW(n){Vr||(Vr=function qW(){return typeof document<"u"?document.body:null}()||{},zF=!!Vr.style&&"WebkitAppearance"in Vr.style);let t=!0;return Vr.style&&!function jW(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Vr.style,!t&&zF&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Vr.style)),t}(e)}containsElement(e,i){return UF(e,i)}getParentElement(e){return C_(e)}query(e,i,r){return HF(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new ll(r,o)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})();class x_{static{this.NOOP=new b_}}class w_{}const UW=1e3,D_="ng-enter",vu="ng-leave",yu="ng-trigger",Cu=".ng-trigger",GF="ng-animating",I_=".ng-animating";
1function gi(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:S_(parseFloat(t[1]),t[2])}function S_(n,t){return"s"===t?n*UW:n}function bu(n,t,e){return n.hasOwnProperty("duration")?n:function $W(n,t,e){let r,o=0,s="";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(jF()),{duration:0,delay:0,easing:""};r=S_(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=S_(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function rW(){return new x(3100,!1)}()),a=!0),o<0&&(t.push(function oW(){return new x(3101,!1)}()),a=!0),a&&t.splice(l,0,jF())}return{duration:r,delay:o,easing:s}}(n,t,e)}function $n(n,t,e){t.forEach((i,r)=>{const o=F_(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function jr(n,t){t.forEach((e,i)=>{const r=F_(i);n.style[r]=""})}function cl(n){return Array.isArray(n)?1==n.length?n[0]:function JG(n,t=null){return{type:H.Sequence,steps:n,options:t}}(n):n}const E_=new RegExp("{{\\s*(.+?)\\s*}}","g");function KF(n){let t=[];if("string"==typeof n){let e;for(;e=E_.exec(n);)t.push(e[1]);E_.lastIndex=0}return t}function dl(n,t,e){const i=`${n}`,r=i.replace(E_,(o,s)=>{let a=t[s];return null==a&&(e.push(function aW(){return new x(3003,!1)}()),a=""),a.toString()});return r==i?n:r}const KW=/-+([a-z0-9])/g;function F_(n){return n.replace(KW,(...t)=>t[1].toUpperCase())}function Xt(n,t,e){switch(t.type){case H.Trigger:return n.visitTrigger(t,e);case H.State:return n.visitState(t,e);case H.Transition:return n.visitTransition(t,e);case H.Sequence:return n.visitSequence(t,e);case H.Group:return n.visitGroup(t,e);case H.Animate:return n.visitAnimate(t,e);case H.Keyframes:return n.visitKeyframes(t,e);case H.Style:return n.visitStyle(t,e);case H.Reference:return n.visitReference(t,e);case H.AnimateChild:return n.visitAnimateChild(t,e);case H.AnimateRef:return n.visitAnimateRef(t,e);case H.Query:return n.visitQuery(t,e);case H.Stagger:return n.visitStagger(t,e);default:throw function lW(){return new x(3004,!1)}()}}function M_(n,t){return window.getComputedStyle(n)[t]}const QW=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 ZF extends w_{normalizePropertyName(t,e){return F_(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(QW.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function cW(){return new x(3005,!1)}())}return s+o}}const xu="*";const wu=new Set(["true","1"]),Du=new Set(["false","0"]);function YF(n,t){const e=wu.has(n)||Du.has(n),i=wu.has(t)||Du.has(t);return(r,o)=>{let s=n==xu||n==r,a=t==xu||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?wu.has(n):Du.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?wu.has(t):Du.has(t)),s&&a}}const tK=new RegExp("s*:selfs*,?","g");function T_(n,t,e,i){return new nK(n).build(t,e,i)}class nK{constructor(t){this._driver=t}build(t,e,i){const r=new oK(e);return this._resetContextStyleTimingState(r),Xt(this,cl(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function dW(){return new x(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==H.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==H.Transition){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function uW(){return new x(3007,!1)}())}),{type:H.Trigger,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};
1i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{KF(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(function hW(){return new x(3008,!1)}(0,o.values()))}return{type:H.State,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Xt(this,cl(t.animation),e),r=function XW(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function JW(n,t,e){if(":"==n[0]){const l=function eK(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 xW(){return new x(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 bW(){return new x(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(YF(r,s)),"<"==o[0]&&(r!=xu||s!=xu)&&t.push(YF(s,r))}(i,e,t)):e.push(n),e}(t.expr,e.errors);return{type:H.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Br(t.options)}}visitSequence(t,e){return{type:H.Sequence,steps:t.steps.map(i=>Xt(this,i,e)),options:Br(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Xt(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:H.Group,steps:o,options:Br(t.options)}}visitAnimate(t,e){const i=function aK(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return A_(bu(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=A_(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=bu(e,t);return A_(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:ms({});if(o.type==H.Keyframes)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=ms(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:H.Animate,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===mi?i.push(a):e.errors.push(new x(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:H.Style,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function fW(){return new x(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&function WW(n,t,e){const i=t.params||{},r=KF(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function sW(){return new x(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:H.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function mW(){return new x(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=t.steps.map(v=>{const _=this._makeStyleAst(v,e);let I=null!=_.offset?_.offset:function sK(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}(_.styles),A=0;return null!=I&&(o++,A=_.offset=I),l=l||A<0||A>1,a=a||A<c,c=A,s.push(A),_});l&&e.errors.push(function gW(){return new x(3012,!1)}()),a&&e.errors.push(function _W(){return new x(3200,!1)}());const u=t.steps.length;let h=0;o>0&&o<u?e.errors.push(function vW(){return new x(3202,!1)}()):0==o&&(h=1/(u-1));const p=u-1,f=e.currentTime,m=e.currentAnimateTimings,g=m.duration;return d.forEach((v,_)=>{const I=h>0?_==p?1:h*_:s[_],A=I*g;
vendor: 12,534 bytes, line 1
1e.currentTime=f+m.delay+A,m.duration=A,this._validateStyleAst(v,e),v.offset=I,i.styles.push(v)}),i}visitReference(t,e){return{type:H.Reference,animation:Xt(this,cl(t.animation),e),options:Br(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:H.AnimateChild,options:Br(t.options)}}visitAnimateRef(t,e){return{type:H.AnimateRef,animation:this.visitReference(t.animation,e),options:Br(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function iK(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(tK,"")),n=n.replace(/@\*/g,Cu).replace(/@\w+/g,e=>Cu+"-"+e.slice(1)).replace(/:animating/g,I_),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Qt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Xt(this,cl(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:H.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Br(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function yW(){return new x(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:bu(t.timings,e.errors,!0);return{type:H.Stagger,animation:Xt(this,cl(t.animation),e),timings:i,options:null}}}class oK{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 Br(n){return n?(n={...n}).params&&(n.params=function rK(n){return n?{...n}:null}(n.params)):n={},n}function A_(n,t,e){return{duration:n,delay:t,easing:e}}function k_(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Iu{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 dK=new RegExp(":enter","g"),hK=new RegExp(":leave","g");function P_(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new pK).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class pK{buildKeyframes(t,e,i,r,o,s,a,l,c,d=[]){c=c||new Iu;const u=new L_(t,e,c,r,o,d,[]);u.options=l;const h=l.delay?gi(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),Xt(this,i,u);const p=u.timelines.filter(f=>f.containsAnimation());if(p.length&&a.size){let f;for(let m=p.length-1;m>=0;m--){const g=p[m];if(g.element===e){f=g;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,u.errors,l)}return p.length?p.map(f=>f.buildKeyframes()):[k_(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 r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}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 r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:gi(dl(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?gi(i.duration):null,a=null!=i.delay?gi(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Xt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==H.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Su);const s=gi(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Xt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?gi(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Xt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return bu(e.params?dl(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),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;o.type==H.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?gi(r.delay):0;o&&(e.previousNode.type===H.Style||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Su);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),Xt(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Xt(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Su={};class L_{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Su,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Eu(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=gi(i.duration)),null!=i.delay&&(r.delay=gi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=dl(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new L_(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Su,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new fK(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(dK,"."+this._enterClassName)).replace(hK,"."+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!o&&0==a.length&&s.push(function CW(){return new x(3014,!1)}()),a}}class Eu{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,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 Eu(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||mi),this._currentKeyframe.set(e,mi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function mK(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i??=t.keys();for(let o of i)e.set(o,mi)}else for(let[o,s]of r)e.set(o,s)}),e}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=dl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??mi),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}
1mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.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 r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?t.add(u):d===mi&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...t.values()],s=[...e.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return k_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class fK extends Eu{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);const c=new Map(t[0]);c.set("offset",JF(a)),o.push(c);const d=t.length-1;for(let u=1;u<=d;u++){let h=new Map(t[u]);const p=h.get("offset");h.set("offset",JF((e+p*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return k_(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function JF(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}function eM(n,t,e,i,r,o,s,a,l,c,d,u,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const N_={};class tM{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function gK(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||N_,f=this.buildStyles(i,a&&a.params||N_,u),m=l&&l.params||N_,g=this.buildStyles(r,m,u),v=new Set,_=new Map,I=new Map,A="void"===r,B={params:nM(m,h),delay:this.ast.options?.delay},Z=d?[]:P_(t,e,this.ast.animation,o,s,f,g,B,c,u);let J=0;return Z.forEach(Ae=>{J=Math.max(Ae.duration+Ae.delay,J)}),u.length?eM(e,this._triggerName,i,r,A,f,g,[],[],_,I,J,u):(Z.forEach(Ae=>{const Wn=Ae.element,Cs=Qt(_,Wn,new Set);Ae.preStyleProps.forEach($r=>Cs.add($r));const P2=Qt(I,Wn,new Set);Ae.postStyleProps.forEach($r=>P2.add($r)),Wn!==e&&v.add(Wn)}),eM(e,this._triggerName,i,r,A,f,g,Z,[...v.values()],_,I,J))}}function nM(n,t){const e={...t};return Object.entries(n).forEach(([i,r])=>{null!=r&&(e[i]=r)}),e}class _K{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=nM(t,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=dl(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class yK{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new _K(r.style,r.options&&r.options.params||{},i))}),iM(this.states,"true","1"),iM(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new tM(t,r,this.states))}),this.fallbackTransition=function CK(n,t){return new tM(n,{type:H.Transition,animation:{type:H.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function iM(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 bK=new Iu;class xK{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=[],o=T_(this._driver,e,i,[]);if(i.length)throw function EW(){return new x(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=BF(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=P_(this._driver,e,o,D_,vu,new Map,new Map,i,bK,r),s.forEac
vendor: 26,063 bytes, line 1
1h(d=>{const u=Qt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function FW(){return new x(3300,!1)}()),s=[]),r.length)throw function MW(){return new x(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,p)=>{d.set(p,this._driver.computeStyle(u,p,mi))})});const c=$i(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));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 TW(){return new x(3301,!1)}();return e}listen(t,e,i,r){const o=y_(e,"","","");return __(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const rM="ng-animate-queued",O_="ng-animate-disabled",EK=[],oM={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},FK={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mn="__ng_removed";class R_{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function kK(n){return n??null}(i?t.value:t),i){const{value:o,...s}=t;this.options=s}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(r=>{null==i[r]&&(i[r]=e[r])})}}}const ul="void",V_=new R_(ul);class MK{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,un(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function AW(){return new x(3302,!1)}();if(null==i||0==i.length)throw function kW(){return new x(3303,!1)}();if(!function PK(n){return"start"==n||"done"==n}(i))throw function PW(){return new x(3400,!1)}();const o=Qt(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Qt(this._engine.statesByElement,t,new Map);return a.has(e)||(un(t,yu),un(t,yu+"-"+e),a.set(e,V_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.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 LW(){return new x(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new j_(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(un(t,yu),un(t,yu+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new R_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=V_),c.value!==ul&&l.value===c.value){if(!function OK(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}(l.params,c.params)){const m=[],g=o.matchStyles(l.value,l.params,m),v=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{jr(t,g),$n(t,v)})}return}const h=Qt(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let p=o.matchTransition(l.value,c.value,t,c.params),f=!1;if(!p){if(!r)return;p=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:f}),f||(un(t,rM),s.onStart(()=>{gs(t,rM)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(t);if(g){let v=g.indexOf(s);v>=0&&g.splice(v,1)}}),this.players.push(s),h.push(s),s}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(r=>r.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,Cu,!0);i.forEach(r=>{if(r[Mn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(t,c,ul,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&$i(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 r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||V_,d=new R_(ul),u=new j_(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Mn];(!o||o===oM)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){un(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=y_(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,__(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class TK{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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 MK(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,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.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 r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,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 r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(Fu(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Fu(e))return;const o=e[Mn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),un(t,O_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),gs(t,O_))}removeNode(t,e,i){if(Fu(e)){const r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Mn]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Fu(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Cu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,I_,!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 $i(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Mn];if(e&&e.setForRemoval){if(t[Mn]=oM,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(O_)&&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,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)un(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 r=0;r<i.length;r++)i[r]()}}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?$i(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function NW(){return new x(3402,!1)}()}_flushAnimations(t,e){const i=new Iu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(k=>{d.add(k);const O=this.driver.query(k,".ng-animate-queued",!0);for(let q=0;q<O.length;q++)d.add(O[q])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),p=lM(h,this.collectedEnterElements),f=new Map;let m=0;p.forEach((k,O)=>{const q=D_+m++;f.set(O,q),k.forEach(ae=>un(ae,q))});const g=[],v=new Set,_=new Set;for(let k=0;k<this.collectedLeaveElements.length;k++){const O=this.collectedLeaveElements[k],q=O[Mn];q&&q.setForRemoval&&(g.push(O),v.add(O),q.hasAnimation?this.driver.query(O,".ng-star-inserted",!0).forEach(ae=>v.add(ae)):_.add(O))}const I=new Map,A=lM(h,Array.from(v));A.forEach((k,O)=>{const q=vu+m++;I.set(O,q),k.forEach(ae=>un(ae,q))}),t.push(()=>{p.forEach((k,O)=>{const q=f.get(O);k.forEach(ae=>gs(ae,q))}),A.forEach((k,O)=>{const q=I.get(O);k.forEach(ae=>gs(ae,q))}),g.forEach(k=>{this.processLeaveNode(k)})});const B=[],Z=[];for(let k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach(q=>{const ae=q.player,lt=q.element;if(B.push(ae),this.collectedEnterElements.length){const bt=lt[Mn];if(bt&&bt.setForMove){if(bt.previousTriggersValues&&bt.previousTriggersValues.has(q.triggerName)){const Gr=bt.previousTriggersValues.get(q.triggerName),pn=this.statesByElement.get(q.element);if(pn&&pn.has(q.triggerName)){const Gu=pn.get(q.triggerName);Gu.value=Gr,pn.set(q.triggerName,Gu)}}return void ae.destroy()}}const Kn=!u||!this.driver.containsElement(u,lt),Jt=I.get(lt),Wi=f.get(lt),Ne=this._buildInstruction(q,i,Wi,Jt,Kn);if(Ne.errors&&Ne.errors.length)return void Z.push(Ne);if(Kn)return ae.onStart(()=>jr(lt,Ne.fromStyles)),ae.onDestroy(()=>$n(lt,Ne.toStyles)),void r.push(ae);if(q.isFallbackTransition)return ae.onStart(()=>jr(lt,Ne.fromStyles)),ae.onDestroy(()=>$n(lt,Ne.toStyles)),void r.push(ae);const O2=[];Ne.timelines.forEach(bt=>{bt.stretchStartingKeyframe=!0,this.disabledNodes.has(bt.element)||O2.push(bt)}),Ne.timelines=O2,i.append(lt,Ne.timelines),s.push({instruction:Ne,player:ae,element:lt}),Ne.queriedElements.forEach(bt=>Qt(a,bt,[]).push(ae)),Ne.preStyleProps.forEach((bt,Gr)=>{if(bt.size){let pn=l.get(Gr);pn||l.set(Gr,pn=new Set),bt.forEach((Gu,dv)=>pn.add(dv))}}),Ne.postStyleProps.forEach((bt,Gr)=>{let pn=c.get(Gr);pn||c.set(Gr,pn=new Set),bt.forEach((Gu,dv)=>pn.add(dv))})});if(Z.length){const k=[];Z.forEach(O=>{k.push(function OW(){return new x(3505,!1)}())}),B.forEach(O=>O.destroy()),this.reportError(k)}const J=new Map,Ae=new Map;s.forEach(k=>{const O=k.element;i.has(O)&&(Ae.set(O,O),this._beforeAnimationBuild(k.player.namespaceId,k.instruction,J))}),r.forEach(k=>{const O=k.element;this._getPreviousPlayers(O,!1,k.namespaceId,k.triggerName,null).forEach(ae=>{Qt(J,O,[]).push(ae),ae.destroy()})});const Wn=g.filter(k=>dM(k,l,c)),Cs=new Map;aM(Cs,this.driver,_,c,mi).forEach(k=>{dM(k,l,c)&&Wn.push(k)});const $r=new Map;p.forEach((k,O)=>{aM($r,this.driver,new Set(k),l,"!")}),Wn.forEach(k=>{const O=Cs.get(k),q=$r.get(k);Cs.set(k,new Map([...O?.entries()??[],...q?.entries()??[]]))});const cv=[],L2=[],N2={};s.forEach(k=>{const{element:O,player:q,instruction:ae}=k;if(i.has(O)){if(d.has(O))return q.onDestroy(()=>$n(O,ae.toStyles)),q.disabled=!0,q.overrideTotalTime(ae.totalTime),void r.push(q);let lt=N2;if(Ae.size>1){let Jt=O;const Wi=[];for(;Jt=Jt.parentNode;){const Ne=Ae.get(Jt);if(Ne){lt=Ne;break}Wi.push(Jt)}Wi.forEach(Ne=>Ae.set(Ne,lt))}const Kn=this._buildAnimation(q.namespaceId,ae,J,o,$r,Cs);if(q.setRealPlayer(Kn),lt===N2)cv.push(q);else{const Jt=this.playersByElement.get(lt);Jt&&Jt.length&&(q.parentPlayer=$i(Jt)),r.push(q)}}else jr(O,ae.fromStyles),q.onDestroy(()=>$n(O,ae.toStyles)),L2.push(q),d.has(O)&&r.push(q)}),L2.forEach(k=>{const O=o.get(k.element);if(O&&O.length){const q=$i(O);k.setRealPlayer(q)}}),r.forEach(k=>{k.parentPlayer?k.syncPlayerEvents(k.parentPlayer):k.destroy()});for(let k=0;k<g.length;k++){const O=g[k],q=O[Mn];if(gs(O,vu),q&&q.hasAnimation)continue;let ae=[];if(a.size){let Kn=a.get(O);Kn&&Kn.length&&ae.push(...Kn);let Jt=this.driver.query(O,I_,!0);for(let Wi=0;Wi<Jt.length;Wi++){let Ne=a.get(Jt[Wi]);Ne&&Ne.length&&ae.push(...Ne)}}const lt=ae.filter(Kn=>!Kn.destroyed);lt.length?LK(this,O,lt):this.processLeaveNode(O)}return g.length=0,cv.forEach(k=>{this.players.push(k),k.onDone(()=>{k.destroy();const O=this.players.indexOf(k);this.players.splice(O,1)}),k.play()}),cv}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==ul;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,d=c!==o,u=Qt(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(p=>{const f=p.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),p.destroy(),u.push(p)})}jr(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,h=e.timelines.map(f=>{const m=f.element;d.add(m);const g=m[Mn];if(g&&g.removedBeforeQueried)return new ll(f.duration,f.delay);const v=m!==l,_=function NK(n){const t=[];return cM(n,t),t}((i.get(m)||EK).map(J=>J.getRealPlayer())).filter(J=>!!J.element&&J.element===m),I=o.get(m),A=s.get(m),B=BF(this._normalizer,f.keyframes,I,A),Z=this._buildPlayer(f,B,_);if(f.subTimeline&&r&&u.add(m),v){const J=new j_(t,a,m);J.setRealPlayer(Z),c.push(J)}return Z});c.forEach(f=>{Qt(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>function AK(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>un(f,GF));const p=$i(h);return p.onDestroy(()=>{d.forEach(f=>gs(f,GF)),$n(l,e.toStyles)}),u.forEach(f=>{Qt(r,f,[]).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 ll(t.duration,t.delay)}}class j_{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new ll,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(r=>__(t,i,void 0,r))}),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){Qt(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 Fu(n){return n&&1===n.nodeType}function sM(n,t){const e=n.style.display;return n.style.display=t??"none",e}function aM(n,t,e,i,r){const o=[];e.forEach(l=>o.push(sM(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=t.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Mn]=FK,s.push(c))}),n.set(c,d)});let a=0;return e.forEach(l=>sM(l,o[a++])),s}function lM(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function un(n,t){n.classList?.add(t)}function gs(n,t){n.classList?.remove(t)}function LK(n,t,e){$i(e).onDone(()=>n.processLeaveNode(t))}function cM(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof VF?cM(i.players,t):t.push(i)}}function dM(n,t,e){const i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}class hl{constructor(t,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new TK(t.body,e,i),this._timelineEngine=new xK(t.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=T_(this._driver,o,l,[]);if(l.length)throw function IW(){return new x(3404,!1)}();a=function vK(n,t,e){return new yK(n,t,e)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=qF(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=qF(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}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 pl{static{this.initialStylesByElement=new WeakMap}constructor(t,e,i){this._element=t,this._startStyles=e,this._endStyles=i,this._state=0;let r=pl.initialStylesByElement.get(t);r||pl.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&$n(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($n(this._element,this._initialStyles),this._endStyles&&($n(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(pl.initialStylesByElement.delete(this._element),this._startStyles&&(jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jr(this._element,this._endStyles),this._endStyles=null),$n(this._element,this._initialStyles),this._state=3)}}function B_(n){let t=null;return n.forEach((e,i)=>{(function VK(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class uM{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,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,r)=>{"offset"!==r&&t.set(r,this._finished?i:M_(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>
1i()),e.length=0}}class hM{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return UF(t,e)}getParentElement(t){return C_(t)}query(t,e,i){return HF(t,e,i)}computeStyle(t,e,i){return M_(t,e)}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(p=>p instanceof uM);(function ZW(n,t){return 0===n||0===t})(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((f,m)=>c.set(m,f))});let u=function GW(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}(e).map(p=>new Map(p));u=function YW(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<t.length;o++){let s=t[o];r.forEach(a=>s.set(a,M_(n,a)))}}return t}(t,u,c);const h=function RK(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=B_(t[0]),t.length>1&&(i=B_(t[t.length-1]))):t instanceof Map&&(e=B_(t)),e||i?new pl(n,e,i):null}(t,u);return new uM(t,u,l,h)}}const pM="@.disabled";class fM{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,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,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.parentNode(e)&&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,r){this.delegate.setAttribute(t,e,i,r)}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,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==pM?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 jK extends fM{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==pM?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 r=function BK(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function qK(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}class zK{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=(r,o)=>{o?.removeChild(null,r)}}createRenderer(t,e){const r=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new fM("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return e.data.animation.forEach(a),new jK(this,s,r,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 r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.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()}}const mM=[{provide:w_,useFactory:function HK(){return new ZF}},{provide:hl,useClass:(()=>{class n extends hl{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||n)(y(me),y(x_),y(w_))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac})}}return n})()},{provide:Vc,useFactory:function $K(n,t,e){return new zK(n,t,e)},deps:[ag,hl,W]}],q_=[{provide:x_,useFactory:()=>new hM},{provide:Hs,useValue:"BrowserAnimations"},...mM],gM=[{provide:x_,useClass:b_},{provide:Hs,useValue:"NoopAnimations"},...mM];let GK=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?gM:q_}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:q_,imports:[DI]})}}return n})();function _M(n,t=0){return function WK(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):2===arguments.length?t:0}function Tu(n){return Array.isArray(n)?n:[n]}function We(n){return null==n?"":"string"==typeof n?n:`${n}px`}function _s(n){return n instanceof ke?n.nativeElement:n}const KK=["addListener","removeListener"],ZK=["addEventListener","removeEventListener"],YK=["on","off"];function Au(n,t,e,i){if(le(e)&&(i=e,e=void 0),i)return Au(n,t,e).pipe(vg(i));const[r,o]=function JK(n){return le(n.addEventListener)&&le(n.removeEventListener)}(n)?ZK.map(s=>a=>n[s](t,a,e)):function QK(n){return le(n.addListener)&&le(n.removeListener)}(n)?KK.map(vM(n,t)):function XK(n){return le(n.on)&&le(n.off)}(n)?YK.map(vM(n,t)):[];if(!r&&gg(n))return Xa(s=>Au(s,t,e))(yt(n));if(!r)throw new TypeError("Invalid event target");return new ge(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);
1return r(a),()=>o(a)})}function vM(n,t){return e=>i=>n[e](t,i)}const fl={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=fl;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new rt(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=fl;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=fl;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class tZ extends r_{flush(t){let e;this._active=!0,t?e=t.id:(e=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class eZ extends i_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=fl.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&e===t._scheduled&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(fl.cancelAnimationFrame(e),t._scheduled=void 0)}});let z_,iZ=1;const ku={};function yM(n){return n in ku&&(delete ku[n],!0)}const rZ={setImmediate(n){const t=iZ++;return ku[t]=!0,z_||(z_=Promise.resolve()),z_.then(()=>yM(t)&&n()),t},clearImmediate(n){yM(n)}},{setImmediate:oZ,clearImmediate:sZ}=rZ,Pu={setImmediate(...n){const{delegate:t}=Pu;return(t?.setImmediate||oZ)(...n)},clearImmediate(n){const{delegate:t}=Pu;return(t?.clearImmediate||sZ)(n)},delegate:void 0};new class lZ extends r_{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class aZ extends i_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Pu.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Pu.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}});function CM(n,t=o_){return function dZ(n){return ct((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(Ke(e,c=>{i=!0,r=c,o||yt(n(c)).subscribe(o=Ke(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>tF(n,t))}let U_;try{U_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{U_=!1}let ml,qr,H_,Tn=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function bj(n){return n===JD}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!U_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||n)(y(ri))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Lu(n){return function uZ(){if(null==ml&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ml=!0}))}finally{ml=ml||!1}return ml}
1()?n:!!n.capture}function xM(){if(null==qr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qr=!1,qr;if("scrollBehavior"in document.documentElement.style)qr=!0;else{const n=Element.prototype.scrollTo;qr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return qr}function $_(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function Gi(n){return n.composedPath?n.composedPath()[0]:n.target}function G_(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const fZ=new D("cdk-dir-doc",{providedIn:"root",factory:function mZ(){return S(me)}}),gZ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ou=(()=>{class n{constructor(e){this.value="ltr",this.change=new Ue,e&&(this.value=function _Z(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?gZ.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||n)(y(fZ,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),_l=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({})}}return n})(),wM=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ge(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(CM(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Zt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Un(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=_s(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Au(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||n)(y(W),y(Tn),y(me,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),DM=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ee,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();
1return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(CM(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||n)(y(Tn),y(W),y(me,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),IM=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({})}}return n})(),SM=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({imports:[_l,IM,_l,IM]})}}return n})();class W_{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class K_ extends W_{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class EM extends W_{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class bZ extends W_{constructor(t){super(),this.element=t instanceof ke?t.nativeElement:t}}class Z_{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof K_?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof EM?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof bZ?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class xZ extends Z_{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||_e.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Y_=(()=>{class n extends Z_{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef
1=i,this._isInitialized=!1,this.attached=new Ue,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(i){return new(i||n)(C(Ei),C(on),C(me))}}static{this.\u0275dir=R({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ie]})}}return n})(),Ru=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({})}}return n})();const FM=xM();class wZ{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=We(-this._previousScrollPosition.left),t.style.top=We(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),FM&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),FM&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class DZ{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(Un(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class MM{enable(){}disable(){}attach(){}}function Q_(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function TM(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}class IZ{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler
1=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Q_(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let SZ=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new MM,this.close=s=>new DZ(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new wZ(this._viewportRuler,this._document),this.reposition=s=>new IZ(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||n)(y(wM),y(DM),y(W),y(me))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class AM{constructor(t){if(this.scrollStrategy=new MM,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class EZ{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let kM=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(i){return new(i||n)(y(me))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),FZ=(()=>{class n extends kM{constructor(e,i){super(e),this._ngZone=i,this._key
1downListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||n)(y(me),y(W,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),MZ=(()=>{class n extends kM{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Gi(o)},this._clickListener=o=>{const s=Gi(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(PM(d.overlayElement,s)||PM(d.overlayElement,a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||n)(y(me),y(Tn),y(W,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function PM(n,t){const e=typeof ShadowRoot<"u"&&ShadowRoot;let i=t;for(;i;){if(i===n)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let Vu=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||G_()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(e),G_()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||n)(y(me),y(Tn))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();class ju{constructor(t,e,i,r,o,s,a,l,c,d=!1,u){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._backdropElement=null,this._backdropClick=new ee,this._attachments=new ee,this._detachments=new ee,this._locationChanges=rt.EMPTY,this._backdropClickHandler=h=>this._backdropClick.next(h),this._backdropTransitionendHandler=h=>{this._disposeBackdrop(h.target)},this._keydownEvents=new ee,this._outsidePointerEvents=new ee,this._renders=new ee,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=In(()=>function ub(n,t){!t?.injector&&Ul();const e=t?.injector??S(_e);return $t(e)?(St("NgAfterRender"),hb(n,e,t,!1)):pb}(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Oo(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=We(this._config.width),t.height=We(this._config.height),t.minWidth=We(this._config.minWidth),t.minHeight=We(this._config.minHeight),t.maxWidth=We(this._config.maxWidth),t.maxHeight=We(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=Tu(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const t=this._renders.pipe(sl(e_(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const LM="cdk-overlay-connected-position-bounding-box",TZ=/([A-Za-z%]+)$/;class AZ{get positions(){return this._preferredPositions}
vendor: 10,913 bytes, line 1
1constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ee,this._resizeSubscription=rt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(LM),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&zr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(LM),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=OM(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,p=a+o.height-i.height,f=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,h,p),g=f*m;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=NM(this._overlayRef.getConfig().minHeight),a=NM(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=r)&&(t.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=OM(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:t.x<this._viewportMargin?o.left-i.left-t.x:0,u=r.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:d,y:u},{x:t.x+d,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!function kZ(n,t){return n===t||n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new EZ(t,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,r=this._isRtl();let o,s,a,d,u,h;if("top"===e.overlayY)s=t.y,o=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-t.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const p=Math.min(i.bottom-t.y+i.top,t.y),f=this._lastBoundingBoxSize.height;o=2*p,s=t.y-p,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-f/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+2*this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=t.x,d=i.right-t.x;else{const p=Math.min(i.right-t.x+i.left,t.x),f=this._lastBoundingBoxSize.width;d=2*p,u=t.x-p,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-f/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=We(i.height),r.top=We(i.top),r.bottom=We(i.bottom),r.width=We(i.width),r.left=We(i.left),r.right=We(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=We(o)),s&&(r.maxWidth=We(s))}this._lastBoundingBoxSize=i,zr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){zr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){zr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();zr(i,this._getExactOverlayY(e,t,d)),zr(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=We(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=We(s.maxWidth):o&&(i.maxWidth="")),zr(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=We(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=We(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:TM(t,i),isOriginOutsideView:Q_(t,i),isOverlayClipped:TM(e,i),isOverlayOutsideView:Q_(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}
1_addPanelClasses(t){this._pane&&Tu(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof ke)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function zr(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function NM(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(TZ);return e&&"px"!==e?null:parseFloat(t)}return n||null}function OM(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const RM="cdk-global-overlay-wrapper";class PZ{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(RM),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",f="",m="";l?m="flex-start":"center"===d?(m="center",h?f=u:p=u):h?"left"===d||"end"===d?(m="flex-end",p=u):("right"===d||"start"===d)&&(m="flex-start",f=u):"left"===d||"start"===d?(m="flex-start",p=u):("right"===d||"end"===d)&&(m="flex-end",f=u),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":f,e.justifyContent=m,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(RM),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let LZ=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new PZ}flexibleConnectedTo(e){return new AZ(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||n)(y(DM),y(me),y(Tn),y(Vu))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),NZ=0,_i=(()=>{class n{constructor(e,i,r,o,s,a,l,c,d,u,h,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new AM(e);return s.direction=s.direction||this._directionality.value,new ju(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(zt))}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+NZ++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Dn)),new xZ(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||n)(y(SZ),y(Vu),y(Ei),y(LZ),y(FZ),y(_e),y(W),y(me),y(Ou),y(Rm),y(MZ),y(Hs,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const VZ={provide:new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const n=S(_i);return()=>n.scrollStrategies.reposition()}}),deps:[_i],useFactory:function RZ(n){return()=>n.scrollStrategies.reposition()}};let VM=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[_i,VZ],imports:[_l,Ru,SM,SM]})}}return n})();function X_(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function zM(n){return Un((t,e)=>n<=e)}function rY(n,t){return n===t}let oY=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),sY=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[oY]})}}return n})();function J_(...n){return function aY(){return QE(1)}()(hi(n,Ua(n)))}function ev(...n){const t=Ua(n);return ct((e,i)=>{(t?J_(n,e,t):J_(n,e)).subscribe(i)})}const HM=new Set;let Ur,lY=(()=>{class n{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dY}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function cY(n,t){if(!HM.has(n))try{Ur||(Ur=document.createElement("style"),t&&Ur.setAttribute("nonce",t),Ur.setAttribute("type","text/css"),document.head.appendChild(Ur)),Ur.sheet&&(Ur.sheet.insertRule(`@media ${n} {body{ }}`,0),HM.add(n))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||n)(y(Tn),y(Cp,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function dY(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let uY=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=ne
vendor: 8,294 bytes, line 1
1w ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return $M(Tu(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=s_($M(Tu(e)).map(s=>this._registerQuery(s).observable));return o=J_(o.pipe(Vi(1)),o.pipe(zM(1),function qM(n,t=o_){return ct((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,d=t.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}e.subscribe(Ke(i,c=>{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(M(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ge(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ev(i),M(({matches:s})=>({query:e,matches:s})),sl(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static{this.\u0275fac=function(i){return new(i||n)(y(lY),y(W))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function $M(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}let tv=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function CY(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function yY(n){try{return n.frameElement}catch{return null}}(function FY(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===XM(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=XM(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function SY(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function EY(n){return!function xY(n){return function DY(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function bY(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function wY(n){return function IY(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||QM(n))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||n)(y(Tn))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function QM(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function XM(n){if(!QM(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class JM{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,i,r,o=!1,s){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i<e.length;i++){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=e.length-1;i>=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._injector?Oo(t,{injector:this._injector}):setTimeout(t)}}let e2=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=S(_e),this._document=r}create(e,i=!1){return new JM(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||n)(y(tv),y(W),y(me))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function t2(n){return 0===n.buttons||0===n.detail}function n2(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const MY=new D("cdk-input-modality-detector-options"),TY={ignoreKeys:[18,17,224,91,16]},ys=Lu({passive:!0,capture:!0});let AY=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Zn(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Gi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(t2(s)?"keyboard":"mouse"),this._mostRecentTarget=Gi(s))},this._onTouchstart=s=>{n2(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Gi(s))},this._options={...TY,...o},this.modalityDetected=this._modality.pipe(zM(1)),this.modalityChanged=this.modalityDetected.pipe(function iY(n,t=Yi){return n=n??rY,ct((e,i)=>{let r,o=!0;e.subscribe(Ke(i,s=>{const a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}
1()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,ys),r.addEventListener("mousedown",this._onMousedown,ys),r.addEventListener("touchstart",this._onTouchstart,ys)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ys),document.removeEventListener("mousedown",this._onMousedown,ys),document.removeEventListener("touchstart",this._onTouchstart,ys))}static{this.\u0275fac=function(i){return new(i||n)(y(Tn),y(W),y(me),y(MY,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Bu=function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n}(Bu||{});const PY=new D("cdk-focus-monitor-default-options"),qu=Lu({passive:!0,capture:!0});let o2=(()=>{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ee,this._rootNodeFocusAndBlurListener=a=>{for(let c=Gi(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Bu.IMMEDIATE}monitor(e,i=!1){const r=_s(e);if(!this._platform.isBrowser||1!==r.nodeType)return Zt();const o=function pZ(n){if(function hZ(){if(null==H_){const n=typeof document<"u"?document.head:null;H_=!(!n||!n.createShadowRoot&&!n.attachShadow)}return H_}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ee,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=_s(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=_s(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Bu.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,this._detectionMode===Bu.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Gi(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,qu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,qu)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(sl(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;
1if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0;return!1}static{this.\u0275fac=function(i){return new(i||n)(y(W),y(Tn),y(AY),y(me,8),y(PY,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Hr=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Hr||{});const s2="cdk-high-contrast-black-on-white",a2="cdk-high-contrast-white-on-black",nv="cdk-high-contrast-active";let l2=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=S(uY).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Hr.NONE;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Hr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Hr.BLACK_ON_WHITE}return Hr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(nv,s2,a2),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Hr.BLACK_ON_WHITE?e.add(nv,s2):i===Hr.WHITE_ON_BLACK&&e.add(nv,a2)}}static{this.\u0275fac=function(i){return new(i||n)(y(Tn),y(me))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),LY=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||n)(y(l2))}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({imports:[sY]})}}return n})();function c2(n){return new ge(t=>{yt(n()).subscribe(t)})}function NY(n,t){}class zu{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let d2=(()=>{class n extends Z_{constructor(e,i,r,o,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._platform=S(Tn),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=S(Ir),this._injector=S(_e),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){const i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||Oo(()=>{const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}},{injector:this._injector})}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=$_(),o=this._elementRef.nativeElement;
1(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=$_();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=$_()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||n)(C(ke),C(e2),C(me,8),C(zu),C(tv),C(W),C(ju),C(o2))}}static{this.\u0275cmp=Xi({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(1&i&&function jx(n,t,e){k1(n,t,e)}(Y_,7),2&i){let o;(function Bx(n){const t=b(),e=Q(),i=Xh();Jl(i+1);const r=Lf(e,i);if(n.dirty&&function yA(n){return!(4&~n[L])}(t)===!(2&~r.metadata.flags)){if(null===r.matches)n.reset([]);else{const o=N1(t,i);n.reset(o,hy),n.notifyOnChanges()}return!0}return!1})(o=qx())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){2&i&&ln("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ie,sd],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){1&i&&an(0,NY,0,0,"ng-template",0)},dependencies:[Y_],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return n})();class iv{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new ee,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!X_(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(t,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const u2=new D("DialogScrollStrategy",{providedIn:"root",factory:()=>{const n=S(_i);return()=>n.scrollStrategies.block()}}),OY=new D("DialogData"),RY=new D("DefaultDialogConfig");let jY=0,h2=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ee,this._afterOpenedAtThisLevel=new ee,this._ariaHiddenElements=new Map,this.afterAllClosed=c2(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ev(void 0))),this._scrollStrategy=a}open(e,i){(i={...this._defaultOptions||new zu,...i}).id=i.id||"cdk-dialog-"+jY++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new iv(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){rv(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){rv(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),rv(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new AM({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){const o=r.injector||r.viewContainerRef?.injector,s=[{provide:zu,useValue:r},{provide:iv,useValue:i},{provide:ju,useValue:e}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=d2;const l=new K_(a,r.viewContainerRef,_e.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof rn){const s=this._createInjector(o,i,r,void 0);let a={$implicit:o.data,dialogRef:i};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new EM(e,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new K_(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:OY,useValue:e.data},{provide:iv,useValue:i}];return e.providers&&("function"==typeof e.providers?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Ou,null,{optional:!0}))&&a.push({provide:Ou,useValue:{value:e.direction,change:Zt()}}),_e.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(i){return new(i||n)(y(_i),y(_e),y(RY,8),y(n,12),y(Vu),y(u2))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function rv(n,t){let e=n.length;for(;e--;)t(n[e])}let BY=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[h2],imports:[VM,Ru,LY,Ru]})}}return n})();const zY=new D("mat-sanity-checks",{providedIn:"root",factory:function qY(){return!0}});let m2=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!G_()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static{this.\u0275fac=function(i){return new(i||n)(y(l2),y(zY,8),y(me))}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({imports:[_l,_l]})}}return n})();var hn=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(hn||{});class ZY{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=hn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const g2=Lu({passive:!0,capture:!0});class YY{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Gi(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,g2)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,g2)))}}const _2={enterDuration:225,exitDuration:150},v2=Lu({passive:!0,capture:!0}),y2=["mousedown","touchstart"],C2=["mouseup","mouseleave","touchend","touchcancel"];class ov{static{this._eventManager=new YY}constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=_s(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={..._2,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function XY(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),p=u.transitionDuration,f="none"===u.transitionProperty||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,m=new ZY(this,d,i,f);d.style.transform="scale3d(1, 1, 1)",m.state=hn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let g=null;return!f&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>{g&&(g.fallbackTimer=null),clearTimeout(I),this._finishRippleTransition(m)},_=()=>this._destroyRipple(m),I=setTimeout(_,c+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",_),g={onTransitionEnd:v,onTransitionCancel:_,fallbackTimer:I}}),this._activeRipples.set(m,g),(f||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(t.state===hn.FADING_OUT||t.state===hn.HIDDEN)return;const e=t.element,i={..._2,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=hn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}
vendor: 11,253 bytes, line 1
1fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=_s(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,y2.forEach(i=>{ov._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{C2.forEach(e=>{this._triggerElement.addEventListener(e,this,v2)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===hn.FADING_IN?this._startFadeOutTransition(t):t.state===hn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=hn.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=hn.HIDDEN,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),null!==e.fallbackTimer&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){const e=t2(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!n2(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(t.state===hn.VISIBLE||t.config.terminateOnPointerUp&&t.state===hn.FADING_IN)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(y2.forEach(e=>ov._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(C2.forEach(e=>t.removeEventListener(e,this,v2)),this._pointerUpEventsRegistered=!1))}}function JY(n,t){}class sv{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const av="mdc-dialog--open",b2="mdc-dialog--opening",x2="mdc-dialog--closing";let w2=(()=>{class n extends d2{constructor(e,i,r,o,s,a,l,c,d){super(e,i,r,o,s,a,l,d),this._animationMode=c,this._animationStateChanged=new Ue,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?I2(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?I2(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(D2,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(b2,av)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(av),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(av),this._animationsEnabled?(this._hostElement.style.setProperty(D2,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(x2)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(b2,x2)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(e){const i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static{this.\u0275fac=function(i){return new(i||n)(C(ke),C(e2),C(me,8),C(sv),C(tv),C(W),C(ju),C(Hs,8),C(o2))}}static{this.\u0275cmp=Xi({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){2&i&&(ed("id",r._config.id),ln("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Xo("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ie,sd],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){1&i&&(ne(0,"div",0)(1,"div",1),an(2,JY,0,0,"ng-template",2),he()())},dependencies:[Y_],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return n})();const D2="--mat-dialog-transition-duration";function I2(n){return null==n?null:"number"==typeof n?n:n.endsWith("ms")?_M(n.substring(0,n.length-2)):n.endsWith("s")?1e3*_M(n.substring(0,n.length-1)):"0"===n?0:null}var Uu=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Uu||{});class lv{constructor(t,e,i){this._ref=t,this._containerInstance=i,this._afterOpened=new ee,this._beforeClosed=new ee,this._state=Uu.OPEN,this.disableClose=e.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(Un(r=>"opened"===r.state),Vi(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Un(r=>"closed"===r.state),Vi(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),e_(this.backdropClick(),this.keydownEvents().pipe(Un(r=>27===r.keyCode&&!this.disableClose&&!X_(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function S2(n,t,e){return n._closeInteractionType=t,n.close(e)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Un(e=>"closing"===e.state),Vi(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Uu.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=Uu.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const nQ=new D("MatMdcDialogData"),iQ=new D("mat-mdc-dialog-default-options"),E2=new D("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const n=S(_i);return()=>n.scrollStrategies.block()}});let oQ=0,Hu=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,o,s,a,l,c){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=s,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ee,this._afterOpenedAtThisLevel=new ee,this.dialogConfigClass=sv,this.afterAllClosed=c2(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ev(void 0))),this._dialog=i.get(h2),this._dialogRefConstructor=lv,this._dialogContainerType=w2,this._dialogDataToken=nQ}open(e,i){let r;(i={...this._defaultOptions||new sv,...i}).id=i.id||"mat-mdc-dialog-"+oQ++,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:zu,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>
1(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static{this.\u0275fac=function(i){return new(i||n)(y(_i),y(_e),y(Rm,8),y(iQ,8),y(E2),y(n,12),y(Vu),y(Hs,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),uQ=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[Hu],imports:[BY,VM,Ru,m2,m2]})}}return n})(),hQ=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[rl],imports:[Xm,tE,nE,AF,GK,uQ]})}}return n})(),pQ=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=Ee({type:n})}static{this.\u0275inj=be({providers:[rl],imports:[Xm,AF]})}}return n})();class fQ{constructor(t,e){this.SchermLocatieCode="cdLijst",this.Id=t.Id,this.Titel=t.Titel,this.TitelC=t.TitelC,this.Kort=t.Kort,this.KortC=t.KortC,this.Url=t.Url,this.Datum=t.Datum,this.DatumC=t.DatumC,this.DatumKalender=t.DatumKalender,this.DatumEvenement=t.DatumEvenement,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.KantoorLijst=JSON.parse(t.KantoorLijst),this.SchermLocatieCode=1==e?"cdPrimair":e<=5?"cdSecundair":"cdRest"}}class mQ{constructor(t){this.SchermLocatieCode="cdLijst",this.Id=t.Id,this.ExtraBelangrijk=t.ExtraBelangrijk,this.Titel=t.Titel,this.TitelC=t.TitelC,this.Kort=t.Kort,this.KortC=t.KortC,this.Url=t.Url,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.KantoorLijst=JSON.parse(t.KantoorLijst)}}class gQ{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.Functie=t.Functie,this.Url=t.Url,this.HoofdAfbeeldingBestanden=""==t.HoofdAfbeeldingBestanden?[]:JSON.parse(t.HoofdAfbeeldingBestanden),this.KantoorLijst=JSON.parse(t.KantoorLijst),this.SpecialismenLijst=null==t.SpecialismenLijst?[]:JSON.parse(t.SpecialismenLijst)}}class _Q{constructor(t,e){this.SchermLocatieCode="cdLijst",this.AfbeeldingPath="",this.Id=t.Id,this.Titel=t.Titel,this.TitelC=t.TitelC,this.Kort=t.Kort,this.KortC=t.KortC,this.Url=t.Url,this.Datum=t.Datum,this.DatumC=t.DatumC,this.RefreshDatum=t.RefreshDatum,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.CategorieLijst=JSON.parse(t.CategorieLijst),this.SchermLocatieCode=1==e?"cdPrimair":e<=5?"cdSecundair":"cdRest",this.AfbeeldingPath=at.getAfbeeldingPath(this.HoofdAfbeeldingBestanden,"medium",!1)}}class vQ{constructor(t){t&&(this.Id=t.Id,this.ItemId=t.ItemId,this.Titel=t.Titel,this.TitelSlug=t.TitelSlug,this.Prijs=t.Prijs,this.BTWTarief=t.BTWTarief,this.PrijsExclusief=Math.round(this.Prijs/(100+this.BTWTarief)*100*100)/100)}}class yQ{constructor(t,e){this.SchermLocatieCode="cdLijst",this.Id=t.Id,this.Titel=t.Titel,this.TitelC=t.TitelC,this.Omschrijving=t.Omschrijving,this.Datum=t.Datum,this.HoofdVideo=t.HoofdVideo,this.HoofdVideoAfbeelding=t.HoofdVideoAfbeelding,this.CTA=null!=t.CTA&&w.myOwnJSONParse(t.CTA).length>0?w.myOwnJSONParse(t.CTA)[0]:null,this.RelatieFacebookLead=t.RelatieFacebookLead,this.SchermLocatieCode=1==e?"cdPrimair":"cdRest"}}class CQ{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.ZoekResultaat=t.ZoekResultaat,this.Url=t.Url}}class bQ{constructor(t){this.Id=t.Id,this.Titel=t.Titel,this.TitelC=t.TitelC,this.Kort=t.Kort,this.KortC=t.KortC,this.Url=t.Url,this.Datum=t.Datum,this.DatumC=t.DatumC,this.HoofdAfbeeldingBestanden=JSON.parse(t.HoofdAfbeeldingBestanden),this.KantoorLijst=JSON.parse(t.KantoorLijst)}}let A2=(()=>{class n extends tl{constructor(e,i,r){super(e,i),this.dtxModuleService=e,this.http=i,this.public=!1,this.apiController="WSWtdApp",this.serviceRootName="duotix.WtdApp",this.serviceRootDevAdd="duotix.WtdApp/API/",this.localStorageKeyPrefix=at.config.localStorageKeyPrefix,this.initModule(r)}GetVimeoAfbeelding(e){return this.http.get("https://vimeo.com/api/v2/video/"+e.HoofdVideo+".json").pipe(M(i=>{if(null!=i&&i.length>0){let r=i[0].thumbnail_large.replace("_640.jpg",".jpg");e.HoofdVideoAfbeelding=r}return i}))}ItemSelectFEventsAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFEventsAlle",this.getOptions).pipe(M(e=>{let i=[],r=1;return e.forEach(o=>{let s=new fQ(o,r);r++,i.push(s)}),i}))}ItemSelectFExpertisesAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFExpertisesAlle",this.getOptions).pipe(M(e=>{let i=[];return e.forEach(r=>{let o=new mQ(r);i.push(o)}),i}))}ItemSelectFKantorenAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFKantorenAlle",this.getOptions).pipe(M(e=>(e.forEach(i=>
1{i.HoofdAfbeeldingBestanden=JSON.parse(i.HoofdAfbeeldingBestanden)}),e)))}ItemSelectFMostWantedFactsAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedFactsAlle",this.getOptions).pipe(M(e=>{let i=[],r=1;return e.forEach(o=>{let s=new _Q(o,r);r++,i.push(s)}),i}))}ItemSelectFMostWantedFactsCategorie(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedFactsCategorie",this.getOptions)}ItemSelectFMostWantedSignCta(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedSignCta",this.getOptions)}ItemSelectFMostWantedSignCtaCategorie(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedSignCtaCategorie",this.getOptions)}ItemSelectFMostWantedSignPositie(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedSignPositie",this.getOptions).pipe(M(e=>{let i=[];return e.forEach(r=>{let o=r;o.AfbeeldingBestanden&&(o.AfbeeldingBestanden=JSON.parse(o.AfbeeldingBestanden),o.AfbeeldingPath=at.getAfbeeldingPath(o.AfbeeldingBestanden,"medium",!1)),i.push(o)}),i}))}ItemSelectFMostWantedTvAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedTvAlle",this.getOptions).pipe(M(e=>{let i=[],r=1;return e.forEach(o=>{let s=new yQ(o,r);r++,i.push(s)}),i}))}ItemSelectFMostWantedWikiTotaalAantal(){return this.http.get(this.getAPIPath()+"ItemSelectFMostWantedWikiTotaalAantal",this.getOptions).pipe(M(e=>this.getSingleRecord(e)),M(e=>e.TotaalAantal))}ItemSelectFMostWantedWikiZoeken(e){let i={Zoekwoorden:e};return this.http.post(this.getAPIPath()+"ItemSelectFMostWantedWikiZoeken",i,this.postOptions).pipe(M(r=>{let o=[];return r.forEach(s=>{let a=new CQ(s);o.push(a)}),o}))}ItemSelectFNieuwsAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFNieuwsAlle",this.getOptions).pipe(M(e=>{let i=[];return e.forEach(r=>{let o=new bQ(r);i.push(o)}),i}))}ItemSelectFTeamAlle(){return this.http.get(this.getAPIPath()+"ItemSelectFTeamAlle",this.getOptions).pipe(M(e=>{let i=[];return e.forEach(r=>{let o=new gQ(r);i.push(o)}),i}))}ProductenSelectFCategorie(){return this.http.get(this.getAPIPath()+"ProductenSelectFCategorie",this.getOptions)}ReviewInsert(e){return this.http.post(this.getAPIPath()+"ReviewInsert",e,this.postOptions)}SignAanvraagInsert(e){return this.http.post(this.getAPIPath()+"SignAanvraagInsert",e,this.postOptions).pipe(M(i=>this.getSingleRecord(i)))}SignProductSelect(){return this.http.get(this.getAPIPath()+"SignProductSelect",this.getOptions).pipe(M(e=>new vQ(this.getSingleRecord(e))))}SignAanvraagSelectFGebruiker(e){return this.http.get(this.getAPIPath()+"SignAanvraagSelectFGebruiker"+this.getAPIParamConnection()+"GebruikerId="+e,this.getOptions)}SignAanvraagUpdateFBetaaldViaCredits(e){let i={Id:e};return this.http.post(this.getAPIPath()+"SignAanvraagUpdateFBetaaldViaCredits",i,this.postOptions)}static{this.\u0275fac=function(i){return new(i||n)(y(pi),y(zi),y(Fn,8))}}static{this.\u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function xQ(n,t){if(1&n&&(ne(0,"div",0)(1,"a",1),pt(2,"transloco"),ne(3,"div",2),po(),ne(4,"svg",3)(5,"g",4),wn(6,"path",5)(7,"path",6),he()()(),Os(),ne(8,"div",7),Rt(9),he()()()),2&n){const e=Wt();se(),es("href",ft(2,2,"shared_contact_Link"),Io),se(8),Vt(e.kantoor)}}let wQ=(()=>{class n{constructor(e,i,r,o,s){this.elementRef=e,this.translate=i,this.dtxModuleService=r,this.websocketService=o,this.wantedAPIService=s,this.setModuleId=!1,this.setCurrentTaal=!1,this.currentTaal="",this.loading=!0,this.kantoor="",null!=this.elementRef.nativeElement.getAttribute("moduleid")&&!this.setModuleId&&(this.dtxModuleService.setModuleConfigFNativeElement(this.elementRef.nativeElement,at.isConsoleInterceptorActief,at.getConsoleInterceptorConfig(),!Yt.production),Yt.fullHostname=at.config.hostnameMedia,this.setModuleId=!0),null!=this.elementRef.nativeElement.getAttribute("taalcodeportal")&&!this.setCurrentTaal&&(this.translate.setActiveLang(this.elementRef.nativeElement.getAttribute("taalcodeportal")),this.currentTaal=this.translate.getActiveLang(),this.setCurrentTaal=!0)}ngOnInit(){this.translate.load(this.elementRef.nativeElement.getAttribute("taalcodeportal")).subscribe(e=>{this.loadData(),this.initWebsocketService()})}loadData(){var e=localStorage.getItem(this.wantedAPIService.localStorageKeyPrefix+"Kantoor");this.kantoor=this.getDisplayValue(e),this.loading=!1}initWebsocketService(){this.websocketService.berichten.subscribe(e=>{if("cdKantoorUpdate"==e.actieCode){var i=localStorage.getItem(this.wantedAPIService.localStorageKeyPrefix+"Kantoor");this.kantoor=this.getDisplayValue(i)}})}getDisplayValue(e){return null!=e?"Wanted Law "+JSON.parse(e).Titel:"Contact"}static{this.\u0275fac=function(i){return new(i||n)(C(ke),C(Rr),C(pi),C(rl),C(A2))}}static{this.\u0275cmp=Xi({type:n,selectors:[["shared-contact"]],decls:1,vars:1,consts:[[1,"dtx-wtd-contant"],[1,"dtx-wtd-contact-button",3,"href"],[1,"dtx-wtd-contact-button-icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 14 20"],["fill","none","fill-rule","evenodd"],["fill","#00D500","fill-rule","nonzero","d","M7 0C3.13 0 0 3.13 0 7c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"],["d","M-5-2h24v24H-5z"],[1,"dtx-wtd-contact-button-text"]],template:function(i,r){1&i&&an(0,xQ,10,4,"div",0),2&i&&Da(r.loading?-1:0)},dependencies:[m_],encapsulation:2})}}return n})();const DQ=n=>({error:n}),$u=n=>({error:n}),IQ=n=>({"dtx-visible":n}),k2=n=>({active:n});function SQ(n,t){1&n&&(ne(0,"div",23),Rt(1),pt(2,"transloco"),he()),2&n&&(se(),Vt(ft(2,1,"headermini_aanmelden_form_EmailError")))}function EQ(n,t){1&n&&(ne(0,"div",23),Rt(1),pt(2,"transloco"),he()),2&n&&(se(),od(" ",ft(2,1,"headermini_aanmelden_form_WachtwoordError"),""))}function FQ(n,t){if(1&n&&(ne(0,"div",23),Rt(1),pt(2,"transloco"),he()),2&n){const e=Wt(3);se(),Vt(ft(2,1,e.aanmeldenFoutOmschrijving))}}function MQ(n,t){if(1&n){const e=sm();ne(0,"div",20)(1,"div",21)(2,"label"),Rt(3),pt(4,"transloco"),he(),ne(5,"input",22),ot("keydown",function(r){return or(e),sr(Wt(2).onKeydownAanmelden(r))}),he(),an(6,SQ,3,3,"div",23),he(),ne(7,"div",24)(8,"label"),Rt(9),pt(10,"transloco"),he(),ne(11,"div",25)(12,"input",26),ot("keydown",function(r){return or(e),sr(Wt(2).onKeydownAanmelden(r))}),he(),ne(13,"div",27),po(),ne(14,"svg",28),ot("click",function(){return or(e),sr(Wt(2).showPassword())}),ne(15,"g",5),wn(16,"path",29)(17,"path",30),he()(),ne(18,"svg",31),ot("click",function(){return or(e),sr(Wt(2).showPassword())}),wn(19,"path",32)(20,"path",33),he()()(),Os(),ne(21,"a",34),pt(22,"transloco"),Rt(23),pt(24,"transloco"),he(),an(25,EQ,3,3,"div",35),he(),ne(26,"button",36),ot("click",function(){or(e);const r=Wt(2);return sr(r.aanmelden(r.myForm))}),Rt(27),pt(28,"transloco"),he(),an(29,FQ,3,3,"div",35),he()}if(2&n){const e=Wt(2);nt("formGroup",e.myForm),se(),nt("ngClass",ai(26,$u,e.myForm.get("emailpopup").hasError("required")&&(e.myForm.get("emailpopup").touched||e.saved)||e.myForm.get("emailpopup").hasError("invalidEmail")&&(e.myForm.get("emailpopup").touched||e.saved))),se(2),Vt(ft(4,16,"headermini_aanmelden_form_EmailLabel")),se(2),nt("ngClass",ai(28,$u,e.myForm.get("emailpopup").hasError("required")&&(e.myForm.get("emailpopup").touched||e.saved)||e.myForm.get("emailpopup").hasError("invalidEmail")&&(e.myForm.get("emailpopup").touched||e.saved))),se(),Da(e.myForm.get("emailpopup").hasError("required")&&(e.myForm.get("emailpopup").touched||e.saved)||e.myForm.get("emailpopup").hasError("invalidEmail")&&(e.myForm.get("emailpopup").touched||e.saved)?6:-1),se(),nt("ngClass",ai(30,$u,e.myForm.get("passwordpopup").hasError("required")&&(e.myForm.get("passwordpopup").touched||e.saved))),se(2),Vt(ft(10,18,"headermini_aanmelden_form_WachtwoordLabel")),se(3),nt("ngClass",ai(32,$u,e.myForm.get("passwordpopup").hasError("required")&&(e.myForm.get("passwordpopup").touched||e.saved))),se(),nt("ngClass",ai(34,IQ,e.isPasswordVisible)),se(),nt("ngClass",ai(36,k2,!e.isPasswordVisible)),se(4),nt("ngClass",ai(38,k2,e.isPasswordVisible)),se(3),es("href",ft(22,20,"headermini_aanmelden_form_WachtwoordVergetenLink"),Io),se(2),Vt(ft(24,22,"headermini_aanmelden_form_WachtwoordVergetenLinkTekst")),se(2),nt("ngIf",e.myForm.get("passwordpopup").hasError("required")&&(e.myForm.get("passwordpopup").touched||e.saved)),se(2),Vt(ft(28,24,"headermini_aanmelden_form_Button")),se(2),nt("ngIf",e.aanmeldenFout)}}function TQ(n,t){if(1&n){const e=sm();ne(0,"div",1)(1,"a",9),ot("click",function(r){return or(e),sr(Wt().togglePopUp(r))}),ne(2,"div",10),po(),ne(3,"svg",11),wn(4,"path",12)(5,"path",13),he()(),Os(),ne(6,"div",14),Rt(7),pt(8,"transloco"),he()(),ne(9,"div",15)(10,"div",16)(11,"div",17)(12,"h3"),Rt(13),pt(14,"transloco"),he(),ne(15,"p"),Rt(16),pt(17,"transloco"),he()(),an(18,MQ,30,40,"div",18),wn(19,"div",19),pt(20,"transloco"),he()()()}if(2&n){const e=Wt();se(7),Vt(ft(8,6,"headermini_aanmelden_LinkTekst")),se(3),nt("ngClass",ai(14,DQ,e.aanmeldenFout)),se(3),Vt(ft(14,8,"headermini_aanmelden_InfoTitel")),se(3),Vt(ft(17,10,"headermini_aanmelden_InfoOmschrijving")),se(2),nt("ngIf",e.myForm),se(),nt("innerHtml",ft(20,12,"headermini_aanmelden_RegistrerenLink"),Vp)}}function AQ(n,t){1&n&&(ne(0,"a",37),pt(1,"transloco"),ne(2,"div",10),po(),ne(3,"svg",11),wn(4,"path",12)(5,"path",13),he()(),Os(),ne(6,"div",14),Rt(7),pt(8,"transloco"),he()()),2&n&&(es("href",ft(1,2,"headermini_mijnAccount_Link"),Io),se(7),Vt(ft(8,4,"headermini_mijnAccount_LinkTekst")))}function kQ(n,t){if(1&n&&(ne(0,"div",38),Rt(1),he()),2&n){const e=Wt();se(),Vt(e.winkelwagenAantal)}}let PQ=(()=>{class n{constructor(e,i,r,o,s,a,l,c,d){this.elementRef=e,this.fb=i,this.dialog=r,this.translate=o,this.dtxModuleService=s,this.gebruikerAPIService=a,this.bestellingAPIService=l,this.websocketService=c,this.gebruikerRouteService=d,this.setModuleId=!1,this.setCurrentTaal=!1,this.winkelwagenAantal="",this.saved=!1,this.isPasswordVisible=!1,this.aanmeldenFout=!1,this.aanmeldenFoutOmschrijving="",this.moduleAttributes=null,this.currentTaal="",null!=this.elementRef.nativeElement.getAttribute("moduleid")&&!this.setModuleId&&(this.dtxModuleService.setModuleConfigFNativeElement(this.elementRef.nativeElement,at.isConsoleInterceptorActief,at.getConsoleInterceptorConfig(),!Yt.production),Yt.fullHostname=at.config.hostnameMedia,this.setModuleId=!0),null!=this.elementRef.nativeElement.getAttribute("taalcodeportal")&&!this.setCurrentTaal&&(this.translate.setActiveLang(this.elementRef.nativeElement.getAttribute("taalcodeportal")),this.currentTaal=this.translate.getActiveLang(),this.setCurrentTaal=!0)}ngOnInit(){this.loadData(),this.initWebsocketService(),this.closePopup()}ngOnChanges(e){null!=e.moduleAttributes.currentValue&&null!=e.moduleAttributes.currentValue&&!this.setModuleId&&(this.dtxModuleService.setModuleConfigFModuleAttributes(e.moduleAttributes.currentValue,at.isConsoleInterceptorActief,at.getConsoleInterceptorConfig(),!Yt.production),Yt.fullHostname=at.config.hostnameMedia,this.setModuleId=!0),null!=e.currentTaal.currentValue&&null!=e.currentTaal.currentValue&&!this.setCurrentTaal&&(this.translate.setActiveLang(e.currentTaal.currentValue),this.currentTaal=this.translate.getActiveLang(),this.setCurrentTaal=!0)}loadData(){this.translate.setActiveLang(this.currentTaal),s_([this.translate.load(this.currentTaal),this.bestellingAPIService.WinkelwagenSelectFKort(),this.gebruikerAPIService.GebruikerSelectFAangemeld()]).subscribe(([e,i,r])=>{this.gebruikerInfo=r,this.gebruikerInfo.UserID<0&&this.initForm(),this.winkelwagenAantal=i?w.getNumber(i.AantalProducten)>100?"99+":i.AantalProducten.toString():"0"})}initWebsocketService(){this.websocketService.berichten.subscribe(e=>{"cdWinkelwagenUpdate"==e.actieCode&&(this.winkelwagenAantal=isNaN(w.getNumber(e.bericht))?"0":w.getNumber(e.bericht)>100?"99+":e.bericht)})}initForm(){this.myForm=this.fb.group({emailpopup:["",[QI.required,Ge.isGeldigEmail()]],passwordpopup:["",[QI.required]]})}aangemeld(){return this.gebruikerInfo&&this.gebruikerInfo.UserID>0}togglePopUp(e){e.stopPropagation(),$(".dtx-wtd-header-mini-account").hasClass("active")?($
1(".dtx-wtd-header-mini-account").removeClass("active"),$(".dtx-wtd-header-mini-account-aanmelden").removeClass("active")):($(".dtx-wtd-header-mini-account").addClass("active"),$(".dtx-wtd-header-mini-account-aanmelden").addClass("active"))}closePopup(){$(document).click(function(e){0==$(".dtx-wtd-header-mini-account-aanmelden").has(e.target).length&&!$(".dtx-wtd-header-mini-account-aanmelden").is(e.target)&&($(".dtx-wtd-header-mini-account").removeClass("active"),$(".dtx-wtd-header-mini-account-aanmelden").removeClass("active"))})}showPassword(){this.isPasswordVisible?(this.isPasswordVisible=!1,$(".dtx-wtd-header-form-password .form-control").attr("type","password")):(this.isPasswordVisible=!0,$(".dtx-wtd-header-form-password .form-control").attr("type","text"))}onKeydownAanmelden(e){"Enter"===e.key&&(e.preventDefault(),this.aanmelden(this.myForm))}aanmelden({value:e,valid:i}){this.saved=!0,this.aanmeldenFout=!1,i&&this.gebruikerAPIService.GebruikerAanmeldenFEmail(e.emailpopup,e.passwordpopup).subscribe(r=>{"cdOk"==r.ReturnCode?location.href=this.gebruikerRouteService.urlMijnAccount(this.currentTaal,!0):"cdOngeldigGeenGebruiker"==r.ReturnCode?(this.aanmeldenFout=!0,this.aanmeldenFoutOmschrijving="aanmelden_error_GeenGebruiker"):"cdOngeldigGeenUser"==r.ReturnCode?(this.aanmeldenFout=!0,this.aanmeldenFoutOmschrijving="aanmelden_error_GeenUser"):"cdOngeldig|LOGIN_FAILURE"==r.ReturnCode?(this.aanmeldenFout=!0,this.aanmeldenFoutOmschrijving="aanmelden_error_LoginFailure"):"cdOngeldig|LOGIN_USERLOCKEDOUT"==r.ReturnCode&&(this.aanmeldenFout=!0,this.aanmeldenFoutOmschrijving="aanmelden_error_UserLockedout")})}static{this.\u0275fac=function(i){return new(i||n)(C(ke),C(h9),C(Hu),C(Rr),C(pi),C(L$),C(_G),C(rl),C(N$))}}static{this.\u0275cmp=Xi({type:n,selectors:[["shared-header-mini"]],inputs:{moduleAttributes:"moduleAttributes",currentTaal:"currentTaal"},features:[tn],decls:10,vars:6,consts:[[1,"dtx-wtd-header-mini"],[1,"dtx-wtd-header-mini-account-wrapper"],["class","dtx-wtd-header-mini-account",3,"href",4,"ngIf"],[1,"dtx-wtd-header-mini-winkelwagen",3,"href"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 22 19"],["fill","none","fill-rule","evenodd"],["d","M-1-2h24v24H-1z"],["fill","#FFF","fill-rule","nonzero","d","M16.21 7L11.83.44A.993.993 0 0 0 11 .02c-.32 0-.64.14-.83.43L5.79 7H1c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L22 8c0-.55-.45-1-1-1h-4.79zM8 7l3-4.4L14 7H8zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"],["class","dtx-wtd-header-mini-winkelwagen-numbers",4,"ngIf"],[1,"dtx-wtd-header-mini-account",3,"click"],[1,"dtx-wtd-header-mini-account-icon"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24"],["fill","#fff","d","M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"],["d","M0 0h24v24H0z","fill","none"],[1,"dtx-wtd-header-mini-account-text"],[1,"dtx-wtd-header-mini-account-aanmelden"],[1,"dtx-wtd-header-mini-account-aanmelden-block",3,"ngClass"],[1,"dtx-wtd-header-mini-account-aanmelden-block-info"],["class","dtx-wtd-header-mini-account-aanmelden-block-form",3,"formGroup",4,"ngIf"],[1,"dtx-wtd-header-mini-account-aanmelden-block-text",3,"innerHtml"],[1,"dtx-wtd-header-mini-account-aanmelden-block-form",3,"formGroup"],[1,"dtx-wtd-form-group",3,"ngClass"],["type","email","formControlName","emailpopup",1,"form-control",3,"keydown","ngClass"],[1,"dtx-wtd-error"],[1,"dtx-wtd-form-group","dtx-wtd-header-form-group-password",3,"ngClass"],[1,"dtx-wtd-header-form-password"],["type","password","formControlName","passwordpopup",1,"form-control",3,"keydown","ngClass"],[1,"dtx-wtd-header-form-password-icon",3,"ngClass"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 14",3,"click","ngClass"],["d","M0-3h20v20H0z"],["d","M10 .75C5.83333.75 2.275 3.34167.83333 7c1.44167 3.65833 5 6.25 9.16667 6.25s7.725-2.59167 9.16667-6.25C17.725 3.34167 14.16667.75 10 .75zm0 10.41667C7.7 11.16667 5.83333 9.3 5.83333 7S7.7 2.83333 10 2.83333 14.16667 4.7 14.16667 7 12.3 11.16667 10 11.16667zM10 4.5C8.61667 4.5 7.5 5.61667 7.5 7S8.61667 9.5 10 9.5s2.5-1.11667 2.5-2.5-1.11667-2.5-2.5-2.5z","fill","#a5acad","fill-rule","nonzero"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"click","ngClass"],["d","M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z","fill","none"],["fill","#a5acad","fill-rule","nonzero","d","M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"],[3,"href"],["class","dtx-wtd-error",4,"ngIf"],["type","button",1,"btn","btn-primary",3,"click"],[1,"dtx-wtd-header-mini-account",3,"href"],[1,"dtx-wtd-header-mini-winkelwagen-numbers"]],template:function(i,r){1&i&&(ne(0,"div",0),an(1,TQ,21,16,"div",1)(2,AQ,9,6,"a",2),ne(3,"a",3),pt(4,"transloco"),po(),ne(5,"svg",4)(6,"g",5),wn(7,"path",6)(8,"path",7),he()(),an(9,kQ,2,1,"div",8),he()()),2&i&&(se(),Da(r.aangemeld()?-1:1),se(),nt("ngIf",r.aangemeld()),se(),es("href",ft(4,4,"headermini_winkelwagen_Link"),Io),se(6),nt("ngIf","0"!=r.winkelwagenAantal&&""!=r.winkelwagenAantal))},dependencies:[GD,ZD,zd,CS,bS,eu,Og,m_],encapsulation:2})}}return n})();function LQ(n,t){if(1&n&&wn(0,"shared-header-mini",0),2&n){const e=Wt();nt("moduleAttributes",e.wantedAPIService.moduleAttributes)("currentTaal",e.currentTaal)}}let NQ=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.translate=i,this.dtxModuleService=r,this.wantedAPIService=o,this.loading=!0,this.currentTaal="",this.dtxModuleService.setModuleConfigFNativeElement(this.elementRef.nativeElement,at.isConsoleInterceptorActief,at.getConsoleInterceptorConfig(),!Yt.production),Yt.fullHostname=at.config.hostnameMedia,this.translate.setActiveLang(this.elementRef.nativeElement.getAttribute("taalcodeportal")),this.translate.load(this.elementRef.nativeElement.getAttribute("taalcodeportal")).subscribe(()=>{this.currentTaal=this.translate.getActiveLang(),this.loading=!1})}static{this.\u0275fac=function(i){return new(i||n)(C(ke),C(Rr),C(pi),C(A2))}}static{this.\u0275cmp=Xi({type:n,selectors:[["wtd-header-mini"]],decls:1,vars:1,consts:[[3,"moduleAttributes","currentTaal"]],template:function(i,r){1&i&&an(0,LQ,1,2,"shared-header-mini",0),2&i&&Da(r.loading?-1:0)},dependencies:[PQ],encapsulation:2})}}return n})(),OQ=(()=>{class n{constructor(e){this.injector=e;const i=function uG(n,t){const e=function rG(n,t){return t.get(Ei).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new lG(n,t.injector),r=function iG(n){const t={};
1return n.forEach(({propName:e,templateName:i,transform:r})=>{t[function X$(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=[e,r]}),t}(e);class o extends dG{static{this.observedAttributes=Object.keys(r)}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){const[u,h]=r[a];this.ngElementStrategy.setInputValue(u,c,h)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}(wQ,{injector:e});customElements.define("shared-contact",i)}static{this.\u0275fac=function(i){return new(i||n)(y(_e))}}static{this.\u0275mod=Ee({type:n,bootstrap:[NQ]})}static{this.\u0275inj=be({providers:[H9(Pr(Ui.LegacyInterceptors,[{provide:CE,useFactory:P9},{provide:el,useExisting:CE,multi:!0}]))],imports:[DI,tE,nE,R$.forRoot(at.config),vG.forRoot(at.config),hQ,pQ]})}}return n})();g8().bootstrapModule(OQ).catch(n=>w.logMessage(n))}},bs=>{bs(bs.s=417)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.